2 # From configure.in Id: configure.in 50205 2007-11-24 01:56:13Z 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_1
878 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
879 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
880 COND_PLATFORM_UNIX_1_USE_GUI_1
881 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
882 COND_PLATFORM_WIN32_0
883 COND_PLATFORM_WIN32_1
885 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
886 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
887 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
888 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
889 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
890 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
892 COND_SHARED_0_USE_STC_1
893 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
894 COND_SHARED_0_WXUSE_REGEX_BUILTIN
895 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
897 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
900 COND_TOOLKIT_COCOA_USE_GUI_1
901 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
903 COND_TOOLKIT_DFB_USE_GUI_1
905 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
906 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
907 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
912 COND_TOOLKIT_GTK_USE_GUI_1
914 COND_TOOLKIT_MAC_USE_GUI_1
915 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_MGL_USE_GUI_1
919 COND_TOOLKIT_MOTIF_USE_GUI_1
920 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
922 COND_TOOLKIT_MSW_USE_GUI_1
923 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_MSW_WXUNIV_0
926 COND_TOOLKIT_PM_USE_GUI_1
927 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_WINCE_USE_GUI_1
930 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_WINCE_WXUNIV_0
933 COND_TOOLKIT_X11_USE_GUI_1
935 COND_USE_EXCEPTIONS_0
936 COND_USE_EXCEPTIONS_1
939 COND_USE_GUI_1_USE_OPENGL_1
940 COND_USE_GUI_1_WXUNIV_0
941 COND_USE_GUI_1_WXUNIV_1
942 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
943 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
944 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
949 COND_USE_SOSYMLINKS_1
950 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
951 COND_USE_SOVERLINUX_1
953 COND_USE_SOVERSOLARIS_1
958 COND_WINDOWS_IMPLIB_1
959 COND_WITH_PLUGIN_SDL_1
962 COND_WXUSE_EXPAT_BUILTIN
963 COND_WXUSE_LIBJPEG_BUILTIN
964 COND_WXUSE_LIBPNG_BUILTIN
965 COND_WXUSE_LIBTIFF_BUILTIN
966 COND_WXUSE_REGEX_BUILTIN
967 COND_WXUSE_ZLIB_BUILTIN
970 WX_LIBRARY_BASENAME_NOGUI
971 WX_LIBRARY_BASENAME_GUI
1003 WX_RESOURCES_MACOSX_ASCII
1004 WX_RESOURCES_MACOSX_DATA
1014 ac_precious_vars
='build_alias
1038 LIBGNOMEPRINTUI_CFLAGS
1039 LIBGNOMEPRINTUI_LIBS
1048 ac_subdirs_all
='src/tiff
1051 # Initialize some variables set by options.
1053 ac_init_version
=false
1054 # The variables have the same names as the options, with
1055 # dashes changed to underlines.
1056 cache_file
=/dev
/null
1063 program_transform_name
=s
,x
,x
,
1071 # Installation directory options.
1072 # These are left unexpanded so users can "make install exec_prefix=/foo"
1073 # and all the variables that are supposed to be based on exec_prefix
1074 # by default will actually change.
1075 # Use braces instead of parens because sh, perl, etc. also accept them.
1076 # (The list follows the same order as the GNU Coding Standards.)
1077 bindir
='${exec_prefix}/bin'
1078 sbindir
='${exec_prefix}/sbin'
1079 libexecdir
='${exec_prefix}/libexec'
1080 datarootdir
='${prefix}/share'
1081 datadir
='${datarootdir}'
1082 sysconfdir
='${prefix}/etc'
1083 sharedstatedir
='${prefix}/com'
1084 localstatedir
='${prefix}/var'
1085 includedir
='${prefix}/include'
1086 oldincludedir
='/usr/include'
1087 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1088 infodir
='${datarootdir}/info'
1093 libdir
='${exec_prefix}/lib'
1094 localedir
='${datarootdir}/locale'
1095 mandir
='${datarootdir}/man'
1101 # If the previous option needs an argument, assign it.
1102 if test -n "$ac_prev"; then
1103 eval $ac_prev=\
$ac_option
1109 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1113 # Accept the important Cygnus configure options, so we can diagnose typos.
1115 case $ac_dashdash$ac_option in
1119 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1121 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1122 bindir
=$ac_optarg ;;
1124 -build | --build | --buil | --bui | --bu)
1125 ac_prev
=build_alias
;;
1126 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1127 build_alias
=$ac_optarg ;;
1129 -cache-file | --cache-file | --cache-fil | --cache-fi \
1130 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1131 ac_prev
=cache_file
;;
1132 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1133 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1134 cache_file
=$ac_optarg ;;
1136 --config-cache | -C)
1137 cache_file
=config.cache
;;
1139 -datadir | --datadir | --datadi | --datad)
1141 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1142 datadir
=$ac_optarg ;;
1144 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1145 | --dataroo | --dataro | --datar)
1146 ac_prev
=datarootdir
;;
1147 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1148 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1149 datarootdir
=$ac_optarg ;;
1151 -disable-* | --disable-*)
1152 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1155 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1156 { (exit 1); exit 1; }; }
1157 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1158 eval enable_
$ac_feature=no
;;
1160 -docdir | --docdir | --docdi | --doc | --do)
1162 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1163 docdir
=$ac_optarg ;;
1165 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1167 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1168 dvidir
=$ac_optarg ;;
1170 -enable-* | --enable-*)
1171 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1174 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1175 { (exit 1); exit 1; }; }
1176 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1177 eval enable_
$ac_feature=\
$ac_optarg ;;
1179 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1180 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1181 | --exec | --exe | --ex)
1182 ac_prev
=exec_prefix
;;
1183 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1184 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1185 | --exec=* | --exe=* | --ex=*)
1186 exec_prefix
=$ac_optarg ;;
1188 -gas | --gas | --ga | --g)
1189 # Obsolete; use --with-gas.
1192 -help | --help | --hel | --he | -h)
1193 ac_init_help
=long
;;
1194 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1195 ac_init_help
=recursive
;;
1196 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1197 ac_init_help
=short
;;
1199 -host | --host | --hos | --ho)
1200 ac_prev
=host_alias
;;
1201 -host=* | --host=* | --hos=* | --ho=*)
1202 host_alias
=$ac_optarg ;;
1204 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1206 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1208 htmldir
=$ac_optarg ;;
1210 -includedir | --includedir | --includedi | --included | --include \
1211 | --includ | --inclu | --incl | --inc)
1212 ac_prev
=includedir
;;
1213 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1214 | --includ=* | --inclu=* | --incl=* | --inc=*)
1215 includedir
=$ac_optarg ;;
1217 -infodir | --infodir | --infodi | --infod | --info | --inf)
1219 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1220 infodir
=$ac_optarg ;;
1222 -libdir | --libdir | --libdi | --libd)
1224 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1225 libdir
=$ac_optarg ;;
1227 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1228 | --libexe | --libex | --libe)
1229 ac_prev
=libexecdir
;;
1230 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1231 | --libexe=* | --libex=* | --libe=*)
1232 libexecdir
=$ac_optarg ;;
1234 -localedir | --localedir | --localedi | --localed | --locale)
1235 ac_prev
=localedir
;;
1236 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1237 localedir
=$ac_optarg ;;
1239 -localstatedir | --localstatedir | --localstatedi | --localstated \
1240 | --localstate | --localstat | --localsta | --localst | --locals)
1241 ac_prev
=localstatedir
;;
1242 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1243 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1244 localstatedir
=$ac_optarg ;;
1246 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1248 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1249 mandir
=$ac_optarg ;;
1251 -nfp | --nfp | --nf)
1252 # Obsolete; use --without-fp.
1255 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1256 | --no-cr | --no-c | -n)
1259 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1260 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1263 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1264 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1265 | --oldin | --oldi | --old | --ol | --o)
1266 ac_prev
=oldincludedir
;;
1267 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1268 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1269 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1270 oldincludedir
=$ac_optarg ;;
1272 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1274 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1275 prefix
=$ac_optarg ;;
1277 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1278 | --program-pre | --program-pr | --program-p)
1279 ac_prev
=program_prefix
;;
1280 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1281 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1282 program_prefix
=$ac_optarg ;;
1284 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1285 | --program-suf | --program-su | --program-s)
1286 ac_prev
=program_suffix
;;
1287 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1288 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1289 program_suffix
=$ac_optarg ;;
1291 -program-transform-name | --program-transform-name \
1292 | --program-transform-nam | --program-transform-na \
1293 | --program-transform-n | --program-transform- \
1294 | --program-transform | --program-transfor \
1295 | --program-transfo | --program-transf \
1296 | --program-trans | --program-tran \
1297 | --progr-tra | --program-tr | --program-t)
1298 ac_prev
=program_transform_name
;;
1299 -program-transform-name=* | --program-transform-name=* \
1300 | --program-transform-nam=* | --program-transform-na=* \
1301 | --program-transform-n=* | --program-transform-=* \
1302 | --program-transform=* | --program-transfor=* \
1303 | --program-transfo=* | --program-transf=* \
1304 | --program-trans=* | --program-tran=* \
1305 | --progr-tra=* | --program-tr=* | --program-t=*)
1306 program_transform_name
=$ac_optarg ;;
1308 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1310 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1311 pdfdir
=$ac_optarg ;;
1313 -psdir | --psdir | --psdi | --psd | --ps)
1315 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1318 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1319 | -silent | --silent | --silen | --sile | --sil)
1322 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1324 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1326 sbindir
=$ac_optarg ;;
1328 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1329 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1330 | --sharedst | --shareds | --shared | --share | --shar \
1332 ac_prev
=sharedstatedir
;;
1333 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1334 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1335 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1337 sharedstatedir
=$ac_optarg ;;
1339 -site | --site | --sit)
1341 -site=* | --site=* | --sit=*)
1344 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1346 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1347 srcdir
=$ac_optarg ;;
1349 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1350 | --syscon | --sysco | --sysc | --sys | --sy)
1351 ac_prev
=sysconfdir
;;
1352 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1353 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1354 sysconfdir
=$ac_optarg ;;
1356 -target | --target | --targe | --targ | --tar | --ta | --t)
1357 ac_prev
=target_alias
;;
1358 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1359 target_alias
=$ac_optarg ;;
1361 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1364 -version | --version | --versio | --versi | --vers | -V)
1365 ac_init_version
=: ;;
1368 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1369 # Reject names that are not valid shell variable names.
1370 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1371 { echo "$as_me: error: invalid package name: $ac_package" >&2
1372 { (exit 1); exit 1; }; }
1373 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1374 eval with_
$ac_package=\
$ac_optarg ;;
1376 -without-* | --without-*)
1377 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1378 # Reject names that are not valid shell variable names.
1379 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1380 { echo "$as_me: error: invalid package name: $ac_package" >&2
1381 { (exit 1); exit 1; }; }
1382 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1383 eval with_
$ac_package=no
;;
1386 # Obsolete; use --with-x.
1389 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1390 | --x-incl | --x-inc | --x-in | --x-i)
1391 ac_prev
=x_includes
;;
1392 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1393 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1394 x_includes
=$ac_optarg ;;
1396 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1397 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1398 ac_prev
=x_libraries
;;
1399 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1400 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1401 x_libraries
=$ac_optarg ;;
1403 -*) { echo "$as_me: error: unrecognized option: $ac_option
1404 Try \`$0 --help' for more information." >&2
1405 { (exit 1); exit 1; }; }
1409 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1410 # Reject names that are not valid shell variable names.
1411 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1412 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1413 { (exit 1); exit 1; }; }
1414 eval $ac_envvar=\
$ac_optarg
1415 export $ac_envvar ;;
1418 # FIXME: should be removed in autoconf 3.0.
1419 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1420 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1421 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1422 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1428 if test -n "$ac_prev"; then
1429 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1430 { echo "$as_me: error: missing argument to $ac_option" >&2
1431 { (exit 1); exit 1; }; }
1434 # Be sure to have absolute directory names.
1435 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1436 datadir sysconfdir sharedstatedir localstatedir includedir \
1437 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1438 libdir localedir mandir
1440 eval ac_val
=\$
$ac_var
1442 [\\/$
]* | ?
:[\\/]* ) continue;;
1443 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1445 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1446 { (exit 1); exit 1; }; }
1449 # There might be people who depend on the old broken behavior: `$host'
1450 # used to hold the argument of --host etc.
1451 # FIXME: To remove some day.
1454 target
=$target_alias
1456 # FIXME: To remove some day.
1457 if test "x$host_alias" != x
; then
1458 if test "x$build_alias" = x
; then
1459 cross_compiling
=maybe
1460 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1461 If a cross compiler is detected then cross compile mode will be used." >&2
1462 elif test "x$build_alias" != "x$host_alias"; then
1468 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1470 test "$silent" = yes && exec 6>/dev
/null
1473 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1474 ac_ls_di
=`ls -di .` &&
1475 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1476 { echo "$as_me: error: Working directory cannot be determined" >&2
1477 { (exit 1); exit 1; }; }
1478 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1479 { echo "$as_me: error: pwd does not report name of working directory" >&2
1480 { (exit 1); exit 1; }; }
1483 # Find the source files, if location was not specified.
1484 if test -z "$srcdir"; then
1485 ac_srcdir_defaulted
=yes
1486 # Try the directory containing this script, then the parent directory.
1487 ac_confdir
=`$as_dirname -- "$0" ||
1488 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1489 X"$0" : 'X\(//\)[^/]' \| \
1490 X"$0" : 'X\(//\)$' \| \
1491 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1511 if test ! -r "$srcdir/$ac_unique_file"; then
1515 ac_srcdir_defaulted
=no
1517 if test ! -r "$srcdir/$ac_unique_file"; then
1518 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1519 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1520 { (exit 1); exit 1; }; }
1522 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1524 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1525 { (exit 1); exit 1; }; }
1527 # When building in place, set srcdir=.
1528 if test "$ac_abs_confdir" = "$ac_pwd"; then
1531 # Remove unnecessary trailing slashes from srcdir.
1532 # Double slashes in file names in object file debugging info
1533 # mess up M-x gdb in Emacs.
1535 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1537 for ac_var
in $ac_precious_vars; do
1538 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1539 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1540 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1541 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1545 # Report the --help message.
1547 if test "$ac_init_help" = "long"; then
1548 # Omit some internal or obsolete options to make the list less imposing.
1549 # This message is too long to be a string in the A/UX 3.1 sh.
1551 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1553 Usage: $0 [OPTION]... [VAR=VALUE]...
1555 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1556 VAR=VALUE. See below for descriptions of some of the useful variables.
1558 Defaults for the options are specified in brackets.
1561 -h, --help display this help and exit
1562 --help=short display options specific to this package
1563 --help=recursive display the short help of all the included packages
1564 -V, --version display version information and exit
1565 -q, --quiet, --silent do not print \`checking...' messages
1566 --cache-file=FILE cache test results in FILE [disabled]
1567 -C, --config-cache alias for \`--cache-file=config.cache'
1568 -n, --no-create do not create output files
1569 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1571 Installation directories:
1572 --prefix=PREFIX install architecture-independent files in PREFIX
1573 [$ac_default_prefix]
1574 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1577 By default, \`make install' will install all the files in
1578 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1579 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1580 for instance \`--prefix=\$HOME'.
1582 For better control, use the options below.
1584 Fine tuning of the installation directories:
1585 --bindir=DIR user executables [EPREFIX/bin]
1586 --sbindir=DIR system admin executables [EPREFIX/sbin]
1587 --libexecdir=DIR program executables [EPREFIX/libexec]
1588 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1589 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1590 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1591 --libdir=DIR object code libraries [EPREFIX/lib]
1592 --includedir=DIR C header files [PREFIX/include]
1593 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1594 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1595 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1596 --infodir=DIR info documentation [DATAROOTDIR/info]
1597 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1598 --mandir=DIR man documentation [DATAROOTDIR/man]
1599 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1600 --htmldir=DIR html documentation [DOCDIR]
1601 --dvidir=DIR dvi documentation [DOCDIR]
1602 --pdfdir=DIR pdf documentation [DOCDIR]
1603 --psdir=DIR ps documentation [DOCDIR]
1609 --x-includes=DIR X include files are
in DIR
1610 --x-libraries=DIR X library files are
in DIR
1613 --build=BUILD configure
for building on BUILD
[guessed
]
1614 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1615 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1619 if test -n "$ac_init_help"; then
1620 case $ac_init_help in
1621 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1626 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1627 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1628 --disable-gui don
't build GUI parts of the library
1629 --enable-monolithic build wxWidgets as single library
1630 --enable-plugins build parts of wxWidgets as loadable components
1631 --enable-official_build official build of wxWidgets (win32 DLL only)
1632 --enable-vendor=VENDOR vendor name (win32 DLL only)
1633 --disable-all-features disable all optional features to build minimal library
1634 --enable-universal use wxWidgets GUI controls instead of native ones
1635 --enable-nanox use NanoX
1636 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1637 --enable-gpe use GNOME PDA Environment features if possible
1638 --disable-shared create static library instead of shared
1639 --disable-optimise create optimised code
1640 --enable-debug same as debug_flag and debug_info
1641 --enable-stl use STL for containers
1642 --enable-std_iostreams use standard C++ stream classes
1643 --enable-std_string use standard C++ string classes
1644 --disable-unicode compile without Unicode support
1645 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1646 --enable-utf8 use UTF-8 representation for strings (Unix only)
1647 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1648 --enable-extended_rtti use extended RTTI (XTI)
1649 --enable-omf use OMF object format
1650 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1651 --enable-debug_info create code with debugging information
1652 --enable-debug_gdb create code with extra GDB debugging information
1653 --enable-debug_cntxt use wxDebugContext
1654 --enable-mem_tracing create code with memory tracing
1655 --enable-profile create code with profiling information
1656 --enable-no_rtti create code without RTTI information
1657 --enable-no_exceptions create code without C++ exceptions handling
1658 --enable-permissive compile code disregarding strict ANSI
1659 --enable-no_deps create code without dependency information
1660 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1661 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1662 --enable-compat26 enable wxWidgets
2.6 compatibility
1663 --disable-compat28 disable wxWidgets
2.8 compatibility
1664 --disable-rpath disable use of rpath
for uninstalled builds
1665 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1666 --disable-visibility disable use of ELF symbols visibility even
if supported
1667 --enable-intl use internationalization system
1668 --enable-config use wxConfig
(and derived
) classes
1669 --enable-protocols use wxProtocol and derived classes
1670 --enable-ftp use wxFTP
(requires wxProtocol
1671 --enable-http use wxHTTP
(requires wxProtocol
1672 --enable-fileproto use wxFileProto class
(requires wxProtocol
1673 --enable-sockets use socket
/network classes
1674 --enable-ipv6 enable IPv6 support
in wxSocket
1675 --enable-ole use OLE classes
(Win32 only
)
1676 --enable-dataobj use data object classes
1677 --enable-ipc use interprocess communication
(wxSocket etc.
)
1678 --enable-baseevtloop use event loop
in console programs too
1679 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1680 --enable-selectloop use wxSelectDispatcher class
1681 --enable-apple_ieee use the Apple IEEE codec
1682 --enable-arcstream use wxArchive streams
1683 --enable-base64 use base64 encoding
/decoding functions
1684 --enable-backtrace use wxStackWalker class
for getting backtraces
1685 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1686 --enable-cmdline use wxCmdLineParser class
1687 --enable-datetime use wxDateTime class
1688 --enable-debugreport use wxDebugReport class
1689 --enable-dialupman use dialup network classes
1690 --enable-dynlib use wxLibrary class
for DLL loading
1691 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1692 --enable-exceptions build exception
-safe library
1693 --enable-ffile use wxFFile class
1694 --enable-file use wxFile class
1695 --enable-filesystem use virtual
file systems classes
1696 --enable-fontenum use wxFontEnumerator class
1697 --enable-fontmap use font encodings conversion classes
1698 --enable-fs_archive use virtual archive filesystems
1699 --enable-fs_inet use virtual HTTP
/FTP filesystems
1700 --enable-fs_zip now replaced by fs_archive
1701 --enable-geometry use geometry class
1702 --enable-log use logging system
1703 --enable-longlong use wxLongLong class
1704 --enable-mimetype use wxMimeTypesManager
1705 --enable-snglinst use wxSingleInstanceChecker class
1706 --enable-stdpaths use wxStandardPaths class
1707 --enable-stopwatch use wxStopWatch class
1708 --enable-streams use wxStream etc classes
1709 --enable-sysoptions use wxSystemOptions
1710 --enable-tarstream use wxTar streams
1711 --enable-textbuf use wxTextBuffer class
1712 --enable-textfile use wxTextFile class
1713 --enable-timer use wxTimer class
1714 --enable-sound use wxSound class
1715 --enable-mediactrl use wxMediaCtrl class
1716 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1717 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1718 --enable-zipstream use wxZip streams
1719 --enable-url use wxURL class
1720 --enable-variant use wxVariant class
1721 --enable-protocol use wxProtocol class
1722 --enable-protocol-http HTTP support
in wxProtocol
1723 --enable-protocol-ftp FTP support
in wxProtocol
1724 --enable-protocol-file FILE support
in wxProtocol
1725 --enable-threads use threads
1726 --enable-iniconf use wxIniConfig
(Win32 only
)
1727 --enable-regkey use wxRegKey class
(Win32 only
)
1728 --enable-docview use document view architecture
1729 --enable-help use
help subsystem
1730 --enable-mshtmlhelp use MS HTML Help
(win32
)
1731 --enable-html use wxHTML sub
-library
1732 --enable-htmlhelp use wxHTML
-based help
1733 --enable-xrc use XRC resources sub
-library
1734 --enable-aui use AUI docking library
1735 --enable-stc use wxStyledTextCtrl library
1736 --enable-constraints use layout
-constraints system
1737 --enable-printarch use printing architecture
1738 --enable-mdi use multiple document interface architecture
1739 --enable-mdidoc use docview architecture with MDI
1740 --enable-loggui use standard GUI logger
1741 --enable-logwin use wxLogWindow
1742 --enable-logdialog use wxLogDialog
1743 --enable-webkit use wxWebKitCtrl
(Mac
)
1744 --enable-richtext use wxRichTextCtrl
1745 --enable-graphics_ctx use graphics context
2D drawing API
1746 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1747 --enable-svg use wxSVGFileDC device context
1748 --enable-clipboard use wxClipboard class
1749 --enable-dnd use Drag
'n'Drop classes
1750 --enable-metafile use win32 metafiles
1751 --disable-controls disable compilation of all standard controls
1752 --enable-accel use accelerators
1753 --enable-animatectrl use wxAnimationCtrl class
1754 --enable-button use wxButton class
1755 --enable-bmpbutton use wxBitmapButton class
1756 --enable-bmpcombobox use wxBitmapComboBox class
1757 --enable-calendar use wxCalendarCtrl class
1758 --enable-caret use wxCaret class
1759 --enable-checkbox use wxCheckBox class
1760 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1761 --enable-choice use wxChoice class
1762 --enable-choicebook use wxChoicebook class
1763 --enable-collpane use wxCollapsiblePane class
1764 --enable-colourpicker use wxColourPickerCtrl class
1765 --enable-combobox use wxComboBox class
1766 --enable-comboctrl use wxComboCtrl class
1767 --enable-datepick use wxDatePickerCtrl class
1768 --enable-dirpicker use wxDirPickerCtrl class
1769 --enable-display use wxDisplay class
1770 --enable-detect_sm use code to detect X11 session manager
1771 --enable-editablebox use wxEditableListBox class
1772 --enable-filepicker use wxFilePickerCtrl class
1773 --enable-filectrl use wxFileCtrl class
1774 --enable-fontpicker use wxFontPickerCtrl class
1775 --enable-gauge use wxGauge class
1776 --enable-grid use wxGrid class
1777 --enable-dataviewctrl use wxDataViewCtrl class
1778 --enable-hyperlink use wxHyperlinkCtrl class
1779 --enable-imaglist use wxImageList class
1780 --enable-listbook use wxListbook class
1781 --enable-listbox use wxListBox class
1782 --enable-listctrl use wxListCtrl class
1783 --enable-notebook use wxNotebook class
1784 --enable-notifmsg use wxNotificationMessage class
1785 --enable-odcombobox use wxOwnerDrawnComboBox class
1786 --enable-radiobox use wxRadioBox class
1787 --enable-radiobtn use wxRadioButton class
1788 --enable-sash use wxSashWindow class
1789 --enable-scrollbar use wxScrollBar class and scrollable windows
1790 --enable-searchctrl use wxSearchCtrl class
1791 --enable-slider use wxSlider class
1792 --enable-spinbtn use wxSpinButton class
1793 --enable-spinctrl use wxSpinCtrl class
1794 --enable-splitter use wxSplitterWindow class
1795 --enable-statbmp use wxStaticBitmap class
1796 --enable-statbox use wxStaticBox class
1797 --enable-statline use wxStaticLine class
1798 --enable-stattext use wxStaticText class
1799 --enable-statusbar use wxStatusBar class
1800 --enable-tabdialog use wxTabControl class
1801 --enable-taskbaricon use wxTaskBarIcon class
1802 --enable-textctrl use wxTextCtrl class
1803 --enable-togglebtn use wxToggleButton class
1804 --enable-toolbar use wxToolBar class
1805 --enable-tbarnative use native wxToolBar class
1806 --enable-treebook use wxTreebook class
1807 --enable-toolbook use wxToolbook class
1808 --enable-treectrl use wxTreeCtrl class
1809 --enable-tipwindow use wxTipWindow class
1810 --enable-popupwin use wxPopUpWindow class
1811 --enable-commondlg use all common dialogs
1812 --enable-aboutdlg use wxAboutBox
1813 --enable-choicedlg use wxChoiceDialog
1814 --enable-coldlg use wxColourDialog
1815 --enable-filedlg use wxFileDialog
1816 --enable-finddlg use wxFindReplaceDialog
1817 --enable-fontdlg use wxFontDialog
1818 --enable-dirdlg use wxDirDialog
1819 --enable-msgdlg use wxMessageDialog
1820 --enable-numberdlg use wxNumberEntryDialog
1821 --enable-splash use wxSplashScreen
1822 --enable-textdlg use wxTextDialog
1823 --enable-tipdlg use startup tips
1824 --enable-progressdlg use wxProgressDialog
1825 --enable-wizarddlg use wxWizard
1826 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1827 --enable-miniframe use wxMiniFrame class
1828 --enable-tooltips use wxToolTip class
1829 --enable-splines use spline drawing code
1830 --enable-mousewheel use mousewheel
1831 --enable-validators use wxValidator and derived classes
1832 --enable-busyinfo use wxBusyInfo
1833 --enable-joystick use wxJoystick
1834 --enable-metafiles use wxMetaFile
(Win32 only
)
1835 --enable-dragimage use wxDragImage
1836 --enable-accessibility enable accessibility support
1837 --enable-palette use wxPalette class
1838 --enable-image use wxImage class
1839 --enable-gif use gif images
(GIF
file format
)
1840 --enable-pcx use pcx images
(PCX
file format
)
1841 --enable-tga use tga images
(TGA
file format
)
1842 --enable-iff use iff images
(IFF
file format
)
1843 --enable-pnm use pnm images
(PNM
file format
)
1844 --enable-xpm use xpm images
(XPM
file format
)
1845 --enable-icocur use Windows ICO and CUR formats
1846 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1847 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1848 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1849 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1850 --enable-wxdib use wxDIB class
(Win32 only
)
1851 --disable-largefile omit support
for large files
1852 --disable-gtktest do not try to compile and run a
test GTK
+ program
1853 --disable-gtktest Do not try to compile and run a
test GTK program
1854 --disable-sdltest Do not try to compile and run a
test SDL program
1855 --enable-omf use OMF object format
(OS
/2)
1856 --disable-dependency-tracking
1857 don
't use dependency tracking even if the compiler
1859 --disable-precomp-headers
1860 don't use precompiled headers even
if compiler can
1863 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1864 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1865 --without-subdirs don
't generate makefiles for samples/demos/...
1866 --with-flavour=NAME specify a name to identify this build
1867 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1868 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1869 --with-motif use Motif/Lesstif
1870 --with-mac use Mac OS X
1871 --with-cocoa use Cocoa
1872 --with-wine use Wine
1873 --with-msw use MS-Windows
1874 --with-pm use OS/2 Presentation Manager
1875 --with-mgl use SciTech MGL
1876 --with-directfb use DirectFB
1877 --with-microwin use MicroWindows
1879 --with-libpng use libpng (PNG image format)
1880 --with-libjpeg use libjpeg (JPEG file format)
1881 --with-libtiff use libtiff (TIFF file format)
1882 --with-libxpm use libxpm (XPM file format)
1883 --with-libmspack use libmspack (CHM help files loading)
1884 --without-gtkprint don't use GTK printing support
1885 --without-gnomeprint don
't use GNOME printing libraries
1886 --with-gnomevfs use GNOME VFS for associating MIME types
1887 --with-hildon use Hildon framework for Nokia 770
1888 --with-opengl use OpenGL (or Mesa)
1889 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1890 --with-sdl use SDL for audio on Unix
1891 --with-regex enable support for wxRegEx class
1892 --with-zlib use zlib for LZW compression
1893 --with-expat enable XML support using expat parser
1894 --with-macosx-sdk=PATH use an OS X SDK at PATH
1895 --with-macosx-version-min=VER build binaries which require at least this OS X version
1896 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1897 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1898 --with-x use the X Window System
1899 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1900 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1901 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1902 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1903 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1905 Some influential environment variables:
1906 CC C compiler command
1907 CFLAGS C compiler flags
1908 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1909 nonstandard directory <lib dir>
1910 LIBS libraries to pass to the linker, e.g. -l<library>
1911 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1912 you have headers in a nonstandard directory <include dir>
1914 CXX C++ compiler command
1915 CXXFLAGS C++ compiler flags
1916 PKG_CONFIG path to pkg-config utility
1918 C compiler flags for DIRECTFB, overriding pkg-config
1920 linker flags for DIRECTFB, overriding pkg-config
1921 XMKMF Path to xmkmf, Makefile generator for X Window System
1923 C compiler flags for PANGOX, overriding pkg-config
1924 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1926 C compiler flags for PANGOFT2, overriding pkg-config
1928 linker flags for PANGOFT2, overriding pkg-config
1930 C compiler flags for PANGOXFT, overriding pkg-config
1932 linker flags for PANGOXFT, overriding pkg-config
1934 C compiler flags for GTKPRINT, overriding pkg-config
1936 linker flags for GTKPRINT, overriding pkg-config
1937 LIBGNOMEPRINTUI_CFLAGS
1938 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1939 LIBGNOMEPRINTUI_LIBS
1940 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1942 C compiler flags for GNOMEVFS, overriding pkg-config
1944 linker flags for GNOMEVFS, overriding pkg-config
1946 C compiler flags for HILDON, overriding pkg-config
1947 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1949 C compiler flags for CAIRO, overriding pkg-config
1950 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1951 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1952 GST_LIBS linker flags for GST, overriding pkg-config
1954 Use these variables to override the choices made by `configure' or to
help
1955 it to
find libraries and programs with nonstandard names
/locations.
1957 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1962 if test "$ac_init_help" = "recursive"; then
1963 # If there are subdirs, report their specific --help.
1964 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1965 test -d "$ac_dir" || continue
1969 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1971 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1972 # A ".." for each directory in $ac_dir_suffix.
1973 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1974 case $ac_top_builddir_sub in
1975 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1976 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1979 ac_abs_top_builddir
=$ac_pwd
1980 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1981 # for backward compatibility:
1982 ac_top_builddir
=$ac_top_build_prefix
1985 .
) # We are building in place.
1987 ac_top_srcdir
=$ac_top_builddir_sub
1988 ac_abs_top_srcdir
=$ac_pwd ;;
1989 [\\/]* | ?
:[\\/]* ) # Absolute name.
1990 ac_srcdir
=$srcdir$ac_dir_suffix;
1991 ac_top_srcdir
=$srcdir
1992 ac_abs_top_srcdir
=$srcdir ;;
1994 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1995 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1996 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1998 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2000 cd "$ac_dir" || { ac_status
=$?
; continue; }
2001 # Check for guested configure.
2002 if test -f "$ac_srcdir/configure.gnu"; then
2004 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2005 elif test -f "$ac_srcdir/configure"; then
2007 $SHELL "$ac_srcdir/configure" --help=recursive
2009 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2011 cd "$ac_pwd" || { ac_status
=$?
; break; }
2015 test -n "$ac_init_help" && exit $ac_status
2016 if $ac_init_version; then
2018 wxWidgets configure
2.9.0
2019 generated by GNU Autoconf
2.61
2021 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2022 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2023 This configure
script is free software
; the Free Software Foundation
2024 gives unlimited permission to copy
, distribute and modify it.
2028 cat >config.log
<<_ACEOF
2029 This file contains any messages produced by compilers while
2030 running configure, to aid debugging if configure makes a mistake.
2032 It was created by wxWidgets $as_me 2.9.0, which was
2033 generated by GNU Autoconf 2.61. Invocation command line was
2045 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2046 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2047 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2048 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2049 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2051 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2052 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2054 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2055 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2056 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2057 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2058 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2059 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2060 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2068 test -z "$as_dir" && as_dir
=.
2069 echo "PATH: $as_dir"
2085 # Keep a trace of the command line.
2086 # Strip out --no-create and --no-recursion so they do not pile up.
2087 # Strip out --silent because we don't want to record it for future runs.
2088 # Also quote any args containing shell meta-characters.
2089 # Make two passes to allow for proper duplicate-argument suppression.
2093 ac_must_keep_next
=false
2099 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2100 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2101 | -silent | --silent | --silen | --sile | --sil)
2104 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2107 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2109 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2110 if test $ac_must_keep_next = true
; then
2111 ac_must_keep_next
=false
# Got value, back to normal.
2114 *=* | --config-cache | -C | -disable-* | --disable-* \
2115 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2116 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2117 | -with-* | --with-* | -without-* | --without-* | --x)
2118 case "$ac_configure_args0 " in
2119 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2122 -* ) ac_must_keep_next
=true
;;
2125 ac_configure_args
="$ac_configure_args '$ac_arg'"
2130 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2131 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2133 # When interrupted or exit'd, cleanup temporary files, and complete
2134 # config.log. We remove comments because anyway the quotes in there
2135 # would cause problems or look ugly.
2136 # WARNING: Use '\'' to represent an apostrophe within the trap.
2137 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2138 trap 'exit_status=$?
2139 # Save into config.log some information that might help in debugging.
2144 ## ---------------- ##
2145 ## Cache variables. ##
2146 ## ---------------- ##
2149 # The following way of writing the cache mishandles newlines in values,
2151 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2152 eval ac_val=\$$ac_var
2156 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2157 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2160 _ | IFS | as_nl) ;; #(
2161 *) $as_unset $ac_var ;;
2166 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2167 *${as_nl}ac_space=\ *)
2169 "s/'\''/'\''\\\\'\'''\''/g;
2170 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2173 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2181 ## ----------------- ##
2182 ## Output variables. ##
2183 ## ----------------- ##
2186 for ac_var in $ac_subst_vars
2188 eval ac_val=\$$ac_var
2190 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2192 echo "$ac_var='\''$ac_val'\''"
2196 if test -n "$ac_subst_files"; then
2198 ## ------------------- ##
2199 ## File substitutions. ##
2200 ## ------------------- ##
2203 for ac_var
in $ac_subst_files
2205 eval ac_val
=\$
$ac_var
2207 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2209 echo "$ac_var='\''$ac_val'\''"
2214 if test -s confdefs.h; then
2224 test "$ac_signal" != 0 &&
2225 echo "$as_me: caught signal $ac_signal"
2226 echo "$as_me: exit $exit_status"
2228 rm -f core *.core core.conftest.* &&
2229 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2232 for ac_signal
in 1 2 13 15; do
2233 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2237 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2238 rm -f -r conftest
* confdefs.h
2240 # Predefined preprocessor variables.
2242 cat >>confdefs.h
<<_ACEOF
2243 #define PACKAGE_NAME "$PACKAGE_NAME"
2247 cat >>confdefs.h
<<_ACEOF
2248 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2252 cat >>confdefs.h
<<_ACEOF
2253 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2257 cat >>confdefs.h
<<_ACEOF
2258 #define PACKAGE_STRING "$PACKAGE_STRING"
2262 cat >>confdefs.h
<<_ACEOF
2263 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2267 # Let the site file select an alternate cache file if it wants to.
2268 # Prefer explicitly selected file to automatically selected ones.
2269 if test -n "$CONFIG_SITE"; then
2270 set x
"$CONFIG_SITE"
2271 elif test "x$prefix" != xNONE
; then
2272 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2274 set x
"$ac_default_prefix/share/config.site" \
2275 "$ac_default_prefix/etc/config.site"
2280 if test -r "$ac_site_file"; then
2281 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2282 echo "$as_me: loading site script $ac_site_file" >&6;}
2283 sed 's/^/| /' "$ac_site_file" >&5
2288 if test -r "$cache_file"; then
2289 # Some versions of bash will fail to source /dev/null (special
2290 # files actually), so we avoid doing that.
2291 if test -f "$cache_file"; then
2292 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2293 echo "$as_me: loading cache $cache_file" >&6;}
2295 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2296 *) .
"./$cache_file";;
2300 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2301 echo "$as_me: creating cache $cache_file" >&6;}
2305 # Check that the precious variables saved in the cache have kept the same
2307 ac_cache_corrupted
=false
2308 for ac_var
in $ac_precious_vars; do
2309 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2310 eval ac_new_set
=\
$ac_env_${ac_var}_set
2311 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2312 eval ac_new_val
=\
$ac_env_${ac_var}_value
2313 case $ac_old_set,$ac_new_set in
2315 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2316 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2317 ac_cache_corrupted
=: ;;
2319 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2320 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2321 ac_cache_corrupted
=: ;;
2324 if test "x$ac_old_val" != "x$ac_new_val"; then
2325 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2326 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2327 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2328 echo "$as_me: former value: $ac_old_val" >&2;}
2329 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2330 echo "$as_me: current value: $ac_new_val" >&2;}
2331 ac_cache_corrupted
=:
2334 # Pass precious variables to config.status.
2335 if test "$ac_new_set" = set; then
2337 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2338 *) ac_arg
=$ac_var=$ac_new_val ;;
2340 case " $ac_configure_args " in
2341 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2342 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2346 if $ac_cache_corrupted; then
2347 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2348 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2349 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2350 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2351 { (exit 1); exit 1; }; }
2379 ac_cpp
='$CPP $CPPFLAGS'
2380 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2381 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2382 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2389 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2390 if test -f "$ac_dir/install-sh"; then
2392 ac_install_sh
="$ac_aux_dir/install-sh -c"
2394 elif test -f "$ac_dir/install.sh"; then
2396 ac_install_sh
="$ac_aux_dir/install.sh -c"
2398 elif test -f "$ac_dir/shtool"; then
2400 ac_install_sh
="$ac_aux_dir/shtool install -c"
2404 if test -z "$ac_aux_dir"; then
2405 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2406 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2407 { (exit 1); exit 1; }; }
2410 # These three variables are undocumented and unsupported,
2411 # and are intended to be withdrawn in a future Autoconf release.
2412 # They can cause serious problems if a builder's source tree is in a directory
2413 # whose full name contains unusual characters.
2414 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2415 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2416 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2419 # Make sure we can run config.sub.
2420 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2421 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2422 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2423 { (exit 1); exit 1; }; }
2425 { echo "$as_me:$LINENO: checking build system type" >&5
2426 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2427 if test "${ac_cv_build+set}" = set; then
2428 echo $ECHO_N "(cached) $ECHO_C" >&6
2430 ac_build_alias
=$build_alias
2431 test "x$ac_build_alias" = x
&&
2432 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2433 test "x$ac_build_alias" = x
&&
2434 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2435 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2436 { (exit 1); exit 1; }; }
2437 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2438 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2439 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2440 { (exit 1); exit 1; }; }
2443 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2444 echo "${ECHO_T}$ac_cv_build" >&6; }
2445 case $ac_cv_build in
2447 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2448 echo "$as_me: error: invalid value of canonical build" >&2;}
2449 { (exit 1); exit 1; }; };;
2452 ac_save_IFS
=$IFS; IFS
='-'
2458 # Remember, the first character of IFS is used to create $*,
2459 # except with old shells:
2462 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2465 { echo "$as_me:$LINENO: checking host system type" >&5
2466 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2467 if test "${ac_cv_host+set}" = set; then
2468 echo $ECHO_N "(cached) $ECHO_C" >&6
2470 if test "x$host_alias" = x
; then
2471 ac_cv_host
=$ac_cv_build
2473 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2474 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2475 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2476 { (exit 1); exit 1; }; }
2480 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2481 echo "${ECHO_T}$ac_cv_host" >&6; }
2484 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2485 echo "$as_me: error: invalid value of canonical host" >&2;}
2486 { (exit 1); exit 1; }; };;
2489 ac_save_IFS
=$IFS; IFS
='-'
2495 # Remember, the first character of IFS is used to create $*,
2496 # except with old shells:
2499 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2502 { echo "$as_me:$LINENO: checking target system type" >&5
2503 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2504 if test "${ac_cv_target+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 if test "x$target_alias" = x
; then
2508 ac_cv_target
=$ac_cv_host
2510 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2511 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2512 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2513 { (exit 1); exit 1; }; }
2517 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2518 echo "${ECHO_T}$ac_cv_target" >&6; }
2519 case $ac_cv_target in
2521 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2522 echo "$as_me: error: invalid value of canonical target" >&2;}
2523 { (exit 1); exit 1; }; };;
2525 target
=$ac_cv_target
2526 ac_save_IFS
=$IFS; IFS
='-'
2532 # Remember, the first character of IFS is used to create $*,
2533 # except with old shells:
2536 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2539 # The aliases save the names the user supplied, while $host etc.
2540 # will get canonicalized.
2541 test -n "$target_alias" &&
2542 test "$program_prefix$program_suffix$program_transform_name" = \
2544 program_prefix
=${target_alias}-
2548 wx_major_version_number
=2
2549 wx_minor_version_number
=9
2551 wx_subrelease_number
=0
2553 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2554 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2555 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2557 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2560 wx_top_builddir
="`pwd`"
2573 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2579 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2585 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2587 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2589 DEFAULT_wxUSE_COCOA
=0
2593 DEFAULT_wxUSE_MICROWIN
=0
2594 DEFAULT_wxUSE_MOTIF
=0
2600 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2601 DEFAULT_DEFAULT_wxUSE_GTK
=0
2602 DEFAULT_DEFAULT_wxUSE_MAC
=0
2603 DEFAULT_DEFAULT_wxUSE_MGL
=0
2604 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2605 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2606 DEFAULT_DEFAULT_wxUSE_MSW
=0
2607 DEFAULT_DEFAULT_wxUSE_PM
=0
2608 DEFAULT_DEFAULT_wxUSE_X11
=0
2609 DEFAULT_DEFAULT_wxUSE_DFB
=0
2614 SAMPLES_RPATH_POSTLINK
=
2616 DEFAULT_STD_FLAG
=yes
2621 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2622 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2624 cat >>confdefs.h
<<\_ACEOF
2629 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2633 cat >>confdefs.h
<<\_ACEOF
2638 if test "x$TMP" = "xalpha"; then
2640 cat >>confdefs.h
<<\_ACEOF
2645 DEFAULT_DEFAULT_wxUSE_GTK
=1
2647 *-*-gnu* | *-*-k*bsd
*-gnu )
2650 if test "x$TMP" = "xalpha"; then
2652 cat >>confdefs.h
<<\_ACEOF
2657 DEFAULT_DEFAULT_wxUSE_GTK
=1
2659 *-*-irix5* | *-*-irix6* )
2662 cat >>confdefs.h
<<\_ACEOF
2666 cat >>confdefs.h
<<\_ACEOF
2670 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2676 cat >>confdefs.h
<<\_ACEOF
2680 cat >>confdefs.h
<<\_ACEOF
2681 #define __SOLARIS__ 1
2684 cat >>confdefs.h
<<\_ACEOF
2688 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2689 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2695 cat >>confdefs.h
<<\_ACEOF
2699 cat >>confdefs.h
<<\_ACEOF
2703 cat >>confdefs.h
<<\_ACEOF
2707 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2712 cat >>confdefs.h
<<\_ACEOF
2713 #define __FREEBSD__ 1
2716 cat >>confdefs.h
<<\_ACEOF
2720 DEFAULT_DEFAULT_wxUSE_GTK
=1
2722 *-*-openbsd*|*-*-mirbsd*)
2725 cat >>confdefs.h
<<\_ACEOF
2726 #define __OPENBSD__ 1
2729 cat >>confdefs.h
<<\_ACEOF
2733 DEFAULT_DEFAULT_wxUSE_GTK
=1
2738 cat >>confdefs.h
<<\_ACEOF
2739 #define __NETBSD__ 1
2742 cat >>confdefs.h
<<\_ACEOF
2746 DEFAULT_DEFAULT_wxUSE_GTK
=1
2747 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2749 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2754 cat >>confdefs.h
<<\_ACEOF
2758 cat >>confdefs.h
<<\_ACEOF
2762 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2763 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2768 cat >>confdefs.h
<<\_ACEOF
2772 cat >>confdefs.h
<<\_ACEOF
2776 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2781 cat >>confdefs.h
<<\_ACEOF
2785 cat >>confdefs.h
<<\_ACEOF
2789 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2796 cat >>confdefs.h
<<\_ACEOF
2800 cat >>confdefs.h
<<\_ACEOF
2804 cat >>confdefs.h
<<\_ACEOF
2808 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2815 cat >>confdefs.h
<<\_ACEOF
2816 #define __UNIXWARE__ 1
2821 *-*-cygwin* | *-*-mingw32* )
2824 DEFAULT_DEFAULT_wxUSE_MSW
=1
2830 cat >>confdefs.h
<<\_ACEOF
2835 DEFAULT_DEFAULT_wxUSE_MGL
=1
2838 *-pc-os2_emx | *-pc-os2-emx )
2839 cat >>confdefs.h
<<\_ACEOF
2844 cat >>confdefs.h
<<\_ACEOF
2849 DEFAULT_DEFAULT_wxUSE_PM
=1
2851 LDFLAGS
="$LDFLAGS -Zcrtdll"
2852 ac_executable_extensions
=".exe"
2853 export ac_executable_extensions
2857 for ac_dir
in $PATH; do
2859 if test -z "$ac_TEMP_PATH"; then
2860 ac_TEMP_PATH
="$ac_dir"
2862 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2865 export PATH
="$ac_TEMP_PATH"
2874 cat >>confdefs.h
<<\_ACEOF
2878 cat >>confdefs.h
<<\_ACEOF
2879 #define __DARWIN__ 1
2882 cat >>confdefs.h
<<\_ACEOF
2883 #define TARGET_CARBON 1
2886 DEFAULT_DEFAULT_wxUSE_MAC
=1
2889 powerpc
-apple-macos* )
2891 ac_cv_c_bigendian
=yes
2893 DEFAULT_DEFAULT_wxUSE_MAC
=1
2899 cat >>confdefs.h
<<\_ACEOF
2906 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2907 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2908 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2909 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2911 DEFAULT_DEFAULT_wxUSE_X11
=1
2912 DEFAULT_wxUSE_SHARED
=no
2917 DEFAULT_wxUSE_ALL_FEATURES
=yes
2919 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2920 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2922 DEFAULT_wxUSE_DMALLOC
=no
2923 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2924 DEFAULT_wxUSE_LIBHILDON
=no
2925 DEFAULT_wxUSE_LIBMSPACK
=no
2926 DEFAULT_wxUSE_LIBSDL
=no
2927 DEFAULT_wxUSE_OPENGL
=no
2929 DEFAULT_wxUSE_ACCESSIBILITY
=no
2930 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2931 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2932 DEFAULT_wxUSE_IPV6
=no
2933 DEFAULT_wxUSE_MEDIACTRL
=no
2934 DEFAULT_wxUSE_TAB_DIALOG
=no
2935 DEFAULT_wxUSE_GSTREAMER8
=no
2937 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2938 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2940 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2942 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2944 DEFAULT_wxUSE_GTK2
=yes
2946 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2952 enablestring
=disable
2954 if test -z "$defaultval"; then
2955 if test x
"$enablestring" = xdisable
; then
2962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2963 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2964 # Check whether --enable-gui was given.
2965 if test "${enable_gui+set}" = set; then
2966 enableval
=$enable_gui;
2967 if test "$enableval" = yes; then
2968 wx_cv_use_gui
='wxUSE_GUI=yes'
2970 wx_cv_use_gui
='wxUSE_GUI=no'
2975 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2980 eval "$wx_cv_use_gui"
2982 if test x"$enablestring" = xdisable; then
2983 if test $wxUSE_GUI = yes; then
2992 { echo "$as_me:$LINENO: result: $result" >&5
2993 echo "${ECHO_T}$result" >&6; }
2998 if test -z "$defaultval"; then
2999 if test x"$enablestring" = xdisable; then
3006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3007 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3008 # Check whether --enable-monolithic was given.
3009 if test "${enable_monolithic+set}" = set; then
3010 enableval=$enable_monolithic;
3011 if test "$enableval" = yes; then
3012 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3014 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3019 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3024 eval "$wx_cv_use_monolithic"
3026 if test x"$enablestring" = xdisable; then
3027 if test $wxUSE_MONOLITHIC = yes; then
3033 result=$wxUSE_MONOLITHIC
3036 { echo "$as_me:$LINENO: result
: $result" >&5
3037 echo "${ECHO_T}$result" >&6; }
3042 if test -z "$defaultval"; then
3043 if test x"$enablestring" = xdisable; then
3050 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3051 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3052 # Check whether --enable-plugins was given.
3053 if test "${enable_plugins+set}" = set; then
3054 enableval=$enable_plugins;
3055 if test "$enableval" = yes; then
3056 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3058 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3063 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3068 eval "$wx_cv_use_plugins"
3070 if test x
"$enablestring" = xdisable
; then
3071 if test $wxUSE_PLUGINS = yes; then
3077 result
=$wxUSE_PLUGINS
3080 { echo "$as_me:$LINENO: result: $result" >&5
3081 echo "${ECHO_T}$result" >&6; }
3085 defaultval
=$wxUSE_ALL_FEATURES
3086 if test -z "$defaultval"; then
3087 if test x
"$withstring" = xwithout
; then
3093 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3094 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3096 # Check whether --with-subdirs was given.
3097 if test "${with_subdirs+set}" = set; then
3098 withval
=$with_subdirs;
3099 if test "$withval" = yes; then
3100 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3102 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3107 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3112 eval "$wx_cv_use_subdirs"
3114 if test x"$withstring" = xwithout; then
3115 if test $wxWITH_SUBDIRS = yes; then
3121 result=$wxWITH_SUBDIRS
3124 { echo "$as_me:$LINENO: result: $result" >&5
3125 echo "${ECHO_T}$result" >&6; }
3128 # Check whether --with-flavour was given.
3129 if test "${with_flavour+set}" = set; then
3130 withval=$with_flavour; WX_FLAVOUR="$withval"
3136 if test -z "$defaultval"; then
3137 if test x"$enablestring" = xdisable; then
3144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3145 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3146 # Check whether --enable-official_build was given.
3147 if test "${enable_official_build+set}" = set; then
3148 enableval=$enable_official_build;
3149 if test "$enableval" = yes; then
3150 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3152 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3157 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3162 eval "$wx_cv_use_official_build"
3164 if test x"$enablestring" = xdisable; then
3165 if test $wxUSE_OFFICIAL_BUILD = yes; then
3171 result=$wxUSE_OFFICIAL_BUILD
3174 { echo "$as_me:$LINENO: result
: $result" >&5
3175 echo "${ECHO_T}$result" >&6; }
3177 # Check whether --enable-vendor was given.
3178 if test "${enable_vendor+set}" = set; then
3179 enableval=$enable_vendor; VENDOR="$enableval"
3182 if test "x
$VENDOR" = "x
"; then
3187 enablestring=disable
3189 if test -z "$defaultval"; then
3190 if test x"$enablestring" = xdisable; then
3197 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3198 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3199 # Check whether --enable-all-features was given.
3200 if test "${enable_all_features+set}" = set; then
3201 enableval=$enable_all_features;
3202 if test "$enableval" = yes; then
3203 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3205 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3210 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3215 eval "$wx_cv_use_all_features"
3217 if test x
"$enablestring" = xdisable
; then
3218 if test $wxUSE_ALL_FEATURES = yes; then
3224 result
=$wxUSE_ALL_FEATURES
3227 { echo "$as_me:$LINENO: result: $result" >&5
3228 echo "${ECHO_T}$result" >&6; }
3232 if test "$wxUSE_GUI" = "yes"; then
3237 if test -z "$defaultval"; then
3238 if test x
"$enablestring" = xdisable
; then
3245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3246 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3247 # Check whether --enable-universal was given.
3248 if test "${enable_universal+set}" = set; then
3249 enableval
=$enable_universal;
3250 if test "$enableval" = yes; then
3251 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3253 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3258 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3263 eval "$wx_cv_use_universal"
3265 if test x"$enablestring" = xdisable; then
3266 if test $wxUSE_UNIVERSAL = yes; then
3272 result=$wxUSE_UNIVERSAL
3275 { echo "$as_me:$LINENO: result: $result" >&5
3276 echo "${ECHO_T}$result" >&6; }
3278 if test "$wxUSE_UNIVERSAL" = "yes"; then
3280 # Check whether --with-themes was given.
3281 if test "${with_themes+set}" = set; then
3282 withval=$with_themes; wxUNIV_THEMES="$withval"
3288 # Check whether --with-gtk was given.
3289 if test "${with_gtk+set}" = set; then
3290 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3294 # Check whether --with-motif was given.
3295 if test "${with_motif+set}" = set; then
3296 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3300 # Check whether --with-mac was given.
3301 if test "${with_mac+set}" = set; then
3302 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3306 # Check whether --with-cocoa was given.
3307 if test "${with_cocoa+set}" = set; then
3308 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3312 # Check whether --with-wine was given.
3313 if test "${with_wine+set}" = set; then
3314 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3318 # Check whether --with-msw was given.
3319 if test "${with_msw+set}" = set; then
3320 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3324 # Check whether --with-pm was given.
3325 if test "${with_pm+set}" = set; then
3326 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3330 # Check whether --with-mgl was given.
3331 if test "${with_mgl+set}" = set; then
3332 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3336 # Check whether --with-directfb was given.
3337 if test "${with_directfb+set}" = set; then
3338 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3342 # Check whether --with-microwin was given.
3343 if test "${with_microwin+set}" = set; then
3344 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3348 # Check whether --with-x11 was given.
3349 if test "${with_x11+set}" = set; then
3350 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3356 if test -z "$defaultval"; then
3357 if test x"$enablestring" = xdisable; then
3364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3365 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3366 # Check whether --enable-nanox was given.
3367 if test "${enable_nanox+set}" = set; then
3368 enableval=$enable_nanox;
3369 if test "$enableval" = yes; then
3370 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3372 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3377 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3382 eval "$wx_cv_use_nanox"
3384 if test x"$enablestring" = xdisable; then
3385 if test $wxUSE_NANOX = yes; then
3394 { echo "$as_me:$LINENO: result
: $result" >&5
3395 echo "${ECHO_T}$result" >&6; }
3398 # Check whether --enable-gtk2 was given.
3399 if test "${enable_gtk2+set}" = set; then
3400 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3406 if test -z "$defaultval"; then
3407 if test x"$enablestring" = xdisable; then
3414 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3415 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3416 # Check whether --enable-gpe was given.
3417 if test "${enable_gpe+set}" = set; then
3418 enableval=$enable_gpe;
3419 if test "$enableval" = yes; then
3420 wx_cv_use_gpe='wxUSE_GPE=yes'
3422 wx_cv_use_gpe='wxUSE_GPE=no'
3427 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3432 eval "$wx_cv_use_gpe"
3434 if test x
"$enablestring" = xdisable
; then
3435 if test $wxUSE_GPE = yes; then
3444 { echo "$as_me:$LINENO: result: $result" >&5
3445 echo "${ECHO_T}$result" >&6; }
3450 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3451 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3453 # Check whether --with-libpng was given.
3454 if test "${with_libpng+set}" = set; then
3455 withval
=$with_libpng;
3456 if test "$withval" = yes; then
3457 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3458 elif test "$withval" = no
; then
3459 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3460 elif test "$withval" = sys
; then
3461 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3462 elif test "$withval" = builtin; then
3463 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3465 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3466 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3467 { (exit 1); exit 1; }; }
3472 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3477 eval "$wx_cv_use_libpng"
3479 if test "$wxUSE_LIBPNG" = yes; then
3480 { echo "$as_me:$LINENO: result: yes" >&5
3481 echo "${ECHO_T}yes" >&6; }
3482 elif test "$wxUSE_LIBPNG" = no; then
3483 { echo "$as_me:$LINENO: result: no" >&5
3484 echo "${ECHO_T}no" >&6; }
3485 elif test "$wxUSE_LIBPNG" = sys; then
3486 { echo "$as_me:$LINENO: result: system version" >&5
3487 echo "${ECHO_T}system version" >&6; }
3488 elif test "$wxUSE_LIBPNG" = builtin; then
3489 { echo "$as_me:$LINENO: result: builtin version" >&5
3490 echo "${ECHO_T}builtin version" >&6; }
3492 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3493 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3494 { (exit 1); exit 1; }; }
3498 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3499 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3501 # Check whether --with-libjpeg was given.
3502 if test "${with_libjpeg+set}" = set; then
3503 withval=$with_libjpeg;
3504 if test "$withval" = yes; then
3505 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3506 elif test "$withval" = no; then
3507 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3508 elif test "$withval" = sys; then
3509 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3510 elif test "$withval" = builtin; then
3511 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3513 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3514 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3515 { (exit 1); exit 1; }; }
3520 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3525 eval "$wx_cv_use_libjpeg"
3527 if test "$wxUSE_LIBJPEG" = yes; then
3528 { echo "$as_me:$LINENO: result
: yes" >&5
3529 echo "${ECHO_T}yes" >&6; }
3530 elif test "$wxUSE_LIBJPEG" = no; then
3531 { echo "$as_me:$LINENO: result
: no
" >&5
3532 echo "${ECHO_T}no
" >&6; }
3533 elif test "$wxUSE_LIBJPEG" = sys; then
3534 { echo "$as_me:$LINENO: result
: system version
" >&5
3535 echo "${ECHO_T}system version
" >&6; }
3536 elif test "$wxUSE_LIBJPEG" = builtin; then
3537 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3538 echo "${ECHO_T}builtin version
" >&6; }
3540 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3541 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3542 { (exit 1); exit 1; }; }
3546 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3547 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3549 # Check whether --with-libtiff was given.
3550 if test "${with_libtiff+set}" = set; then
3551 withval=$with_libtiff;
3552 if test "$withval" = yes; then
3553 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3554 elif test "$withval" = no; then
3555 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3556 elif test "$withval" = sys; then
3557 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3558 elif test "$withval" = builtin; then
3559 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3561 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3562 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3563 { (exit 1); exit 1; }; }
3568 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3573 eval "$wx_cv_use_libtiff"
3575 if test "$wxUSE_LIBTIFF" = yes; then
3576 { echo "$as_me:$LINENO: result: yes" >&5
3577 echo "${ECHO_T}yes" >&6; }
3578 elif test "$wxUSE_LIBTIFF" = no
; then
3579 { echo "$as_me:$LINENO: result: no" >&5
3580 echo "${ECHO_T}no" >&6; }
3581 elif test "$wxUSE_LIBTIFF" = sys
; then
3582 { echo "$as_me:$LINENO: result: system version" >&5
3583 echo "${ECHO_T}system version" >&6; }
3584 elif test "$wxUSE_LIBTIFF" = builtin; then
3585 { echo "$as_me:$LINENO: result: builtin version" >&5
3586 echo "${ECHO_T}builtin version" >&6; }
3588 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3589 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3590 { (exit 1); exit 1; }; }
3594 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3595 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3597 # Check whether --with-libxpm was given.
3598 if test "${with_libxpm+set}" = set; then
3599 withval
=$with_libxpm;
3600 if test "$withval" = yes; then
3601 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3602 elif test "$withval" = no
; then
3603 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3604 elif test "$withval" = sys
; then
3605 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3606 elif test "$withval" = builtin; then
3607 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3609 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3610 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3611 { (exit 1); exit 1; }; }
3616 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3621 eval "$wx_cv_use_libxpm"
3623 if test "$wxUSE_LIBXPM" = yes; then
3624 { echo "$as_me:$LINENO: result: yes" >&5
3625 echo "${ECHO_T}yes" >&6; }
3626 elif test "$wxUSE_LIBXPM" = no; then
3627 { echo "$as_me:$LINENO: result: no" >&5
3628 echo "${ECHO_T}no" >&6; }
3629 elif test "$wxUSE_LIBXPM" = sys; then
3630 { echo "$as_me:$LINENO: result: system version" >&5
3631 echo "${ECHO_T}system version" >&6; }
3632 elif test "$wxUSE_LIBXPM" = builtin; then
3633 { echo "$as_me:$LINENO: result: builtin version" >&5
3634 echo "${ECHO_T}builtin version" >&6; }
3636 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3637 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3638 { (exit 1); exit 1; }; }
3643 defaultval=$wxUSE_ALL_FEATURES
3644 if test -z "$defaultval"; then
3645 if test x"$withstring" = xwithout; then
3651 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3652 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3654 # Check whether --with-libmspack was given.
3655 if test "${with_libmspack+set}" = set; then
3656 withval=$with_libmspack;
3657 if test "$withval" = yes; then
3658 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3660 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3665 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3670 eval "$wx_cv_use_libmspack"
3672 if test x"$withstring" = xwithout; then
3673 if test $wxUSE_LIBMSPACK = yes; then
3679 result=$wxUSE_LIBMSPACK
3682 { echo "$as_me:$LINENO: result
: $result" >&5
3683 echo "${ECHO_T}$result" >&6; }
3687 defaultval=$wxUSE_ALL_FEATURES
3688 if test -z "$defaultval"; then
3689 if test x"$withstring" = xwithout; then
3695 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gtkprint" >&5
3696 echo $ECHO_N "checking
for --${withstring:-with}-gtkprint...
$ECHO_C" >&6; }
3698 # Check whether --with-gtkprint was given.
3699 if test "${with_gtkprint+set}" = set; then
3700 withval=$with_gtkprint;
3701 if test "$withval" = yes; then
3702 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3704 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3709 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3714 eval "$wx_cv_use_gtkprint"
3716 if test x
"$withstring" = xwithout
; then
3717 if test $wxUSE_GTKPRINT = yes; then
3723 result
=$wxUSE_GTKPRINT
3726 { echo "$as_me:$LINENO: result: $result" >&5
3727 echo "${ECHO_T}$result" >&6; }
3731 defaultval
=$wxUSE_ALL_FEATURES
3732 if test -z "$defaultval"; then
3733 if test x
"$withstring" = xwithout
; then
3739 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3740 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3742 # Check whether --with-gnomeprint was given.
3743 if test "${with_gnomeprint+set}" = set; then
3744 withval
=$with_gnomeprint;
3745 if test "$withval" = yes; then
3746 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3748 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3753 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3758 eval "$wx_cv_use_gnomeprint"
3760 if test x"$withstring" = xwithout; then
3761 if test $wxUSE_LIBGNOMEPRINT = yes; then
3767 result=$wxUSE_LIBGNOMEPRINT
3770 { echo "$as_me:$LINENO: result: $result" >&5
3771 echo "${ECHO_T}$result" >&6; }
3775 defaultval=$wxUSE_ALL_FEATURES
3776 if test -z "$defaultval"; then
3777 if test x"$withstring" = xwithout; then
3783 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3784 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3786 # Check whether --with-gnomevfs was given.
3787 if test "${with_gnomevfs+set}" = set; then
3788 withval=$with_gnomevfs;
3789 if test "$withval" = yes; then
3790 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=yes'
3792 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=no
'
3797 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3802 eval "$wx_cv_use_gnomevfs"
3804 if test x"$withstring" = xwithout; then
3805 if test $wxUSE_LIBGNOMEVFS = yes; then
3811 result=$wxUSE_LIBGNOMEVFS
3814 { echo "$as_me:$LINENO: result
: $result" >&5
3815 echo "${ECHO_T}$result" >&6; }
3819 defaultval=$wxUSE_ALL_FEATURES
3820 if test -z "$defaultval"; then
3821 if test x"$withstring" = xwithout; then
3827 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-hildon" >&5
3828 echo $ECHO_N "checking
for --${withstring:-with}-hildon...
$ECHO_C" >&6; }
3830 # Check whether --with-hildon was given.
3831 if test "${with_hildon+set}" = set; then
3832 withval=$with_hildon;
3833 if test "$withval" = yes; then
3834 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3836 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3841 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3846 eval "$wx_cv_use_hildon"
3848 if test x
"$withstring" = xwithout
; then
3849 if test $wxUSE_LIBHILDON = yes; then
3855 result
=$wxUSE_LIBHILDON
3858 { echo "$as_me:$LINENO: result: $result" >&5
3859 echo "${ECHO_T}$result" >&6; }
3863 defaultval
=$wxUSE_ALL_FEATURES
3864 if test -z "$defaultval"; then
3865 if test x
"$withstring" = xwithout
; then
3871 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3872 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
3874 # Check whether --with-opengl was given.
3875 if test "${with_opengl+set}" = set; then
3876 withval
=$with_opengl;
3877 if test "$withval" = yes; then
3878 wx_cv_use_opengl
='wxUSE_OPENGL=yes'
3880 wx_cv_use_opengl
='wxUSE_OPENGL=no'
3885 wx_cv_use_opengl
='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
3890 eval "$wx_cv_use_opengl"
3892 if test x"$withstring" = xwithout; then
3893 if test $wxUSE_OPENGL = yes; then
3899 result=$wxUSE_OPENGL
3902 { echo "$as_me:$LINENO: result: $result" >&5
3903 echo "${ECHO_T}$result" >&6; }
3910 defaultval=$wxUSE_ALL_FEATURES
3911 if test -z "$defaultval"; then
3912 if test x"$withstring" = xwithout; then
3918 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3919 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
3921 # Check whether --with-dmalloc was given.
3922 if test "${with_dmalloc+set}" = set; then
3923 withval=$with_dmalloc;
3924 if test "$withval" = yes; then
3925 wx_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
3927 wx_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
3932 wx_cv_use_dmalloc='wxUSE_DMALLOC
=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
3937 eval "$wx_cv_use_dmalloc"
3939 if test x"$withstring" = xwithout; then
3940 if test $wxUSE_DMALLOC = yes; then
3946 result=$wxUSE_DMALLOC
3949 { echo "$as_me:$LINENO: result
: $result" >&5
3950 echo "${ECHO_T}$result" >&6; }
3954 defaultval=$wxUSE_ALL_FEATURES
3955 if test -z "$defaultval"; then
3956 if test x"$withstring" = xwithout; then
3962 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-sdl" >&5
3963 echo $ECHO_N "checking
for --${withstring:-with}-sdl...
$ECHO_C" >&6; }
3965 # Check whether --with-sdl was given.
3966 if test "${with_sdl+set}" = set; then
3968 if test "$withval" = yes; then
3969 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
3971 wx_cv_use_sdl='wxUSE_LIBSDL=no'
3976 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
3981 eval "$wx_cv_use_sdl"
3983 if test x
"$withstring" = xwithout
; then
3984 if test $wxUSE_LIBSDL = yes; then
3990 result
=$wxUSE_LIBSDL
3993 { echo "$as_me:$LINENO: result: $result" >&5
3994 echo "${ECHO_T}$result" >&6; }
3997 { echo "$as_me:$LINENO: checking for --with-regex" >&5
3998 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4000 # Check whether --with-regex was given.
4001 if test "${with_regex+set}" = set; then
4002 withval
=$with_regex;
4003 if test "$withval" = yes; then
4004 wx_cv_use_regex
='wxUSE_REGEX=yes'
4005 elif test "$withval" = no
; then
4006 wx_cv_use_regex
='wxUSE_REGEX=no'
4007 elif test "$withval" = sys
; then
4008 wx_cv_use_regex
='wxUSE_REGEX=sys'
4009 elif test "$withval" = builtin; then
4010 wx_cv_use_regex
='wxUSE_REGEX=builtin'
4012 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4013 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4014 { (exit 1); exit 1; }; }
4019 wx_cv_use_regex
='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4024 eval "$wx_cv_use_regex"
4026 if test "$wxUSE_REGEX" = yes; then
4027 { echo "$as_me:$LINENO: result: yes" >&5
4028 echo "${ECHO_T}yes" >&6; }
4029 elif test "$wxUSE_REGEX" = no; then
4030 { echo "$as_me:$LINENO: result: no" >&5
4031 echo "${ECHO_T}no" >&6; }
4032 elif test "$wxUSE_REGEX" = sys; then
4033 { echo "$as_me:$LINENO: result: system version" >&5
4034 echo "${ECHO_T}system version" >&6; }
4035 elif test "$wxUSE_REGEX" = builtin; then
4036 { echo "$as_me:$LINENO: result: builtin version" >&5
4037 echo "${ECHO_T}builtin version" >&6; }
4039 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4040 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4041 { (exit 1); exit 1; }; }
4045 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4046 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4048 # Check whether --with-zlib was given.
4049 if test "${with_zlib+set}" = set; then
4051 if test "$withval" = yes; then
4052 wx_cv_use_zlib='wxUSE_ZLIB
=yes'
4053 elif test "$withval" = no; then
4054 wx_cv_use_zlib='wxUSE_ZLIB
=no
'
4055 elif test "$withval" = sys; then
4056 wx_cv_use_zlib='wxUSE_ZLIB
=sys
'
4057 elif test "$withval" = builtin; then
4058 wx_cv_use_zlib='wxUSE_ZLIB
=builtin'
4060 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4061 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4062 { (exit 1); exit 1; }; }
4067 wx_cv_use_zlib='wxUSE_ZLIB
=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4072 eval "$wx_cv_use_zlib"
4074 if test "$wxUSE_ZLIB" = yes; then
4075 { echo "$as_me:$LINENO: result
: yes" >&5
4076 echo "${ECHO_T}yes" >&6; }
4077 elif test "$wxUSE_ZLIB" = no; then
4078 { echo "$as_me:$LINENO: result
: no
" >&5
4079 echo "${ECHO_T}no
" >&6; }
4080 elif test "$wxUSE_ZLIB" = sys; then
4081 { echo "$as_me:$LINENO: result
: system version
" >&5
4082 echo "${ECHO_T}system version
" >&6; }
4083 elif test "$wxUSE_ZLIB" = builtin; then
4084 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4085 echo "${ECHO_T}builtin version
" >&6; }
4087 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4088 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4089 { (exit 1); exit 1; }; }
4093 { echo "$as_me:$LINENO: checking
for --with-expat" >&5
4094 echo $ECHO_N "checking
for --with-expat...
$ECHO_C" >&6; }
4096 # Check whether --with-expat was given.
4097 if test "${with_expat+set}" = set; then
4098 withval=$with_expat;
4099 if test "$withval" = yes; then
4100 wx_cv_use_expat='wxUSE_EXPAT=yes'
4101 elif test "$withval" = no; then
4102 wx_cv_use_expat='wxUSE_EXPAT=no'
4103 elif test "$withval" = sys; then
4104 wx_cv_use_expat='wxUSE_EXPAT=sys'
4105 elif test "$withval" = builtin; then
4106 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4108 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-expat: should be
yes, no
, sys
, or
builtin" >&5
4109 echo "$as_me: error
: Invalid value
for --with-expat: should be
yes, no
, sys
, or
builtin" >&2;}
4110 { (exit 1); exit 1; }; }
4115 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4120 eval "$wx_cv_use_expat"
4122 if test "$wxUSE_EXPAT" = yes; then
4123 { echo "$as_me:$LINENO: result: yes" >&5
4124 echo "${ECHO_T}yes" >&6; }
4125 elif test "$wxUSE_EXPAT" = no
; then
4126 { echo "$as_me:$LINENO: result: no" >&5
4127 echo "${ECHO_T}no" >&6; }
4128 elif test "$wxUSE_EXPAT" = sys
; then
4129 { echo "$as_me:$LINENO: result: system version" >&5
4130 echo "${ECHO_T}system version" >&6; }
4131 elif test "$wxUSE_EXPAT" = builtin; then
4132 { echo "$as_me:$LINENO: result: builtin version" >&5
4133 echo "${ECHO_T}builtin version" >&6; }
4135 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4136 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4137 { (exit 1); exit 1; }; }
4141 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4142 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4144 # Check whether --with-macosx-sdk was given.
4145 if test "${with_macosx_sdk+set}" = set; then
4146 withval
=$with_macosx_sdk;
4147 wxUSE_MACOSX_SDK
=$withval
4148 wx_cv_use_macosx_sdk
="wxUSE_MACOSX_SDK=$withval"
4152 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4153 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4155 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4156 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4158 # Check whether --with-macosx-version-min was given.
4159 if test "${with_macosx_version_min+set}" = set; then
4160 withval
=$with_macosx_version_min;
4161 wxUSE_MACOSX_VERSION_MIN
=$withval
4162 wx_cv_use_macosx_version_min
="wxUSE_MACOSX_VERSION_MIN=$withval"
4166 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4167 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4171 enablestring
=disable
4173 if test -z "$defaultval"; then
4174 if test x
"$enablestring" = xdisable
; then
4181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4182 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4183 # Check whether --enable-shared was given.
4184 if test "${enable_shared+set}" = set; then
4185 enableval
=$enable_shared;
4186 if test "$enableval" = yes; then
4187 wx_cv_use_shared
='wxUSE_SHARED=yes'
4189 wx_cv_use_shared
='wxUSE_SHARED=no'
4194 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4199 eval "$wx_cv_use_shared"
4201 if test x"$enablestring" = xdisable; then
4202 if test $wxUSE_SHARED = yes; then
4208 result=$wxUSE_SHARED
4211 { echo "$as_me:$LINENO: result: $result" >&5
4212 echo "${ECHO_T}$result" >&6; }
4215 enablestring=disable
4217 if test -z "$defaultval"; then
4218 if test x"$enablestring" = xdisable; then
4225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4226 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4227 # Check whether --enable-optimise was given.
4228 if test "${enable_optimise+set}" = set; then
4229 enableval=$enable_optimise;
4230 if test "$enableval" = yes; then
4231 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4233 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4238 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4243 eval "$wx_cv_use_optimise"
4245 if test x"$enablestring" = xdisable; then
4246 if test $wxUSE_OPTIMISE = yes; then
4252 result=$wxUSE_OPTIMISE
4255 { echo "$as_me:$LINENO: result
: $result" >&5
4256 echo "${ECHO_T}$result" >&6; }
4261 if test -z "$defaultval"; then
4262 if test x"$enablestring" = xdisable; then
4269 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4270 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4271 # Check whether --enable-debug was given.
4272 if test "${enable_debug+set}" = set; then
4273 enableval=$enable_debug;
4274 if test "$enableval" = yes; then
4275 wx_cv_use_debug='wxUSE_DEBUG=yes'
4277 wx_cv_use_debug='wxUSE_DEBUG=no'
4282 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4287 eval "$wx_cv_use_debug"
4289 if test x
"$enablestring" = xdisable
; then
4290 if test $wxUSE_DEBUG = yes; then
4299 { echo "$as_me:$LINENO: result: $result" >&5
4300 echo "${ECHO_T}$result" >&6; }
4305 if test -z "$defaultval"; then
4306 if test x
"$enablestring" = xdisable
; then
4313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4314 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4315 # Check whether --enable-stl was given.
4316 if test "${enable_stl+set}" = set; then
4317 enableval
=$enable_stl;
4318 if test "$enableval" = yes; then
4319 wx_cv_use_stl
='wxUSE_STL=yes'
4321 wx_cv_use_stl
='wxUSE_STL=no'
4326 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4331 eval "$wx_cv_use_stl"
4333 if test x"$enablestring" = xdisable; then
4334 if test $wxUSE_STL = yes; then
4343 { echo "$as_me:$LINENO: result: $result" >&5
4344 echo "${ECHO_T}$result" >&6; }
4349 if test -z "$defaultval"; then
4350 if test x"$enablestring" = xdisable; then
4357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4358 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4359 # Check whether --enable-std_iostreams was given.
4360 if test "${enable_std_iostreams+set}" = set; then
4361 enableval=$enable_std_iostreams;
4362 if test "$enableval" = yes; then
4363 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4365 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4370 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4375 eval "$wx_cv_use_std_iostreams"
4377 if test x"$enablestring" = xdisable; then
4378 if test $wxUSE_STD_IOSTREAM = yes; then
4384 result=$wxUSE_STD_IOSTREAM
4387 { echo "$as_me:$LINENO: result
: $result" >&5
4388 echo "${ECHO_T}$result" >&6; }
4393 if test -z "$defaultval"; then
4394 if test x"$enablestring" = xdisable; then
4401 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4402 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4403 # Check whether --enable-std_string was given.
4404 if test "${enable_std_string+set}" = set; then
4405 enableval=$enable_std_string;
4406 if test "$enableval" = yes; then
4407 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4409 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4414 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4419 eval "$wx_cv_use_std_string"
4421 if test x
"$enablestring" = xdisable
; then
4422 if test $wxUSE_STD_STRING = yes; then
4428 result
=$wxUSE_STD_STRING
4431 { echo "$as_me:$LINENO: result: $result" >&5
4432 echo "${ECHO_T}$result" >&6; }
4435 enablestring
=disable
4437 if test -z "$defaultval"; then
4438 if test x
"$enablestring" = xdisable
; then
4445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4446 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4447 # Check whether --enable-unicode was given.
4448 if test "${enable_unicode+set}" = set; then
4449 enableval
=$enable_unicode;
4450 if test "$enableval" = yes; then
4451 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4453 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4458 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4463 eval "$wx_cv_use_unicode"
4465 if test x"$enablestring" = xdisable; then
4466 if test $wxUSE_UNICODE = yes; then
4472 result=$wxUSE_UNICODE
4475 { echo "$as_me:$LINENO: result: $result" >&5
4476 echo "${ECHO_T}$result" >&6; }
4481 if test -z "$defaultval"; then
4482 if test x"$enablestring" = xdisable; then
4489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4490 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4491 # Check whether --enable-mslu was given.
4492 if test "${enable_mslu+set}" = set; then
4493 enableval=$enable_mslu;
4494 if test "$enableval" = yes; then
4495 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4497 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4502 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4507 eval "$wx_cv_use_mslu"
4509 if test x"$enablestring" = xdisable; then
4510 if test $wxUSE_UNICODE_MSLU = yes; then
4516 result=$wxUSE_UNICODE_MSLU
4519 { echo "$as_me:$LINENO: result
: $result" >&5
4520 echo "${ECHO_T}$result" >&6; }
4524 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4525 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
4526 # Check whether --enable-utf8 was given.
4527 if test "${enable_utf8+set}" = set; then
4528 enableval=$enable_utf8;
4529 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4533 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4538 eval "$wx_cv_use_utf8"
4540 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4541 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4546 if test -z "$defaultval"; then
4547 if test x"$enablestring" = xdisable; then
4554 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
4555 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
4556 # Check whether --enable-utf8only was given.
4557 if test "${enable_utf8only+set}" = set; then
4558 enableval=$enable_utf8only;
4559 if test "$enableval" = yes; then
4560 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4562 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4567 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4572 eval "$wx_cv_use_utf8only"
4574 if test x
"$enablestring" = xdisable
; then
4575 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4581 result
=$wxUSE_UNICODE_UTF8_LOCALE
4584 { echo "$as_me:$LINENO: result: $result" >&5
4585 echo "${ECHO_T}$result" >&6; }
4590 if test -z "$defaultval"; then
4591 if test x
"$enablestring" = xdisable
; then
4598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4599 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4600 # Check whether --enable-extended_rtti was given.
4601 if test "${enable_extended_rtti+set}" = set; then
4602 enableval
=$enable_extended_rtti;
4603 if test "$enableval" = yes; then
4604 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
4606 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
4611 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4616 eval "$wx_cv_use_extended_rtti"
4618 if test x"$enablestring" = xdisable; then
4619 if test $wxUSE_EXTENDED_RTTI = yes; then
4625 result=$wxUSE_EXTENDED_RTTI
4628 { echo "$as_me:$LINENO: result: $result" >&5
4629 echo "${ECHO_T}$result" >&6; }
4631 if test "$USE_OS2" = 1; then
4632 DEFAULT_wxUSE_OMF=no
4636 if test -z "$defaultval"; then
4637 if test x"$enablestring" = xdisable; then
4644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4645 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4646 # Check whether --enable-omf was given.
4647 if test "${enable_omf+set}" = set; then
4648 enableval=$enable_omf;
4649 if test "$enableval" = yes; then
4650 wx_cv_use_omf='wxUSE_OMF
=yes'
4652 wx_cv_use_omf='wxUSE_OMF
=no
'
4657 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4662 eval "$wx_cv_use_omf"
4664 if test x"$enablestring" = xdisable; then
4665 if test $wxUSE_OMF = yes; then
4674 { echo "$as_me:$LINENO: result
: $result" >&5
4675 echo "${ECHO_T}$result" >&6; }
4679 if test "$wxUSE_DEBUG" = "yes"; then
4680 DEFAULT_wxUSE_DEBUG_FLAG=yes
4681 DEFAULT_wxUSE_DEBUG_INFO=yes
4683 elif test "$wxUSE_DEBUG" = "no
"; then
4684 DEFAULT_wxUSE_DEBUG_FLAG=no
4685 DEFAULT_wxUSE_DEBUG_INFO=no
4692 if test -z "$defaultval"; then
4693 if test x"$enablestring" = xdisable; then
4700 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
4701 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
4702 # Check whether --enable-debug_flag was given.
4703 if test "${enable_debug_flag+set}" = set; then
4704 enableval=$enable_debug_flag;
4705 if test "$enableval" = yes; then
4706 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4708 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4713 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4718 eval "$wx_cv_use_debug_flag"
4720 if test x
"$enablestring" = xdisable
; then
4721 if test $wxUSE_DEBUG_FLAG = yes; then
4727 result
=$wxUSE_DEBUG_FLAG
4730 { echo "$as_me:$LINENO: result: $result" >&5
4731 echo "${ECHO_T}$result" >&6; }
4736 if test -z "$defaultval"; then
4737 if test x
"$enablestring" = xdisable
; then
4744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4745 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4746 # Check whether --enable-debug_info was given.
4747 if test "${enable_debug_info+set}" = set; then
4748 enableval
=$enable_debug_info;
4749 if test "$enableval" = yes; then
4750 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4752 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4757 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4762 eval "$wx_cv_use_debug_info"
4764 if test x"$enablestring" = xdisable; then
4765 if test $wxUSE_DEBUG_INFO = yes; then
4771 result=$wxUSE_DEBUG_INFO
4774 { echo "$as_me:$LINENO: result: $result" >&5
4775 echo "${ECHO_T}$result" >&6; }
4780 if test -z "$defaultval"; then
4781 if test x"$enablestring" = xdisable; then
4788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4789 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4790 # Check whether --enable-debug_gdb was given.
4791 if test "${enable_debug_gdb+set}" = set; then
4792 enableval=$enable_debug_gdb;
4793 if test "$enableval" = yes; then
4794 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
4796 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
4801 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4806 eval "$wx_cv_use_debug_gdb"
4808 if test x"$enablestring" = xdisable; then
4809 if test $wxUSE_DEBUG_GDB = yes; then
4815 result=$wxUSE_DEBUG_GDB
4818 { echo "$as_me:$LINENO: result
: $result" >&5
4819 echo "${ECHO_T}$result" >&6; }
4824 if test -z "$defaultval"; then
4825 if test x"$enablestring" = xdisable; then
4832 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_cntxt" >&5
4833 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_cntxt...
$ECHO_C" >&6; }
4834 # Check whether --enable-debug_cntxt was given.
4835 if test "${enable_debug_cntxt+set}" = set; then
4836 enableval=$enable_debug_cntxt;
4837 if test "$enableval" = yes; then
4838 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4840 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4845 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4850 eval "$wx_cv_use_debug_cntxt"
4852 if test x
"$enablestring" = xdisable
; then
4853 if test $wxUSE_DEBUG_CONTEXT = yes; then
4859 result
=$wxUSE_DEBUG_CONTEXT
4862 { echo "$as_me:$LINENO: result: $result" >&5
4863 echo "${ECHO_T}$result" >&6; }
4868 if test -z "$defaultval"; then
4869 if test x
"$enablestring" = xdisable
; then
4876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4877 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4878 # Check whether --enable-mem_tracing was given.
4879 if test "${enable_mem_tracing+set}" = set; then
4880 enableval
=$enable_mem_tracing;
4881 if test "$enableval" = yes; then
4882 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4884 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4889 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4894 eval "$wx_cv_use_mem_tracing"
4896 if test x"$enablestring" = xdisable; then
4897 if test $wxUSE_MEM_TRACING = yes; then
4903 result=$wxUSE_MEM_TRACING
4906 { echo "$as_me:$LINENO: result: $result" >&5
4907 echo "${ECHO_T}$result" >&6; }
4912 if test -z "$defaultval"; then
4913 if test x"$enablestring" = xdisable; then
4920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4921 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4922 # Check whether --enable-profile was given.
4923 if test "${enable_profile+set}" = set; then
4924 enableval=$enable_profile;
4925 if test "$enableval" = yes; then
4926 wx_cv_use_profile='wxUSE_PROFILE
=yes'
4928 wx_cv_use_profile='wxUSE_PROFILE
=no
'
4933 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
4938 eval "$wx_cv_use_profile"
4940 if test x"$enablestring" = xdisable; then
4941 if test $wxUSE_PROFILE = yes; then
4947 result=$wxUSE_PROFILE
4950 { echo "$as_me:$LINENO: result
: $result" >&5
4951 echo "${ECHO_T}$result" >&6; }
4956 if test -z "$defaultval"; then
4957 if test x"$enablestring" = xdisable; then
4964 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
4965 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
4966 # Check whether --enable-no_rtti was given.
4967 if test "${enable_no_rtti+set}" = set; then
4968 enableval=$enable_no_rtti;
4969 if test "$enableval" = yes; then
4970 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4972 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4977 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
4982 eval "$wx_cv_use_no_rtti"
4984 if test x
"$enablestring" = xdisable
; then
4985 if test $wxUSE_NO_RTTI = yes; then
4991 result
=$wxUSE_NO_RTTI
4994 { echo "$as_me:$LINENO: result: $result" >&5
4995 echo "${ECHO_T}$result" >&6; }
5000 if test -z "$defaultval"; then
5001 if test x
"$enablestring" = xdisable
; then
5008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5009 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5010 # Check whether --enable-no_exceptions was given.
5011 if test "${enable_no_exceptions+set}" = set; then
5012 enableval
=$enable_no_exceptions;
5013 if test "$enableval" = yes; then
5014 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5016 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5021 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5026 eval "$wx_cv_use_no_exceptions"
5028 if test x"$enablestring" = xdisable; then
5029 if test $wxUSE_NO_EXCEPTIONS = yes; then
5035 result=$wxUSE_NO_EXCEPTIONS
5038 { echo "$as_me:$LINENO: result: $result" >&5
5039 echo "${ECHO_T}$result" >&6; }
5044 if test -z "$defaultval"; then
5045 if test x"$enablestring" = xdisable; then
5052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5053 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5054 # Check whether --enable-permissive was given.
5055 if test "${enable_permissive+set}" = set; then
5056 enableval=$enable_permissive;
5057 if test "$enableval" = yes; then
5058 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5060 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5065 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5070 eval "$wx_cv_use_permissive"
5072 if test x"$enablestring" = xdisable; then
5073 if test $wxUSE_PERMISSIVE = yes; then
5079 result=$wxUSE_PERMISSIVE
5082 { echo "$as_me:$LINENO: result
: $result" >&5
5083 echo "${ECHO_T}$result" >&6; }
5088 if test -z "$defaultval"; then
5089 if test x"$enablestring" = xdisable; then
5096 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5097 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5098 # Check whether --enable-no_deps was given.
5099 if test "${enable_no_deps+set}" = set; then
5100 enableval=$enable_no_deps;
5101 if test "$enableval" = yes; then
5102 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5104 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5109 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5114 eval "$wx_cv_use_no_deps"
5116 if test x
"$enablestring" = xdisable
; then
5117 if test $wxUSE_NO_DEPS = yes; then
5123 result
=$wxUSE_NO_DEPS
5126 { echo "$as_me:$LINENO: result: $result" >&5
5127 echo "${ECHO_T}$result" >&6; }
5130 enablestring
=disable
5132 if test -z "$defaultval"; then
5133 if test x
"$enablestring" = xdisable
; then
5140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5141 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5142 # Check whether --enable-vararg_macros was given.
5143 if test "${enable_vararg_macros+set}" = set; then
5144 enableval
=$enable_vararg_macros;
5145 if test "$enableval" = yes; then
5146 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5148 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5153 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5158 eval "$wx_cv_use_vararg_macros"
5160 if test x"$enablestring" = xdisable; then
5161 if test $wxUSE_VARARG_MACROS = yes; then
5167 result=$wxUSE_VARARG_MACROS
5170 { echo "$as_me:$LINENO: result: $result" >&5
5171 echo "${ECHO_T}$result" >&6; }
5175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5176 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5177 # Check whether --enable-universal_binary was given.
5178 if test "${enable_universal_binary+set}" = set; then
5179 enableval=$enable_universal_binary;
5180 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5184 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5189 eval "$wx_cv_use_universal_binary"
5191 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5192 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5198 if test -z "$defaultval"; then
5199 if test x"$enablestring" = xdisable; then
5206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5207 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5208 # Check whether --enable-compat26 was given.
5209 if test "${enable_compat26+set}" = set; then
5210 enableval=$enable_compat26;
5211 if test "$enableval" = yes; then
5212 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5214 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5219 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5224 eval "$wx_cv_use_compat26"
5226 if test x"$enablestring" = xdisable; then
5227 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5233 result=$WXWIN_COMPATIBILITY_2_6
5236 { echo "$as_me:$LINENO: result
: $result" >&5
5237 echo "${ECHO_T}$result" >&6; }
5240 enablestring=disable
5242 if test -z "$defaultval"; then
5243 if test x"$enablestring" = xdisable; then
5250 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5251 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5252 # Check whether --enable-compat28 was given.
5253 if test "${enable_compat28+set}" = set; then
5254 enableval=$enable_compat28;
5255 if test "$enableval" = yes; then
5256 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5258 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5263 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5268 eval "$wx_cv_use_compat28"
5270 if test x
"$enablestring" = xdisable
; then
5271 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5277 result
=$WXWIN_COMPATIBILITY_2_8
5280 { echo "$as_me:$LINENO: result: $result" >&5
5281 echo "${ECHO_T}$result" >&6; }
5285 enablestring
=disable
5287 if test -z "$defaultval"; then
5288 if test x
"$enablestring" = xdisable
; then
5295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5296 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5297 # Check whether --enable-rpath was given.
5298 if test "${enable_rpath+set}" = set; then
5299 enableval
=$enable_rpath;
5300 if test "$enableval" = yes; then
5301 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5303 wx_cv_use_rpath
='wxUSE_RPATH=no'
5308 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5313 eval "$wx_cv_use_rpath"
5315 if test x"$enablestring" = xdisable; then
5316 if test $wxUSE_RPATH = yes; then
5325 { echo "$as_me:$LINENO: result: $result" >&5
5326 echo "${ECHO_T}$result" >&6; }
5332 if test -z "$defaultval"; then
5333 if test x"$enablestring" = xdisable; then
5340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5341 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5342 # Check whether --enable-objc_uniquifying was given.
5343 if test "${enable_objc_uniquifying+set}" = set; then
5344 enableval=$enable_objc_uniquifying;
5345 if test "$enableval" = yes; then
5346 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
5348 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
5353 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5358 eval "$wx_cv_use_objc_uniquifying"
5360 if test x"$enablestring" = xdisable; then
5361 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5367 result=$wxUSE_OBJC_UNIQUIFYING
5370 { echo "$as_me:$LINENO: result
: $result" >&5
5371 echo "${ECHO_T}$result" >&6; }
5375 enablestring=disable
5377 if test -z "$defaultval"; then
5378 if test x"$enablestring" = xdisable; then
5385 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
5386 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
5387 # Check whether --enable-visibility was given.
5388 if test "${enable_visibility+set}" = set; then
5389 enableval=$enable_visibility;
5390 if test "$enableval" = yes; then
5391 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5393 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5398 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5403 eval "$wx_cv_use_visibility"
5405 if test x
"$enablestring" = xdisable
; then
5406 if test $wxUSE_VISIBILITY = yes; then
5412 result
=$wxUSE_VISIBILITY
5415 { echo "$as_me:$LINENO: result: $result" >&5
5416 echo "${ECHO_T}$result" >&6; }
5422 defaultval
=$wxUSE_ALL_FEATURES
5423 if test -z "$defaultval"; then
5424 if test x
"$enablestring" = xdisable
; then
5431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5432 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5433 # Check whether --enable-intl was given.
5434 if test "${enable_intl+set}" = set; then
5435 enableval
=$enable_intl;
5436 if test "$enableval" = yes; then
5437 wx_cv_use_intl
='wxUSE_INTL=yes'
5439 wx_cv_use_intl
='wxUSE_INTL=no'
5444 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5449 eval "$wx_cv_use_intl"
5451 if test x"$enablestring" = xdisable; then
5452 if test $wxUSE_INTL = yes; then
5461 { echo "$as_me:$LINENO: result: $result" >&5
5462 echo "${ECHO_T}$result" >&6; }
5466 defaultval=$wxUSE_ALL_FEATURES
5467 if test -z "$defaultval"; then
5468 if test x"$enablestring" = xdisable; then
5475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5476 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5477 # Check whether --enable-config was given.
5478 if test "${enable_config+set}" = set; then
5479 enableval=$enable_config;
5480 if test "$enableval" = yes; then
5481 wx_cv_use_config='wxUSE_CONFIG
=yes'
5483 wx_cv_use_config='wxUSE_CONFIG
=no
'
5488 wx_cv_use_config='wxUSE_CONFIG
=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5493 eval "$wx_cv_use_config"
5495 if test x"$enablestring" = xdisable; then
5496 if test $wxUSE_CONFIG = yes; then
5502 result=$wxUSE_CONFIG
5505 { echo "$as_me:$LINENO: result
: $result" >&5
5506 echo "${ECHO_T}$result" >&6; }
5511 defaultval=$wxUSE_ALL_FEATURES
5512 if test -z "$defaultval"; then
5513 if test x"$enablestring" = xdisable; then
5520 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocols" >&5
5521 echo $ECHO_N "checking
for --${enablestring:-enable}-protocols...
$ECHO_C" >&6; }
5522 # Check whether --enable-protocols was given.
5523 if test "${enable_protocols+set}" = set; then
5524 enableval=$enable_protocols;
5525 if test "$enableval" = yes; then
5526 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5528 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5533 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5538 eval "$wx_cv_use_protocols"
5540 if test x
"$enablestring" = xdisable
; then
5541 if test $wxUSE_PROTOCOL = yes; then
5547 result
=$wxUSE_PROTOCOL
5550 { echo "$as_me:$LINENO: result: $result" >&5
5551 echo "${ECHO_T}$result" >&6; }
5555 defaultval
=$wxUSE_ALL_FEATURES
5556 if test -z "$defaultval"; then
5557 if test x
"$enablestring" = xdisable
; then
5564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5565 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5566 # Check whether --enable-ftp was given.
5567 if test "${enable_ftp+set}" = set; then
5568 enableval
=$enable_ftp;
5569 if test "$enableval" = yes; then
5570 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
5572 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
5577 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5582 eval "$wx_cv_use_ftp"
5584 if test x"$enablestring" = xdisable; then
5585 if test $wxUSE_PROTOCOL_FTP = yes; then
5591 result=$wxUSE_PROTOCOL_FTP
5594 { echo "$as_me:$LINENO: result: $result" >&5
5595 echo "${ECHO_T}$result" >&6; }
5599 defaultval=$wxUSE_ALL_FEATURES
5600 if test -z "$defaultval"; then
5601 if test x"$enablestring" = xdisable; then
5608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5609 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5610 # Check whether --enable-http was given.
5611 if test "${enable_http+set}" = set; then
5612 enableval=$enable_http;
5613 if test "$enableval" = yes; then
5614 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
5616 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
5621 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5626 eval "$wx_cv_use_http"
5628 if test x"$enablestring" = xdisable; then
5629 if test $wxUSE_PROTOCOL_HTTP = yes; then
5635 result=$wxUSE_PROTOCOL_HTTP
5638 { echo "$as_me:$LINENO: result
: $result" >&5
5639 echo "${ECHO_T}$result" >&6; }
5643 defaultval=$wxUSE_ALL_FEATURES
5644 if test -z "$defaultval"; then
5645 if test x"$enablestring" = xdisable; then
5652 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fileproto" >&5
5653 echo $ECHO_N "checking
for --${enablestring:-enable}-fileproto...
$ECHO_C" >&6; }
5654 # Check whether --enable-fileproto was given.
5655 if test "${enable_fileproto+set}" = set; then
5656 enableval=$enable_fileproto;
5657 if test "$enableval" = yes; then
5658 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5660 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5665 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5670 eval "$wx_cv_use_fileproto"
5672 if test x
"$enablestring" = xdisable
; then
5673 if test $wxUSE_PROTOCOL_FILE = yes; then
5679 result
=$wxUSE_PROTOCOL_FILE
5682 { echo "$as_me:$LINENO: result: $result" >&5
5683 echo "${ECHO_T}$result" >&6; }
5687 defaultval
=$wxUSE_ALL_FEATURES
5688 if test -z "$defaultval"; then
5689 if test x
"$enablestring" = xdisable
; then
5696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5697 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5698 # Check whether --enable-sockets was given.
5699 if test "${enable_sockets+set}" = set; then
5700 enableval
=$enable_sockets;
5701 if test "$enableval" = yes; then
5702 wx_cv_use_sockets
='wxUSE_SOCKETS=yes'
5704 wx_cv_use_sockets
='wxUSE_SOCKETS=no'
5709 wx_cv_use_sockets
='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5714 eval "$wx_cv_use_sockets"
5716 if test x"$enablestring" = xdisable; then
5717 if test $wxUSE_SOCKETS = yes; then
5723 result=$wxUSE_SOCKETS
5726 { echo "$as_me:$LINENO: result: $result" >&5
5727 echo "${ECHO_T}$result" >&6; }
5731 defaultval=$wxUSE_ALL_FEATURES
5732 if test -z "$defaultval"; then
5733 if test x"$enablestring" = xdisable; then
5740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5741 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5742 # Check whether --enable-ipv6 was given.
5743 if test "${enable_ipv6+set}" = set; then
5744 enableval=$enable_ipv6;
5745 if test "$enableval" = yes; then
5746 wx_cv_use_ipv6='wxUSE_IPV6
=yes'
5748 wx_cv_use_ipv6='wxUSE_IPV6
=no
'
5753 wx_cv_use_ipv6='wxUSE_IPV6
=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5758 eval "$wx_cv_use_ipv6"
5760 if test x"$enablestring" = xdisable; then
5761 if test $wxUSE_IPV6 = yes; then
5770 { echo "$as_me:$LINENO: result
: $result" >&5
5771 echo "${ECHO_T}$result" >&6; }
5775 defaultval=$wxUSE_ALL_FEATURES
5776 if test -z "$defaultval"; then
5777 if test x"$enablestring" = xdisable; then
5784 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ole" >&5
5785 echo $ECHO_N "checking
for --${enablestring:-enable}-ole...
$ECHO_C" >&6; }
5786 # Check whether --enable-ole was given.
5787 if test "${enable_ole+set}" = set; then
5788 enableval=$enable_ole;
5789 if test "$enableval" = yes; then
5790 wx_cv_use_ole='wxUSE_OLE=yes'
5792 wx_cv_use_ole='wxUSE_OLE=no'
5797 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5802 eval "$wx_cv_use_ole"
5804 if test x
"$enablestring" = xdisable
; then
5805 if test $wxUSE_OLE = yes; then
5814 { echo "$as_me:$LINENO: result: $result" >&5
5815 echo "${ECHO_T}$result" >&6; }
5819 defaultval
=$wxUSE_ALL_FEATURES
5820 if test -z "$defaultval"; then
5821 if test x
"$enablestring" = xdisable
; then
5828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5829 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5830 # Check whether --enable-dataobj was given.
5831 if test "${enable_dataobj+set}" = set; then
5832 enableval
=$enable_dataobj;
5833 if test "$enableval" = yes; then
5834 wx_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
5836 wx_cv_use_dataobj
='wxUSE_DATAOBJ=no'
5841 wx_cv_use_dataobj
='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5846 eval "$wx_cv_use_dataobj"
5848 if test x"$enablestring" = xdisable; then
5849 if test $wxUSE_DATAOBJ = yes; then
5855 result=$wxUSE_DATAOBJ
5858 { echo "$as_me:$LINENO: result: $result" >&5
5859 echo "${ECHO_T}$result" >&6; }
5864 defaultval=$wxUSE_ALL_FEATURES
5865 if test -z "$defaultval"; then
5866 if test x"$enablestring" = xdisable; then
5873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5874 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5875 # Check whether --enable-ipc was given.
5876 if test "${enable_ipc+set}" = set; then
5877 enableval=$enable_ipc;
5878 if test "$enableval" = yes; then
5879 wx_cv_use_ipc='wxUSE_IPC
=yes'
5881 wx_cv_use_ipc='wxUSE_IPC
=no
'
5886 wx_cv_use_ipc='wxUSE_IPC
=${'DEFAULT_wxUSE_IPC":-$defaultval}"
5891 eval "$wx_cv_use_ipc"
5893 if test x"$enablestring" = xdisable; then
5894 if test $wxUSE_IPC = yes; then
5903 { echo "$as_me:$LINENO: result
: $result" >&5
5904 echo "${ECHO_T}$result" >&6; }
5909 defaultval=$wxUSE_ALL_FEATURES
5910 if test -z "$defaultval"; then
5911 if test x"$enablestring" = xdisable; then
5918 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-baseevtloop" >&5
5919 echo $ECHO_N "checking
for --${enablestring:-enable}-baseevtloop...
$ECHO_C" >&6; }
5920 # Check whether --enable-baseevtloop was given.
5921 if test "${enable_baseevtloop+set}" = set; then
5922 enableval=$enable_baseevtloop;
5923 if test "$enableval" = yes; then
5924 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
5926 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
5931 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
5936 eval "$wx_cv_use_baseevtloop"
5938 if test x
"$enablestring" = xdisable
; then
5939 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
5945 result
=$wxUSE_CONSOLE_EVENTLOOP
5948 { echo "$as_me:$LINENO: result: $result" >&5
5949 echo "${ECHO_T}$result" >&6; }
5953 defaultval
=$wxUSE_ALL_FEATURES
5954 if test -z "$defaultval"; then
5955 if test x
"$enablestring" = xdisable
; then
5962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
5963 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
5964 # Check whether --enable-epollloop was given.
5965 if test "${enable_epollloop+set}" = set; then
5966 enableval
=$enable_epollloop;
5967 if test "$enableval" = yes; then
5968 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=yes'
5970 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=no'
5975 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
5980 eval "$wx_cv_use_epollloop"
5982 if test x"$enablestring" = xdisable; then
5983 if test $wxUSE_EPOLL_DISPATCHER = yes; then
5989 result=$wxUSE_EPOLL_DISPATCHER
5992 { echo "$as_me:$LINENO: result: $result" >&5
5993 echo "${ECHO_T}$result" >&6; }
5997 defaultval=$wxUSE_ALL_FEATURES
5998 if test -z "$defaultval"; then
5999 if test x"$enablestring" = xdisable; then
6006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6007 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6008 # Check whether --enable-selectloop was given.
6009 if test "${enable_selectloop+set}" = set; then
6010 enableval=$enable_selectloop;
6011 if test "$enableval" = yes; then
6012 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=yes'
6014 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=no
'
6019 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6024 eval "$wx_cv_use_selectloop"
6026 if test x"$enablestring" = xdisable; then
6027 if test $wxUSE_SELECT_DISPATCHER = yes; then
6033 result=$wxUSE_SELECT_DISPATCHER
6036 { echo "$as_me:$LINENO: result
: $result" >&5
6037 echo "${ECHO_T}$result" >&6; }
6042 defaultval=$wxUSE_ALL_FEATURES
6043 if test -z "$defaultval"; then
6044 if test x"$enablestring" = xdisable; then
6051 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-apple_ieee" >&5
6052 echo $ECHO_N "checking
for --${enablestring:-enable}-apple_ieee...
$ECHO_C" >&6; }
6053 # Check whether --enable-apple_ieee was given.
6054 if test "${enable_apple_ieee+set}" = set; then
6055 enableval=$enable_apple_ieee;
6056 if test "$enableval" = yes; then
6057 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6059 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6064 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6069 eval "$wx_cv_use_apple_ieee"
6071 if test x
"$enablestring" = xdisable
; then
6072 if test $wxUSE_APPLE_IEEE = yes; then
6078 result
=$wxUSE_APPLE_IEEE
6081 { echo "$as_me:$LINENO: result: $result" >&5
6082 echo "${ECHO_T}$result" >&6; }
6086 defaultval
=$wxUSE_ALL_FEATURES
6087 if test -z "$defaultval"; then
6088 if test x
"$enablestring" = xdisable
; then
6095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6096 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6097 # Check whether --enable-arcstream was given.
6098 if test "${enable_arcstream+set}" = set; then
6099 enableval
=$enable_arcstream;
6100 if test "$enableval" = yes; then
6101 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
6103 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
6108 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6113 eval "$wx_cv_use_arcstream"
6115 if test x"$enablestring" = xdisable; then
6116 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6122 result=$wxUSE_ARCHIVE_STREAMS
6125 { echo "$as_me:$LINENO: result: $result" >&5
6126 echo "${ECHO_T}$result" >&6; }
6130 defaultval=$wxUSE_ALL_FEATURES
6131 if test -z "$defaultval"; then
6132 if test x"$enablestring" = xdisable; then
6139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6140 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6141 # Check whether --enable-base64 was given.
6142 if test "${enable_base64+set}" = set; then
6143 enableval=$enable_base64;
6144 if test "$enableval" = yes; then
6145 wx_cv_use_base64='wxUSE_BASE64
=yes'
6147 wx_cv_use_base64='wxUSE_BASE64
=no
'
6152 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6157 eval "$wx_cv_use_base64"
6159 if test x"$enablestring" = xdisable; then
6160 if test $wxUSE_BASE64 = yes; then
6166 result=$wxUSE_BASE64
6169 { echo "$as_me:$LINENO: result
: $result" >&5
6170 echo "${ECHO_T}$result" >&6; }
6174 defaultval=$wxUSE_ALL_FEATURES
6175 if test -z "$defaultval"; then
6176 if test x"$enablestring" = xdisable; then
6183 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-backtrace" >&5
6184 echo $ECHO_N "checking
for --${enablestring:-enable}-backtrace...
$ECHO_C" >&6; }
6185 # Check whether --enable-backtrace was given.
6186 if test "${enable_backtrace+set}" = set; then
6187 enableval=$enable_backtrace;
6188 if test "$enableval" = yes; then
6189 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6191 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6196 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6201 eval "$wx_cv_use_backtrace"
6203 if test x
"$enablestring" = xdisable
; then
6204 if test $wxUSE_STACKWALKER = yes; then
6210 result
=$wxUSE_STACKWALKER
6213 { echo "$as_me:$LINENO: result: $result" >&5
6214 echo "${ECHO_T}$result" >&6; }
6218 defaultval
=$wxUSE_ALL_FEATURES
6219 if test -z "$defaultval"; then
6220 if test x
"$enablestring" = xdisable
; then
6227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6228 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6229 # Check whether --enable-catch_segvs was given.
6230 if test "${enable_catch_segvs+set}" = set; then
6231 enableval
=$enable_catch_segvs;
6232 if test "$enableval" = yes; then
6233 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
6235 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
6240 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6245 eval "$wx_cv_use_catch_segvs"
6247 if test x"$enablestring" = xdisable; then
6248 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6254 result=$wxUSE_ON_FATAL_EXCEPTION
6257 { echo "$as_me:$LINENO: result: $result" >&5
6258 echo "${ECHO_T}$result" >&6; }
6262 defaultval=$wxUSE_ALL_FEATURES
6263 if test -z "$defaultval"; then
6264 if test x"$enablestring" = xdisable; then
6271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6272 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6273 # Check whether --enable-cmdline was given.
6274 if test "${enable_cmdline+set}" = set; then
6275 enableval=$enable_cmdline;
6276 if test "$enableval" = yes; then
6277 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
6279 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
6284 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6289 eval "$wx_cv_use_cmdline"
6291 if test x"$enablestring" = xdisable; then
6292 if test $wxUSE_CMDLINE_PARSER = yes; then
6298 result=$wxUSE_CMDLINE_PARSER
6301 { echo "$as_me:$LINENO: result
: $result" >&5
6302 echo "${ECHO_T}$result" >&6; }
6306 defaultval=$wxUSE_ALL_FEATURES
6307 if test -z "$defaultval"; then
6308 if test x"$enablestring" = xdisable; then
6315 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datetime" >&5
6316 echo $ECHO_N "checking
for --${enablestring:-enable}-datetime...
$ECHO_C" >&6; }
6317 # Check whether --enable-datetime was given.
6318 if test "${enable_datetime+set}" = set; then
6319 enableval=$enable_datetime;
6320 if test "$enableval" = yes; then
6321 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6323 wx_cv_use_datetime='wxUSE_DATETIME=no'
6328 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6333 eval "$wx_cv_use_datetime"
6335 if test x
"$enablestring" = xdisable
; then
6336 if test $wxUSE_DATETIME = yes; then
6342 result
=$wxUSE_DATETIME
6345 { echo "$as_me:$LINENO: result: $result" >&5
6346 echo "${ECHO_T}$result" >&6; }
6350 defaultval
=$wxUSE_ALL_FEATURES
6351 if test -z "$defaultval"; then
6352 if test x
"$enablestring" = xdisable
; then
6359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6360 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6361 # Check whether --enable-debugreport was given.
6362 if test "${enable_debugreport+set}" = set; then
6363 enableval
=$enable_debugreport;
6364 if test "$enableval" = yes; then
6365 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
6367 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
6372 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6377 eval "$wx_cv_use_debugreport"
6379 if test x"$enablestring" = xdisable; then
6380 if test $wxUSE_DEBUGREPORT = yes; then
6386 result=$wxUSE_DEBUGREPORT
6389 { echo "$as_me:$LINENO: result: $result" >&5
6390 echo "${ECHO_T}$result" >&6; }
6394 defaultval=$wxUSE_ALL_FEATURES
6395 if test -z "$defaultval"; then
6396 if test x"$enablestring" = xdisable; then
6403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6404 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6405 # Check whether --enable-dialupman was given.
6406 if test "${enable_dialupman+set}" = set; then
6407 enableval=$enable_dialupman;
6408 if test "$enableval" = yes; then
6409 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
6411 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
6416 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6421 eval "$wx_cv_use_dialupman"
6423 if test x"$enablestring" = xdisable; then
6424 if test $wxUSE_DIALUP_MANAGER = yes; then
6430 result=$wxUSE_DIALUP_MANAGER
6433 { echo "$as_me:$LINENO: result
: $result" >&5
6434 echo "${ECHO_T}$result" >&6; }
6438 defaultval=$wxUSE_ALL_FEATURES
6439 if test -z "$defaultval"; then
6440 if test x"$enablestring" = xdisable; then
6447 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynlib" >&5
6448 echo $ECHO_N "checking
for --${enablestring:-enable}-dynlib...
$ECHO_C" >&6; }
6449 # Check whether --enable-dynlib was given.
6450 if test "${enable_dynlib+set}" = set; then
6451 enableval=$enable_dynlib;
6452 if test "$enableval" = yes; then
6453 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6455 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6460 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6465 eval "$wx_cv_use_dynlib"
6467 if test x
"$enablestring" = xdisable
; then
6468 if test $wxUSE_DYNLIB_CLASS = yes; then
6474 result
=$wxUSE_DYNLIB_CLASS
6477 { echo "$as_me:$LINENO: result: $result" >&5
6478 echo "${ECHO_T}$result" >&6; }
6482 defaultval
=$wxUSE_ALL_FEATURES
6483 if test -z "$defaultval"; then
6484 if test x
"$enablestring" = xdisable
; then
6491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6492 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6493 # Check whether --enable-dynamicloader was given.
6494 if test "${enable_dynamicloader+set}" = set; then
6495 enableval
=$enable_dynamicloader;
6496 if test "$enableval" = yes; then
6497 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
6499 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
6504 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6509 eval "$wx_cv_use_dynamicloader"
6511 if test x"$enablestring" = xdisable; then
6512 if test $wxUSE_DYNAMIC_LOADER = yes; then
6518 result=$wxUSE_DYNAMIC_LOADER
6521 { echo "$as_me:$LINENO: result: $result" >&5
6522 echo "${ECHO_T}$result" >&6; }
6526 defaultval=$wxUSE_ALL_FEATURES
6527 if test -z "$defaultval"; then
6528 if test x"$enablestring" = xdisable; then
6535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6536 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6537 # Check whether --enable-exceptions was given.
6538 if test "${enable_exceptions+set}" = set; then
6539 enableval=$enable_exceptions;
6540 if test "$enableval" = yes; then
6541 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
6543 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
6548 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6553 eval "$wx_cv_use_exceptions"
6555 if test x"$enablestring" = xdisable; then
6556 if test $wxUSE_EXCEPTIONS = yes; then
6562 result=$wxUSE_EXCEPTIONS
6565 { echo "$as_me:$LINENO: result
: $result" >&5
6566 echo "${ECHO_T}$result" >&6; }
6570 defaultval=$wxUSE_ALL_FEATURES
6571 if test -z "$defaultval"; then
6572 if test x"$enablestring" = xdisable; then
6579 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ffile" >&5
6580 echo $ECHO_N "checking
for --${enablestring:-enable}-ffile...
$ECHO_C" >&6; }
6581 # Check whether --enable-ffile was given.
6582 if test "${enable_ffile+set}" = set; then
6583 enableval=$enable_ffile;
6584 if test "$enableval" = yes; then
6585 wx_cv_use_ffile='wxUSE_FFILE=yes'
6587 wx_cv_use_ffile='wxUSE_FFILE=no'
6592 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6597 eval "$wx_cv_use_ffile"
6599 if test x
"$enablestring" = xdisable
; then
6600 if test $wxUSE_FFILE = yes; then
6609 { echo "$as_me:$LINENO: result: $result" >&5
6610 echo "${ECHO_T}$result" >&6; }
6614 defaultval
=$wxUSE_ALL_FEATURES
6615 if test -z "$defaultval"; then
6616 if test x
"$enablestring" = xdisable
; then
6623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6624 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6625 # Check whether --enable-file was given.
6626 if test "${enable_file+set}" = set; then
6627 enableval
=$enable_file;
6628 if test "$enableval" = yes; then
6629 wx_cv_use_file
='wxUSE_FILE=yes'
6631 wx_cv_use_file
='wxUSE_FILE=no'
6636 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6641 eval "$wx_cv_use_file"
6643 if test x"$enablestring" = xdisable; then
6644 if test $wxUSE_FILE = yes; then
6653 { echo "$as_me:$LINENO: result: $result" >&5
6654 echo "${ECHO_T}$result" >&6; }
6658 defaultval=$wxUSE_ALL_FEATURES
6659 if test -z "$defaultval"; then
6660 if test x"$enablestring" = xdisable; then
6667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6668 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6669 # Check whether --enable-filesystem was given.
6670 if test "${enable_filesystem+set}" = set; then
6671 enableval=$enable_filesystem;
6672 if test "$enableval" = yes; then
6673 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
6675 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
6680 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6685 eval "$wx_cv_use_filesystem"
6687 if test x"$enablestring" = xdisable; then
6688 if test $wxUSE_FILESYSTEM = yes; then
6694 result=$wxUSE_FILESYSTEM
6697 { echo "$as_me:$LINENO: result
: $result" >&5
6698 echo "${ECHO_T}$result" >&6; }
6702 defaultval=$wxUSE_ALL_FEATURES
6703 if test -z "$defaultval"; then
6704 if test x"$enablestring" = xdisable; then
6711 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontenum" >&5
6712 echo $ECHO_N "checking
for --${enablestring:-enable}-fontenum...
$ECHO_C" >&6; }
6713 # Check whether --enable-fontenum was given.
6714 if test "${enable_fontenum+set}" = set; then
6715 enableval=$enable_fontenum;
6716 if test "$enableval" = yes; then
6717 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6719 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6724 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6729 eval "$wx_cv_use_fontenum"
6731 if test x
"$enablestring" = xdisable
; then
6732 if test $wxUSE_FONTENUM = yes; then
6738 result
=$wxUSE_FONTENUM
6741 { echo "$as_me:$LINENO: result: $result" >&5
6742 echo "${ECHO_T}$result" >&6; }
6746 defaultval
=$wxUSE_ALL_FEATURES
6747 if test -z "$defaultval"; then
6748 if test x
"$enablestring" = xdisable
; then
6755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6756 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6757 # Check whether --enable-fontmap was given.
6758 if test "${enable_fontmap+set}" = set; then
6759 enableval
=$enable_fontmap;
6760 if test "$enableval" = yes; then
6761 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
6763 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
6768 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6773 eval "$wx_cv_use_fontmap"
6775 if test x"$enablestring" = xdisable; then
6776 if test $wxUSE_FONTMAP = yes; then
6782 result=$wxUSE_FONTMAP
6785 { echo "$as_me:$LINENO: result: $result" >&5
6786 echo "${ECHO_T}$result" >&6; }
6790 defaultval=$wxUSE_ALL_FEATURES
6791 if test -z "$defaultval"; then
6792 if test x"$enablestring" = xdisable; then
6799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6800 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6801 # Check whether --enable-fs_archive was given.
6802 if test "${enable_fs_archive+set}" = set; then
6803 enableval=$enable_fs_archive;
6804 if test "$enableval" = yes; then
6805 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
6807 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
6812 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6817 eval "$wx_cv_use_fs_archive"
6819 if test x"$enablestring" = xdisable; then
6820 if test $wxUSE_FS_ARCHIVE = yes; then
6826 result=$wxUSE_FS_ARCHIVE
6829 { echo "$as_me:$LINENO: result
: $result" >&5
6830 echo "${ECHO_T}$result" >&6; }
6834 defaultval=$wxUSE_ALL_FEATURES
6835 if test -z "$defaultval"; then
6836 if test x"$enablestring" = xdisable; then
6843 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_inet" >&5
6844 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_inet...
$ECHO_C" >&6; }
6845 # Check whether --enable-fs_inet was given.
6846 if test "${enable_fs_inet+set}" = set; then
6847 enableval=$enable_fs_inet;
6848 if test "$enableval" = yes; then
6849 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
6851 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
6856 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
6861 eval "$wx_cv_use_fs_inet"
6863 if test x
"$enablestring" = xdisable
; then
6864 if test $wxUSE_FS_INET = yes; then
6870 result
=$wxUSE_FS_INET
6873 { echo "$as_me:$LINENO: result: $result" >&5
6874 echo "${ECHO_T}$result" >&6; }
6878 defaultval
=$wxUSE_ALL_FEATURES
6879 if test -z "$defaultval"; then
6880 if test x
"$enablestring" = xdisable
; then
6887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6888 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6889 # Check whether --enable-fs_zip was given.
6890 if test "${enable_fs_zip+set}" = set; then
6891 enableval
=$enable_fs_zip;
6892 if test "$enableval" = yes; then
6893 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
6895 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
6900 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
6905 eval "$wx_cv_use_fs_zip"
6907 if test x"$enablestring" = xdisable; then
6908 if test $wxUSE_FS_ZIP = yes; then
6914 result=$wxUSE_FS_ZIP
6917 { echo "$as_me:$LINENO: result: $result" >&5
6918 echo "${ECHO_T}$result" >&6; }
6922 defaultval=$wxUSE_ALL_FEATURES
6923 if test -z "$defaultval"; then
6924 if test x"$enablestring" = xdisable; then
6931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6932 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6933 # Check whether --enable-geometry was given.
6934 if test "${enable_geometry+set}" = set; then
6935 enableval=$enable_geometry;
6936 if test "$enableval" = yes; then
6937 wx_cv_use_geometry='wxUSE_GEOMETRY
=yes'
6939 wx_cv_use_geometry='wxUSE_GEOMETRY
=no
'
6944 wx_cv_use_geometry='wxUSE_GEOMETRY
=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
6949 eval "$wx_cv_use_geometry"
6951 if test x"$enablestring" = xdisable; then
6952 if test $wxUSE_GEOMETRY = yes; then
6958 result=$wxUSE_GEOMETRY
6961 { echo "$as_me:$LINENO: result
: $result" >&5
6962 echo "${ECHO_T}$result" >&6; }
6966 defaultval=$wxUSE_ALL_FEATURES
6967 if test -z "$defaultval"; then
6968 if test x"$enablestring" = xdisable; then
6975 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-log" >&5
6976 echo $ECHO_N "checking
for --${enablestring:-enable}-log...
$ECHO_C" >&6; }
6977 # Check whether --enable-log was given.
6978 if test "${enable_log+set}" = set; then
6979 enableval=$enable_log;
6980 if test "$enableval" = yes; then
6981 wx_cv_use_log='wxUSE_LOG=yes'
6983 wx_cv_use_log='wxUSE_LOG=no'
6988 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
6993 eval "$wx_cv_use_log"
6995 if test x
"$enablestring" = xdisable
; then
6996 if test $wxUSE_LOG = yes; then
7005 { echo "$as_me:$LINENO: result: $result" >&5
7006 echo "${ECHO_T}$result" >&6; }
7010 defaultval
=$wxUSE_ALL_FEATURES
7011 if test -z "$defaultval"; then
7012 if test x
"$enablestring" = xdisable
; then
7019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7020 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7021 # Check whether --enable-longlong was given.
7022 if test "${enable_longlong+set}" = set; then
7023 enableval
=$enable_longlong;
7024 if test "$enableval" = yes; then
7025 wx_cv_use_longlong
='wxUSE_LONGLONG=yes'
7027 wx_cv_use_longlong
='wxUSE_LONGLONG=no'
7032 wx_cv_use_longlong
='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7037 eval "$wx_cv_use_longlong"
7039 if test x"$enablestring" = xdisable; then
7040 if test $wxUSE_LONGLONG = yes; then
7046 result=$wxUSE_LONGLONG
7049 { echo "$as_me:$LINENO: result: $result" >&5
7050 echo "${ECHO_T}$result" >&6; }
7054 defaultval=$wxUSE_ALL_FEATURES
7055 if test -z "$defaultval"; then
7056 if test x"$enablestring" = xdisable; then
7063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7064 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7065 # Check whether --enable-mimetype was given.
7066 if test "${enable_mimetype+set}" = set; then
7067 enableval=$enable_mimetype;
7068 if test "$enableval" = yes; then
7069 wx_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
7071 wx_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
7076 wx_cv_use_mimetype='wxUSE_MIMETYPE
=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7081 eval "$wx_cv_use_mimetype"
7083 if test x"$enablestring" = xdisable; then
7084 if test $wxUSE_MIMETYPE = yes; then
7090 result=$wxUSE_MIMETYPE
7093 { echo "$as_me:$LINENO: result
: $result" >&5
7094 echo "${ECHO_T}$result" >&6; }
7098 defaultval=$wxUSE_ALL_FEATURES
7099 if test -z "$defaultval"; then
7100 if test x"$enablestring" = xdisable; then
7107 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7108 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7109 # Check whether --enable-snglinst was given.
7110 if test "${enable_snglinst+set}" = set; then
7111 enableval=$enable_snglinst;
7112 if test "$enableval" = yes; then
7113 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7115 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7120 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7125 eval "$wx_cv_use_snglinst"
7127 if test x
"$enablestring" = xdisable
; then
7128 if test $wxUSE_SNGLINST_CHECKER = yes; then
7134 result
=$wxUSE_SNGLINST_CHECKER
7137 { echo "$as_me:$LINENO: result: $result" >&5
7138 echo "${ECHO_T}$result" >&6; }
7142 defaultval
=$wxUSE_ALL_FEATURES
7143 if test -z "$defaultval"; then
7144 if test x
"$enablestring" = xdisable
; then
7151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7152 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7153 # Check whether --enable-stdpaths was given.
7154 if test "${enable_stdpaths+set}" = set; then
7155 enableval
=$enable_stdpaths;
7156 if test "$enableval" = yes; then
7157 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
7159 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
7164 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7169 eval "$wx_cv_use_stdpaths"
7171 if test x"$enablestring" = xdisable; then
7172 if test $wxUSE_STDPATHS = yes; then
7178 result=$wxUSE_STDPATHS
7181 { echo "$as_me:$LINENO: result: $result" >&5
7182 echo "${ECHO_T}$result" >&6; }
7186 defaultval=$wxUSE_ALL_FEATURES
7187 if test -z "$defaultval"; then
7188 if test x"$enablestring" = xdisable; then
7195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7196 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7197 # Check whether --enable-stopwatch was given.
7198 if test "${enable_stopwatch+set}" = set; then
7199 enableval=$enable_stopwatch;
7200 if test "$enableval" = yes; then
7201 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
7203 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
7208 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7213 eval "$wx_cv_use_stopwatch"
7215 if test x"$enablestring" = xdisable; then
7216 if test $wxUSE_STOPWATCH = yes; then
7222 result=$wxUSE_STOPWATCH
7225 { echo "$as_me:$LINENO: result
: $result" >&5
7226 echo "${ECHO_T}$result" >&6; }
7230 defaultval=$wxUSE_ALL_FEATURES
7231 if test -z "$defaultval"; then
7232 if test x"$enablestring" = xdisable; then
7239 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-streams" >&5
7240 echo $ECHO_N "checking
for --${enablestring:-enable}-streams...
$ECHO_C" >&6; }
7241 # Check whether --enable-streams was given.
7242 if test "${enable_streams+set}" = set; then
7243 enableval=$enable_streams;
7244 if test "$enableval" = yes; then
7245 wx_cv_use_streams='wxUSE_STREAMS=yes'
7247 wx_cv_use_streams='wxUSE_STREAMS=no'
7252 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7257 eval "$wx_cv_use_streams"
7259 if test x
"$enablestring" = xdisable
; then
7260 if test $wxUSE_STREAMS = yes; then
7266 result
=$wxUSE_STREAMS
7269 { echo "$as_me:$LINENO: result: $result" >&5
7270 echo "${ECHO_T}$result" >&6; }
7274 defaultval
=$wxUSE_ALL_FEATURES
7275 if test -z "$defaultval"; then
7276 if test x
"$enablestring" = xdisable
; then
7283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7284 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7285 # Check whether --enable-system_options was given.
7286 if test "${enable_system_options+set}" = set; then
7287 enableval
=$enable_system_options;
7288 if test "$enableval" = yes; then
7289 wx_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
7291 wx_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
7296 wx_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7301 eval "$wx_cv_use_system_options"
7303 if test x"$enablestring" = xdisable; then
7304 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7310 result=$wxUSE_SYSTEM_OPTIONS
7313 { echo "$as_me:$LINENO: result: $result" >&5
7314 echo "${ECHO_T}$result" >&6; }
7318 defaultval=$wxUSE_ALL_FEATURES
7319 if test -z "$defaultval"; then
7320 if test x"$enablestring" = xdisable; then
7327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7328 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7329 # Check whether --enable-tarstream was given.
7330 if test "${enable_tarstream+set}" = set; then
7331 enableval=$enable_tarstream;
7332 if test "$enableval" = yes; then
7333 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
7335 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
7340 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7345 eval "$wx_cv_use_tarstream"
7347 if test x"$enablestring" = xdisable; then
7348 if test $wxUSE_TARSTREAM = yes; then
7354 result=$wxUSE_TARSTREAM
7357 { echo "$as_me:$LINENO: result
: $result" >&5
7358 echo "${ECHO_T}$result" >&6; }
7362 defaultval=$wxUSE_ALL_FEATURES
7363 if test -z "$defaultval"; then
7364 if test x"$enablestring" = xdisable; then
7371 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textbuf" >&5
7372 echo $ECHO_N "checking
for --${enablestring:-enable}-textbuf...
$ECHO_C" >&6; }
7373 # Check whether --enable-textbuf was given.
7374 if test "${enable_textbuf+set}" = set; then
7375 enableval=$enable_textbuf;
7376 if test "$enableval" = yes; then
7377 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7379 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7384 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7389 eval "$wx_cv_use_textbuf"
7391 if test x
"$enablestring" = xdisable
; then
7392 if test $wxUSE_TEXTBUFFER = yes; then
7398 result
=$wxUSE_TEXTBUFFER
7401 { echo "$as_me:$LINENO: result: $result" >&5
7402 echo "${ECHO_T}$result" >&6; }
7406 defaultval
=$wxUSE_ALL_FEATURES
7407 if test -z "$defaultval"; then
7408 if test x
"$enablestring" = xdisable
; then
7415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7416 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7417 # Check whether --enable-textfile was given.
7418 if test "${enable_textfile+set}" = set; then
7419 enableval
=$enable_textfile;
7420 if test "$enableval" = yes; then
7421 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
7423 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
7428 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7433 eval "$wx_cv_use_textfile"
7435 if test x"$enablestring" = xdisable; then
7436 if test $wxUSE_TEXTFILE = yes; then
7442 result=$wxUSE_TEXTFILE
7445 { echo "$as_me:$LINENO: result: $result" >&5
7446 echo "${ECHO_T}$result" >&6; }
7450 defaultval=$wxUSE_ALL_FEATURES
7451 if test -z "$defaultval"; then
7452 if test x"$enablestring" = xdisable; then
7459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7460 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7461 # Check whether --enable-timer was given.
7462 if test "${enable_timer+set}" = set; then
7463 enableval=$enable_timer;
7464 if test "$enableval" = yes; then
7465 wx_cv_use_timer='wxUSE_TIMER
=yes'
7467 wx_cv_use_timer='wxUSE_TIMER
=no
'
7472 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7477 eval "$wx_cv_use_timer"
7479 if test x"$enablestring" = xdisable; then
7480 if test $wxUSE_TIMER = yes; then
7489 { echo "$as_me:$LINENO: result
: $result" >&5
7490 echo "${ECHO_T}$result" >&6; }
7494 defaultval=$wxUSE_ALL_FEATURES
7495 if test -z "$defaultval"; then
7496 if test x"$enablestring" = xdisable; then
7503 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sound" >&5
7504 echo $ECHO_N "checking
for --${enablestring:-enable}-sound...
$ECHO_C" >&6; }
7505 # Check whether --enable-sound was given.
7506 if test "${enable_sound+set}" = set; then
7507 enableval=$enable_sound;
7508 if test "$enableval" = yes; then
7509 wx_cv_use_sound='wxUSE_SOUND=yes'
7511 wx_cv_use_sound='wxUSE_SOUND=no'
7516 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7521 eval "$wx_cv_use_sound"
7523 if test x
"$enablestring" = xdisable
; then
7524 if test $wxUSE_SOUND = yes; then
7533 { echo "$as_me:$LINENO: result: $result" >&5
7534 echo "${ECHO_T}$result" >&6; }
7538 defaultval
=$wxUSE_ALL_FEATURES
7539 if test -z "$defaultval"; then
7540 if test x
"$enablestring" = xdisable
; then
7547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7548 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7549 # Check whether --enable-mediactrl was given.
7550 if test "${enable_mediactrl+set}" = set; then
7551 enableval
=$enable_mediactrl;
7552 if test "$enableval" = yes; then
7553 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
7555 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
7560 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
7565 eval "$wx_cv_use_mediactrl"
7567 if test x"$enablestring" = xdisable; then
7568 if test $wxUSE_MEDIACTRL = yes; then
7574 result=$wxUSE_MEDIACTRL
7577 { echo "$as_me:$LINENO: result: $result" >&5
7578 echo "${ECHO_T}$result" >&6; }
7582 defaultval=$wxUSE_ALL_FEATURES
7583 if test -z "$defaultval"; then
7584 if test x"$enablestring" = xdisable; then
7591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7592 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7593 # Check whether --enable-gstreamer8 was given.
7594 if test "${enable_gstreamer8+set}" = set; then
7595 enableval=$enable_gstreamer8;
7596 if test "$enableval" = yes; then
7597 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=yes'
7599 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=no
'
7604 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
7609 eval "$wx_cv_use_gstreamer8"
7611 if test x"$enablestring" = xdisable; then
7612 if test $wxUSE_GSTREAMER8 = yes; then
7618 result=$wxUSE_GSTREAMER8
7621 { echo "$as_me:$LINENO: result
: $result" >&5
7622 echo "${ECHO_T}$result" >&6; }
7626 defaultval=$wxUSE_ALL_FEATURES
7627 if test -z "$defaultval"; then
7628 if test x"$enablestring" = xdisable; then
7635 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-printfposparam" >&5
7636 echo $ECHO_N "checking
for --${enablestring:-enable}-printfposparam...
$ECHO_C" >&6; }
7637 # Check whether --enable-printfposparam was given.
7638 if test "${enable_printfposparam+set}" = set; then
7639 enableval=$enable_printfposparam;
7640 if test "$enableval" = yes; then
7641 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7643 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7648 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7653 eval "$wx_cv_use_printfposparam"
7655 if test x
"$enablestring" = xdisable
; then
7656 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7662 result
=$wxUSE_PRINTF_POS_PARAMS
7665 { echo "$as_me:$LINENO: result: $result" >&5
7666 echo "${ECHO_T}$result" >&6; }
7670 defaultval
=$wxUSE_ALL_FEATURES
7671 if test -z "$defaultval"; then
7672 if test x
"$enablestring" = xdisable
; then
7679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7680 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7681 # Check whether --enable-zipstream was given.
7682 if test "${enable_zipstream+set}" = set; then
7683 enableval
=$enable_zipstream;
7684 if test "$enableval" = yes; then
7685 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
7687 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
7692 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7697 eval "$wx_cv_use_zipstream"
7699 if test x"$enablestring" = xdisable; then
7700 if test $wxUSE_ZIPSTREAM = yes; then
7706 result=$wxUSE_ZIPSTREAM
7709 { echo "$as_me:$LINENO: result: $result" >&5
7710 echo "${ECHO_T}$result" >&6; }
7715 defaultval=$wxUSE_ALL_FEATURES
7716 if test -z "$defaultval"; then
7717 if test x"$enablestring" = xdisable; then
7724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7725 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7726 # Check whether --enable-url was given.
7727 if test "${enable_url+set}" = set; then
7728 enableval=$enable_url;
7729 if test "$enableval" = yes; then
7730 wx_cv_use_url='wxUSE_URL
=yes'
7732 wx_cv_use_url='wxUSE_URL
=no
'
7737 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
7742 eval "$wx_cv_use_url"
7744 if test x"$enablestring" = xdisable; then
7745 if test $wxUSE_URL = yes; then
7754 { echo "$as_me:$LINENO: result
: $result" >&5
7755 echo "${ECHO_T}$result" >&6; }
7759 defaultval=$wxUSE_ALL_FEATURES
7760 if test -z "$defaultval"; then
7761 if test x"$enablestring" = xdisable; then
7768 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-variant" >&5
7769 echo $ECHO_N "checking
for --${enablestring:-enable}-variant...
$ECHO_C" >&6; }
7770 # Check whether --enable-variant was given.
7771 if test "${enable_variant+set}" = set; then
7772 enableval=$enable_variant;
7773 if test "$enableval" = yes; then
7774 wx_cv_use_variant='wxUSE_VARIANT=yes'
7776 wx_cv_use_variant='wxUSE_VARIANT=no'
7781 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7786 eval "$wx_cv_use_variant"
7788 if test x
"$enablestring" = xdisable
; then
7789 if test $wxUSE_VARIANT = yes; then
7795 result
=$wxUSE_VARIANT
7798 { echo "$as_me:$LINENO: result: $result" >&5
7799 echo "${ECHO_T}$result" >&6; }
7803 defaultval
=$wxUSE_ALL_FEATURES
7804 if test -z "$defaultval"; then
7805 if test x
"$enablestring" = xdisable
; then
7812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7813 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7814 # Check whether --enable-protocol was given.
7815 if test "${enable_protocol+set}" = set; then
7816 enableval
=$enable_protocol;
7817 if test "$enableval" = yes; then
7818 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
7820 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
7825 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7830 eval "$wx_cv_use_protocol"
7832 if test x"$enablestring" = xdisable; then
7833 if test $wxUSE_PROTOCOL = yes; then
7839 result=$wxUSE_PROTOCOL
7842 { echo "$as_me:$LINENO: result: $result" >&5
7843 echo "${ECHO_T}$result" >&6; }
7847 defaultval=$wxUSE_ALL_FEATURES
7848 if test -z "$defaultval"; then
7849 if test x"$enablestring" = xdisable; then
7856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7857 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7858 # Check whether --enable-protocol_http was given.
7859 if test "${enable_protocol_http+set}" = set; then
7860 enableval=$enable_protocol_http;
7861 if test "$enableval" = yes; then
7862 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
7864 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
7869 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7874 eval "$wx_cv_use_protocol_http"
7876 if test x"$enablestring" = xdisable; then
7877 if test $wxUSE_PROTOCOL_HTTP = yes; then
7883 result=$wxUSE_PROTOCOL_HTTP
7886 { echo "$as_me:$LINENO: result
: $result" >&5
7887 echo "${ECHO_T}$result" >&6; }
7891 defaultval=$wxUSE_ALL_FEATURES
7892 if test -z "$defaultval"; then
7893 if test x"$enablestring" = xdisable; then
7900 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
7901 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
7902 # Check whether --enable-protocol_ftp was given.
7903 if test "${enable_protocol_ftp+set}" = set; then
7904 enableval=$enable_protocol_ftp;
7905 if test "$enableval" = yes; then
7906 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7908 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7913 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7918 eval "$wx_cv_use_protocol_ftp"
7920 if test x
"$enablestring" = xdisable
; then
7921 if test $wxUSE_PROTOCOL_FTP = yes; then
7927 result
=$wxUSE_PROTOCOL_FTP
7930 { echo "$as_me:$LINENO: result: $result" >&5
7931 echo "${ECHO_T}$result" >&6; }
7935 defaultval
=$wxUSE_ALL_FEATURES
7936 if test -z "$defaultval"; then
7937 if test x
"$enablestring" = xdisable
; then
7944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7945 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7946 # Check whether --enable-protocol_file was given.
7947 if test "${enable_protocol_file+set}" = set; then
7948 enableval
=$enable_protocol_file;
7949 if test "$enableval" = yes; then
7950 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
7952 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
7957 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7962 eval "$wx_cv_use_protocol_file"
7964 if test x"$enablestring" = xdisable; then
7965 if test $wxUSE_PROTOCOL_FILE = yes; then
7971 result=$wxUSE_PROTOCOL_FILE
7974 { echo "$as_me:$LINENO: result: $result" >&5
7975 echo "${ECHO_T}$result" >&6; }
7980 defaultval=$wxUSE_ALL_FEATURES
7981 if test -z "$defaultval"; then
7982 if test x"$enablestring" = xdisable; then
7989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7990 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7991 # Check whether --enable-threads was given.
7992 if test "${enable_threads+set}" = set; then
7993 enableval=$enable_threads;
7994 if test "$enableval" = yes; then
7995 wx_cv_use_threads='wxUSE_THREADS
=yes'
7997 wx_cv_use_threads='wxUSE_THREADS
=no
'
8002 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8007 eval "$wx_cv_use_threads"
8009 if test x"$enablestring" = xdisable; then
8010 if test $wxUSE_THREADS = yes; then
8016 result=$wxUSE_THREADS
8019 { echo "$as_me:$LINENO: result
: $result" >&5
8020 echo "${ECHO_T}$result" >&6; }
8026 if test -z "$defaultval"; then
8027 if test x"$enablestring" = xdisable; then
8034 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8035 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8036 # Check whether --enable-iniconf was given.
8037 if test "${enable_iniconf+set}" = set; then
8038 enableval=$enable_iniconf;
8039 if test "$enableval" = yes; then
8040 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8042 wx_cv_use_iniconf='wxUSE_INICONF=no'
8047 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8052 eval "$wx_cv_use_iniconf"
8054 if test x
"$enablestring" = xdisable
; then
8055 if test $wxUSE_INICONF = yes; then
8061 result
=$wxUSE_INICONF
8064 { echo "$as_me:$LINENO: result: $result" >&5
8065 echo "${ECHO_T}$result" >&6; }
8069 defaultval
=$wxUSE_ALL_FEATURES
8070 if test -z "$defaultval"; then
8071 if test x
"$enablestring" = xdisable
; then
8078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8079 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8080 # Check whether --enable-regkey was given.
8081 if test "${enable_regkey+set}" = set; then
8082 enableval
=$enable_regkey;
8083 if test "$enableval" = yes; then
8084 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8086 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8091 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8096 eval "$wx_cv_use_regkey"
8098 if test x"$enablestring" = xdisable; then
8099 if test $wxUSE_REGKEY = yes; then
8105 result=$wxUSE_REGKEY
8108 { echo "$as_me:$LINENO: result: $result" >&5
8109 echo "${ECHO_T}$result" >&6; }
8112 if test "$wxUSE_GUI" = "yes"; then
8117 defaultval=$wxUSE_ALL_FEATURES
8118 if test -z "$defaultval"; then
8119 if test x"$enablestring" = xdisable; then
8126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8127 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8128 # Check whether --enable-docview was given.
8129 if test "${enable_docview+set}" = set; then
8130 enableval=$enable_docview;
8131 if test "$enableval" = yes; then
8132 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8134 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8139 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8144 eval "$wx_cv_use_docview"
8146 if test x"$enablestring" = xdisable; then
8147 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8153 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8156 { echo "$as_me:$LINENO: result
: $result" >&5
8157 echo "${ECHO_T}$result" >&6; }
8161 defaultval=$wxUSE_ALL_FEATURES
8162 if test -z "$defaultval"; then
8163 if test x"$enablestring" = xdisable; then
8170 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8171 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8172 # Check whether --enable-help was given.
8173 if test "${enable_help+set}" = set; then
8174 enableval=$enable_help;
8175 if test "$enableval" = yes; then
8176 wx_cv_use_help='wxUSE_HELP=yes'
8178 wx_cv_use_help='wxUSE_HELP=no'
8183 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8188 eval "$wx_cv_use_help"
8190 if test x
"$enablestring" = xdisable
; then
8191 if test $wxUSE_HELP = yes; then
8200 { echo "$as_me:$LINENO: result: $result" >&5
8201 echo "${ECHO_T}$result" >&6; }
8205 defaultval
=$wxUSE_ALL_FEATURES
8206 if test -z "$defaultval"; then
8207 if test x
"$enablestring" = xdisable
; then
8214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8215 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8216 # Check whether --enable-mshtmlhelp was given.
8217 if test "${enable_mshtmlhelp+set}" = set; then
8218 enableval
=$enable_mshtmlhelp;
8219 if test "$enableval" = yes; then
8220 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8222 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8227 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8232 eval "$wx_cv_use_mshtmlhelp"
8234 if test x"$enablestring" = xdisable; then
8235 if test $wxUSE_MS_HTML_HELP = yes; then
8241 result=$wxUSE_MS_HTML_HELP
8244 { echo "$as_me:$LINENO: result: $result" >&5
8245 echo "${ECHO_T}$result" >&6; }
8249 defaultval=$wxUSE_ALL_FEATURES
8250 if test -z "$defaultval"; then
8251 if test x"$enablestring" = xdisable; then
8258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8259 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8260 # Check whether --enable-html was given.
8261 if test "${enable_html+set}" = set; then
8262 enableval=$enable_html;
8263 if test "$enableval" = yes; then
8264 wx_cv_use_html='wxUSE_HTML
=yes'
8266 wx_cv_use_html='wxUSE_HTML
=no
'
8271 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8276 eval "$wx_cv_use_html"
8278 if test x"$enablestring" = xdisable; then
8279 if test $wxUSE_HTML = yes; then
8288 { echo "$as_me:$LINENO: result
: $result" >&5
8289 echo "${ECHO_T}$result" >&6; }
8293 defaultval=$wxUSE_ALL_FEATURES
8294 if test -z "$defaultval"; then
8295 if test x"$enablestring" = xdisable; then
8302 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8303 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8304 # Check whether --enable-htmlhelp was given.
8305 if test "${enable_htmlhelp+set}" = set; then
8306 enableval=$enable_htmlhelp;
8307 if test "$enableval" = yes; then
8308 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8310 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8315 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8320 eval "$wx_cv_use_htmlhelp"
8322 if test x
"$enablestring" = xdisable
; then
8323 if test $wxUSE_WXHTML_HELP = yes; then
8329 result
=$wxUSE_WXHTML_HELP
8332 { echo "$as_me:$LINENO: result: $result" >&5
8333 echo "${ECHO_T}$result" >&6; }
8337 defaultval
=$wxUSE_ALL_FEATURES
8338 if test -z "$defaultval"; then
8339 if test x
"$enablestring" = xdisable
; then
8346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8347 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8348 # Check whether --enable-xrc was given.
8349 if test "${enable_xrc+set}" = set; then
8350 enableval
=$enable_xrc;
8351 if test "$enableval" = yes; then
8352 wx_cv_use_xrc
='wxUSE_XRC=yes'
8354 wx_cv_use_xrc
='wxUSE_XRC=no'
8359 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8364 eval "$wx_cv_use_xrc"
8366 if test x"$enablestring" = xdisable; then
8367 if test $wxUSE_XRC = yes; then
8376 { echo "$as_me:$LINENO: result: $result" >&5
8377 echo "${ECHO_T}$result" >&6; }
8381 defaultval=$wxUSE_ALL_FEATURES
8382 if test -z "$defaultval"; then
8383 if test x"$enablestring" = xdisable; then
8390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8391 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8392 # Check whether --enable-aui was given.
8393 if test "${enable_aui+set}" = set; then
8394 enableval=$enable_aui;
8395 if test "$enableval" = yes; then
8396 wx_cv_use_aui='wxUSE_AUI
=yes'
8398 wx_cv_use_aui='wxUSE_AUI
=no
'
8403 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8408 eval "$wx_cv_use_aui"
8410 if test x"$enablestring" = xdisable; then
8411 if test $wxUSE_AUI = yes; then
8420 { echo "$as_me:$LINENO: result
: $result" >&5
8421 echo "${ECHO_T}$result" >&6; }
8425 defaultval=$wxUSE_ALL_FEATURES
8426 if test -z "$defaultval"; then
8427 if test x"$enablestring" = xdisable; then
8434 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stc" >&5
8435 echo $ECHO_N "checking
for --${enablestring:-enable}-stc...
$ECHO_C" >&6; }
8436 # Check whether --enable-stc was given.
8437 if test "${enable_stc+set}" = set; then
8438 enableval=$enable_stc;
8439 if test "$enableval" = yes; then
8440 wx_cv_use_stc='wxUSE_STC=yes'
8442 wx_cv_use_stc='wxUSE_STC=no'
8447 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8452 eval "$wx_cv_use_stc"
8454 if test x
"$enablestring" = xdisable
; then
8455 if test $wxUSE_STC = yes; then
8464 { echo "$as_me:$LINENO: result: $result" >&5
8465 echo "${ECHO_T}$result" >&6; }
8469 defaultval
=$wxUSE_ALL_FEATURES
8470 if test -z "$defaultval"; then
8471 if test x
"$enablestring" = xdisable
; then
8478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8479 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8480 # Check whether --enable-constraints was given.
8481 if test "${enable_constraints+set}" = set; then
8482 enableval
=$enable_constraints;
8483 if test "$enableval" = yes; then
8484 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
8486 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
8491 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8496 eval "$wx_cv_use_constraints"
8498 if test x"$enablestring" = xdisable; then
8499 if test $wxUSE_CONSTRAINTS = yes; then
8505 result=$wxUSE_CONSTRAINTS
8508 { echo "$as_me:$LINENO: result: $result" >&5
8509 echo "${ECHO_T}$result" >&6; }
8513 defaultval=$wxUSE_ALL_FEATURES
8514 if test -z "$defaultval"; then
8515 if test x"$enablestring" = xdisable; then
8522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8523 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8524 # Check whether --enable-printarch was given.
8525 if test "${enable_printarch+set}" = set; then
8526 enableval=$enable_printarch;
8527 if test "$enableval" = yes; then
8528 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
8530 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
8535 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
8540 eval "$wx_cv_use_printarch"
8542 if test x"$enablestring" = xdisable; then
8543 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
8549 result=$wxUSE_PRINTING_ARCHITECTURE
8552 { echo "$as_me:$LINENO: result
: $result" >&5
8553 echo "${ECHO_T}$result" >&6; }
8557 defaultval=$wxUSE_ALL_FEATURES
8558 if test -z "$defaultval"; then
8559 if test x"$enablestring" = xdisable; then
8566 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
8567 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
8568 # Check whether --enable-mdi was given.
8569 if test "${enable_mdi+set}" = set; then
8570 enableval=$enable_mdi;
8571 if test "$enableval" = yes; then
8572 wx_cv_use_mdi='wxUSE_MDI=yes'
8574 wx_cv_use_mdi='wxUSE_MDI=no'
8579 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8584 eval "$wx_cv_use_mdi"
8586 if test x
"$enablestring" = xdisable
; then
8587 if test $wxUSE_MDI = yes; then
8596 { echo "$as_me:$LINENO: result: $result" >&5
8597 echo "${ECHO_T}$result" >&6; }
8601 defaultval
=$wxUSE_ALL_FEATURES
8602 if test -z "$defaultval"; then
8603 if test x
"$enablestring" = xdisable
; then
8610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8611 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8612 # Check whether --enable-mdidoc was given.
8613 if test "${enable_mdidoc+set}" = set; then
8614 enableval
=$enable_mdidoc;
8615 if test "$enableval" = yes; then
8616 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
8618 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
8623 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8628 eval "$wx_cv_use_mdidoc"
8630 if test x"$enablestring" = xdisable; then
8631 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8637 result=$wxUSE_MDI_ARCHITECTURE
8640 { echo "$as_me:$LINENO: result: $result" >&5
8641 echo "${ECHO_T}$result" >&6; }
8645 defaultval=$wxUSE_ALL_FEATURES
8646 if test -z "$defaultval"; then
8647 if test x"$enablestring" = xdisable; then
8654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8655 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8656 # Check whether --enable-loggui was given.
8657 if test "${enable_loggui+set}" = set; then
8658 enableval=$enable_loggui;
8659 if test "$enableval" = yes; then
8660 wx_cv_use_loggui='wxUSE_LOGGUI
=yes'
8662 wx_cv_use_loggui='wxUSE_LOGGUI
=no
'
8667 wx_cv_use_loggui='wxUSE_LOGGUI
=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8672 eval "$wx_cv_use_loggui"
8674 if test x"$enablestring" = xdisable; then
8675 if test $wxUSE_LOGGUI = yes; then
8681 result=$wxUSE_LOGGUI
8684 { echo "$as_me:$LINENO: result
: $result" >&5
8685 echo "${ECHO_T}$result" >&6; }
8689 defaultval=$wxUSE_ALL_FEATURES
8690 if test -z "$defaultval"; then
8691 if test x"$enablestring" = xdisable; then
8698 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logwin" >&5
8699 echo $ECHO_N "checking
for --${enablestring:-enable}-logwin...
$ECHO_C" >&6; }
8700 # Check whether --enable-logwin was given.
8701 if test "${enable_logwin+set}" = set; then
8702 enableval=$enable_logwin;
8703 if test "$enableval" = yes; then
8704 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8706 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8711 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8716 eval "$wx_cv_use_logwin"
8718 if test x
"$enablestring" = xdisable
; then
8719 if test $wxUSE_LOGWINDOW = yes; then
8725 result
=$wxUSE_LOGWINDOW
8728 { echo "$as_me:$LINENO: result: $result" >&5
8729 echo "${ECHO_T}$result" >&6; }
8733 defaultval
=$wxUSE_ALL_FEATURES
8734 if test -z "$defaultval"; then
8735 if test x
"$enablestring" = xdisable
; then
8742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8743 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8744 # Check whether --enable-logdialog was given.
8745 if test "${enable_logdialog+set}" = set; then
8746 enableval
=$enable_logdialog;
8747 if test "$enableval" = yes; then
8748 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
8750 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
8755 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8760 eval "$wx_cv_use_logdialog"
8762 if test x"$enablestring" = xdisable; then
8763 if test $wxUSE_LOGDIALOG = yes; then
8769 result=$wxUSE_LOGDIALOG
8772 { echo "$as_me:$LINENO: result: $result" >&5
8773 echo "${ECHO_T}$result" >&6; }
8777 defaultval=$wxUSE_ALL_FEATURES
8778 if test -z "$defaultval"; then
8779 if test x"$enablestring" = xdisable; then
8786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8787 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8788 # Check whether --enable-webkit was given.
8789 if test "${enable_webkit+set}" = set; then
8790 enableval=$enable_webkit;
8791 if test "$enableval" = yes; then
8792 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
8794 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
8799 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8804 eval "$wx_cv_use_webkit"
8806 if test x"$enablestring" = xdisable; then
8807 if test $wxUSE_WEBKIT = yes; then
8813 result=$wxUSE_WEBKIT
8816 { echo "$as_me:$LINENO: result
: $result" >&5
8817 echo "${ECHO_T}$result" >&6; }
8821 defaultval=$wxUSE_ALL_FEATURES
8822 if test -z "$defaultval"; then
8823 if test x"$enablestring" = xdisable; then
8830 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-richtext" >&5
8831 echo $ECHO_N "checking
for --${enablestring:-enable}-richtext...
$ECHO_C" >&6; }
8832 # Check whether --enable-richtext was given.
8833 if test "${enable_richtext+set}" = set; then
8834 enableval=$enable_richtext;
8835 if test "$enableval" = yes; then
8836 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
8838 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
8843 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
8848 eval "$wx_cv_use_richtext"
8850 if test x
"$enablestring" = xdisable
; then
8851 if test $wxUSE_RICHTEXT = yes; then
8857 result
=$wxUSE_RICHTEXT
8860 { echo "$as_me:$LINENO: result: $result" >&5
8861 echo "${ECHO_T}$result" >&6; }
8865 defaultval
=$wxUSE_ALL_FEATURES
8866 if test -z "$defaultval"; then
8867 if test x
"$enablestring" = xdisable
; then
8874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8875 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8876 # Check whether --enable-graphics_ctx was given.
8877 if test "${enable_graphics_ctx+set}" = set; then
8878 enableval
=$enable_graphics_ctx;
8879 if test "$enableval" = yes; then
8880 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
8882 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
8887 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
8892 eval "$wx_cv_use_graphics_ctx"
8894 if test x"$enablestring" = xdisable; then
8895 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
8901 result=$wxUSE_GRAPHICS_CONTEXT
8904 { echo "$as_me:$LINENO: result: $result" >&5
8905 echo "${ECHO_T}$result" >&6; }
8909 defaultval=$wxUSE_ALL_FEATURES
8910 if test -z "$defaultval"; then
8911 if test x"$enablestring" = xdisable; then
8918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8919 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8920 # Check whether --enable-postscript was given.
8921 if test "${enable_postscript+set}" = set; then
8922 enableval=$enable_postscript;
8923 if test "$enableval" = yes; then
8924 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
8926 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
8931 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
8936 eval "$wx_cv_use_postscript"
8938 if test x"$enablestring" = xdisable; then
8939 if test $wxUSE_POSTSCRIPT = yes; then
8945 result=$wxUSE_POSTSCRIPT
8948 { echo "$as_me:$LINENO: result
: $result" >&5
8949 echo "${ECHO_T}$result" >&6; }
8953 defaultval=$wxUSE_ALL_FEATURES
8954 if test -z "$defaultval"; then
8955 if test x"$enablestring" = xdisable; then
8962 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
8963 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
8964 # Check whether --enable-svg was given.
8965 if test "${enable_svg+set}" = set; then
8966 enableval=$enable_svg;
8967 if test "$enableval" = yes; then
8968 wx_cv_use_svg='wxUSE_SVG=yes'
8970 wx_cv_use_svg='wxUSE_SVG=no'
8975 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
8980 eval "$wx_cv_use_svg"
8982 if test x
"$enablestring" = xdisable
; then
8983 if test $wxUSE_SVG = yes; then
8992 { echo "$as_me:$LINENO: result: $result" >&5
8993 echo "${ECHO_T}$result" >&6; }
8999 defaultval
=$wxUSE_ALL_FEATURES
9000 if test -z "$defaultval"; then
9001 if test x
"$enablestring" = xdisable
; then
9008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9009 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9010 # Check whether --enable-clipboard was given.
9011 if test "${enable_clipboard+set}" = set; then
9012 enableval
=$enable_clipboard;
9013 if test "$enableval" = yes; then
9014 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9016 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9021 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9026 eval "$wx_cv_use_clipboard"
9028 if test x"$enablestring" = xdisable; then
9029 if test $wxUSE_CLIPBOARD = yes; then
9035 result=$wxUSE_CLIPBOARD
9038 { echo "$as_me:$LINENO: result: $result" >&5
9039 echo "${ECHO_T}$result" >&6; }
9043 defaultval=$wxUSE_ALL_FEATURES
9044 if test -z "$defaultval"; then
9045 if test x"$enablestring" = xdisable; then
9052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9053 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9054 # Check whether --enable-dnd was given.
9055 if test "${enable_dnd+set}" = set; then
9056 enableval=$enable_dnd;
9057 if test "$enableval" = yes; then
9058 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9060 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9065 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9070 eval "$wx_cv_use_dnd"
9072 if test x"$enablestring" = xdisable; then
9073 if test $wxUSE_DRAG_AND_DROP = yes; then
9079 result=$wxUSE_DRAG_AND_DROP
9082 { echo "$as_me:$LINENO: result
: $result" >&5
9083 echo "${ECHO_T}$result" >&6; }
9087 defaultval=$wxUSE_ALL_FEATURES
9088 if test -z "$defaultval"; then
9089 if test x"$enablestring" = xdisable; then
9096 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9097 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9098 # Check whether --enable-metafile was given.
9099 if test "${enable_metafile+set}" = set; then
9100 enableval=$enable_metafile;
9101 if test "$enableval" = yes; then
9102 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9104 wx_cv_use_metafile='wxUSE_METAFILE=no'
9109 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9114 eval "$wx_cv_use_metafile"
9116 if test x
"$enablestring" = xdisable
; then
9117 if test $wxUSE_METAFILE = yes; then
9123 result
=$wxUSE_METAFILE
9126 { echo "$as_me:$LINENO: result: $result" >&5
9127 echo "${ECHO_T}$result" >&6; }
9131 DEFAULT_wxUSE_CONTROLS
=none
9133 enablestring
=disable
9135 if test -z "$defaultval"; then
9136 if test x
"$enablestring" = xdisable
; then
9143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9144 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9145 # Check whether --enable-controls was given.
9146 if test "${enable_controls+set}" = set; then
9147 enableval
=$enable_controls;
9148 if test "$enableval" = yes; then
9149 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9151 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9156 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9161 eval "$wx_cv_use_controls"
9163 if test x"$enablestring" = xdisable; then
9164 if test $wxUSE_CONTROLS = yes; then
9170 result=$wxUSE_CONTROLS
9173 { echo "$as_me:$LINENO: result: $result" >&5
9174 echo "${ECHO_T}$result" >&6; }
9177 if test "$wxUSE_CONTROLS" = "yes"; then
9178 DEFAULT_wxUSE_ACCEL=yes
9179 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9180 DEFAULT_wxUSE_BMPBUTTON=yes
9181 DEFAULT_wxUSE_BUTTON=yes
9182 DEFAULT_wxUSE_CALCTRL=yes
9183 DEFAULT_wxUSE_CARET=yes
9184 DEFAULT_wxUSE_COMBOBOX=yes
9185 DEFAULT_wxUSE_CHECKBOX=yes
9186 DEFAULT_wxUSE_CHECKLISTBOX=yes
9187 DEFAULT_wxUSE_CHOICE=yes
9188 DEFAULT_wxUSE_CHOICEBOOK=yes
9189 DEFAULT_wxUSE_COLLPANE=yes
9190 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9191 DEFAULT_wxUSE_COMBOBOX=yes
9192 DEFAULT_wxUSE_DATEPICKCTRL=yes
9193 DEFAULT_wxUSE_DISPLAY=yes
9194 DEFAULT_wxUSE_DETECT_SM=yes
9195 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9196 DEFAULT_wxUSE_FILECTRL=yes
9197 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9198 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9199 DEFAULT_wxUSE_GAUGE=yes
9200 DEFAULT_wxUSE_GRID=yes
9201 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9202 DEFAULT_wxUSE_DATAVIEWCTRL=no
9203 DEFAULT_wxUSE_IMAGLIST=yes
9204 DEFAULT_wxUSE_LISTBOOK=yes
9205 DEFAULT_wxUSE_LISTBOX=yes
9206 DEFAULT_wxUSE_LISTCTRL=yes
9207 DEFAULT_wxUSE_NOTEBOOK=yes
9208 DEFAULT_wxUSE_RADIOBOX=yes
9209 DEFAULT_wxUSE_RADIOBTN=yes
9210 DEFAULT_wxUSE_SASH=yes
9211 DEFAULT_wxUSE_SCROLLBAR=yes
9212 DEFAULT_wxUSE_SEARCHCTRL=yes
9213 DEFAULT_wxUSE_SLIDER=yes
9214 DEFAULT_wxUSE_SPINBTN=yes
9215 DEFAULT_wxUSE_SPINCTRL=yes
9216 DEFAULT_wxUSE_SPLITTER=yes
9217 DEFAULT_wxUSE_STATBMP=yes
9218 DEFAULT_wxUSE_STATBOX=yes
9219 DEFAULT_wxUSE_STATLINE=yes
9220 DEFAULT_wxUSE_STATUSBAR=yes
9221 DEFAULT_wxUSE_TAB_DIALOG=yes
9222 DEFAULT_wxUSE_TOGGLEBTN=yes
9223 DEFAULT_wxUSE_TOOLBAR=yes
9224 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9225 DEFAULT_wxUSE_TOOLTIPS=yes
9226 DEFAULT_wxUSE_TREEBOOK=yes
9227 DEFAULT_wxUSE_TOOLBOOK=yes
9228 DEFAULT_wxUSE_TREECTRL=yes
9229 DEFAULT_wxUSE_POPUPWIN=yes
9230 DEFAULT_wxUSE_TIPWINDOW=yes
9231 elif test "$wxUSE_CONTROLS" = "no"; then
9232 DEFAULT_wxUSE_ACCEL=no
9233 DEFAULT_wxUSE_ANIMATIONCTRL=no
9234 DEFAULT_wxUSE_BMPBUTTON=no
9235 DEFAULT_wxUSE_BUTTON=no
9236 DEFAULT_wxUSE_CALCTRL=no
9237 DEFAULT_wxUSE_CARET=no
9238 DEFAULT_wxUSE_COLLPANE=no
9239 DEFAULT_wxUSE_COMBOBOX=no
9240 DEFAULT_wxUSE_CHECKBOX=no
9241 DEFAULT_wxUSE_CHECKLISTBOX=no
9242 DEFAULT_wxUSE_CHOICE=no
9243 DEFAULT_wxUSE_CHOICEBOOK=no
9244 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9245 DEFAULT_wxUSE_COMBOBOX=no
9246 DEFAULT_wxUSE_DATEPICKCTRL=no
9247 DEFAULT_wxUSE_DISPLAY=no
9248 DEFAULT_wxUSE_DETECT_SM=no
9249 DEFAULT_wxUSE_DIRPICKERCTRL=no
9250 DEFAULT_wxUSE_FILECTRL=no
9251 DEFAULT_wxUSE_FILEPICKERCTRL=no
9252 DEFAULT_wxUSE_FONTPICKERCTRL=no
9253 DEFAULT_wxUSE_GAUGE=no
9254 DEFAULT_wxUSE_GRID=no
9255 DEFAULT_wxUSE_HYPERLINKCTRL=no
9256 DEFAULT_wxUSE_DATAVIEWCTRL=no
9257 DEFAULT_wxUSE_IMAGLIST=no
9258 DEFAULT_wxUSE_LISTBOOK=no
9259 DEFAULT_wxUSE_LISTBOX=no
9260 DEFAULT_wxUSE_LISTCTRL=no
9261 DEFAULT_wxUSE_NOTEBOOK=no
9262 DEFAULT_wxUSE_RADIOBOX=no
9263 DEFAULT_wxUSE_RADIOBTN=no
9264 DEFAULT_wxUSE_SASH=no
9265 DEFAULT_wxUSE_SCROLLBAR=no
9266 DEFAULT_wxUSE_SEARCHCTRL=no
9267 DEFAULT_wxUSE_SLIDER=no
9268 DEFAULT_wxUSE_SPINBTN=no
9269 DEFAULT_wxUSE_SPINCTRL=no
9270 DEFAULT_wxUSE_SPLITTER=no
9271 DEFAULT_wxUSE_STATBMP=no
9272 DEFAULT_wxUSE_STATBOX=no
9273 DEFAULT_wxUSE_STATLINE=no
9274 DEFAULT_wxUSE_STATUSBAR=no
9275 DEFAULT_wxUSE_TAB_DIALOG=no
9276 DEFAULT_wxUSE_TOGGLEBTN=no
9277 DEFAULT_wxUSE_TOOLBAR=no
9278 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9279 DEFAULT_wxUSE_TOOLTIPS=no
9280 DEFAULT_wxUSE_TREEBOOK=no
9281 DEFAULT_wxUSE_TOOLBOOK=no
9282 DEFAULT_wxUSE_TREECTRL=no
9283 DEFAULT_wxUSE_POPUPWIN=no
9284 DEFAULT_wxUSE_TIPWINDOW=no
9289 defaultval=$wxUSE_ALL_FEATURES
9290 if test -z "$defaultval"; then
9291 if test x"$enablestring" = xdisable; then
9298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9299 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9300 # Check whether --enable-accel was given.
9301 if test "${enable_accel+set}" = set; then
9302 enableval=$enable_accel;
9303 if test "$enableval" = yes; then
9304 wx_cv_use_accel='wxUSE_ACCEL
=yes'
9306 wx_cv_use_accel='wxUSE_ACCEL
=no
'
9311 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9316 eval "$wx_cv_use_accel"
9318 if test x"$enablestring" = xdisable; then
9319 if test $wxUSE_ACCEL = yes; then
9328 { echo "$as_me:$LINENO: result
: $result" >&5
9329 echo "${ECHO_T}$result" >&6; }
9333 defaultval=$wxUSE_ALL_FEATURES
9334 if test -z "$defaultval"; then
9335 if test x"$enablestring" = xdisable; then
9342 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-animatectrl" >&5
9343 echo $ECHO_N "checking
for --${enablestring:-enable}-animatectrl...
$ECHO_C" >&6; }
9344 # Check whether --enable-animatectrl was given.
9345 if test "${enable_animatectrl+set}" = set; then
9346 enableval=$enable_animatectrl;
9347 if test "$enableval" = yes; then
9348 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9350 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9355 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9360 eval "$wx_cv_use_animatectrl"
9362 if test x
"$enablestring" = xdisable
; then
9363 if test $wxUSE_ANIMATIONCTRL = yes; then
9369 result
=$wxUSE_ANIMATIONCTRL
9372 { echo "$as_me:$LINENO: result: $result" >&5
9373 echo "${ECHO_T}$result" >&6; }
9377 defaultval
=$wxUSE_ALL_FEATURES
9378 if test -z "$defaultval"; then
9379 if test x
"$enablestring" = xdisable
; then
9386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9387 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9388 # Check whether --enable-button was given.
9389 if test "${enable_button+set}" = set; then
9390 enableval
=$enable_button;
9391 if test "$enableval" = yes; then
9392 wx_cv_use_button
='wxUSE_BUTTON=yes'
9394 wx_cv_use_button
='wxUSE_BUTTON=no'
9399 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9404 eval "$wx_cv_use_button"
9406 if test x"$enablestring" = xdisable; then
9407 if test $wxUSE_BUTTON = yes; then
9413 result=$wxUSE_BUTTON
9416 { echo "$as_me:$LINENO: result: $result" >&5
9417 echo "${ECHO_T}$result" >&6; }
9421 defaultval=$wxUSE_ALL_FEATURES
9422 if test -z "$defaultval"; then
9423 if test x"$enablestring" = xdisable; then
9430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9431 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9432 # Check whether --enable-bmpbutton was given.
9433 if test "${enable_bmpbutton+set}" = set; then
9434 enableval=$enable_bmpbutton;
9435 if test "$enableval" = yes; then
9436 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
9438 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
9443 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9448 eval "$wx_cv_use_bmpbutton"
9450 if test x"$enablestring" = xdisable; then
9451 if test $wxUSE_BMPBUTTON = yes; then
9457 result=$wxUSE_BMPBUTTON
9460 { echo "$as_me:$LINENO: result
: $result" >&5
9461 echo "${ECHO_T}$result" >&6; }
9465 defaultval=$wxUSE_ALL_FEATURES
9466 if test -z "$defaultval"; then
9467 if test x"$enablestring" = xdisable; then
9474 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
9475 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
9476 # Check whether --enable-bmpcombobox was given.
9477 if test "${enable_bmpcombobox+set}" = set; then
9478 enableval=$enable_bmpcombobox;
9479 if test "$enableval" = yes; then
9480 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9482 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9487 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9492 eval "$wx_cv_use_bmpcombobox"
9494 if test x
"$enablestring" = xdisable
; then
9495 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9501 result
=$wxUSE_BITMAPCOMBOBOX
9504 { echo "$as_me:$LINENO: result: $result" >&5
9505 echo "${ECHO_T}$result" >&6; }
9509 defaultval
=$wxUSE_ALL_FEATURES
9510 if test -z "$defaultval"; then
9511 if test x
"$enablestring" = xdisable
; then
9518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9519 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9520 # Check whether --enable-calendar was given.
9521 if test "${enable_calendar+set}" = set; then
9522 enableval
=$enable_calendar;
9523 if test "$enableval" = yes; then
9524 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
9526 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
9531 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9536 eval "$wx_cv_use_calendar"
9538 if test x"$enablestring" = xdisable; then
9539 if test $wxUSE_CALCTRL = yes; then
9545 result=$wxUSE_CALCTRL
9548 { echo "$as_me:$LINENO: result: $result" >&5
9549 echo "${ECHO_T}$result" >&6; }
9553 defaultval=$wxUSE_ALL_FEATURES
9554 if test -z "$defaultval"; then
9555 if test x"$enablestring" = xdisable; then
9562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9563 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9564 # Check whether --enable-caret was given.
9565 if test "${enable_caret+set}" = set; then
9566 enableval=$enable_caret;
9567 if test "$enableval" = yes; then
9568 wx_cv_use_caret='wxUSE_CARET
=yes'
9570 wx_cv_use_caret='wxUSE_CARET
=no
'
9575 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9580 eval "$wx_cv_use_caret"
9582 if test x"$enablestring" = xdisable; then
9583 if test $wxUSE_CARET = yes; then
9592 { echo "$as_me:$LINENO: result
: $result" >&5
9593 echo "${ECHO_T}$result" >&6; }
9597 defaultval=$wxUSE_ALL_FEATURES
9598 if test -z "$defaultval"; then
9599 if test x"$enablestring" = xdisable; then
9606 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checkbox" >&5
9607 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
9608 # Check whether --enable-checkbox was given.
9609 if test "${enable_checkbox+set}" = set; then
9610 enableval=$enable_checkbox;
9611 if test "$enableval" = yes; then
9612 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9614 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9619 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9624 eval "$wx_cv_use_checkbox"
9626 if test x
"$enablestring" = xdisable
; then
9627 if test $wxUSE_CHECKBOX = yes; then
9633 result
=$wxUSE_CHECKBOX
9636 { echo "$as_me:$LINENO: result: $result" >&5
9637 echo "${ECHO_T}$result" >&6; }
9641 defaultval
=$wxUSE_ALL_FEATURES
9642 if test -z "$defaultval"; then
9643 if test x
"$enablestring" = xdisable
; then
9650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9651 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9652 # Check whether --enable-checklst was given.
9653 if test "${enable_checklst+set}" = set; then
9654 enableval
=$enable_checklst;
9655 if test "$enableval" = yes; then
9656 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
9658 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
9663 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9668 eval "$wx_cv_use_checklst"
9670 if test x"$enablestring" = xdisable; then
9671 if test $wxUSE_CHECKLST = yes; then
9677 result=$wxUSE_CHECKLST
9680 { echo "$as_me:$LINENO: result: $result" >&5
9681 echo "${ECHO_T}$result" >&6; }
9685 defaultval=$wxUSE_ALL_FEATURES
9686 if test -z "$defaultval"; then
9687 if test x"$enablestring" = xdisable; then
9694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9695 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9696 # Check whether --enable-choice was given.
9697 if test "${enable_choice+set}" = set; then
9698 enableval=$enable_choice;
9699 if test "$enableval" = yes; then
9700 wx_cv_use_choice='wxUSE_CHOICE
=yes'
9702 wx_cv_use_choice='wxUSE_CHOICE
=no
'
9707 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9712 eval "$wx_cv_use_choice"
9714 if test x"$enablestring" = xdisable; then
9715 if test $wxUSE_CHOICE = yes; then
9721 result=$wxUSE_CHOICE
9724 { echo "$as_me:$LINENO: result
: $result" >&5
9725 echo "${ECHO_T}$result" >&6; }
9729 defaultval=$wxUSE_ALL_FEATURES
9730 if test -z "$defaultval"; then
9731 if test x"$enablestring" = xdisable; then
9738 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicebook" >&5
9739 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
9740 # Check whether --enable-choicebook was given.
9741 if test "${enable_choicebook+set}" = set; then
9742 enableval=$enable_choicebook;
9743 if test "$enableval" = yes; then
9744 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9746 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9751 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9756 eval "$wx_cv_use_choicebook"
9758 if test x
"$enablestring" = xdisable
; then
9759 if test $wxUSE_CHOICEBOOK = yes; then
9765 result
=$wxUSE_CHOICEBOOK
9768 { echo "$as_me:$LINENO: result: $result" >&5
9769 echo "${ECHO_T}$result" >&6; }
9773 defaultval
=$wxUSE_ALL_FEATURES
9774 if test -z "$defaultval"; then
9775 if test x
"$enablestring" = xdisable
; then
9782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9783 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9784 # Check whether --enable-collpane was given.
9785 if test "${enable_collpane+set}" = set; then
9786 enableval
=$enable_collpane;
9787 if test "$enableval" = yes; then
9788 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
9790 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
9795 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9800 eval "$wx_cv_use_collpane"
9802 if test x"$enablestring" = xdisable; then
9803 if test $wxUSE_COLLPANE = yes; then
9809 result=$wxUSE_COLLPANE
9812 { echo "$as_me:$LINENO: result: $result" >&5
9813 echo "${ECHO_T}$result" >&6; }
9817 defaultval=$wxUSE_ALL_FEATURES
9818 if test -z "$defaultval"; then
9819 if test x"$enablestring" = xdisable; then
9826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9827 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9828 # Check whether --enable-colourpicker was given.
9829 if test "${enable_colourpicker+set}" = set; then
9830 enableval=$enable_colourpicker;
9831 if test "$enableval" = yes; then
9832 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
9834 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
9839 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
9844 eval "$wx_cv_use_colourpicker"
9846 if test x"$enablestring" = xdisable; then
9847 if test $wxUSE_COLOURPICKERCTRL = yes; then
9853 result=$wxUSE_COLOURPICKERCTRL
9856 { echo "$as_me:$LINENO: result
: $result" >&5
9857 echo "${ECHO_T}$result" >&6; }
9861 defaultval=$wxUSE_ALL_FEATURES
9862 if test -z "$defaultval"; then
9863 if test x"$enablestring" = xdisable; then
9870 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-combobox" >&5
9871 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
9872 # Check whether --enable-combobox was given.
9873 if test "${enable_combobox+set}" = set; then
9874 enableval=$enable_combobox;
9875 if test "$enableval" = yes; then
9876 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
9878 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
9883 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
9888 eval "$wx_cv_use_combobox"
9890 if test x
"$enablestring" = xdisable
; then
9891 if test $wxUSE_COMBOBOX = yes; then
9897 result
=$wxUSE_COMBOBOX
9900 { echo "$as_me:$LINENO: result: $result" >&5
9901 echo "${ECHO_T}$result" >&6; }
9905 defaultval
=$wxUSE_ALL_FEATURES
9906 if test -z "$defaultval"; then
9907 if test x
"$enablestring" = xdisable
; then
9914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9915 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9916 # Check whether --enable-comboctrl was given.
9917 if test "${enable_comboctrl+set}" = set; then
9918 enableval
=$enable_comboctrl;
9919 if test "$enableval" = yes; then
9920 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
9922 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
9927 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
9932 eval "$wx_cv_use_comboctrl"
9934 if test x"$enablestring" = xdisable; then
9935 if test $wxUSE_COMBOCTRL = yes; then
9941 result=$wxUSE_COMBOCTRL
9944 { echo "$as_me:$LINENO: result: $result" >&5
9945 echo "${ECHO_T}$result" >&6; }
9949 defaultval=$wxUSE_ALL_FEATURES
9950 if test -z "$defaultval"; then
9951 if test x"$enablestring" = xdisable; then
9958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9959 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9960 # Check whether --enable-datepick was given.
9961 if test "${enable_datepick+set}" = set; then
9962 enableval=$enable_datepick;
9963 if test "$enableval" = yes; then
9964 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
9966 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
9971 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
9976 eval "$wx_cv_use_datepick"
9978 if test x"$enablestring" = xdisable; then
9979 if test $wxUSE_DATEPICKCTRL = yes; then
9985 result=$wxUSE_DATEPICKCTRL
9988 { echo "$as_me:$LINENO: result
: $result" >&5
9989 echo "${ECHO_T}$result" >&6; }
9993 defaultval=$wxUSE_ALL_FEATURES
9994 if test -z "$defaultval"; then
9995 if test x"$enablestring" = xdisable; then
10002 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirpicker" >&5
10003 echo $ECHO_N "checking
for --${enablestring:-enable}-dirpicker...
$ECHO_C" >&6; }
10004 # Check whether --enable-dirpicker was given.
10005 if test "${enable_dirpicker+set}" = set; then
10006 enableval=$enable_dirpicker;
10007 if test "$enableval" = yes; then
10008 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10010 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10015 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10020 eval "$wx_cv_use_dirpicker"
10022 if test x
"$enablestring" = xdisable
; then
10023 if test $wxUSE_DIRPICKERCTRL = yes; then
10029 result
=$wxUSE_DIRPICKERCTRL
10032 { echo "$as_me:$LINENO: result: $result" >&5
10033 echo "${ECHO_T}$result" >&6; }
10037 defaultval
=$wxUSE_ALL_FEATURES
10038 if test -z "$defaultval"; then
10039 if test x
"$enablestring" = xdisable
; then
10046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10047 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10048 # Check whether --enable-display was given.
10049 if test "${enable_display+set}" = set; then
10050 enableval
=$enable_display;
10051 if test "$enableval" = yes; then
10052 wx_cv_use_display
='wxUSE_DISPLAY=yes'
10054 wx_cv_use_display
='wxUSE_DISPLAY=no'
10059 wx_cv_use_display
='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10064 eval "$wx_cv_use_display"
10066 if test x"$enablestring" = xdisable; then
10067 if test $wxUSE_DISPLAY = yes; then
10073 result=$wxUSE_DISPLAY
10076 { echo "$as_me:$LINENO: result: $result" >&5
10077 echo "${ECHO_T}$result" >&6; }
10081 defaultval=$wxUSE_ALL_FEATURES
10082 if test -z "$defaultval"; then
10083 if test x"$enablestring" = xdisable; then
10090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10091 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10092 # Check whether --enable-detect_sm was given.
10093 if test "${enable_detect_sm+set}" = set; then
10094 enableval=$enable_detect_sm;
10095 if test "$enableval" = yes; then
10096 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
10098 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
10103 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10108 eval "$wx_cv_use_detect_sm"
10110 if test x"$enablestring" = xdisable; then
10111 if test $wxUSE_DETECT_SM = yes; then
10117 result=$wxUSE_DETECT_SM
10120 { echo "$as_me:$LINENO: result
: $result" >&5
10121 echo "${ECHO_T}$result" >&6; }
10125 defaultval=$wxUSE_ALL_FEATURES
10126 if test -z "$defaultval"; then
10127 if test x"$enablestring" = xdisable; then
10134 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-editablebox" >&5
10135 echo $ECHO_N "checking
for --${enablestring:-enable}-editablebox...
$ECHO_C" >&6; }
10136 # Check whether --enable-editablebox was given.
10137 if test "${enable_editablebox+set}" = set; then
10138 enableval=$enable_editablebox;
10139 if test "$enableval" = yes; then
10140 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10142 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10147 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10152 eval "$wx_cv_use_editablebox"
10154 if test x
"$enablestring" = xdisable
; then
10155 if test $wxUSE_EDITABLELISTBOX = yes; then
10161 result
=$wxUSE_EDITABLELISTBOX
10164 { echo "$as_me:$LINENO: result: $result" >&5
10165 echo "${ECHO_T}$result" >&6; }
10169 defaultval
=$wxUSE_ALL_FEATURES
10170 if test -z "$defaultval"; then
10171 if test x
"$enablestring" = xdisable
; then
10178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10179 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10180 # Check whether --enable-filepicker was given.
10181 if test "${enable_filepicker+set}" = set; then
10182 enableval
=$enable_filepicker;
10183 if test "$enableval" = yes; then
10184 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
10186 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
10191 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10196 eval "$wx_cv_use_filepicker"
10198 if test x"$enablestring" = xdisable; then
10199 if test $wxUSE_FILEPICKERCTRL = yes; then
10205 result=$wxUSE_FILEPICKERCTRL
10208 { echo "$as_me:$LINENO: result: $result" >&5
10209 echo "${ECHO_T}$result" >&6; }
10213 defaultval=$wxUSE_ALL_FEATURES
10214 if test -z "$defaultval"; then
10215 if test x"$enablestring" = xdisable; then
10222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10223 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10224 # Check whether --enable-filectrl was given.
10225 if test "${enable_filectrl+set}" = set; then
10226 enableval=$enable_filectrl;
10227 if test "$enableval" = yes; then
10228 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
10230 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
10235 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10240 eval "$wx_cv_use_filectrl"
10242 if test x"$enablestring" = xdisable; then
10243 if test $wxUSE_FILECTRL = yes; then
10249 result=$wxUSE_FILECTRL
10252 { echo "$as_me:$LINENO: result
: $result" >&5
10253 echo "${ECHO_T}$result" >&6; }
10257 defaultval=$wxUSE_ALL_FEATURES
10258 if test -z "$defaultval"; then
10259 if test x"$enablestring" = xdisable; then
10266 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontpicker" >&5
10267 echo $ECHO_N "checking
for --${enablestring:-enable}-fontpicker...
$ECHO_C" >&6; }
10268 # Check whether --enable-fontpicker was given.
10269 if test "${enable_fontpicker+set}" = set; then
10270 enableval=$enable_fontpicker;
10271 if test "$enableval" = yes; then
10272 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10274 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10279 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10284 eval "$wx_cv_use_fontpicker"
10286 if test x
"$enablestring" = xdisable
; then
10287 if test $wxUSE_FONTPICKERCTRL = yes; then
10293 result
=$wxUSE_FONTPICKERCTRL
10296 { echo "$as_me:$LINENO: result: $result" >&5
10297 echo "${ECHO_T}$result" >&6; }
10301 defaultval
=$wxUSE_ALL_FEATURES
10302 if test -z "$defaultval"; then
10303 if test x
"$enablestring" = xdisable
; then
10310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10311 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10312 # Check whether --enable-gauge was given.
10313 if test "${enable_gauge+set}" = set; then
10314 enableval
=$enable_gauge;
10315 if test "$enableval" = yes; then
10316 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
10318 wx_cv_use_gauge
='wxUSE_GAUGE=no'
10323 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10328 eval "$wx_cv_use_gauge"
10330 if test x"$enablestring" = xdisable; then
10331 if test $wxUSE_GAUGE = yes; then
10337 result=$wxUSE_GAUGE
10340 { echo "$as_me:$LINENO: result: $result" >&5
10341 echo "${ECHO_T}$result" >&6; }
10345 defaultval=$wxUSE_ALL_FEATURES
10346 if test -z "$defaultval"; then
10347 if test x"$enablestring" = xdisable; then
10354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10355 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10356 # Check whether --enable-grid was given.
10357 if test "${enable_grid+set}" = set; then
10358 enableval=$enable_grid;
10359 if test "$enableval" = yes; then
10360 wx_cv_use_grid='wxUSE_GRID
=yes'
10362 wx_cv_use_grid='wxUSE_GRID
=no
'
10367 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10372 eval "$wx_cv_use_grid"
10374 if test x"$enablestring" = xdisable; then
10375 if test $wxUSE_GRID = yes; then
10384 { echo "$as_me:$LINENO: result
: $result" >&5
10385 echo "${ECHO_T}$result" >&6; }
10389 defaultval=$wxUSE_ALL_FEATURES
10390 if test -z "$defaultval"; then
10391 if test x"$enablestring" = xdisable; then
10398 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataviewctrl" >&5
10399 echo $ECHO_N "checking
for --${enablestring:-enable}-dataviewctrl...
$ECHO_C" >&6; }
10400 # Check whether --enable-dataviewctrl was given.
10401 if test "${enable_dataviewctrl+set}" = set; then
10402 enableval=$enable_dataviewctrl;
10403 if test "$enableval" = yes; then
10404 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10406 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10411 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10416 eval "$wx_cv_use_dataviewctrl"
10418 if test x
"$enablestring" = xdisable
; then
10419 if test $wxUSE_DATAVIEWCTRL = yes; then
10425 result
=$wxUSE_DATAVIEWCTRL
10428 { echo "$as_me:$LINENO: result: $result" >&5
10429 echo "${ECHO_T}$result" >&6; }
10433 defaultval
=$wxUSE_ALL_FEATURES
10434 if test -z "$defaultval"; then
10435 if test x
"$enablestring" = xdisable
; then
10442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10443 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10444 # Check whether --enable-hyperlink was given.
10445 if test "${enable_hyperlink+set}" = set; then
10446 enableval
=$enable_hyperlink;
10447 if test "$enableval" = yes; then
10448 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
10450 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
10455 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10460 eval "$wx_cv_use_hyperlink"
10462 if test x"$enablestring" = xdisable; then
10463 if test $wxUSE_HYPERLINKCTRL = yes; then
10469 result=$wxUSE_HYPERLINKCTRL
10472 { echo "$as_me:$LINENO: result: $result" >&5
10473 echo "${ECHO_T}$result" >&6; }
10477 defaultval=$wxUSE_ALL_FEATURES
10478 if test -z "$defaultval"; then
10479 if test x"$enablestring" = xdisable; then
10486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10487 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10488 # Check whether --enable-imaglist was given.
10489 if test "${enable_imaglist+set}" = set; then
10490 enableval=$enable_imaglist;
10491 if test "$enableval" = yes; then
10492 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
10494 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
10499 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10504 eval "$wx_cv_use_imaglist"
10506 if test x"$enablestring" = xdisable; then
10507 if test $wxUSE_IMAGLIST = yes; then
10513 result=$wxUSE_IMAGLIST
10516 { echo "$as_me:$LINENO: result
: $result" >&5
10517 echo "${ECHO_T}$result" >&6; }
10521 defaultval=$wxUSE_ALL_FEATURES
10522 if test -z "$defaultval"; then
10523 if test x"$enablestring" = xdisable; then
10530 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbook" >&5
10531 echo $ECHO_N "checking
for --${enablestring:-enable}-listbook...
$ECHO_C" >&6; }
10532 # Check whether --enable-listbook was given.
10533 if test "${enable_listbook+set}" = set; then
10534 enableval=$enable_listbook;
10535 if test "$enableval" = yes; then
10536 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10538 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10543 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10548 eval "$wx_cv_use_listbook"
10550 if test x
"$enablestring" = xdisable
; then
10551 if test $wxUSE_LISTBOOK = yes; then
10557 result
=$wxUSE_LISTBOOK
10560 { echo "$as_me:$LINENO: result: $result" >&5
10561 echo "${ECHO_T}$result" >&6; }
10565 defaultval
=$wxUSE_ALL_FEATURES
10566 if test -z "$defaultval"; then
10567 if test x
"$enablestring" = xdisable
; then
10574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10575 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10576 # Check whether --enable-listbox was given.
10577 if test "${enable_listbox+set}" = set; then
10578 enableval
=$enable_listbox;
10579 if test "$enableval" = yes; then
10580 wx_cv_use_listbox
='wxUSE_LISTBOX=yes'
10582 wx_cv_use_listbox
='wxUSE_LISTBOX=no'
10587 wx_cv_use_listbox
='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10592 eval "$wx_cv_use_listbox"
10594 if test x"$enablestring" = xdisable; then
10595 if test $wxUSE_LISTBOX = yes; then
10601 result=$wxUSE_LISTBOX
10604 { echo "$as_me:$LINENO: result: $result" >&5
10605 echo "${ECHO_T}$result" >&6; }
10609 defaultval=$wxUSE_ALL_FEATURES
10610 if test -z "$defaultval"; then
10611 if test x"$enablestring" = xdisable; then
10618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10619 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10620 # Check whether --enable-listctrl was given.
10621 if test "${enable_listctrl+set}" = set; then
10622 enableval=$enable_listctrl;
10623 if test "$enableval" = yes; then
10624 wx_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
10626 wx_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
10631 wx_cv_use_listctrl='wxUSE_LISTCTRL
=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10636 eval "$wx_cv_use_listctrl"
10638 if test x"$enablestring" = xdisable; then
10639 if test $wxUSE_LISTCTRL = yes; then
10645 result=$wxUSE_LISTCTRL
10648 { echo "$as_me:$LINENO: result
: $result" >&5
10649 echo "${ECHO_T}$result" >&6; }
10653 defaultval=$wxUSE_ALL_FEATURES
10654 if test -z "$defaultval"; then
10655 if test x"$enablestring" = xdisable; then
10662 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notebook" >&5
10663 echo $ECHO_N "checking
for --${enablestring:-enable}-notebook...
$ECHO_C" >&6; }
10664 # Check whether --enable-notebook was given.
10665 if test "${enable_notebook+set}" = set; then
10666 enableval=$enable_notebook;
10667 if test "$enableval" = yes; then
10668 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10670 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10675 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10680 eval "$wx_cv_use_notebook"
10682 if test x
"$enablestring" = xdisable
; then
10683 if test $wxUSE_NOTEBOOK = yes; then
10689 result
=$wxUSE_NOTEBOOK
10692 { echo "$as_me:$LINENO: result: $result" >&5
10693 echo "${ECHO_T}$result" >&6; }
10697 defaultval
=$wxUSE_ALL_FEATURES
10698 if test -z "$defaultval"; then
10699 if test x
"$enablestring" = xdisable
; then
10706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10707 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10708 # Check whether --enable-notifmsg was given.
10709 if test "${enable_notifmsg+set}" = set; then
10710 enableval
=$enable_notifmsg;
10711 if test "$enableval" = yes; then
10712 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=yes'
10714 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=no'
10719 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10724 eval "$wx_cv_use_notifmsg"
10726 if test x"$enablestring" = xdisable; then
10727 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10733 result=$wxUSE_NOTIFICATION_MESSAGE
10736 { echo "$as_me:$LINENO: result: $result" >&5
10737 echo "${ECHO_T}$result" >&6; }
10741 defaultval=$wxUSE_ALL_FEATURES
10742 if test -z "$defaultval"; then
10743 if test x"$enablestring" = xdisable; then
10750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10751 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10752 # Check whether --enable-odcombobox was given.
10753 if test "${enable_odcombobox+set}" = set; then
10754 enableval=$enable_odcombobox;
10755 if test "$enableval" = yes; then
10756 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
10758 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
10763 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10768 eval "$wx_cv_use_odcombobox"
10770 if test x"$enablestring" = xdisable; then
10771 if test $wxUSE_ODCOMBOBOX = yes; then
10777 result=$wxUSE_ODCOMBOBOX
10780 { echo "$as_me:$LINENO: result
: $result" >&5
10781 echo "${ECHO_T}$result" >&6; }
10785 defaultval=$wxUSE_ALL_FEATURES
10786 if test -z "$defaultval"; then
10787 if test x"$enablestring" = xdisable; then
10794 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobox" >&5
10795 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobox...
$ECHO_C" >&6; }
10796 # Check whether --enable-radiobox was given.
10797 if test "${enable_radiobox+set}" = set; then
10798 enableval=$enable_radiobox;
10799 if test "$enableval" = yes; then
10800 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10802 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
10807 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
10812 eval "$wx_cv_use_radiobox"
10814 if test x
"$enablestring" = xdisable
; then
10815 if test $wxUSE_RADIOBOX = yes; then
10821 result
=$wxUSE_RADIOBOX
10824 { echo "$as_me:$LINENO: result: $result" >&5
10825 echo "${ECHO_T}$result" >&6; }
10829 defaultval
=$wxUSE_ALL_FEATURES
10830 if test -z "$defaultval"; then
10831 if test x
"$enablestring" = xdisable
; then
10838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10839 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10840 # Check whether --enable-radiobtn was given.
10841 if test "${enable_radiobtn+set}" = set; then
10842 enableval
=$enable_radiobtn;
10843 if test "$enableval" = yes; then
10844 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
10846 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
10851 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
10856 eval "$wx_cv_use_radiobtn"
10858 if test x"$enablestring" = xdisable; then
10859 if test $wxUSE_RADIOBTN = yes; then
10865 result=$wxUSE_RADIOBTN
10868 { echo "$as_me:$LINENO: result: $result" >&5
10869 echo "${ECHO_T}$result" >&6; }
10873 defaultval=$wxUSE_ALL_FEATURES
10874 if test -z "$defaultval"; then
10875 if test x"$enablestring" = xdisable; then
10882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10883 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10884 # Check whether --enable-sash was given.
10885 if test "${enable_sash+set}" = set; then
10886 enableval=$enable_sash;
10887 if test "$enableval" = yes; then
10888 wx_cv_use_sash='wxUSE_SASH
=yes'
10890 wx_cv_use_sash='wxUSE_SASH
=no
'
10895 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
10900 eval "$wx_cv_use_sash"
10902 if test x"$enablestring" = xdisable; then
10903 if test $wxUSE_SASH = yes; then
10912 { echo "$as_me:$LINENO: result
: $result" >&5
10913 echo "${ECHO_T}$result" >&6; }
10917 defaultval=$wxUSE_ALL_FEATURES
10918 if test -z "$defaultval"; then
10919 if test x"$enablestring" = xdisable; then
10926 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-scrollbar" >&5
10927 echo $ECHO_N "checking
for --${enablestring:-enable}-scrollbar...
$ECHO_C" >&6; }
10928 # Check whether --enable-scrollbar was given.
10929 if test "${enable_scrollbar+set}" = set; then
10930 enableval=$enable_scrollbar;
10931 if test "$enableval" = yes; then
10932 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10934 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10939 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
10944 eval "$wx_cv_use_scrollbar"
10946 if test x
"$enablestring" = xdisable
; then
10947 if test $wxUSE_SCROLLBAR = yes; then
10953 result
=$wxUSE_SCROLLBAR
10956 { echo "$as_me:$LINENO: result: $result" >&5
10957 echo "${ECHO_T}$result" >&6; }
10961 defaultval
=$wxUSE_ALL_FEATURES
10962 if test -z "$defaultval"; then
10963 if test x
"$enablestring" = xdisable
; then
10970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10971 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10972 # Check whether --enable-searchctrl was given.
10973 if test "${enable_searchctrl+set}" = set; then
10974 enableval
=$enable_searchctrl;
10975 if test "$enableval" = yes; then
10976 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
10978 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
10983 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
10988 eval "$wx_cv_use_searchctrl"
10990 if test x"$enablestring" = xdisable; then
10991 if test $wxUSE_SEARCHCTRL = yes; then
10997 result=$wxUSE_SEARCHCTRL
11000 { echo "$as_me:$LINENO: result: $result" >&5
11001 echo "${ECHO_T}$result" >&6; }
11005 defaultval=$wxUSE_ALL_FEATURES
11006 if test -z "$defaultval"; then
11007 if test x"$enablestring" = xdisable; then
11014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11015 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11016 # Check whether --enable-slider was given.
11017 if test "${enable_slider+set}" = set; then
11018 enableval=$enable_slider;
11019 if test "$enableval" = yes; then
11020 wx_cv_use_slider='wxUSE_SLIDER
=yes'
11022 wx_cv_use_slider='wxUSE_SLIDER
=no
'
11027 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11032 eval "$wx_cv_use_slider"
11034 if test x"$enablestring" = xdisable; then
11035 if test $wxUSE_SLIDER = yes; then
11041 result=$wxUSE_SLIDER
11044 { echo "$as_me:$LINENO: result
: $result" >&5
11045 echo "${ECHO_T}$result" >&6; }
11049 defaultval=$wxUSE_ALL_FEATURES
11050 if test -z "$defaultval"; then
11051 if test x"$enablestring" = xdisable; then
11058 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinbtn" >&5
11059 echo $ECHO_N "checking
for --${enablestring:-enable}-spinbtn...
$ECHO_C" >&6; }
11060 # Check whether --enable-spinbtn was given.
11061 if test "${enable_spinbtn+set}" = set; then
11062 enableval=$enable_spinbtn;
11063 if test "$enableval" = yes; then
11064 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11066 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11071 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11076 eval "$wx_cv_use_spinbtn"
11078 if test x
"$enablestring" = xdisable
; then
11079 if test $wxUSE_SPINBTN = yes; then
11085 result
=$wxUSE_SPINBTN
11088 { echo "$as_me:$LINENO: result: $result" >&5
11089 echo "${ECHO_T}$result" >&6; }
11093 defaultval
=$wxUSE_ALL_FEATURES
11094 if test -z "$defaultval"; then
11095 if test x
"$enablestring" = xdisable
; then
11102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11103 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11104 # Check whether --enable-spinctrl was given.
11105 if test "${enable_spinctrl+set}" = set; then
11106 enableval
=$enable_spinctrl;
11107 if test "$enableval" = yes; then
11108 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
11110 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
11115 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11120 eval "$wx_cv_use_spinctrl"
11122 if test x"$enablestring" = xdisable; then
11123 if test $wxUSE_SPINCTRL = yes; then
11129 result=$wxUSE_SPINCTRL
11132 { echo "$as_me:$LINENO: result: $result" >&5
11133 echo "${ECHO_T}$result" >&6; }
11137 defaultval=$wxUSE_ALL_FEATURES
11138 if test -z "$defaultval"; then
11139 if test x"$enablestring" = xdisable; then
11146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11147 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11148 # Check whether --enable-splitter was given.
11149 if test "${enable_splitter+set}" = set; then
11150 enableval=$enable_splitter;
11151 if test "$enableval" = yes; then
11152 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
11154 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
11159 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11164 eval "$wx_cv_use_splitter"
11166 if test x"$enablestring" = xdisable; then
11167 if test $wxUSE_SPLITTER = yes; then
11173 result=$wxUSE_SPLITTER
11176 { echo "$as_me:$LINENO: result
: $result" >&5
11177 echo "${ECHO_T}$result" >&6; }
11181 defaultval=$wxUSE_ALL_FEATURES
11182 if test -z "$defaultval"; then
11183 if test x"$enablestring" = xdisable; then
11190 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbmp" >&5
11191 echo $ECHO_N "checking
for --${enablestring:-enable}-statbmp...
$ECHO_C" >&6; }
11192 # Check whether --enable-statbmp was given.
11193 if test "${enable_statbmp+set}" = set; then
11194 enableval=$enable_statbmp;
11195 if test "$enableval" = yes; then
11196 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11198 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11203 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11208 eval "$wx_cv_use_statbmp"
11210 if test x
"$enablestring" = xdisable
; then
11211 if test $wxUSE_STATBMP = yes; then
11217 result
=$wxUSE_STATBMP
11220 { echo "$as_me:$LINENO: result: $result" >&5
11221 echo "${ECHO_T}$result" >&6; }
11225 defaultval
=$wxUSE_ALL_FEATURES
11226 if test -z "$defaultval"; then
11227 if test x
"$enablestring" = xdisable
; then
11234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11235 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11236 # Check whether --enable-statbox was given.
11237 if test "${enable_statbox+set}" = set; then
11238 enableval
=$enable_statbox;
11239 if test "$enableval" = yes; then
11240 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
11242 wx_cv_use_statbox
='wxUSE_STATBOX=no'
11247 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11252 eval "$wx_cv_use_statbox"
11254 if test x"$enablestring" = xdisable; then
11255 if test $wxUSE_STATBOX = yes; then
11261 result=$wxUSE_STATBOX
11264 { echo "$as_me:$LINENO: result: $result" >&5
11265 echo "${ECHO_T}$result" >&6; }
11269 defaultval=$wxUSE_ALL_FEATURES
11270 if test -z "$defaultval"; then
11271 if test x"$enablestring" = xdisable; then
11278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11279 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11280 # Check whether --enable-statline was given.
11281 if test "${enable_statline+set}" = set; then
11282 enableval=$enable_statline;
11283 if test "$enableval" = yes; then
11284 wx_cv_use_statline='wxUSE_STATLINE
=yes'
11286 wx_cv_use_statline='wxUSE_STATLINE
=no
'
11291 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11296 eval "$wx_cv_use_statline"
11298 if test x"$enablestring" = xdisable; then
11299 if test $wxUSE_STATLINE = yes; then
11305 result=$wxUSE_STATLINE
11308 { echo "$as_me:$LINENO: result
: $result" >&5
11309 echo "${ECHO_T}$result" >&6; }
11313 defaultval=$wxUSE_ALL_FEATURES
11314 if test -z "$defaultval"; then
11315 if test x"$enablestring" = xdisable; then
11322 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stattext" >&5
11323 echo $ECHO_N "checking
for --${enablestring:-enable}-stattext...
$ECHO_C" >&6; }
11324 # Check whether --enable-stattext was given.
11325 if test "${enable_stattext+set}" = set; then
11326 enableval=$enable_stattext;
11327 if test "$enableval" = yes; then
11328 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11330 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11335 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11340 eval "$wx_cv_use_stattext"
11342 if test x
"$enablestring" = xdisable
; then
11343 if test $wxUSE_STATTEXT = yes; then
11349 result
=$wxUSE_STATTEXT
11352 { echo "$as_me:$LINENO: result: $result" >&5
11353 echo "${ECHO_T}$result" >&6; }
11357 defaultval
=$wxUSE_ALL_FEATURES
11358 if test -z "$defaultval"; then
11359 if test x
"$enablestring" = xdisable
; then
11366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11367 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11368 # Check whether --enable-statusbar was given.
11369 if test "${enable_statusbar+set}" = set; then
11370 enableval
=$enable_statusbar;
11371 if test "$enableval" = yes; then
11372 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
11374 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
11379 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11384 eval "$wx_cv_use_statusbar"
11386 if test x"$enablestring" = xdisable; then
11387 if test $wxUSE_STATUSBAR = yes; then
11393 result=$wxUSE_STATUSBAR
11396 { echo "$as_me:$LINENO: result: $result" >&5
11397 echo "${ECHO_T}$result" >&6; }
11401 defaultval=$wxUSE_ALL_FEATURES
11402 if test -z "$defaultval"; then
11403 if test x"$enablestring" = xdisable; then
11410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11411 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11412 # Check whether --enable-tabdialog was given.
11413 if test "${enable_tabdialog+set}" = set; then
11414 enableval=$enable_tabdialog;
11415 if test "$enableval" = yes; then
11416 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=yes'
11418 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=no
'
11423 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11428 eval "$wx_cv_use_tabdialog"
11430 if test x"$enablestring" = xdisable; then
11431 if test $wxUSE_TAB_DIALOG = yes; then
11437 result=$wxUSE_TAB_DIALOG
11440 { echo "$as_me:$LINENO: result
: $result" >&5
11441 echo "${ECHO_T}$result" >&6; }
11445 defaultval=$wxUSE_ALL_FEATURES
11446 if test -z "$defaultval"; then
11447 if test x"$enablestring" = xdisable; then
11454 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-taskbaricon" >&5
11455 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6; }
11456 # Check whether --enable-taskbaricon was given.
11457 if test "${enable_taskbaricon+set}" = set; then
11458 enableval=$enable_taskbaricon;
11459 if test "$enableval" = yes; then
11460 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11462 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11467 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11472 eval "$wx_cv_use_taskbaricon"
11474 if test x
"$enablestring" = xdisable
; then
11475 if test $wxUSE_TASKBARICON = yes; then
11481 result
=$wxUSE_TASKBARICON
11484 { echo "$as_me:$LINENO: result: $result" >&5
11485 echo "${ECHO_T}$result" >&6; }
11489 defaultval
=$wxUSE_ALL_FEATURES
11490 if test -z "$defaultval"; then
11491 if test x
"$enablestring" = xdisable
; then
11498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11499 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11500 # Check whether --enable-textctrl was given.
11501 if test "${enable_textctrl+set}" = set; then
11502 enableval
=$enable_textctrl;
11503 if test "$enableval" = yes; then
11504 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
11506 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
11511 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11516 eval "$wx_cv_use_textctrl"
11518 if test x"$enablestring" = xdisable; then
11519 if test $wxUSE_TEXTCTRL = yes; then
11525 result=$wxUSE_TEXTCTRL
11528 { echo "$as_me:$LINENO: result: $result" >&5
11529 echo "${ECHO_T}$result" >&6; }
11533 defaultval=$wxUSE_ALL_FEATURES
11534 if test -z "$defaultval"; then
11535 if test x"$enablestring" = xdisable; then
11542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11543 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11544 # Check whether --enable-togglebtn was given.
11545 if test "${enable_togglebtn+set}" = set; then
11546 enableval=$enable_togglebtn;
11547 if test "$enableval" = yes; then
11548 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
11550 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
11555 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11560 eval "$wx_cv_use_togglebtn"
11562 if test x"$enablestring" = xdisable; then
11563 if test $wxUSE_TOGGLEBTN = yes; then
11569 result=$wxUSE_TOGGLEBTN
11572 { echo "$as_me:$LINENO: result
: $result" >&5
11573 echo "${ECHO_T}$result" >&6; }
11577 defaultval=$wxUSE_ALL_FEATURES
11578 if test -z "$defaultval"; then
11579 if test x"$enablestring" = xdisable; then
11586 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbar" >&5
11587 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbar...
$ECHO_C" >&6; }
11588 # Check whether --enable-toolbar was given.
11589 if test "${enable_toolbar+set}" = set; then
11590 enableval=$enable_toolbar;
11591 if test "$enableval" = yes; then
11592 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11594 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11599 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11604 eval "$wx_cv_use_toolbar"
11606 if test x
"$enablestring" = xdisable
; then
11607 if test $wxUSE_TOOLBAR = yes; then
11613 result
=$wxUSE_TOOLBAR
11616 { echo "$as_me:$LINENO: result: $result" >&5
11617 echo "${ECHO_T}$result" >&6; }
11621 defaultval
=$wxUSE_ALL_FEATURES
11622 if test -z "$defaultval"; then
11623 if test x
"$enablestring" = xdisable
; then
11630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11631 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11632 # Check whether --enable-tbarnative was given.
11633 if test "${enable_tbarnative+set}" = set; then
11634 enableval
=$enable_tbarnative;
11635 if test "$enableval" = yes; then
11636 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
11638 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
11643 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11648 eval "$wx_cv_use_tbarnative"
11650 if test x"$enablestring" = xdisable; then
11651 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11657 result=$wxUSE_TOOLBAR_NATIVE
11660 { echo "$as_me:$LINENO: result: $result" >&5
11661 echo "${ECHO_T}$result" >&6; }
11665 defaultval=$wxUSE_ALL_FEATURES
11666 if test -z "$defaultval"; then
11667 if test x"$enablestring" = xdisable; then
11674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11675 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11676 # Check whether --enable-treebook was given.
11677 if test "${enable_treebook+set}" = set; then
11678 enableval=$enable_treebook;
11679 if test "$enableval" = yes; then
11680 wx_cv_use_treebook='wxUSE_TREEBOOK
=yes'
11682 wx_cv_use_treebook='wxUSE_TREEBOOK
=no
'
11687 wx_cv_use_treebook='wxUSE_TREEBOOK
=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11692 eval "$wx_cv_use_treebook"
11694 if test x"$enablestring" = xdisable; then
11695 if test $wxUSE_TREEBOOK = yes; then
11701 result=$wxUSE_TREEBOOK
11704 { echo "$as_me:$LINENO: result
: $result" >&5
11705 echo "${ECHO_T}$result" >&6; }
11709 defaultval=$wxUSE_ALL_FEATURES
11710 if test -z "$defaultval"; then
11711 if test x"$enablestring" = xdisable; then
11718 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbook" >&5
11719 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbook...
$ECHO_C" >&6; }
11720 # Check whether --enable-toolbook was given.
11721 if test "${enable_toolbook+set}" = set; then
11722 enableval=$enable_toolbook;
11723 if test "$enableval" = yes; then
11724 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11726 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11731 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11736 eval "$wx_cv_use_toolbook"
11738 if test x
"$enablestring" = xdisable
; then
11739 if test $wxUSE_TOOLBOOK = yes; then
11745 result
=$wxUSE_TOOLBOOK
11748 { echo "$as_me:$LINENO: result: $result" >&5
11749 echo "${ECHO_T}$result" >&6; }
11753 defaultval
=$wxUSE_ALL_FEATURES
11754 if test -z "$defaultval"; then
11755 if test x
"$enablestring" = xdisable
; then
11762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11763 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11764 # Check whether --enable-treectrl was given.
11765 if test "${enable_treectrl+set}" = set; then
11766 enableval
=$enable_treectrl;
11767 if test "$enableval" = yes; then
11768 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
11770 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
11775 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11780 eval "$wx_cv_use_treectrl"
11782 if test x"$enablestring" = xdisable; then
11783 if test $wxUSE_TREECTRL = yes; then
11789 result=$wxUSE_TREECTRL
11792 { echo "$as_me:$LINENO: result: $result" >&5
11793 echo "${ECHO_T}$result" >&6; }
11797 defaultval=$wxUSE_ALL_FEATURES
11798 if test -z "$defaultval"; then
11799 if test x"$enablestring" = xdisable; then
11806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11807 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11808 # Check whether --enable-tipwindow was given.
11809 if test "${enable_tipwindow+set}" = set; then
11810 enableval=$enable_tipwindow;
11811 if test "$enableval" = yes; then
11812 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
11814 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
11819 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11824 eval "$wx_cv_use_tipwindow"
11826 if test x"$enablestring" = xdisable; then
11827 if test $wxUSE_TIPWINDOW = yes; then
11833 result=$wxUSE_TIPWINDOW
11836 { echo "$as_me:$LINENO: result
: $result" >&5
11837 echo "${ECHO_T}$result" >&6; }
11841 defaultval=$wxUSE_ALL_FEATURES
11842 if test -z "$defaultval"; then
11843 if test x"$enablestring" = xdisable; then
11850 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-popupwin" >&5
11851 echo $ECHO_N "checking
for --${enablestring:-enable}-popupwin...
$ECHO_C" >&6; }
11852 # Check whether --enable-popupwin was given.
11853 if test "${enable_popupwin+set}" = set; then
11854 enableval=$enable_popupwin;
11855 if test "$enableval" = yes; then
11856 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11858 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11863 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11868 eval "$wx_cv_use_popupwin"
11870 if test x
"$enablestring" = xdisable
; then
11871 if test $wxUSE_POPUPWIN = yes; then
11877 result
=$wxUSE_POPUPWIN
11880 { echo "$as_me:$LINENO: result: $result" >&5
11881 echo "${ECHO_T}$result" >&6; }
11887 defaultval
=$wxUSE_ALL_FEATURES
11888 if test -z "$defaultval"; then
11889 if test x
"$enablestring" = xdisable
; then
11896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11897 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11898 # Check whether --enable-commondlg was given.
11899 if test "${enable_commondlg+set}" = set; then
11900 enableval
=$enable_commondlg;
11901 if test "$enableval" = yes; then
11902 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
11904 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
11909 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
11914 eval "$wx_cv_use_commondlg"
11916 if test x"$enablestring" = xdisable; then
11917 if test $wxUSE_COMMONDLGS = yes; then
11923 result=$wxUSE_COMMONDLGS
11926 { echo "$as_me:$LINENO: result: $result" >&5
11927 echo "${ECHO_T}$result" >&6; }
11931 defaultval=$wxUSE_ALL_FEATURES
11932 if test -z "$defaultval"; then
11933 if test x"$enablestring" = xdisable; then
11940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11941 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11942 # Check whether --enable-aboutdlg was given.
11943 if test "${enable_aboutdlg+set}" = set; then
11944 enableval=$enable_aboutdlg;
11945 if test "$enableval" = yes; then
11946 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
11948 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
11953 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
11958 eval "$wx_cv_use_aboutdlg"
11960 if test x"$enablestring" = xdisable; then
11961 if test $wxUSE_ABOUTDLG = yes; then
11967 result=$wxUSE_ABOUTDLG
11970 { echo "$as_me:$LINENO: result
: $result" >&5
11971 echo "${ECHO_T}$result" >&6; }
11975 defaultval=$wxUSE_ALL_FEATURES
11976 if test -z "$defaultval"; then
11977 if test x"$enablestring" = xdisable; then
11984 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicedlg" >&5
11985 echo $ECHO_N "checking
for --${enablestring:-enable}-choicedlg...
$ECHO_C" >&6; }
11986 # Check whether --enable-choicedlg was given.
11987 if test "${enable_choicedlg+set}" = set; then
11988 enableval=$enable_choicedlg;
11989 if test "$enableval" = yes; then
11990 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11992 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11997 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12002 eval "$wx_cv_use_choicedlg"
12004 if test x
"$enablestring" = xdisable
; then
12005 if test $wxUSE_CHOICEDLG = yes; then
12011 result
=$wxUSE_CHOICEDLG
12014 { echo "$as_me:$LINENO: result: $result" >&5
12015 echo "${ECHO_T}$result" >&6; }
12019 defaultval
=$wxUSE_ALL_FEATURES
12020 if test -z "$defaultval"; then
12021 if test x
"$enablestring" = xdisable
; then
12028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12029 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12030 # Check whether --enable-coldlg was given.
12031 if test "${enable_coldlg+set}" = set; then
12032 enableval
=$enable_coldlg;
12033 if test "$enableval" = yes; then
12034 wx_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
12036 wx_cv_use_coldlg
='wxUSE_COLOURDLG=no'
12041 wx_cv_use_coldlg
='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12046 eval "$wx_cv_use_coldlg"
12048 if test x"$enablestring" = xdisable; then
12049 if test $wxUSE_COLOURDLG = yes; then
12055 result=$wxUSE_COLOURDLG
12058 { echo "$as_me:$LINENO: result: $result" >&5
12059 echo "${ECHO_T}$result" >&6; }
12063 defaultval=$wxUSE_ALL_FEATURES
12064 if test -z "$defaultval"; then
12065 if test x"$enablestring" = xdisable; then
12072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12073 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12074 # Check whether --enable-filedlg was given.
12075 if test "${enable_filedlg+set}" = set; then
12076 enableval=$enable_filedlg;
12077 if test "$enableval" = yes; then
12078 wx_cv_use_filedlg='wxUSE_FILEDLG
=yes'
12080 wx_cv_use_filedlg='wxUSE_FILEDLG
=no
'
12085 wx_cv_use_filedlg='wxUSE_FILEDLG
=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12090 eval "$wx_cv_use_filedlg"
12092 if test x"$enablestring" = xdisable; then
12093 if test $wxUSE_FILEDLG = yes; then
12099 result=$wxUSE_FILEDLG
12102 { echo "$as_me:$LINENO: result
: $result" >&5
12103 echo "${ECHO_T}$result" >&6; }
12107 defaultval=$wxUSE_ALL_FEATURES
12108 if test -z "$defaultval"; then
12109 if test x"$enablestring" = xdisable; then
12116 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-finddlg" >&5
12117 echo $ECHO_N "checking
for --${enablestring:-enable}-finddlg...
$ECHO_C" >&6; }
12118 # Check whether --enable-finddlg was given.
12119 if test "${enable_finddlg+set}" = set; then
12120 enableval=$enable_finddlg;
12121 if test "$enableval" = yes; then
12122 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12124 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12129 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12134 eval "$wx_cv_use_finddlg"
12136 if test x
"$enablestring" = xdisable
; then
12137 if test $wxUSE_FINDREPLDLG = yes; then
12143 result
=$wxUSE_FINDREPLDLG
12146 { echo "$as_me:$LINENO: result: $result" >&5
12147 echo "${ECHO_T}$result" >&6; }
12151 defaultval
=$wxUSE_ALL_FEATURES
12152 if test -z "$defaultval"; then
12153 if test x
"$enablestring" = xdisable
; then
12160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12161 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12162 # Check whether --enable-fontdlg was given.
12163 if test "${enable_fontdlg+set}" = set; then
12164 enableval
=$enable_fontdlg;
12165 if test "$enableval" = yes; then
12166 wx_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
12168 wx_cv_use_fontdlg
='wxUSE_FONTDLG=no'
12173 wx_cv_use_fontdlg
='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12178 eval "$wx_cv_use_fontdlg"
12180 if test x"$enablestring" = xdisable; then
12181 if test $wxUSE_FONTDLG = yes; then
12187 result=$wxUSE_FONTDLG
12190 { echo "$as_me:$LINENO: result: $result" >&5
12191 echo "${ECHO_T}$result" >&6; }
12195 defaultval=$wxUSE_ALL_FEATURES
12196 if test -z "$defaultval"; then
12197 if test x"$enablestring" = xdisable; then
12204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12205 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12206 # Check whether --enable-dirdlg was given.
12207 if test "${enable_dirdlg+set}" = set; then
12208 enableval=$enable_dirdlg;
12209 if test "$enableval" = yes; then
12210 wx_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
12212 wx_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
12217 wx_cv_use_dirdlg='wxUSE_DIRDLG
=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12222 eval "$wx_cv_use_dirdlg"
12224 if test x"$enablestring" = xdisable; then
12225 if test $wxUSE_DIRDLG = yes; then
12231 result=$wxUSE_DIRDLG
12234 { echo "$as_me:$LINENO: result
: $result" >&5
12235 echo "${ECHO_T}$result" >&6; }
12239 defaultval=$wxUSE_ALL_FEATURES
12240 if test -z "$defaultval"; then
12241 if test x"$enablestring" = xdisable; then
12248 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-msgdlg" >&5
12249 echo $ECHO_N "checking
for --${enablestring:-enable}-msgdlg...
$ECHO_C" >&6; }
12250 # Check whether --enable-msgdlg was given.
12251 if test "${enable_msgdlg+set}" = set; then
12252 enableval=$enable_msgdlg;
12253 if test "$enableval" = yes; then
12254 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12256 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12261 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12266 eval "$wx_cv_use_msgdlg"
12268 if test x
"$enablestring" = xdisable
; then
12269 if test $wxUSE_MSGDLG = yes; then
12275 result
=$wxUSE_MSGDLG
12278 { echo "$as_me:$LINENO: result: $result" >&5
12279 echo "${ECHO_T}$result" >&6; }
12283 defaultval
=$wxUSE_ALL_FEATURES
12284 if test -z "$defaultval"; then
12285 if test x
"$enablestring" = xdisable
; then
12292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12293 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12294 # Check whether --enable-numberdlg was given.
12295 if test "${enable_numberdlg+set}" = set; then
12296 enableval
=$enable_numberdlg;
12297 if test "$enableval" = yes; then
12298 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
12300 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
12305 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12310 eval "$wx_cv_use_numberdlg"
12312 if test x"$enablestring" = xdisable; then
12313 if test $wxUSE_NUMBERDLG = yes; then
12319 result=$wxUSE_NUMBERDLG
12322 { echo "$as_me:$LINENO: result: $result" >&5
12323 echo "${ECHO_T}$result" >&6; }
12327 defaultval=$wxUSE_ALL_FEATURES
12328 if test -z "$defaultval"; then
12329 if test x"$enablestring" = xdisable; then
12336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12337 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12338 # Check whether --enable-splash was given.
12339 if test "${enable_splash+set}" = set; then
12340 enableval=$enable_splash;
12341 if test "$enableval" = yes; then
12342 wx_cv_use_splash='wxUSE_SPLASH
=yes'
12344 wx_cv_use_splash='wxUSE_SPLASH
=no
'
12349 wx_cv_use_splash='wxUSE_SPLASH
=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12354 eval "$wx_cv_use_splash"
12356 if test x"$enablestring" = xdisable; then
12357 if test $wxUSE_SPLASH = yes; then
12363 result=$wxUSE_SPLASH
12366 { echo "$as_me:$LINENO: result
: $result" >&5
12367 echo "${ECHO_T}$result" >&6; }
12371 defaultval=$wxUSE_ALL_FEATURES
12372 if test -z "$defaultval"; then
12373 if test x"$enablestring" = xdisable; then
12380 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textdlg" >&5
12381 echo $ECHO_N "checking
for --${enablestring:-enable}-textdlg...
$ECHO_C" >&6; }
12382 # Check whether --enable-textdlg was given.
12383 if test "${enable_textdlg+set}" = set; then
12384 enableval=$enable_textdlg;
12385 if test "$enableval" = yes; then
12386 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12388 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12393 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12398 eval "$wx_cv_use_textdlg"
12400 if test x
"$enablestring" = xdisable
; then
12401 if test $wxUSE_TEXTDLG = yes; then
12407 result
=$wxUSE_TEXTDLG
12410 { echo "$as_me:$LINENO: result: $result" >&5
12411 echo "${ECHO_T}$result" >&6; }
12415 defaultval
=$wxUSE_ALL_FEATURES
12416 if test -z "$defaultval"; then
12417 if test x
"$enablestring" = xdisable
; then
12424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12425 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12426 # Check whether --enable-tipdlg was given.
12427 if test "${enable_tipdlg+set}" = set; then
12428 enableval
=$enable_tipdlg;
12429 if test "$enableval" = yes; then
12430 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
12432 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
12437 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12442 eval "$wx_cv_use_tipdlg"
12444 if test x"$enablestring" = xdisable; then
12445 if test $wxUSE_STARTUP_TIPS = yes; then
12451 result=$wxUSE_STARTUP_TIPS
12454 { echo "$as_me:$LINENO: result: $result" >&5
12455 echo "${ECHO_T}$result" >&6; }
12459 defaultval=$wxUSE_ALL_FEATURES
12460 if test -z "$defaultval"; then
12461 if test x"$enablestring" = xdisable; then
12468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12469 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12470 # Check whether --enable-progressdlg was given.
12471 if test "${enable_progressdlg+set}" = set; then
12472 enableval=$enable_progressdlg;
12473 if test "$enableval" = yes; then
12474 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
12476 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
12481 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12486 eval "$wx_cv_use_progressdlg"
12488 if test x"$enablestring" = xdisable; then
12489 if test $wxUSE_PROGRESSDLG = yes; then
12495 result=$wxUSE_PROGRESSDLG
12498 { echo "$as_me:$LINENO: result
: $result" >&5
12499 echo "${ECHO_T}$result" >&6; }
12503 defaultval=$wxUSE_ALL_FEATURES
12504 if test -z "$defaultval"; then
12505 if test x"$enablestring" = xdisable; then
12512 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wizarddlg" >&5
12513 echo $ECHO_N "checking
for --${enablestring:-enable}-wizarddlg...
$ECHO_C" >&6; }
12514 # Check whether --enable-wizarddlg was given.
12515 if test "${enable_wizarddlg+set}" = set; then
12516 enableval=$enable_wizarddlg;
12517 if test "$enableval" = yes; then
12518 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12520 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12525 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12530 eval "$wx_cv_use_wizarddlg"
12532 if test x
"$enablestring" = xdisable
; then
12533 if test $wxUSE_WIZARDDLG = yes; then
12539 result
=$wxUSE_WIZARDDLG
12542 { echo "$as_me:$LINENO: result: $result" >&5
12543 echo "${ECHO_T}$result" >&6; }
12549 defaultval
=$wxUSE_ALL_FEATURES
12550 if test -z "$defaultval"; then
12551 if test x
"$enablestring" = xdisable
; then
12558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12559 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12560 # Check whether --enable-menus was given.
12561 if test "${enable_menus+set}" = set; then
12562 enableval
=$enable_menus;
12563 if test "$enableval" = yes; then
12564 wx_cv_use_menus
='wxUSE_MENUS=yes'
12566 wx_cv_use_menus
='wxUSE_MENUS=no'
12571 wx_cv_use_menus
='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12576 eval "$wx_cv_use_menus"
12578 if test x"$enablestring" = xdisable; then
12579 if test $wxUSE_MENUS = yes; then
12585 result=$wxUSE_MENUS
12588 { echo "$as_me:$LINENO: result: $result" >&5
12589 echo "${ECHO_T}$result" >&6; }
12593 defaultval=$wxUSE_ALL_FEATURES
12594 if test -z "$defaultval"; then
12595 if test x"$enablestring" = xdisable; then
12602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12603 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12604 # Check whether --enable-miniframe was given.
12605 if test "${enable_miniframe+set}" = set; then
12606 enableval=$enable_miniframe;
12607 if test "$enableval" = yes; then
12608 wx_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
12610 wx_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
12615 wx_cv_use_miniframe='wxUSE_MINIFRAME
=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12620 eval "$wx_cv_use_miniframe"
12622 if test x"$enablestring" = xdisable; then
12623 if test $wxUSE_MINIFRAME = yes; then
12629 result=$wxUSE_MINIFRAME
12632 { echo "$as_me:$LINENO: result
: $result" >&5
12633 echo "${ECHO_T}$result" >&6; }
12637 defaultval=$wxUSE_ALL_FEATURES
12638 if test -z "$defaultval"; then
12639 if test x"$enablestring" = xdisable; then
12646 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tooltips" >&5
12647 echo $ECHO_N "checking
for --${enablestring:-enable}-tooltips...
$ECHO_C" >&6; }
12648 # Check whether --enable-tooltips was given.
12649 if test "${enable_tooltips+set}" = set; then
12650 enableval=$enable_tooltips;
12651 if test "$enableval" = yes; then
12652 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12654 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12659 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12664 eval "$wx_cv_use_tooltips"
12666 if test x
"$enablestring" = xdisable
; then
12667 if test $wxUSE_TOOLTIPS = yes; then
12673 result
=$wxUSE_TOOLTIPS
12676 { echo "$as_me:$LINENO: result: $result" >&5
12677 echo "${ECHO_T}$result" >&6; }
12681 defaultval
=$wxUSE_ALL_FEATURES
12682 if test -z "$defaultval"; then
12683 if test x
"$enablestring" = xdisable
; then
12690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12691 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12692 # Check whether --enable-splines was given.
12693 if test "${enable_splines+set}" = set; then
12694 enableval
=$enable_splines;
12695 if test "$enableval" = yes; then
12696 wx_cv_use_splines
='wxUSE_SPLINES=yes'
12698 wx_cv_use_splines
='wxUSE_SPLINES=no'
12703 wx_cv_use_splines
='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12708 eval "$wx_cv_use_splines"
12710 if test x"$enablestring" = xdisable; then
12711 if test $wxUSE_SPLINES = yes; then
12717 result=$wxUSE_SPLINES
12720 { echo "$as_me:$LINENO: result: $result" >&5
12721 echo "${ECHO_T}$result" >&6; }
12725 defaultval=$wxUSE_ALL_FEATURES
12726 if test -z "$defaultval"; then
12727 if test x"$enablestring" = xdisable; then
12734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12735 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12736 # Check whether --enable-mousewheel was given.
12737 if test "${enable_mousewheel+set}" = set; then
12738 enableval=$enable_mousewheel;
12739 if test "$enableval" = yes; then
12740 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
12742 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
12747 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12752 eval "$wx_cv_use_mousewheel"
12754 if test x"$enablestring" = xdisable; then
12755 if test $wxUSE_MOUSEWHEEL = yes; then
12761 result=$wxUSE_MOUSEWHEEL
12764 { echo "$as_me:$LINENO: result
: $result" >&5
12765 echo "${ECHO_T}$result" >&6; }
12769 defaultval=$wxUSE_ALL_FEATURES
12770 if test -z "$defaultval"; then
12771 if test x"$enablestring" = xdisable; then
12778 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-validators" >&5
12779 echo $ECHO_N "checking
for --${enablestring:-enable}-validators...
$ECHO_C" >&6; }
12780 # Check whether --enable-validators was given.
12781 if test "${enable_validators+set}" = set; then
12782 enableval=$enable_validators;
12783 if test "$enableval" = yes; then
12784 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
12786 wx_cv_use_validators='wxUSE_VALIDATORS=no'
12791 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12796 eval "$wx_cv_use_validators"
12798 if test x
"$enablestring" = xdisable
; then
12799 if test $wxUSE_VALIDATORS = yes; then
12805 result
=$wxUSE_VALIDATORS
12808 { echo "$as_me:$LINENO: result: $result" >&5
12809 echo "${ECHO_T}$result" >&6; }
12813 defaultval
=$wxUSE_ALL_FEATURES
12814 if test -z "$defaultval"; then
12815 if test x
"$enablestring" = xdisable
; then
12822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12823 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12824 # Check whether --enable-busyinfo was given.
12825 if test "${enable_busyinfo+set}" = set; then
12826 enableval
=$enable_busyinfo;
12827 if test "$enableval" = yes; then
12828 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
12830 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
12835 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
12840 eval "$wx_cv_use_busyinfo"
12842 if test x"$enablestring" = xdisable; then
12843 if test $wxUSE_BUSYINFO = yes; then
12849 result=$wxUSE_BUSYINFO
12852 { echo "$as_me:$LINENO: result: $result" >&5
12853 echo "${ECHO_T}$result" >&6; }
12857 defaultval=$wxUSE_ALL_FEATURES
12858 if test -z "$defaultval"; then
12859 if test x"$enablestring" = xdisable; then
12866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12867 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12868 # Check whether --enable-joystick was given.
12869 if test "${enable_joystick+set}" = set; then
12870 enableval=$enable_joystick;
12871 if test "$enableval" = yes; then
12872 wx_cv_use_joystick='wxUSE_JOYSTICK
=yes'
12874 wx_cv_use_joystick='wxUSE_JOYSTICK
=no
'
12879 wx_cv_use_joystick='wxUSE_JOYSTICK
=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
12884 eval "$wx_cv_use_joystick"
12886 if test x"$enablestring" = xdisable; then
12887 if test $wxUSE_JOYSTICK = yes; then
12893 result=$wxUSE_JOYSTICK
12896 { echo "$as_me:$LINENO: result
: $result" >&5
12897 echo "${ECHO_T}$result" >&6; }
12901 defaultval=$wxUSE_ALL_FEATURES
12902 if test -z "$defaultval"; then
12903 if test x"$enablestring" = xdisable; then
12910 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
12911 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
12912 # Check whether --enable-metafile was given.
12913 if test "${enable_metafile+set}" = set; then
12914 enableval=$enable_metafile;
12915 if test "$enableval" = yes; then
12916 wx_cv_use_metafile='wxUSE_METAFILE=yes'
12918 wx_cv_use_metafile='wxUSE_METAFILE=no'
12923 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
12928 eval "$wx_cv_use_metafile"
12930 if test x
"$enablestring" = xdisable
; then
12931 if test $wxUSE_METAFILE = yes; then
12937 result
=$wxUSE_METAFILE
12940 { echo "$as_me:$LINENO: result: $result" >&5
12941 echo "${ECHO_T}$result" >&6; }
12945 defaultval
=$wxUSE_ALL_FEATURES
12946 if test -z "$defaultval"; then
12947 if test x
"$enablestring" = xdisable
; then
12954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12955 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12956 # Check whether --enable-dragimage was given.
12957 if test "${enable_dragimage+set}" = set; then
12958 enableval
=$enable_dragimage;
12959 if test "$enableval" = yes; then
12960 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
12962 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
12967 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
12972 eval "$wx_cv_use_dragimage"
12974 if test x"$enablestring" = xdisable; then
12975 if test $wxUSE_DRAGIMAGE = yes; then
12981 result=$wxUSE_DRAGIMAGE
12984 { echo "$as_me:$LINENO: result: $result" >&5
12985 echo "${ECHO_T}$result" >&6; }
12989 defaultval=$wxUSE_ALL_FEATURES
12990 if test -z "$defaultval"; then
12991 if test x"$enablestring" = xdisable; then
12998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12999 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13000 # Check whether --enable-accessibility was given.
13001 if test "${enable_accessibility+set}" = set; then
13002 enableval=$enable_accessibility;
13003 if test "$enableval" = yes; then
13004 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
13006 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
13011 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13016 eval "$wx_cv_use_accessibility"
13018 if test x"$enablestring" = xdisable; then
13019 if test $wxUSE_ACCESSIBILITY = yes; then
13025 result=$wxUSE_ACCESSIBILITY
13028 { echo "$as_me:$LINENO: result
: $result" >&5
13029 echo "${ECHO_T}$result" >&6; }
13035 defaultval=$wxUSE_ALL_FEATURES
13036 if test -z "$defaultval"; then
13037 if test x"$enablestring" = xdisable; then
13044 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-palette" >&5
13045 echo $ECHO_N "checking
for --${enablestring:-enable}-palette...
$ECHO_C" >&6; }
13046 # Check whether --enable-palette was given.
13047 if test "${enable_palette+set}" = set; then
13048 enableval=$enable_palette;
13049 if test "$enableval" = yes; then
13050 wx_cv_use_palette='wxUSE_PALETTE=yes'
13052 wx_cv_use_palette='wxUSE_PALETTE=no'
13057 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13062 eval "$wx_cv_use_palette"
13064 if test x
"$enablestring" = xdisable
; then
13065 if test $wxUSE_PALETTE = yes; then
13071 result
=$wxUSE_PALETTE
13074 { echo "$as_me:$LINENO: result: $result" >&5
13075 echo "${ECHO_T}$result" >&6; }
13079 defaultval
=$wxUSE_ALL_FEATURES
13080 if test -z "$defaultval"; then
13081 if test x
"$enablestring" = xdisable
; then
13088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13089 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13090 # Check whether --enable-image was given.
13091 if test "${enable_image+set}" = set; then
13092 enableval
=$enable_image;
13093 if test "$enableval" = yes; then
13094 wx_cv_use_image
='wxUSE_IMAGE=yes'
13096 wx_cv_use_image
='wxUSE_IMAGE=no'
13101 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13106 eval "$wx_cv_use_image"
13108 if test x"$enablestring" = xdisable; then
13109 if test $wxUSE_IMAGE = yes; then
13115 result=$wxUSE_IMAGE
13118 { echo "$as_me:$LINENO: result: $result" >&5
13119 echo "${ECHO_T}$result" >&6; }
13123 defaultval=$wxUSE_ALL_FEATURES
13124 if test -z "$defaultval"; then
13125 if test x"$enablestring" = xdisable; then
13132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13133 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13134 # Check whether --enable-gif was given.
13135 if test "${enable_gif+set}" = set; then
13136 enableval=$enable_gif;
13137 if test "$enableval" = yes; then
13138 wx_cv_use_gif='wxUSE_GIF
=yes'
13140 wx_cv_use_gif='wxUSE_GIF
=no
'
13145 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13150 eval "$wx_cv_use_gif"
13152 if test x"$enablestring" = xdisable; then
13153 if test $wxUSE_GIF = yes; then
13162 { echo "$as_me:$LINENO: result
: $result" >&5
13163 echo "${ECHO_T}$result" >&6; }
13167 defaultval=$wxUSE_ALL_FEATURES
13168 if test -z "$defaultval"; then
13169 if test x"$enablestring" = xdisable; then
13176 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pcx" >&5
13177 echo $ECHO_N "checking
for --${enablestring:-enable}-pcx...
$ECHO_C" >&6; }
13178 # Check whether --enable-pcx was given.
13179 if test "${enable_pcx+set}" = set; then
13180 enableval=$enable_pcx;
13181 if test "$enableval" = yes; then
13182 wx_cv_use_pcx='wxUSE_PCX=yes'
13184 wx_cv_use_pcx='wxUSE_PCX=no'
13189 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13194 eval "$wx_cv_use_pcx"
13196 if test x
"$enablestring" = xdisable
; then
13197 if test $wxUSE_PCX = yes; then
13206 { echo "$as_me:$LINENO: result: $result" >&5
13207 echo "${ECHO_T}$result" >&6; }
13211 defaultval
=$wxUSE_ALL_FEATURES
13212 if test -z "$defaultval"; then
13213 if test x
"$enablestring" = xdisable
; then
13220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13221 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13222 # Check whether --enable-tga was given.
13223 if test "${enable_tga+set}" = set; then
13224 enableval
=$enable_tga;
13225 if test "$enableval" = yes; then
13226 wx_cv_use_tga
='wxUSE_TGA=yes'
13228 wx_cv_use_tga
='wxUSE_TGA=no'
13233 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13238 eval "$wx_cv_use_tga"
13240 if test x"$enablestring" = xdisable; then
13241 if test $wxUSE_TGA = yes; then
13250 { echo "$as_me:$LINENO: result: $result" >&5
13251 echo "${ECHO_T}$result" >&6; }
13255 defaultval=$wxUSE_ALL_FEATURES
13256 if test -z "$defaultval"; then
13257 if test x"$enablestring" = xdisable; then
13264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13265 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13266 # Check whether --enable-iff was given.
13267 if test "${enable_iff+set}" = set; then
13268 enableval=$enable_iff;
13269 if test "$enableval" = yes; then
13270 wx_cv_use_iff='wxUSE_IFF
=yes'
13272 wx_cv_use_iff='wxUSE_IFF
=no
'
13277 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13282 eval "$wx_cv_use_iff"
13284 if test x"$enablestring" = xdisable; then
13285 if test $wxUSE_IFF = yes; then
13294 { echo "$as_me:$LINENO: result
: $result" >&5
13295 echo "${ECHO_T}$result" >&6; }
13299 defaultval=$wxUSE_ALL_FEATURES
13300 if test -z "$defaultval"; then
13301 if test x"$enablestring" = xdisable; then
13308 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pnm" >&5
13309 echo $ECHO_N "checking
for --${enablestring:-enable}-pnm...
$ECHO_C" >&6; }
13310 # Check whether --enable-pnm was given.
13311 if test "${enable_pnm+set}" = set; then
13312 enableval=$enable_pnm;
13313 if test "$enableval" = yes; then
13314 wx_cv_use_pnm='wxUSE_PNM=yes'
13316 wx_cv_use_pnm='wxUSE_PNM=no'
13321 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13326 eval "$wx_cv_use_pnm"
13328 if test x
"$enablestring" = xdisable
; then
13329 if test $wxUSE_PNM = yes; then
13338 { echo "$as_me:$LINENO: result: $result" >&5
13339 echo "${ECHO_T}$result" >&6; }
13343 defaultval
=$wxUSE_ALL_FEATURES
13344 if test -z "$defaultval"; then
13345 if test x
"$enablestring" = xdisable
; then
13352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13353 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13354 # Check whether --enable-xpm was given.
13355 if test "${enable_xpm+set}" = set; then
13356 enableval
=$enable_xpm;
13357 if test "$enableval" = yes; then
13358 wx_cv_use_xpm
='wxUSE_XPM=yes'
13360 wx_cv_use_xpm
='wxUSE_XPM=no'
13365 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13370 eval "$wx_cv_use_xpm"
13372 if test x"$enablestring" = xdisable; then
13373 if test $wxUSE_XPM = yes; then
13382 { echo "$as_me:$LINENO: result: $result" >&5
13383 echo "${ECHO_T}$result" >&6; }
13387 defaultval=$wxUSE_ALL_FEATURES
13388 if test -z "$defaultval"; then
13389 if test x"$enablestring" = xdisable; then
13396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13397 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13398 # Check whether --enable-ico_cur was given.
13399 if test "${enable_ico_cur+set}" = set; then
13400 enableval=$enable_ico_cur;
13401 if test "$enableval" = yes; then
13402 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
13404 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
13409 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13414 eval "$wx_cv_use_ico_cur"
13416 if test x"$enablestring" = xdisable; then
13417 if test $wxUSE_ICO_CUR = yes; then
13423 result=$wxUSE_ICO_CUR
13426 { echo "$as_me:$LINENO: result
: $result" >&5
13427 echo "${ECHO_T}$result" >&6; }
13433 defaultval=$wxUSE_ALL_FEATURES
13434 if test -z "$defaultval"; then
13435 if test x"$enablestring" = xdisable; then
13442 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dccache" >&5
13443 echo $ECHO_N "checking
for --${enablestring:-enable}-dccache...
$ECHO_C" >&6; }
13444 # Check whether --enable-dccache was given.
13445 if test "${enable_dccache+set}" = set; then
13446 enableval=$enable_dccache;
13447 if test "$enableval" = yes; then
13448 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13450 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13455 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13460 eval "$wx_cv_use_dccache"
13462 if test x
"$enablestring" = xdisable
; then
13463 if test $wxUSE_DC_CACHEING = yes; then
13469 result
=$wxUSE_DC_CACHEING
13472 { echo "$as_me:$LINENO: result: $result" >&5
13473 echo "${ECHO_T}$result" >&6; }
13477 defaultval
=$wxUSE_ALL_FEATURES
13478 if test -z "$defaultval"; then
13479 if test x
"$enablestring" = xdisable
; then
13486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13487 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13488 # Check whether --enable-ps-in-msw was given.
13489 if test "${enable_ps_in_msw+set}" = set; then
13490 enableval
=$enable_ps_in_msw;
13491 if test "$enableval" = yes; then
13492 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13494 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13499 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13504 eval "$wx_cv_use_ps_in_msw"
13506 if test x"$enablestring" = xdisable; then
13507 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13513 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13516 { echo "$as_me:$LINENO: result: $result" >&5
13517 echo "${ECHO_T}$result" >&6; }
13521 defaultval=$wxUSE_ALL_FEATURES
13522 if test -z "$defaultval"; then
13523 if test x"$enablestring" = xdisable; then
13530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13531 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13532 # Check whether --enable-ownerdrawn was given.
13533 if test "${enable_ownerdrawn+set}" = set; then
13534 enableval=$enable_ownerdrawn;
13535 if test "$enableval" = yes; then
13536 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
13538 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
13543 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13548 eval "$wx_cv_use_ownerdrawn"
13550 if test x"$enablestring" = xdisable; then
13551 if test $wxUSE_OWNER_DRAWN = yes; then
13557 result=$wxUSE_OWNER_DRAWN
13560 { echo "$as_me:$LINENO: result
: $result" >&5
13561 echo "${ECHO_T}$result" >&6; }
13565 defaultval=$wxUSE_ALL_FEATURES
13566 if test -z "$defaultval"; then
13567 if test x"$enablestring" = xdisable; then
13574 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uxtheme" >&5
13575 echo $ECHO_N "checking
for --${enablestring:-enable}-uxtheme...
$ECHO_C" >&6; }
13576 # Check whether --enable-uxtheme was given.
13577 if test "${enable_uxtheme+set}" = set; then
13578 enableval=$enable_uxtheme;
13579 if test "$enableval" = yes; then
13580 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13582 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13587 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13592 eval "$wx_cv_use_uxtheme"
13594 if test x
"$enablestring" = xdisable
; then
13595 if test $wxUSE_UXTHEME = yes; then
13601 result
=$wxUSE_UXTHEME
13604 { echo "$as_me:$LINENO: result: $result" >&5
13605 echo "${ECHO_T}$result" >&6; }
13609 defaultval
=$wxUSE_ALL_FEATURES
13610 if test -z "$defaultval"; then
13611 if test x
"$enablestring" = xdisable
; then
13618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13619 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13620 # Check whether --enable-wxdib was given.
13621 if test "${enable_wxdib+set}" = set; then
13622 enableval
=$enable_wxdib;
13623 if test "$enableval" = yes; then
13624 wx_cv_use_wxdib
='wxUSE_DIB=yes'
13626 wx_cv_use_wxdib
='wxUSE_DIB=no'
13631 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13636 eval "$wx_cv_use_wxdib"
13638 if test x"$enablestring" = xdisable; then
13639 if test $wxUSE_DIB = yes; then
13648 { echo "$as_me:$LINENO: result: $result" >&5
13649 echo "${ECHO_T}$result" >&6; }
13655 { echo "$as_me:$LINENO: checking for toolkit" >&5
13656 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
13658 # In Wine, we need to default to MSW, not GTK or MOTIF
13659 if test "$wxUSE_WINE" = "yes"; then
13660 DEFAULT_DEFAULT_wxUSE_GTK=0
13661 DEFAULT_DEFAULT_wxUSE_MOTIF=0
13662 DEFAULT_DEFAULT_wxUSE_MSW=1
13665 CXX=${CXX:-wineg++}
13669 if test "$wxUSE_GUI" = "yes"; then
13671 if test "$USE_BEOS" = 1; then
13672 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
13673 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
13674 { (exit 1); exit 1; }; }
13677 if test "$TOOLKIT_GIVEN" = 1; then
13678 for toolkit in $ALL_TOOLKITS; do
13680 eval "value=\$${var}"
13681 if test "x$value" = "xno"; then
13683 elif test "x$value" != "x"; then
13687 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
13688 eval "wx${toolkit}_VERSION=$value"
13692 for toolkit in $ALL_TOOLKITS; do
13693 var=DEFAULT_DEFAULT_wxUSE_$toolkit
13694 eval "wxUSE_$toolkit=\$${var}"
13698 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
13699 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
13700 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
13703 *-pc-os2_emx | *-pc-os2-emx )
13704 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
13707 case "$NUM_TOOLKITS" in
13711 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
13712 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
13713 { (exit 1); exit 1; }; }
13716 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
13717 echo "$as_me: error: Please specify at most one toolkit" >&2;}
13718 { (exit 1); exit 1; }; }
13721 # to be removed when --disable-gtk2 isn't needed
13722 if test "x$wxUSE_GTK2" = "xyes"; then
13724 elif test "x$wxUSE_GTK2" = "xno"; then
13728 for toolkit
in $ALL_TOOLKITS; do
13730 eval "value=\$${var}"
13731 if test "$value" = 1; then
13732 toolkit_echo
=`echo $toolkit | tr A-Z a-z`
13733 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
13734 echo "${ECHO_T}$toolkit_echo" >&6; }
13738 if test "x$host_alias" != "x"; then
13739 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
13740 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
13742 { echo "$as_me:$LINENO: result: base only" >&5
13743 echo "${ECHO_T}base only" >&6; }
13748 cat >confcache
<<\_ACEOF
13749 # This file is a shell script that caches the results of configure
13750 # tests run on this system so they can be shared between configure
13751 # scripts and configure runs, see configure's option --config-cache.
13752 # It is not useful on other systems. If it contains results you don't
13753 # want to keep, you may remove or edit it.
13755 # config.status only pays attention to the cache file if you give it
13756 # the --recheck option to rerun configure.
13758 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13759 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13760 # following values.
13764 # The following way of writing the cache mishandles newlines in values,
13765 # but we know of no workaround that is simple, portable, and efficient.
13766 # So, we kill variables containing newlines.
13767 # Ultrix sh set writes to stderr and can't be redirected directly,
13768 # and sets the high bit in the cache file unless we assign to the vars.
13770 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13771 eval ac_val
=\$
$ac_var
13775 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13776 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13779 _
| IFS
| as_nl
) ;; #(
13780 *) $as_unset $ac_var ;;
13786 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13787 *${as_nl}ac_space
=\
*)
13788 # `set' does not quote correctly, so add quotes (double-quote
13789 # substitution turns \\\\ into \\, and sed turns \\ into \).
13792 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13795 # `set' quotes correctly as required by POSIX, so do not add quotes.
13796 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13805 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13807 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13809 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13810 if test -w "$cache_file"; then
13811 test "x$cache_file" != "x/dev/null" &&
13812 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13813 echo "$as_me: updating cache $cache_file" >&6;}
13814 cat confcache
>$cache_file
13816 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13817 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13827 ac_cpp
='$CPP $CPPFLAGS'
13828 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13829 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13830 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13831 if test -n "$ac_tool_prefix"; then
13832 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13833 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
13834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13836 if test "${ac_cv_prog_CC+set}" = set; then
13837 echo $ECHO_N "(cached) $ECHO_C" >&6
13839 if test -n "$CC"; then
13840 ac_cv_prog_CC
="$CC" # Let the user override the test.
13842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13843 for as_dir
in $PATH
13846 test -z "$as_dir" && as_dir
=.
13847 for ac_exec_ext
in '' $ac_executable_extensions; do
13848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13849 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
13850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13860 if test -n "$CC"; then
13861 { echo "$as_me:$LINENO: result: $CC" >&5
13862 echo "${ECHO_T}$CC" >&6; }
13864 { echo "$as_me:$LINENO: result: no" >&5
13865 echo "${ECHO_T}no" >&6; }
13870 if test -z "$ac_cv_prog_CC"; then
13872 # Extract the first word of "gcc", so it can be a program name with args.
13873 set dummy gcc
; ac_word
=$2
13874 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13876 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13877 echo $ECHO_N "(cached) $ECHO_C" >&6
13879 if test -n "$ac_ct_CC"; then
13880 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13883 for as_dir
in $PATH
13886 test -z "$as_dir" && as_dir
=.
13887 for ac_exec_ext
in '' $ac_executable_extensions; do
13888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13889 ac_cv_prog_ac_ct_CC
="gcc"
13890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13899 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13900 if test -n "$ac_ct_CC"; then
13901 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13902 echo "${ECHO_T}$ac_ct_CC" >&6; }
13904 { echo "$as_me:$LINENO: result: no" >&5
13905 echo "${ECHO_T}no" >&6; }
13908 if test "x$ac_ct_CC" = x
; then
13911 case $cross_compiling:$ac_tool_warned in
13913 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13914 whose name does not start with the host triplet. If you think this
13915 configuration is useful to you, please write to autoconf@gnu.org." >&5
13916 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13917 whose name does not start with the host triplet. If you think this
13918 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13919 ac_tool_warned
=yes ;;
13924 CC
="$ac_cv_prog_CC"
13927 if test -z "$CC"; then
13928 if test -n "$ac_tool_prefix"; then
13929 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13930 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
13931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13933 if test "${ac_cv_prog_CC+set}" = set; then
13934 echo $ECHO_N "(cached) $ECHO_C" >&6
13936 if test -n "$CC"; then
13937 ac_cv_prog_CC
="$CC" # Let the user override the test.
13939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13940 for as_dir
in $PATH
13943 test -z "$as_dir" && as_dir
=.
13944 for ac_exec_ext
in '' $ac_executable_extensions; do
13945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13946 ac_cv_prog_CC
="${ac_tool_prefix}cc"
13947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13957 if test -n "$CC"; then
13958 { echo "$as_me:$LINENO: result: $CC" >&5
13959 echo "${ECHO_T}$CC" >&6; }
13961 { echo "$as_me:$LINENO: result: no" >&5
13962 echo "${ECHO_T}no" >&6; }
13968 if test -z "$CC"; then
13969 # Extract the first word of "cc", so it can be a program name with args.
13970 set dummy cc
; ac_word
=$2
13971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13973 if test "${ac_cv_prog_CC+set}" = set; then
13974 echo $ECHO_N "(cached) $ECHO_C" >&6
13976 if test -n "$CC"; then
13977 ac_cv_prog_CC
="$CC" # Let the user override the test.
13979 ac_prog_rejected
=no
13980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13981 for as_dir
in $PATH
13984 test -z "$as_dir" && as_dir
=.
13985 for ac_exec_ext
in '' $ac_executable_extensions; do
13986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13987 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13988 ac_prog_rejected
=yes
13992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13999 if test $ac_prog_rejected = yes; then
14000 # We found a bogon in the path, so make sure we never use it.
14001 set dummy
$ac_cv_prog_CC
14003 if test $# != 0; then
14004 # We chose a different compiler from the bogus one.
14005 # However, it has the same basename, so the bogon will be chosen
14006 # first if we set CC to just the basename; use the full file name.
14008 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14014 if test -n "$CC"; then
14015 { echo "$as_me:$LINENO: result: $CC" >&5
14016 echo "${ECHO_T}$CC" >&6; }
14018 { echo "$as_me:$LINENO: result: no" >&5
14019 echo "${ECHO_T}no" >&6; }
14024 if test -z "$CC"; then
14025 if test -n "$ac_tool_prefix"; then
14026 for ac_prog
in cl.exe
14028 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14029 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14032 if test "${ac_cv_prog_CC+set}" = set; then
14033 echo $ECHO_N "(cached) $ECHO_C" >&6
14035 if test -n "$CC"; then
14036 ac_cv_prog_CC
="$CC" # Let the user override the test.
14038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14039 for as_dir
in $PATH
14042 test -z "$as_dir" && as_dir
=.
14043 for ac_exec_ext
in '' $ac_executable_extensions; do
14044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14045 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14056 if test -n "$CC"; then
14057 { echo "$as_me:$LINENO: result: $CC" >&5
14058 echo "${ECHO_T}$CC" >&6; }
14060 { echo "$as_me:$LINENO: result: no" >&5
14061 echo "${ECHO_T}no" >&6; }
14065 test -n "$CC" && break
14068 if test -z "$CC"; then
14070 for ac_prog
in cl.exe
14072 # Extract the first word of "$ac_prog", so it can be a program name with args.
14073 set dummy
$ac_prog; ac_word
=$2
14074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14076 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14077 echo $ECHO_N "(cached) $ECHO_C" >&6
14079 if test -n "$ac_ct_CC"; then
14080 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14083 for as_dir
in $PATH
14086 test -z "$as_dir" && as_dir
=.
14087 for ac_exec_ext
in '' $ac_executable_extensions; do
14088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14089 ac_cv_prog_ac_ct_CC
="$ac_prog"
14090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14099 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14100 if test -n "$ac_ct_CC"; then
14101 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14102 echo "${ECHO_T}$ac_ct_CC" >&6; }
14104 { echo "$as_me:$LINENO: result: no" >&5
14105 echo "${ECHO_T}no" >&6; }
14109 test -n "$ac_ct_CC" && break
14112 if test "x$ac_ct_CC" = x
; then
14115 case $cross_compiling:$ac_tool_warned in
14117 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14118 whose name does not start with the host triplet. If you think this
14119 configuration is useful to you, please write to autoconf@gnu.org." >&5
14120 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14121 whose name does not start with the host triplet. If you think this
14122 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14123 ac_tool_warned
=yes ;;
14132 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14133 See \`config.log' for more details." >&5
14134 echo "$as_me: error: no acceptable C compiler found in \$PATH
14135 See \`config.log' for more details." >&2;}
14136 { (exit 1); exit 1; }; }
14138 # Provide some information about the compiler.
14139 echo "$as_me:$LINENO: checking for C compiler version" >&5
14140 ac_compiler
=`set X $ac_compile; echo $2`
14141 { (ac_try
="$ac_compiler --version >&5"
14142 case "(($ac_try" in
14143 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14144 *) ac_try_echo=$ac_try;;
14146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14147 (eval "$ac_compiler --version >&5") 2>&5
14149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14150 (exit $ac_status); }
14151 { (ac_try="$ac_compiler -v >&5"
14152 case "(($ac_try" in
14153 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14154 *) ac_try_echo
=$ac_try;;
14156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14157 (eval "$ac_compiler -v >&5") 2>&5
14159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160 (exit $ac_status); }
14161 { (ac_try
="$ac_compiler -V >&5"
14162 case "(($ac_try" in
14163 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14164 *) ac_try_echo=$ac_try;;
14166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14167 (eval "$ac_compiler -V >&5") 2>&5
14169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14170 (exit $ac_status); }
14172 cat >conftest.$ac_ext <<_ACEOF
14175 cat confdefs.h >>conftest.$ac_ext
14176 cat >>conftest.$ac_ext <<_ACEOF
14177 /* end confdefs.h. */
14187 ac_clean_files_save=$ac_clean_files
14188 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14189 # Try to create an executable without -o first, disregard a.out.
14190 # It will help us diagnose broken compilers, and finding out an intuition
14192 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14193 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14194 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14196 # List of possible output files, starting from the most likely.
14197 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14198 # only as a last resort. b.out is created by i960 compilers.
14199 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14201 # The IRIX 6 linker writes into existing files which may not be
14202 # executable, retaining their permissions. Remove them first so a
14203 # subsequent execution test works.
14205 for ac_file in $ac_files
14208 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14209 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14214 if { (ac_try="$ac_link_default"
14215 case "(($ac_try" in
14216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14217 *) ac_try_echo=$ac_try;;
14219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14220 (eval "$ac_link_default") 2>&5
14222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14223 (exit $ac_status); }; then
14224 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14225 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14226 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14227 # so that the user can short-circuit this test for compilers unknown to
14229 for ac_file
in $ac_files ''
14231 test -f "$ac_file" || continue
14233 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14236 # We found the default executable, but exeext='' is most
14240 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14242 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14244 # We set ac_cv_exeext here because the later test for it is not
14245 # safe: cross compilers may not add the suffix if given an `-o'
14246 # argument, so we may need to know it at that point already.
14247 # Even if this section looks crufty: it has the advantage of
14248 # actually working.
14254 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14260 { echo "$as_me:$LINENO: result: $ac_file" >&5
14261 echo "${ECHO_T}$ac_file" >&6; }
14262 if test -z "$ac_file"; then
14263 echo "$as_me: failed program was:" >&5
14264 sed 's/^/| /' conftest.
$ac_ext >&5
14266 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14267 See \`config.log' for more details." >&5
14268 echo "$as_me: error: C compiler cannot create executables
14269 See \`config.log' for more details." >&2;}
14270 { (exit 77); exit 77; }; }
14273 ac_exeext
=$ac_cv_exeext
14275 # Check that the compiler produces executables we can run. If not, either
14276 # the compiler is broken, or we cross compile.
14277 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14278 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14279 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14280 # If not cross compiling, check that we can run a simple program.
14281 if test "$cross_compiling" != yes; then
14282 if { ac_try
='./$ac_file'
14283 { (case "(($ac_try" in
14284 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14285 *) ac_try_echo=$ac_try;;
14287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14288 (eval "$ac_try") 2>&5
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); }; }; then
14294 if test "$cross_compiling" = maybe; then
14295 cross_compiling=yes
14297 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14298 If you meant to cross compile, use \`--host'.
14299 See \`config.log' for more details.
" >&5
14300 echo "$as_me: error
: cannot run C compiled programs.
14301 If you meant to cross compile
, use \
`--host'.
14302 See \`config.log
' for more details." >&2;}
14303 { (exit 1); exit 1; }; }
14307 { echo "$as_me:$LINENO: result: yes" >&5
14308 echo "${ECHO_T}yes" >&6; }
14310 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14311 ac_clean_files=$ac_clean_files_save
14312 # Check that the compiler produces executables we can run. If not, either
14313 # the compiler is broken, or we cross compile.
14314 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14315 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14316 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14317 echo "${ECHO_T}$cross_compiling" >&6; }
14319 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14320 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14321 if { (ac_try="$ac_link"
14322 case "(($ac_try" in
14323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14324 *) ac_try_echo=$ac_try;;
14326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14327 (eval "$ac_link") 2>&5
14329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14330 (exit $ac_status); }; then
14331 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14332 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14333 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14335 for ac_file
in conftest.exe conftest conftest.
*; do
14336 test -f "$ac_file" || continue
14338 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14339 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14345 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14346 See \`config.log' for more details." >&5
14347 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14348 See \`config.log' for more details." >&2;}
14349 { (exit 1); exit 1; }; }
14352 rm -f conftest
$ac_cv_exeext
14353 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14354 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14356 rm -f conftest.
$ac_ext
14357 EXEEXT
=$ac_cv_exeext
14359 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14360 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14361 if test "${ac_cv_objext+set}" = set; then
14362 echo $ECHO_N "(cached) $ECHO_C" >&6
14364 cat >conftest.
$ac_ext <<_ACEOF
14367 cat confdefs.h
>>conftest.
$ac_ext
14368 cat >>conftest.
$ac_ext <<_ACEOF
14369 /* end confdefs.h. */
14379 rm -f conftest.o conftest.obj
14380 if { (ac_try
="$ac_compile"
14381 case "(($ac_try" in
14382 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14383 *) ac_try_echo=$ac_try;;
14385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14386 (eval "$ac_compile") 2>&5
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); }; then
14390 for ac_file in conftest.o conftest.obj conftest.*; do
14391 test -f "$ac_file" || continue;
14393 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14394 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14399 echo "$as_me: failed program was:" >&5
14400 sed 's/^/| /' conftest.$ac_ext >&5
14402 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14403 See \`config.log
' for more details." >&5
14404 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14405 See \`config.log' for more details.
" >&2;}
14406 { (exit 1); exit 1; }; }
14409 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14411 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14412 echo "${ECHO_T}$ac_cv_objext" >&6; }
14413 OBJEXT=$ac_cv_objext
14415 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14416 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14417 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14418 echo $ECHO_N "(cached
) $ECHO_C" >&6
14420 cat >conftest.$ac_ext <<_ACEOF
14423 cat confdefs.h >>conftest.$ac_ext
14424 cat >>conftest.$ac_ext <<_ACEOF
14425 /* end confdefs.h. */
14438 rm -f conftest.$ac_objext
14439 if { (ac_try="$ac_compile"
14440 case "(($ac_try" in
14441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14442 *) ac_try_echo=$ac_try;;
14444 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14445 (eval "$ac_compile") 2>conftest.er1
14447 grep -v '^ *+' conftest.er1 >conftest.err
14449 cat conftest.err >&5
14450 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14451 (exit $ac_status); } && {
14452 test -z "$ac_c_werror_flag" ||
14453 test ! -s conftest.err
14454 } && test -s conftest.$ac_objext; then
14455 ac_compiler_gnu=yes
14457 echo "$as_me: failed program was
:" >&5
14458 sed 's/^/| /' conftest.$ac_ext >&5
14463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14464 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14467 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14468 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14469 GCC=`test $ac_compiler_gnu = yes && echo yes`
14470 ac_test_CFLAGS=${CFLAGS+set}
14471 ac_save_CFLAGS=$CFLAGS
14472 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14473 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14474 if test "${ac_cv_prog_cc_g+set}" = set; then
14475 echo $ECHO_N "(cached
) $ECHO_C" >&6
14477 ac_save_c_werror_flag=$ac_c_werror_flag
14478 ac_c_werror_flag=yes
14481 cat >conftest.$ac_ext <<_ACEOF
14484 cat confdefs.h >>conftest.$ac_ext
14485 cat >>conftest.$ac_ext <<_ACEOF
14486 /* end confdefs.h. */
14496 rm -f conftest.$ac_objext
14497 if { (ac_try="$ac_compile"
14498 case "(($ac_try" in
14499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14500 *) ac_try_echo=$ac_try;;
14502 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14503 (eval "$ac_compile") 2>conftest.er1
14505 grep -v '^ *+' conftest.er1 >conftest.err
14507 cat conftest.err >&5
14508 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14509 (exit $ac_status); } && {
14510 test -z "$ac_c_werror_flag" ||
14511 test ! -s conftest.err
14512 } && test -s conftest.$ac_objext; then
14513 ac_cv_prog_cc_g=yes
14515 echo "$as_me: failed program was
:" >&5
14516 sed 's/^/| /' conftest.$ac_ext >&5
14519 cat >conftest.$ac_ext <<_ACEOF
14522 cat confdefs.h >>conftest.$ac_ext
14523 cat >>conftest.$ac_ext <<_ACEOF
14524 /* end confdefs.h. */
14534 rm -f conftest.$ac_objext
14535 if { (ac_try="$ac_compile"
14536 case "(($ac_try" in
14537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14538 *) ac_try_echo=$ac_try;;
14540 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14541 (eval "$ac_compile") 2>conftest.er1
14543 grep -v '^ *+' conftest.er1 >conftest.err
14545 cat conftest.err >&5
14546 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14547 (exit $ac_status); } && {
14548 test -z "$ac_c_werror_flag" ||
14549 test ! -s conftest.err
14550 } && test -s conftest.$ac_objext; then
14553 echo "$as_me: failed program was
:" >&5
14554 sed 's/^/| /' conftest.$ac_ext >&5
14556 ac_c_werror_flag=$ac_save_c_werror_flag
14558 cat >conftest.$ac_ext <<_ACEOF
14561 cat confdefs.h >>conftest.$ac_ext
14562 cat >>conftest.$ac_ext <<_ACEOF
14563 /* end confdefs.h. */
14573 rm -f conftest.$ac_objext
14574 if { (ac_try="$ac_compile"
14575 case "(($ac_try" in
14576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14577 *) ac_try_echo=$ac_try;;
14579 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14580 (eval "$ac_compile") 2>conftest.er1
14582 grep -v '^ *+' conftest.er1 >conftest.err
14584 cat conftest.err >&5
14585 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14586 (exit $ac_status); } && {
14587 test -z "$ac_c_werror_flag" ||
14588 test ! -s conftest.err
14589 } && test -s conftest.$ac_objext; then
14590 ac_cv_prog_cc_g=yes
14592 echo "$as_me: failed program was
:" >&5
14593 sed 's/^/| /' conftest.$ac_ext >&5
14598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14605 ac_c_werror_flag=$ac_save_c_werror_flag
14607 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14608 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14609 if test "$ac_test_CFLAGS" = set; then
14610 CFLAGS=$ac_save_CFLAGS
14611 elif test $ac_cv_prog_cc_g = yes; then
14612 if test "$GCC" = yes; then
14618 if test "$GCC" = yes; then
14624 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14625 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14626 if test "${ac_cv_prog_cc_c89+set}" = set; then
14627 echo $ECHO_N "(cached
) $ECHO_C" >&6
14629 ac_cv_prog_cc_c89=no
14631 cat >conftest.$ac_ext <<_ACEOF
14634 cat confdefs.h >>conftest.$ac_ext
14635 cat >>conftest.$ac_ext <<_ACEOF
14636 /* end confdefs.h. */
14637 #include <stdarg.h>
14639 #include <sys/types.h>
14640 #include <sys/stat.h>
14641 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14642 struct buf { int x; };
14643 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14644 static char *e (p, i)
14650 static char *f (char * (*g) (char **, int), char **p, ...)
14655 s = g (p, va_arg (v,int));
14660 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14661 function prototypes and stuff, but not '\xHH' hex character constants.
14662 These don't provoke an error unfortunately, instead are silently treated
14663 as 'x'. The following induces an error, until -std is added to get
14664 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14665 array size at least. It's necessary to write '\x00'==0 to get something
14666 that's true only with -std. */
14667 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14669 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14670 inside strings and character constants. */
14672 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14674 int test (int i, double x);
14675 struct s1 {int (*f) (int a);};
14676 struct s2 {int (*f) (double a);};
14677 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14683 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14688 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14689 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14691 CC="$ac_save_CC $ac_arg"
14692 rm -f conftest.$ac_objext
14693 if { (ac_try="$ac_compile"
14694 case "(($ac_try" in
14695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14696 *) ac_try_echo=$ac_try;;
14698 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14699 (eval "$ac_compile") 2>conftest.er1
14701 grep -v '^ *+' conftest.er1 >conftest.err
14703 cat conftest.err >&5
14704 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14705 (exit $ac_status); } && {
14706 test -z "$ac_c_werror_flag" ||
14707 test ! -s conftest.err
14708 } && test -s conftest.$ac_objext; then
14709 ac_cv_prog_cc_c89=$ac_arg
14711 echo "$as_me: failed program was
:" >&5
14712 sed 's/^/| /' conftest.$ac_ext >&5
14717 rm -f core conftest.err conftest.$ac_objext
14718 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14720 rm -f conftest.$ac_ext
14725 case "x
$ac_cv_prog_cc_c89" in
14727 { echo "$as_me:$LINENO: result
: none needed
" >&5
14728 echo "${ECHO_T}none needed
" >&6; } ;;
14730 { echo "$as_me:$LINENO: result
: unsupported
" >&5
14731 echo "${ECHO_T}unsupported
" >&6; } ;;
14733 CC="$CC $ac_cv_prog_cc_c89"
14734 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
14735 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14740 ac_cpp='$CPP $CPPFLAGS'
14741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14749 ac_cpp='$CPP $CPPFLAGS'
14750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14754 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
14755 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
14756 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14757 echo $ECHO_N "(cached
) $ECHO_C" >&6
14759 cat >conftest.$ac_ext <<_ACEOF
14762 cat confdefs.h >>conftest.$ac_ext
14763 cat >>conftest.$ac_ext <<_ACEOF
14764 /* end confdefs.h. */
14770 #ifndef __INTEL_COMPILER
14778 rm -f conftest.$ac_objext
14779 if { (ac_try="$ac_compile"
14780 case "(($ac_try" in
14781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14782 *) ac_try_echo=$ac_try;;
14784 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14785 (eval "$ac_compile") 2>conftest.er1
14787 grep -v '^ *+' conftest.er1 >conftest.err
14789 cat conftest.err >&5
14790 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14791 (exit $ac_status); } && {
14792 test -z "$ac_c_werror_flag" ||
14793 test ! -s conftest.err
14794 } && test -s conftest.$ac_objext; then
14795 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14797 echo "$as_me: failed program was
:" >&5
14798 sed 's/^/| /' conftest.$ac_ext >&5
14800 bakefile_cv_c_compiler___INTEL_COMPILER=no
14804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14808 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14809 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14810 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
14816 ac_cpp='$CPP $CPPFLAGS'
14817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14824 if test "x
$GCC" != "xyes
"; then
14825 if test "xCC
" = "xC
"; then
14826 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
14827 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
14828 if test "${bakefile_cv_c_exto+set}" = set; then
14829 echo $ECHO_N "(cached
) $ECHO_C" >&6
14831 cat >conftest.$ac_ext <<_ACEOF
14834 cat confdefs.h >>conftest.$ac_ext
14835 cat >>conftest.$ac_ext <<_ACEOF
14836 /* end confdefs.h. */
14846 rm -f conftest.$ac_objext conftest.$ac_ext.o
14847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14848 (eval $ac_compile) 2>&5
14850 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14851 (exit $ac_status); }; then
14852 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14854 conftest.$ac_ext.o)
14855 bakefile_cv_c_exto="-ext o
"
14862 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
14863 See \
`config.log' for more details." >&5
14864 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14865 See \`config.log
' for more details." >&2;}
14866 { (exit 1); exit 1; }; }
14870 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14873 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14874 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14875 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14876 if test "c" = "c"; then
14877 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14879 if test "c" = "cxx"; then
14880 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14884 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14885 unset ac_cv_prog_cc_g
14886 ac_test_CFLAGS=${CFLAGS+set}
14887 ac_save_CFLAGS=$CFLAGS
14888 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14889 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14890 if test "${ac_cv_prog_cc_g+set}" = set; then
14891 echo $ECHO_N "(cached) $ECHO_C" >&6
14893 ac_save_c_werror_flag=$ac_c_werror_flag
14894 ac_c_werror_flag=yes
14897 cat >conftest.$ac_ext <<_ACEOF
14900 cat confdefs.h >>conftest.$ac_ext
14901 cat >>conftest.$ac_ext <<_ACEOF
14902 /* end confdefs.h. */
14912 rm -f conftest.$ac_objext
14913 if { (ac_try="$ac_compile"
14914 case "(($ac_try" in
14915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14916 *) ac_try_echo=$ac_try;;
14918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14919 (eval "$ac_compile") 2>conftest.er1
14921 grep -v '^
*+' conftest.er1 >conftest.err
14923 cat conftest.err >&5
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); } && {
14926 test -z "$ac_c_werror_flag" ||
14927 test ! -s conftest.err
14928 } && test -s conftest.$ac_objext; then
14929 ac_cv_prog_cc_g=yes
14931 echo "$as_me: failed program was:" >&5
14932 sed 's
/^
/| /' conftest.$ac_ext >&5
14935 cat >conftest.$ac_ext <<_ACEOF
14938 cat confdefs.h >>conftest.$ac_ext
14939 cat >>conftest.$ac_ext <<_ACEOF
14940 /* end confdefs.h. */
14950 rm -f conftest.$ac_objext
14951 if { (ac_try="$ac_compile"
14952 case "(($ac_try" in
14953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14954 *) ac_try_echo=$ac_try;;
14956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14957 (eval "$ac_compile") 2>conftest.er1
14959 grep -v '^
*+' conftest.er1 >conftest.err
14961 cat conftest.err >&5
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); } && {
14964 test -z "$ac_c_werror_flag" ||
14965 test ! -s conftest.err
14966 } && test -s conftest.$ac_objext; then
14969 echo "$as_me: failed program was:" >&5
14970 sed 's
/^
/| /' conftest.$ac_ext >&5
14972 ac_c_werror_flag=$ac_save_c_werror_flag
14974 cat >conftest.$ac_ext <<_ACEOF
14977 cat confdefs.h >>conftest.$ac_ext
14978 cat >>conftest.$ac_ext <<_ACEOF
14979 /* end confdefs.h. */
14989 rm -f conftest.$ac_objext
14990 if { (ac_try="$ac_compile"
14991 case "(($ac_try" in
14992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14993 *) ac_try_echo=$ac_try;;
14995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14996 (eval "$ac_compile") 2>conftest.er1
14998 grep -v '^
*+' conftest.er1 >conftest.err
15000 cat conftest.err >&5
15001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002 (exit $ac_status); } && {
15003 test -z "$ac_c_werror_flag" ||
15004 test ! -s conftest.err
15005 } && test -s conftest.$ac_objext; then
15006 ac_cv_prog_cc_g=yes
15008 echo "$as_me: failed program was:" >&5
15009 sed 's
/^
/| /' conftest.$ac_ext >&5
15014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15021 ac_c_werror_flag=$ac_save_c_werror_flag
15023 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15024 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15025 if test "$ac_test_CFLAGS" = set; then
15026 CFLAGS=$ac_save_CFLAGS
15027 elif test $ac_cv_prog_cc_g = yes; then
15028 if test "$GCC" = yes; then
15034 if test "$GCC" = yes; then
15048 ac_cpp='$CPP $CPPFLAGS'
15049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15050 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15053 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15054 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15055 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15056 echo $ECHO_N "(cached) $ECHO_C" >&6
15058 cat >conftest.$ac_ext <<_ACEOF
15061 cat confdefs.h >>conftest.$ac_ext
15062 cat >>conftest.$ac_ext <<_ACEOF
15063 /* end confdefs.h. */
15077 rm -f conftest.$ac_objext
15078 if { (ac_try="$ac_compile"
15079 case "(($ac_try" in
15080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15081 *) ac_try_echo=$ac_try;;
15083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15084 (eval "$ac_compile") 2>conftest.er1
15086 grep -v '^
*+' conftest.er1 >conftest.err
15088 cat conftest.err >&5
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); } && {
15091 test -z "$ac_c_werror_flag" ||
15092 test ! -s conftest.err
15093 } && test -s conftest.$ac_objext; then
15094 bakefile_cv_c_compiler___xlC__=yes
15096 echo "$as_me: failed program was:" >&5
15097 sed 's
/^
/| /' conftest.$ac_ext >&5
15099 bakefile_cv_c_compiler___xlC__=no
15103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15107 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15108 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15109 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15115 ac_cpp='$CPP $CPPFLAGS'
15116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15117 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15128 ac_cpp='$CPP $CPPFLAGS'
15129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15130 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15133 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15134 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15135 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15136 echo $ECHO_N "(cached) $ECHO_C" >&6
15138 cat >conftest.$ac_ext <<_ACEOF
15141 cat confdefs.h >>conftest.$ac_ext
15142 cat >>conftest.$ac_ext <<_ACEOF
15143 /* end confdefs.h. */
15157 rm -f conftest.$ac_objext
15158 if { (ac_try="$ac_compile"
15159 case "(($ac_try" in
15160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15161 *) ac_try_echo=$ac_try;;
15163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15164 (eval "$ac_compile") 2>conftest.er1
15166 grep -v '^
*+' conftest.er1 >conftest.err
15168 cat conftest.err >&5
15169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170 (exit $ac_status); } && {
15171 test -z "$ac_c_werror_flag" ||
15172 test ! -s conftest.err
15173 } && test -s conftest.$ac_objext; then
15174 bakefile_cv_c_compiler___MWERKS__=yes
15176 echo "$as_me: failed program was:" >&5
15177 sed 's
/^
/| /' conftest.$ac_ext >&5
15179 bakefile_cv_c_compiler___MWERKS__=no
15183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15187 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15188 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15189 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15195 ac_cpp='$CPP $CPPFLAGS'
15196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15197 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15205 ac_cpp='$CPP $CPPFLAGS'
15206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15207 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15210 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15211 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15212 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15213 echo $ECHO_N "(cached) $ECHO_C" >&6
15215 cat >conftest.$ac_ext <<_ACEOF
15218 cat confdefs.h >>conftest.$ac_ext
15219 cat >>conftest.$ac_ext <<_ACEOF
15220 /* end confdefs.h. */
15234 rm -f conftest.$ac_objext
15235 if { (ac_try="$ac_compile"
15236 case "(($ac_try" in
15237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15238 *) ac_try_echo=$ac_try;;
15240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15241 (eval "$ac_compile") 2>conftest.er1
15243 grep -v '^
*+' conftest.er1 >conftest.err
15245 cat conftest.err >&5
15246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247 (exit $ac_status); } && {
15248 test -z "$ac_c_werror_flag" ||
15249 test ! -s conftest.err
15250 } && test -s conftest.$ac_objext; then
15251 bakefile_cv_c_compiler___xlC__=yes
15253 echo "$as_me: failed program was:" >&5
15254 sed 's
/^
/| /' conftest.$ac_ext >&5
15256 bakefile_cv_c_compiler___xlC__=no
15260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15264 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15265 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15266 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15272 ac_cpp='$CPP $CPPFLAGS'
15273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15274 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15285 ac_cpp='$CPP $CPPFLAGS'
15286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15287 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15290 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15291 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15292 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15293 echo $ECHO_N "(cached) $ECHO_C" >&6
15295 cat >conftest.$ac_ext <<_ACEOF
15298 cat confdefs.h >>conftest.$ac_ext
15299 cat >>conftest.$ac_ext <<_ACEOF
15300 /* end confdefs.h. */
15306 #ifndef _SGI_COMPILER_VERSION
15314 rm -f conftest.$ac_objext
15315 if { (ac_try="$ac_compile"
15316 case "(($ac_try" in
15317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15318 *) ac_try_echo=$ac_try;;
15320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15321 (eval "$ac_compile") 2>conftest.er1
15323 grep -v '^
*+' conftest.er1 >conftest.err
15325 cat conftest.err >&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); } && {
15328 test -z "$ac_c_werror_flag" ||
15329 test ! -s conftest.err
15330 } && test -s conftest.$ac_objext; then
15331 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15333 echo "$as_me: failed program was:" >&5
15334 sed 's
/^
/| /' conftest.$ac_ext >&5
15336 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15344 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15345 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15346 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15352 ac_cpp='$CPP $CPPFLAGS'
15353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15354 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15365 ac_cpp='$CPP $CPPFLAGS'
15366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15367 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15370 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15371 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15372 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15373 echo $ECHO_N "(cached) $ECHO_C" >&6
15375 cat >conftest.$ac_ext <<_ACEOF
15378 cat confdefs.h >>conftest.$ac_ext
15379 cat >>conftest.$ac_ext <<_ACEOF
15380 /* end confdefs.h. */
15394 rm -f conftest.$ac_objext
15395 if { (ac_try="$ac_compile"
15396 case "(($ac_try" in
15397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15398 *) ac_try_echo=$ac_try;;
15400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15401 (eval "$ac_compile") 2>conftest.er1
15403 grep -v '^
*+' conftest.er1 >conftest.err
15405 cat conftest.err >&5
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); } && {
15408 test -z "$ac_c_werror_flag" ||
15409 test ! -s conftest.err
15410 } && test -s conftest.$ac_objext; then
15411 bakefile_cv_c_compiler___SUNPRO_C=yes
15413 echo "$as_me: failed program was:" >&5
15414 sed 's
/^
/| /' conftest.$ac_ext >&5
15416 bakefile_cv_c_compiler___SUNPRO_C=no
15420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15424 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15425 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15426 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15432 ac_cpp='$CPP $CPPFLAGS'
15433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15434 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15445 ac_cpp='$CPP $CPPFLAGS'
15446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15447 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15450 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15451 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15452 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15453 echo $ECHO_N "(cached) $ECHO_C" >&6
15455 cat >conftest.$ac_ext <<_ACEOF
15458 cat confdefs.h >>conftest.$ac_ext
15459 cat >>conftest.$ac_ext <<_ACEOF
15460 /* end confdefs.h. */
15474 rm -f conftest.$ac_objext
15475 if { (ac_try="$ac_compile"
15476 case "(($ac_try" in
15477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15478 *) ac_try_echo=$ac_try;;
15480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15481 (eval "$ac_compile") 2>conftest.er1
15483 grep -v '^
*+' conftest.er1 >conftest.err
15485 cat conftest.err >&5
15486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487 (exit $ac_status); } && {
15488 test -z "$ac_c_werror_flag" ||
15489 test ! -s conftest.err
15490 } && test -s conftest.$ac_objext; then
15491 bakefile_cv_c_compiler___HP_cc=yes
15493 echo "$as_me: failed program was:" >&5
15494 sed 's
/^
/| /' conftest.$ac_ext >&5
15496 bakefile_cv_c_compiler___HP_cc=no
15500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15504 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15505 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15506 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15512 ac_cpp='$CPP $CPPFLAGS'
15513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15514 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15525 ac_cpp='$CPP $CPPFLAGS'
15526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15527 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15530 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15531 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15532 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15533 echo $ECHO_N "(cached) $ECHO_C" >&6
15535 cat >conftest.$ac_ext <<_ACEOF
15538 cat confdefs.h >>conftest.$ac_ext
15539 cat >>conftest.$ac_ext <<_ACEOF
15540 /* end confdefs.h. */
15554 rm -f conftest.$ac_objext
15555 if { (ac_try="$ac_compile"
15556 case "(($ac_try" in
15557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15558 *) ac_try_echo=$ac_try;;
15560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15561 (eval "$ac_compile") 2>conftest.er1
15563 grep -v '^
*+' conftest.er1 >conftest.err
15565 cat conftest.err >&5
15566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15567 (exit $ac_status); } && {
15568 test -z "$ac_c_werror_flag" ||
15569 test ! -s conftest.err
15570 } && test -s conftest.$ac_objext; then
15571 bakefile_cv_c_compiler___DECC=yes
15573 echo "$as_me: failed program was:" >&5
15574 sed 's
/^
/| /' conftest.$ac_ext >&5
15576 bakefile_cv_c_compiler___DECC=no
15580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15584 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15585 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15586 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15592 ac_cpp='$CPP $CPPFLAGS'
15593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15594 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15605 ac_cpp='$CPP $CPPFLAGS'
15606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15607 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15610 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15611 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15612 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15613 echo $ECHO_N "(cached) $ECHO_C" >&6
15615 cat >conftest.$ac_ext <<_ACEOF
15618 cat confdefs.h >>conftest.$ac_ext
15619 cat >>conftest.$ac_ext <<_ACEOF
15620 /* end confdefs.h. */
15634 rm -f conftest.$ac_objext
15635 if { (ac_try="$ac_compile"
15636 case "(($ac_try" in
15637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15638 *) ac_try_echo=$ac_try;;
15640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15641 (eval "$ac_compile") 2>conftest.er1
15643 grep -v '^
*+' conftest.er1 >conftest.err
15645 cat conftest.err >&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); } && {
15648 test -z "$ac_c_werror_flag" ||
15649 test ! -s conftest.err
15650 } && test -s conftest.$ac_objext; then
15651 bakefile_cv_c_compiler___SUNPRO_C=yes
15653 echo "$as_me: failed program was:" >&5
15654 sed 's
/^
/| /' conftest.$ac_ext >&5
15656 bakefile_cv_c_compiler___SUNPRO_C=no
15660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15664 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15665 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15666 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15672 ac_cpp='$CPP $CPPFLAGS'
15673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15674 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15686 ac_cpp='$CPP $CPPFLAGS'
15687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15688 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15690 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15691 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15692 # On Suns, sometimes $CPP names a directory.
15693 if test -n "$CPP" && test -d "$CPP"; then
15696 if test -z "$CPP"; then
15697 if test "${ac_cv_prog_CPP+set}" = set; then
15698 echo $ECHO_N "(cached) $ECHO_C" >&6
15700 # Double quotes because CPP needs to be expanded
15701 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15703 ac_preproc_ok=false
15704 for ac_c_preproc_warn_flag in '' yes
15706 # Use a header file that comes with gcc, so configuring glibc
15707 # with a fresh cross-compiler works.
15708 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15709 # <limits.h> exists even on freestanding compilers.
15710 # On the NeXT, cc -E runs the code through the compiler's parser
,
15711 # not just through cpp. "Syntax error" is here to catch this case.
15712 cat >conftest.
$ac_ext <<_ACEOF
15715 cat confdefs.h
>>conftest.
$ac_ext
15716 cat >>conftest.
$ac_ext <<_ACEOF
15717 /* end confdefs.h. */
15719 # include <limits.h>
15721 # include <assert.h>
15725 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15726 case "(($ac_try" in
15727 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15728 *) ac_try_echo=$ac_try;;
15730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15731 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15733 grep -v '^ *+' conftest.er1 >conftest.err
15735 cat conftest.err >&5
15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737 (exit $ac_status); } >/dev/null && {
15738 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15739 test ! -s conftest.err
15743 echo "$as_me: failed program was:" >&5
15744 sed 's/^/| /' conftest.$ac_ext >&5
15746 # Broken: fails on valid input.
15750 rm -f conftest.err conftest.$ac_ext
15752 # OK, works on sane cases. Now check whether nonexistent headers
15753 # can be detected and how.
15754 cat >conftest.$ac_ext <<_ACEOF
15757 cat confdefs.h >>conftest.$ac_ext
15758 cat >>conftest.$ac_ext <<_ACEOF
15759 /* end confdefs.h. */
15760 #include <ac_nonexistent.h>
15762 if { (ac_try="$ac_cpp conftest.$ac_ext"
15763 case "(($ac_try" in
15764 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15765 *) ac_try_echo
=$ac_try;;
15767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15768 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15770 grep -v '^ *+' conftest.er1
>conftest.err
15772 cat conftest.err
>&5
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); } >/dev
/null
&& {
15775 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15776 test ! -s conftest.err
15778 # Broken: success on invalid input.
15781 echo "$as_me: failed program was:" >&5
15782 sed 's/^/| /' conftest.
$ac_ext >&5
15784 # Passes both tests.
15789 rm -f conftest.err conftest.
$ac_ext
15792 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15793 rm -f conftest.err conftest.
$ac_ext
15794 if $ac_preproc_ok; then
15799 ac_cv_prog_CPP
=$CPP
15802 CPP
=$ac_cv_prog_CPP
15804 ac_cv_prog_CPP
=$CPP
15806 { echo "$as_me:$LINENO: result: $CPP" >&5
15807 echo "${ECHO_T}$CPP" >&6; }
15808 ac_preproc_ok
=false
15809 for ac_c_preproc_warn_flag
in '' yes
15811 # Use a header file that comes with gcc, so configuring glibc
15812 # with a fresh cross-compiler works.
15813 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15814 # <limits.h> exists even on freestanding compilers.
15815 # On the NeXT, cc -E runs the code through the compiler's parser,
15816 # not just through cpp. "Syntax error" is here to catch this case.
15817 cat >conftest.
$ac_ext <<_ACEOF
15820 cat confdefs.h
>>conftest.
$ac_ext
15821 cat >>conftest.
$ac_ext <<_ACEOF
15822 /* end confdefs.h. */
15824 # include <limits.h>
15826 # include <assert.h>
15830 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15831 case "(($ac_try" in
15832 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15833 *) ac_try_echo=$ac_try;;
15835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15836 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15838 grep -v '^ *+' conftest.er1 >conftest.err
15840 cat conftest.err >&5
15841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842 (exit $ac_status); } >/dev/null && {
15843 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15844 test ! -s conftest.err
15848 echo "$as_me: failed program was:" >&5
15849 sed 's/^/| /' conftest.$ac_ext >&5
15851 # Broken: fails on valid input.
15855 rm -f conftest.err conftest.$ac_ext
15857 # OK, works on sane cases. Now check whether nonexistent headers
15858 # can be detected and how.
15859 cat >conftest.$ac_ext <<_ACEOF
15862 cat confdefs.h >>conftest.$ac_ext
15863 cat >>conftest.$ac_ext <<_ACEOF
15864 /* end confdefs.h. */
15865 #include <ac_nonexistent.h>
15867 if { (ac_try="$ac_cpp conftest.$ac_ext"
15868 case "(($ac_try" in
15869 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15870 *) ac_try_echo
=$ac_try;;
15872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15873 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15875 grep -v '^ *+' conftest.er1
>conftest.err
15877 cat conftest.err
>&5
15878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879 (exit $ac_status); } >/dev
/null
&& {
15880 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15881 test ! -s conftest.err
15883 # Broken: success on invalid input.
15886 echo "$as_me: failed program was:" >&5
15887 sed 's/^/| /' conftest.
$ac_ext >&5
15889 # Passes both tests.
15894 rm -f conftest.err conftest.
$ac_ext
15897 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15898 rm -f conftest.err conftest.
$ac_ext
15899 if $ac_preproc_ok; then
15902 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15903 See \`config.log' for more details." >&5
15904 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15905 See \`config.log' for more details." >&2;}
15906 { (exit 1); exit 1; }; }
15910 ac_cpp
='$CPP $CPPFLAGS'
15911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15916 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15917 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15918 if test "${ac_cv_path_GREP+set}" = set; then
15919 echo $ECHO_N "(cached) $ECHO_C" >&6
15921 # Extract the first word of "grep ggrep" to use in msg output
15922 if test -z "$GREP"; then
15923 set dummy
grep ggrep
; ac_prog_name
=$2
15924 if test "${ac_cv_path_GREP+set}" = set; then
15925 echo $ECHO_N "(cached) $ECHO_C" >&6
15927 ac_path_GREP_found
=false
15928 # Loop through the user's path and test for each of PROGNAME-LIST
15929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15930 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
15933 test -z "$as_dir" && as_dir
=.
15934 for ac_prog
in grep ggrep
; do
15935 for ac_exec_ext
in '' $ac_executable_extensions; do
15936 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
15937 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
15938 # Check for GNU ac_path_GREP and select it if it is found.
15939 # Check for GNU $ac_path_GREP
15940 case `"$ac_path_GREP" --version 2>&1` in
15942 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
15945 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15948 cat "conftest.in" "conftest.in" >"conftest.tmp"
15949 mv "conftest.tmp" "conftest.in"
15950 cp "conftest.in" "conftest.nl"
15951 echo 'GREP' >> "conftest.nl"
15952 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
15953 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
15954 ac_count
=`expr $ac_count + 1`
15955 if test $ac_count -gt ${ac_path_GREP_max-0}; then
15956 # Best one so far, save it but keep looking for a better one
15957 ac_cv_path_GREP
="$ac_path_GREP"
15958 ac_path_GREP_max
=$ac_count
15960 # 10*(2^10) chars as input seems more than enough
15961 test $ac_count -gt 10 && break
15963 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
15967 $ac_path_GREP_found && break 3
15977 GREP
="$ac_cv_path_GREP"
15978 if test -z "$GREP"; then
15979 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15980 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15981 { (exit 1); exit 1; }; }
15985 ac_cv_path_GREP
=$GREP
15990 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15991 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15992 GREP
="$ac_cv_path_GREP"
15995 { echo "$as_me:$LINENO: checking for egrep" >&5
15996 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
15997 if test "${ac_cv_path_EGREP+set}" = set; then
15998 echo $ECHO_N "(cached) $ECHO_C" >&6
16000 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16001 then ac_cv_path_EGREP
="$GREP -E"
16003 # Extract the first word of "egrep" to use in msg output
16004 if test -z "$EGREP"; then
16005 set dummy
egrep; ac_prog_name
=$2
16006 if test "${ac_cv_path_EGREP+set}" = set; then
16007 echo $ECHO_N "(cached) $ECHO_C" >&6
16009 ac_path_EGREP_found
=false
16010 # Loop through the user's path and test for each of PROGNAME-LIST
16011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16012 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16015 test -z "$as_dir" && as_dir
=.
16016 for ac_prog
in egrep; do
16017 for ac_exec_ext
in '' $ac_executable_extensions; do
16018 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16019 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16020 # Check for GNU ac_path_EGREP and select it if it is found.
16021 # Check for GNU $ac_path_EGREP
16022 case `"$ac_path_EGREP" --version 2>&1` in
16024 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16027 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16030 cat "conftest.in" "conftest.in" >"conftest.tmp"
16031 mv "conftest.tmp" "conftest.in"
16032 cp "conftest.in" "conftest.nl"
16033 echo 'EGREP' >> "conftest.nl"
16034 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16035 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16036 ac_count
=`expr $ac_count + 1`
16037 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16038 # Best one so far, save it but keep looking for a better one
16039 ac_cv_path_EGREP
="$ac_path_EGREP"
16040 ac_path_EGREP_max
=$ac_count
16042 # 10*(2^10) chars as input seems more than enough
16043 test $ac_count -gt 10 && break
16045 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16049 $ac_path_EGREP_found && break 3
16059 EGREP
="$ac_cv_path_EGREP"
16060 if test -z "$EGREP"; then
16061 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16062 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16063 { (exit 1); exit 1; }; }
16067 ac_cv_path_EGREP
=$EGREP
16073 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16074 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16075 EGREP
="$ac_cv_path_EGREP"
16078 if test $ac_cv_c_compiler_gnu = yes; then
16079 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16080 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16081 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16082 echo $ECHO_N "(cached) $ECHO_C" >&6
16084 ac_pattern
="Autoconf.*'x'"
16085 cat >conftest.
$ac_ext <<_ACEOF
16088 cat confdefs.h
>>conftest.
$ac_ext
16089 cat >>conftest.
$ac_ext <<_ACEOF
16090 /* end confdefs.h. */
16094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16095 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16096 ac_cv_prog_gcc_traditional
=yes
16098 ac_cv_prog_gcc_traditional
=no
16103 if test $ac_cv_prog_gcc_traditional = no
; then
16104 cat >conftest.
$ac_ext <<_ACEOF
16107 cat confdefs.h
>>conftest.
$ac_ext
16108 cat >>conftest.
$ac_ext <<_ACEOF
16109 /* end confdefs.h. */
16110 #include <termio.h>
16113 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16114 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16115 ac_cv_prog_gcc_traditional
=yes
16121 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16122 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16123 if test $ac_cv_prog_gcc_traditional = yes; then
16124 CC
="$CC -traditional"
16129 CXXFLAGS
=${CXXFLAGS:=}
16134 ac_cpp
='$CXXCPP $CPPFLAGS'
16135 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16136 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16137 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16138 if test -z "$CXX"; then
16139 if test -n "$CCC"; then
16142 if test -n "$ac_tool_prefix"; then
16143 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16145 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16146 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16149 if test "${ac_cv_prog_CXX+set}" = set; then
16150 echo $ECHO_N "(cached) $ECHO_C" >&6
16152 if test -n "$CXX"; then
16153 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16156 for as_dir
in $PATH
16159 test -z "$as_dir" && as_dir
=.
16160 for ac_exec_ext
in '' $ac_executable_extensions; do
16161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16162 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16172 CXX
=$ac_cv_prog_CXX
16173 if test -n "$CXX"; then
16174 { echo "$as_me:$LINENO: result: $CXX" >&5
16175 echo "${ECHO_T}$CXX" >&6; }
16177 { echo "$as_me:$LINENO: result: no" >&5
16178 echo "${ECHO_T}no" >&6; }
16182 test -n "$CXX" && break
16185 if test -z "$CXX"; then
16187 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16189 # Extract the first word of "$ac_prog", so it can be a program name with args.
16190 set dummy
$ac_prog; ac_word
=$2
16191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16193 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16194 echo $ECHO_N "(cached) $ECHO_C" >&6
16196 if test -n "$ac_ct_CXX"; then
16197 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16200 for as_dir
in $PATH
16203 test -z "$as_dir" && as_dir
=.
16204 for ac_exec_ext
in '' $ac_executable_extensions; do
16205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16206 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16216 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16217 if test -n "$ac_ct_CXX"; then
16218 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16219 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16221 { echo "$as_me:$LINENO: result: no" >&5
16222 echo "${ECHO_T}no" >&6; }
16226 test -n "$ac_ct_CXX" && break
16229 if test "x$ac_ct_CXX" = x
; then
16232 case $cross_compiling:$ac_tool_warned in
16234 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16235 whose name does not start with the host triplet. If you think this
16236 configuration is useful to you, please write to autoconf@gnu.org." >&5
16237 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16238 whose name does not start with the host triplet. If you think this
16239 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16240 ac_tool_warned
=yes ;;
16248 # Provide some information about the compiler.
16249 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16250 ac_compiler
=`set X $ac_compile; echo $2`
16251 { (ac_try
="$ac_compiler --version >&5"
16252 case "(($ac_try" in
16253 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16254 *) ac_try_echo=$ac_try;;
16256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16257 (eval "$ac_compiler --version >&5") 2>&5
16259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16260 (exit $ac_status); }
16261 { (ac_try="$ac_compiler -v >&5"
16262 case "(($ac_try" in
16263 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16264 *) ac_try_echo
=$ac_try;;
16266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16267 (eval "$ac_compiler -v >&5") 2>&5
16269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16270 (exit $ac_status); }
16271 { (ac_try
="$ac_compiler -V >&5"
16272 case "(($ac_try" in
16273 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16274 *) ac_try_echo=$ac_try;;
16276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16277 (eval "$ac_compiler -V >&5") 2>&5
16279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16280 (exit $ac_status); }
16282 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16283 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16284 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16285 echo $ECHO_N "(cached) $ECHO_C" >&6
16287 cat >conftest.$ac_ext <<_ACEOF
16290 cat confdefs.h >>conftest.$ac_ext
16291 cat >>conftest.$ac_ext <<_ACEOF
16292 /* end confdefs.h. */
16305 rm -f conftest.$ac_objext
16306 if { (ac_try="$ac_compile"
16307 case "(($ac_try" in
16308 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16309 *) ac_try_echo
=$ac_try;;
16311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16312 (eval "$ac_compile") 2>conftest.er1
16314 grep -v '^ *+' conftest.er1
>conftest.err
16316 cat conftest.err
>&5
16317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16318 (exit $ac_status); } && {
16319 test -z "$ac_cxx_werror_flag" ||
16320 test ! -s conftest.err
16321 } && test -s conftest.
$ac_objext; then
16322 ac_compiler_gnu
=yes
16324 echo "$as_me: failed program was:" >&5
16325 sed 's/^/| /' conftest.
$ac_ext >&5
16330 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16331 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16334 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16335 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16336 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16337 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16338 ac_save_CXXFLAGS
=$CXXFLAGS
16339 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16340 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16341 if test "${ac_cv_prog_cxx_g+set}" = set; then
16342 echo $ECHO_N "(cached) $ECHO_C" >&6
16344 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16345 ac_cxx_werror_flag
=yes
16346 ac_cv_prog_cxx_g
=no
16348 cat >conftest.
$ac_ext <<_ACEOF
16351 cat confdefs.h
>>conftest.
$ac_ext
16352 cat >>conftest.
$ac_ext <<_ACEOF
16353 /* end confdefs.h. */
16363 rm -f conftest.
$ac_objext
16364 if { (ac_try
="$ac_compile"
16365 case "(($ac_try" in
16366 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16367 *) ac_try_echo=$ac_try;;
16369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16370 (eval "$ac_compile") 2>conftest.er1
16372 grep -v '^ *+' conftest.er1 >conftest.err
16374 cat conftest.err >&5
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); } && {
16377 test -z "$ac_cxx_werror_flag" ||
16378 test ! -s conftest.err
16379 } && test -s conftest.$ac_objext; then
16380 ac_cv_prog_cxx_g=yes
16382 echo "$as_me: failed program was:" >&5
16383 sed 's/^/| /' conftest.$ac_ext >&5
16386 cat >conftest.$ac_ext <<_ACEOF
16389 cat confdefs.h >>conftest.$ac_ext
16390 cat >>conftest.$ac_ext <<_ACEOF
16391 /* end confdefs.h. */
16401 rm -f conftest.$ac_objext
16402 if { (ac_try="$ac_compile"
16403 case "(($ac_try" in
16404 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16405 *) ac_try_echo
=$ac_try;;
16407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16408 (eval "$ac_compile") 2>conftest.er1
16410 grep -v '^ *+' conftest.er1
>conftest.err
16412 cat conftest.err
>&5
16413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414 (exit $ac_status); } && {
16415 test -z "$ac_cxx_werror_flag" ||
16416 test ! -s conftest.err
16417 } && test -s conftest.
$ac_objext; then
16420 echo "$as_me: failed program was:" >&5
16421 sed 's/^/| /' conftest.
$ac_ext >&5
16423 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16425 cat >conftest.
$ac_ext <<_ACEOF
16428 cat confdefs.h
>>conftest.
$ac_ext
16429 cat >>conftest.
$ac_ext <<_ACEOF
16430 /* end confdefs.h. */
16440 rm -f conftest.
$ac_objext
16441 if { (ac_try
="$ac_compile"
16442 case "(($ac_try" in
16443 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16444 *) ac_try_echo=$ac_try;;
16446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16447 (eval "$ac_compile") 2>conftest.er1
16449 grep -v '^ *+' conftest.er1 >conftest.err
16451 cat conftest.err >&5
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); } && {
16454 test -z "$ac_cxx_werror_flag" ||
16455 test ! -s conftest.err
16456 } && test -s conftest.$ac_objext; then
16457 ac_cv_prog_cxx_g=yes
16459 echo "$as_me: failed program was:" >&5
16460 sed 's/^/| /' conftest.$ac_ext >&5
16465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16472 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16474 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16475 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16476 if test "$ac_test_CXXFLAGS" = set; then
16477 CXXFLAGS=$ac_save_CXXFLAGS
16478 elif test $ac_cv_prog_cxx_g = yes; then
16479 if test "$GXX" = yes; then
16485 if test "$GXX" = yes; then
16492 ac_cpp='$CPP $CPPFLAGS'
16493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16501 ac_cpp='$CXXCPP $CPPFLAGS'
16502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16506 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16507 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16508 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16509 echo $ECHO_N "(cached) $ECHO_C" >&6
16511 cat >conftest.$ac_ext <<_ACEOF
16514 cat confdefs.h >>conftest.$ac_ext
16515 cat >>conftest.$ac_ext <<_ACEOF
16516 /* end confdefs.h. */
16522 #ifndef __INTEL_COMPILER
16530 rm -f conftest.$ac_objext
16531 if { (ac_try="$ac_compile"
16532 case "(($ac_try" in
16533 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16534 *) ac_try_echo
=$ac_try;;
16536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16537 (eval "$ac_compile") 2>conftest.er1
16539 grep -v '^ *+' conftest.er1
>conftest.err
16541 cat conftest.err
>&5
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); } && {
16544 test -z "$ac_cxx_werror_flag" ||
16545 test ! -s conftest.err
16546 } && test -s conftest.
$ac_objext; then
16547 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16549 echo "$as_me: failed program was:" >&5
16550 sed 's/^/| /' conftest.
$ac_ext >&5
16552 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16560 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16561 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16562 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16568 ac_cpp
='$CPP $CPPFLAGS'
16569 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16570 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16571 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16576 if test "x$GCXX" != "xyes"; then
16577 if test "xCXX" = "xC"; then
16578 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16579 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16580 if test "${bakefile_cv_c_exto+set}" = set; then
16581 echo $ECHO_N "(cached) $ECHO_C" >&6
16583 cat >conftest.
$ac_ext <<_ACEOF
16586 cat confdefs.h
>>conftest.
$ac_ext
16587 cat >>conftest.
$ac_ext <<_ACEOF
16588 /* end confdefs.h. */
16598 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
16599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16600 (eval $ac_compile) 2>&5
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); }; then
16604 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
16606 conftest.
$ac_ext.o
)
16607 bakefile_cv_c_exto
="-ext o"
16614 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16615 See \`config.log' for more details." >&5
16616 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16617 See \`config.log' for more details." >&2;}
16618 { (exit 1); exit 1; }; }
16622 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
16625 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16626 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16627 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16628 if test "c" = "c"; then
16629 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
16631 if test "c" = "cxx"; then
16632 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
16636 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16637 unset ac_cv_prog_cc_g
16638 ac_test_CFLAGS
=${CFLAGS+set}
16639 ac_save_CFLAGS
=$CFLAGS
16640 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16641 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16642 if test "${ac_cv_prog_cc_g+set}" = set; then
16643 echo $ECHO_N "(cached) $ECHO_C" >&6
16645 ac_save_c_werror_flag
=$ac_c_werror_flag
16646 ac_c_werror_flag
=yes
16649 cat >conftest.
$ac_ext <<_ACEOF
16652 cat confdefs.h
>>conftest.
$ac_ext
16653 cat >>conftest.
$ac_ext <<_ACEOF
16654 /* end confdefs.h. */
16664 rm -f conftest.
$ac_objext
16665 if { (ac_try
="$ac_compile"
16666 case "(($ac_try" in
16667 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16668 *) ac_try_echo=$ac_try;;
16670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16671 (eval "$ac_compile") 2>conftest.er1
16673 grep -v '^ *+' conftest.er1 >conftest.err
16675 cat conftest.err >&5
16676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16677 (exit $ac_status); } && {
16678 test -z "$ac_c_werror_flag" ||
16679 test ! -s conftest.err
16680 } && test -s conftest.$ac_objext; then
16681 ac_cv_prog_cc_g=yes
16683 echo "$as_me: failed program was:" >&5
16684 sed 's/^/| /' conftest.$ac_ext >&5
16687 cat >conftest.$ac_ext <<_ACEOF
16690 cat confdefs.h >>conftest.$ac_ext
16691 cat >>conftest.$ac_ext <<_ACEOF
16692 /* end confdefs.h. */
16702 rm -f conftest.$ac_objext
16703 if { (ac_try="$ac_compile"
16704 case "(($ac_try" in
16705 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16706 *) ac_try_echo
=$ac_try;;
16708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16709 (eval "$ac_compile") 2>conftest.er1
16711 grep -v '^ *+' conftest.er1
>conftest.err
16713 cat conftest.err
>&5
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); } && {
16716 test -z "$ac_c_werror_flag" ||
16717 test ! -s conftest.err
16718 } && test -s conftest.
$ac_objext; then
16721 echo "$as_me: failed program was:" >&5
16722 sed 's/^/| /' conftest.
$ac_ext >&5
16724 ac_c_werror_flag
=$ac_save_c_werror_flag
16726 cat >conftest.
$ac_ext <<_ACEOF
16729 cat confdefs.h
>>conftest.
$ac_ext
16730 cat >>conftest.
$ac_ext <<_ACEOF
16731 /* end confdefs.h. */
16741 rm -f conftest.
$ac_objext
16742 if { (ac_try
="$ac_compile"
16743 case "(($ac_try" in
16744 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16745 *) ac_try_echo=$ac_try;;
16747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16748 (eval "$ac_compile") 2>conftest.er1
16750 grep -v '^ *+' conftest.er1 >conftest.err
16752 cat conftest.err >&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); } && {
16755 test -z "$ac_c_werror_flag" ||
16756 test ! -s conftest.err
16757 } && test -s conftest.$ac_objext; then
16758 ac_cv_prog_cc_g=yes
16760 echo "$as_me: failed program was:" >&5
16761 sed 's/^/| /' conftest.$ac_ext >&5
16766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16773 ac_c_werror_flag=$ac_save_c_werror_flag
16775 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16776 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16777 if test "$ac_test_CFLAGS" = set; then
16778 CFLAGS=$ac_save_CFLAGS
16779 elif test $ac_cv_prog_cc_g = yes; then
16780 if test "$GCC" = yes; then
16786 if test "$GCC" = yes; then
16800 ac_cpp='$CXXCPP $CPPFLAGS'
16801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16805 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16806 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16807 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16808 echo $ECHO_N "(cached) $ECHO_C" >&6
16810 cat >conftest.$ac_ext <<_ACEOF
16813 cat confdefs.h >>conftest.$ac_ext
16814 cat >>conftest.$ac_ext <<_ACEOF
16815 /* end confdefs.h. */
16829 rm -f conftest.$ac_objext
16830 if { (ac_try="$ac_compile"
16831 case "(($ac_try" in
16832 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16833 *) ac_try_echo
=$ac_try;;
16835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16836 (eval "$ac_compile") 2>conftest.er1
16838 grep -v '^ *+' conftest.er1
>conftest.err
16840 cat conftest.err
>&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); } && {
16843 test -z "$ac_cxx_werror_flag" ||
16844 test ! -s conftest.err
16845 } && test -s conftest.
$ac_objext; then
16846 bakefile_cv_cxx_compiler___xlC__
=yes
16848 echo "$as_me: failed program was:" >&5
16849 sed 's/^/| /' conftest.
$ac_ext >&5
16851 bakefile_cv_cxx_compiler___xlC__
=no
16855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16859 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16860 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16861 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16867 ac_cpp
='$CPP $CPPFLAGS'
16868 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16869 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16870 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16880 ac_cpp
='$CXXCPP $CPPFLAGS'
16881 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16882 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16883 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16885 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16886 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16887 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
16888 echo $ECHO_N "(cached) $ECHO_C" >&6
16890 cat >conftest.
$ac_ext <<_ACEOF
16893 cat confdefs.h
>>conftest.
$ac_ext
16894 cat >>conftest.
$ac_ext <<_ACEOF
16895 /* end confdefs.h. */
16909 rm -f conftest.
$ac_objext
16910 if { (ac_try
="$ac_compile"
16911 case "(($ac_try" in
16912 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16913 *) ac_try_echo=$ac_try;;
16915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16916 (eval "$ac_compile") 2>conftest.er1
16918 grep -v '^ *+' conftest.er1 >conftest.err
16920 cat conftest.err >&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); } && {
16923 test -z "$ac_cxx_werror_flag" ||
16924 test ! -s conftest.err
16925 } && test -s conftest.$ac_objext; then
16926 bakefile_cv_cxx_compiler___MWERKS__=yes
16928 echo "$as_me: failed program was:" >&5
16929 sed 's/^/| /' conftest.$ac_ext >&5
16931 bakefile_cv_cxx_compiler___MWERKS__=no
16935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16939 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
16940 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
16941 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
16947 ac_cpp='$CPP $CPPFLAGS'
16948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16957 ac_cpp='$CXXCPP $CPPFLAGS'
16958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16962 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16963 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16964 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16965 echo $ECHO_N "(cached) $ECHO_C" >&6
16967 cat >conftest.$ac_ext <<_ACEOF
16970 cat confdefs.h >>conftest.$ac_ext
16971 cat >>conftest.$ac_ext <<_ACEOF
16972 /* end confdefs.h. */
16986 rm -f conftest.$ac_objext
16987 if { (ac_try="$ac_compile"
16988 case "(($ac_try" in
16989 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16990 *) ac_try_echo
=$ac_try;;
16992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16993 (eval "$ac_compile") 2>conftest.er1
16995 grep -v '^ *+' conftest.er1
>conftest.err
16997 cat conftest.err
>&5
16998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16999 (exit $ac_status); } && {
17000 test -z "$ac_cxx_werror_flag" ||
17001 test ! -s conftest.err
17002 } && test -s conftest.
$ac_objext; then
17003 bakefile_cv_cxx_compiler___xlC__
=yes
17005 echo "$as_me: failed program was:" >&5
17006 sed 's/^/| /' conftest.
$ac_ext >&5
17008 bakefile_cv_cxx_compiler___xlC__
=no
17012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17016 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17017 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17018 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17024 ac_cpp
='$CPP $CPPFLAGS'
17025 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17026 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17027 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17037 ac_cpp
='$CXXCPP $CPPFLAGS'
17038 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17039 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17040 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17042 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17043 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17044 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17045 echo $ECHO_N "(cached) $ECHO_C" >&6
17047 cat >conftest.
$ac_ext <<_ACEOF
17050 cat confdefs.h
>>conftest.
$ac_ext
17051 cat >>conftest.
$ac_ext <<_ACEOF
17052 /* end confdefs.h. */
17058 #ifndef _SGI_COMPILER_VERSION
17066 rm -f conftest.
$ac_objext
17067 if { (ac_try
="$ac_compile"
17068 case "(($ac_try" in
17069 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17070 *) ac_try_echo=$ac_try;;
17072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17073 (eval "$ac_compile") 2>conftest.er1
17075 grep -v '^ *+' conftest.er1 >conftest.err
17077 cat conftest.err >&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); } && {
17080 test -z "$ac_cxx_werror_flag" ||
17081 test ! -s conftest.err
17082 } && test -s conftest.$ac_objext; then
17083 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17085 echo "$as_me: failed program was:" >&5
17086 sed 's/^/| /' conftest.$ac_ext >&5
17088 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17096 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17097 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17098 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17104 ac_cpp='$CPP $CPPFLAGS'
17105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17117 ac_cpp='$CXXCPP $CPPFLAGS'
17118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17122 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17123 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17124 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17125 echo $ECHO_N "(cached) $ECHO_C" >&6
17127 cat >conftest.$ac_ext <<_ACEOF
17130 cat confdefs.h >>conftest.$ac_ext
17131 cat >>conftest.$ac_ext <<_ACEOF
17132 /* end confdefs.h. */
17138 #ifndef __SUNPRO_CC
17146 rm -f conftest.$ac_objext
17147 if { (ac_try="$ac_compile"
17148 case "(($ac_try" in
17149 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17150 *) ac_try_echo
=$ac_try;;
17152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17153 (eval "$ac_compile") 2>conftest.er1
17155 grep -v '^ *+' conftest.er1
>conftest.err
17157 cat conftest.err
>&5
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); } && {
17160 test -z "$ac_cxx_werror_flag" ||
17161 test ! -s conftest.err
17162 } && test -s conftest.
$ac_objext; then
17163 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17165 echo "$as_me: failed program was:" >&5
17166 sed 's/^/| /' conftest.
$ac_ext >&5
17168 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17176 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17177 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17178 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17184 ac_cpp
='$CPP $CPPFLAGS'
17185 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17186 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17187 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17197 ac_cpp
='$CXXCPP $CPPFLAGS'
17198 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17199 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17200 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17202 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17203 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17204 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17205 echo $ECHO_N "(cached) $ECHO_C" >&6
17207 cat >conftest.
$ac_ext <<_ACEOF
17210 cat confdefs.h
>>conftest.
$ac_ext
17211 cat >>conftest.
$ac_ext <<_ACEOF
17212 /* end confdefs.h. */
17226 rm -f conftest.
$ac_objext
17227 if { (ac_try
="$ac_compile"
17228 case "(($ac_try" in
17229 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17230 *) ac_try_echo=$ac_try;;
17232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17233 (eval "$ac_compile") 2>conftest.er1
17235 grep -v '^ *+' conftest.er1 >conftest.err
17237 cat conftest.err >&5
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); } && {
17240 test -z "$ac_cxx_werror_flag" ||
17241 test ! -s conftest.err
17242 } && test -s conftest.$ac_objext; then
17243 bakefile_cv_cxx_compiler___HP_aCC=yes
17245 echo "$as_me: failed program was:" >&5
17246 sed 's/^/| /' conftest.$ac_ext >&5
17248 bakefile_cv_cxx_compiler___HP_aCC=no
17252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17256 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17257 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17258 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17264 ac_cpp='$CPP $CPPFLAGS'
17265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17277 ac_cpp='$CXXCPP $CPPFLAGS'
17278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17282 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17283 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17284 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17285 echo $ECHO_N "(cached) $ECHO_C" >&6
17287 cat >conftest.$ac_ext <<_ACEOF
17290 cat confdefs.h >>conftest.$ac_ext
17291 cat >>conftest.$ac_ext <<_ACEOF
17292 /* end confdefs.h. */
17306 rm -f conftest.$ac_objext
17307 if { (ac_try="$ac_compile"
17308 case "(($ac_try" in
17309 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17310 *) ac_try_echo
=$ac_try;;
17312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17313 (eval "$ac_compile") 2>conftest.er1
17315 grep -v '^ *+' conftest.er1
>conftest.err
17317 cat conftest.err
>&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); } && {
17320 test -z "$ac_cxx_werror_flag" ||
17321 test ! -s conftest.err
17322 } && test -s conftest.
$ac_objext; then
17323 bakefile_cv_cxx_compiler___DECCXX
=yes
17325 echo "$as_me: failed program was:" >&5
17326 sed 's/^/| /' conftest.
$ac_ext >&5
17328 bakefile_cv_cxx_compiler___DECCXX
=no
17332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17336 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17337 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17338 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17344 ac_cpp
='$CPP $CPPFLAGS'
17345 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17346 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17347 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17357 ac_cpp
='$CXXCPP $CPPFLAGS'
17358 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17359 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17360 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17362 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17363 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17364 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17365 echo $ECHO_N "(cached) $ECHO_C" >&6
17367 cat >conftest.
$ac_ext <<_ACEOF
17370 cat confdefs.h
>>conftest.
$ac_ext
17371 cat >>conftest.
$ac_ext <<_ACEOF
17372 /* end confdefs.h. */
17378 #ifndef __SUNPRO_CC
17386 rm -f conftest.
$ac_objext
17387 if { (ac_try
="$ac_compile"
17388 case "(($ac_try" in
17389 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17390 *) ac_try_echo=$ac_try;;
17392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17393 (eval "$ac_compile") 2>conftest.er1
17395 grep -v '^ *+' conftest.er1 >conftest.err
17397 cat conftest.err >&5
17398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399 (exit $ac_status); } && {
17400 test -z "$ac_cxx_werror_flag" ||
17401 test ! -s conftest.err
17402 } && test -s conftest.$ac_objext; then
17403 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17405 echo "$as_me: failed program was:" >&5
17406 sed 's/^/| /' conftest.$ac_ext >&5
17408 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17416 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17417 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17418 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17424 ac_cpp='$CPP $CPPFLAGS'
17425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17437 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17438 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17439 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17440 { (exit 1); exit 1; }; }
17443 if test "x$SUNCXX" != xyes; then
17444 if test -n "$ac_tool_prefix"; then
17445 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17446 set dummy ${ac_tool_prefix}ar; ac_word=$2
17447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17449 if test "${ac_cv_prog_AR+set}" = set; then
17450 echo $ECHO_N "(cached) $ECHO_C" >&6
17452 if test -n "$AR"; then
17453 ac_cv_prog_AR="$AR" # Let the user override the test.
17455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17456 for as_dir in $PATH
17459 test -z "$as_dir" && as_dir=.
17460 for ac_exec_ext in '' $ac_executable_extensions; do
17461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17462 ac_cv_prog_AR="${ac_tool_prefix}ar"
17463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17473 if test -n "$AR"; then
17474 { echo "$as_me:$LINENO: result: $AR" >&5
17475 echo "${ECHO_T}$AR" >&6; }
17477 { echo "$as_me:$LINENO: result: no" >&5
17478 echo "${ECHO_T}no" >&6; }
17483 if test -z "$ac_cv_prog_AR"; then
17485 # Extract the first word of "ar", so it can be a program name with args.
17486 set dummy ar; ac_word=$2
17487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17489 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17490 echo $ECHO_N "(cached) $ECHO_C" >&6
17492 if test -n "$ac_ct_AR"; then
17493 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17496 for as_dir in $PATH
17499 test -z "$as_dir" && as_dir=.
17500 for ac_exec_ext in '' $ac_executable_extensions; do
17501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17502 ac_cv_prog_ac_ct_AR="ar"
17503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17512 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17513 if test -n "$ac_ct_AR"; then
17514 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17515 echo "${ECHO_T}$ac_ct_AR" >&6; }
17517 { echo "$as_me:$LINENO: result: no" >&5
17518 echo "${ECHO_T}no" >&6; }
17521 if test "x$ac_ct_AR" = x; then
17524 case $cross_compiling:$ac_tool_warned in
17526 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17527 whose name does not start with the host triplet. If you think this
17528 configuration is useful to you, please write to autoconf@gnu.org." >&5
17529 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17530 whose name does not start with the host triplet. If you think this
17531 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17532 ac_tool_warned=yes ;;
17537 AR="$ac_cv_prog_AR"
17540 if test "x$AR" = "x" ; then
17541 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17542 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17543 { (exit 1); exit 1; }; }
17547 retest_macosx_linking=no
17549 #if test "$wxUSE_MAC" = 1; then
17550 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17551 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17552 # Implicitly turn on the new --with-macosx-sdk using the default
17553 # SDK which provides the behavior this option has always had.
17554 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17555 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17556 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17557 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17558 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17559 wxUSE_MACOSX_SDK=yes
17562 # Complain to user if he specified an argument to --enable-universal_binary
17563 # and also 1) specified --with-macosx-sdk using the default (yes) or
17564 # 2) specified --with-macosx-sdk using a path or 3) specified
17565 # --without-macosx-sdk (no).
17566 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17567 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17568 See \`config.log
' for more details." >&5
17569 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17570 See \`config.log' for more details.
" >&2;}
17571 { (exit 1); exit 1; }; }
17573 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17574 # special-case the empty string because the below test simply
17575 # converts "no
" to the empty string anyway.
17576 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17577 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
17578 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
17581 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
17582 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17583 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17584 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17585 retest_macosx_linking=yes
17587 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
17588 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
17593 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
17595 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
17596 # TODO: Search for most recent SDK and use it.
17597 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
17601 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
17602 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
17603 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
17604 if ! test -d "$wxUSE_MACOSX_SDK"; then
17605 { { echo "$as_me:$LINENO: error
: not found
17606 See \
`config.log' for more details." >&5
17607 echo "$as_me: error: not found
17608 See \`config.log
' for more details." >&2;}
17609 { (exit 1); exit 1; }; }
17611 { echo "$as_me:$LINENO: result: exists" >&5
17612 echo "${ECHO_T}exists" >&6; }
17614 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17615 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17616 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17617 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17618 retest_macosx_linking=yes
17621 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17622 wxUSE_MACOSX_VERSION_MIN=
17623 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17624 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17625 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17626 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17628 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/'`
17630 # If that failed, try again with the new key
17631 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17633 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/'`
17637 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17638 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17639 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17640 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17642 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17643 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17644 wxUSE_MACOSX_VERSION_MIN=
17647 wxUSE_MACOSX_VERSION_MIN=
17651 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17652 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17653 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17654 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17655 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17656 retest_macosx_linking=yes
17659 if test "x$retest_macosx_linking" = "xyes"; then
17661 ac_cpp='$CPP $CPPFLAGS'
17662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17663 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17666 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17667 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17668 cat >conftest.$ac_ext <<_ACEOF
17671 cat confdefs.h >>conftest.$ac_ext
17672 cat >>conftest.$ac_ext <<_ACEOF
17673 /* end confdefs.h. */
17683 rm -f conftest.$ac_objext conftest$ac_exeext
17684 if { (ac_try="$ac_link"
17685 case "(($ac_try" in
17686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17687 *) ac_try_echo=$ac_try;;
17689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17690 (eval "$ac_link") 2>conftest.er1
17692 grep -v '^
*+' conftest.er1 >conftest.err
17694 cat conftest.err >&5
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); } && {
17697 test -z "$ac_c_werror_flag" ||
17698 test ! -s conftest.err
17699 } && test -s conftest$ac_exeext &&
17700 $as_test_x conftest$ac_exeext; then
17701 { echo "$as_me:$LINENO: result: yes" >&5
17702 echo "${ECHO_T}yes" >&6; }
17704 echo "$as_me: failed program was:" >&5
17705 sed 's
/^
/| /' conftest.$ac_ext >&5
17707 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17708 See \`config.log' for more details.
" >&5
17709 echo "$as_me: error
: no. Try a different SDK
17710 See \
`config.log' for more details." >&2;}
17711 { (exit 1); exit 1; }; }; exit 1
17714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17715 conftest$ac_exeext conftest.$ac_ext
17717 ac_cpp='$CPP $CPPFLAGS'
17718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17724 ac_cpp='$CXXCPP $CPPFLAGS'
17725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17729 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17730 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17731 cat >conftest.$ac_ext <<_ACEOF
17734 cat confdefs.h >>conftest.$ac_ext
17735 cat >>conftest.$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17746 rm -f conftest.$ac_objext conftest$ac_exeext
17747 if { (ac_try="$ac_link"
17748 case "(($ac_try" in
17749 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17750 *) ac_try_echo
=$ac_try;;
17752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17753 (eval "$ac_link") 2>conftest.er1
17755 grep -v '^ *+' conftest.er1
>conftest.err
17757 cat conftest.err
>&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); } && {
17760 test -z "$ac_cxx_werror_flag" ||
17761 test ! -s conftest.err
17762 } && test -s conftest
$ac_exeext &&
17763 $as_test_x conftest
$ac_exeext; then
17764 { echo "$as_me:$LINENO: result: yes" >&5
17765 echo "${ECHO_T}yes" >&6; }
17767 echo "$as_me: failed program was:" >&5
17768 sed 's/^/| /' conftest.
$ac_ext >&5
17770 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17771 See \`config.log' for more details." >&5
17772 echo "$as_me: error: no. Try a different SDK
17773 See \`config.log' for more details." >&2;}
17774 { (exit 1); exit 1; }; }; exit 1
17777 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17778 conftest
$ac_exeext conftest.
$ac_ext
17780 ac_cpp
='$CPP $CPPFLAGS'
17781 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17782 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17783 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17791 INSTALL_PROGRAM
="cp -fp"
17792 INSTALL_DATA
="cp -fp"
17799 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17800 CXXFLAGS
="-qunique $CXXFLAGS"
17804 powerpc
-*-darwin* )
17805 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17806 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17807 cat >conftest.
$ac_ext <<_ACEOF
17810 cat confdefs.h
>>conftest.
$ac_ext
17811 cat >>conftest.
$ac_ext <<_ACEOF
17812 /* end confdefs.h. */
17817 #ifndef __POWERPC__
17818 choke me for lack of PowerPC
17825 rm -f conftest.
$ac_objext
17826 if { (ac_try
="$ac_compile"
17827 case "(($ac_try" in
17828 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17829 *) ac_try_echo=$ac_try;;
17831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17832 (eval "$ac_compile") 2>conftest.er1
17834 grep -v '^ *+' conftest.er1 >conftest.err
17836 cat conftest.err >&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); } && {
17839 test -z "$ac_c_werror_flag" ||
17840 test ! -s conftest.err
17841 } && test -s conftest.$ac_objext; then
17842 { echo "$as_me:$LINENO: result: yes" >&5
17843 echo "${ECHO_T}yes" >&6; }
17845 echo "$as_me: failed program was:" >&5
17846 sed 's/^/| /' conftest.$ac_ext >&5
17848 { echo "$as_me:$LINENO: result: no" >&5
17849 echo "${ECHO_T}no" >&6; }
17850 cat >>confdefs.h <<\_ACEOF
17851 #define __POWERPC__ 1
17857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17863 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17864 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17865 cat >conftest.$ac_ext <<_ACEOF
17868 cat confdefs.h >>conftest.$ac_ext
17869 cat >>conftest.$ac_ext <<_ACEOF
17870 /* end confdefs.h. */
17871 #include <CoreFoundation/CFBase.h>
17881 rm -f conftest.$ac_objext
17882 if { (ac_try="$ac_compile"
17883 case "(($ac_try" in
17884 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17885 *) ac_try_echo
=$ac_try;;
17887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17888 (eval "$ac_compile") 2>conftest.er1
17890 grep -v '^ *+' conftest.er1
>conftest.err
17892 cat conftest.err
>&5
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); } && {
17895 test -z "$ac_c_werror_flag" ||
17896 test ! -s conftest.err
17897 } && test -s conftest.
$ac_objext; then
17898 { echo "$as_me:$LINENO: result: yes" >&5
17899 echo "${ECHO_T}yes" >&6; }
17901 echo "$as_me: failed program was:" >&5
17902 sed 's/^/| /' conftest.
$ac_ext >&5
17904 { echo "$as_me:$LINENO: result: no" >&5
17905 echo "${ECHO_T}no" >&6; }
17906 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17907 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17908 cat >conftest.
$ac_ext <<_ACEOF
17911 cat confdefs.h
>>conftest.
$ac_ext
17912 cat >>conftest.
$ac_ext <<_ACEOF
17913 /* end confdefs.h. */
17914 #define __CF_USE_FRAMEWORK_INCLUDES__
17915 #include <CoreFoundation/CFBase.h>
17925 rm -f conftest.
$ac_objext
17926 if { (ac_try
="$ac_compile"
17927 case "(($ac_try" in
17928 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17929 *) ac_try_echo=$ac_try;;
17931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17932 (eval "$ac_compile") 2>conftest.er1
17934 grep -v '^ *+' conftest.er1 >conftest.err
17936 cat conftest.err >&5
17937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17938 (exit $ac_status); } && {
17939 test -z "$ac_c_werror_flag" ||
17940 test ! -s conftest.err
17941 } && test -s conftest.$ac_objext; then
17942 { echo "$as_me:$LINENO: result: yes" >&5
17943 echo "${ECHO_T}yes" >&6; }
17944 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17946 echo "$as_me: failed program was:" >&5
17947 sed 's/^/| /' conftest.$ac_ext >&5
17949 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17950 See \`config.log
' for more details." >&5
17951 echo "$as_me: error: no. CoreFoundation not available.
17952 See \`config.log' for more details.
" >&2;}
17953 { (exit 1); exit 1; }; }
17957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17967 doesnt_want_win32=0
17970 if test "$wxUSE_MSW" = 1 ; then
17973 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
17974 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
17975 if test "${wx_cv_nocygwin+set}" = set; then
17976 echo $ECHO_N "(cached
) $ECHO_C" >&6
17979 cat >conftest.$ac_ext <<_ACEOF
17982 cat confdefs.h >>conftest.$ac_ext
17983 cat >>conftest.$ac_ext <<_ACEOF
17984 /* end confdefs.h. */
17998 rm -f conftest.$ac_objext
17999 if { (ac_try="$ac_compile"
18000 case "(($ac_try" in
18001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18002 *) ac_try_echo=$ac_try;;
18004 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18005 (eval "$ac_compile") 2>conftest.er1
18007 grep -v '^ *+' conftest.er1 >conftest.err
18009 cat conftest.err >&5
18010 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18011 (exit $ac_status); } && {
18012 test -z "$ac_c_werror_flag" ||
18013 test ! -s conftest.err
18014 } && test -s conftest.$ac_objext; then
18017 echo "$as_me: failed program was
:" >&5
18018 sed 's/^/| /' conftest.$ac_ext >&5
18024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18028 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18029 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18031 if test "$wx_cv_nocygwin" = "yes"; then
18034 doesnt_want_win32=1
18037 if test "$wants_win32" = 1 ; then
18038 BAKEFILE_FORCE_PLATFORM=win32
18046 if test "$wxUSE_WINE" = "yes"; then
18048 LDFLAGS_GUI="-mwindows"
18051 if test "$wants_win32" = 1 ; then
18054 cat >>confdefs.h <<\_ACEOF
18055 #define __WIN32__ 1
18058 cat >>confdefs.h <<\_ACEOF
18059 #define __WIN95__ 1
18062 cat >>confdefs.h <<\_ACEOF
18063 #define __WINDOWS__ 1
18066 cat >>confdefs.h <<\_ACEOF
18067 #define __GNUWIN32__ 1
18070 cat >>confdefs.h <<\_ACEOF
18075 if test "$doesnt_want_win32" = 1 ; then
18080 if test "$USE_UNIX" = 1 ; then
18082 cat >>confdefs.h <<\_ACEOF
18089 *-pc-os2_emx | *-pc-os2-emx )
18090 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18091 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18092 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18093 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18094 echo $ECHO_N "(cached
) $ECHO_C" >&6
18096 ac_check_lib_save_LIBS=$LIBS
18097 LIBS="-lcExt $LIBS"
18098 cat >conftest.$ac_ext <<_ACEOF
18101 cat confdefs.h >>conftest.$ac_ext
18102 cat >>conftest.$ac_ext <<_ACEOF
18103 /* end confdefs.h. */
18105 /* Override any GCC internal prototype to avoid an error.
18106 Use char because int might match the return type of a GCC
18107 builtin and then its argument prototype would still apply. */
18120 rm -f conftest.$ac_objext conftest$ac_exeext
18121 if { (ac_try="$ac_link"
18122 case "(($ac_try" in
18123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18124 *) ac_try_echo=$ac_try;;
18126 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18127 (eval "$ac_link") 2>conftest.er1
18129 grep -v '^ *+' conftest.er1 >conftest.err
18131 cat conftest.err >&5
18132 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18133 (exit $ac_status); } && {
18134 test -z "$ac_c_werror_flag" ||
18135 test ! -s conftest.err
18136 } && test -s conftest$ac_exeext &&
18137 $as_test_x conftest$ac_exeext; then
18138 ac_cv_lib_cExt_drand48=yes
18140 echo "$as_me: failed program was
:" >&5
18141 sed 's/^/| /' conftest.$ac_ext >&5
18143 ac_cv_lib_cExt_drand48=no
18146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18147 conftest$ac_exeext conftest.$ac_ext
18148 LIBS=$ac_check_lib_save_LIBS
18150 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18151 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18152 if test $ac_cv_lib_cExt_drand48 = yes; then
18153 LIBS="$LIBS -lcExt"
18157 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18159 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18160 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18161 if test "${wx_cv_gccversion+set}" = set; then
18162 echo $ECHO_N "(cached
) $ECHO_C" >&6
18165 if test "$cross_compiling" = yes; then
18166 wx_cv_gccversion="EMX2
"
18169 cat >conftest.$ac_ext <<_ACEOF
18172 cat confdefs.h >>conftest.$ac_ext
18173 cat >>conftest.$ac_ext <<_ACEOF
18174 /* end confdefs.h. */
18180 FILE *f=fopen("conftestval
", "w
");
18185 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18187 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18197 rm -f conftest$ac_exeext
18198 if { (ac_try="$ac_link"
18199 case "(($ac_try" in
18200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18201 *) ac_try_echo=$ac_try;;
18203 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18204 (eval "$ac_link") 2>&5
18206 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18207 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18208 { (case "(($ac_try" in
18209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18210 *) ac_try_echo=$ac_try;;
18212 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18213 (eval "$ac_try") 2>&5
18215 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18216 (exit $ac_status); }; }; then
18217 wx_cv_gccversion=`cat conftestval`
18219 echo "$as_me: program exited with status
$ac_status" >&5
18220 echo "$as_me: failed program was
:" >&5
18221 sed 's/^/| /' conftest.$ac_ext >&5
18223 ( exit $ac_status )
18224 wx_cv_gccversion="EMX2
"
18226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18232 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18233 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18234 if test "$wx_cv_gccversion" = "EMX2
"; then
18235 LIBS="$LIBS -lstdcpp"
18236 LDFLAGS="$LDFLAGS -Zsysv-signals"
18238 if test "$wx_cv_gccversion" = "EMX3
"; then
18239 LIBS="$LIBS -lstdcxx -lgcc"
18240 LDFLAGS="$LDFLAGS -Zsysv-signals"
18242 LIBS="$LIBS -lstdc++"
18245 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18246 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18247 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18254 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18255 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18256 if test "${ac_cv_string_strcasecmp+set}" = set; then
18257 echo $ECHO_N "(cached
) $ECHO_C" >&6
18260 cat >conftest.$ac_ext <<_ACEOF
18263 cat confdefs.h >>conftest.$ac_ext
18264 cat >>conftest.$ac_ext <<_ACEOF
18265 /* end confdefs.h. */
18267 #include <string.h>
18273 strcasecmp("foo
", "bar
");
18279 rm -f conftest.$ac_objext conftest$ac_exeext
18280 if { (ac_try="$ac_link"
18281 case "(($ac_try" in
18282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18283 *) ac_try_echo=$ac_try;;
18285 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18286 (eval "$ac_link") 2>conftest.er1
18288 grep -v '^ *+' conftest.er1 >conftest.err
18290 cat conftest.err >&5
18291 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18292 (exit $ac_status); } && {
18293 test -z "$ac_c_werror_flag" ||
18294 test ! -s conftest.err
18295 } && test -s conftest$ac_exeext &&
18296 $as_test_x conftest$ac_exeext; then
18297 ac_cv_string_strcasecmp=yes
18299 echo "$as_me: failed program was
:" >&5
18300 sed 's/^/| /' conftest.$ac_ext >&5
18302 ac_cv_string_strcasecmp=no
18306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18307 conftest$ac_exeext conftest.$ac_ext
18310 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18311 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18313 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18314 cat >>confdefs.h <<\_ACEOF
18315 #define HAVE_STRCASECMP_IN_STRING_H 1
18319 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18320 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18321 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18322 echo $ECHO_N "(cached
) $ECHO_C" >&6
18325 cat >conftest.$ac_ext <<_ACEOF
18328 cat confdefs.h >>conftest.$ac_ext
18329 cat >>conftest.$ac_ext <<_ACEOF
18330 /* end confdefs.h. */
18332 #include <strings.h>
18338 strcasecmp("foo
", "bar
");
18344 rm -f conftest.$ac_objext conftest$ac_exeext
18345 if { (ac_try="$ac_link"
18346 case "(($ac_try" in
18347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18348 *) ac_try_echo=$ac_try;;
18350 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18351 (eval "$ac_link") 2>conftest.er1
18353 grep -v '^ *+' conftest.er1 >conftest.err
18355 cat conftest.err >&5
18356 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18357 (exit $ac_status); } && {
18358 test -z "$ac_c_werror_flag" ||
18359 test ! -s conftest.err
18360 } && test -s conftest$ac_exeext &&
18361 $as_test_x conftest$ac_exeext; then
18362 ac_cv_strings_strcasecmp=yes
18364 echo "$as_me: failed program was
:" >&5
18365 sed 's/^/| /' conftest.$ac_ext >&5
18367 ac_cv_strings_strcasecmp=no
18371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18372 conftest$ac_exeext conftest.$ac_ext
18375 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18376 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18378 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18379 cat >>confdefs.h <<\_ACEOF
18380 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18384 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18385 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18386 { (exit 1); exit 1; }; }
18394 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18395 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18396 if test "${ac_cv_header_stdc+set}" = set; then
18397 echo $ECHO_N "(cached
) $ECHO_C" >&6
18399 cat >conftest.$ac_ext <<_ACEOF
18402 cat confdefs.h >>conftest.$ac_ext
18403 cat >>conftest.$ac_ext <<_ACEOF
18404 /* end confdefs.h. */
18405 #include <stdlib.h>
18406 #include <stdarg.h>
18407 #include <string.h>
18418 rm -f conftest.$ac_objext
18419 if { (ac_try="$ac_compile"
18420 case "(($ac_try" in
18421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18422 *) ac_try_echo=$ac_try;;
18424 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18425 (eval "$ac_compile") 2>conftest.er1
18427 grep -v '^ *+' conftest.er1 >conftest.err
18429 cat conftest.err >&5
18430 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18431 (exit $ac_status); } && {
18432 test -z "$ac_c_werror_flag" ||
18433 test ! -s conftest.err
18434 } && test -s conftest.$ac_objext; then
18435 ac_cv_header_stdc=yes
18437 echo "$as_me: failed program was
:" >&5
18438 sed 's/^/| /' conftest.$ac_ext >&5
18440 ac_cv_header_stdc=no
18443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18445 if test $ac_cv_header_stdc = yes; then
18446 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18447 cat >conftest.$ac_ext <<_ACEOF
18450 cat confdefs.h >>conftest.$ac_ext
18451 cat >>conftest.$ac_ext <<_ACEOF
18452 /* end confdefs.h. */
18453 #include <string.h>
18456 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18457 $EGREP "memchr
" >/dev/null 2>&1; then
18460 ac_cv_header_stdc=no
18466 if test $ac_cv_header_stdc = yes; then
18467 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18468 cat >conftest.$ac_ext <<_ACEOF
18471 cat confdefs.h >>conftest.$ac_ext
18472 cat >>conftest.$ac_ext <<_ACEOF
18473 /* end confdefs.h. */
18474 #include <stdlib.h>
18477 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18478 $EGREP "free
" >/dev/null 2>&1; then
18481 ac_cv_header_stdc=no
18487 if test $ac_cv_header_stdc = yes; then
18488 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18489 if test "$cross_compiling" = yes; then
18492 cat >conftest.$ac_ext <<_ACEOF
18495 cat confdefs.h >>conftest.$ac_ext
18496 cat >>conftest.$ac_ext <<_ACEOF
18497 /* end confdefs.h. */
18499 #include <stdlib.h>
18500 #if ((' ' & 0x0FF) == 0x020)
18501 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18502 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18504 # define ISLOWER(c) \
18505 (('a' <= (c) && (c) <= 'i') \
18506 || ('j' <= (c) && (c) <= 'r') \
18507 || ('s' <= (c) && (c) <= 'z'))
18508 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18511 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18516 for (i = 0; i < 256; i++)
18517 if (XOR (islower (i), ISLOWER (i))
18518 || toupper (i) != TOUPPER (i))
18523 rm -f conftest$ac_exeext
18524 if { (ac_try="$ac_link"
18525 case "(($ac_try" in
18526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18527 *) ac_try_echo=$ac_try;;
18529 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18530 (eval "$ac_link") 2>&5
18532 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18533 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18534 { (case "(($ac_try" in
18535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18536 *) ac_try_echo=$ac_try;;
18538 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18539 (eval "$ac_try") 2>&5
18541 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18542 (exit $ac_status); }; }; then
18545 echo "$as_me: program exited with status
$ac_status" >&5
18546 echo "$as_me: failed program was
:" >&5
18547 sed 's/^/| /' conftest.$ac_ext >&5
18549 ( exit $ac_status )
18550 ac_cv_header_stdc=no
18552 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18558 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
18559 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18560 if test $ac_cv_header_stdc = yes; then
18562 cat >>confdefs.h <<\_ACEOF
18563 #define STDC_HEADERS 1
18568 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18578 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18579 inttypes.h stdint.h unistd.h
18581 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18582 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18583 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18584 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18585 echo $ECHO_N "(cached
) $ECHO_C" >&6
18587 cat >conftest.$ac_ext <<_ACEOF
18590 cat confdefs.h >>conftest.$ac_ext
18591 cat >>conftest.$ac_ext <<_ACEOF
18592 /* end confdefs.h. */
18593 $ac_includes_default
18595 #include <$ac_header>
18597 rm -f conftest.$ac_objext
18598 if { (ac_try="$ac_compile"
18599 case "(($ac_try" in
18600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18601 *) ac_try_echo=$ac_try;;
18603 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18604 (eval "$ac_compile") 2>conftest.er1
18606 grep -v '^ *+' conftest.er1 >conftest.err
18608 cat conftest.err >&5
18609 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18610 (exit $ac_status); } && {
18611 test -z "$ac_c_werror_flag" ||
18612 test ! -s conftest.err
18613 } && test -s conftest.$ac_objext; then
18614 eval "$as_ac_Header=yes"
18616 echo "$as_me: failed program was
:" >&5
18617 sed 's/^/| /' conftest.$ac_ext >&5
18619 eval "$as_ac_Header=no
"
18622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18624 ac_res=`eval echo '${'$as_ac_Header'}'`
18625 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18626 echo "${ECHO_T}$ac_res" >&6; }
18627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18628 cat >>confdefs.h <<_ACEOF
18629 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18639 for ac_header in langinfo.h wchar.h
18641 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18642 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18643 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18644 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18645 echo $ECHO_N "(cached
) $ECHO_C" >&6
18647 cat >conftest.$ac_ext <<_ACEOF
18650 cat confdefs.h >>conftest.$ac_ext
18651 cat >>conftest.$ac_ext <<_ACEOF
18652 /* end confdefs.h. */
18653 $ac_includes_default
18655 #include <$ac_header>
18657 rm -f conftest.$ac_objext
18658 if { (ac_try="$ac_compile"
18659 case "(($ac_try" in
18660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18661 *) ac_try_echo=$ac_try;;
18663 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18664 (eval "$ac_compile") 2>conftest.er1
18666 grep -v '^ *+' conftest.er1 >conftest.err
18668 cat conftest.err >&5
18669 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18670 (exit $ac_status); } && {
18671 test -z "$ac_c_werror_flag" ||
18672 test ! -s conftest.err
18673 } && test -s conftest.$ac_objext; then
18674 eval "$as_ac_Header=yes"
18676 echo "$as_me: failed program was
:" >&5
18677 sed 's/^/| /' conftest.$ac_ext >&5
18679 eval "$as_ac_Header=no
"
18682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18684 ac_res=`eval echo '${'$as_ac_Header'}'`
18685 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18686 echo "${ECHO_T}$ac_res" >&6; }
18687 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18688 cat >>confdefs.h <<_ACEOF
18689 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18697 if test "$ac_cv_header_wchar_h" != "yes"; then
18699 for ac_header in wcstr.h
18701 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18702 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18703 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18704 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18705 echo $ECHO_N "(cached
) $ECHO_C" >&6
18707 cat >conftest.$ac_ext <<_ACEOF
18710 cat confdefs.h >>conftest.$ac_ext
18711 cat >>conftest.$ac_ext <<_ACEOF
18712 /* end confdefs.h. */
18713 $ac_includes_default
18715 #include <$ac_header>
18717 rm -f conftest.$ac_objext
18718 if { (ac_try="$ac_compile"
18719 case "(($ac_try" in
18720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18721 *) ac_try_echo=$ac_try;;
18723 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18724 (eval "$ac_compile") 2>conftest.er1
18726 grep -v '^ *+' conftest.er1 >conftest.err
18728 cat conftest.err >&5
18729 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18730 (exit $ac_status); } && {
18731 test -z "$ac_c_werror_flag" ||
18732 test ! -s conftest.err
18733 } && test -s conftest.$ac_objext; then
18734 eval "$as_ac_Header=yes"
18736 echo "$as_me: failed program was
:" >&5
18737 sed 's/^/| /' conftest.$ac_ext >&5
18739 eval "$as_ac_Header=no
"
18742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18744 ac_res=`eval echo '${'$as_ac_Header'}'`
18745 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18746 echo "${ECHO_T}$ac_res" >&6; }
18747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18748 cat >>confdefs.h <<_ACEOF
18749 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18759 *-pc-os2_emx | *-pc-os2-emx )
18760 if test $ac_cv_header_langinfo_h = "yes" \
18761 -a \( "$wx_cv_gccversion" = "EMX2
" \
18762 -o "$wx_cv_gccversion" = "EMX3
" \
18763 -o "$wx_cv_gccversion" = "Innotek5
" \); then
18764 LIBS="$LIBS -lintl"
18769 if test "$USE_UNIX" = 1 ; then
18771 for ac_header in sys/select.h
18773 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18774 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18775 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18776 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18777 echo $ECHO_N "(cached
) $ECHO_C" >&6
18779 cat >conftest.$ac_ext <<_ACEOF
18782 cat confdefs.h >>conftest.$ac_ext
18783 cat >>conftest.$ac_ext <<_ACEOF
18784 /* end confdefs.h. */
18785 $ac_includes_default
18787 #include <$ac_header>
18789 rm -f conftest.$ac_objext
18790 if { (ac_try="$ac_compile"
18791 case "(($ac_try" in
18792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18793 *) ac_try_echo=$ac_try;;
18795 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18796 (eval "$ac_compile") 2>conftest.er1
18798 grep -v '^ *+' conftest.er1 >conftest.err
18800 cat conftest.err >&5
18801 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18802 (exit $ac_status); } && {
18803 test -z "$ac_c_werror_flag" ||
18804 test ! -s conftest.err
18805 } && test -s conftest.$ac_objext; then
18806 eval "$as_ac_Header=yes"
18808 echo "$as_me: failed program was
:" >&5
18809 sed 's/^/| /' conftest.$ac_ext >&5
18811 eval "$as_ac_Header=no
"
18814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18816 ac_res=`eval echo '${'$as_ac_Header'}'`
18817 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18818 echo "${ECHO_T}$ac_res" >&6; }
18819 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18820 cat >>confdefs.h <<_ACEOF
18821 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18831 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
18832 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
18833 if test "${ac_cv_c_const+set}" = set; then
18834 echo $ECHO_N "(cached
) $ECHO_C" >&6
18836 cat >conftest.$ac_ext <<_ACEOF
18839 cat confdefs.h >>conftest.$ac_ext
18840 cat >>conftest.$ac_ext <<_ACEOF
18841 /* end confdefs.h. */
18846 /* FIXME: Include the comments suggested by Paul. */
18847 #ifndef __cplusplus
18848 /* Ultrix mips cc rejects this. */
18849 typedef int charset[2];
18851 /* SunOS 4.1.1 cc rejects this. */
18852 char const *const *pcpcc;
18854 /* NEC SVR4.0.2 mips cc rejects this. */
18855 struct point {int x, y;};
18856 static struct point const zero = {0,0};
18857 /* AIX XL C 1.02.0.0 rejects this.
18858 It does not let you subtract one const X* pointer from another in
18859 an arm of an if-expression whose if-part is not a constant
18861 const char *g = "string
";
18862 pcpcc = &g + (g ? g-g : 0);
18863 /* HPUX 7.0 cc rejects these. */
18865 ppc = (char**) pcpcc;
18866 pcpcc = (char const *const *) ppc;
18867 { /* SCO 3.2v4 cc rejects this. */
18869 char const *s = 0 ? (char *) 0 : (char const *) 0;
18874 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18875 int x[] = {25, 17};
18876 const int *foo = &x[0];
18879 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18880 typedef const int *iptr;
18884 { /* AIX XL C 1.02.0.0 rejects this saying
18885 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18886 struct s { int j; const int *ap[3]; };
18887 struct s *b; b->j = 5;
18889 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18890 const int foo = 10;
18891 if (!foo) return 0;
18893 return !cs[0] && !zero.x;
18900 rm -f conftest.$ac_objext
18901 if { (ac_try="$ac_compile"
18902 case "(($ac_try" in
18903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18904 *) ac_try_echo=$ac_try;;
18906 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18907 (eval "$ac_compile") 2>conftest.er1
18909 grep -v '^ *+' conftest.er1 >conftest.err
18911 cat conftest.err >&5
18912 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18913 (exit $ac_status); } && {
18914 test -z "$ac_c_werror_flag" ||
18915 test ! -s conftest.err
18916 } && test -s conftest.$ac_objext; then
18919 echo "$as_me: failed program was
:" >&5
18920 sed 's/^/| /' conftest.$ac_ext >&5
18925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18927 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
18928 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18929 if test $ac_cv_c_const = no; then
18931 cat >>confdefs.h <<\_ACEOF
18937 { echo "$as_me:$LINENO: checking
for inline
" >&5
18938 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
18939 if test "${ac_cv_c_inline+set}" = set; then
18940 echo $ECHO_N "(cached
) $ECHO_C" >&6
18943 for ac_kw in inline __inline__ __inline; do
18944 cat >conftest.$ac_ext <<_ACEOF
18947 cat confdefs.h >>conftest.$ac_ext
18948 cat >>conftest.$ac_ext <<_ACEOF
18949 /* end confdefs.h. */
18950 #ifndef __cplusplus
18952 static $ac_kw foo_t static_foo () {return 0; }
18953 $ac_kw foo_t foo () {return 0; }
18957 rm -f conftest.$ac_objext
18958 if { (ac_try="$ac_compile"
18959 case "(($ac_try" in
18960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18961 *) ac_try_echo=$ac_try;;
18963 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18964 (eval "$ac_compile") 2>conftest.er1
18966 grep -v '^ *+' conftest.er1 >conftest.err
18968 cat conftest.err >&5
18969 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18970 (exit $ac_status); } && {
18971 test -z "$ac_c_werror_flag" ||
18972 test ! -s conftest.err
18973 } && test -s conftest.$ac_objext; then
18974 ac_cv_c_inline=$ac_kw
18976 echo "$as_me: failed program was
:" >&5
18977 sed 's/^/| /' conftest.$ac_ext >&5
18982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18983 test "$ac_cv_c_inline" != no && break
18987 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
18988 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18991 case $ac_cv_c_inline in
18994 case $ac_cv_c_inline in
18996 *) ac_val=$ac_cv_c_inline;;
18998 cat >>confdefs.h <<_ACEOF
18999 #ifndef __cplusplus
19000 #define inline $ac_val
19007 { echo "$as_me:$LINENO: checking
for short
" >&5
19008 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19009 if test "${ac_cv_type_short+set}" = set; then
19010 echo $ECHO_N "(cached
) $ECHO_C" >&6
19012 cat >conftest.$ac_ext <<_ACEOF
19015 cat confdefs.h >>conftest.$ac_ext
19016 cat >>conftest.$ac_ext <<_ACEOF
19017 /* end confdefs.h. */
19018 $ac_includes_default
19019 typedef short ac__type_new_;
19023 if ((ac__type_new_ *) 0)
19025 if (sizeof (ac__type_new_))
19031 rm -f conftest.$ac_objext
19032 if { (ac_try="$ac_compile"
19033 case "(($ac_try" in
19034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19035 *) ac_try_echo=$ac_try;;
19037 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19038 (eval "$ac_compile") 2>conftest.er1
19040 grep -v '^ *+' conftest.er1 >conftest.err
19042 cat conftest.err >&5
19043 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19044 (exit $ac_status); } && {
19045 test -z "$ac_c_werror_flag" ||
19046 test ! -s conftest.err
19047 } && test -s conftest.$ac_objext; then
19048 ac_cv_type_short=yes
19050 echo "$as_me: failed program was
:" >&5
19051 sed 's/^/| /' conftest.$ac_ext >&5
19053 ac_cv_type_short=no
19056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19058 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19059 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19061 # The cast to long int works around a bug in the HP C Compiler
19062 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19063 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19064 # This bug is HP SR number 8606223364.
19065 { echo "$as_me:$LINENO: checking size of short
" >&5
19066 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19067 if test "${ac_cv_sizeof_short+set}" = set; then
19068 echo $ECHO_N "(cached
) $ECHO_C" >&6
19070 if test "$cross_compiling" = yes; then
19071 # Depending upon the size, compute the lo and hi bounds.
19072 cat >conftest.$ac_ext <<_ACEOF
19075 cat confdefs.h >>conftest.$ac_ext
19076 cat >>conftest.$ac_ext <<_ACEOF
19077 /* end confdefs.h. */
19078 $ac_includes_default
19079 typedef short ac__type_sizeof_;
19083 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19090 rm -f conftest.$ac_objext
19091 if { (ac_try="$ac_compile"
19092 case "(($ac_try" in
19093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19094 *) ac_try_echo=$ac_try;;
19096 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19097 (eval "$ac_compile") 2>conftest.er1
19099 grep -v '^ *+' conftest.er1 >conftest.err
19101 cat conftest.err >&5
19102 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19103 (exit $ac_status); } && {
19104 test -z "$ac_c_werror_flag" ||
19105 test ! -s conftest.err
19106 } && test -s conftest.$ac_objext; then
19109 cat >conftest.$ac_ext <<_ACEOF
19112 cat confdefs.h >>conftest.$ac_ext
19113 cat >>conftest.$ac_ext <<_ACEOF
19114 /* end confdefs.h. */
19115 $ac_includes_default
19116 typedef short ac__type_sizeof_;
19120 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19127 rm -f conftest.$ac_objext
19128 if { (ac_try="$ac_compile"
19129 case "(($ac_try" in
19130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19131 *) ac_try_echo=$ac_try;;
19133 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19134 (eval "$ac_compile") 2>conftest.er1
19136 grep -v '^ *+' conftest.er1 >conftest.err
19138 cat conftest.err >&5
19139 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19140 (exit $ac_status); } && {
19141 test -z "$ac_c_werror_flag" ||
19142 test ! -s conftest.err
19143 } && test -s conftest.$ac_objext; then
19144 ac_hi=$ac_mid; break
19146 echo "$as_me: failed program was
:" >&5
19147 sed 's/^/| /' conftest.$ac_ext >&5
19149 ac_lo=`expr $ac_mid + 1`
19150 if test $ac_lo -le $ac_mid; then
19154 ac_mid=`expr 2 '*' $ac_mid + 1`
19157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19160 echo "$as_me: failed program was
:" >&5
19161 sed 's/^/| /' conftest.$ac_ext >&5
19163 cat >conftest.$ac_ext <<_ACEOF
19166 cat confdefs.h >>conftest.$ac_ext
19167 cat >>conftest.$ac_ext <<_ACEOF
19168 /* end confdefs.h. */
19169 $ac_includes_default
19170 typedef short ac__type_sizeof_;
19174 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19181 rm -f conftest.$ac_objext
19182 if { (ac_try="$ac_compile"
19183 case "(($ac_try" in
19184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19185 *) ac_try_echo=$ac_try;;
19187 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19188 (eval "$ac_compile") 2>conftest.er1
19190 grep -v '^ *+' conftest.er1 >conftest.err
19192 cat conftest.err >&5
19193 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19194 (exit $ac_status); } && {
19195 test -z "$ac_c_werror_flag" ||
19196 test ! -s conftest.err
19197 } && test -s conftest.$ac_objext; then
19200 cat >conftest.$ac_ext <<_ACEOF
19203 cat confdefs.h >>conftest.$ac_ext
19204 cat >>conftest.$ac_ext <<_ACEOF
19205 /* end confdefs.h. */
19206 $ac_includes_default
19207 typedef short ac__type_sizeof_;
19211 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19218 rm -f conftest.$ac_objext
19219 if { (ac_try="$ac_compile"
19220 case "(($ac_try" in
19221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19222 *) ac_try_echo=$ac_try;;
19224 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19225 (eval "$ac_compile") 2>conftest.er1
19227 grep -v '^ *+' conftest.er1 >conftest.err
19229 cat conftest.err >&5
19230 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19231 (exit $ac_status); } && {
19232 test -z "$ac_c_werror_flag" ||
19233 test ! -s conftest.err
19234 } && test -s conftest.$ac_objext; then
19235 ac_lo=$ac_mid; break
19237 echo "$as_me: failed program was
:" >&5
19238 sed 's/^/| /' conftest.$ac_ext >&5
19240 ac_hi=`expr '(' $ac_mid ')' - 1`
19241 if test $ac_mid -le $ac_hi; then
19245 ac_mid=`expr 2 '*' $ac_mid`
19248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19251 echo "$as_me: failed program was
:" >&5
19252 sed 's/^/| /' conftest.$ac_ext >&5
19257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19261 # Binary search between lo and hi bounds.
19262 while test "x
$ac_lo" != "x
$ac_hi"; do
19263 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19264 cat >conftest.$ac_ext <<_ACEOF
19267 cat confdefs.h >>conftest.$ac_ext
19268 cat >>conftest.$ac_ext <<_ACEOF
19269 /* end confdefs.h. */
19270 $ac_includes_default
19271 typedef short ac__type_sizeof_;
19275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19282 rm -f conftest.$ac_objext
19283 if { (ac_try="$ac_compile"
19284 case "(($ac_try" in
19285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19286 *) ac_try_echo=$ac_try;;
19288 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19289 (eval "$ac_compile") 2>conftest.er1
19291 grep -v '^ *+' conftest.er1 >conftest.err
19293 cat conftest.err >&5
19294 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19295 (exit $ac_status); } && {
19296 test -z "$ac_c_werror_flag" ||
19297 test ! -s conftest.err
19298 } && test -s conftest.$ac_objext; then
19301 echo "$as_me: failed program was
:" >&5
19302 sed 's/^/| /' conftest.$ac_ext >&5
19304 ac_lo=`expr '(' $ac_mid ')' + 1`
19307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19310 ?*) ac_cv_sizeof_short=$ac_lo;;
19311 '') if test "$ac_cv_type_short" = yes; then
19312 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19313 See \
`config.log' for more details." >&5
19314 echo "$as_me: error: cannot compute sizeof (short)
19315 See \`config.log
' for more details." >&2;}
19316 { (exit 77); exit 77; }; }
19318 ac_cv_sizeof_short=0
19322 cat >conftest.$ac_ext <<_ACEOF
19325 cat confdefs.h >>conftest.$ac_ext
19326 cat >>conftest.$ac_ext <<_ACEOF
19327 /* end confdefs.h. */
19328 $ac_includes_default
19329 typedef short ac__type_sizeof_;
19330 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19331 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19333 #include <stdlib.h>
19338 FILE *f = fopen ("conftest.val", "w");
19341 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19343 long int i = longval ();
19344 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19346 fprintf (f, "%ld\n", i);
19350 unsigned long int i = ulongval ();
19351 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19353 fprintf (f, "%lu\n", i);
19355 return ferror (f) || fclose (f) != 0;
19361 rm -f conftest$ac_exeext
19362 if { (ac_try="$ac_link"
19363 case "(($ac_try" in
19364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19365 *) ac_try_echo=$ac_try;;
19367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19368 (eval "$ac_link") 2>&5
19370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19372 { (case "(($ac_try" in
19373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19374 *) ac_try_echo=$ac_try;;
19376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19377 (eval "$ac_try") 2>&5
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); }; }; then
19381 ac_cv_sizeof_short=`cat conftest.val`
19383 echo "$as_me: program exited with status $ac_status" >&5
19384 echo "$as_me: failed program was:" >&5
19385 sed 's
/^
/| /' conftest.$ac_ext >&5
19387 ( exit $ac_status )
19388 if test "$ac_cv_type_short" = yes; then
19389 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19390 See \`config.log' for more details.
" >&5
19391 echo "$as_me: error
: cannot compute sizeof
(short
)
19392 See \
`config.log' for more details." >&2;}
19393 { (exit 77); exit 77; }; }
19395 ac_cv_sizeof_short=0
19398 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19402 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19403 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19407 cat >>confdefs.h <<_ACEOF
19408 #define SIZEOF_SHORT $ac_cv_sizeof_short
19412 { echo "$as_me:$LINENO: checking for void *" >&5
19413 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19414 if test "${ac_cv_type_void_p+set}" = set; then
19415 echo $ECHO_N "(cached) $ECHO_C" >&6
19417 cat >conftest.$ac_ext <<_ACEOF
19420 cat confdefs.h >>conftest.$ac_ext
19421 cat >>conftest.$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19423 $ac_includes_default
19424 typedef void * ac__type_new_;
19428 if ((ac__type_new_ *) 0)
19430 if (sizeof (ac__type_new_))
19436 rm -f conftest.$ac_objext
19437 if { (ac_try="$ac_compile"
19438 case "(($ac_try" in
19439 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19440 *) ac_try_echo
=$ac_try;;
19442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19443 (eval "$ac_compile") 2>conftest.er1
19445 grep -v '^ *+' conftest.er1
>conftest.err
19447 cat conftest.err
>&5
19448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19449 (exit $ac_status); } && {
19450 test -z "$ac_c_werror_flag" ||
19451 test ! -s conftest.err
19452 } && test -s conftest.
$ac_objext; then
19453 ac_cv_type_void_p
=yes
19455 echo "$as_me: failed program was:" >&5
19456 sed 's/^/| /' conftest.
$ac_ext >&5
19458 ac_cv_type_void_p
=no
19461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19463 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19464 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19466 # The cast to long int works around a bug in the HP C Compiler
19467 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19468 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19469 # This bug is HP SR number 8606223364.
19470 { echo "$as_me:$LINENO: checking size of void *" >&5
19471 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19472 if test "${ac_cv_sizeof_void_p+set}" = set; then
19473 echo $ECHO_N "(cached) $ECHO_C" >&6
19475 if test "$cross_compiling" = yes; then
19476 # Depending upon the size, compute the lo and hi bounds.
19477 cat >conftest.
$ac_ext <<_ACEOF
19480 cat confdefs.h
>>conftest.
$ac_ext
19481 cat >>conftest.
$ac_ext <<_ACEOF
19482 /* end confdefs.h. */
19483 $ac_includes_default
19484 typedef void * ac__type_sizeof_;
19488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19495 rm -f conftest.
$ac_objext
19496 if { (ac_try
="$ac_compile"
19497 case "(($ac_try" in
19498 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19499 *) ac_try_echo=$ac_try;;
19501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19502 (eval "$ac_compile") 2>conftest.er1
19504 grep -v '^ *+' conftest.er1 >conftest.err
19506 cat conftest.err >&5
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); } && {
19509 test -z "$ac_c_werror_flag" ||
19510 test ! -s conftest.err
19511 } && test -s conftest.$ac_objext; then
19514 cat >conftest.$ac_ext <<_ACEOF
19517 cat confdefs.h >>conftest.$ac_ext
19518 cat >>conftest.$ac_ext <<_ACEOF
19519 /* end confdefs.h. */
19520 $ac_includes_default
19521 typedef void * ac__type_sizeof_;
19525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19532 rm -f conftest.$ac_objext
19533 if { (ac_try="$ac_compile"
19534 case "(($ac_try" in
19535 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19536 *) ac_try_echo
=$ac_try;;
19538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19539 (eval "$ac_compile") 2>conftest.er1
19541 grep -v '^ *+' conftest.er1
>conftest.err
19543 cat conftest.err
>&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); } && {
19546 test -z "$ac_c_werror_flag" ||
19547 test ! -s conftest.err
19548 } && test -s conftest.
$ac_objext; then
19549 ac_hi
=$ac_mid; break
19551 echo "$as_me: failed program was:" >&5
19552 sed 's/^/| /' conftest.
$ac_ext >&5
19554 ac_lo
=`expr $ac_mid + 1`
19555 if test $ac_lo -le $ac_mid; then
19559 ac_mid
=`expr 2 '*' $ac_mid + 1`
19562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19565 echo "$as_me: failed program was:" >&5
19566 sed 's/^/| /' conftest.
$ac_ext >&5
19568 cat >conftest.
$ac_ext <<_ACEOF
19571 cat confdefs.h
>>conftest.
$ac_ext
19572 cat >>conftest.
$ac_ext <<_ACEOF
19573 /* end confdefs.h. */
19574 $ac_includes_default
19575 typedef void * ac__type_sizeof_;
19579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19586 rm -f conftest.
$ac_objext
19587 if { (ac_try
="$ac_compile"
19588 case "(($ac_try" in
19589 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19590 *) ac_try_echo=$ac_try;;
19592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19593 (eval "$ac_compile") 2>conftest.er1
19595 grep -v '^ *+' conftest.er1 >conftest.err
19597 cat conftest.err >&5
19598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 (exit $ac_status); } && {
19600 test -z "$ac_c_werror_flag" ||
19601 test ! -s conftest.err
19602 } && test -s conftest.$ac_objext; then
19605 cat >conftest.$ac_ext <<_ACEOF
19608 cat confdefs.h >>conftest.$ac_ext
19609 cat >>conftest.$ac_ext <<_ACEOF
19610 /* end confdefs.h. */
19611 $ac_includes_default
19612 typedef void * ac__type_sizeof_;
19616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19623 rm -f conftest.$ac_objext
19624 if { (ac_try="$ac_compile"
19625 case "(($ac_try" in
19626 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19627 *) ac_try_echo
=$ac_try;;
19629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19630 (eval "$ac_compile") 2>conftest.er1
19632 grep -v '^ *+' conftest.er1
>conftest.err
19634 cat conftest.err
>&5
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); } && {
19637 test -z "$ac_c_werror_flag" ||
19638 test ! -s conftest.err
19639 } && test -s conftest.
$ac_objext; then
19640 ac_lo
=$ac_mid; break
19642 echo "$as_me: failed program was:" >&5
19643 sed 's/^/| /' conftest.
$ac_ext >&5
19645 ac_hi
=`expr '(' $ac_mid ')' - 1`
19646 if test $ac_mid -le $ac_hi; then
19650 ac_mid
=`expr 2 '*' $ac_mid`
19653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19656 echo "$as_me: failed program was:" >&5
19657 sed 's/^/| /' conftest.
$ac_ext >&5
19662 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19665 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19666 # Binary search between lo and hi bounds.
19667 while test "x$ac_lo" != "x$ac_hi"; do
19668 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19669 cat >conftest.
$ac_ext <<_ACEOF
19672 cat confdefs.h
>>conftest.
$ac_ext
19673 cat >>conftest.
$ac_ext <<_ACEOF
19674 /* end confdefs.h. */
19675 $ac_includes_default
19676 typedef void * ac__type_sizeof_;
19680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19687 rm -f conftest.
$ac_objext
19688 if { (ac_try
="$ac_compile"
19689 case "(($ac_try" in
19690 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19691 *) ac_try_echo=$ac_try;;
19693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19694 (eval "$ac_compile") 2>conftest.er1
19696 grep -v '^ *+' conftest.er1 >conftest.err
19698 cat conftest.err >&5
19699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700 (exit $ac_status); } && {
19701 test -z "$ac_c_werror_flag" ||
19702 test ! -s conftest.err
19703 } && test -s conftest.$ac_objext; then
19706 echo "$as_me: failed program was:" >&5
19707 sed 's/^/| /' conftest.$ac_ext >&5
19709 ac_lo=`expr '(' $ac_mid ')' + 1`
19712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19715 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19716 '') if test "$ac_cv_type_void_p" = yes; then
19717 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19718 See \`config.log
' for more details." >&5
19719 echo "$as_me: error: cannot compute sizeof (void *)
19720 See \`config.log' for more details.
" >&2;}
19721 { (exit 77); exit 77; }; }
19723 ac_cv_sizeof_void_p=0
19727 cat >conftest.$ac_ext <<_ACEOF
19730 cat confdefs.h >>conftest.$ac_ext
19731 cat >>conftest.$ac_ext <<_ACEOF
19732 /* end confdefs.h. */
19733 $ac_includes_default
19734 typedef void * ac__type_sizeof_;
19735 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19736 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19738 #include <stdlib.h>
19743 FILE *f = fopen ("conftest.val
", "w
");
19746 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19748 long int i = longval ();
19749 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19751 fprintf (f, "%ld
\n", i);
19755 unsigned long int i = ulongval ();
19756 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19758 fprintf (f, "%lu
\n", i);
19760 return ferror (f) || fclose (f) != 0;
19766 rm -f conftest$ac_exeext
19767 if { (ac_try="$ac_link"
19768 case "(($ac_try" in
19769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19770 *) ac_try_echo=$ac_try;;
19772 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19773 (eval "$ac_link") 2>&5
19775 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19776 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19777 { (case "(($ac_try" in
19778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19779 *) ac_try_echo=$ac_try;;
19781 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19782 (eval "$ac_try") 2>&5
19784 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19785 (exit $ac_status); }; }; then
19786 ac_cv_sizeof_void_p=`cat conftest.val`
19788 echo "$as_me: program exited with status
$ac_status" >&5
19789 echo "$as_me: failed program was
:" >&5
19790 sed 's/^/| /' conftest.$ac_ext >&5
19792 ( exit $ac_status )
19793 if test "$ac_cv_type_void_p" = yes; then
19794 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
19795 See \
`config.log' for more details." >&5
19796 echo "$as_me: error: cannot compute sizeof (void *)
19797 See \`config.log
' for more details." >&2;}
19798 { (exit 77); exit 77; }; }
19800 ac_cv_sizeof_void_p=0
19803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19807 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19808 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19812 cat >>confdefs.h <<_ACEOF
19813 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19817 { echo "$as_me:$LINENO: checking for int" >&5
19818 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19819 if test "${ac_cv_type_int+set}" = set; then
19820 echo $ECHO_N "(cached) $ECHO_C" >&6
19822 cat >conftest.$ac_ext <<_ACEOF
19825 cat confdefs.h >>conftest.$ac_ext
19826 cat >>conftest.$ac_ext <<_ACEOF
19827 /* end confdefs.h. */
19828 $ac_includes_default
19829 typedef int ac__type_new_;
19833 if ((ac__type_new_ *) 0)
19835 if (sizeof (ac__type_new_))
19841 rm -f conftest.$ac_objext
19842 if { (ac_try="$ac_compile"
19843 case "(($ac_try" in
19844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19845 *) ac_try_echo=$ac_try;;
19847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19848 (eval "$ac_compile") 2>conftest.er1
19850 grep -v '^
*+' conftest.er1 >conftest.err
19852 cat conftest.err >&5
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); } && {
19855 test -z "$ac_c_werror_flag" ||
19856 test ! -s conftest.err
19857 } && test -s conftest.$ac_objext; then
19860 echo "$as_me: failed program was:" >&5
19861 sed 's
/^
/| /' conftest.$ac_ext >&5
19866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19868 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19869 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19871 # The cast to long int works around a bug in the HP C Compiler
19872 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19873 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19874 # This bug is HP SR number 8606223364.
19875 { echo "$as_me:$LINENO: checking size of int" >&5
19876 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19877 if test "${ac_cv_sizeof_int+set}" = set; then
19878 echo $ECHO_N "(cached) $ECHO_C" >&6
19880 if test "$cross_compiling" = yes; then
19881 # Depending upon the size, compute the lo and hi bounds.
19882 cat >conftest.
$ac_ext <<_ACEOF
19885 cat confdefs.h
>>conftest.
$ac_ext
19886 cat >>conftest.
$ac_ext <<_ACEOF
19887 /* end confdefs.h. */
19888 $ac_includes_default
19889 typedef int ac__type_sizeof_;
19893 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19900 rm -f conftest.
$ac_objext
19901 if { (ac_try
="$ac_compile"
19902 case "(($ac_try" in
19903 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19904 *) ac_try_echo=$ac_try;;
19906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19907 (eval "$ac_compile") 2>conftest.er1
19909 grep -v '^ *+' conftest.er1 >conftest.err
19911 cat conftest.err >&5
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); } && {
19914 test -z "$ac_c_werror_flag" ||
19915 test ! -s conftest.err
19916 } && test -s conftest.$ac_objext; then
19919 cat >conftest.$ac_ext <<_ACEOF
19922 cat confdefs.h >>conftest.$ac_ext
19923 cat >>conftest.$ac_ext <<_ACEOF
19924 /* end confdefs.h. */
19925 $ac_includes_default
19926 typedef int ac__type_sizeof_;
19930 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19937 rm -f conftest.$ac_objext
19938 if { (ac_try="$ac_compile"
19939 case "(($ac_try" in
19940 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19941 *) ac_try_echo
=$ac_try;;
19943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19944 (eval "$ac_compile") 2>conftest.er1
19946 grep -v '^ *+' conftest.er1
>conftest.err
19948 cat conftest.err
>&5
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); } && {
19951 test -z "$ac_c_werror_flag" ||
19952 test ! -s conftest.err
19953 } && test -s conftest.
$ac_objext; then
19954 ac_hi
=$ac_mid; break
19956 echo "$as_me: failed program was:" >&5
19957 sed 's/^/| /' conftest.
$ac_ext >&5
19959 ac_lo
=`expr $ac_mid + 1`
19960 if test $ac_lo -le $ac_mid; then
19964 ac_mid
=`expr 2 '*' $ac_mid + 1`
19967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19970 echo "$as_me: failed program was:" >&5
19971 sed 's/^/| /' conftest.
$ac_ext >&5
19973 cat >conftest.
$ac_ext <<_ACEOF
19976 cat confdefs.h
>>conftest.
$ac_ext
19977 cat >>conftest.
$ac_ext <<_ACEOF
19978 /* end confdefs.h. */
19979 $ac_includes_default
19980 typedef int ac__type_sizeof_;
19984 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19991 rm -f conftest.
$ac_objext
19992 if { (ac_try
="$ac_compile"
19993 case "(($ac_try" in
19994 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19995 *) ac_try_echo=$ac_try;;
19997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19998 (eval "$ac_compile") 2>conftest.er1
20000 grep -v '^ *+' conftest.er1 >conftest.err
20002 cat conftest.err >&5
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); } && {
20005 test -z "$ac_c_werror_flag" ||
20006 test ! -s conftest.err
20007 } && test -s conftest.$ac_objext; then
20010 cat >conftest.$ac_ext <<_ACEOF
20013 cat confdefs.h >>conftest.$ac_ext
20014 cat >>conftest.$ac_ext <<_ACEOF
20015 /* end confdefs.h. */
20016 $ac_includes_default
20017 typedef int ac__type_sizeof_;
20021 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20028 rm -f conftest.$ac_objext
20029 if { (ac_try="$ac_compile"
20030 case "(($ac_try" in
20031 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20032 *) ac_try_echo
=$ac_try;;
20034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20035 (eval "$ac_compile") 2>conftest.er1
20037 grep -v '^ *+' conftest.er1
>conftest.err
20039 cat conftest.err
>&5
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); } && {
20042 test -z "$ac_c_werror_flag" ||
20043 test ! -s conftest.err
20044 } && test -s conftest.
$ac_objext; then
20045 ac_lo
=$ac_mid; break
20047 echo "$as_me: failed program was:" >&5
20048 sed 's/^/| /' conftest.
$ac_ext >&5
20050 ac_hi
=`expr '(' $ac_mid ')' - 1`
20051 if test $ac_mid -le $ac_hi; then
20055 ac_mid
=`expr 2 '*' $ac_mid`
20058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20061 echo "$as_me: failed program was:" >&5
20062 sed 's/^/| /' conftest.
$ac_ext >&5
20067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20071 # Binary search between lo and hi bounds.
20072 while test "x$ac_lo" != "x$ac_hi"; do
20073 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20074 cat >conftest.
$ac_ext <<_ACEOF
20077 cat confdefs.h
>>conftest.
$ac_ext
20078 cat >>conftest.
$ac_ext <<_ACEOF
20079 /* end confdefs.h. */
20080 $ac_includes_default
20081 typedef int ac__type_sizeof_;
20085 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20092 rm -f conftest.
$ac_objext
20093 if { (ac_try
="$ac_compile"
20094 case "(($ac_try" in
20095 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20096 *) ac_try_echo=$ac_try;;
20098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20099 (eval "$ac_compile") 2>conftest.er1
20101 grep -v '^ *+' conftest.er1 >conftest.err
20103 cat conftest.err >&5
20104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105 (exit $ac_status); } && {
20106 test -z "$ac_c_werror_flag" ||
20107 test ! -s conftest.err
20108 } && test -s conftest.$ac_objext; then
20111 echo "$as_me: failed program was:" >&5
20112 sed 's/^/| /' conftest.$ac_ext >&5
20114 ac_lo=`expr '(' $ac_mid ')' + 1`
20117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20120 ?*) ac_cv_sizeof_int=$ac_lo;;
20121 '') if test "$ac_cv_type_int" = yes; then
20122 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20123 See \`config.log
' for more details." >&5
20124 echo "$as_me: error: cannot compute sizeof (int)
20125 See \`config.log' for more details.
" >&2;}
20126 { (exit 77); exit 77; }; }
20132 cat >conftest.$ac_ext <<_ACEOF
20135 cat confdefs.h >>conftest.$ac_ext
20136 cat >>conftest.$ac_ext <<_ACEOF
20137 /* end confdefs.h. */
20138 $ac_includes_default
20139 typedef int ac__type_sizeof_;
20140 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20141 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20143 #include <stdlib.h>
20148 FILE *f = fopen ("conftest.val
", "w
");
20151 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20153 long int i = longval ();
20154 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20156 fprintf (f, "%ld
\n", i);
20160 unsigned long int i = ulongval ();
20161 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20163 fprintf (f, "%lu
\n", i);
20165 return ferror (f) || fclose (f) != 0;
20171 rm -f conftest$ac_exeext
20172 if { (ac_try="$ac_link"
20173 case "(($ac_try" in
20174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20175 *) ac_try_echo=$ac_try;;
20177 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20178 (eval "$ac_link") 2>&5
20180 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20181 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20182 { (case "(($ac_try" in
20183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20184 *) ac_try_echo=$ac_try;;
20186 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20187 (eval "$ac_try") 2>&5
20189 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20190 (exit $ac_status); }; }; then
20191 ac_cv_sizeof_int=`cat conftest.val`
20193 echo "$as_me: program exited with status
$ac_status" >&5
20194 echo "$as_me: failed program was
:" >&5
20195 sed 's/^/| /' conftest.$ac_ext >&5
20197 ( exit $ac_status )
20198 if test "$ac_cv_type_int" = yes; then
20199 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20200 See \
`config.log' for more details." >&5
20201 echo "$as_me: error: cannot compute sizeof (int)
20202 See \`config.log
' for more details." >&2;}
20203 { (exit 77); exit 77; }; }
20208 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20212 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20213 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20217 cat >>confdefs.h <<_ACEOF
20218 #define SIZEOF_INT $ac_cv_sizeof_int
20222 { echo "$as_me:$LINENO: checking for long" >&5
20223 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20224 if test "${ac_cv_type_long+set}" = set; then
20225 echo $ECHO_N "(cached) $ECHO_C" >&6
20227 cat >conftest.$ac_ext <<_ACEOF
20230 cat confdefs.h >>conftest.$ac_ext
20231 cat >>conftest.$ac_ext <<_ACEOF
20232 /* end confdefs.h. */
20233 $ac_includes_default
20234 typedef long ac__type_new_;
20238 if ((ac__type_new_ *) 0)
20240 if (sizeof (ac__type_new_))
20246 rm -f conftest.$ac_objext
20247 if { (ac_try="$ac_compile"
20248 case "(($ac_try" in
20249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20250 *) ac_try_echo=$ac_try;;
20252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20253 (eval "$ac_compile") 2>conftest.er1
20255 grep -v '^
*+' conftest.er1 >conftest.err
20257 cat conftest.err >&5
20258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259 (exit $ac_status); } && {
20260 test -z "$ac_c_werror_flag" ||
20261 test ! -s conftest.err
20262 } && test -s conftest.$ac_objext; then
20263 ac_cv_type_long=yes
20265 echo "$as_me: failed program was:" >&5
20266 sed 's
/^
/| /' conftest.$ac_ext >&5
20271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20273 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20274 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20276 # The cast to long int works around a bug in the HP C Compiler
20277 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20279 # This bug is HP SR number 8606223364.
20280 { echo "$as_me:$LINENO: checking size of long" >&5
20281 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20282 if test "${ac_cv_sizeof_long+set}" = set; then
20283 echo $ECHO_N "(cached) $ECHO_C" >&6
20285 if test "$cross_compiling" = yes; then
20286 # Depending upon the size, compute the lo and hi bounds.
20287 cat >conftest.
$ac_ext <<_ACEOF
20290 cat confdefs.h
>>conftest.
$ac_ext
20291 cat >>conftest.
$ac_ext <<_ACEOF
20292 /* end confdefs.h. */
20293 $ac_includes_default
20294 typedef long ac__type_sizeof_;
20298 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20305 rm -f conftest.
$ac_objext
20306 if { (ac_try
="$ac_compile"
20307 case "(($ac_try" in
20308 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20309 *) ac_try_echo=$ac_try;;
20311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20312 (eval "$ac_compile") 2>conftest.er1
20314 grep -v '^ *+' conftest.er1 >conftest.err
20316 cat conftest.err >&5
20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); } && {
20319 test -z "$ac_c_werror_flag" ||
20320 test ! -s conftest.err
20321 } && test -s conftest.$ac_objext; then
20324 cat >conftest.$ac_ext <<_ACEOF
20327 cat confdefs.h >>conftest.$ac_ext
20328 cat >>conftest.$ac_ext <<_ACEOF
20329 /* end confdefs.h. */
20330 $ac_includes_default
20331 typedef long ac__type_sizeof_;
20335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20342 rm -f conftest.$ac_objext
20343 if { (ac_try="$ac_compile"
20344 case "(($ac_try" in
20345 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20346 *) ac_try_echo
=$ac_try;;
20348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20349 (eval "$ac_compile") 2>conftest.er1
20351 grep -v '^ *+' conftest.er1
>conftest.err
20353 cat conftest.err
>&5
20354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355 (exit $ac_status); } && {
20356 test -z "$ac_c_werror_flag" ||
20357 test ! -s conftest.err
20358 } && test -s conftest.
$ac_objext; then
20359 ac_hi
=$ac_mid; break
20361 echo "$as_me: failed program was:" >&5
20362 sed 's/^/| /' conftest.
$ac_ext >&5
20364 ac_lo
=`expr $ac_mid + 1`
20365 if test $ac_lo -le $ac_mid; then
20369 ac_mid
=`expr 2 '*' $ac_mid + 1`
20372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20375 echo "$as_me: failed program was:" >&5
20376 sed 's/^/| /' conftest.
$ac_ext >&5
20378 cat >conftest.
$ac_ext <<_ACEOF
20381 cat confdefs.h
>>conftest.
$ac_ext
20382 cat >>conftest.
$ac_ext <<_ACEOF
20383 /* end confdefs.h. */
20384 $ac_includes_default
20385 typedef long ac__type_sizeof_;
20389 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20396 rm -f conftest.
$ac_objext
20397 if { (ac_try
="$ac_compile"
20398 case "(($ac_try" in
20399 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20400 *) ac_try_echo=$ac_try;;
20402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20403 (eval "$ac_compile") 2>conftest.er1
20405 grep -v '^ *+' conftest.er1 >conftest.err
20407 cat conftest.err >&5
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); } && {
20410 test -z "$ac_c_werror_flag" ||
20411 test ! -s conftest.err
20412 } && test -s conftest.$ac_objext; then
20415 cat >conftest.$ac_ext <<_ACEOF
20418 cat confdefs.h >>conftest.$ac_ext
20419 cat >>conftest.$ac_ext <<_ACEOF
20420 /* end confdefs.h. */
20421 $ac_includes_default
20422 typedef long ac__type_sizeof_;
20426 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20433 rm -f conftest.$ac_objext
20434 if { (ac_try="$ac_compile"
20435 case "(($ac_try" in
20436 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20437 *) ac_try_echo
=$ac_try;;
20439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20440 (eval "$ac_compile") 2>conftest.er1
20442 grep -v '^ *+' conftest.er1
>conftest.err
20444 cat conftest.err
>&5
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); } && {
20447 test -z "$ac_c_werror_flag" ||
20448 test ! -s conftest.err
20449 } && test -s conftest.
$ac_objext; then
20450 ac_lo
=$ac_mid; break
20452 echo "$as_me: failed program was:" >&5
20453 sed 's/^/| /' conftest.
$ac_ext >&5
20455 ac_hi
=`expr '(' $ac_mid ')' - 1`
20456 if test $ac_mid -le $ac_hi; then
20460 ac_mid
=`expr 2 '*' $ac_mid`
20463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20466 echo "$as_me: failed program was:" >&5
20467 sed 's/^/| /' conftest.
$ac_ext >&5
20472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20476 # Binary search between lo and hi bounds.
20477 while test "x$ac_lo" != "x$ac_hi"; do
20478 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20479 cat >conftest.
$ac_ext <<_ACEOF
20482 cat confdefs.h
>>conftest.
$ac_ext
20483 cat >>conftest.
$ac_ext <<_ACEOF
20484 /* end confdefs.h. */
20485 $ac_includes_default
20486 typedef long ac__type_sizeof_;
20490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20497 rm -f conftest.
$ac_objext
20498 if { (ac_try
="$ac_compile"
20499 case "(($ac_try" in
20500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20501 *) ac_try_echo=$ac_try;;
20503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20504 (eval "$ac_compile") 2>conftest.er1
20506 grep -v '^ *+' conftest.er1 >conftest.err
20508 cat conftest.err >&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); } && {
20511 test -z "$ac_c_werror_flag" ||
20512 test ! -s conftest.err
20513 } && test -s conftest.$ac_objext; then
20516 echo "$as_me: failed program was:" >&5
20517 sed 's/^/| /' conftest.$ac_ext >&5
20519 ac_lo=`expr '(' $ac_mid ')' + 1`
20522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20525 ?*) ac_cv_sizeof_long=$ac_lo;;
20526 '') if test "$ac_cv_type_long" = yes; then
20527 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20528 See \`config.log
' for more details." >&5
20529 echo "$as_me: error: cannot compute sizeof (long)
20530 See \`config.log' for more details.
" >&2;}
20531 { (exit 77); exit 77; }; }
20533 ac_cv_sizeof_long=0
20537 cat >conftest.$ac_ext <<_ACEOF
20540 cat confdefs.h >>conftest.$ac_ext
20541 cat >>conftest.$ac_ext <<_ACEOF
20542 /* end confdefs.h. */
20543 $ac_includes_default
20544 typedef long ac__type_sizeof_;
20545 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20546 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20548 #include <stdlib.h>
20553 FILE *f = fopen ("conftest.val
", "w
");
20556 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20558 long int i = longval ();
20559 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20561 fprintf (f, "%ld
\n", i);
20565 unsigned long int i = ulongval ();
20566 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20568 fprintf (f, "%lu
\n", i);
20570 return ferror (f) || fclose (f) != 0;
20576 rm -f conftest$ac_exeext
20577 if { (ac_try="$ac_link"
20578 case "(($ac_try" in
20579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20580 *) ac_try_echo=$ac_try;;
20582 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20583 (eval "$ac_link") 2>&5
20585 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20586 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20587 { (case "(($ac_try" in
20588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20589 *) ac_try_echo=$ac_try;;
20591 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20592 (eval "$ac_try") 2>&5
20594 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20595 (exit $ac_status); }; }; then
20596 ac_cv_sizeof_long=`cat conftest.val`
20598 echo "$as_me: program exited with status
$ac_status" >&5
20599 echo "$as_me: failed program was
:" >&5
20600 sed 's/^/| /' conftest.$ac_ext >&5
20602 ( exit $ac_status )
20603 if test "$ac_cv_type_long" = yes; then
20604 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
20605 See \
`config.log' for more details." >&5
20606 echo "$as_me: error: cannot compute sizeof (long)
20607 See \`config.log
' for more details." >&2;}
20608 { (exit 77); exit 77; }; }
20610 ac_cv_sizeof_long=0
20613 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20617 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20618 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20622 cat >>confdefs.h <<_ACEOF
20623 #define SIZEOF_LONG $ac_cv_sizeof_long
20627 { echo "$as_me:$LINENO: checking for size_t" >&5
20628 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20629 if test "${ac_cv_type_size_t+set}" = set; then
20630 echo $ECHO_N "(cached) $ECHO_C" >&6
20632 cat >conftest.$ac_ext <<_ACEOF
20635 cat confdefs.h >>conftest.$ac_ext
20636 cat >>conftest.$ac_ext <<_ACEOF
20637 /* end confdefs.h. */
20638 $ac_includes_default
20639 typedef size_t ac__type_new_;
20643 if ((ac__type_new_ *) 0)
20645 if (sizeof (ac__type_new_))
20651 rm -f conftest.$ac_objext
20652 if { (ac_try="$ac_compile"
20653 case "(($ac_try" in
20654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20655 *) ac_try_echo=$ac_try;;
20657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20658 (eval "$ac_compile") 2>conftest.er1
20660 grep -v '^
*+' conftest.er1 >conftest.err
20662 cat conftest.err >&5
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); } && {
20665 test -z "$ac_c_werror_flag" ||
20666 test ! -s conftest.err
20667 } && test -s conftest.$ac_objext; then
20668 ac_cv_type_size_t=yes
20670 echo "$as_me: failed program was:" >&5
20671 sed 's
/^
/| /' conftest.$ac_ext >&5
20673 ac_cv_type_size_t=no
20676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20678 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20679 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20681 # The cast to long int works around a bug in the HP C Compiler
20682 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20683 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20684 # This bug is HP SR number 8606223364.
20685 { echo "$as_me:$LINENO: checking size of size_t" >&5
20686 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20687 if test "${ac_cv_sizeof_size_t+set}" = set; then
20688 echo $ECHO_N "(cached) $ECHO_C" >&6
20690 if test "$cross_compiling" = yes; then
20691 # Depending upon the size, compute the lo and hi bounds.
20692 cat >conftest.
$ac_ext <<_ACEOF
20695 cat confdefs.h
>>conftest.
$ac_ext
20696 cat >>conftest.
$ac_ext <<_ACEOF
20697 /* end confdefs.h. */
20698 $ac_includes_default
20699 typedef size_t ac__type_sizeof_;
20703 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20710 rm -f conftest.
$ac_objext
20711 if { (ac_try
="$ac_compile"
20712 case "(($ac_try" in
20713 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20714 *) ac_try_echo=$ac_try;;
20716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20717 (eval "$ac_compile") 2>conftest.er1
20719 grep -v '^ *+' conftest.er1 >conftest.err
20721 cat conftest.err >&5
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); } && {
20724 test -z "$ac_c_werror_flag" ||
20725 test ! -s conftest.err
20726 } && test -s conftest.$ac_objext; then
20729 cat >conftest.$ac_ext <<_ACEOF
20732 cat confdefs.h >>conftest.$ac_ext
20733 cat >>conftest.$ac_ext <<_ACEOF
20734 /* end confdefs.h. */
20735 $ac_includes_default
20736 typedef size_t ac__type_sizeof_;
20740 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20747 rm -f conftest.$ac_objext
20748 if { (ac_try="$ac_compile"
20749 case "(($ac_try" in
20750 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20751 *) ac_try_echo
=$ac_try;;
20753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20754 (eval "$ac_compile") 2>conftest.er1
20756 grep -v '^ *+' conftest.er1
>conftest.err
20758 cat conftest.err
>&5
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); } && {
20761 test -z "$ac_c_werror_flag" ||
20762 test ! -s conftest.err
20763 } && test -s conftest.
$ac_objext; then
20764 ac_hi
=$ac_mid; break
20766 echo "$as_me: failed program was:" >&5
20767 sed 's/^/| /' conftest.
$ac_ext >&5
20769 ac_lo
=`expr $ac_mid + 1`
20770 if test $ac_lo -le $ac_mid; then
20774 ac_mid
=`expr 2 '*' $ac_mid + 1`
20777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20780 echo "$as_me: failed program was:" >&5
20781 sed 's/^/| /' conftest.
$ac_ext >&5
20783 cat >conftest.
$ac_ext <<_ACEOF
20786 cat confdefs.h
>>conftest.
$ac_ext
20787 cat >>conftest.
$ac_ext <<_ACEOF
20788 /* end confdefs.h. */
20789 $ac_includes_default
20790 typedef size_t ac__type_sizeof_;
20794 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20801 rm -f conftest.
$ac_objext
20802 if { (ac_try
="$ac_compile"
20803 case "(($ac_try" in
20804 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20805 *) ac_try_echo=$ac_try;;
20807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20808 (eval "$ac_compile") 2>conftest.er1
20810 grep -v '^ *+' conftest.er1 >conftest.err
20812 cat conftest.err >&5
20813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20814 (exit $ac_status); } && {
20815 test -z "$ac_c_werror_flag" ||
20816 test ! -s conftest.err
20817 } && test -s conftest.$ac_objext; then
20820 cat >conftest.$ac_ext <<_ACEOF
20823 cat confdefs.h >>conftest.$ac_ext
20824 cat >>conftest.$ac_ext <<_ACEOF
20825 /* end confdefs.h. */
20826 $ac_includes_default
20827 typedef size_t ac__type_sizeof_;
20831 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20838 rm -f conftest.$ac_objext
20839 if { (ac_try="$ac_compile"
20840 case "(($ac_try" in
20841 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20842 *) ac_try_echo
=$ac_try;;
20844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20845 (eval "$ac_compile") 2>conftest.er1
20847 grep -v '^ *+' conftest.er1
>conftest.err
20849 cat conftest.err
>&5
20850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851 (exit $ac_status); } && {
20852 test -z "$ac_c_werror_flag" ||
20853 test ! -s conftest.err
20854 } && test -s conftest.
$ac_objext; then
20855 ac_lo
=$ac_mid; break
20857 echo "$as_me: failed program was:" >&5
20858 sed 's/^/| /' conftest.
$ac_ext >&5
20860 ac_hi
=`expr '(' $ac_mid ')' - 1`
20861 if test $ac_mid -le $ac_hi; then
20865 ac_mid
=`expr 2 '*' $ac_mid`
20868 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20871 echo "$as_me: failed program was:" >&5
20872 sed 's/^/| /' conftest.
$ac_ext >&5
20877 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20880 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20881 # Binary search between lo and hi bounds.
20882 while test "x$ac_lo" != "x$ac_hi"; do
20883 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20884 cat >conftest.
$ac_ext <<_ACEOF
20887 cat confdefs.h
>>conftest.
$ac_ext
20888 cat >>conftest.
$ac_ext <<_ACEOF
20889 /* end confdefs.h. */
20890 $ac_includes_default
20891 typedef size_t ac__type_sizeof_;
20895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20902 rm -f conftest.
$ac_objext
20903 if { (ac_try
="$ac_compile"
20904 case "(($ac_try" in
20905 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20906 *) ac_try_echo=$ac_try;;
20908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20909 (eval "$ac_compile") 2>conftest.er1
20911 grep -v '^ *+' conftest.er1 >conftest.err
20913 cat conftest.err >&5
20914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20915 (exit $ac_status); } && {
20916 test -z "$ac_c_werror_flag" ||
20917 test ! -s conftest.err
20918 } && test -s conftest.$ac_objext; then
20921 echo "$as_me: failed program was:" >&5
20922 sed 's/^/| /' conftest.$ac_ext >&5
20924 ac_lo=`expr '(' $ac_mid ')' + 1`
20927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20930 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20931 '') if test "$ac_cv_type_size_t" = yes; then
20932 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20933 See \`config.log
' for more details." >&5
20934 echo "$as_me: error: cannot compute sizeof (size_t)
20935 See \`config.log' for more details.
" >&2;}
20936 { (exit 77); exit 77; }; }
20938 ac_cv_sizeof_size_t=0
20942 cat >conftest.$ac_ext <<_ACEOF
20945 cat confdefs.h >>conftest.$ac_ext
20946 cat >>conftest.$ac_ext <<_ACEOF
20947 /* end confdefs.h. */
20948 $ac_includes_default
20949 typedef size_t ac__type_sizeof_;
20950 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20951 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20953 #include <stdlib.h>
20958 FILE *f = fopen ("conftest.val
", "w
");
20961 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20963 long int i = longval ();
20964 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20966 fprintf (f, "%ld
\n", i);
20970 unsigned long int i = ulongval ();
20971 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20973 fprintf (f, "%lu
\n", i);
20975 return ferror (f) || fclose (f) != 0;
20981 rm -f conftest$ac_exeext
20982 if { (ac_try="$ac_link"
20983 case "(($ac_try" in
20984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20985 *) ac_try_echo=$ac_try;;
20987 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20988 (eval "$ac_link") 2>&5
20990 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20991 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20992 { (case "(($ac_try" in
20993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20994 *) ac_try_echo=$ac_try;;
20996 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20997 (eval "$ac_try") 2>&5
20999 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21000 (exit $ac_status); }; }; then
21001 ac_cv_sizeof_size_t=`cat conftest.val`
21003 echo "$as_me: program exited with status
$ac_status" >&5
21004 echo "$as_me: failed program was
:" >&5
21005 sed 's/^/| /' conftest.$ac_ext >&5
21007 ( exit $ac_status )
21008 if test "$ac_cv_type_size_t" = yes; then
21009 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21010 See \
`config.log' for more details." >&5
21011 echo "$as_me: error: cannot compute sizeof (size_t)
21012 See \`config.log
' for more details." >&2;}
21013 { (exit 77); exit 77; }; }
21015 ac_cv_sizeof_size_t=0
21018 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21022 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21023 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21027 cat >>confdefs.h <<_ACEOF
21028 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21035 { echo "$as_me:$LINENO: checking for long long" >&5
21036 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21037 if test "${ac_cv_type_long_long+set}" = set; then
21038 echo $ECHO_N "(cached) $ECHO_C" >&6
21040 cat >conftest.$ac_ext <<_ACEOF
21043 cat confdefs.h >>conftest.$ac_ext
21044 cat >>conftest.$ac_ext <<_ACEOF
21045 /* end confdefs.h. */
21046 $ac_includes_default
21047 typedef long long ac__type_new_;
21051 if ((ac__type_new_ *) 0)
21053 if (sizeof (ac__type_new_))
21059 rm -f conftest.$ac_objext
21060 if { (ac_try="$ac_compile"
21061 case "(($ac_try" in
21062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21063 *) ac_try_echo=$ac_try;;
21065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21066 (eval "$ac_compile") 2>conftest.er1
21068 grep -v '^
*+' conftest.er1 >conftest.err
21070 cat conftest.err >&5
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); } && {
21073 test -z "$ac_c_werror_flag" ||
21074 test ! -s conftest.err
21075 } && test -s conftest.$ac_objext; then
21076 ac_cv_type_long_long=yes
21078 echo "$as_me: failed program was:" >&5
21079 sed 's
/^
/| /' conftest.$ac_ext >&5
21081 ac_cv_type_long_long=no
21084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21086 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21087 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21089 # The cast to long int works around a bug in the HP C Compiler
21090 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21091 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21092 # This bug is HP SR number 8606223364.
21093 { echo "$as_me:$LINENO: checking size of long long" >&5
21094 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21095 if test "${ac_cv_sizeof_long_long+set}" = set; then
21096 echo $ECHO_N "(cached) $ECHO_C" >&6
21098 if test "$cross_compiling" = yes; then
21099 # Depending upon the size, compute the lo and hi bounds.
21100 cat >conftest.
$ac_ext <<_ACEOF
21103 cat confdefs.h
>>conftest.
$ac_ext
21104 cat >>conftest.
$ac_ext <<_ACEOF
21105 /* end confdefs.h. */
21106 $ac_includes_default
21107 typedef long long ac__type_sizeof_;
21111 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21118 rm -f conftest.
$ac_objext
21119 if { (ac_try
="$ac_compile"
21120 case "(($ac_try" in
21121 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21122 *) ac_try_echo=$ac_try;;
21124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21125 (eval "$ac_compile") 2>conftest.er1
21127 grep -v '^ *+' conftest.er1 >conftest.err
21129 cat conftest.err >&5
21130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21131 (exit $ac_status); } && {
21132 test -z "$ac_c_werror_flag" ||
21133 test ! -s conftest.err
21134 } && test -s conftest.$ac_objext; then
21137 cat >conftest.$ac_ext <<_ACEOF
21140 cat confdefs.h >>conftest.$ac_ext
21141 cat >>conftest.$ac_ext <<_ACEOF
21142 /* end confdefs.h. */
21143 $ac_includes_default
21144 typedef long long ac__type_sizeof_;
21148 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21155 rm -f conftest.$ac_objext
21156 if { (ac_try="$ac_compile"
21157 case "(($ac_try" in
21158 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21159 *) ac_try_echo
=$ac_try;;
21161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21162 (eval "$ac_compile") 2>conftest.er1
21164 grep -v '^ *+' conftest.er1
>conftest.err
21166 cat conftest.err
>&5
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); } && {
21169 test -z "$ac_c_werror_flag" ||
21170 test ! -s conftest.err
21171 } && test -s conftest.
$ac_objext; then
21172 ac_hi
=$ac_mid; break
21174 echo "$as_me: failed program was:" >&5
21175 sed 's/^/| /' conftest.
$ac_ext >&5
21177 ac_lo
=`expr $ac_mid + 1`
21178 if test $ac_lo -le $ac_mid; then
21182 ac_mid
=`expr 2 '*' $ac_mid + 1`
21185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21188 echo "$as_me: failed program was:" >&5
21189 sed 's/^/| /' conftest.
$ac_ext >&5
21191 cat >conftest.
$ac_ext <<_ACEOF
21194 cat confdefs.h
>>conftest.
$ac_ext
21195 cat >>conftest.
$ac_ext <<_ACEOF
21196 /* end confdefs.h. */
21197 $ac_includes_default
21198 typedef long long ac__type_sizeof_;
21202 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21209 rm -f conftest.
$ac_objext
21210 if { (ac_try
="$ac_compile"
21211 case "(($ac_try" in
21212 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21213 *) ac_try_echo=$ac_try;;
21215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21216 (eval "$ac_compile") 2>conftest.er1
21218 grep -v '^ *+' conftest.er1 >conftest.err
21220 cat conftest.err >&5
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); } && {
21223 test -z "$ac_c_werror_flag" ||
21224 test ! -s conftest.err
21225 } && test -s conftest.$ac_objext; then
21228 cat >conftest.$ac_ext <<_ACEOF
21231 cat confdefs.h >>conftest.$ac_ext
21232 cat >>conftest.$ac_ext <<_ACEOF
21233 /* end confdefs.h. */
21234 $ac_includes_default
21235 typedef long long ac__type_sizeof_;
21239 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21246 rm -f conftest.$ac_objext
21247 if { (ac_try="$ac_compile"
21248 case "(($ac_try" in
21249 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21250 *) ac_try_echo
=$ac_try;;
21252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21253 (eval "$ac_compile") 2>conftest.er1
21255 grep -v '^ *+' conftest.er1
>conftest.err
21257 cat conftest.err
>&5
21258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21259 (exit $ac_status); } && {
21260 test -z "$ac_c_werror_flag" ||
21261 test ! -s conftest.err
21262 } && test -s conftest.
$ac_objext; then
21263 ac_lo
=$ac_mid; break
21265 echo "$as_me: failed program was:" >&5
21266 sed 's/^/| /' conftest.
$ac_ext >&5
21268 ac_hi
=`expr '(' $ac_mid ')' - 1`
21269 if test $ac_mid -le $ac_hi; then
21273 ac_mid
=`expr 2 '*' $ac_mid`
21276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21279 echo "$as_me: failed program was:" >&5
21280 sed 's/^/| /' conftest.
$ac_ext >&5
21285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21288 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21289 # Binary search between lo and hi bounds.
21290 while test "x$ac_lo" != "x$ac_hi"; do
21291 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21292 cat >conftest.
$ac_ext <<_ACEOF
21295 cat confdefs.h
>>conftest.
$ac_ext
21296 cat >>conftest.
$ac_ext <<_ACEOF
21297 /* end confdefs.h. */
21298 $ac_includes_default
21299 typedef long long ac__type_sizeof_;
21303 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21310 rm -f conftest.
$ac_objext
21311 if { (ac_try
="$ac_compile"
21312 case "(($ac_try" in
21313 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21314 *) ac_try_echo=$ac_try;;
21316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21317 (eval "$ac_compile") 2>conftest.er1
21319 grep -v '^ *+' conftest.er1 >conftest.err
21321 cat conftest.err >&5
21322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21323 (exit $ac_status); } && {
21324 test -z "$ac_c_werror_flag" ||
21325 test ! -s conftest.err
21326 } && test -s conftest.$ac_objext; then
21329 echo "$as_me: failed program was:" >&5
21330 sed 's/^/| /' conftest.$ac_ext >&5
21332 ac_lo=`expr '(' $ac_mid ')' + 1`
21335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21338 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21339 '') if test "$ac_cv_type_long_long" = yes; then
21340 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21341 See \`config.log
' for more details." >&5
21342 echo "$as_me: error: cannot compute sizeof (long long)
21343 See \`config.log' for more details.
" >&2;}
21344 { (exit 77); exit 77; }; }
21346 ac_cv_sizeof_long_long=0
21350 cat >conftest.$ac_ext <<_ACEOF
21353 cat confdefs.h >>conftest.$ac_ext
21354 cat >>conftest.$ac_ext <<_ACEOF
21355 /* end confdefs.h. */
21356 $ac_includes_default
21357 typedef long long ac__type_sizeof_;
21358 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21359 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21361 #include <stdlib.h>
21366 FILE *f = fopen ("conftest.val
", "w
");
21369 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21371 long int i = longval ();
21372 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21374 fprintf (f, "%ld
\n", i);
21378 unsigned long int i = ulongval ();
21379 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21381 fprintf (f, "%lu
\n", i);
21383 return ferror (f) || fclose (f) != 0;
21389 rm -f conftest$ac_exeext
21390 if { (ac_try="$ac_link"
21391 case "(($ac_try" in
21392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21393 *) ac_try_echo=$ac_try;;
21395 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21396 (eval "$ac_link") 2>&5
21398 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21399 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21400 { (case "(($ac_try" in
21401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21402 *) ac_try_echo=$ac_try;;
21404 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21405 (eval "$ac_try") 2>&5
21407 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21408 (exit $ac_status); }; }; then
21409 ac_cv_sizeof_long_long=`cat conftest.val`
21411 echo "$as_me: program exited with status
$ac_status" >&5
21412 echo "$as_me: failed program was
:" >&5
21413 sed 's/^/| /' conftest.$ac_ext >&5
21415 ( exit $ac_status )
21416 if test "$ac_cv_type_long_long" = yes; then
21417 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21418 See \
`config.log' for more details." >&5
21419 echo "$as_me: error: cannot compute sizeof (long long)
21420 See \`config.log
' for more details." >&2;}
21421 { (exit 77); exit 77; }; }
21423 ac_cv_sizeof_long_long=0
21426 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21430 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21431 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21435 cat >>confdefs.h <<_ACEOF
21436 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21442 { echo "$as_me:$LINENO: checking for long long" >&5
21443 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21444 if test "${ac_cv_type_long_long+set}" = set; then
21445 echo $ECHO_N "(cached) $ECHO_C" >&6
21447 cat >conftest.$ac_ext <<_ACEOF
21450 cat confdefs.h >>conftest.$ac_ext
21451 cat >>conftest.$ac_ext <<_ACEOF
21452 /* end confdefs.h. */
21453 $ac_includes_default
21454 typedef long long ac__type_new_;
21458 if ((ac__type_new_ *) 0)
21460 if (sizeof (ac__type_new_))
21466 rm -f conftest.$ac_objext
21467 if { (ac_try="$ac_compile"
21468 case "(($ac_try" in
21469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21470 *) ac_try_echo=$ac_try;;
21472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21473 (eval "$ac_compile") 2>conftest.er1
21475 grep -v '^
*+' conftest.er1 >conftest.err
21477 cat conftest.err >&5
21478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479 (exit $ac_status); } && {
21480 test -z "$ac_c_werror_flag" ||
21481 test ! -s conftest.err
21482 } && test -s conftest.$ac_objext; then
21483 ac_cv_type_long_long=yes
21485 echo "$as_me: failed program was:" >&5
21486 sed 's
/^
/| /' conftest.$ac_ext >&5
21488 ac_cv_type_long_long=no
21491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21493 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21494 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21496 # The cast to long int works around a bug in the HP C Compiler
21497 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21498 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21499 # This bug is HP SR number 8606223364.
21500 { echo "$as_me:$LINENO: checking size of long long" >&5
21501 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21502 if test "${ac_cv_sizeof_long_long+set}" = set; then
21503 echo $ECHO_N "(cached) $ECHO_C" >&6
21505 if test "$cross_compiling" = yes; then
21506 # Depending upon the size, compute the lo and hi bounds.
21507 cat >conftest.
$ac_ext <<_ACEOF
21510 cat confdefs.h
>>conftest.
$ac_ext
21511 cat >>conftest.
$ac_ext <<_ACEOF
21512 /* end confdefs.h. */
21513 $ac_includes_default
21514 typedef long long ac__type_sizeof_;
21518 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21525 rm -f conftest.
$ac_objext
21526 if { (ac_try
="$ac_compile"
21527 case "(($ac_try" in
21528 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21529 *) ac_try_echo=$ac_try;;
21531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21532 (eval "$ac_compile") 2>conftest.er1
21534 grep -v '^ *+' conftest.er1 >conftest.err
21536 cat conftest.err >&5
21537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21538 (exit $ac_status); } && {
21539 test -z "$ac_c_werror_flag" ||
21540 test ! -s conftest.err
21541 } && test -s conftest.$ac_objext; then
21544 cat >conftest.$ac_ext <<_ACEOF
21547 cat confdefs.h >>conftest.$ac_ext
21548 cat >>conftest.$ac_ext <<_ACEOF
21549 /* end confdefs.h. */
21550 $ac_includes_default
21551 typedef long long ac__type_sizeof_;
21555 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21562 rm -f conftest.$ac_objext
21563 if { (ac_try="$ac_compile"
21564 case "(($ac_try" in
21565 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21566 *) ac_try_echo
=$ac_try;;
21568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21569 (eval "$ac_compile") 2>conftest.er1
21571 grep -v '^ *+' conftest.er1
>conftest.err
21573 cat conftest.err
>&5
21574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21575 (exit $ac_status); } && {
21576 test -z "$ac_c_werror_flag" ||
21577 test ! -s conftest.err
21578 } && test -s conftest.
$ac_objext; then
21579 ac_hi
=$ac_mid; break
21581 echo "$as_me: failed program was:" >&5
21582 sed 's/^/| /' conftest.
$ac_ext >&5
21584 ac_lo
=`expr $ac_mid + 1`
21585 if test $ac_lo -le $ac_mid; then
21589 ac_mid
=`expr 2 '*' $ac_mid + 1`
21592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21595 echo "$as_me: failed program was:" >&5
21596 sed 's/^/| /' conftest.
$ac_ext >&5
21598 cat >conftest.
$ac_ext <<_ACEOF
21601 cat confdefs.h
>>conftest.
$ac_ext
21602 cat >>conftest.
$ac_ext <<_ACEOF
21603 /* end confdefs.h. */
21604 $ac_includes_default
21605 typedef long long ac__type_sizeof_;
21609 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21616 rm -f conftest.
$ac_objext
21617 if { (ac_try
="$ac_compile"
21618 case "(($ac_try" in
21619 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21620 *) ac_try_echo=$ac_try;;
21622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21623 (eval "$ac_compile") 2>conftest.er1
21625 grep -v '^ *+' conftest.er1 >conftest.err
21627 cat conftest.err >&5
21628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21629 (exit $ac_status); } && {
21630 test -z "$ac_c_werror_flag" ||
21631 test ! -s conftest.err
21632 } && test -s conftest.$ac_objext; then
21635 cat >conftest.$ac_ext <<_ACEOF
21638 cat confdefs.h >>conftest.$ac_ext
21639 cat >>conftest.$ac_ext <<_ACEOF
21640 /* end confdefs.h. */
21641 $ac_includes_default
21642 typedef long long ac__type_sizeof_;
21646 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21653 rm -f conftest.$ac_objext
21654 if { (ac_try="$ac_compile"
21655 case "(($ac_try" in
21656 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21657 *) ac_try_echo
=$ac_try;;
21659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21660 (eval "$ac_compile") 2>conftest.er1
21662 grep -v '^ *+' conftest.er1
>conftest.err
21664 cat conftest.err
>&5
21665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21666 (exit $ac_status); } && {
21667 test -z "$ac_c_werror_flag" ||
21668 test ! -s conftest.err
21669 } && test -s conftest.
$ac_objext; then
21670 ac_lo
=$ac_mid; break
21672 echo "$as_me: failed program was:" >&5
21673 sed 's/^/| /' conftest.
$ac_ext >&5
21675 ac_hi
=`expr '(' $ac_mid ')' - 1`
21676 if test $ac_mid -le $ac_hi; then
21680 ac_mid
=`expr 2 '*' $ac_mid`
21683 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21686 echo "$as_me: failed program was:" >&5
21687 sed 's/^/| /' conftest.
$ac_ext >&5
21692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21696 # Binary search between lo and hi bounds.
21697 while test "x$ac_lo" != "x$ac_hi"; do
21698 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21699 cat >conftest.
$ac_ext <<_ACEOF
21702 cat confdefs.h
>>conftest.
$ac_ext
21703 cat >>conftest.
$ac_ext <<_ACEOF
21704 /* end confdefs.h. */
21705 $ac_includes_default
21706 typedef long long ac__type_sizeof_;
21710 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21717 rm -f conftest.
$ac_objext
21718 if { (ac_try
="$ac_compile"
21719 case "(($ac_try" in
21720 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21721 *) ac_try_echo=$ac_try;;
21723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21724 (eval "$ac_compile") 2>conftest.er1
21726 grep -v '^ *+' conftest.er1 >conftest.err
21728 cat conftest.err >&5
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); } && {
21731 test -z "$ac_c_werror_flag" ||
21732 test ! -s conftest.err
21733 } && test -s conftest.$ac_objext; then
21736 echo "$as_me: failed program was:" >&5
21737 sed 's/^/| /' conftest.$ac_ext >&5
21739 ac_lo=`expr '(' $ac_mid ')' + 1`
21742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21745 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21746 '') if test "$ac_cv_type_long_long" = yes; then
21747 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21748 See \`config.log
' for more details." >&5
21749 echo "$as_me: error: cannot compute sizeof (long long)
21750 See \`config.log' for more details.
" >&2;}
21751 { (exit 77); exit 77; }; }
21753 ac_cv_sizeof_long_long=0
21757 cat >conftest.$ac_ext <<_ACEOF
21760 cat confdefs.h >>conftest.$ac_ext
21761 cat >>conftest.$ac_ext <<_ACEOF
21762 /* end confdefs.h. */
21763 $ac_includes_default
21764 typedef long long ac__type_sizeof_;
21765 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21766 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21768 #include <stdlib.h>
21773 FILE *f = fopen ("conftest.val
", "w
");
21776 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21778 long int i = longval ();
21779 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21781 fprintf (f, "%ld
\n", i);
21785 unsigned long int i = ulongval ();
21786 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21788 fprintf (f, "%lu
\n", i);
21790 return ferror (f) || fclose (f) != 0;
21796 rm -f conftest$ac_exeext
21797 if { (ac_try="$ac_link"
21798 case "(($ac_try" in
21799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21800 *) ac_try_echo=$ac_try;;
21802 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21803 (eval "$ac_link") 2>&5
21805 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21806 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21807 { (case "(($ac_try" in
21808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21809 *) ac_try_echo=$ac_try;;
21811 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21812 (eval "$ac_try") 2>&5
21814 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21815 (exit $ac_status); }; }; then
21816 ac_cv_sizeof_long_long=`cat conftest.val`
21818 echo "$as_me: program exited with status
$ac_status" >&5
21819 echo "$as_me: failed program was
:" >&5
21820 sed 's/^/| /' conftest.$ac_ext >&5
21822 ( exit $ac_status )
21823 if test "$ac_cv_type_long_long" = yes; then
21824 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21825 See \
`config.log' for more details." >&5
21826 echo "$as_me: error: cannot compute sizeof (long long)
21827 See \`config.log
' for more details." >&2;}
21828 { (exit 77); exit 77; }; }
21830 ac_cv_sizeof_long_long=0
21833 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21837 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21838 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21842 cat >>confdefs.h <<_ACEOF
21843 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21847 if test "$ac_cv_sizeof_long_long" != 0; then
21848 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21852 { echo "$as_me:$LINENO: checking for long long" >&5
21853 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21854 if test "${ac_cv_type_long_long+set}" = set; then
21855 echo $ECHO_N "(cached) $ECHO_C" >&6
21857 cat >conftest.$ac_ext <<_ACEOF
21860 cat confdefs.h >>conftest.$ac_ext
21861 cat >>conftest.$ac_ext <<_ACEOF
21862 /* end confdefs.h. */
21863 $ac_includes_default
21864 typedef long long ac__type_new_;
21868 if ((ac__type_new_ *) 0)
21870 if (sizeof (ac__type_new_))
21876 rm -f conftest.$ac_objext
21877 if { (ac_try="$ac_compile"
21878 case "(($ac_try" in
21879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21880 *) ac_try_echo=$ac_try;;
21882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21883 (eval "$ac_compile") 2>conftest.er1
21885 grep -v '^
*+' conftest.er1 >conftest.err
21887 cat conftest.err >&5
21888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21889 (exit $ac_status); } && {
21890 test -z "$ac_c_werror_flag" ||
21891 test ! -s conftest.err
21892 } && test -s conftest.$ac_objext; then
21893 ac_cv_type_long_long=yes
21895 echo "$as_me: failed program was:" >&5
21896 sed 's
/^
/| /' conftest.$ac_ext >&5
21898 ac_cv_type_long_long=no
21901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21903 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21904 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21906 # The cast to long int works around a bug in the HP C Compiler
21907 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21908 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21909 # This bug is HP SR number 8606223364.
21910 { echo "$as_me:$LINENO: checking size of long long" >&5
21911 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21912 if test "${ac_cv_sizeof_long_long+set}" = set; then
21913 echo $ECHO_N "(cached) $ECHO_C" >&6
21915 if test "$cross_compiling" = yes; then
21916 # Depending upon the size, compute the lo and hi bounds.
21917 cat >conftest.
$ac_ext <<_ACEOF
21920 cat confdefs.h
>>conftest.
$ac_ext
21921 cat >>conftest.
$ac_ext <<_ACEOF
21922 /* end confdefs.h. */
21923 $ac_includes_default
21924 typedef long long ac__type_sizeof_;
21928 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21935 rm -f conftest.
$ac_objext
21936 if { (ac_try
="$ac_compile"
21937 case "(($ac_try" in
21938 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21939 *) ac_try_echo=$ac_try;;
21941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21942 (eval "$ac_compile") 2>conftest.er1
21944 grep -v '^ *+' conftest.er1 >conftest.err
21946 cat conftest.err >&5
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); } && {
21949 test -z "$ac_c_werror_flag" ||
21950 test ! -s conftest.err
21951 } && test -s conftest.$ac_objext; then
21954 cat >conftest.$ac_ext <<_ACEOF
21957 cat confdefs.h >>conftest.$ac_ext
21958 cat >>conftest.$ac_ext <<_ACEOF
21959 /* end confdefs.h. */
21960 $ac_includes_default
21961 typedef long long ac__type_sizeof_;
21965 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21972 rm -f conftest.$ac_objext
21973 if { (ac_try="$ac_compile"
21974 case "(($ac_try" in
21975 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21976 *) ac_try_echo
=$ac_try;;
21978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21979 (eval "$ac_compile") 2>conftest.er1
21981 grep -v '^ *+' conftest.er1
>conftest.err
21983 cat conftest.err
>&5
21984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985 (exit $ac_status); } && {
21986 test -z "$ac_c_werror_flag" ||
21987 test ! -s conftest.err
21988 } && test -s conftest.
$ac_objext; then
21989 ac_hi
=$ac_mid; break
21991 echo "$as_me: failed program was:" >&5
21992 sed 's/^/| /' conftest.
$ac_ext >&5
21994 ac_lo
=`expr $ac_mid + 1`
21995 if test $ac_lo -le $ac_mid; then
21999 ac_mid
=`expr 2 '*' $ac_mid + 1`
22002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22005 echo "$as_me: failed program was:" >&5
22006 sed 's/^/| /' conftest.
$ac_ext >&5
22008 cat >conftest.
$ac_ext <<_ACEOF
22011 cat confdefs.h
>>conftest.
$ac_ext
22012 cat >>conftest.
$ac_ext <<_ACEOF
22013 /* end confdefs.h. */
22014 $ac_includes_default
22015 typedef long long ac__type_sizeof_;
22019 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22026 rm -f conftest.
$ac_objext
22027 if { (ac_try
="$ac_compile"
22028 case "(($ac_try" in
22029 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22030 *) ac_try_echo=$ac_try;;
22032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22033 (eval "$ac_compile") 2>conftest.er1
22035 grep -v '^ *+' conftest.er1 >conftest.err
22037 cat conftest.err >&5
22038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22039 (exit $ac_status); } && {
22040 test -z "$ac_c_werror_flag" ||
22041 test ! -s conftest.err
22042 } && test -s conftest.$ac_objext; then
22045 cat >conftest.$ac_ext <<_ACEOF
22048 cat confdefs.h >>conftest.$ac_ext
22049 cat >>conftest.$ac_ext <<_ACEOF
22050 /* end confdefs.h. */
22051 $ac_includes_default
22052 typedef long long ac__type_sizeof_;
22056 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22063 rm -f conftest.$ac_objext
22064 if { (ac_try="$ac_compile"
22065 case "(($ac_try" in
22066 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22067 *) ac_try_echo
=$ac_try;;
22069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22070 (eval "$ac_compile") 2>conftest.er1
22072 grep -v '^ *+' conftest.er1
>conftest.err
22074 cat conftest.err
>&5
22075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22076 (exit $ac_status); } && {
22077 test -z "$ac_c_werror_flag" ||
22078 test ! -s conftest.err
22079 } && test -s conftest.
$ac_objext; then
22080 ac_lo
=$ac_mid; break
22082 echo "$as_me: failed program was:" >&5
22083 sed 's/^/| /' conftest.
$ac_ext >&5
22085 ac_hi
=`expr '(' $ac_mid ')' - 1`
22086 if test $ac_mid -le $ac_hi; then
22090 ac_mid
=`expr 2 '*' $ac_mid`
22093 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22096 echo "$as_me: failed program was:" >&5
22097 sed 's/^/| /' conftest.
$ac_ext >&5
22102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22106 # Binary search between lo and hi bounds.
22107 while test "x$ac_lo" != "x$ac_hi"; do
22108 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22109 cat >conftest.
$ac_ext <<_ACEOF
22112 cat confdefs.h
>>conftest.
$ac_ext
22113 cat >>conftest.
$ac_ext <<_ACEOF
22114 /* end confdefs.h. */
22115 $ac_includes_default
22116 typedef long long ac__type_sizeof_;
22120 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22127 rm -f conftest.
$ac_objext
22128 if { (ac_try
="$ac_compile"
22129 case "(($ac_try" in
22130 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22131 *) ac_try_echo=$ac_try;;
22133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22134 (eval "$ac_compile") 2>conftest.er1
22136 grep -v '^ *+' conftest.er1 >conftest.err
22138 cat conftest.err >&5
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); } && {
22141 test -z "$ac_c_werror_flag" ||
22142 test ! -s conftest.err
22143 } && test -s conftest.$ac_objext; then
22146 echo "$as_me: failed program was:" >&5
22147 sed 's/^/| /' conftest.$ac_ext >&5
22149 ac_lo=`expr '(' $ac_mid ')' + 1`
22152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22155 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22156 '') if test "$ac_cv_type_long_long" = yes; then
22157 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22158 See \`config.log
' for more details." >&5
22159 echo "$as_me: error: cannot compute sizeof (long long)
22160 See \`config.log' for more details.
" >&2;}
22161 { (exit 77); exit 77; }; }
22163 ac_cv_sizeof_long_long=0
22167 cat >conftest.$ac_ext <<_ACEOF
22170 cat confdefs.h >>conftest.$ac_ext
22171 cat >>conftest.$ac_ext <<_ACEOF
22172 /* end confdefs.h. */
22173 $ac_includes_default
22174 typedef long long ac__type_sizeof_;
22175 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22176 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22178 #include <stdlib.h>
22183 FILE *f = fopen ("conftest.val
", "w
");
22186 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22188 long int i = longval ();
22189 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22191 fprintf (f, "%ld
\n", i);
22195 unsigned long int i = ulongval ();
22196 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22198 fprintf (f, "%lu
\n", i);
22200 return ferror (f) || fclose (f) != 0;
22206 rm -f conftest$ac_exeext
22207 if { (ac_try="$ac_link"
22208 case "(($ac_try" in
22209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22210 *) ac_try_echo=$ac_try;;
22212 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22213 (eval "$ac_link") 2>&5
22215 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22216 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22217 { (case "(($ac_try" in
22218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22219 *) ac_try_echo=$ac_try;;
22221 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22222 (eval "$ac_try") 2>&5
22224 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22225 (exit $ac_status); }; }; then
22226 ac_cv_sizeof_long_long=`cat conftest.val`
22228 echo "$as_me: program exited with status
$ac_status" >&5
22229 echo "$as_me: failed program was
:" >&5
22230 sed 's/^/| /' conftest.$ac_ext >&5
22232 ( exit $ac_status )
22233 if test "$ac_cv_type_long_long" = yes; then
22234 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22235 See \
`config.log' for more details." >&5
22236 echo "$as_me: error: cannot compute sizeof (long long)
22237 See \`config.log
' for more details." >&2;}
22238 { (exit 77); exit 77; }; }
22240 ac_cv_sizeof_long_long=0
22243 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22247 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22248 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22252 cat >>confdefs.h <<_ACEOF
22253 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22259 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22260 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22261 if test "${ac_cv_type_wchar_t+set}" = set; then
22262 echo $ECHO_N "(cached) $ECHO_C" >&6
22264 cat >conftest.$ac_ext <<_ACEOF
22267 cat confdefs.h >>conftest.$ac_ext
22268 cat >>conftest.$ac_ext <<_ACEOF
22269 /* end confdefs.h. */
22271 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22272 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22273 # error "fake wchar_t"
22275 #ifdef HAVE_WCHAR_H
22277 # include <stddef.h>
22279 # include <wchar.h>
22281 #ifdef HAVE_STDLIB_H
22282 # include <stdlib.h>
22288 typedef wchar_t ac__type_new_
;
22292 if ((ac__type_new_
*) 0)
22294 if (sizeof
(ac__type_new_
))
22300 rm -f conftest.
$ac_objext
22301 if { (ac_try
="$ac_compile"
22302 case "(($ac_try" in
22303 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22304 *) ac_try_echo=$ac_try;;
22306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22307 (eval "$ac_compile") 2>conftest.er1
22309 grep -v '^ *+' conftest.er1 >conftest.err
22311 cat conftest.err >&5
22312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22313 (exit $ac_status); } && {
22314 test -z "$ac_c_werror_flag" ||
22315 test ! -s conftest.err
22316 } && test -s conftest.$ac_objext; then
22317 ac_cv_type_wchar_t=yes
22319 echo "$as_me: failed program was:" >&5
22320 sed 's/^/| /' conftest.$ac_ext >&5
22322 ac_cv_type_wchar_t=no
22325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22327 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22328 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22330 # The cast to long int works around a bug in the HP C Compiler
22331 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22332 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22333 # This bug is HP SR number 8606223364.
22334 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22335 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22336 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22337 echo $ECHO_N "(cached) $ECHO_C" >&6
22339 if test "$cross_compiling" = yes; then
22340 # Depending upon the size, compute the lo and hi bounds.
22341 cat >conftest.$ac_ext <<_ACEOF
22344 cat confdefs.h >>conftest.$ac_ext
22345 cat >>conftest.$ac_ext <<_ACEOF
22346 /* end confdefs.h. */
22348 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22349 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22350 # error "fake wchar_t"
22352 #ifdef HAVE_WCHAR_H
22354 # include <stddef.h>
22356 # include <wchar.h>
22358 #ifdef HAVE_STDLIB_H
22359 # include <stdlib.h>
22365 typedef wchar_t ac__type_sizeof_
;
22369 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22376 rm -f conftest.
$ac_objext
22377 if { (ac_try
="$ac_compile"
22378 case "(($ac_try" in
22379 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22380 *) ac_try_echo=$ac_try;;
22382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22383 (eval "$ac_compile") 2>conftest.er1
22385 grep -v '^ *+' conftest.er1 >conftest.err
22387 cat conftest.err >&5
22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389 (exit $ac_status); } && {
22390 test -z "$ac_c_werror_flag" ||
22391 test ! -s conftest.err
22392 } && test -s conftest.$ac_objext; then
22395 cat >conftest.$ac_ext <<_ACEOF
22398 cat confdefs.h >>conftest.$ac_ext
22399 cat >>conftest.$ac_ext <<_ACEOF
22400 /* end confdefs.h. */
22402 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22403 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22404 # error "fake wchar_t"
22406 #ifdef HAVE_WCHAR_H
22408 # include <stddef.h>
22410 # include <wchar.h>
22412 #ifdef HAVE_STDLIB_H
22413 # include <stdlib.h>
22419 typedef wchar_t ac__type_sizeof_;
22423 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22430 rm -f conftest.$ac_objext
22431 if { (ac_try="$ac_compile"
22432 case "(($ac_try" in
22433 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22434 *) ac_try_echo
=$ac_try;;
22436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22437 (eval "$ac_compile") 2>conftest.er1
22439 grep -v '^ *+' conftest.er1
>conftest.err
22441 cat conftest.err
>&5
22442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22443 (exit $ac_status); } && {
22444 test -z "$ac_c_werror_flag" ||
22445 test ! -s conftest.err
22446 } && test -s conftest.
$ac_objext; then
22447 ac_hi
=$ac_mid; break
22449 echo "$as_me: failed program was:" >&5
22450 sed 's/^/| /' conftest.
$ac_ext >&5
22452 ac_lo
=`expr $ac_mid + 1`
22453 if test $ac_lo -le $ac_mid; then
22457 ac_mid
=`expr 2 '*' $ac_mid + 1`
22460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22463 echo "$as_me: failed program was:" >&5
22464 sed 's/^/| /' conftest.
$ac_ext >&5
22466 cat >conftest.
$ac_ext <<_ACEOF
22469 cat confdefs.h
>>conftest.
$ac_ext
22470 cat >>conftest.
$ac_ext <<_ACEOF
22471 /* end confdefs.h. */
22473 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22474 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22475 # error "fake wchar_t"
22477 #ifdef HAVE_WCHAR_H
22479 # include <stddef.h>
22481 # include <wchar.h>
22483 #ifdef HAVE_STDLIB_H
22484 # include <stdlib.h>
22490 typedef wchar_t ac__type_sizeof_;
22494 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22501 rm -f conftest.
$ac_objext
22502 if { (ac_try
="$ac_compile"
22503 case "(($ac_try" in
22504 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22505 *) ac_try_echo=$ac_try;;
22507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22508 (eval "$ac_compile") 2>conftest.er1
22510 grep -v '^ *+' conftest.er1 >conftest.err
22512 cat conftest.err >&5
22513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514 (exit $ac_status); } && {
22515 test -z "$ac_c_werror_flag" ||
22516 test ! -s conftest.err
22517 } && test -s conftest.$ac_objext; then
22520 cat >conftest.$ac_ext <<_ACEOF
22523 cat confdefs.h >>conftest.$ac_ext
22524 cat >>conftest.$ac_ext <<_ACEOF
22525 /* end confdefs.h. */
22527 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22528 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22529 # error "fake wchar_t"
22531 #ifdef HAVE_WCHAR_H
22533 # include <stddef.h>
22535 # include <wchar.h>
22537 #ifdef HAVE_STDLIB_H
22538 # include <stdlib.h>
22544 typedef wchar_t ac__type_sizeof_;
22548 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22555 rm -f conftest.$ac_objext
22556 if { (ac_try="$ac_compile"
22557 case "(($ac_try" in
22558 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22559 *) ac_try_echo
=$ac_try;;
22561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22562 (eval "$ac_compile") 2>conftest.er1
22564 grep -v '^ *+' conftest.er1
>conftest.err
22566 cat conftest.err
>&5
22567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22568 (exit $ac_status); } && {
22569 test -z "$ac_c_werror_flag" ||
22570 test ! -s conftest.err
22571 } && test -s conftest.
$ac_objext; then
22572 ac_lo
=$ac_mid; break
22574 echo "$as_me: failed program was:" >&5
22575 sed 's/^/| /' conftest.
$ac_ext >&5
22577 ac_hi
=`expr '(' $ac_mid ')' - 1`
22578 if test $ac_mid -le $ac_hi; then
22582 ac_mid
=`expr 2 '*' $ac_mid`
22585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22588 echo "$as_me: failed program was:" >&5
22589 sed 's/^/| /' conftest.
$ac_ext >&5
22594 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22597 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22598 # Binary search between lo and hi bounds.
22599 while test "x$ac_lo" != "x$ac_hi"; do
22600 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22601 cat >conftest.
$ac_ext <<_ACEOF
22604 cat confdefs.h
>>conftest.
$ac_ext
22605 cat >>conftest.
$ac_ext <<_ACEOF
22606 /* end confdefs.h. */
22608 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22609 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22610 # error "fake wchar_t"
22612 #ifdef HAVE_WCHAR_H
22614 # include <stddef.h>
22616 # include <wchar.h>
22618 #ifdef HAVE_STDLIB_H
22619 # include <stdlib.h>
22625 typedef wchar_t ac__type_sizeof_;
22629 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22636 rm -f conftest.
$ac_objext
22637 if { (ac_try
="$ac_compile"
22638 case "(($ac_try" in
22639 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22640 *) ac_try_echo=$ac_try;;
22642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22643 (eval "$ac_compile") 2>conftest.er1
22645 grep -v '^ *+' conftest.er1 >conftest.err
22647 cat conftest.err >&5
22648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22649 (exit $ac_status); } && {
22650 test -z "$ac_c_werror_flag" ||
22651 test ! -s conftest.err
22652 } && test -s conftest.$ac_objext; then
22655 echo "$as_me: failed program was:" >&5
22656 sed 's/^/| /' conftest.$ac_ext >&5
22658 ac_lo=`expr '(' $ac_mid ')' + 1`
22661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22664 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22665 '') if test "$ac_cv_type_wchar_t" = yes; then
22666 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22667 See \`config.log
' for more details." >&5
22668 echo "$as_me: error: cannot compute sizeof (wchar_t)
22669 See \`config.log' for more details.
" >&2;}
22670 { (exit 77); exit 77; }; }
22672 ac_cv_sizeof_wchar_t=0
22676 cat >conftest.$ac_ext <<_ACEOF
22679 cat confdefs.h >>conftest.$ac_ext
22680 cat >>conftest.$ac_ext <<_ACEOF
22681 /* end confdefs.h. */
22683 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22684 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22685 # error "fake wchar_t
"
22687 #ifdef HAVE_WCHAR_H
22689 # include <stddef.h>
22691 # include <wchar.h>
22693 #ifdef HAVE_STDLIB_H
22694 # include <stdlib.h>
22700 typedef wchar_t ac__type_sizeof_;
22701 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22702 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22704 #include <stdlib.h>
22709 FILE *f = fopen ("conftest.val
", "w
");
22712 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22714 long int i = longval ();
22715 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22717 fprintf (f, "%ld
\n", i);
22721 unsigned long int i = ulongval ();
22722 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22724 fprintf (f, "%lu
\n", i);
22726 return ferror (f) || fclose (f) != 0;
22732 rm -f conftest$ac_exeext
22733 if { (ac_try="$ac_link"
22734 case "(($ac_try" in
22735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22736 *) ac_try_echo=$ac_try;;
22738 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22739 (eval "$ac_link") 2>&5
22741 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22742 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22743 { (case "(($ac_try" in
22744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22745 *) ac_try_echo=$ac_try;;
22747 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22748 (eval "$ac_try") 2>&5
22750 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22751 (exit $ac_status); }; }; then
22752 ac_cv_sizeof_wchar_t=`cat conftest.val`
22754 echo "$as_me: program exited with status
$ac_status" >&5
22755 echo "$as_me: failed program was
:" >&5
22756 sed 's/^/| /' conftest.$ac_ext >&5
22758 ( exit $ac_status )
22759 if test "$ac_cv_type_wchar_t" = yes; then
22760 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
22761 See \
`config.log' for more details." >&5
22762 echo "$as_me: error: cannot compute sizeof (wchar_t)
22763 See \`config.log
' for more details." >&2;}
22764 { (exit 77); exit 77; }; }
22766 ac_cv_sizeof_wchar_t=0
22769 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22773 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22774 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22778 cat >>confdefs.h <<_ACEOF
22779 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22783 if test "$ac_cv_sizeof_wchar_t" != 0; then
22789 { echo "$as_me:$LINENO: checking for va_copy" >&5
22790 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22791 if test "${wx_cv_func_va_copy+set}" = set; then
22792 echo $ECHO_N "(cached) $ECHO_C" >&6
22796 ac_cpp='$CXXCPP $CPPFLAGS'
22797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22798 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22801 cat >conftest.$ac_ext <<_ACEOF
22803 #include <stdarg.h>
22804 void foo(char *f, ...)
22818 rm -f conftest.$ac_objext conftest$ac_exeext
22819 if { (ac_try="$ac_link"
22820 case "(($ac_try" in
22821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22822 *) ac_try_echo=$ac_try;;
22824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22825 (eval "$ac_link") 2>conftest.er1
22827 grep -v '^
*+' conftest.er1 >conftest.err
22829 cat conftest.err >&5
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); } && {
22832 test -z "$ac_cxx_werror_flag" ||
22833 test ! -s conftest.err
22834 } && test -s conftest$ac_exeext &&
22835 $as_test_x conftest$ac_exeext; then
22836 wx_cv_func_va_copy=yes
22838 echo "$as_me: failed program was:" >&5
22839 sed 's
/^
/| /' conftest.$ac_ext >&5
22841 wx_cv_func_va_copy=no
22845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22846 conftest$ac_exeext conftest.$ac_ext
22848 ac_cpp='$CPP $CPPFLAGS'
22849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22850 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22856 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22857 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22859 if test $wx_cv_func_va_copy = "yes"; then
22860 cat >>confdefs.h <<\_ACEOF
22861 #define HAVE_VA_COPY 1
22865 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22866 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22867 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22868 echo $ECHO_N "(cached) $ECHO_C" >&6
22871 if test "$cross_compiling" = yes; then
22872 wx_cv_type_va_list_lvalue=yes
22875 cat >conftest.$ac_ext <<_ACEOF
22877 #include <stdarg.h>
22878 int foo(char *f, ...)
22883 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22891 return foo("hi", 17);
22894 rm -f conftest$ac_exeext
22895 if { (ac_try="$ac_link"
22896 case "(($ac_try" in
22897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22898 *) ac_try_echo=$ac_try;;
22900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22901 (eval "$ac_link") 2>&5
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22905 { (case "(($ac_try" in
22906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22907 *) ac_try_echo=$ac_try;;
22909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22910 (eval "$ac_try") 2>&5
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); }; }; then
22914 wx_cv_type_va_list_lvalue=yes
22916 echo "$as_me: program exited with status $ac_status" >&5
22917 echo "$as_me: failed program was:" >&5
22918 sed 's
/^
/| /' conftest.$ac_ext >&5
22920 ( exit $ac_status )
22921 wx_cv_type_va_list_lvalue=no
22923 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22930 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22931 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22933 if test $wx_cv_type_va_list_lvalue != "yes"; then
22934 cat >>confdefs.h <<\_ACEOF
22935 #define VA_LIST_IS_ARRAY 1
22941 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22943 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22944 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22945 if test "${wx_cv_have_variadic_macros+set}" = set; then
22946 echo $ECHO_N "(cached) $ECHO_C" >&6
22950 ac_cpp='$CXXCPP $CPPFLAGS'
22951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22952 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22955 cat >conftest.$ac_ext <<_ACEOF
22958 cat confdefs.h >>conftest.$ac_ext
22959 cat >>conftest.$ac_ext <<_ACEOF
22960 /* end confdefs.h. */
22963 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22969 test("%s %d %p", "test", 1, 0);
22976 rm -f conftest.$ac_objext
22977 if { (ac_try="$ac_compile"
22978 case "(($ac_try" in
22979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22980 *) ac_try_echo=$ac_try;;
22982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22983 (eval "$ac_compile") 2>conftest.er1
22985 grep -v '^
*+' conftest.er1 >conftest.err
22987 cat conftest.err >&5
22988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989 (exit $ac_status); } && {
22990 test -z "$ac_cxx_werror_flag" ||
22991 test ! -s conftest.err
22992 } && test -s conftest.$ac_objext; then
22993 wx_cv_have_variadic_macros=yes
22995 echo "$as_me: failed program was:" >&5
22996 sed 's
/^
/| /' conftest.$ac_ext >&5
22998 wx_cv_have_variadic_macros=no
23002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23004 ac_cpp='$CPP $CPPFLAGS'
23005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23006 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23012 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23013 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23015 if test $wx_cv_have_variadic_macros = "yes"; then
23016 cat >>confdefs.h <<\_ACEOF
23017 #define HAVE_VARIADIC_MACROS 1
23023 # Check whether --enable-largefile was given.
23024 if test "${enable_largefile+set}" = set; then
23025 enableval=$enable_largefile;
23028 if test "$enable_largefile" != no; then
23031 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23032 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23033 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23034 echo $ECHO_N "(cached) $ECHO_C" >&6
23037 cat >conftest.$ac_ext <<_ACEOF
23040 cat confdefs.h >>conftest.$ac_ext
23041 cat >>conftest.$ac_ext <<_ACEOF
23042 /* end confdefs.h. */
23043 #define _FILE_OFFSET_BITS 64
23044 #include <sys/types.h>
23049 unsigned int field: sizeof(off_t) == 8;
23056 rm -f conftest.$ac_objext
23057 if { (ac_try="$ac_compile"
23058 case "(($ac_try" in
23059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23060 *) ac_try_echo=$ac_try;;
23062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23063 (eval "$ac_compile") 2>conftest.er1
23065 grep -v '^
*+' conftest.er1 >conftest.err
23067 cat conftest.err >&5
23068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069 (exit $ac_status); } && {
23070 test -z "$ac_c_werror_flag" ||
23071 test ! -s conftest.err
23072 } && test -s conftest.$ac_objext; then
23073 ac_cv_sys_file_offset_bits=64
23075 echo "$as_me: failed program was:" >&5
23076 sed 's
/^
/| /' conftest.$ac_ext >&5
23078 ac_cv_sys_file_offset_bits=no
23081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23085 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23086 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23088 if test "$ac_cv_sys_file_offset_bits" != no; then
23090 cat >>confdefs.h <<_ACEOF
23091 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23096 if test "x$wx_largefile" != "xyes"; then
23098 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23099 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23100 if test "${ac_cv_sys_large_files+set}" = set; then
23101 echo $ECHO_N "(cached) $ECHO_C" >&6
23104 cat >conftest.$ac_ext <<_ACEOF
23107 cat confdefs.h >>conftest.$ac_ext
23108 cat >>conftest.$ac_ext <<_ACEOF
23109 /* end confdefs.h. */
23110 #define _LARGE_FILES 1
23111 #include <sys/types.h>
23116 unsigned int field: sizeof(off_t) == 8;
23123 rm -f conftest.$ac_objext
23124 if { (ac_try="$ac_compile"
23125 case "(($ac_try" in
23126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23127 *) ac_try_echo=$ac_try;;
23129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23130 (eval "$ac_compile") 2>conftest.er1
23132 grep -v '^
*+' conftest.er1 >conftest.err
23134 cat conftest.err >&5
23135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23136 (exit $ac_status); } && {
23137 test -z "$ac_c_werror_flag" ||
23138 test ! -s conftest.err
23139 } && test -s conftest.$ac_objext; then
23140 ac_cv_sys_large_files=1
23142 echo "$as_me: failed program was:" >&5
23143 sed 's
/^
/| /' conftest.$ac_ext >&5
23145 ac_cv_sys_large_files=no
23148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23152 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23153 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23155 if test "$ac_cv_sys_large_files" != no; then
23157 cat >>confdefs.h <<_ACEOF
23158 #define _LARGE_FILES $ac_cv_sys_large_files
23165 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23166 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23167 if test "x$wx_largefile" = "xyes"; then
23168 cat >>confdefs.h <<\_ACEOF
23169 #define HAVE_LARGEFILE_SUPPORT 1
23173 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23174 echo "${ECHO_T}$wx_largefile" >&6; }
23178 if test "x$wx_largefile" = "xyes"; then
23179 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23180 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23182 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23183 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23184 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23185 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23186 echo $ECHO_N "(cached) $ECHO_C" >&6
23190 ac_cpp='$CXXCPP $CPPFLAGS'
23191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23192 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23195 cat >conftest.$ac_ext <<_ACEOF
23198 cat confdefs.h >>conftest.$ac_ext
23199 cat >>conftest.$ac_ext <<_ACEOF
23200 /* end confdefs.h. */
23206 #ifndef __STDC_EXT__
23214 rm -f conftest.$ac_objext
23215 if { (ac_try="$ac_compile"
23216 case "(($ac_try" in
23217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23218 *) ac_try_echo=$ac_try;;
23220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23221 (eval "$ac_compile") 2>conftest.er1
23223 grep -v '^
*+' conftest.er1 >conftest.err
23225 cat conftest.err >&5
23226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227 (exit $ac_status); } && {
23228 test -z "$ac_cxx_werror_flag" ||
23229 test ! -s conftest.err
23230 } && test -s conftest.$ac_objext; then
23231 wx_cv_STDC_EXT_required=no
23233 echo "$as_me: failed program was:" >&5
23234 sed 's
/^
/| /' conftest.$ac_ext >&5
23236 wx_cv_STDC_EXT_required=yes
23240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23242 ac_cpp='$CPP $CPPFLAGS'
23243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23244 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23250 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23251 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23252 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23253 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23257 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23259 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23260 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23261 if test "${ac_cv_sys_largefile_source+set}" = set; then
23262 echo $ECHO_N "(cached) $ECHO_C" >&6
23265 cat >conftest.$ac_ext <<_ACEOF
23268 cat confdefs.h >>conftest.$ac_ext
23269 cat >>conftest.$ac_ext <<_ACEOF
23270 /* end confdefs.h. */
23271 #include <sys/types.h> /* for off_t */
23276 int (*fp) (FILE *, off_t, int) = fseeko;
23277 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23282 rm -f conftest.$ac_objext conftest$ac_exeext
23283 if { (ac_try="$ac_link"
23284 case "(($ac_try" in
23285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23286 *) ac_try_echo=$ac_try;;
23288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23289 (eval "$ac_link") 2>conftest.er1
23291 grep -v '^
*+' conftest.er1 >conftest.err
23293 cat conftest.err >&5
23294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295 (exit $ac_status); } && {
23296 test -z "$ac_c_werror_flag" ||
23297 test ! -s conftest.err
23298 } && test -s conftest$ac_exeext &&
23299 $as_test_x conftest$ac_exeext; then
23300 ac_cv_sys_largefile_source=no; break
23302 echo "$as_me: failed program was:" >&5
23303 sed 's
/^
/| /' conftest.$ac_ext >&5
23308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23309 conftest$ac_exeext conftest.$ac_ext
23310 cat >conftest.$ac_ext <<_ACEOF
23313 cat confdefs.h >>conftest.$ac_ext
23314 cat >>conftest.$ac_ext <<_ACEOF
23315 /* end confdefs.h. */
23316 #define _LARGEFILE_SOURCE 1
23317 #include <sys/types.h> /* for off_t */
23322 int (*fp) (FILE *, off_t, int) = fseeko;
23323 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23328 rm -f conftest.$ac_objext conftest$ac_exeext
23329 if { (ac_try="$ac_link"
23330 case "(($ac_try" in
23331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23332 *) ac_try_echo=$ac_try;;
23334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23335 (eval "$ac_link") 2>conftest.er1
23337 grep -v '^
*+' conftest.er1 >conftest.err
23339 cat conftest.err >&5
23340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); } && {
23342 test -z "$ac_c_werror_flag" ||
23343 test ! -s conftest.err
23344 } && test -s conftest$ac_exeext &&
23345 $as_test_x conftest$ac_exeext; then
23346 ac_cv_sys_largefile_source=1; break
23348 echo "$as_me: failed program was:" >&5
23349 sed 's
/^
/| /' conftest.$ac_ext >&5
23354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23355 conftest$ac_exeext conftest.$ac_ext
23356 ac_cv_sys_largefile_source=unknown
23360 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23361 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23362 case $ac_cv_sys_largefile_source in #(
23365 cat >>confdefs.h <<_ACEOF
23366 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23372 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23373 # in glibc 2.1.3, but that breaks too many other things.
23374 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23375 if test $ac_cv_sys_largefile_source != unknown; then
23377 cat >>confdefs.h <<\_ACEOF
23378 #define HAVE_FSEEKO 1
23383 if test "$ac_cv_sys_largefile_source" != no; then
23384 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23388 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23389 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23390 if test "${ac_cv_c_bigendian+set}" = set; then
23391 echo $ECHO_N "(cached) $ECHO_C" >&6
23393 ac_cv_c_bigendian=unknown
23394 # See if sys/param.h defines the BYTE_ORDER macro.
23395 cat >conftest.$ac_ext <<_ACEOF
23398 cat confdefs.h >>conftest.$ac_ext
23399 cat >>conftest.$ac_ext <<_ACEOF
23400 /* end confdefs.h. */
23401 #include <sys/types.h>
23402 #include <sys/param.h>
23407 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23408 bogus endian macros
23414 rm -f conftest.$ac_objext
23415 if { (ac_try="$ac_compile"
23416 case "(($ac_try" in
23417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23418 *) ac_try_echo=$ac_try;;
23420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23421 (eval "$ac_compile") 2>conftest.er1
23423 grep -v '^
*+' conftest.er1 >conftest.err
23425 cat conftest.err >&5
23426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23427 (exit $ac_status); } && {
23428 test -z "$ac_c_werror_flag" ||
23429 test ! -s conftest.err
23430 } && test -s conftest.$ac_objext; then
23431 # It does; now see whether it defined to BIG_ENDIAN or not.
23432 cat >conftest.$ac_ext <<_ACEOF
23435 cat confdefs.h >>conftest.$ac_ext
23436 cat >>conftest.$ac_ext <<_ACEOF
23437 /* end confdefs.h. */
23438 #include <sys/types.h>
23439 #include <sys/param.h>
23444 #if BYTE_ORDER != BIG_ENDIAN
23451 rm -f conftest.$ac_objext
23452 if { (ac_try="$ac_compile"
23453 case "(($ac_try" in
23454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23455 *) ac_try_echo=$ac_try;;
23457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23458 (eval "$ac_compile") 2>conftest.er1
23460 grep -v '^
*+' conftest.er1 >conftest.err
23462 cat conftest.err >&5
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); } && {
23465 test -z "$ac_c_werror_flag" ||
23466 test ! -s conftest.err
23467 } && test -s conftest.$ac_objext; then
23468 ac_cv_c_bigendian=yes
23470 echo "$as_me: failed program was:" >&5
23471 sed 's
/^
/| /' conftest.$ac_ext >&5
23473 ac_cv_c_bigendian=no
23476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23478 echo "$as_me: failed program was:" >&5
23479 sed 's
/^
/| /' conftest.$ac_ext >&5
23484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23485 if test $ac_cv_c_bigendian = unknown; then
23486 if test "$cross_compiling" = yes; then
23487 ac_cv_c_bigendian=unknown
23489 cat >conftest.$ac_ext <<_ACEOF
23492 cat confdefs.h >>conftest.$ac_ext
23493 cat >>conftest.$ac_ext <<_ACEOF
23494 /* end confdefs.h. */
23496 /* Are we little or big endian? From Harbison&Steele. */
23500 char c[sizeof (long)];
23503 exit (u.c[sizeof (long) - 1] == 1);
23506 rm -f conftest$ac_exeext
23507 if { (ac_try="$ac_link"
23508 case "(($ac_try" in
23509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23510 *) ac_try_echo=$ac_try;;
23512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23513 (eval "$ac_link") 2>&5
23515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23516 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23517 { (case "(($ac_try" in
23518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23519 *) ac_try_echo=$ac_try;;
23521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23522 (eval "$ac_try") 2>&5
23524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525 (exit $ac_status); }; }; then
23526 ac_cv_c_bigendian=no
23528 echo "$as_me: program exited with status $ac_status" >&5
23529 echo "$as_me: failed program was:" >&5
23530 sed 's
/^
/| /' conftest.$ac_ext >&5
23532 ( exit $ac_status )
23533 ac_cv_c_bigendian=yes
23535 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23541 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23542 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23543 if test $ac_cv_c_bigendian = unknown; then
23544 { 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
23545 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;}
23547 if test $ac_cv_c_bigendian = yes; then
23548 cat >>confdefs.h <<\_ACEOF
23549 #define WORDS_BIGENDIAN 1
23558 ac_cpp='$CXXCPP $CPPFLAGS'
23559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23560 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23565 for ac_header in iostream
23567 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23568 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23570 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23571 echo $ECHO_N "(cached) $ECHO_C" >&6
23573 cat >conftest.$ac_ext <<_ACEOF
23576 cat confdefs.h >>conftest.$ac_ext
23577 cat >>conftest.$ac_ext <<_ACEOF
23578 /* end confdefs.h. */
23581 #include <$ac_header>
23583 rm -f conftest.$ac_objext
23584 if { (ac_try="$ac_compile"
23585 case "(($ac_try" in
23586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23587 *) ac_try_echo=$ac_try;;
23589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23590 (eval "$ac_compile") 2>conftest.er1
23592 grep -v '^
*+' conftest.er1 >conftest.err
23594 cat conftest.err >&5
23595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23596 (exit $ac_status); } && {
23597 test -z "$ac_cxx_werror_flag" ||
23598 test ! -s conftest.err
23599 } && test -s conftest.$ac_objext; then
23600 eval "$as_ac_Header=yes"
23602 echo "$as_me: failed program was:" >&5
23603 sed 's
/^
/| /' conftest.$ac_ext >&5
23605 eval "$as_ac_Header=no"
23608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23610 ac_res=`eval echo '${'$as_ac_Header'}'`
23611 { echo "$as_me:$LINENO: result: $ac_res" >&5
23612 echo "${ECHO_T}$ac_res" >&6; }
23613 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23614 cat >>confdefs.h <<_ACEOF
23615 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23623 if test "$ac_cv_header_iostream" = "yes" ; then
23626 cat >>confdefs.h <<\_ACEOF
23627 #define wxUSE_IOSTREAMH 1
23633 ac_cpp='$CPP $CPPFLAGS'
23634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23635 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23641 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23642 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23643 if test "${wx_cv_cpp_bool+set}" = set; then
23644 echo $ECHO_N "(cached) $ECHO_C" >&6
23649 ac_cpp='$CXXCPP $CPPFLAGS'
23650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23651 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23655 cat >conftest.$ac_ext <<_ACEOF
23658 cat confdefs.h >>conftest.$ac_ext
23659 cat >>conftest.$ac_ext <<_ACEOF
23660 /* end confdefs.h. */
23675 rm -f conftest.$ac_objext
23676 if { (ac_try="$ac_compile"
23677 case "(($ac_try" in
23678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23679 *) ac_try_echo=$ac_try;;
23681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23682 (eval "$ac_compile") 2>conftest.er1
23684 grep -v '^
*+' conftest.er1 >conftest.err
23686 cat conftest.err >&5
23687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688 (exit $ac_status); } && {
23689 test -z "$ac_cxx_werror_flag" ||
23690 test ! -s conftest.err
23691 } && test -s conftest.$ac_objext; then
23696 echo "$as_me: failed program was:" >&5
23697 sed 's
/^
/| /' conftest.$ac_ext >&5
23705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23708 ac_cpp='$CPP $CPPFLAGS'
23709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23710 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23715 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23716 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23718 if test "$wx_cv_cpp_bool" = "yes"; then
23719 cat >>confdefs.h <<\_ACEOF
23720 #define HAVE_BOOL 1
23727 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23728 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23729 if test "${wx_cv_explicit+set}" = set; then
23730 echo $ECHO_N "(cached) $ECHO_C" >&6
23735 ac_cpp='$CXXCPP $CPPFLAGS'
23736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23737 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23741 cat >conftest.$ac_ext <<_ACEOF
23744 cat confdefs.h >>conftest.$ac_ext
23745 cat >>conftest.$ac_ext <<_ACEOF
23746 /* end confdefs.h. */
23748 class Foo { public: explicit Foo(int) {} };
23760 rm -f conftest.$ac_objext
23761 if { (ac_try="$ac_compile"
23762 case "(($ac_try" in
23763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23764 *) ac_try_echo=$ac_try;;
23766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23767 (eval "$ac_compile") 2>conftest.er1
23769 grep -v '^
*+' conftest.er1 >conftest.err
23771 cat conftest.err >&5
23772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23773 (exit $ac_status); } && {
23774 test -z "$ac_cxx_werror_flag" ||
23775 test ! -s conftest.err
23776 } && test -s conftest.$ac_objext; then
23778 cat >conftest.$ac_ext <<_ACEOF
23781 cat confdefs.h >>conftest.$ac_ext
23782 cat >>conftest.$ac_ext <<_ACEOF
23783 /* end confdefs.h. */
23785 class Foo { public: explicit Foo(int) {} };
23786 static void TakeFoo(const Foo& foo) { }
23799 rm -f conftest.$ac_objext
23800 if { (ac_try="$ac_compile"
23801 case "(($ac_try" in
23802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23803 *) ac_try_echo=$ac_try;;
23805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23806 (eval "$ac_compile") 2>conftest.er1
23808 grep -v '^
*+' conftest.er1 >conftest.err
23810 cat conftest.err >&5
23811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23812 (exit $ac_status); } && {
23813 test -z "$ac_cxx_werror_flag" ||
23814 test ! -s conftest.err
23815 } && test -s conftest.$ac_objext; then
23818 echo "$as_me: failed program was:" >&5
23819 sed 's
/^
/| /' conftest.$ac_ext >&5
23825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23828 echo "$as_me: failed program was:" >&5
23829 sed 's
/^
/| /' conftest.$ac_ext >&5
23835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23838 ac_cpp='$CPP $CPPFLAGS'
23839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23840 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23845 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23846 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23848 if test "$wx_cv_explicit" = "yes"; then
23849 cat >>confdefs.h <<\_ACEOF
23850 #define HAVE_EXPLICIT 1
23856 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23857 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23858 if test "${ac_cv_cxx_const_cast+set}" = set; then
23859 echo $ECHO_N "(cached) $ECHO_C" >&6
23863 ac_cpp='$CXXCPP $CPPFLAGS'
23864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23865 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23868 cat >conftest.$ac_ext <<_ACEOF
23871 cat confdefs.h >>conftest.$ac_ext
23872 cat >>conftest.$ac_ext <<_ACEOF
23873 /* end confdefs.h. */
23878 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23883 rm -f conftest.$ac_objext
23884 if { (ac_try="$ac_compile"
23885 case "(($ac_try" in
23886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23887 *) ac_try_echo=$ac_try;;
23889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23890 (eval "$ac_compile") 2>conftest.er1
23892 grep -v '^
*+' conftest.er1 >conftest.err
23894 cat conftest.err >&5
23895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23896 (exit $ac_status); } && {
23897 test -z "$ac_cxx_werror_flag" ||
23898 test ! -s conftest.err
23899 } && test -s conftest.$ac_objext; then
23900 ac_cv_cxx_const_cast=yes
23902 echo "$as_me: failed program was:" >&5
23903 sed 's
/^
/| /' conftest.$ac_ext >&5
23905 ac_cv_cxx_const_cast=no
23908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23910 ac_cpp='$CPP $CPPFLAGS'
23911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23912 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23917 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23918 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23919 if test "$ac_cv_cxx_const_cast" = yes; then
23921 cat >>confdefs.h <<\_ACEOF
23922 #define HAVE_CONST_CAST
23927 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23928 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23929 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23930 echo $ECHO_N "(cached) $ECHO_C" >&6
23934 ac_cpp='$CXXCPP $CPPFLAGS'
23935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23936 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23939 cat >conftest.$ac_ext <<_ACEOF
23942 cat confdefs.h >>conftest.$ac_ext
23943 cat >>conftest.$ac_ext <<_ACEOF
23944 /* end confdefs.h. */
23945 #include <typeinfo>
23946 class Base { public : Base () {} virtual void f () = 0;};
23947 class Derived : public Base { public : Derived () {} virtual void f () {} };
23948 class Unrelated { public : Unrelated () {} };
23949 int g (Unrelated&) { return 0; }
23954 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23959 rm -f conftest.$ac_objext
23960 if { (ac_try="$ac_compile"
23961 case "(($ac_try" in
23962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23963 *) ac_try_echo=$ac_try;;
23965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23966 (eval "$ac_compile") 2>conftest.er1
23968 grep -v '^
*+' conftest.er1 >conftest.err
23970 cat conftest.err >&5
23971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23972 (exit $ac_status); } && {
23973 test -z "$ac_cxx_werror_flag" ||
23974 test ! -s conftest.err
23975 } && test -s conftest.$ac_objext; then
23976 ac_cv_cxx_reinterpret_cast=yes
23978 echo "$as_me: failed program was:" >&5
23979 sed 's
/^
/| /' conftest.$ac_ext >&5
23981 ac_cv_cxx_reinterpret_cast=no
23984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23986 ac_cpp='$CPP $CPPFLAGS'
23987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23988 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23993 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23994 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23995 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23997 cat >>confdefs.h <<\_ACEOF
23998 #define HAVE_REINTERPRET_CAST
24003 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24004 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24005 if test "${ac_cv_cxx_static_cast+set}" = set; then
24006 echo $ECHO_N "(cached) $ECHO_C" >&6
24010 ac_cpp='$CXXCPP $CPPFLAGS'
24011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24012 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24015 cat >conftest.$ac_ext <<_ACEOF
24018 cat confdefs.h >>conftest.$ac_ext
24019 cat >>conftest.$ac_ext <<_ACEOF
24020 /* end confdefs.h. */
24021 #include <typeinfo>
24022 class Base { public : Base () {} virtual void f () = 0; };
24023 class Derived : public Base { public : Derived () {} virtual void f () {} };
24024 int g (Derived&) { return 0; }
24029 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24034 rm -f conftest.$ac_objext
24035 if { (ac_try="$ac_compile"
24036 case "(($ac_try" in
24037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24038 *) ac_try_echo=$ac_try;;
24040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24041 (eval "$ac_compile") 2>conftest.er1
24043 grep -v '^
*+' conftest.er1 >conftest.err
24045 cat conftest.err >&5
24046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24047 (exit $ac_status); } && {
24048 test -z "$ac_cxx_werror_flag" ||
24049 test ! -s conftest.err
24050 } && test -s conftest.$ac_objext; then
24051 ac_cv_cxx_static_cast=yes
24053 echo "$as_me: failed program was:" >&5
24054 sed 's
/^
/| /' conftest.$ac_ext >&5
24056 ac_cv_cxx_static_cast=no
24059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24061 ac_cpp='$CPP $CPPFLAGS'
24062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24063 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24068 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24069 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24070 if test "$ac_cv_cxx_static_cast" = yes; then
24072 cat >>confdefs.h <<\_ACEOF
24073 #define HAVE_STATIC_CAST
24079 if test "x$SUNCXX" = xyes; then
24080 CXXFLAGS="-features=tmplife $CXXFLAGS"
24083 if test "x$SUNCC" = xyes; then
24084 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24087 if test "x$SGICC" = "xyes"; then
24088 CFLAGS="-woff 3970 $CFLAGS"
24090 if test "x$SGICXX" = "xyes"; then
24091 CXXFLAGS="-woff 3970 $CXXFLAGS"
24094 if test "x$HPCC" = "xyes"; then
24095 CFLAGS="+W 2011,2450 $CFLAGS"
24097 if test "x$HPCXX" = "xyes"; then
24098 CXXFLAGS="+W 2340 $CXXFLAGS"
24101 if test "x$COMPAQCXX" = "xyes"; then
24102 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24106 ac_cpp='$CXXCPP $CPPFLAGS'
24107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24108 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24112 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24113 if test "$wxUSE_UNICODE" = "yes"; then
24114 std_string="std::wstring"
24115 char_type="wchar_t"
24117 std_string="std::string"
24121 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24122 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24123 if test "${wx_cv_class_stdstring+set}" = set; then
24124 echo $ECHO_N "(cached) $ECHO_C" >&6
24127 cat >conftest.$ac_ext <<_ACEOF
24130 cat confdefs.h >>conftest.$ac_ext
24131 cat >>conftest.$ac_ext <<_ACEOF
24132 /* end confdefs.h. */
24142 rm -f conftest.$ac_objext
24143 if { (ac_try="$ac_compile"
24144 case "(($ac_try" in
24145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24146 *) ac_try_echo=$ac_try;;
24148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24149 (eval "$ac_compile") 2>conftest.er1
24151 grep -v '^
*+' conftest.er1 >conftest.err
24153 cat conftest.err >&5
24154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24155 (exit $ac_status); } && {
24156 test -z "$ac_cxx_werror_flag" ||
24157 test ! -s conftest.err
24158 } && test -s conftest.$ac_objext; then
24159 wx_cv_class_stdstring=yes
24161 echo "$as_me: failed program was:" >&5
24162 sed 's
/^
/| /' conftest.$ac_ext >&5
24164 wx_cv_class_stdstring=no
24168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24172 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24173 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24175 if test "$wx_cv_class_stdstring" = yes; then
24176 if test "$wxUSE_UNICODE" = "yes"; then
24177 cat >>confdefs.h <<\_ACEOF
24178 #define HAVE_STD_WSTRING 1
24183 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24184 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24185 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24186 echo $ECHO_N "(cached) $ECHO_C" >&6
24189 cat >conftest.$ac_ext <<_ACEOF
24192 cat confdefs.h >>conftest.$ac_ext
24193 cat >>conftest.$ac_ext <<_ACEOF
24194 /* end confdefs.h. */
24196 #ifdef HAVE_WCHAR_H
24198 # include <stddef.h>
24200 # include <wchar.h>
24202 #ifdef HAVE_STDLIB_H
24203 # include <stdlib.h>
24211 std::basic_string<$char_type> foo;
24212 const $char_type* dummy = foo.c_str();
24217 rm -f conftest.$ac_objext
24218 if { (ac_try="$ac_compile"
24219 case "(($ac_try" in
24220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24221 *) ac_try_echo=$ac_try;;
24223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24224 (eval "$ac_compile") 2>conftest.er1
24226 grep -v '^
*+' conftest.er1 >conftest.err
24228 cat conftest.err >&5
24229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24230 (exit $ac_status); } && {
24231 test -z "$ac_cxx_werror_flag" ||
24232 test ! -s conftest.err
24233 } && test -s conftest.$ac_objext; then
24234 wx_cv_class_stdbasicstring=yes
24236 echo "$as_me: failed program was:" >&5
24237 sed 's
/^
/| /' conftest.$ac_ext >&5
24239 wx_cv_class_stdbasicstring=no
24243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24247 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24248 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24250 if test "$wx_cv_class_stdbasicstring" != yes; then
24251 if test "$wxUSE_STL" = "yes"; then
24252 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24253 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24254 { (exit 1); exit 1; }; }
24255 elif test "$wxUSE_STD_STRING" = "yes"; then
24256 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24257 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24258 { (exit 1); exit 1; }; }
24260 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24261 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24262 wxUSE_STD_STRING=no
24268 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24269 { echo "$as_me:$LINENO: checking for std::istream" >&5
24270 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24271 if test "${ac_cv_type_std__istream+set}" = set; then
24272 echo $ECHO_N "(cached) $ECHO_C" >&6
24274 cat >conftest.$ac_ext <<_ACEOF
24277 cat confdefs.h >>conftest.$ac_ext
24278 cat >>conftest.$ac_ext <<_ACEOF
24279 /* end confdefs.h. */
24280 #include <iostream>
24282 typedef std::istream ac__type_new_;
24286 if ((ac__type_new_ *) 0)
24288 if (sizeof (ac__type_new_))
24294 rm -f conftest.$ac_objext
24295 if { (ac_try="$ac_compile"
24296 case "(($ac_try" in
24297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24298 *) ac_try_echo=$ac_try;;
24300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24301 (eval "$ac_compile") 2>conftest.er1
24303 grep -v '^
*+' conftest.er1 >conftest.err
24305 cat conftest.err >&5
24306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24307 (exit $ac_status); } && {
24308 test -z "$ac_cxx_werror_flag" ||
24309 test ! -s conftest.err
24310 } && test -s conftest.$ac_objext; then
24311 ac_cv_type_std__istream=yes
24313 echo "$as_me: failed program was:" >&5
24314 sed 's
/^
/| /' conftest.$ac_ext >&5
24316 ac_cv_type_std__istream=no
24319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24321 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24322 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24323 if test $ac_cv_type_std__istream = yes; then
24325 cat >>confdefs.h <<_ACEOF
24326 #define HAVE_STD__ISTREAM 1
24331 wxUSE_STD_IOSTREAM=no
24333 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24334 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24335 if test "${ac_cv_type_std__ostream+set}" = set; then
24336 echo $ECHO_N "(cached) $ECHO_C" >&6
24338 cat >conftest.$ac_ext <<_ACEOF
24341 cat confdefs.h >>conftest.$ac_ext
24342 cat >>conftest.$ac_ext <<_ACEOF
24343 /* end confdefs.h. */
24344 #include <iostream>
24346 typedef std::ostream ac__type_new_;
24350 if ((ac__type_new_ *) 0)
24352 if (sizeof (ac__type_new_))
24358 rm -f conftest.$ac_objext
24359 if { (ac_try="$ac_compile"
24360 case "(($ac_try" in
24361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24362 *) ac_try_echo=$ac_try;;
24364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24365 (eval "$ac_compile") 2>conftest.er1
24367 grep -v '^
*+' conftest.er1 >conftest.err
24369 cat conftest.err >&5
24370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24371 (exit $ac_status); } && {
24372 test -z "$ac_cxx_werror_flag" ||
24373 test ! -s conftest.err
24374 } && test -s conftest.$ac_objext; then
24375 ac_cv_type_std__ostream=yes
24377 echo "$as_me: failed program was:" >&5
24378 sed 's
/^
/| /' conftest.$ac_ext >&5
24380 ac_cv_type_std__ostream=no
24383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24385 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24386 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24387 if test $ac_cv_type_std__ostream = yes; then
24389 cat >>confdefs.h <<_ACEOF
24390 #define HAVE_STD__OSTREAM 1
24395 wxUSE_STD_IOSTREAM=no
24399 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24400 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24401 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24402 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24403 { (exit 1); exit 1; }; }
24405 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24406 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24411 if test "$wxUSE_STL" = "yes"; then
24412 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24413 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24414 if test "${wx_cv_lib_stl+set}" = set; then
24415 echo $ECHO_N "(cached) $ECHO_C" >&6
24417 cat >conftest.$ac_ext <<_ACEOF
24420 cat confdefs.h >>conftest.$ac_ext
24421 cat >>conftest.$ac_ext <<_ACEOF
24422 /* end confdefs.h. */
24424 #include <functional>
24425 #include <algorithm>
24431 std::vector<int> moo;
24432 std::list<int> foo;
24433 std::vector<int>::iterator it =
24434 std::find_if(moo.begin(), moo.end(),
24435 std::bind2nd(std::less<int>(), 3));
24440 rm -f conftest.$ac_objext
24441 if { (ac_try="$ac_compile"
24442 case "(($ac_try" in
24443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24444 *) ac_try_echo=$ac_try;;
24446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24447 (eval "$ac_compile") 2>conftest.er1
24449 grep -v '^
*+' conftest.er1 >conftest.err
24451 cat conftest.err >&5
24452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24453 (exit $ac_status); } && {
24454 test -z "$ac_cxx_werror_flag" ||
24455 test ! -s conftest.err
24456 } && test -s conftest.$ac_objext; then
24459 echo "$as_me: failed program was:" >&5
24460 sed 's
/^
/| /' conftest.$ac_ext >&5
24466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24469 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24470 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24472 if test "$wx_cv_lib_stl" != yes; then
24473 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24474 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24475 { (exit 1); exit 1; }; }
24478 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24479 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24480 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24481 echo $ECHO_N "(cached) $ECHO_C" >&6
24483 cat >conftest.$ac_ext <<_ACEOF
24486 cat confdefs.h >>conftest.$ac_ext
24487 cat >>conftest.$ac_ext <<_ACEOF
24488 /* end confdefs.h. */
24493 std::string foo, bar;
24495 foo.compare(1, 1, bar);
24496 foo.compare(1, 1, bar, 1, 1);
24498 foo.compare(1, 1, "");
24499 foo.compare(1, 1, "", 2);
24504 rm -f conftest.$ac_objext
24505 if { (ac_try="$ac_compile"
24506 case "(($ac_try" in
24507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24508 *) ac_try_echo=$ac_try;;
24510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24511 (eval "$ac_compile") 2>conftest.er1
24513 grep -v '^
*+' conftest.er1 >conftest.err
24515 cat conftest.err >&5
24516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24517 (exit $ac_status); } && {
24518 test -z "$ac_cxx_werror_flag" ||
24519 test ! -s conftest.err
24520 } && test -s conftest.$ac_objext; then
24521 wx_cv_func_stdstring_compare=yes
24523 echo "$as_me: failed program was:" >&5
24524 sed 's
/^
/| /' conftest.$ac_ext >&5
24526 wx_cv_func_stdstring_compare=no
24530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24533 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24534 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24536 if test "$wx_cv_func_stdstring_compare" = yes; then
24537 cat >>confdefs.h <<\_ACEOF
24538 #define HAVE_STD_STRING_COMPARE 1
24543 { echo "$as_me:$LINENO: checking for hash_map" >&5
24544 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24545 if test "${ac_cv_header_hash_map+set}" = set; then
24546 echo $ECHO_N "(cached) $ECHO_C" >&6
24548 cat >conftest.$ac_ext <<_ACEOF
24551 cat confdefs.h >>conftest.$ac_ext
24552 cat >>conftest.$ac_ext <<_ACEOF
24553 /* end confdefs.h. */
24557 #include <hash_map>
24559 rm -f conftest.$ac_objext
24560 if { (ac_try="$ac_compile"
24561 case "(($ac_try" in
24562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24563 *) ac_try_echo=$ac_try;;
24565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24566 (eval "$ac_compile") 2>conftest.er1
24568 grep -v '^
*+' conftest.er1 >conftest.err
24570 cat conftest.err >&5
24571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24572 (exit $ac_status); } && {
24573 test -z "$ac_cxx_werror_flag" ||
24574 test ! -s conftest.err
24575 } && test -s conftest.$ac_objext; then
24576 ac_cv_header_hash_map=yes
24578 echo "$as_me: failed program was:" >&5
24579 sed 's
/^
/| /' conftest.$ac_ext >&5
24581 ac_cv_header_hash_map=no
24584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24586 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24587 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24588 if test $ac_cv_header_hash_map = yes; then
24589 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24590 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24591 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24592 echo $ECHO_N "(cached) $ECHO_C" >&6
24594 cat >conftest.$ac_ext <<_ACEOF
24597 cat confdefs.h >>conftest.$ac_ext
24598 cat >>conftest.$ac_ext <<_ACEOF
24599 /* end confdefs.h. */
24600 #include <hash_map>
24601 #include <hash_set>
24605 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24606 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24611 rm -f conftest.$ac_objext
24612 if { (ac_try="$ac_compile"
24613 case "(($ac_try" in
24614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24615 *) ac_try_echo=$ac_try;;
24617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24618 (eval "$ac_compile") 2>conftest.er1
24620 grep -v '^
*+' conftest.er1 >conftest.err
24622 cat conftest.err >&5
24623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624 (exit $ac_status); } && {
24625 test -z "$ac_cxx_werror_flag" ||
24626 test ! -s conftest.err
24627 } && test -s conftest.$ac_objext; then
24628 wx_cv_class_stdhashmapset=yes
24630 echo "$as_me: failed program was:" >&5
24631 sed 's
/^
/| /' conftest.$ac_ext >&5
24633 wx_cv_class_stdhashmapset=no
24636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24640 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24641 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24646 if test "$wx_cv_class_stdhashmapset" = yes; then
24647 cat >>confdefs.h <<\_ACEOF
24648 #define HAVE_HASH_MAP 1
24651 cat >>confdefs.h <<\_ACEOF
24652 #define HAVE_STD_HASH_MAP 1
24657 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24658 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24659 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24660 echo $ECHO_N "(cached) $ECHO_C" >&6
24662 cat >conftest.$ac_ext <<_ACEOF
24665 cat confdefs.h >>conftest.$ac_ext
24666 cat >>conftest.$ac_ext <<_ACEOF
24667 /* end confdefs.h. */
24671 #include <ext/hash_map>
24673 rm -f conftest.$ac_objext
24674 if { (ac_try="$ac_compile"
24675 case "(($ac_try" in
24676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24677 *) ac_try_echo=$ac_try;;
24679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24680 (eval "$ac_compile") 2>conftest.er1
24682 grep -v '^
*+' conftest.er1 >conftest.err
24684 cat conftest.err >&5
24685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24686 (exit $ac_status); } && {
24687 test -z "$ac_cxx_werror_flag" ||
24688 test ! -s conftest.err
24689 } && test -s conftest.$ac_objext; then
24690 ac_cv_header_ext_hash_map=yes
24692 echo "$as_me: failed program was:" >&5
24693 sed 's
/^
/| /' conftest.$ac_ext >&5
24695 ac_cv_header_ext_hash_map=no
24698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24700 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24701 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24702 if test $ac_cv_header_ext_hash_map = yes; then
24703 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24704 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24705 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24706 echo $ECHO_N "(cached) $ECHO_C" >&6
24708 cat >conftest.$ac_ext <<_ACEOF
24711 cat confdefs.h >>conftest.$ac_ext
24712 cat >>conftest.$ac_ext <<_ACEOF
24713 /* end confdefs.h. */
24714 #include <ext/hash_map>
24715 #include <ext/hash_set>
24719 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24720 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24725 rm -f conftest.$ac_objext
24726 if { (ac_try="$ac_compile"
24727 case "(($ac_try" in
24728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24729 *) ac_try_echo=$ac_try;;
24731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24732 (eval "$ac_compile") 2>conftest.er1
24734 grep -v '^
*+' conftest.er1 >conftest.err
24736 cat conftest.err >&5
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); } && {
24739 test -z "$ac_cxx_werror_flag" ||
24740 test ! -s conftest.err
24741 } && test -s conftest.$ac_objext; then
24742 wx_cv_class_gnuhashmapset=yes
24744 echo "$as_me: failed program was:" >&5
24745 sed 's
/^
/| /' conftest.$ac_ext >&5
24747 wx_cv_class_gnuhashmapset=no
24750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24754 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24755 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24760 if test "$wx_cv_class_gnuhashmapset" = yes; then
24761 cat >>confdefs.h <<\_ACEOF
24762 #define HAVE_EXT_HASH_MAP 1
24765 cat >>confdefs.h <<\_ACEOF
24766 #define HAVE_GNU_CXX_HASH_MAP 1
24774 if test -n "$GCC"; then
24775 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
24776 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
24777 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24778 echo $ECHO_N "(cached) $ECHO_C" >&6
24781 cat >conftest.$ac_ext <<_ACEOF
24784 cat confdefs.h >>conftest.$ac_ext
24785 cat >>conftest.$ac_ext <<_ACEOF
24786 /* end confdefs.h. */
24793 __sync_fetch_and_add(&value, 1);
24794 __sync_sub_and_fetch(&value, 1);
24800 rm -f conftest.$ac_objext
24801 if { (ac_try="$ac_compile"
24802 case "(($ac_try" in
24803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24804 *) ac_try_echo=$ac_try;;
24806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24807 (eval "$ac_compile") 2>conftest.er1
24809 grep -v '^
*+' conftest.er1 >conftest.err
24811 cat conftest.err >&5
24812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24813 (exit $ac_status); } && {
24814 test -z "$ac_cxx_werror_flag" ||
24815 test ! -s conftest.err
24816 } && test -s conftest.$ac_objext; then
24817 wx_cv_cc_gcc_atomic_builtins=yes
24819 echo "$as_me: failed program was:" >&5
24820 sed 's
/^
/| /' conftest.$ac_ext >&5
24822 wx_cv_cc_gcc_atomic_builtins=no
24825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24829 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
24830 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
24831 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
24832 cat >>confdefs.h <<\_ACEOF
24833 #define HAVE_GCC_ATOMIC_BUILTINS 1
24841 ac_cpp='$CPP $CPPFLAGS'
24842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24843 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24849 /usr/local/include \
24851 /usr/Motif-2.1/include \
24852 /usr/Motif-1.2/include \
24853 /usr/include/Motif1.2 \
24856 /usr/openwin/include \
24860 /usr/X11R6/include \
24861 /usr/X11R6.4/include \
24862 /usr/X11R5/include \
24863 /usr/X11R4/include \
24865 /usr/include/X11R6 \
24866 /usr/include/X11R5 \
24867 /usr/include/X11R4 \
24869 /usr/local/X11R6/include \
24870 /usr/local/X11R5/include \
24871 /usr/local/X11R4/include \
24873 /usr/local/include/X11R6 \
24874 /usr/local/include/X11R5 \
24875 /usr/local/include/X11R4 \
24879 /usr/local/X11/include \
24880 /usr/local/include/X11 \
24882 /usr/XFree86/include/X11 \
24885 /usr/openwin/share/include"
24887 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24888 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24892 if test "${wx_cv_std_libpath+set}" = set; then
24893 echo $ECHO_N "(cached) $ECHO_C" >&6
24896 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24897 for e in a so sl dylib dll.a; do
24899 if test -f $libc; then
24902 cat >conftest.$ac_ext <<_ACEOF
24903 int main() { return 0; }
24905 rm -f conftest.$ac_objext conftest$ac_exeext
24906 if { (ac_try="$ac_link"
24907 case "(($ac_try" in
24908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24909 *) ac_try_echo=$ac_try;;
24911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24912 (eval "$ac_link") 2>conftest.er1
24914 grep -v '^
*+' conftest.er1 >conftest.err
24916 cat conftest.err >&5
24917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24918 (exit $ac_status); } && {
24919 test -z "$ac_c_werror_flag" ||
24920 test ! -s conftest.err
24921 } && test -s conftest$ac_exeext &&
24922 $as_test_x conftest$ac_exeext; then
24923 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24925 echo "$as_me: failed program was:" >&5
24926 sed 's
/^
/| /' conftest.$ac_ext >&5
24931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24932 conftest$ac_exeext conftest.$ac_ext
24934 if test "x$wx_cv_std_libpath" != "x"; then
24940 if test "x$wx_cv_std_libpath" = "x"; then
24941 wx_cv_std_libpath="lib"
24950 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24951 wx_cv_std_libpath="lib/64"
24953 wx_cv_std_libpath="lib"
24958 if test "$ac_cv_sizeof_void_p" = 8 -a \
24959 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24960 wx_cv_std_libpath="lib64"
24962 wx_cv_std_libpath="lib"
24967 wx_cv_std_libpath="lib";
24971 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24972 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24974 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24976 if test "$build" != "$host" -a "$GCC" = yes; then
24977 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24978 cross_root=`dirname $cross_root`
24979 cross_root=`dirname $cross_root`
24981 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24982 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24983 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24985 if test -z "$PKG_CONFIG_PATH"; then
24986 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24987 export PKG_CONFIG_PATH
24990 if test -z "$x_includes" -o "$x_includes" = NONE; then
24993 for ac_dir in $SEARCH_INCLUDE /usr/include;
24995 if test -f "$ac_dir/X11/Intrinsic.h"; then
24996 ac_find_includes=$ac_dir
25001 x_includes=$ac_find_includes
25003 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25006 for ac_dir in $SEARCH_LIB;
25008 for ac_extension in a so sl dylib dll.a; do
25009 if test -f "$ac_dir/libXt.$ac_extension"; then
25010 ac_find_libraries=$ac_dir
25016 x_libraries=$ac_find_libraries
25022 cat >confcache <<\_ACEOF
25023 # This file is a shell script that caches the results of configure
25024 # tests run on this system so they can be shared between configure
25025 # scripts and configure runs, see configure's option
--config-cache.
25026 # It is not useful on other systems. If it contains results you don't
25027 # want to keep, you may remove or edit it.
25029 # config.status only pays attention to the cache file if you give it
25030 # the --recheck option to rerun configure.
25032 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25033 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25034 # following values.
25038 # The following way of writing the cache mishandles newlines in values,
25039 # but we know of no workaround that is simple, portable, and efficient.
25040 # So, we kill variables containing newlines.
25041 # Ultrix sh set writes to stderr and can't be redirected directly,
25042 # and sets the high bit in the cache file unless we assign to the vars.
25044 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25045 eval ac_val
=\$
$ac_var
25049 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25050 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25053 _
| IFS
| as_nl
) ;; #(
25054 *) $as_unset $ac_var ;;
25060 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25061 *${as_nl}ac_space
=\
*)
25062 # `set' does not quote correctly, so add quotes (double-quote
25063 # substitution turns \\\\ into \\, and sed turns \\ into \).
25066 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25069 # `set' quotes correctly as required by POSIX, so do not add quotes.
25070 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25079 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25081 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25083 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25084 if test -w "$cache_file"; then
25085 test "x$cache_file" != "x/dev/null" &&
25086 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25087 echo "$as_me: updating cache $cache_file" >&6;}
25088 cat confcache
>$cache_file
25090 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25091 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25096 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25097 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25098 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25099 if test "${wx_cv_lib_glibc21+set}" = set; then
25100 echo $ECHO_N "(cached) $ECHO_C" >&6
25103 cat >conftest.
$ac_ext <<_ACEOF
25106 cat confdefs.h
>>conftest.
$ac_ext
25107 cat >>conftest.
$ac_ext <<_ACEOF
25108 /* end confdefs.h. */
25109 #include <features.h>
25114 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25122 rm -f conftest.
$ac_objext
25123 if { (ac_try
="$ac_compile"
25124 case "(($ac_try" in
25125 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25126 *) ac_try_echo=$ac_try;;
25128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25129 (eval "$ac_compile") 2>conftest.er1
25131 grep -v '^ *+' conftest.er1 >conftest.err
25133 cat conftest.err >&5
25134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25135 (exit $ac_status); } && {
25136 test -z "$ac_c_werror_flag" ||
25137 test ! -s conftest.err
25138 } && test -s conftest.$ac_objext; then
25140 wx_cv_lib_glibc21=yes
25143 echo "$as_me: failed program was:" >&5
25144 sed 's/^/| /' conftest.$ac_ext >&5
25147 wx_cv_lib_glibc21=no
25152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25155 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25156 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25157 if test "$wx_cv_lib_glibc21" = "yes"; then
25158 cat >>confdefs.h <<\_ACEOF
25159 #define wxHAVE_GLIBC2 1
25165 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25166 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25167 cat >>confdefs.h <<\_ACEOF
25168 #define _GNU_SOURCE 1
25179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25180 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25182 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25183 echo $ECHO_N "(cached) $ECHO_C" >&6
25185 cat >conftest.$ac_ext <<_ACEOF
25188 cat confdefs.h >>conftest.$ac_ext
25189 cat >>conftest.$ac_ext <<_ACEOF
25190 /* end confdefs.h. */
25191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25193 #define $ac_func innocuous_$ac_func
25195 /* System header to define __stub macros and hopefully few prototypes,
25196 which can conflict with char $ac_func (); below.
25197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25198 <limits.h> exists even on freestanding compilers. */
25201 # include <limits.h>
25203 # include <assert.h>
25208 /* Override any GCC internal prototype to avoid an error.
25209 Use char because int might match the return type of a GCC
25210 builtin and then its argument prototype would still apply. */
25215 /* The GNU C library defines this for functions which it implements
25216 to always fail with ENOSYS. Some functions are actually named
25217 something starting with __ and the normal name is an alias. */
25218 #if defined __stub_$ac_func || defined __stub___$ac_func
25225 return $ac_func ();
25230 rm -f conftest.$ac_objext conftest$ac_exeext
25231 if { (ac_try="$ac_link"
25232 case "(($ac_try" in
25233 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25234 *) ac_try_echo
=$ac_try;;
25236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25237 (eval "$ac_link") 2>conftest.er1
25239 grep -v '^ *+' conftest.er1
>conftest.err
25241 cat conftest.err
>&5
25242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25243 (exit $ac_status); } && {
25244 test -z "$ac_c_werror_flag" ||
25245 test ! -s conftest.err
25246 } && test -s conftest
$ac_exeext &&
25247 $as_test_x conftest
$ac_exeext; then
25248 eval "$as_ac_var=yes"
25250 echo "$as_me: failed program was:" >&5
25251 sed 's/^/| /' conftest.
$ac_ext >&5
25253 eval "$as_ac_var=no"
25256 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25257 conftest
$ac_exeext conftest.
$ac_ext
25259 ac_res
=`eval echo '${'$as_ac_var'}'`
25260 { echo "$as_me:$LINENO: result: $ac_res" >&5
25261 echo "${ECHO_T}$ac_res" >&6; }
25262 if test `eval echo '${'$as_ac_var'}'` = yes; then
25263 cat >>confdefs.h
<<_ACEOF
25264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25271 for ac_func
in floor
25273 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25274 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25276 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25277 echo $ECHO_N "(cached) $ECHO_C" >&6
25279 cat >conftest.
$ac_ext <<_ACEOF
25282 cat confdefs.h
>>conftest.
$ac_ext
25283 cat >>conftest.
$ac_ext <<_ACEOF
25284 /* end confdefs.h. */
25285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25287 #define $ac_func innocuous_$ac_func
25289 /* System header to define __stub macros and hopefully few prototypes,
25290 which can conflict with char $ac_func (); below.
25291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25292 <limits.h> exists even on freestanding compilers. */
25295 # include <limits.h>
25297 # include <assert.h>
25302 /* Override any GCC internal prototype to avoid an error.
25303 Use char because int might match the return type of a GCC
25304 builtin and then its argument prototype would still apply. */
25309 /* The GNU C library defines this for functions which it implements
25310 to always fail with ENOSYS. Some functions are actually named
25311 something starting with __ and the normal name is an alias. */
25312 #if defined __stub_$ac_func || defined __stub___$ac_func
25319 return $ac_func ();
25324 rm -f conftest.
$ac_objext conftest
$ac_exeext
25325 if { (ac_try
="$ac_link"
25326 case "(($ac_try" in
25327 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25328 *) ac_try_echo=$ac_try;;
25330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25331 (eval "$ac_link") 2>conftest.er1
25333 grep -v '^ *+' conftest.er1 >conftest.err
25335 cat conftest.err >&5
25336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25337 (exit $ac_status); } && {
25338 test -z "$ac_c_werror_flag" ||
25339 test ! -s conftest.err
25340 } && test -s conftest$ac_exeext &&
25341 $as_test_x conftest$ac_exeext; then
25342 eval "$as_ac_var=yes"
25344 echo "$as_me: failed program was:" >&5
25345 sed 's/^/| /' conftest.$ac_ext >&5
25347 eval "$as_ac_var=no"
25350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25351 conftest$ac_exeext conftest.$ac_ext
25353 ac_res=`eval echo '${'$as_ac_var'}'`
25354 { echo "$as_me:$LINENO: result: $ac_res" >&5
25355 echo "${ECHO_T}$ac_res" >&6; }
25356 if test `eval echo '${'$as_ac_var'}'` = yes; then
25357 cat >>confdefs.h <<_ACEOF
25358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25364 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25365 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25366 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25367 { echo "$as_me:$LINENO: result: yes" >&5
25368 echo "${ECHO_T}yes" >&6; }
25370 { echo "$as_me:$LINENO: result: no" >&5
25371 echo "${ECHO_T}no" >&6; }
25373 # use different functions to avoid configure caching
25379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25380 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25382 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25383 echo $ECHO_N "(cached) $ECHO_C" >&6
25385 cat >conftest.$ac_ext <<_ACEOF
25388 cat confdefs.h >>conftest.$ac_ext
25389 cat >>conftest.$ac_ext <<_ACEOF
25390 /* end confdefs.h. */
25391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25393 #define $ac_func innocuous_$ac_func
25395 /* System header to define __stub macros and hopefully few prototypes,
25396 which can conflict with char $ac_func (); below.
25397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25398 <limits.h> exists even on freestanding compilers. */
25401 # include <limits.h>
25403 # include <assert.h>
25408 /* Override any GCC internal prototype to avoid an error.
25409 Use char because int might match the return type of a GCC
25410 builtin and then its argument prototype would still apply. */
25415 /* The GNU C library defines this for functions which it implements
25416 to always fail with ENOSYS. Some functions are actually named
25417 something starting with __ and the normal name is an alias. */
25418 #if defined __stub_$ac_func || defined __stub___$ac_func
25425 return $ac_func ();
25430 rm -f conftest.$ac_objext conftest$ac_exeext
25431 if { (ac_try="$ac_link"
25432 case "(($ac_try" in
25433 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25434 *) ac_try_echo
=$ac_try;;
25436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25437 (eval "$ac_link") 2>conftest.er1
25439 grep -v '^ *+' conftest.er1
>conftest.err
25441 cat conftest.err
>&5
25442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25443 (exit $ac_status); } && {
25444 test -z "$ac_c_werror_flag" ||
25445 test ! -s conftest.err
25446 } && test -s conftest
$ac_exeext &&
25447 $as_test_x conftest
$ac_exeext; then
25448 eval "$as_ac_var=yes"
25450 echo "$as_me: failed program was:" >&5
25451 sed 's/^/| /' conftest.
$ac_ext >&5
25453 eval "$as_ac_var=no"
25456 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25457 conftest
$ac_exeext conftest.
$ac_ext
25459 ac_res
=`eval echo '${'$as_ac_var'}'`
25460 { echo "$as_me:$LINENO: result: $ac_res" >&5
25461 echo "${ECHO_T}$ac_res" >&6; }
25462 if test `eval echo '${'$as_ac_var'}'` = yes; then
25463 cat >>confdefs.h
<<_ACEOF
25464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25471 for ac_func
in ceil
25473 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25474 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25476 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25477 echo $ECHO_N "(cached) $ECHO_C" >&6
25479 cat >conftest.
$ac_ext <<_ACEOF
25482 cat confdefs.h
>>conftest.
$ac_ext
25483 cat >>conftest.
$ac_ext <<_ACEOF
25484 /* end confdefs.h. */
25485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25487 #define $ac_func innocuous_$ac_func
25489 /* System header to define __stub macros and hopefully few prototypes,
25490 which can conflict with char $ac_func (); below.
25491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25492 <limits.h> exists even on freestanding compilers. */
25495 # include <limits.h>
25497 # include <assert.h>
25502 /* Override any GCC internal prototype to avoid an error.
25503 Use char because int might match the return type of a GCC
25504 builtin and then its argument prototype would still apply. */
25509 /* The GNU C library defines this for functions which it implements
25510 to always fail with ENOSYS. Some functions are actually named
25511 something starting with __ and the normal name is an alias. */
25512 #if defined __stub_$ac_func || defined __stub___$ac_func
25519 return $ac_func ();
25524 rm -f conftest.
$ac_objext conftest
$ac_exeext
25525 if { (ac_try
="$ac_link"
25526 case "(($ac_try" in
25527 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25528 *) ac_try_echo=$ac_try;;
25530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25531 (eval "$ac_link") 2>conftest.er1
25533 grep -v '^ *+' conftest.er1 >conftest.err
25535 cat conftest.err >&5
25536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25537 (exit $ac_status); } && {
25538 test -z "$ac_c_werror_flag" ||
25539 test ! -s conftest.err
25540 } && test -s conftest$ac_exeext &&
25541 $as_test_x conftest$ac_exeext; then
25542 eval "$as_ac_var=yes"
25544 echo "$as_me: failed program was:" >&5
25545 sed 's/^/| /' conftest.$ac_ext >&5
25547 eval "$as_ac_var=no"
25550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25551 conftest$ac_exeext conftest.$ac_ext
25553 ac_res=`eval echo '${'$as_ac_var'}'`
25554 { echo "$as_me:$LINENO: result: $ac_res" >&5
25555 echo "${ECHO_T}$ac_res" >&6; }
25556 if test `eval echo '${'$as_ac_var'}'` = yes; then
25557 cat >>confdefs.h <<_ACEOF
25558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25564 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25565 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25566 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25567 { echo "$as_me:$LINENO: result: yes" >&5
25568 echo "${ECHO_T}yes" >&6; }
25570 { echo "$as_me:$LINENO: result: no" >&5
25571 echo "${ECHO_T}no" >&6; }
25572 # not sure we should warn the user, crash, etc.
25577 ac_cpp='$CXXCPP $CPPFLAGS'
25578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25582 if test "wxUSE_UNICODE" = "yes"; then
25584 for wx_func in wcstoull
25586 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25587 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25588 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25589 echo $ECHO_N "(cached) $ECHO_C" >&6
25592 cat >conftest.$ac_ext <<_ACEOF
25596 cat confdefs.h >>conftest.$ac_ext
25597 cat >>conftest.$ac_ext <<_ACEOF
25598 /* end confdefs.h. */
25601 $ac_includes_default
25617 rm -f conftest.$ac_objext conftest$ac_exeext
25618 if { (ac_try="$ac_link"
25619 case "(($ac_try" in
25620 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25621 *) ac_try_echo
=$ac_try;;
25623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25624 (eval "$ac_link") 2>conftest.er1
25626 grep -v '^ *+' conftest.er1
>conftest.err
25628 cat conftest.err
>&5
25629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25630 (exit $ac_status); } && {
25631 test -z "$ac_cxx_werror_flag" ||
25632 test ! -s conftest.err
25633 } && test -s conftest
$ac_exeext &&
25634 $as_test_x conftest
$ac_exeext; then
25635 eval wx_cv_func_
$wx_func=yes
25637 echo "$as_me: failed program was:" >&5
25638 sed 's/^/| /' conftest.
$ac_ext >&5
25640 eval wx_cv_func_
$wx_func=no
25643 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25644 conftest
$ac_exeext conftest.
$ac_ext
25647 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
25648 { echo "$as_me:$LINENO: result: $ac_res" >&5
25649 echo "${ECHO_T}$ac_res" >&6; }
25651 if eval test \
$wx_cv_func_$wx_func = yes
25653 cat >>confdefs.h
<<_ACEOF
25654 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25666 for wx_func
in strtoull
25668 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25669 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25670 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25671 echo $ECHO_N "(cached) $ECHO_C" >&6
25674 cat >conftest.
$ac_ext <<_ACEOF
25678 cat confdefs.h
>>conftest.
$ac_ext
25679 cat >>conftest.
$ac_ext <<_ACEOF
25680 /* end confdefs.h. */
25683 $ac_includes_default
25699 rm -f conftest.
$ac_objext conftest
$ac_exeext
25700 if { (ac_try
="$ac_link"
25701 case "(($ac_try" in
25702 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25703 *) ac_try_echo=$ac_try;;
25705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25706 (eval "$ac_link") 2>conftest.er1
25708 grep -v '^ *+' conftest.er1 >conftest.err
25710 cat conftest.err >&5
25711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25712 (exit $ac_status); } && {
25713 test -z "$ac_cxx_werror_flag" ||
25714 test ! -s conftest.err
25715 } && test -s conftest$ac_exeext &&
25716 $as_test_x conftest$ac_exeext; then
25717 eval wx_cv_func_$wx_func=yes
25719 echo "$as_me: failed program was:" >&5
25720 sed 's/^/| /' conftest.$ac_ext >&5
25722 eval wx_cv_func_$wx_func=no
25725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25726 conftest$ac_exeext conftest.$ac_ext
25729 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25730 { echo "$as_me:$LINENO: result: $ac_res" >&5
25731 echo "${ECHO_T}$ac_res" >&6; }
25733 if eval test \$wx_cv_func_$wx_func = yes
25735 cat >>confdefs.h <<_ACEOF
25736 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25748 ac_cpp='$CPP $CPPFLAGS'
25749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25756 if test "$wxUSE_REGEX" != "no"; then
25757 cat >>confdefs.h <<\_ACEOF
25758 #define wxUSE_REGEX 1
25762 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25763 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25764 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25765 wxUSE_REGEX=builtin
25768 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25769 { echo "$as_me:$LINENO: checking for regex.h" >&5
25770 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25771 if test "${ac_cv_header_regex_h+set}" = set; then
25772 echo $ECHO_N "(cached) $ECHO_C" >&6
25774 cat >conftest.$ac_ext <<_ACEOF
25777 cat confdefs.h >>conftest.$ac_ext
25778 cat >>conftest.$ac_ext <<_ACEOF
25779 /* end confdefs.h. */
25784 rm -f conftest.$ac_objext
25785 if { (ac_try="$ac_compile"
25786 case "(($ac_try" in
25787 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25788 *) ac_try_echo
=$ac_try;;
25790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25791 (eval "$ac_compile") 2>conftest.er1
25793 grep -v '^ *+' conftest.er1
>conftest.err
25795 cat conftest.err
>&5
25796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25797 (exit $ac_status); } && {
25798 test -z "$ac_c_werror_flag" ||
25799 test ! -s conftest.err
25800 } && test -s conftest.
$ac_objext; then
25801 ac_cv_header_regex_h
=yes
25803 echo "$as_me: failed program was:" >&5
25804 sed 's/^/| /' conftest.
$ac_ext >&5
25806 ac_cv_header_regex_h
=no
25809 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25811 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25812 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25813 if test $ac_cv_header_regex_h = yes; then
25816 for ac_func
in regcomp re_search
25818 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25819 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25821 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25822 echo $ECHO_N "(cached) $ECHO_C" >&6
25824 cat >conftest.
$ac_ext <<_ACEOF
25827 cat confdefs.h
>>conftest.
$ac_ext
25828 cat >>conftest.
$ac_ext <<_ACEOF
25829 /* end confdefs.h. */
25830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25832 #define $ac_func innocuous_$ac_func
25834 /* System header to define __stub macros and hopefully few prototypes,
25835 which can conflict with char $ac_func (); below.
25836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25837 <limits.h> exists even on freestanding compilers. */
25840 # include <limits.h>
25842 # include <assert.h>
25847 /* Override any GCC internal prototype to avoid an error.
25848 Use char because int might match the return type of a GCC
25849 builtin and then its argument prototype would still apply. */
25854 /* The GNU C library defines this for functions which it implements
25855 to always fail with ENOSYS. Some functions are actually named
25856 something starting with __ and the normal name is an alias. */
25857 #if defined __stub_$ac_func || defined __stub___$ac_func
25864 return $ac_func ();
25869 rm -f conftest.
$ac_objext conftest
$ac_exeext
25870 if { (ac_try
="$ac_link"
25871 case "(($ac_try" in
25872 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25873 *) ac_try_echo=$ac_try;;
25875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25876 (eval "$ac_link") 2>conftest.er1
25878 grep -v '^ *+' conftest.er1 >conftest.err
25880 cat conftest.err >&5
25881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25882 (exit $ac_status); } && {
25883 test -z "$ac_c_werror_flag" ||
25884 test ! -s conftest.err
25885 } && test -s conftest$ac_exeext &&
25886 $as_test_x conftest$ac_exeext; then
25887 eval "$as_ac_var=yes"
25889 echo "$as_me: failed program was:" >&5
25890 sed 's/^/| /' conftest.$ac_ext >&5
25892 eval "$as_ac_var=no"
25895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25896 conftest$ac_exeext conftest.$ac_ext
25898 ac_res=`eval echo '${'$as_ac_var'}'`
25899 { echo "$as_me:$LINENO: result: $ac_res" >&5
25900 echo "${ECHO_T}$ac_res" >&6; }
25901 if test `eval echo '${'$as_ac_var'}'` = yes; then
25902 cat >>confdefs.h <<_ACEOF
25903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25913 if test "x$ac_cv_func_regcomp" != "xyes"; then
25914 if test "$wxUSE_REGEX" = "sys" ; then
25915 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25916 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25917 { (exit 1); exit 1; }; }
25919 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25920 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25921 wxUSE_REGEX=builtin
25925 cat >>confdefs.h <<\_ACEOF
25926 #define WX_NO_REGEX_ADVANCED 1
25935 if test "$wxUSE_ZLIB" != "no" ; then
25936 cat >>confdefs.h <<\_ACEOF
25937 #define wxUSE_ZLIB 1
25941 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25942 if test "$USE_DARWIN" = 1; then
25943 system_zlib_h_ok="yes"
25945 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25946 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25947 if test "${ac_cv_header_zlib_h+set}" = set; then
25948 echo $ECHO_N "(cached) $ECHO_C" >&6
25950 if test "$cross_compiling" = yes; then
25951 unset ac_cv_header_zlib_h
25954 cat >conftest.$ac_ext <<_ACEOF
25957 cat confdefs.h >>conftest.$ac_ext
25958 cat >>conftest.$ac_ext <<_ACEOF
25959 /* end confdefs.h. */
25966 FILE *f=fopen("conftestval", "w");
25969 ZLIB_VERSION[0] == '1' &&
25970 (ZLIB_VERSION[2] > '1' ||
25971 (ZLIB_VERSION[2] == '1' &&
25972 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25977 rm -f conftest$ac_exeext
25978 if { (ac_try="$ac_link"
25979 case "(($ac_try" in
25980 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25981 *) ac_try_echo
=$ac_try;;
25983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25984 (eval "$ac_link") 2>&5
25986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25987 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25988 { (case "(($ac_try" in
25989 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25990 *) ac_try_echo=$ac_try;;
25992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25993 (eval "$ac_try") 2>&5
25995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25996 (exit $ac_status); }; }; then
25997 ac_cv_header_zlib_h=`cat conftestval
`
25999 echo "$as_me: program exited with status $ac_status" >&5
26000 echo "$as_me: failed program was:" >&5
26001 sed 's/^/| /' conftest.$ac_ext >&5
26003 ( exit $ac_status )
26004 ac_cv_header_zlib_h=no
26006 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26012 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26013 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26014 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26015 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26016 if test "${ac_cv_header_zlib_h+set}" = set; then
26017 echo $ECHO_N "(cached) $ECHO_C" >&6
26019 cat >conftest.$ac_ext <<_ACEOF
26022 cat confdefs.h >>conftest.$ac_ext
26023 cat >>conftest.$ac_ext <<_ACEOF
26024 /* end confdefs.h. */
26029 rm -f conftest.$ac_objext
26030 if { (ac_try="$ac_compile"
26031 case "(($ac_try" in
26032 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26033 *) ac_try_echo
=$ac_try;;
26035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26036 (eval "$ac_compile") 2>conftest.er1
26038 grep -v '^ *+' conftest.er1
>conftest.err
26040 cat conftest.err
>&5
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } && {
26043 test -z "$ac_c_werror_flag" ||
26044 test ! -s conftest.err
26045 } && test -s conftest.
$ac_objext; then
26046 ac_cv_header_zlib_h
=yes
26048 echo "$as_me: failed program was:" >&5
26049 sed 's/^/| /' conftest.
$ac_ext >&5
26051 ac_cv_header_zlib_h
=no
26054 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26056 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26057 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26061 system_zlib_h_ok
=$ac_cv_header_zlib_h
26064 if test "$system_zlib_h_ok" = "yes"; then
26065 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26066 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26067 if test "${ac_cv_lib_z_deflate+set}" = set; then
26068 echo $ECHO_N "(cached) $ECHO_C" >&6
26070 ac_check_lib_save_LIBS
=$LIBS
26072 cat >conftest.
$ac_ext <<_ACEOF
26075 cat confdefs.h
>>conftest.
$ac_ext
26076 cat >>conftest.
$ac_ext <<_ACEOF
26077 /* end confdefs.h. */
26079 /* Override any GCC internal prototype to avoid an error.
26080 Use char because int might match the return type of a GCC
26081 builtin and then its argument prototype would still apply. */
26094 rm -f conftest.
$ac_objext conftest
$ac_exeext
26095 if { (ac_try
="$ac_link"
26096 case "(($ac_try" in
26097 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26098 *) ac_try_echo=$ac_try;;
26100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26101 (eval "$ac_link") 2>conftest.er1
26103 grep -v '^ *+' conftest.er1 >conftest.err
26105 cat conftest.err >&5
26106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26107 (exit $ac_status); } && {
26108 test -z "$ac_c_werror_flag" ||
26109 test ! -s conftest.err
26110 } && test -s conftest$ac_exeext &&
26111 $as_test_x conftest$ac_exeext; then
26112 ac_cv_lib_z_deflate=yes
26114 echo "$as_me: failed program was:" >&5
26115 sed 's/^/| /' conftest.$ac_ext >&5
26117 ac_cv_lib_z_deflate=no
26120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26121 conftest$ac_exeext conftest.$ac_ext
26122 LIBS=$ac_check_lib_save_LIBS
26124 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26125 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26126 if test $ac_cv_lib_z_deflate = yes; then
26132 if test "x$ZLIB_LINK" = "x" ; then
26133 if test "$wxUSE_ZLIB" = "sys" ; then
26134 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26135 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26136 { (exit 1); exit 1; }; }
26138 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26139 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26150 if test "$wxUSE_LIBPNG" != "no" ; then
26151 cat >>confdefs.h <<\_ACEOF
26152 #define wxUSE_LIBPNG 1
26156 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26157 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26158 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26162 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26163 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26164 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26165 wxUSE_LIBPNG=builtin
26168 if test "$wxUSE_MGL" != 1 ; then
26169 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26170 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26171 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26172 if test "${ac_cv_header_png_h+set}" = set; then
26173 echo $ECHO_N "(cached) $ECHO_C" >&6
26175 if test "$cross_compiling" = yes; then
26176 unset ac_cv_header_png_h
26179 cat >conftest.$ac_ext <<_ACEOF
26182 cat confdefs.h >>conftest.$ac_ext
26183 cat >>conftest.$ac_ext <<_ACEOF
26184 /* end confdefs.h. */
26191 FILE *f=fopen("conftestval", "w");
26194 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26199 rm -f conftest$ac_exeext
26200 if { (ac_try="$ac_link"
26201 case "(($ac_try" in
26202 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26203 *) ac_try_echo
=$ac_try;;
26205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26206 (eval "$ac_link") 2>&5
26208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26209 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26210 { (case "(($ac_try" in
26211 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26212 *) ac_try_echo=$ac_try;;
26214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26215 (eval "$ac_try") 2>&5
26217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218 (exit $ac_status); }; }; then
26219 ac_cv_header_png_h=`cat conftestval
`
26221 echo "$as_me: program exited with status $ac_status" >&5
26222 echo "$as_me: failed program was:" >&5
26223 sed 's/^/| /' conftest.$ac_ext >&5
26225 ( exit $ac_status )
26226 ac_cv_header_png_h=no
26228 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26234 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26235 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26236 { echo "$as_me:$LINENO: checking for png.h" >&5
26237 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26238 if test "${ac_cv_header_png_h+set}" = set; then
26239 echo $ECHO_N "(cached) $ECHO_C" >&6
26241 cat >conftest.$ac_ext <<_ACEOF
26244 cat confdefs.h >>conftest.$ac_ext
26245 cat >>conftest.$ac_ext <<_ACEOF
26246 /* end confdefs.h. */
26251 rm -f conftest.$ac_objext
26252 if { (ac_try="$ac_compile"
26253 case "(($ac_try" in
26254 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26255 *) ac_try_echo
=$ac_try;;
26257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26258 (eval "$ac_compile") 2>conftest.er1
26260 grep -v '^ *+' conftest.er1
>conftest.err
26262 cat conftest.err
>&5
26263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26264 (exit $ac_status); } && {
26265 test -z "$ac_c_werror_flag" ||
26266 test ! -s conftest.err
26267 } && test -s conftest.
$ac_objext; then
26268 ac_cv_header_png_h
=yes
26270 echo "$as_me: failed program was:" >&5
26271 sed 's/^/| /' conftest.
$ac_ext >&5
26273 ac_cv_header_png_h
=no
26276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26278 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26279 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26283 if test "$ac_cv_header_png_h" = "yes"; then
26284 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26285 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26286 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26287 echo $ECHO_N "(cached) $ECHO_C" >&6
26289 ac_check_lib_save_LIBS
=$LIBS
26290 LIBS
="-lpng -lz -lm $LIBS"
26291 cat >conftest.
$ac_ext <<_ACEOF
26294 cat confdefs.h
>>conftest.
$ac_ext
26295 cat >>conftest.
$ac_ext <<_ACEOF
26296 /* end confdefs.h. */
26298 /* Override any GCC internal prototype to avoid an error.
26299 Use char because int might match the return type of a GCC
26300 builtin and then its argument prototype would still apply. */
26304 char png_check_sig ();
26308 return png_check_sig ();
26313 rm -f conftest.
$ac_objext conftest
$ac_exeext
26314 if { (ac_try
="$ac_link"
26315 case "(($ac_try" in
26316 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26317 *) ac_try_echo=$ac_try;;
26319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26320 (eval "$ac_link") 2>conftest.er1
26322 grep -v '^ *+' conftest.er1 >conftest.err
26324 cat conftest.err >&5
26325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26326 (exit $ac_status); } && {
26327 test -z "$ac_c_werror_flag" ||
26328 test ! -s conftest.err
26329 } && test -s conftest$ac_exeext &&
26330 $as_test_x conftest$ac_exeext; then
26331 ac_cv_lib_png_png_check_sig=yes
26333 echo "$as_me: failed program was:" >&5
26334 sed 's/^/| /' conftest.$ac_ext >&5
26336 ac_cv_lib_png_png_check_sig=no
26339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26340 conftest$ac_exeext conftest.$ac_ext
26341 LIBS=$ac_check_lib_save_LIBS
26343 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26344 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26345 if test $ac_cv_lib_png_png_check_sig = yes; then
26346 PNG_LINK=" -lpng -lz"
26351 if test "x$PNG_LINK" = "x" ; then
26352 if test "$wxUSE_LIBPNG" = "sys" ; then
26353 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26354 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26355 { (exit 1); exit 1; }; }
26357 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26358 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26359 wxUSE_LIBPNG=builtin
26370 if test "$wxUSE_LIBJPEG" != "no" ; then
26371 cat >>confdefs.h <<\_ACEOF
26372 #define wxUSE_LIBJPEG 1
26376 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26377 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26378 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26382 if test "$wxUSE_MGL" != 1 ; then
26383 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26384 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26385 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26386 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26387 echo $ECHO_N "(cached) $ECHO_C" >&6
26389 cat >conftest.$ac_ext <<_ACEOF
26392 cat confdefs.h >>conftest.$ac_ext
26393 cat >>conftest.$ac_ext <<_ACEOF
26394 /* end confdefs.h. */
26396 #undef HAVE_STDLIB_H
26398 #include <jpeglib.h>
26409 rm -f conftest.$ac_objext
26410 if { (ac_try="$ac_compile"
26411 case "(($ac_try" in
26412 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26413 *) ac_try_echo
=$ac_try;;
26415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26416 (eval "$ac_compile") 2>conftest.er1
26418 grep -v '^ *+' conftest.er1
>conftest.err
26420 cat conftest.err
>&5
26421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26422 (exit $ac_status); } && {
26423 test -z "$ac_c_werror_flag" ||
26424 test ! -s conftest.err
26425 } && test -s conftest.
$ac_objext; then
26426 ac_cv_header_jpeglib_h
=yes
26428 echo "$as_me: failed program was:" >&5
26429 sed 's/^/| /' conftest.
$ac_ext >&5
26431 ac_cv_header_jpeglib_h
=no
26435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26439 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26440 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26442 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26443 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26444 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26445 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26446 echo $ECHO_N "(cached) $ECHO_C" >&6
26448 ac_check_lib_save_LIBS
=$LIBS
26449 LIBS
="-ljpeg $LIBS"
26450 cat >conftest.
$ac_ext <<_ACEOF
26453 cat confdefs.h
>>conftest.
$ac_ext
26454 cat >>conftest.
$ac_ext <<_ACEOF
26455 /* end confdefs.h. */
26457 /* Override any GCC internal prototype to avoid an error.
26458 Use char because int might match the return type of a GCC
26459 builtin and then its argument prototype would still apply. */
26463 char jpeg_read_header ();
26467 return jpeg_read_header ();
26472 rm -f conftest.
$ac_objext conftest
$ac_exeext
26473 if { (ac_try
="$ac_link"
26474 case "(($ac_try" in
26475 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26476 *) ac_try_echo=$ac_try;;
26478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26479 (eval "$ac_link") 2>conftest.er1
26481 grep -v '^ *+' conftest.er1 >conftest.err
26483 cat conftest.err >&5
26484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26485 (exit $ac_status); } && {
26486 test -z "$ac_c_werror_flag" ||
26487 test ! -s conftest.err
26488 } && test -s conftest$ac_exeext &&
26489 $as_test_x conftest$ac_exeext; then
26490 ac_cv_lib_jpeg_jpeg_read_header=yes
26492 echo "$as_me: failed program was:" >&5
26493 sed 's/^/| /' conftest.$ac_ext >&5
26495 ac_cv_lib_jpeg_jpeg_read_header=no
26498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26499 conftest$ac_exeext conftest.$ac_ext
26500 LIBS=$ac_check_lib_save_LIBS
26502 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26503 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26504 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26505 JPEG_LINK=" -ljpeg"
26510 if test "x$JPEG_LINK" = "x" ; then
26511 if test "$wxUSE_LIBJPEG" = "sys" ; then
26512 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26513 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26514 { (exit 1); exit 1; }; }
26516 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26517 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26518 wxUSE_LIBJPEG=builtin
26523 if test "$wxUSE_MSW" = 1; then
26524 { echo "$as_me:$LINENO: checking for boolean" >&5
26525 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26526 if test "${ac_cv_type_boolean+set}" = set; then
26527 echo $ECHO_N "(cached) $ECHO_C" >&6
26529 cat >conftest.$ac_ext <<_ACEOF
26532 cat confdefs.h >>conftest.$ac_ext
26533 cat >>conftest.$ac_ext <<_ACEOF
26534 /* end confdefs.h. */
26535 #include <windows.h>
26537 typedef boolean ac__type_new_;
26541 if ((ac__type_new_ *) 0)
26543 if (sizeof (ac__type_new_))
26549 rm -f conftest.$ac_objext
26550 if { (ac_try="$ac_compile"
26551 case "(($ac_try" in
26552 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26553 *) ac_try_echo
=$ac_try;;
26555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26556 (eval "$ac_compile") 2>conftest.er1
26558 grep -v '^ *+' conftest.er1
>conftest.err
26560 cat conftest.err
>&5
26561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26562 (exit $ac_status); } && {
26563 test -z "$ac_c_werror_flag" ||
26564 test ! -s conftest.err
26565 } && test -s conftest.
$ac_objext; then
26566 ac_cv_type_boolean
=yes
26568 echo "$as_me: failed program was:" >&5
26569 sed 's/^/| /' conftest.
$ac_ext >&5
26571 ac_cv_type_boolean
=no
26574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26576 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26577 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26578 if test $ac_cv_type_boolean = yes; then
26580 cat >>confdefs.h
<<_ACEOF
26581 #define HAVE_BOOLEAN 1
26585 { echo "$as_me:$LINENO: checking for boolean" >&5
26586 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26587 if test "${ac_cv_type_boolean+set}" = set; then
26588 echo $ECHO_N "(cached) $ECHO_C" >&6
26590 cat >conftest.
$ac_ext <<_ACEOF
26593 cat confdefs.h
>>conftest.
$ac_ext
26594 cat >>conftest.
$ac_ext <<_ACEOF
26595 /* end confdefs.h. */
26597 #undef HAVE_BOOLEAN
26599 #include <jpeglib.h>
26602 typedef boolean ac__type_new_;
26606 if ((ac__type_new_ *) 0)
26608 if (sizeof (ac__type_new_))
26614 rm -f conftest.
$ac_objext
26615 if { (ac_try
="$ac_compile"
26616 case "(($ac_try" in
26617 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26618 *) ac_try_echo=$ac_try;;
26620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26621 (eval "$ac_compile") 2>conftest.er1
26623 grep -v '^ *+' conftest.er1 >conftest.err
26625 cat conftest.err >&5
26626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26627 (exit $ac_status); } && {
26628 test -z "$ac_c_werror_flag" ||
26629 test ! -s conftest.err
26630 } && test -s conftest.$ac_objext; then
26631 ac_cv_type_boolean=yes
26633 echo "$as_me: failed program was:" >&5
26634 sed 's/^/| /' conftest.$ac_ext >&5
26636 ac_cv_type_boolean=no
26639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26641 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26642 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26644 # The cast to long int works around a bug in the HP C Compiler
26645 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26646 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
26647 # This bug is HP SR number 8606223364.
26648 { echo "$as_me:$LINENO: checking size of boolean" >&5
26649 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26650 if test "${ac_cv_sizeof_boolean+set}" = set; then
26651 echo $ECHO_N "(cached) $ECHO_C" >&6
26653 if test "$cross_compiling" = yes; then
26654 # Depending upon the size, compute the lo and hi bounds.
26655 cat >conftest.$ac_ext <<_ACEOF
26658 cat confdefs.h >>conftest.$ac_ext
26659 cat >>conftest.$ac_ext <<_ACEOF
26660 /* end confdefs.h. */
26662 #undef HAVE_BOOLEAN
26664 #include <jpeglib.h>
26667 typedef boolean ac__type_sizeof_;
26671 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26678 rm -f conftest.$ac_objext
26679 if { (ac_try="$ac_compile"
26680 case "(($ac_try" in
26681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26682 *) ac_try_echo=$ac_try;;
26684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26685 (eval "$ac_compile") 2>conftest.er1
26687 grep -v '^
*+' conftest.er1 >conftest.err
26689 cat conftest.err >&5
26690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26691 (exit $ac_status); } && {
26692 test -z "$ac_c_werror_flag" ||
26693 test ! -s conftest.err
26694 } && test -s conftest.$ac_objext; then
26697 cat >conftest.$ac_ext <<_ACEOF
26700 cat confdefs.h >>conftest.$ac_ext
26701 cat >>conftest.$ac_ext <<_ACEOF
26702 /* end confdefs.h. */
26704 #undef HAVE_BOOLEAN
26706 #include <jpeglib.h>
26709 typedef boolean ac__type_sizeof_;
26713 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26720 rm -f conftest.$ac_objext
26721 if { (ac_try="$ac_compile"
26722 case "(($ac_try" in
26723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26724 *) ac_try_echo=$ac_try;;
26726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26727 (eval "$ac_compile") 2>conftest.er1
26729 grep -v '^
*+' conftest.er1 >conftest.err
26731 cat conftest.err >&5
26732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26733 (exit $ac_status); } && {
26734 test -z "$ac_c_werror_flag" ||
26735 test ! -s conftest.err
26736 } && test -s conftest.$ac_objext; then
26737 ac_hi=$ac_mid; break
26739 echo "$as_me: failed program was:" >&5
26740 sed 's
/^
/| /' conftest.$ac_ext >&5
26742 ac_lo=`expr $ac_mid + 1`
26743 if test $ac_lo -le $ac_mid; then
26747 ac_mid=`expr 2 '*' $ac_mid + 1`
26750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26753 echo "$as_me: failed program was:" >&5
26754 sed 's
/^
/| /' conftest.$ac_ext >&5
26756 cat >conftest.$ac_ext <<_ACEOF
26759 cat confdefs.h >>conftest.$ac_ext
26760 cat >>conftest.$ac_ext <<_ACEOF
26761 /* end confdefs.h. */
26763 #undef HAVE_BOOLEAN
26765 #include <jpeglib.h>
26768 typedef boolean ac__type_sizeof_;
26772 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26779 rm -f conftest.$ac_objext
26780 if { (ac_try="$ac_compile"
26781 case "(($ac_try" in
26782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26783 *) ac_try_echo=$ac_try;;
26785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26786 (eval "$ac_compile") 2>conftest.er1
26788 grep -v '^
*+' conftest.er1 >conftest.err
26790 cat conftest.err >&5
26791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26792 (exit $ac_status); } && {
26793 test -z "$ac_c_werror_flag" ||
26794 test ! -s conftest.err
26795 } && test -s conftest.$ac_objext; then
26798 cat >conftest.$ac_ext <<_ACEOF
26801 cat confdefs.h >>conftest.$ac_ext
26802 cat >>conftest.$ac_ext <<_ACEOF
26803 /* end confdefs.h. */
26805 #undef HAVE_BOOLEAN
26807 #include <jpeglib.h>
26810 typedef boolean ac__type_sizeof_;
26814 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26821 rm -f conftest.$ac_objext
26822 if { (ac_try="$ac_compile"
26823 case "(($ac_try" in
26824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26825 *) ac_try_echo=$ac_try;;
26827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26828 (eval "$ac_compile") 2>conftest.er1
26830 grep -v '^
*+' conftest.er1 >conftest.err
26832 cat conftest.err >&5
26833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26834 (exit $ac_status); } && {
26835 test -z "$ac_c_werror_flag" ||
26836 test ! -s conftest.err
26837 } && test -s conftest.$ac_objext; then
26838 ac_lo=$ac_mid; break
26840 echo "$as_me: failed program was:" >&5
26841 sed 's
/^
/| /' conftest.$ac_ext >&5
26843 ac_hi=`expr '(' $ac_mid ')' - 1`
26844 if test $ac_mid -le $ac_hi; then
26848 ac_mid=`expr 2 '*' $ac_mid`
26851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26854 echo "$as_me: failed program was:" >&5
26855 sed 's
/^
/| /' conftest.$ac_ext >&5
26860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26864 # Binary search between lo and hi bounds.
26865 while test "x$ac_lo" != "x$ac_hi"; do
26866 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26867 cat >conftest.$ac_ext <<_ACEOF
26870 cat confdefs.h >>conftest.$ac_ext
26871 cat >>conftest.$ac_ext <<_ACEOF
26872 /* end confdefs.h. */
26874 #undef HAVE_BOOLEAN
26876 #include <jpeglib.h>
26879 typedef boolean ac__type_sizeof_;
26883 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26890 rm -f conftest.$ac_objext
26891 if { (ac_try="$ac_compile"
26892 case "(($ac_try" in
26893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26894 *) ac_try_echo=$ac_try;;
26896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26897 (eval "$ac_compile") 2>conftest.er1
26899 grep -v '^
*+' conftest.er1 >conftest.err
26901 cat conftest.err >&5
26902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26903 (exit $ac_status); } && {
26904 test -z "$ac_c_werror_flag" ||
26905 test ! -s conftest.err
26906 } && test -s conftest.$ac_objext; then
26909 echo "$as_me: failed program was:" >&5
26910 sed 's
/^
/| /' conftest.$ac_ext >&5
26912 ac_lo=`expr '(' $ac_mid ')' + 1`
26915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26918 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26919 '') if test "$ac_cv_type_boolean" = yes; then
26920 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26921 See \`config.log' for more details.
" >&5
26922 echo "$as_me: error
: cannot compute sizeof
(boolean
)
26923 See \
`config.log' for more details." >&2;}
26924 { (exit 77); exit 77; }; }
26926 ac_cv_sizeof_boolean=0
26930 cat >conftest.$ac_ext <<_ACEOF
26933 cat confdefs.h >>conftest.$ac_ext
26934 cat >>conftest.$ac_ext <<_ACEOF
26935 /* end confdefs.h. */
26937 #undef HAVE_BOOLEAN
26939 #include <jpeglib.h>
26942 typedef boolean ac__type_sizeof_;
26943 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26944 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26946 #include <stdlib.h>
26951 FILE *f = fopen ("conftest.val", "w");
26954 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26956 long int i = longval ();
26957 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26959 fprintf (f, "%ld\n", i);
26963 unsigned long int i = ulongval ();
26964 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26966 fprintf (f, "%lu\n", i);
26968 return ferror (f) || fclose (f) != 0;
26974 rm -f conftest$ac_exeext
26975 if { (ac_try="$ac_link"
26976 case "(($ac_try" in
26977 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26978 *) ac_try_echo
=$ac_try;;
26980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26981 (eval "$ac_link") 2>&5
26983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26984 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26985 { (case "(($ac_try" in
26986 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26987 *) ac_try_echo=$ac_try;;
26989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26990 (eval "$ac_try") 2>&5
26992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26993 (exit $ac_status); }; }; then
26994 ac_cv_sizeof_boolean=`cat conftest.val
`
26996 echo "$as_me: program exited with status $ac_status" >&5
26997 echo "$as_me: failed program was:" >&5
26998 sed 's/^/| /' conftest.$ac_ext >&5
27000 ( exit $ac_status )
27001 if test "$ac_cv_type_boolean" = yes; then
27002 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27003 See \`config.log
' for more details." >&5
27004 echo "$as_me: error: cannot compute sizeof (boolean)
27005 See \`config.log' for more details.
" >&2;}
27006 { (exit 77); exit 77; }; }
27008 ac_cv_sizeof_boolean=0
27011 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27015 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27016 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27020 cat >>confdefs.h <<_ACEOF
27021 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27025 cat >>confdefs.h <<_ACEOF
27026 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27040 TIFF_PREREQ_LINKS=-lm
27041 if test "$wxUSE_LIBTIFF" != "no
" ; then
27042 cat >>confdefs.h <<\_ACEOF
27043 #define wxUSE_LIBTIFF 1
27047 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27048 if test "$wxUSE_LIBJPEG" = "sys
"; then
27049 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27051 if test "$wxUSE_ZLIB" = "sys
"; then
27052 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27054 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27055 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27056 if test "${ac_cv_header_tiffio_h+set}" = set; then
27057 echo $ECHO_N "(cached
) $ECHO_C" >&6
27059 cat >conftest.$ac_ext <<_ACEOF
27062 cat confdefs.h >>conftest.$ac_ext
27063 cat >>conftest.$ac_ext <<_ACEOF
27064 /* end confdefs.h. */
27068 #include <tiffio.h>
27070 rm -f conftest.$ac_objext
27071 if { (ac_try="$ac_compile"
27072 case "(($ac_try" in
27073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27074 *) ac_try_echo=$ac_try;;
27076 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27077 (eval "$ac_compile") 2>conftest.er1
27079 grep -v '^ *+' conftest.er1 >conftest.err
27081 cat conftest.err >&5
27082 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27083 (exit $ac_status); } && {
27084 test -z "$ac_c_werror_flag" ||
27085 test ! -s conftest.err
27086 } && test -s conftest.$ac_objext; then
27087 ac_cv_header_tiffio_h=yes
27089 echo "$as_me: failed program was
:" >&5
27090 sed 's/^/| /' conftest.$ac_ext >&5
27092 ac_cv_header_tiffio_h=no
27095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27097 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27098 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27099 if test $ac_cv_header_tiffio_h = yes; then
27101 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27102 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27103 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27104 echo $ECHO_N "(cached
) $ECHO_C" >&6
27106 ac_check_lib_save_LIBS=$LIBS
27107 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27108 cat >conftest.$ac_ext <<_ACEOF
27111 cat confdefs.h >>conftest.$ac_ext
27112 cat >>conftest.$ac_ext <<_ACEOF
27113 /* end confdefs.h. */
27115 /* Override any GCC internal prototype to avoid an error.
27116 Use char because int might match the return type of a GCC
27117 builtin and then its argument prototype would still apply. */
27125 return TIFFError ();
27130 rm -f conftest.$ac_objext conftest$ac_exeext
27131 if { (ac_try="$ac_link"
27132 case "(($ac_try" in
27133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27134 *) ac_try_echo=$ac_try;;
27136 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27137 (eval "$ac_link") 2>conftest.er1
27139 grep -v '^ *+' conftest.er1 >conftest.err
27141 cat conftest.err >&5
27142 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27143 (exit $ac_status); } && {
27144 test -z "$ac_c_werror_flag" ||
27145 test ! -s conftest.err
27146 } && test -s conftest$ac_exeext &&
27147 $as_test_x conftest$ac_exeext; then
27148 ac_cv_lib_tiff_TIFFError=yes
27150 echo "$as_me: failed program was
:" >&5
27151 sed 's/^/| /' conftest.$ac_ext >&5
27153 ac_cv_lib_tiff_TIFFError=no
27156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27157 conftest$ac_exeext conftest.$ac_ext
27158 LIBS=$ac_check_lib_save_LIBS
27160 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27161 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27162 if test $ac_cv_lib_tiff_TIFFError = yes; then
27163 TIFF_LINK=" -ltiff"
27171 if test "x
$TIFF_LINK" = "x
" ; then
27172 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27173 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27174 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27175 { (exit 1); exit 1; }; }
27177 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27178 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27179 wxUSE_LIBTIFF=builtin
27185 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27186 if test "$wxUSE_LIBJPEG" = "no
"; then
27187 ac_configure_args="$ac_configure_args --disable-jpeg"
27189 subdirs="$subdirs src
/tiff
"
27195 if test "$wxUSE_WCHAR_T" != "yes"; then
27196 if test "$wxUSE_EXPAT" != "no
"; then
27197 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27198 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27201 if test "$wxUSE_XML" != "no
"; then
27202 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27203 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27208 if test "$wxUSE_EXPAT" != "no
"; then
27210 cat >>confdefs.h <<\_ACEOF
27211 #define wxUSE_EXPAT 1
27214 cat >>confdefs.h <<\_ACEOF
27215 #define wxUSE_XML 1
27219 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27220 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27221 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27222 if test "${ac_cv_header_expat_h+set}" = set; then
27223 echo $ECHO_N "(cached
) $ECHO_C" >&6
27225 cat >conftest.$ac_ext <<_ACEOF
27228 cat confdefs.h >>conftest.$ac_ext
27229 cat >>conftest.$ac_ext <<_ACEOF
27230 /* end confdefs.h. */
27235 rm -f conftest.$ac_objext
27236 if { (ac_try="$ac_compile"
27237 case "(($ac_try" in
27238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27239 *) ac_try_echo=$ac_try;;
27241 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27242 (eval "$ac_compile") 2>conftest.er1
27244 grep -v '^ *+' conftest.er1 >conftest.err
27246 cat conftest.err >&5
27247 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27248 (exit $ac_status); } && {
27249 test -z "$ac_c_werror_flag" ||
27250 test ! -s conftest.err
27251 } && test -s conftest.$ac_objext; then
27252 ac_cv_header_expat_h=yes
27254 echo "$as_me: failed program was
:" >&5
27255 sed 's/^/| /' conftest.$ac_ext >&5
27257 ac_cv_header_expat_h=no
27260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27262 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27263 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27264 if test $ac_cv_header_expat_h = yes; then
27269 if test "x
$found_expat_h" = "x1
"; then
27270 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27271 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27272 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27273 echo $ECHO_N "(cached
) $ECHO_C" >&6
27277 ac_cpp='$CXXCPP $CPPFLAGS'
27278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27282 cat >conftest.$ac_ext <<_ACEOF
27285 cat confdefs.h >>conftest.$ac_ext
27286 cat >>conftest.$ac_ext <<_ACEOF
27287 /* end confdefs.h. */
27297 rm -f conftest.$ac_objext
27298 if { (ac_try="$ac_compile"
27299 case "(($ac_try" in
27300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27301 *) ac_try_echo=$ac_try;;
27303 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27304 (eval "$ac_compile") 2>conftest.er1
27306 grep -v '^ *+' conftest.er1 >conftest.err
27308 cat conftest.err >&5
27309 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27310 (exit $ac_status); } && {
27311 test -z "$ac_cxx_werror_flag" ||
27312 test ! -s conftest.err
27313 } && test -s conftest.$ac_objext; then
27314 wx_cv_expat_is_not_broken=yes
27316 echo "$as_me: failed program was
:" >&5
27317 sed 's/^/| /' conftest.$ac_ext >&5
27319 wx_cv_expat_is_not_broken=no
27323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27325 ac_cpp='$CPP $CPPFLAGS'
27326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27333 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27334 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27335 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27336 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27337 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27338 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27339 echo $ECHO_N "(cached
) $ECHO_C" >&6
27341 ac_check_lib_save_LIBS=$LIBS
27342 LIBS="-lexpat $LIBS"
27343 cat >conftest.$ac_ext <<_ACEOF
27346 cat confdefs.h >>conftest.$ac_ext
27347 cat >>conftest.$ac_ext <<_ACEOF
27348 /* end confdefs.h. */
27350 /* Override any GCC internal prototype to avoid an error.
27351 Use char because int might match the return type of a GCC
27352 builtin and then its argument prototype would still apply. */
27356 char XML_ParserCreate ();
27360 return XML_ParserCreate ();
27365 rm -f conftest.$ac_objext conftest$ac_exeext
27366 if { (ac_try="$ac_link"
27367 case "(($ac_try" in
27368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27369 *) ac_try_echo=$ac_try;;
27371 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27372 (eval "$ac_link") 2>conftest.er1
27374 grep -v '^ *+' conftest.er1 >conftest.err
27376 cat conftest.err >&5
27377 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27378 (exit $ac_status); } && {
27379 test -z "$ac_c_werror_flag" ||
27380 test ! -s conftest.err
27381 } && test -s conftest$ac_exeext &&
27382 $as_test_x conftest$ac_exeext; then
27383 ac_cv_lib_expat_XML_ParserCreate=yes
27385 echo "$as_me: failed program was
:" >&5
27386 sed 's/^/| /' conftest.$ac_ext >&5
27388 ac_cv_lib_expat_XML_ParserCreate=no
27391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27392 conftest$ac_exeext conftest.$ac_ext
27393 LIBS=$ac_check_lib_save_LIBS
27395 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27396 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27397 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27398 EXPAT_LINK=" -lexpat"
27403 if test "x
$EXPAT_LINK" = "x
" ; then
27404 if test "$wxUSE_EXPAT" = "sys
" ; then
27405 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27406 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27407 { (exit 1); exit 1; }; }
27409 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27410 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27411 wxUSE_EXPAT=builtin
27417 if test "$wxUSE_EXPAT" = "builtin" ; then
27418 subdirs="$subdirs src
/expat
"
27425 if test "$wxUSE_LIBMSPACK" != "no
"; then
27426 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27427 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27428 if test "${ac_cv_header_mspack_h+set}" = set; then
27429 echo $ECHO_N "(cached
) $ECHO_C" >&6
27431 cat >conftest.$ac_ext <<_ACEOF
27434 cat confdefs.h >>conftest.$ac_ext
27435 cat >>conftest.$ac_ext <<_ACEOF
27436 /* end confdefs.h. */
27439 #include <mspack.h>
27441 rm -f conftest.$ac_objext
27442 if { (ac_try="$ac_compile"
27443 case "(($ac_try" in
27444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27445 *) ac_try_echo=$ac_try;;
27447 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27448 (eval "$ac_compile") 2>conftest.er1
27450 grep -v '^ *+' conftest.er1 >conftest.err
27452 cat conftest.err >&5
27453 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27454 (exit $ac_status); } && {
27455 test -z "$ac_c_werror_flag" ||
27456 test ! -s conftest.err
27457 } && test -s conftest.$ac_objext; then
27458 ac_cv_header_mspack_h=yes
27460 echo "$as_me: failed program was
:" >&5
27461 sed 's/^/| /' conftest.$ac_ext >&5
27463 ac_cv_header_mspack_h=no
27466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27468 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
27469 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27470 if test $ac_cv_header_mspack_h = yes; then
27475 if test "x
$found_mspack_h" = "x1
"; then
27476 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
27477 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
27478 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27479 echo $ECHO_N "(cached
) $ECHO_C" >&6
27481 ac_check_lib_save_LIBS=$LIBS
27482 LIBS="-lmspack $LIBS"
27483 cat >conftest.$ac_ext <<_ACEOF
27486 cat confdefs.h >>conftest.$ac_ext
27487 cat >>conftest.$ac_ext <<_ACEOF
27488 /* end confdefs.h. */
27490 /* Override any GCC internal prototype to avoid an error.
27491 Use char because int might match the return type of a GCC
27492 builtin and then its argument prototype would still apply. */
27496 char mspack_create_chm_decompressor ();
27500 return mspack_create_chm_decompressor ();
27505 rm -f conftest.$ac_objext conftest$ac_exeext
27506 if { (ac_try="$ac_link"
27507 case "(($ac_try" in
27508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27509 *) ac_try_echo=$ac_try;;
27511 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27512 (eval "$ac_link") 2>conftest.er1
27514 grep -v '^ *+' conftest.er1 >conftest.err
27516 cat conftest.err >&5
27517 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27518 (exit $ac_status); } && {
27519 test -z "$ac_c_werror_flag" ||
27520 test ! -s conftest.err
27521 } && test -s conftest$ac_exeext &&
27522 $as_test_x conftest$ac_exeext; then
27523 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27525 echo "$as_me: failed program was
:" >&5
27526 sed 's/^/| /' conftest.$ac_ext >&5
27528 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27532 conftest$ac_exeext conftest.$ac_ext
27533 LIBS=$ac_check_lib_save_LIBS
27535 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27536 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27537 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27538 MSPACK_LINK=" -lmspack"
27542 if test "x
$MSPACK_LINK" = "x
" ; then
27547 if test "$wxUSE_LIBMSPACK" != "no
"; then
27548 cat >>confdefs.h <<\_ACEOF
27549 #define wxUSE_LIBMSPACK 1
27563 if test "$USE_WIN32" = 1 ; then
27565 for ac_header in w32api.h
27567 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
27568 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
27569 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
27570 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
27571 echo $ECHO_N "(cached
) $ECHO_C" >&6
27573 cat >conftest.$ac_ext <<_ACEOF
27576 cat confdefs.h >>conftest.$ac_ext
27577 cat >>conftest.$ac_ext <<_ACEOF
27578 /* end confdefs.h. */
27581 #include <$ac_header>
27583 rm -f conftest.$ac_objext
27584 if { (ac_try="$ac_compile"
27585 case "(($ac_try" in
27586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27587 *) ac_try_echo=$ac_try;;
27589 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27590 (eval "$ac_compile") 2>conftest.er1
27592 grep -v '^ *+' conftest.er1 >conftest.err
27594 cat conftest.err >&5
27595 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27596 (exit $ac_status); } && {
27597 test -z "$ac_c_werror_flag" ||
27598 test ! -s conftest.err
27599 } && test -s conftest.$ac_objext; then
27600 eval "$as_ac_Header=yes"
27602 echo "$as_me: failed program was
:" >&5
27603 sed 's/^/| /' conftest.$ac_ext >&5
27605 eval "$as_ac_Header=no
"
27608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27610 ac_res=`eval echo '${'$as_ac_Header'}'`
27611 { echo "$as_me:$LINENO: result
: $ac_res" >&5
27612 echo "${ECHO_T}$ac_res" >&6; }
27613 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27614 cat >>confdefs.h <<_ACEOF
27615 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
27622 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
27623 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
27624 if test "${ac_cv_header_windows_h+set}" = set; then
27625 echo $ECHO_N "(cached
) $ECHO_C" >&6
27627 cat >conftest.$ac_ext <<_ACEOF
27630 cat confdefs.h >>conftest.$ac_ext
27631 cat >>conftest.$ac_ext <<_ACEOF
27632 /* end confdefs.h. */
27635 #include <windows.h>
27637 rm -f conftest.$ac_objext
27638 if { (ac_try="$ac_compile"
27639 case "(($ac_try" in
27640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27641 *) ac_try_echo=$ac_try;;
27643 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27644 (eval "$ac_compile") 2>conftest.er1
27646 grep -v '^ *+' conftest.er1 >conftest.err
27648 cat conftest.err >&5
27649 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27650 (exit $ac_status); } && {
27651 test -z "$ac_c_werror_flag" ||
27652 test ! -s conftest.err
27653 } && test -s conftest.$ac_objext; then
27654 ac_cv_header_windows_h=yes
27656 echo "$as_me: failed program was
:" >&5
27657 sed 's/^/| /' conftest.$ac_ext >&5
27659 ac_cv_header_windows_h=no
27662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27664 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
27665 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27666 if test $ac_cv_header_windows_h = yes; then
27670 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
27671 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
27672 { (exit 1); exit 1; }; }
27678 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27680 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27681 LIBS="$LIBS -loleacc"
27686 LIBS="$LIBS -lkernel32 -luser32"
27689 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
27690 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
27692 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
27694 WIN32INSTALL=win32install
27696 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
27697 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
27698 if test "${ac_cv_header_pbt_h+set}" = set; then
27699 echo $ECHO_N "(cached
) $ECHO_C" >&6
27701 cat >conftest.$ac_ext <<_ACEOF
27704 cat confdefs.h >>conftest.$ac_ext
27705 cat >>conftest.$ac_ext <<_ACEOF
27706 /* end confdefs.h. */
27711 rm -f conftest.$ac_objext
27712 if { (ac_try="$ac_compile"
27713 case "(($ac_try" in
27714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27715 *) ac_try_echo=$ac_try;;
27717 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27718 (eval "$ac_compile") 2>conftest.er1
27720 grep -v '^ *+' conftest.er1 >conftest.err
27722 cat conftest.err >&5
27723 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27724 (exit $ac_status); } && {
27725 test -z "$ac_c_werror_flag" ||
27726 test ! -s conftest.err
27727 } && test -s conftest.$ac_objext; then
27728 ac_cv_header_pbt_h=yes
27730 echo "$as_me: failed program was
:" >&5
27731 sed 's/^/| /' conftest.$ac_ext >&5
27733 ac_cv_header_pbt_h=no
27736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27738 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
27739 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27740 if test $ac_cv_header_pbt_h = yes; then
27743 cat >>confdefs.h <<\_ACEOF
27744 #define NEED_PBT_H 1
27752 if test "$wxUSE_GUI" = "yes"; then
27762 if test "$wxUSE_COCOA" = 1 ; then
27763 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27764 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
27765 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
27766 wxUSE_PRINTING_ARCHITECTURE=no
27768 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27769 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
27770 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
27771 wxUSE_DRAG_AND_DROP=no
27773 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27774 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
27775 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
27780 if test "$wxUSE_MSW" = 1 ; then
27786 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
27790 if test "$wxUSE_GTK" = 1; then
27791 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
27792 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
27794 gtk_version_cached=1
27795 if test "${wx_cv_lib_gtk+set}" = set; then
27796 echo $ECHO_N "(cached
) $ECHO_C" >&6
27799 gtk_version_cached=0
27800 { echo "$as_me:$LINENO: result
: " >&5
27801 echo "${ECHO_T}" >&6; }
27804 if test "$wxUSE_THREADS" = "yes"; then
27805 GTK_MODULES=gthread
27809 if test "x
$wxGTK_VERSION" != "x1
"
27813 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27818 # Check whether --enable-gtktest was given.
27819 if test "${enable_gtktest+set}" = set; then
27820 enableval=$enable_gtktest;
27826 pkg_config_args=gtk+-2.0
27827 for module in . $GTK_MODULES
27831 pkg_config_args="$pkg_config_args gthread
-2.0
"
27838 # Extract the first word of "pkg
-config", so it can be a program name with args.
27839 set dummy pkg-config; ac_word=$2
27840 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
27841 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
27842 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27843 echo $ECHO_N "(cached
) $ECHO_C" >&6
27845 case $PKG_CONFIG in
27847 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27851 for as_dir in $PATH
27854 test -z "$as_dir" && as_dir=.
27855 for ac_exec_ext in '' $ac_executable_extensions; do
27856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27857 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27858 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
27865 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
27869 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27870 if test -n "$PKG_CONFIG"; then
27871 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
27872 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27874 { echo "$as_me:$LINENO: result
: no
" >&5
27875 echo "${ECHO_T}no
" >&6; }
27880 if test x$PKG_CONFIG != xno ; then
27881 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27884 echo "*** pkg
-config too old
; version
0.7 or better required.
"
27892 min_gtk_version=2.4.0
27893 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
27894 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
27896 if test x$PKG_CONFIG != xno ; then
27897 ## don't try to run the test against uninstalled libtool libs
27898 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27899 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
27903 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27910 if test x"$no_gtk" = x ; then
27911 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27912 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27913 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27914 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27915 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27916 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27917 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27918 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27919 if test "x
$enable_gtktest" = "xyes
" ; then
27920 ac_save_CFLAGS="$CFLAGS"
27921 ac_save_LIBS="$LIBS"
27922 CFLAGS="$CFLAGS $GTK_CFLAGS"
27923 LIBS="$GTK_LIBS $LIBS"
27925 if test "$cross_compiling" = yes; then
27926 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
27928 cat >conftest.$ac_ext <<_ACEOF
27931 cat confdefs.h >>conftest.$ac_ext
27932 cat >>conftest.$ac_ext <<_ACEOF
27933 /* end confdefs.h. */
27935 #include <gtk/gtk.h>
27937 #include <stdlib.h>
27942 int major, minor, micro;
27945 system ("touch conf.gtktest
");
27947 /* HP/UX 9 (%@#!) writes to sscanf strings */
27948 tmp_version = g_strdup("$min_gtk_version");
27949 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
27950 printf("%s
, bad version string
\n", "$min_gtk_version");
27954 if ((gtk_major_version != $gtk_config_major_version) ||
27955 (gtk_minor_version != $gtk_config_minor_version) ||
27956 (gtk_micro_version != $gtk_config_micro_version))
27958 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
27959 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27960 gtk_major_version, gtk_minor_version, gtk_micro_version);
27961 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
27962 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
27963 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
27964 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
27965 printf("*** required on your system.
\n");
27966 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
27967 printf("*** to point to the correct configuration files
\n");
27969 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27970 (gtk_minor_version != GTK_MINOR_VERSION) ||
27971 (gtk_micro_version != GTK_MICRO_VERSION))
27973 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
27974 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27975 printf("*** library
(version
%d.
%d.
%d
)\n",
27976 gtk_major_version, gtk_minor_version, gtk_micro_version);
27980 if ((gtk_major_version > major) ||
27981 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27982 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27988 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
27989 gtk_major_version, gtk_minor_version, gtk_micro_version);
27990 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
27991 major, minor, micro);
27992 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
27994 printf("*** If you have already installed a sufficiently new version
, this error
\n");
27995 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
27996 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
27997 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
27998 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
27999 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28000 printf("*** so that the correct libraries are found
at run
-time))\n");
28007 rm -f conftest$ac_exeext
28008 if { (ac_try="$ac_link"
28009 case "(($ac_try" in
28010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28011 *) ac_try_echo=$ac_try;;
28013 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28014 (eval "$ac_link") 2>&5
28016 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28017 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28018 { (case "(($ac_try" in
28019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28020 *) ac_try_echo=$ac_try;;
28022 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28023 (eval "$ac_try") 2>&5
28025 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28026 (exit $ac_status); }; }; then
28029 echo "$as_me: program exited with status
$ac_status" >&5
28030 echo "$as_me: failed program was
:" >&5
28031 sed 's/^/| /' conftest.$ac_ext >&5
28033 ( exit $ac_status )
28036 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28040 CFLAGS="$ac_save_CFLAGS"
28041 LIBS="$ac_save_LIBS"
28044 if test "x
$no_gtk" = x ; then
28045 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28046 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28049 { echo "$as_me:$LINENO: result
: no
" >&5
28050 echo "${ECHO_T}no
" >&6; }
28051 if test "$PKG_CONFIG" = "no
" ; then
28052 echo "*** A new enough version of pkg
-config was not found.
"
28053 echo "*** See http
://pkgconfig.sourceforge.net
"
28055 if test -f conf.gtktest ; then
28058 echo "*** Could not run GTK
+ test program
, checking why...
"
28059 ac_save_CFLAGS="$CFLAGS"
28060 ac_save_LIBS="$LIBS"
28061 CFLAGS="$CFLAGS $GTK_CFLAGS"
28062 LIBS="$LIBS $GTK_LIBS"
28063 cat >conftest.$ac_ext <<_ACEOF
28066 cat confdefs.h >>conftest.$ac_ext
28067 cat >>conftest.$ac_ext <<_ACEOF
28068 /* end confdefs.h. */
28070 #include <gtk/gtk.h>
28076 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28081 rm -f conftest.$ac_objext conftest$ac_exeext
28082 if { (ac_try="$ac_link"
28083 case "(($ac_try" in
28084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28085 *) ac_try_echo=$ac_try;;
28087 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28088 (eval "$ac_link") 2>conftest.er1
28090 grep -v '^ *+' conftest.er1 >conftest.err
28092 cat conftest.err >&5
28093 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28094 (exit $ac_status); } && {
28095 test -z "$ac_c_werror_flag" ||
28096 test ! -s conftest.err
28097 } && test -s conftest$ac_exeext &&
28098 $as_test_x conftest$ac_exeext; then
28099 echo "*** The
test program compiled
, but did not run. This usually means
"
28100 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28101 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28102 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28103 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28104 echo "*** is required on your system"
28106 echo "*** If you have an old version installed, it is best to remove it, although"
28107 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28109 echo "$as_me: failed program was:" >&5
28110 sed 's
/^
/| /' conftest.$ac_ext >&5
28112 echo "*** The test program failed to compile or link. See the file config.log for the"
28113 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28117 conftest$ac_exeext conftest.$ac_ext
28118 CFLAGS="$ac_save_CFLAGS"
28119 LIBS="$ac_save_LIBS"
28133 if test "$wxUSE_SHARED" != "yes"; then
28134 GTK_LIBS="$GTK_LIBS -lX11"
28139 if test -z "$wx_cv_lib_gtk"; then
28140 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28142 # Check whether --with-gtk-prefix was given.
28143 if test "${with_gtk_prefix+set}" = set; then
28144 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28146 gtk_config_prefix=""
28150 # Check whether --with-gtk-exec-prefix was given.
28151 if test "${with_gtk_exec_prefix+set}" = set; then
28152 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28154 gtk_config_exec_prefix=""
28157 # Check whether --enable-gtktest was given.
28158 if test "${enable_gtktest+set}" = set; then
28159 enableval=$enable_gtktest;
28165 for module in . $GTK_MODULES
28169 gtk_config_args="$gtk_config_args gthread"
28174 if test x$gtk_config_exec_prefix != x ; then
28175 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28176 if test x${GTK_CONFIG+set} != xset ; then
28177 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28180 if test x$gtk_config_prefix != x ; then
28181 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28182 if test x${GTK_CONFIG+set} != xset ; then
28183 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28187 # Extract the first word of "gtk-config", so it can be a program name with args.
28188 set dummy gtk-config; ac_word=$2
28189 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28191 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28192 echo $ECHO_N "(cached) $ECHO_C" >&6
28194 case $GTK_CONFIG in
28196 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28200 for as_dir in $PATH
28203 test -z "$as_dir" && as_dir=.
28204 for ac_exec_ext in '' $ac_executable_extensions; do
28205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28206 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28214 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28218 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28219 if test -n "$GTK_CONFIG"; then
28220 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28221 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28223 { echo "$as_me:$LINENO: result: no" >&5
28224 echo "${ECHO_T}no" >&6; }
28228 min_gtk_version=1.2.7
28229 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28230 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28232 if test "$GTK_CONFIG" = "no" ; then
28235 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28236 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28237 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28238 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28239 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28240 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28241 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28242 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28243 if test "x$enable_gtktest" = "xyes" ; then
28244 ac_save_CFLAGS="$CFLAGS"
28245 ac_save_LIBS="$LIBS"
28246 CFLAGS="$CFLAGS $GTK_CFLAGS"
28247 LIBS="$GTK_LIBS $LIBS"
28249 if test "$cross_compiling" = yes; then
28250 echo $ac_n "cross compiling; assumed OK... $ac_c"
28252 cat >conftest.$ac_ext <<_ACEOF
28255 cat confdefs.h >>conftest.$ac_ext
28256 cat >>conftest.$ac_ext <<_ACEOF
28257 /* end confdefs.h. */
28259 #include <gtk/gtk.h>
28261 #include <stdlib.h>
28266 int major, minor, micro;
28269 system ("touch conf.gtktest");
28271 /* HP/UX 9 (%@#!) writes to sscanf strings */
28272 tmp_version = g_strdup("$min_gtk_version");
28273 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28274 printf("%s, bad version string\n", "$min_gtk_version");
28278 if ((gtk_major_version != $gtk_config_major_version) ||
28279 (gtk_minor_version != $gtk_config_minor_version) ||
28280 (gtk_micro_version != $gtk_config_micro_version))
28282 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28283 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28284 gtk_major_version, gtk_minor_version, gtk_micro_version);
28285 printf ("*** was found! If gtk-config was correct, then it is best\n");
28286 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28287 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28288 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28289 printf("*** required on your system.\n");
28290 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28291 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28292 printf("*** before re-running configure\n");
28294 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28295 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28296 (gtk_minor_version != GTK_MINOR_VERSION) ||
28297 (gtk_micro_version != GTK_MICRO_VERSION))
28299 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28300 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28301 printf("*** library (version %d.%d.%d)\n",
28302 gtk_major_version, gtk_minor_version, gtk_micro_version);
28304 #endif /* defined (GTK_MAJOR_VERSION) ... */
28307 if ((gtk_major_version > major) ||
28308 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28309 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28315 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28316 gtk_major_version, gtk_minor_version, gtk_micro_version);
28317 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28318 major, minor, micro);
28319 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28321 printf("*** If you have already installed a sufficiently new version, this error\n");
28322 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28323 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28324 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28325 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28326 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28327 printf("*** so that the correct libraries are found at run-time))\n");
28334 rm -f conftest$ac_exeext
28335 if { (ac_try="$ac_link"
28336 case "(($ac_try" in
28337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28338 *) ac_try_echo=$ac_try;;
28340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28341 (eval "$ac_link") 2>&5
28343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28344 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28345 { (case "(($ac_try" in
28346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28347 *) ac_try_echo=$ac_try;;
28349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28350 (eval "$ac_try") 2>&5
28352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28353 (exit $ac_status); }; }; then
28356 echo "$as_me: program exited with status $ac_status" >&5
28357 echo "$as_me: failed program was:" >&5
28358 sed 's
/^
/| /' conftest.$ac_ext >&5
28360 ( exit $ac_status )
28363 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28367 CFLAGS="$ac_save_CFLAGS"
28368 LIBS="$ac_save_LIBS"
28371 if test "x$no_gtk" = x ; then
28372 { echo "$as_me:$LINENO: result: yes" >&5
28373 echo "${ECHO_T}yes" >&6; }
28374 wx_cv_lib_gtk=1.2.7
28376 { echo "$as_me:$LINENO: result: no" >&5
28377 echo "${ECHO_T}no" >&6; }
28378 if test "$GTK_CONFIG" = "no" ; then
28379 echo "*** The gtk-config script installed by GTK could not be found"
28380 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28381 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28382 echo "*** full path to gtk-config."
28384 if test -f conf.gtktest ; then
28387 echo "*** Could not run GTK test program, checking why..."
28388 CFLAGS="$CFLAGS $GTK_CFLAGS"
28389 LIBS="$LIBS $GTK_LIBS"
28390 cat >conftest.$ac_ext <<_ACEOF
28393 cat confdefs.h >>conftest.$ac_ext
28394 cat >>conftest.$ac_ext <<_ACEOF
28395 /* end confdefs.h. */
28397 #include <gtk/gtk.h>
28403 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28408 rm -f conftest.$ac_objext conftest$ac_exeext
28409 if { (ac_try="$ac_link"
28410 case "(($ac_try" in
28411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28412 *) ac_try_echo=$ac_try;;
28414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28415 (eval "$ac_link") 2>conftest.er1
28417 grep -v '^
*+' conftest.er1 >conftest.err
28419 cat conftest.err >&5
28420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28421 (exit $ac_status); } && {
28422 test -z "$ac_c_werror_flag" ||
28423 test ! -s conftest.err
28424 } && test -s conftest$ac_exeext &&
28425 $as_test_x conftest$ac_exeext; then
28426 echo "*** The test program compiled, but did not run. This usually means"
28427 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28428 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28429 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28430 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28431 echo "*** is required on your system
"
28433 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28434 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28436 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28437 echo "*** came with the system with the
command"
28439 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28441 echo "$as_me: failed program was
:" >&5
28442 sed 's/^/| /' conftest.$ac_ext >&5
28444 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28445 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28446 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28447 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28451 conftest$ac_exeext conftest.$ac_ext
28452 CFLAGS="$ac_save_CFLAGS"
28453 LIBS="$ac_save_LIBS"
28465 if test -z "$wx_cv_lib_gtk"; then
28467 # Check whether --with-gtk-prefix was given.
28468 if test "${with_gtk_prefix+set}" = set; then
28469 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28471 gtk_config_prefix=""
28475 # Check whether --with-gtk-exec-prefix was given.
28476 if test "${with_gtk_exec_prefix+set}" = set; then
28477 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28479 gtk_config_exec_prefix=""
28482 # Check whether --enable-gtktest was given.
28483 if test "${enable_gtktest+set}" = set; then
28484 enableval=$enable_gtktest;
28490 for module in . $GTK_MODULES
28494 gtk_config_args="$gtk_config_args gthread
"
28499 if test x$gtk_config_exec_prefix != x ; then
28500 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28501 if test x${GTK_CONFIG+set} != xset ; then
28502 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28505 if test x$gtk_config_prefix != x ; then
28506 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28507 if test x${GTK_CONFIG+set} != xset ; then
28508 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28512 # Extract the first word of "gtk
-config", so it can be a program name with args.
28513 set dummy gtk-config; ac_word=$2
28514 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28515 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28516 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28517 echo $ECHO_N "(cached
) $ECHO_C" >&6
28519 case $GTK_CONFIG in
28521 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28525 for as_dir in $PATH
28528 test -z "$as_dir" && as_dir=.
28529 for ac_exec_ext in '' $ac_executable_extensions; do
28530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28531 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28532 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28539 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
28543 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28544 if test -n "$GTK_CONFIG"; then
28545 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
28546 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28548 { echo "$as_me:$LINENO: result
: no
" >&5
28549 echo "${ECHO_T}no
" >&6; }
28553 min_gtk_version=1.2.3
28554 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
28555 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
28557 if test "$GTK_CONFIG" = "no
" ; then
28560 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28561 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28562 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28563 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28564 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28565 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28566 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28567 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28568 if test "x
$enable_gtktest" = "xyes
" ; then
28569 ac_save_CFLAGS="$CFLAGS"
28570 ac_save_LIBS="$LIBS"
28571 CFLAGS="$CFLAGS $GTK_CFLAGS"
28572 LIBS="$GTK_LIBS $LIBS"
28574 if test "$cross_compiling" = yes; then
28575 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28577 cat >conftest.$ac_ext <<_ACEOF
28580 cat confdefs.h >>conftest.$ac_ext
28581 cat >>conftest.$ac_ext <<_ACEOF
28582 /* end confdefs.h. */
28584 #include <gtk/gtk.h>
28586 #include <stdlib.h>
28591 int major, minor, micro;
28594 system ("touch conf.gtktest
");
28596 /* HP/UX 9 (%@#!) writes to sscanf strings */
28597 tmp_version = g_strdup("$min_gtk_version");
28598 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28599 printf("%s
, bad version string
\n", "$min_gtk_version");
28603 if ((gtk_major_version != $gtk_config_major_version) ||
28604 (gtk_minor_version != $gtk_config_minor_version) ||
28605 (gtk_micro_version != $gtk_config_micro_version))
28607 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28608 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28609 gtk_major_version, gtk_minor_version, gtk_micro_version);
28610 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
28611 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28612 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28613 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28614 printf("*** required on your system.
\n");
28615 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
28616 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
28617 printf("*** before re
-running configure
\n");
28619 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28620 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28621 (gtk_minor_version != GTK_MINOR_VERSION) ||
28622 (gtk_micro_version != GTK_MICRO_VERSION))
28624 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28625 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28626 printf("*** library
(version
%d.
%d.
%d
)\n",
28627 gtk_major_version, gtk_minor_version, gtk_micro_version);
28629 #endif /* defined (GTK_MAJOR_VERSION) ... */
28632 if ((gtk_major_version > major) ||
28633 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28634 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28640 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28641 gtk_major_version, gtk_minor_version, gtk_micro_version);
28642 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28643 major, minor, micro);
28644 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28646 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28647 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
28648 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28649 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
28650 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
28651 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28652 printf("*** so that the correct libraries are found
at run
-time))\n");
28659 rm -f conftest$ac_exeext
28660 if { (ac_try="$ac_link"
28661 case "(($ac_try" in
28662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28663 *) ac_try_echo=$ac_try;;
28665 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28666 (eval "$ac_link") 2>&5
28668 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28669 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28670 { (case "(($ac_try" in
28671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28672 *) ac_try_echo=$ac_try;;
28674 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28675 (eval "$ac_try") 2>&5
28677 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28678 (exit $ac_status); }; }; then
28681 echo "$as_me: program exited with status
$ac_status" >&5
28682 echo "$as_me: failed program was
:" >&5
28683 sed 's/^/| /' conftest.$ac_ext >&5
28685 ( exit $ac_status )
28688 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28692 CFLAGS="$ac_save_CFLAGS"
28693 LIBS="$ac_save_LIBS"
28696 if test "x
$no_gtk" = x ; then
28697 { echo "$as_me:$LINENO: result
: yes" >&5
28698 echo "${ECHO_T}yes" >&6; }
28699 wx_cv_lib_gtk=1.2.3
28701 { echo "$as_me:$LINENO: result
: no
" >&5
28702 echo "${ECHO_T}no
" >&6; }
28703 if test "$GTK_CONFIG" = "no
" ; then
28704 echo "*** The gtk
-config script installed by GTK could not be found
"
28705 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
28706 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
28707 echo "*** full path to gtk
-config.
"
28709 if test -f conf.gtktest ; then
28712 echo "*** Could not run GTK
test program
, checking why...
"
28713 CFLAGS="$CFLAGS $GTK_CFLAGS"
28714 LIBS="$LIBS $GTK_LIBS"
28715 cat >conftest.$ac_ext <<_ACEOF
28718 cat confdefs.h >>conftest.$ac_ext
28719 cat >>conftest.$ac_ext <<_ACEOF
28720 /* end confdefs.h. */
28722 #include <gtk/gtk.h>
28728 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28733 rm -f conftest.$ac_objext conftest$ac_exeext
28734 if { (ac_try="$ac_link"
28735 case "(($ac_try" in
28736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28737 *) ac_try_echo=$ac_try;;
28739 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28740 (eval "$ac_link") 2>conftest.er1
28742 grep -v '^ *+' conftest.er1 >conftest.err
28744 cat conftest.err >&5
28745 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28746 (exit $ac_status); } && {
28747 test -z "$ac_c_werror_flag" ||
28748 test ! -s conftest.err
28749 } && test -s conftest$ac_exeext &&
28750 $as_test_x conftest$ac_exeext; then
28751 echo "*** The
test program compiled
, but did not run. This usually means
"
28752 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
28753 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
28754 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28755 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28756 echo "*** is required on your system"
28758 echo "*** If you have an old version installed, it is best to remove it, although"
28759 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28761 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28762 echo "*** came with the system with the command"
28764 echo "*** rpm --erase --nodeps gtk gtk-devel"
28766 echo "$as_me: failed program was:" >&5
28767 sed 's
/^
/| /' conftest.$ac_ext >&5
28769 echo "*** The test program failed to compile or link. See the file config.log for the"
28770 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28771 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28772 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28776 conftest$ac_exeext conftest.$ac_ext
28777 CFLAGS="$ac_save_CFLAGS"
28778 LIBS="$ac_save_LIBS"
28793 if test -z "$wx_cv_lib_gtk"; then
28796 wx_cv_cflags_gtk=$GTK_CFLAGS
28797 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
28804 if test "$gtk_version_cached" = 1; then
28805 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28806 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28809 case "$wx_cv_lib_gtk" in
28818 *) { { echo "$as_me:$LINENO: error:
28819 The development files for GTK+ were not found. For GTK+ 2, please
28820 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28821 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28822 and that the version is 1.2.3 or above. Also check that the
28823 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28824 --libs' are in the LD_LIBRARY_PATH or equivalent.
28826 echo "$as_me: error:
28827 The development files for GTK+ were not found. For GTK+ 2, please
28828 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28829 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28830 and that the version is 1.2.3 or above. Also check that the
28831 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28832 --libs' are in the LD_LIBRARY_PATH or equivalent.
28834 { (exit 1); exit 1; }; }
28838 if test "$WXGTK2" = 1; then
28839 save_CFLAGS="$CFLAGS"
28841 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28842 LIBS="$LIBS $wx_cv_libs_gtk"
28844 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28845 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28846 cat >conftest.$ac_ext <<_ACEOF
28849 cat confdefs.h >>conftest.$ac_ext
28850 cat >>conftest.$ac_ext <<_ACEOF
28851 /* end confdefs.h. */
28853 #include <gtk/gtk.h>
28859 #if !GTK_CHECK_VERSION(2,10,0)
28867 rm -f conftest.$ac_objext
28868 if { (ac_try="$ac_compile"
28869 case "(($ac_try" in
28870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28871 *) ac_try_echo=$ac_try;;
28873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28874 (eval "$ac_compile") 2>conftest.er1
28876 grep -v '^
*+' conftest.er1 >conftest.err
28878 cat conftest.err >&5
28879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28880 (exit $ac_status); } && {
28881 test -z "$ac_c_werror_flag" ||
28882 test ! -s conftest.err
28883 } && test -s conftest.$ac_objext; then
28885 cat >>confdefs.h <<\_ACEOF
28886 #define __WXGTK210__ 1
28889 cat >>confdefs.h <<\_ACEOF
28890 #define __WXGTK26__ 1
28893 { echo "$as_me:$LINENO: result: yes" >&5
28894 echo "${ECHO_T}yes" >&6; }
28898 echo "$as_me: failed program was:" >&5
28899 sed 's
/^
/| /' conftest.$ac_ext >&5
28902 { echo "$as_me:$LINENO: result: no" >&5
28903 echo "${ECHO_T}no" >&6; }
28908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28910 if test "$ac_wxgtk210" = 0; then
28911 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28912 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28913 cat >conftest.$ac_ext <<_ACEOF
28916 cat confdefs.h >>conftest.$ac_ext
28917 cat >>conftest.$ac_ext <<_ACEOF
28918 /* end confdefs.h. */
28920 #include <gtk/gtk.h>
28926 #if !GTK_CHECK_VERSION(2,6,0)
28934 rm -f conftest.$ac_objext
28935 if { (ac_try="$ac_compile"
28936 case "(($ac_try" in
28937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28938 *) ac_try_echo=$ac_try;;
28940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28941 (eval "$ac_compile") 2>conftest.er1
28943 grep -v '^
*+' conftest.er1 >conftest.err
28945 cat conftest.err >&5
28946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28947 (exit $ac_status); } && {
28948 test -z "$ac_c_werror_flag" ||
28949 test ! -s conftest.err
28950 } && test -s conftest.$ac_objext; then
28952 cat >>confdefs.h <<\_ACEOF
28953 #define __WXGTK26__ 1
28956 { echo "$as_me:$LINENO: result: yes" >&5
28957 echo "${ECHO_T}yes" >&6; }
28961 echo "$as_me: failed program was:" >&5
28962 sed 's
/^
/| /' conftest.$ac_ext >&5
28965 { echo "$as_me:$LINENO: result: no" >&5
28966 echo "${ECHO_T}no" >&6; }
28971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28974 CFLAGS="$save_CFLAGS"
28977 if test "$wxUSE_UNICODE" = "yes"; then
28978 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28979 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28983 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28984 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28985 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28986 echo $ECHO_N "(cached) $ECHO_C" >&6
28988 ac_check_lib_save_LIBS=$LIBS
28990 cat >conftest.$ac_ext <<_ACEOF
28993 cat confdefs.h >>conftest.$ac_ext
28994 cat >>conftest.$ac_ext <<_ACEOF
28995 /* end confdefs.h. */
28997 /* Override any GCC internal prototype to avoid an error.
28998 Use char because int might match the return type of a GCC
28999 builtin and then its argument prototype would still apply. */
29003 char gdk_im_open ();
29007 return gdk_im_open ();
29012 rm -f conftest.$ac_objext conftest$ac_exeext
29013 if { (ac_try="$ac_link"
29014 case "(($ac_try" in
29015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29016 *) ac_try_echo=$ac_try;;
29018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29019 (eval "$ac_link") 2>conftest.er1
29021 grep -v '^
*+' conftest.er1 >conftest.err
29023 cat conftest.err >&5
29024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29025 (exit $ac_status); } && {
29026 test -z "$ac_c_werror_flag" ||
29027 test ! -s conftest.err
29028 } && test -s conftest$ac_exeext &&
29029 $as_test_x conftest$ac_exeext; then
29030 ac_cv_lib_gdk_gdk_im_open=yes
29032 echo "$as_me: failed program was:" >&5
29033 sed 's
/^
/| /' conftest.$ac_ext >&5
29035 ac_cv_lib_gdk_gdk_im_open=no
29038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29039 conftest$ac_exeext conftest.$ac_ext
29040 LIBS=$ac_check_lib_save_LIBS
29042 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29043 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29044 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29045 cat >>confdefs.h <<\_ACEOF
29052 if test "$USE_DARWIN" != 1; then
29054 for ac_func in poll
29056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29057 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29059 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29060 echo $ECHO_N "(cached) $ECHO_C" >&6
29062 cat >conftest.$ac_ext <<_ACEOF
29065 cat confdefs.h >>conftest.$ac_ext
29066 cat >>conftest.$ac_ext <<_ACEOF
29067 /* end confdefs.h. */
29068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29070 #define $ac_func innocuous_$ac_func
29072 /* System header to define __stub macros and hopefully few prototypes,
29073 which can conflict with char $ac_func (); below.
29074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29075 <limits.h> exists even on freestanding compilers. */
29078 # include <limits.h>
29080 # include <assert.h>
29085 /* Override any GCC internal prototype to avoid an error.
29086 Use char because int might match the return type of a GCC
29087 builtin and then its argument prototype would still apply. */
29092 /* The GNU C library defines this for functions which it implements
29093 to always fail with ENOSYS. Some functions are actually named
29094 something starting with __ and the normal name is an alias. */
29095 #if defined __stub_$ac_func || defined __stub___$ac_func
29102 return $ac_func ();
29107 rm -f conftest.$ac_objext conftest$ac_exeext
29108 if { (ac_try="$ac_link"
29109 case "(($ac_try" in
29110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29111 *) ac_try_echo=$ac_try;;
29113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29114 (eval "$ac_link") 2>conftest.er1
29116 grep -v '^
*+' conftest.er1 >conftest.err
29118 cat conftest.err >&5
29119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29120 (exit $ac_status); } && {
29121 test -z "$ac_c_werror_flag" ||
29122 test ! -s conftest.err
29123 } && test -s conftest$ac_exeext &&
29124 $as_test_x conftest$ac_exeext; then
29125 eval "$as_ac_var=yes"
29127 echo "$as_me: failed program was:" >&5
29128 sed 's
/^
/| /' conftest.$ac_ext >&5
29130 eval "$as_ac_var=no"
29133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29134 conftest$ac_exeext conftest.$ac_ext
29136 ac_res=`eval echo '${'$as_ac_var'}'`
29137 { echo "$as_me:$LINENO: result: $ac_res" >&5
29138 echo "${ECHO_T}$ac_res" >&6; }
29139 if test `eval echo '${'$as_ac_var'}'` = yes; then
29140 cat >>confdefs.h <<_ACEOF
29141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29150 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29151 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29153 AFMINSTALL=afminstall
29157 if test "$wxUSE_GPE" = "yes"; then
29158 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29159 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29162 for ac_dir in $SEARCH_LIB;
29164 for ac_extension in a so sl dylib dll.a; do
29165 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29166 ac_find_libraries=$ac_dir
29172 if test "$ac_find_libraries" != "" ; then
29174 if test "$ac_find_libraries" = "default location"; then
29177 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29179 if test $result = 0; then
29182 ac_path_to_link=" -L$ac_find_libraries"
29186 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29188 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29189 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29191 { echo "$as_me:$LINENO: result: not found" >&5
29192 echo "${ECHO_T}not found" >&6; }
29198 if test "$wxUSE_MGL" = 1; then
29199 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29200 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29201 if test "x$MGL_ROOT" = x ; then
29202 { echo "$as_me:$LINENO: result: not found" >&5
29203 echo "${ECHO_T}not found" >&6; }
29204 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29205 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29206 { (exit 1); exit 1; }; }
29208 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29209 echo "${ECHO_T}$MGL_ROOT" >&6; }
29212 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29213 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29216 if test "x$wxUSE_SHARED" = xyes ; then
29217 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29219 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29223 mgl_os_candidates="dos32/dj2"
29226 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29227 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29228 { (exit 1); exit 1; }; }
29234 for mgl_os_i in $mgl_os_candidates ; do
29235 if test "x$mgl_os" = x ; then
29236 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29237 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29238 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29243 if test "x$mgl_lib_type" = x ; then
29244 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29245 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29246 mgl_lib_type=release
29253 if test "x$mgl_os" = x ; then
29254 { echo "$as_me:$LINENO: result: not found" >&5
29255 echo "${ECHO_T}not found" >&6; }
29256 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29257 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29258 { (exit 1); exit 1; }; }
29260 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29261 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29263 wxUSE_UNIVERSAL="yes"
29265 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29266 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29268 AFMINSTALL=afminstall
29273 if test "$wxUSE_DFB" = 1; then
29276 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29277 if test -n "$ac_tool_prefix"; then
29278 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29279 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29282 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29283 echo $ECHO_N "(cached) $ECHO_C" >&6
29285 case $PKG_CONFIG in
29287 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29291 for as_dir in $PATH
29294 test -z "$as_dir" && as_dir=.
29295 for ac_exec_ext in '' $ac_executable_extensions; do
29296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29297 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29308 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29309 if test -n "$PKG_CONFIG"; then
29310 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29311 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29313 { echo "$as_me:$LINENO: result: no" >&5
29314 echo "${ECHO_T}no" >&6; }
29319 if test -z "$ac_cv_path_PKG_CONFIG"; then
29320 ac_pt_PKG_CONFIG=$PKG_CONFIG
29321 # Extract the first word of "pkg-config", so it can be a program name with args.
29322 set dummy pkg-config; ac_word=$2
29323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29325 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29326 echo $ECHO_N "(cached) $ECHO_C" >&6
29328 case $ac_pt_PKG_CONFIG in
29330 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29334 for as_dir in $PATH
29337 test -z "$as_dir" && as_dir=.
29338 for ac_exec_ext in '' $ac_executable_extensions; do
29339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29340 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29351 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29352 if test -n "$ac_pt_PKG_CONFIG"; then
29353 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29354 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29356 { echo "$as_me:$LINENO: result: no" >&5
29357 echo "${ECHO_T}no" >&6; }
29360 if test "x$ac_pt_PKG_CONFIG" = x; then
29363 case $cross_compiling:$ac_tool_warned in
29365 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29366 whose name does not start with the host triplet. If you think this
29367 configuration is useful to you, please write to autoconf@gnu.org." >&5
29368 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29369 whose name does not start with the host triplet. If you think this
29370 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29371 ac_tool_warned=yes ;;
29373 PKG_CONFIG=$ac_pt_PKG_CONFIG
29376 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29380 if test -n "$PKG_CONFIG"; then
29381 _pkg_min_version=0.9.0
29382 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29383 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29384 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29385 { echo "$as_me:$LINENO: result: yes" >&5
29386 echo "${ECHO_T}yes" >&6; }
29388 { echo "$as_me:$LINENO: result: no" >&5
29389 echo "${ECHO_T}no" >&6; }
29397 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29398 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29400 if test -n "$PKG_CONFIG"; then
29401 if test -n "$DIRECTFB_CFLAGS"; then
29402 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29404 if test -n "$PKG_CONFIG" && \
29405 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29406 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29409 (exit $ac_status); }; then
29410 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29418 if test -n "$PKG_CONFIG"; then
29419 if test -n "$DIRECTFB_LIBS"; then
29420 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29422 if test -n "$PKG_CONFIG" && \
29423 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29424 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427 (exit $ac_status); }; then
29428 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29439 if test $pkg_failed = yes; then
29441 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29442 _pkg_short_errors_supported=yes
29444 _pkg_short_errors_supported=no
29446 if test $_pkg_short_errors_supported = yes; then
29447 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29449 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29451 # Put the nasty error message in config.log where it belongs
29452 echo "$DIRECTFB_PKG_ERRORS" >&5
29455 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29456 echo "$as_me: error: DirectFB not found." >&2;}
29457 { (exit 1); exit 1; }; }
29460 elif test $pkg_failed = untried; then
29462 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29463 echo "$as_me: error: DirectFB not found." >&2;}
29464 { (exit 1); exit 1; }; }
29468 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29469 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29470 { echo "$as_me:$LINENO: result: yes" >&5
29471 echo "${ECHO_T}yes" >&6; }
29473 wxUSE_UNIVERSAL="yes"
29474 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29475 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29482 if test "$wxUSE_MICROWIN" = 1; then
29483 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29484 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29485 if test "x$MICROWINDOWS" = x ; then
29486 { echo "$as_me:$LINENO: result: not found" >&5
29487 echo "${ECHO_T}not found" >&6; }
29488 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29489 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29490 { (exit 1); exit 1; }; }
29492 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29493 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29496 if test -f $MICROWINDOWS/lib/libmwin.a; then
29497 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
29498 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
29500 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29501 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29502 { (exit 1); exit 1; }; }
29505 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29506 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29508 wxUSE_UNIVERSAL="yes"
29510 AFMINSTALL=afminstall
29512 GUIDIST=MICROWIN_DIST
29514 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29517 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29518 { echo "$as_me:$LINENO: checking for X" >&5
29519 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29522 # Check whether --with-x was given.
29523 if test "${with_x+set}" = set; then
29527 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
29528 if test "x$with_x" = xno; then
29529 # The user explicitly disabled X.
29532 case $x_includes,$x_libraries in #(
29533 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29534 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
29535 { (exit 1); exit 1; }; };; #(
29536 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29537 echo $ECHO_N "(cached) $ECHO_C" >&6
29539 # One or both of the vars are not set, and there is no cached value.
29540 ac_x_includes=no ac_x_libraries=no
29541 rm -f -r conftest.dir
29542 if mkdir conftest.dir; then
29544 cat >Imakefile <<'_ACEOF'
29546 @echo incroot='${INCROOT}'
29548 @echo usrlibdir='${USRLIBDIR}'
29550 @echo libdir='${LIBDIR}'
29552 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29553 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29554 for ac_var in incroot usrlibdir libdir; do
29555 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
29557 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29558 for ac_extension in a so sl; do
29559 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29560 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29561 ac_im_usrlibdir=$ac_im_libdir; break
29564 # Screen out bogus values from the imake configuration. They are
29565 # bogus both because they are the default anyway, and because
29566 # using them would break gcc on systems where it needs fixed includes.
29567 case $ac_im_incroot in
29568 /usr/include) ac_x_includes= ;;
29569 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29571 case $ac_im_usrlibdir in
29572 /usr/lib | /lib) ;;
29573 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29577 rm -f -r conftest.dir
29580 # Standard set of common directories for X headers.
29581 # Check X11 before X11Rn because it is often a symlink to the current release.
29593 /usr
/local
/X
11/include
29594 /usr
/local
/X
11R
6/include
29595 /usr
/local
/X
11R
5/include
29596 /usr
/local
/X
11R
4/include
29598 /usr
/local
/include
/X11
29599 /usr
/local
/include
/X11R6
29600 /usr
/local
/include
/X11R5
29601 /usr
/local
/include
/X11R4
29605 /usr
/XFree
86/include
/X11
29609 /usr
/unsupported
/include
29610 /usr
/athena
/include
29611 /usr
/local
/x
11r
5/include
29612 /usr
/lpp
/Xamples
/include
29614 /usr
/openwin
/include
29615 /usr
/openwin
/share
/include
'
29617 if test "$ac_x_includes" = no; then
29618 # Guess where to find include files, by looking for Xlib.h.
29619 # First, try using that file with no special directory specified.
29620 cat >conftest.$ac_ext <<_ACEOF
29623 cat confdefs.h >>conftest.$ac_ext
29624 cat >>conftest.$ac_ext <<_ACEOF
29625 /* end confdefs.h. */
29626 #include <X11/Xlib.h>
29628 if { (ac_try="$ac_cpp conftest.$ac_ext"
29629 case "(($ac_try" in
29630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29631 *) ac_try_echo=$ac_try;;
29633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29634 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29636 grep -v '^
*+' conftest.er1 >conftest.err
29638 cat conftest.err >&5
29639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29640 (exit $ac_status); } >/dev/null && {
29641 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29642 test ! -s conftest.err
29644 # We can compile using X headers with no special include directory.
29647 echo "$as_me: failed program was:" >&5
29648 sed 's
/^
/| /' conftest.$ac_ext >&5
29650 for ac_dir in $ac_x_header_dirs; do
29651 if test -r "$ac_dir/X11/Xlib.h"; then
29652 ac_x_includes=$ac_dir
29658 rm -f conftest.err conftest.$ac_ext
29659 fi # $ac_x_includes = no
29661 if test "$ac_x_libraries" = no; then
29662 # Check for the libraries.
29663 # See if we find them without any special options.
29664 # Don't add to
$LIBS permanently.
29667 cat >conftest.
$ac_ext <<_ACEOF
29670 cat confdefs.h
>>conftest.
$ac_ext
29671 cat >>conftest.
$ac_ext <<_ACEOF
29672 /* end confdefs.h. */
29673 #include <X11/Xlib.h>
29682 rm -f conftest.
$ac_objext conftest
$ac_exeext
29683 if { (ac_try
="$ac_link"
29684 case "(($ac_try" in
29685 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29686 *) ac_try_echo=$ac_try;;
29688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29689 (eval "$ac_link") 2>conftest.er1
29691 grep -v '^ *+' conftest.er1 >conftest.err
29693 cat conftest.err >&5
29694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29695 (exit $ac_status); } && {
29696 test -z "$ac_c_werror_flag" ||
29697 test ! -s conftest.err
29698 } && test -s conftest$ac_exeext &&
29699 $as_test_x conftest$ac_exeext; then
29701 # We can link X programs with no special library path.
29704 echo "$as_me: failed program was:" >&5
29705 sed 's/^/| /' conftest.$ac_ext >&5
29708 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
29710 # Don't even attempt the hair of trying to link an X program!
29711 for ac_extension in a so sl; do
29712 if test -r "$ac_dir/libX11.$ac_extension"; then
29713 ac_x_libraries=$ac_dir
29720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29721 conftest$ac_exeext conftest.$ac_ext
29722 fi # $ac_x_libraries = no
29724 case $ac_x_includes,$ac_x_libraries in #(
29725 no,* | *,no | *\'*)
29726 # Didn't find X, or a directory has "'" in its name.
29727 ac_cv_have_x="have_x=no";; #(
29729 # Record where we found X for the cache.
29730 ac_cv_have_x="have_x=yes\
29731 ac_x_includes='$ac_x_includes'\
29732 ac_x_libraries='$ac_x_libraries'"
29738 eval "$ac_cv_have_x"
29741 if test "$have_x" != yes; then
29742 { echo "$as_me:$LINENO: result: $have_x" >&5
29743 echo "${ECHO_T}$have_x" >&6; }
29746 # If each of the values was on the command line, it overrides each guess.
29747 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29748 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29749 # Update the cache value to reflect the command line values.
29750 ac_cv_have_x="have_x=yes\
29751 ac_x_includes='$x_includes'\
29752 ac_x_libraries='$x_libraries'"
29753 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29754 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29757 if test "$no_x" = yes; then
29758 # Not all programs may use this symbol, but it does not hurt to define it.
29760 cat >>confdefs.h <<\_ACEOF
29761 #define X_DISPLAY_MISSING 1
29764 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29766 if test -n "$x_includes"; then
29767 X_CFLAGS="$X_CFLAGS -I$x_includes"
29770 # It would also be nice to do this for all -L options, not just this one.
29771 if test -n "$x_libraries"; then
29772 X_LIBS="$X_LIBS -L$x_libraries"
29773 # For Solaris; some versions of Sun CC require a space after -R and
29774 # others require no space. Words are not sufficient . . . .
29775 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29776 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29777 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29778 ac_xsave_c_werror_flag=$ac_c_werror_flag
29779 ac_c_werror_flag=yes
29780 cat >conftest.$ac_ext <<_ACEOF
29783 cat confdefs.h >>conftest.$ac_ext
29784 cat >>conftest.$ac_ext <<_ACEOF
29785 /* end confdefs.h. */
29795 rm -f conftest.$ac_objext conftest$ac_exeext
29796 if { (ac_try="$ac_link"
29797 case "(($ac_try" in
29798 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29799 *) ac_try_echo
=$ac_try;;
29801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29802 (eval "$ac_link") 2>conftest.er1
29804 grep -v '^ *+' conftest.er1
>conftest.err
29806 cat conftest.err
>&5
29807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29808 (exit $ac_status); } && {
29809 test -z "$ac_c_werror_flag" ||
29810 test ! -s conftest.err
29811 } && test -s conftest
$ac_exeext &&
29812 $as_test_x conftest
$ac_exeext; then
29813 { echo "$as_me:$LINENO: result: no" >&5
29814 echo "${ECHO_T}no" >&6; }
29815 X_LIBS
="$X_LIBS -R$x_libraries"
29817 echo "$as_me: failed program was:" >&5
29818 sed 's/^/| /' conftest.
$ac_ext >&5
29820 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29821 cat >conftest.
$ac_ext <<_ACEOF
29824 cat confdefs.h
>>conftest.
$ac_ext
29825 cat >>conftest.
$ac_ext <<_ACEOF
29826 /* end confdefs.h. */
29836 rm -f conftest.
$ac_objext conftest
$ac_exeext
29837 if { (ac_try
="$ac_link"
29838 case "(($ac_try" in
29839 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29840 *) ac_try_echo=$ac_try;;
29842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29843 (eval "$ac_link") 2>conftest.er1
29845 grep -v '^ *+' conftest.er1 >conftest.err
29847 cat conftest.err >&5
29848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29849 (exit $ac_status); } && {
29850 test -z "$ac_c_werror_flag" ||
29851 test ! -s conftest.err
29852 } && test -s conftest$ac_exeext &&
29853 $as_test_x conftest$ac_exeext; then
29854 { echo "$as_me:$LINENO: result: yes" >&5
29855 echo "${ECHO_T}yes" >&6; }
29856 X_LIBS="$X_LIBS -R $x_libraries"
29858 echo "$as_me: failed program was:" >&5
29859 sed 's/^/| /' conftest.$ac_ext >&5
29861 { echo "$as_me:$LINENO: result: neither works" >&5
29862 echo "${ECHO_T}neither works" >&6; }
29865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29866 conftest$ac_exeext conftest.$ac_ext
29869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29870 conftest$ac_exeext conftest.$ac_ext
29871 ac_c_werror_flag=$ac_xsave_c_werror_flag
29872 LIBS=$ac_xsave_LIBS
29875 # Check for system-dependent libraries X programs must link with.
29876 # Do this before checking for the system-independent R6 libraries
29877 # (-lICE), since we may need -lsocket or whatever for X linking.
29879 if test "$ISC" = yes; then
29880 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29882 # Martyn Johnson says this is needed for Ultrix, if the X
29883 # libraries were built with DECnet support. And Karl Berry says
29884 # the Alpha needs dnet_stub (dnet does not exist).
29885 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29886 cat >conftest.$ac_ext <<_ACEOF
29889 cat confdefs.h >>conftest.$ac_ext
29890 cat >>conftest.$ac_ext <<_ACEOF
29891 /* end confdefs.h. */
29893 /* Override any GCC internal prototype to avoid an error.
29894 Use char because int might match the return type of a GCC
29895 builtin and then its argument prototype would still apply. */
29899 char XOpenDisplay ();
29903 return XOpenDisplay ();
29908 rm -f conftest.$ac_objext conftest$ac_exeext
29909 if { (ac_try="$ac_link"
29910 case "(($ac_try" in
29911 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29912 *) ac_try_echo
=$ac_try;;
29914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29915 (eval "$ac_link") 2>conftest.er1
29917 grep -v '^ *+' conftest.er1
>conftest.err
29919 cat conftest.err
>&5
29920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29921 (exit $ac_status); } && {
29922 test -z "$ac_c_werror_flag" ||
29923 test ! -s conftest.err
29924 } && test -s conftest
$ac_exeext &&
29925 $as_test_x conftest
$ac_exeext; then
29928 echo "$as_me: failed program was:" >&5
29929 sed 's/^/| /' conftest.
$ac_ext >&5
29931 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29932 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29933 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29934 echo $ECHO_N "(cached) $ECHO_C" >&6
29936 ac_check_lib_save_LIBS
=$LIBS
29937 LIBS
="-ldnet $LIBS"
29938 cat >conftest.
$ac_ext <<_ACEOF
29941 cat confdefs.h
>>conftest.
$ac_ext
29942 cat >>conftest.
$ac_ext <<_ACEOF
29943 /* end confdefs.h. */
29945 /* Override any GCC internal prototype to avoid an error.
29946 Use char because int might match the return type of a GCC
29947 builtin and then its argument prototype would still apply. */
29955 return dnet_ntoa ();
29960 rm -f conftest.
$ac_objext conftest
$ac_exeext
29961 if { (ac_try
="$ac_link"
29962 case "(($ac_try" in
29963 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29964 *) ac_try_echo=$ac_try;;
29966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29967 (eval "$ac_link") 2>conftest.er1
29969 grep -v '^ *+' conftest.er1 >conftest.err
29971 cat conftest.err >&5
29972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29973 (exit $ac_status); } && {
29974 test -z "$ac_c_werror_flag" ||
29975 test ! -s conftest.err
29976 } && test -s conftest$ac_exeext &&
29977 $as_test_x conftest$ac_exeext; then
29978 ac_cv_lib_dnet_dnet_ntoa=yes
29980 echo "$as_me: failed program was:" >&5
29981 sed 's/^/| /' conftest.$ac_ext >&5
29983 ac_cv_lib_dnet_dnet_ntoa=no
29986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29987 conftest$ac_exeext conftest.$ac_ext
29988 LIBS=$ac_check_lib_save_LIBS
29990 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29991 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29992 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29993 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29996 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29997 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29998 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29999 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30000 echo $ECHO_N "(cached) $ECHO_C" >&6
30002 ac_check_lib_save_LIBS=$LIBS
30003 LIBS="-ldnet_stub $LIBS"
30004 cat >conftest.$ac_ext <<_ACEOF
30007 cat confdefs.h >>conftest.$ac_ext
30008 cat >>conftest.$ac_ext <<_ACEOF
30009 /* end confdefs.h. */
30011 /* Override any GCC internal prototype to avoid an error.
30012 Use char because int might match the return type of a GCC
30013 builtin and then its argument prototype would still apply. */
30021 return dnet_ntoa ();
30026 rm -f conftest.$ac_objext conftest$ac_exeext
30027 if { (ac_try="$ac_link"
30028 case "(($ac_try" in
30029 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30030 *) ac_try_echo
=$ac_try;;
30032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30033 (eval "$ac_link") 2>conftest.er1
30035 grep -v '^ *+' conftest.er1
>conftest.err
30037 cat conftest.err
>&5
30038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30039 (exit $ac_status); } && {
30040 test -z "$ac_c_werror_flag" ||
30041 test ! -s conftest.err
30042 } && test -s conftest
$ac_exeext &&
30043 $as_test_x conftest
$ac_exeext; then
30044 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30046 echo "$as_me: failed program was:" >&5
30047 sed 's/^/| /' conftest.
$ac_ext >&5
30049 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30052 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30053 conftest
$ac_exeext conftest.
$ac_ext
30054 LIBS
=$ac_check_lib_save_LIBS
30056 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30057 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30058 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30059 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30065 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30066 conftest
$ac_exeext conftest.
$ac_ext
30067 LIBS
="$ac_xsave_LIBS"
30069 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30070 # to get the SysV transport functions.
30071 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30073 # The nsl library prevents programs from opening the X display
30074 # on Irix 5.2, according to T.E. Dickey.
30075 # The functions gethostbyname, getservbyname, and inet_addr are
30076 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30077 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30078 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30079 if test "${ac_cv_func_gethostbyname+set}" = set; then
30080 echo $ECHO_N "(cached) $ECHO_C" >&6
30082 cat >conftest.
$ac_ext <<_ACEOF
30085 cat confdefs.h
>>conftest.
$ac_ext
30086 cat >>conftest.
$ac_ext <<_ACEOF
30087 /* end confdefs.h. */
30088 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30090 #define gethostbyname innocuous_gethostbyname
30092 /* System header to define __stub macros and hopefully few prototypes,
30093 which can conflict with char gethostbyname (); below.
30094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30095 <limits.h> exists even on freestanding compilers. */
30098 # include <limits.h>
30100 # include <assert.h>
30103 #undef gethostbyname
30105 /* Override any GCC internal prototype to avoid an error.
30106 Use char because int might match the return type of a GCC
30107 builtin and then its argument prototype would still apply. */
30111 char gethostbyname ();
30112 /* The GNU C library defines this for functions which it implements
30113 to always fail with ENOSYS. Some functions are actually named
30114 something starting with __ and the normal name is an alias. */
30115 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30122 return gethostbyname ();
30127 rm -f conftest.
$ac_objext conftest
$ac_exeext
30128 if { (ac_try
="$ac_link"
30129 case "(($ac_try" in
30130 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30131 *) ac_try_echo=$ac_try;;
30133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30134 (eval "$ac_link") 2>conftest.er1
30136 grep -v '^ *+' conftest.er1 >conftest.err
30138 cat conftest.err >&5
30139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30140 (exit $ac_status); } && {
30141 test -z "$ac_c_werror_flag" ||
30142 test ! -s conftest.err
30143 } && test -s conftest$ac_exeext &&
30144 $as_test_x conftest$ac_exeext; then
30145 ac_cv_func_gethostbyname=yes
30147 echo "$as_me: failed program was:" >&5
30148 sed 's/^/| /' conftest.$ac_ext >&5
30150 ac_cv_func_gethostbyname=no
30153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30154 conftest$ac_exeext conftest.$ac_ext
30156 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30157 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30159 if test $ac_cv_func_gethostbyname = no; then
30160 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30161 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30162 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30163 echo $ECHO_N "(cached) $ECHO_C" >&6
30165 ac_check_lib_save_LIBS=$LIBS
30167 cat >conftest.$ac_ext <<_ACEOF
30170 cat confdefs.h >>conftest.$ac_ext
30171 cat >>conftest.$ac_ext <<_ACEOF
30172 /* end confdefs.h. */
30174 /* Override any GCC internal prototype to avoid an error.
30175 Use char because int might match the return type of a GCC
30176 builtin and then its argument prototype would still apply. */
30180 char gethostbyname ();
30184 return gethostbyname ();
30189 rm -f conftest.$ac_objext conftest$ac_exeext
30190 if { (ac_try="$ac_link"
30191 case "(($ac_try" in
30192 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30193 *) ac_try_echo
=$ac_try;;
30195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30196 (eval "$ac_link") 2>conftest.er1
30198 grep -v '^ *+' conftest.er1
>conftest.err
30200 cat conftest.err
>&5
30201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30202 (exit $ac_status); } && {
30203 test -z "$ac_c_werror_flag" ||
30204 test ! -s conftest.err
30205 } && test -s conftest
$ac_exeext &&
30206 $as_test_x conftest
$ac_exeext; then
30207 ac_cv_lib_nsl_gethostbyname
=yes
30209 echo "$as_me: failed program was:" >&5
30210 sed 's/^/| /' conftest.
$ac_ext >&5
30212 ac_cv_lib_nsl_gethostbyname
=no
30215 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30216 conftest
$ac_exeext conftest.
$ac_ext
30217 LIBS
=$ac_check_lib_save_LIBS
30219 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30220 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30221 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30222 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30225 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30226 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30227 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30228 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30229 echo $ECHO_N "(cached) $ECHO_C" >&6
30231 ac_check_lib_save_LIBS
=$LIBS
30233 cat >conftest.
$ac_ext <<_ACEOF
30236 cat confdefs.h
>>conftest.
$ac_ext
30237 cat >>conftest.
$ac_ext <<_ACEOF
30238 /* end confdefs.h. */
30240 /* Override any GCC internal prototype to avoid an error.
30241 Use char because int might match the return type of a GCC
30242 builtin and then its argument prototype would still apply. */
30246 char gethostbyname ();
30250 return gethostbyname ();
30255 rm -f conftest.
$ac_objext conftest
$ac_exeext
30256 if { (ac_try
="$ac_link"
30257 case "(($ac_try" in
30258 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30259 *) ac_try_echo=$ac_try;;
30261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30262 (eval "$ac_link") 2>conftest.er1
30264 grep -v '^ *+' conftest.er1 >conftest.err
30266 cat conftest.err >&5
30267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30268 (exit $ac_status); } && {
30269 test -z "$ac_c_werror_flag" ||
30270 test ! -s conftest.err
30271 } && test -s conftest$ac_exeext &&
30272 $as_test_x conftest$ac_exeext; then
30273 ac_cv_lib_bsd_gethostbyname=yes
30275 echo "$as_me: failed program was:" >&5
30276 sed 's/^/| /' conftest.$ac_ext >&5
30278 ac_cv_lib_bsd_gethostbyname=no
30281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30282 conftest$ac_exeext conftest.$ac_ext
30283 LIBS=$ac_check_lib_save_LIBS
30285 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30286 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30287 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30288 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30294 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30295 # socket/setsockopt and other routines are undefined under SCO ODT
30296 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30297 # on later versions), says Simon Leinen: it contains gethostby*
30298 # variants that don't use the name server (or something). -lsocket
30299 # must be given before -lnsl if both are needed. We assume that
30300 # if connect needs -lnsl, so does gethostbyname.
30301 { echo "$as_me:$LINENO: checking for connect" >&5
30302 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30303 if test "${ac_cv_func_connect+set}" = set; then
30304 echo $ECHO_N "(cached) $ECHO_C" >&6
30306 cat >conftest.$ac_ext <<_ACEOF
30309 cat confdefs.h >>conftest.$ac_ext
30310 cat >>conftest.$ac_ext <<_ACEOF
30311 /* end confdefs.h. */
30312 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30314 #define connect innocuous_connect
30316 /* System header to define __stub macros and hopefully few prototypes,
30317 which can conflict with char connect (); below.
30318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30319 <limits.h> exists even on freestanding compilers. */
30322 # include <limits.h>
30324 # include <assert.h>
30329 /* Override any GCC internal prototype to avoid an error.
30330 Use char because int might match the return type of a GCC
30331 builtin and then its argument prototype would still apply. */
30336 /* The GNU C library defines this for functions which it implements
30337 to always fail with ENOSYS. Some functions are actually named
30338 something starting with __ and the normal name is an alias. */
30339 #if defined __stub_connect || defined __stub___connect
30351 rm -f conftest.$ac_objext conftest$ac_exeext
30352 if { (ac_try="$ac_link"
30353 case "(($ac_try" in
30354 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30355 *) ac_try_echo
=$ac_try;;
30357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30358 (eval "$ac_link") 2>conftest.er1
30360 grep -v '^ *+' conftest.er1
>conftest.err
30362 cat conftest.err
>&5
30363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30364 (exit $ac_status); } && {
30365 test -z "$ac_c_werror_flag" ||
30366 test ! -s conftest.err
30367 } && test -s conftest
$ac_exeext &&
30368 $as_test_x conftest
$ac_exeext; then
30369 ac_cv_func_connect
=yes
30371 echo "$as_me: failed program was:" >&5
30372 sed 's/^/| /' conftest.
$ac_ext >&5
30374 ac_cv_func_connect
=no
30377 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30378 conftest
$ac_exeext conftest.
$ac_ext
30380 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30381 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30383 if test $ac_cv_func_connect = no
; then
30384 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30385 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30386 if test "${ac_cv_lib_socket_connect+set}" = set; then
30387 echo $ECHO_N "(cached) $ECHO_C" >&6
30389 ac_check_lib_save_LIBS
=$LIBS
30390 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30391 cat >conftest.
$ac_ext <<_ACEOF
30394 cat confdefs.h
>>conftest.
$ac_ext
30395 cat >>conftest.
$ac_ext <<_ACEOF
30396 /* end confdefs.h. */
30398 /* Override any GCC internal prototype to avoid an error.
30399 Use char because int might match the return type of a GCC
30400 builtin and then its argument prototype would still apply. */
30413 rm -f conftest.
$ac_objext conftest
$ac_exeext
30414 if { (ac_try
="$ac_link"
30415 case "(($ac_try" in
30416 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30417 *) ac_try_echo=$ac_try;;
30419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30420 (eval "$ac_link") 2>conftest.er1
30422 grep -v '^ *+' conftest.er1 >conftest.err
30424 cat conftest.err >&5
30425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30426 (exit $ac_status); } && {
30427 test -z "$ac_c_werror_flag" ||
30428 test ! -s conftest.err
30429 } && test -s conftest$ac_exeext &&
30430 $as_test_x conftest$ac_exeext; then
30431 ac_cv_lib_socket_connect=yes
30433 echo "$as_me: failed program was:" >&5
30434 sed 's/^/| /' conftest.$ac_ext >&5
30436 ac_cv_lib_socket_connect=no
30439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30440 conftest$ac_exeext conftest.$ac_ext
30441 LIBS=$ac_check_lib_save_LIBS
30443 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30444 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30445 if test $ac_cv_lib_socket_connect = yes; then
30446 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30451 # Guillermo Gomez says -lposix is necessary on A/UX.
30452 { echo "$as_me:$LINENO: checking for remove" >&5
30453 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30454 if test "${ac_cv_func_remove+set}" = set; then
30455 echo $ECHO_N "(cached) $ECHO_C" >&6
30457 cat >conftest.$ac_ext <<_ACEOF
30460 cat confdefs.h >>conftest.$ac_ext
30461 cat >>conftest.$ac_ext <<_ACEOF
30462 /* end confdefs.h. */
30463 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30465 #define remove innocuous_remove
30467 /* System header to define __stub macros and hopefully few prototypes,
30468 which can conflict with char remove (); below.
30469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30470 <limits.h> exists even on freestanding compilers. */
30473 # include <limits.h>
30475 # include <assert.h>
30480 /* Override any GCC internal prototype to avoid an error.
30481 Use char because int might match the return type of a GCC
30482 builtin and then its argument prototype would still apply. */
30487 /* The GNU C library defines this for functions which it implements
30488 to always fail with ENOSYS. Some functions are actually named
30489 something starting with __ and the normal name is an alias. */
30490 #if defined __stub_remove || defined __stub___remove
30502 rm -f conftest.$ac_objext conftest$ac_exeext
30503 if { (ac_try="$ac_link"
30504 case "(($ac_try" in
30505 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30506 *) ac_try_echo
=$ac_try;;
30508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30509 (eval "$ac_link") 2>conftest.er1
30511 grep -v '^ *+' conftest.er1
>conftest.err
30513 cat conftest.err
>&5
30514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30515 (exit $ac_status); } && {
30516 test -z "$ac_c_werror_flag" ||
30517 test ! -s conftest.err
30518 } && test -s conftest
$ac_exeext &&
30519 $as_test_x conftest
$ac_exeext; then
30520 ac_cv_func_remove
=yes
30522 echo "$as_me: failed program was:" >&5
30523 sed 's/^/| /' conftest.
$ac_ext >&5
30525 ac_cv_func_remove
=no
30528 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30529 conftest
$ac_exeext conftest.
$ac_ext
30531 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30532 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30534 if test $ac_cv_func_remove = no
; then
30535 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30536 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30537 if test "${ac_cv_lib_posix_remove+set}" = set; then
30538 echo $ECHO_N "(cached) $ECHO_C" >&6
30540 ac_check_lib_save_LIBS
=$LIBS
30541 LIBS
="-lposix $LIBS"
30542 cat >conftest.
$ac_ext <<_ACEOF
30545 cat confdefs.h
>>conftest.
$ac_ext
30546 cat >>conftest.
$ac_ext <<_ACEOF
30547 /* end confdefs.h. */
30549 /* Override any GCC internal prototype to avoid an error.
30550 Use char because int might match the return type of a GCC
30551 builtin and then its argument prototype would still apply. */
30564 rm -f conftest.
$ac_objext conftest
$ac_exeext
30565 if { (ac_try
="$ac_link"
30566 case "(($ac_try" in
30567 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30568 *) ac_try_echo=$ac_try;;
30570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30571 (eval "$ac_link") 2>conftest.er1
30573 grep -v '^ *+' conftest.er1 >conftest.err
30575 cat conftest.err >&5
30576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30577 (exit $ac_status); } && {
30578 test -z "$ac_c_werror_flag" ||
30579 test ! -s conftest.err
30580 } && test -s conftest$ac_exeext &&
30581 $as_test_x conftest$ac_exeext; then
30582 ac_cv_lib_posix_remove=yes
30584 echo "$as_me: failed program was:" >&5
30585 sed 's/^/| /' conftest.$ac_ext >&5
30587 ac_cv_lib_posix_remove=no
30590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30591 conftest$ac_exeext conftest.$ac_ext
30592 LIBS=$ac_check_lib_save_LIBS
30594 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30595 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30596 if test $ac_cv_lib_posix_remove = yes; then
30597 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30602 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30603 { echo "$as_me:$LINENO: checking for shmat" >&5
30604 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30605 if test "${ac_cv_func_shmat+set}" = set; then
30606 echo $ECHO_N "(cached) $ECHO_C" >&6
30608 cat >conftest.$ac_ext <<_ACEOF
30611 cat confdefs.h >>conftest.$ac_ext
30612 cat >>conftest.$ac_ext <<_ACEOF
30613 /* end confdefs.h. */
30614 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30616 #define shmat innocuous_shmat
30618 /* System header to define __stub macros and hopefully few prototypes,
30619 which can conflict with char shmat (); below.
30620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30621 <limits.h> exists even on freestanding compilers. */
30624 # include <limits.h>
30626 # include <assert.h>
30631 /* Override any GCC internal prototype to avoid an error.
30632 Use char because int might match the return type of a GCC
30633 builtin and then its argument prototype would still apply. */
30638 /* The GNU C library defines this for functions which it implements
30639 to always fail with ENOSYS. Some functions are actually named
30640 something starting with __ and the normal name is an alias. */
30641 #if defined __stub_shmat || defined __stub___shmat
30653 rm -f conftest.$ac_objext conftest$ac_exeext
30654 if { (ac_try="$ac_link"
30655 case "(($ac_try" in
30656 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30657 *) ac_try_echo
=$ac_try;;
30659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30660 (eval "$ac_link") 2>conftest.er1
30662 grep -v '^ *+' conftest.er1
>conftest.err
30664 cat conftest.err
>&5
30665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30666 (exit $ac_status); } && {
30667 test -z "$ac_c_werror_flag" ||
30668 test ! -s conftest.err
30669 } && test -s conftest
$ac_exeext &&
30670 $as_test_x conftest
$ac_exeext; then
30671 ac_cv_func_shmat
=yes
30673 echo "$as_me: failed program was:" >&5
30674 sed 's/^/| /' conftest.
$ac_ext >&5
30676 ac_cv_func_shmat
=no
30679 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30680 conftest
$ac_exeext conftest.
$ac_ext
30682 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30683 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30685 if test $ac_cv_func_shmat = no
; then
30686 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30687 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30688 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30689 echo $ECHO_N "(cached) $ECHO_C" >&6
30691 ac_check_lib_save_LIBS
=$LIBS
30693 cat >conftest.
$ac_ext <<_ACEOF
30696 cat confdefs.h
>>conftest.
$ac_ext
30697 cat >>conftest.
$ac_ext <<_ACEOF
30698 /* end confdefs.h. */
30700 /* Override any GCC internal prototype to avoid an error.
30701 Use char because int might match the return type of a GCC
30702 builtin and then its argument prototype would still apply. */
30715 rm -f conftest.
$ac_objext conftest
$ac_exeext
30716 if { (ac_try
="$ac_link"
30717 case "(($ac_try" in
30718 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30719 *) ac_try_echo=$ac_try;;
30721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30722 (eval "$ac_link") 2>conftest.er1
30724 grep -v '^ *+' conftest.er1 >conftest.err
30726 cat conftest.err >&5
30727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30728 (exit $ac_status); } && {
30729 test -z "$ac_c_werror_flag" ||
30730 test ! -s conftest.err
30731 } && test -s conftest$ac_exeext &&
30732 $as_test_x conftest$ac_exeext; then
30733 ac_cv_lib_ipc_shmat=yes
30735 echo "$as_me: failed program was:" >&5
30736 sed 's/^/| /' conftest.$ac_ext >&5
30738 ac_cv_lib_ipc_shmat=no
30741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30742 conftest$ac_exeext conftest.$ac_ext
30743 LIBS=$ac_check_lib_save_LIBS
30745 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30746 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30747 if test $ac_cv_lib_ipc_shmat = yes; then
30748 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30754 # Check for libraries that X11R6 Xt/Xaw programs need.
30755 ac_save_LDFLAGS=$LDFLAGS
30756 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30757 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30758 # check for ICE first), but we must link in the order -lSM -lICE or
30759 # we get undefined symbols. So assume we have SM if we have ICE.
30760 # These have to be linked with before -lX11, unlike the other
30761 # libraries we check for below, so use a different variable.
30762 # John Interrante, Karl Berry
30763 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30764 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30765 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30766 echo $ECHO_N "(cached) $ECHO_C" >&6
30768 ac_check_lib_save_LIBS=$LIBS
30769 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30770 cat >conftest.$ac_ext <<_ACEOF
30773 cat confdefs.h >>conftest.$ac_ext
30774 cat >>conftest.$ac_ext <<_ACEOF
30775 /* end confdefs.h. */
30777 /* Override any GCC internal prototype to avoid an error.
30778 Use char because int might match the return type of a GCC
30779 builtin and then its argument prototype would still apply. */
30783 char IceConnectionNumber ();
30787 return IceConnectionNumber ();
30792 rm -f conftest.$ac_objext conftest$ac_exeext
30793 if { (ac_try="$ac_link"
30794 case "(($ac_try" in
30795 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30796 *) ac_try_echo
=$ac_try;;
30798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30799 (eval "$ac_link") 2>conftest.er1
30801 grep -v '^ *+' conftest.er1
>conftest.err
30803 cat conftest.err
>&5
30804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30805 (exit $ac_status); } && {
30806 test -z "$ac_c_werror_flag" ||
30807 test ! -s conftest.err
30808 } && test -s conftest
$ac_exeext &&
30809 $as_test_x conftest
$ac_exeext; then
30810 ac_cv_lib_ICE_IceConnectionNumber
=yes
30812 echo "$as_me: failed program was:" >&5
30813 sed 's/^/| /' conftest.
$ac_ext >&5
30815 ac_cv_lib_ICE_IceConnectionNumber
=no
30818 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30819 conftest
$ac_exeext conftest.
$ac_ext
30820 LIBS
=$ac_check_lib_save_LIBS
30822 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30823 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30824 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30825 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30828 LDFLAGS
=$ac_save_LDFLAGS
30833 if test "$no_x" = "yes"; then
30834 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30835 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30836 { (exit 1); exit 1; }; }
30839 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30840 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30841 AFMINSTALL
=afminstall
30842 COMPILED_X_PROGRAM
=0
30846 if test "$wxUSE_X11" = 1; then
30847 if test "$wxUSE_NANOX" = "yes"; then
30848 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30849 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30850 if test "x$MICROWIN" = x
; then
30851 { echo "$as_me:$LINENO: result: not found" >&5
30852 echo "${ECHO_T}not found" >&6; }
30853 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30854 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30855 { (exit 1); exit 1; }; }
30857 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30858 echo "${ECHO_T}$MICROWIN" >&6; }
30859 cat >>confdefs.h
<<\_ACEOF
30860 #define wxUSE_NANOX 1
30866 if test "$wxUSE_UNICODE" = "yes"; then
30869 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30870 if test -n "$ac_tool_prefix"; then
30871 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30872 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30875 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30876 echo $ECHO_N "(cached) $ECHO_C" >&6
30878 case $PKG_CONFIG in
30880 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30884 for as_dir
in $PATH
30887 test -z "$as_dir" && as_dir
=.
30888 for ac_exec_ext
in '' $ac_executable_extensions; do
30889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30890 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30901 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30902 if test -n "$PKG_CONFIG"; then
30903 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30904 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30906 { echo "$as_me:$LINENO: result: no" >&5
30907 echo "${ECHO_T}no" >&6; }
30912 if test -z "$ac_cv_path_PKG_CONFIG"; then
30913 ac_pt_PKG_CONFIG
=$PKG_CONFIG
30914 # Extract the first word of "pkg-config", so it can be a program name with args.
30915 set dummy pkg
-config; ac_word
=$2
30916 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30918 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30919 echo $ECHO_N "(cached) $ECHO_C" >&6
30921 case $ac_pt_PKG_CONFIG in
30923 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30927 for as_dir
in $PATH
30930 test -z "$as_dir" && as_dir
=.
30931 for ac_exec_ext
in '' $ac_executable_extensions; do
30932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30933 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30944 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
30945 if test -n "$ac_pt_PKG_CONFIG"; then
30946 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30947 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30949 { echo "$as_me:$LINENO: result: no" >&5
30950 echo "${ECHO_T}no" >&6; }
30953 if test "x$ac_pt_PKG_CONFIG" = x
; then
30956 case $cross_compiling:$ac_tool_warned in
30958 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30959 whose name does not start with the host triplet. If you think this
30960 configuration is useful to you, please write to autoconf@gnu.org." >&5
30961 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30962 whose name does not start with the host triplet. If you think this
30963 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30964 ac_tool_warned
=yes ;;
30966 PKG_CONFIG
=$ac_pt_PKG_CONFIG
30969 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
30973 if test -n "$PKG_CONFIG"; then
30974 _pkg_min_version
=0.9.0
30975 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30976 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30977 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30978 { echo "$as_me:$LINENO: result: yes" >&5
30979 echo "${ECHO_T}yes" >&6; }
30981 { echo "$as_me:$LINENO: result: no" >&5
30982 echo "${ECHO_T}no" >&6; }
30990 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30991 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30993 if test -n "$PKG_CONFIG"; then
30994 if test -n "$PANGOX_CFLAGS"; then
30995 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
30997 if test -n "$PKG_CONFIG" && \
30998 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30999 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31002 (exit $ac_status); }; then
31003 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31011 if test -n "$PKG_CONFIG"; then
31012 if test -n "$PANGOX_LIBS"; then
31013 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31015 if test -n "$PKG_CONFIG" && \
31016 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31017 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31020 (exit $ac_status); }; then
31021 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31032 if test $pkg_failed = yes; then
31034 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31035 _pkg_short_errors_supported
=yes
31037 _pkg_short_errors_supported
=no
31039 if test $_pkg_short_errors_supported = yes; then
31040 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31042 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31044 # Put the nasty error message in config.log where it belongs
31045 echo "$PANGOX_PKG_ERRORS" >&5
31048 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31049 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31050 { (exit 1); exit 1; }; }
31053 elif test $pkg_failed = untried
; then
31055 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31056 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31057 { (exit 1); exit 1; }; }
31061 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31062 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31063 { echo "$as_me:$LINENO: result: yes" >&5
31064 echo "${ECHO_T}yes" >&6; }
31066 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31067 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31068 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31073 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31074 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31076 if test -n "$PKG_CONFIG"; then
31077 if test -n "$PANGOFT2_CFLAGS"; then
31078 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31080 if test -n "$PKG_CONFIG" && \
31081 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31082 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31085 (exit $ac_status); }; then
31086 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31094 if test -n "$PKG_CONFIG"; then
31095 if test -n "$PANGOFT2_LIBS"; then
31096 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31098 if test -n "$PKG_CONFIG" && \
31099 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31100 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31103 (exit $ac_status); }; then
31104 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31115 if test $pkg_failed = yes; then
31117 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31118 _pkg_short_errors_supported
=yes
31120 _pkg_short_errors_supported
=no
31122 if test $_pkg_short_errors_supported = yes; then
31123 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31125 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31127 # Put the nasty error message in config.log where it belongs
31128 echo "$PANGOFT2_PKG_ERRORS" >&5
31131 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31132 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31133 wxUSE_PRINTING_ARCHITECTURE
="no"
31136 elif test $pkg_failed = untried
; then
31138 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31139 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31140 wxUSE_PRINTING_ARCHITECTURE
="no"
31144 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31145 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31146 { echo "$as_me:$LINENO: result: yes" >&5
31147 echo "${ECHO_T}yes" >&6; }
31149 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31150 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31151 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31156 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31157 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31159 if test -n "$PKG_CONFIG"; then
31160 if test -n "$PANGOXFT_CFLAGS"; then
31161 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31163 if test -n "$PKG_CONFIG" && \
31164 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31165 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31168 (exit $ac_status); }; then
31169 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31177 if test -n "$PKG_CONFIG"; then
31178 if test -n "$PANGOXFT_LIBS"; then
31179 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31181 if test -n "$PKG_CONFIG" && \
31182 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31183 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31186 (exit $ac_status); }; then
31187 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31198 if test $pkg_failed = yes; then
31200 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31201 _pkg_short_errors_supported
=yes
31203 _pkg_short_errors_supported
=no
31205 if test $_pkg_short_errors_supported = yes; then
31206 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31208 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31210 # Put the nasty error message in config.log where it belongs
31211 echo "$PANGOXFT_PKG_ERRORS" >&5
31214 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31215 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31218 elif test $pkg_failed = untried
; then
31220 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31221 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31225 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31226 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31227 { echo "$as_me:$LINENO: result: yes" >&5
31228 echo "${ECHO_T}yes" >&6; }
31230 cat >>confdefs.h
<<\_ACEOF
31231 #define HAVE_PANGO_XFT 1
31234 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31235 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31236 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31240 LIBS
="$LIBS $PANGOX_LIBS"
31242 for ac_func
in pango_font_family_is_monospace
31244 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31245 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31247 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31248 echo $ECHO_N "(cached) $ECHO_C" >&6
31250 cat >conftest.
$ac_ext <<_ACEOF
31253 cat confdefs.h
>>conftest.
$ac_ext
31254 cat >>conftest.
$ac_ext <<_ACEOF
31255 /* end confdefs.h. */
31256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31258 #define $ac_func innocuous_$ac_func
31260 /* System header to define __stub macros and hopefully few prototypes,
31261 which can conflict with char $ac_func (); below.
31262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31263 <limits.h> exists even on freestanding compilers. */
31266 # include <limits.h>
31268 # include <assert.h>
31273 /* Override any GCC internal prototype to avoid an error.
31274 Use char because int might match the return type of a GCC
31275 builtin and then its argument prototype would still apply. */
31280 /* The GNU C library defines this for functions which it implements
31281 to always fail with ENOSYS. Some functions are actually named
31282 something starting with __ and the normal name is an alias. */
31283 #if defined __stub_$ac_func || defined __stub___$ac_func
31290 return $ac_func ();
31295 rm -f conftest.
$ac_objext conftest
$ac_exeext
31296 if { (ac_try
="$ac_link"
31297 case "(($ac_try" in
31298 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31299 *) ac_try_echo=$ac_try;;
31301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31302 (eval "$ac_link") 2>conftest.er1
31304 grep -v '^ *+' conftest.er1 >conftest.err
31306 cat conftest.err >&5
31307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31308 (exit $ac_status); } && {
31309 test -z "$ac_c_werror_flag" ||
31310 test ! -s conftest.err
31311 } && test -s conftest$ac_exeext &&
31312 $as_test_x conftest$ac_exeext; then
31313 eval "$as_ac_var=yes"
31315 echo "$as_me: failed program was:" >&5
31316 sed 's/^/| /' conftest.$ac_ext >&5
31318 eval "$as_ac_var=no"
31321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31322 conftest$ac_exeext conftest.$ac_ext
31324 ac_res=`eval echo '${'$as_ac_var'}'`
31325 { echo "$as_me:$LINENO: result: $ac_res" >&5
31326 echo "${ECHO_T}$ac_res" >&6; }
31327 if test `eval echo '${'$as_ac_var'}'` = yes; then
31328 cat >>confdefs.h <<_ACEOF
31329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31338 wxUSE_UNIVERSAL="yes"
31340 if test "$wxUSE_NANOX" = "yes"; then
31341 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31342 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"
31343 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31345 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31352 if test "$wxUSE_MOTIF" = 1; then
31353 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31354 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31357 for ac_dir in $SEARCH_INCLUDE /usr/include;
31359 if test -f "$ac_dir/Xm/Xm.h"; then
31360 ac_find_includes=$ac_dir
31365 if test "$ac_find_includes" != "" ; then
31366 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31367 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31369 if test "x$ac_find_includes" = "x/usr/include"; then
31370 ac_path_to_include=""
31372 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31374 if test $result = 0; then
31375 ac_path_to_include=""
31377 ac_path_to_include=" -I$ac_find_includes"
31381 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31383 save_CFLAGS=$CFLAGS
31384 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31386 cat >conftest.$ac_ext <<_ACEOF
31389 cat confdefs.h >>conftest.$ac_ext
31390 cat >>conftest.$ac_ext <<_ACEOF
31391 /* end confdefs.h. */
31400 version = xmUseVersion;
31406 rm -f conftest.$ac_objext
31407 if { (ac_try="$ac_compile"
31408 case "(($ac_try" in
31409 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31410 *) ac_try_echo
=$ac_try;;
31412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31413 (eval "$ac_compile") 2>conftest.er1
31415 grep -v '^ *+' conftest.er1
>conftest.err
31417 cat conftest.err
>&5
31418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31419 (exit $ac_status); } && {
31420 test -z "$ac_c_werror_flag" ||
31421 test ! -s conftest.err
31422 } && test -s conftest.
$ac_objext; then
31424 { echo "$as_me:$LINENO: result: found in default search path" >&5
31425 echo "${ECHO_T}found in default search path" >&6; }
31426 COMPILED_X_PROGRAM
=1
31429 echo "$as_me: failed program was:" >&5
31430 sed 's/^/| /' conftest.
$ac_ext >&5
31433 { echo "$as_me:$LINENO: result: no" >&5
31434 echo "${ECHO_T}no" >&6; }
31435 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31436 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31437 { (exit 1); exit 1; }; }
31442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31444 CFLAGS
=$save_CFLAGS
31448 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31449 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31452 for ac_dir
in $SEARCH_LIB;
31454 for ac_extension
in a so sl dylib dll.a
; do
31455 if test -f "$ac_dir/libXm.$ac_extension"; then
31456 ac_find_libraries
=$ac_dir
31463 if test "x$ac_find_libraries" != "x" ; then
31464 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31465 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31468 if test "$ac_find_libraries" = "default location"; then
31471 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31473 if test $result = 0; then
31476 ac_path_to_link
=" -L$ac_find_libraries"
31480 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31482 save_CFLAGS
=$CFLAGS
31483 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31485 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31487 cat >conftest.
$ac_ext <<_ACEOF
31490 cat confdefs.h
>>conftest.
$ac_ext
31491 cat >>conftest.
$ac_ext <<_ACEOF
31492 /* end confdefs.h. */
31501 version = xmUseVersion;
31507 rm -f conftest.
$ac_objext conftest
$ac_exeext
31508 if { (ac_try
="$ac_link"
31509 case "(($ac_try" in
31510 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31511 *) ac_try_echo=$ac_try;;
31513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31514 (eval "$ac_link") 2>conftest.er1
31516 grep -v '^ *+' conftest.er1 >conftest.err
31518 cat conftest.err >&5
31519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31520 (exit $ac_status); } && {
31521 test -z "$ac_c_werror_flag" ||
31522 test ! -s conftest.err
31523 } && test -s conftest$ac_exeext &&
31524 $as_test_x conftest$ac_exeext; then
31526 { echo "$as_me:$LINENO: result: found in default search path" >&5
31527 echo "${ECHO_T}found in default search path" >&6; }
31528 COMPILED_X_PROGRAM=1
31531 echo "$as_me: failed program was:" >&5
31532 sed 's/^/| /' conftest.$ac_ext >&5
31535 { echo "$as_me:$LINENO: result: no" >&5
31536 echo "${ECHO_T}no" >&6; }
31537 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31538 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31539 { (exit 1); exit 1; }; }
31544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31545 conftest$ac_exeext conftest.$ac_ext
31547 CFLAGS=$save_CFLAGS
31551 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31552 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31556 for libp in "" " -lXp"; do
31557 if test "$libs_found" = 0; then
31558 for libsm_ice in "" " -lSM -lICE"; do
31559 if test "$libs_found" = 0; then
31561 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31562 save_CFLAGS=$CFLAGS
31563 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31565 cat >conftest.$ac_ext <<_ACEOF
31568 cat confdefs.h >>conftest.$ac_ext
31569 cat >>conftest.$ac_ext <<_ACEOF
31570 /* end confdefs.h. */
31573 #include <Xm/List.h>
31579 XmString string = NULL;
31582 XmListAddItem(w, string, position);
31588 rm -f conftest.$ac_objext conftest$ac_exeext
31589 if { (ac_try="$ac_link"
31590 case "(($ac_try" in
31591 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31592 *) ac_try_echo
=$ac_try;;
31594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31595 (eval "$ac_link") 2>conftest.er1
31597 grep -v '^ *+' conftest.er1
>conftest.err
31599 cat conftest.err
>&5
31600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31601 (exit $ac_status); } && {
31602 test -z "$ac_c_werror_flag" ||
31603 test ! -s conftest.err
31604 } && test -s conftest
$ac_exeext &&
31605 $as_test_x conftest
$ac_exeext; then
31608 libsm_ice_link
="$libsm_ice"
31609 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31610 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31614 echo "$as_me: failed program was:" >&5
31615 sed 's/^/| /' conftest.
$ac_ext >&5
31621 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31622 conftest
$ac_exeext conftest.
$ac_ext
31625 CFLAGS
=$save_CFLAGS
31631 if test "$libs_found" = 0; then
31632 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31633 echo "${ECHO_T}can't find the right libraries" >&6; }
31634 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31635 echo "$as_me: error: can't link a simple motif program" >&2;}
31636 { (exit 1); exit 1; }; }
31639 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31640 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31641 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31642 echo $ECHO_N "(cached) $ECHO_C" >&6
31644 ac_check_lib_save_LIBS
=$LIBS
31646 cat >conftest.
$ac_ext <<_ACEOF
31649 cat confdefs.h
>>conftest.
$ac_ext
31650 cat >>conftest.
$ac_ext <<_ACEOF
31651 /* end confdefs.h. */
31653 /* Override any GCC internal prototype to avoid an error.
31654 Use char because int might match the return type of a GCC
31655 builtin and then its argument prototype would still apply. */
31659 char SgCreateList ();
31663 return SgCreateList ();
31668 rm -f conftest.
$ac_objext conftest
$ac_exeext
31669 if { (ac_try
="$ac_link"
31670 case "(($ac_try" in
31671 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31672 *) ac_try_echo=$ac_try;;
31674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31675 (eval "$ac_link") 2>conftest.er1
31677 grep -v '^ *+' conftest.er1 >conftest.err
31679 cat conftest.err >&5
31680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31681 (exit $ac_status); } && {
31682 test -z "$ac_c_werror_flag" ||
31683 test ! -s conftest.err
31684 } && test -s conftest$ac_exeext &&
31685 $as_test_x conftest$ac_exeext; then
31686 ac_cv_lib_Sgm_SgCreateList=yes
31688 echo "$as_me: failed program was:" >&5
31689 sed 's/^/| /' conftest.$ac_ext >&5
31691 ac_cv_lib_Sgm_SgCreateList=no
31694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31695 conftest$ac_exeext conftest.$ac_ext
31696 LIBS=$ac_check_lib_save_LIBS
31698 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31699 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31700 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31701 libsgm_link=" -lSgm"
31705 save_CFLAGS=$CFLAGS
31706 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31708 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31709 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31710 if test "${wx_cv_lib_motif2+set}" = set; then
31711 echo $ECHO_N "(cached) $ECHO_C" >&6
31713 cat >conftest.$ac_ext <<_ACEOF
31716 cat confdefs.h >>conftest.$ac_ext
31717 cat >>conftest.$ac_ext <<_ACEOF
31718 /* end confdefs.h. */
31726 #if XmVersion < 2000
31734 rm -f conftest.$ac_objext
31735 if { (ac_try="$ac_compile"
31736 case "(($ac_try" in
31737 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31738 *) ac_try_echo
=$ac_try;;
31740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31741 (eval "$ac_compile") 2>conftest.er1
31743 grep -v '^ *+' conftest.er1
>conftest.err
31745 cat conftest.err
>&5
31746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31747 (exit $ac_status); } && {
31748 test -z "$ac_c_werror_flag" ||
31749 test ! -s conftest.err
31750 } && test -s conftest.
$ac_objext; then
31751 wx_cv_lib_motif2
="yes"
31753 echo "$as_me: failed program was:" >&5
31754 sed 's/^/| /' conftest.
$ac_ext >&5
31756 wx_cv_lib_motif2
="no"
31759 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31761 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31762 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31763 if test "$wx_cv_lib_motif2" = "yes"; then
31764 cat >>confdefs.h
<<\_ACEOF
31765 #define __WXMOTIF20__ 1
31769 cat >>confdefs.h
<<\_ACEOF
31770 #define __WXMOTIF20__ 0
31775 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31776 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31777 if test "${wx_cv_lib_lesstif+set}" = set; then
31778 echo $ECHO_N "(cached) $ECHO_C" >&6
31780 cat >conftest.
$ac_ext <<_ACEOF
31783 cat confdefs.h
>>conftest.
$ac_ext
31784 cat >>conftest.
$ac_ext <<_ACEOF
31785 /* end confdefs.h. */
31793 #if !defined(LesstifVersion) || LesstifVersion <= 0
31801 rm -f conftest.
$ac_objext
31802 if { (ac_try
="$ac_compile"
31803 case "(($ac_try" in
31804 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31805 *) ac_try_echo=$ac_try;;
31807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31808 (eval "$ac_compile") 2>conftest.er1
31810 grep -v '^ *+' conftest.er1 >conftest.err
31812 cat conftest.err >&5
31813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31814 (exit $ac_status); } && {
31815 test -z "$ac_c_werror_flag" ||
31816 test ! -s conftest.err
31817 } && test -s conftest.$ac_objext; then
31818 wx_cv_lib_lesstif="yes"
31820 echo "$as_me: failed program was:" >&5
31821 sed 's/^/| /' conftest.$ac_ext >&5
31823 wx_cv_lib_lesstif="no"
31826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31829 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31830 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31831 if test "$wx_cv_lib_lesstif" = "yes"; then
31832 cat >>confdefs.h <<\_ACEOF
31833 #define __WXLESSTIF__ 1
31837 cat >>confdefs.h <<\_ACEOF
31838 #define __WXLESSTIF__ 0
31843 CFLAGS=$save_CFLAGS
31845 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31850 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31851 if test "$wxUSE_LIBXPM" = "sys"; then
31852 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31853 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31856 for ac_dir in $SEARCH_LIB;
31858 for ac_extension in a so sl dylib dll.a; do
31859 if test -f "$ac_dir/libXpm.$ac_extension"; then
31860 ac_find_libraries=$ac_dir
31866 if test "$ac_find_libraries" != "" ; then
31868 if test "$ac_find_libraries" = "default location"; then
31871 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31873 if test $result = 0; then
31876 ac_path_to_link=" -L$ac_find_libraries"
31880 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31881 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31882 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31884 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31885 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31886 if test "${wx_cv_x11_xpm_h+set}" = set; then
31887 echo $ECHO_N "(cached) $ECHO_C" >&6
31890 save_CFLAGS=$CFLAGS
31891 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31893 cat >conftest.$ac_ext <<_ACEOF
31896 cat confdefs.h >>conftest.$ac_ext
31897 cat >>conftest.$ac_ext <<_ACEOF
31898 /* end confdefs.h. */
31900 #include <X11/xpm.h>
31907 version = XpmLibraryVersion();
31913 rm -f conftest.$ac_objext
31914 if { (ac_try="$ac_compile"
31915 case "(($ac_try" in
31916 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31917 *) ac_try_echo
=$ac_try;;
31919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31920 (eval "$ac_compile") 2>conftest.er1
31922 grep -v '^ *+' conftest.er1
>conftest.err
31924 cat conftest.err
>&5
31925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31926 (exit $ac_status); } && {
31927 test -z "$ac_c_werror_flag" ||
31928 test ! -s conftest.err
31929 } && test -s conftest.
$ac_objext; then
31930 wx_cv_x11_xpm_h
=yes
31932 echo "$as_me: failed program was:" >&5
31933 sed 's/^/| /' conftest.
$ac_ext >&5
31939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31941 CFLAGS
=$save_CFLAGS
31945 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31946 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31948 if test $wx_cv_x11_xpm_h = "yes"; then
31949 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31950 cat >>confdefs.h
<<\_ACEOF
31951 #define wxHAVE_LIB_XPM 1
31955 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31956 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31962 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31963 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31964 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31965 echo $ECHO_N "(cached) $ECHO_C" >&6
31967 ac_check_lib_save_LIBS
=$LIBS
31968 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31969 cat >conftest.
$ac_ext <<_ACEOF
31972 cat confdefs.h
>>conftest.
$ac_ext
31973 cat >>conftest.
$ac_ext <<_ACEOF
31974 /* end confdefs.h. */
31976 /* Override any GCC internal prototype to avoid an error.
31977 Use char because int might match the return type of a GCC
31978 builtin and then its argument prototype would still apply. */
31982 char XShapeQueryExtension ();
31986 return XShapeQueryExtension ();
31991 rm -f conftest.
$ac_objext conftest
$ac_exeext
31992 if { (ac_try
="$ac_link"
31993 case "(($ac_try" in
31994 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31995 *) ac_try_echo=$ac_try;;
31997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31998 (eval "$ac_link") 2>conftest.er1
32000 grep -v '^ *+' conftest.er1 >conftest.err
32002 cat conftest.err >&5
32003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32004 (exit $ac_status); } && {
32005 test -z "$ac_c_werror_flag" ||
32006 test ! -s conftest.err
32007 } && test -s conftest$ac_exeext &&
32008 $as_test_x conftest$ac_exeext; then
32009 ac_cv_lib_Xext_XShapeQueryExtension=yes
32011 echo "$as_me: failed program was:" >&5
32012 sed 's/^/| /' conftest.$ac_ext >&5
32014 ac_cv_lib_Xext_XShapeQueryExtension=no
32017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32018 conftest$ac_exeext conftest.$ac_ext
32019 LIBS=$ac_check_lib_save_LIBS
32021 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32022 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32023 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32025 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32031 if test "$wxHAVE_XEXT_LIB" = 1; then
32032 save_CFLAGS="$CFLAGS"
32033 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32035 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32036 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32037 cat >conftest.$ac_ext <<_ACEOF
32040 cat confdefs.h >>conftest.$ac_ext
32041 cat >>conftest.$ac_ext <<_ACEOF
32042 /* end confdefs.h. */
32044 #include <X11/Xlib.h>
32045 #include <X11/extensions/shape.h>
32051 int dummy1, dummy2;
32052 XShapeQueryExtension((Display*)NULL,
32053 (int*)NULL, (int*)NULL);
32059 rm -f conftest.$ac_objext
32060 if { (ac_try="$ac_compile"
32061 case "(($ac_try" in
32062 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32063 *) ac_try_echo
=$ac_try;;
32065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32066 (eval "$ac_compile") 2>conftest.er1
32068 grep -v '^ *+' conftest.er1
>conftest.err
32070 cat conftest.err
>&5
32071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32072 (exit $ac_status); } && {
32073 test -z "$ac_c_werror_flag" ||
32074 test ! -s conftest.err
32075 } && test -s conftest.
$ac_objext; then
32077 cat >>confdefs.h
<<\_ACEOF
32078 #define HAVE_XSHAPE 1
32081 { echo "$as_me:$LINENO: result: found" >&5
32082 echo "${ECHO_T}found" >&6; }
32085 echo "$as_me: failed program was:" >&5
32086 sed 's/^/| /' conftest.
$ac_ext >&5
32089 { echo "$as_me:$LINENO: result: not found" >&5
32090 echo "${ECHO_T}not found" >&6; }
32094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32095 CFLAGS
="$save_CFLAGS"
32100 if test "$wxUSE_MAC" = 1; then
32101 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32102 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32103 if test "$GCC" = yes; then
32104 { echo "$as_me:$LINENO: result: gcc" >&5
32105 echo "${ECHO_T}gcc" >&6; }
32106 CPPFLAGS_PASCAL
="-fpascal-strings"
32107 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32108 { echo "$as_me:$LINENO: result: xlc" >&5
32109 echo "${ECHO_T}xlc" >&6; }
32110 CPPFLAGS_PASCAL
="-qmacpstr"
32112 { echo "$as_me:$LINENO: result: none" >&5
32113 echo "${ECHO_T}none" >&6; }
32116 if test "x$wxUSE_UNIX" = "xyes"; then
32117 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32119 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32124 WXBASEPORT
="_carbon"
32127 if test "$wxUSE_COCOA" = 1; then
32132 if test "$wxUSE_PM" = 1; then
32135 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32136 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32137 if test "${wx_cv_spbcdata+set}" = set; then
32138 echo $ECHO_N "(cached) $ECHO_C" >&6
32141 cat >conftest.
$ac_ext <<_ACEOF
32144 cat confdefs.h
>>conftest.
$ac_ext
32145 cat >>conftest.
$ac_ext <<_ACEOF
32146 /* end confdefs.h. */
32161 rm -f conftest.
$ac_objext
32162 if { (ac_try
="$ac_compile"
32163 case "(($ac_try" in
32164 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32165 *) ac_try_echo=$ac_try;;
32167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32168 (eval "$ac_compile") 2>conftest.er1
32170 grep -v '^ *+' conftest.er1 >conftest.err
32172 cat conftest.err >&5
32173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32174 (exit $ac_status); } && {
32175 test -z "$ac_c_werror_flag" ||
32176 test ! -s conftest.err
32177 } && test -s conftest.$ac_objext; then
32180 echo "$as_me: failed program was:" >&5
32181 sed 's/^/| /' conftest.$ac_ext >&5
32187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32191 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32192 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32194 if test $wx_cv_spbcdata = "yes"; then
32195 cat >>confdefs.h <<\_ACEOF
32196 #define HAVE_SPBCDATA 1
32202 if test "$TOOLKIT" = "PM" ; then
32205 TOOLKIT_DIR=`echo ${TOOLKIT} | tr A
-Z a
-z`
32208 if test "$wxUSE_UNIVERSAL" = "yes"; then
32209 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32213 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32214 DISTDIR="wx\$(TOOLKIT)"
32220 if test "$USE_WIN32" = 1 ; then
32224 GUIDIST="BASE_DIST"
32230 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32231 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32232 wxUSE_UNICODE_UTF8=yes
32233 elif test "$USE_OS2" = 1 ; then
32234 wxUSE_UNICODE_UTF8=yes
32236 wxUSE_UNICODE_UTF8=no
32241 if test "$wxUSE_GUI" = "yes"; then
32242 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32244 for ac_header in X11/Xlib.h
32246 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32247 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32249 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32250 echo $ECHO_N "(cached) $ECHO_C" >&6
32252 cat >conftest.$ac_ext <<_ACEOF
32255 cat confdefs.h >>conftest.$ac_ext
32256 cat >>conftest.$ac_ext <<_ACEOF
32257 /* end confdefs.h. */
32260 #include <$ac_header>
32262 rm -f conftest.$ac_objext
32263 if { (ac_try="$ac_compile"
32264 case "(($ac_try" in
32265 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32266 *) ac_try_echo
=$ac_try;;
32268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32269 (eval "$ac_compile") 2>conftest.er1
32271 grep -v '^ *+' conftest.er1
>conftest.err
32273 cat conftest.err
>&5
32274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32275 (exit $ac_status); } && {
32276 test -z "$ac_c_werror_flag" ||
32277 test ! -s conftest.err
32278 } && test -s conftest.
$ac_objext; then
32279 eval "$as_ac_Header=yes"
32281 echo "$as_me: failed program was:" >&5
32282 sed 's/^/| /' conftest.
$ac_ext >&5
32284 eval "$as_ac_Header=no"
32287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32289 ac_res
=`eval echo '${'$as_ac_Header'}'`
32290 { echo "$as_me:$LINENO: result: $ac_res" >&5
32291 echo "${ECHO_T}$ac_res" >&6; }
32292 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32293 cat >>confdefs.h
<<_ACEOF
32294 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32302 for ac_header
in X
11/XKBlib.h
32304 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32305 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32307 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32308 echo $ECHO_N "(cached) $ECHO_C" >&6
32310 cat >conftest.
$ac_ext <<_ACEOF
32313 cat confdefs.h
>>conftest.
$ac_ext
32314 cat >>conftest.
$ac_ext <<_ACEOF
32315 /* end confdefs.h. */
32317 #if HAVE_X11_XLIB_H
32318 #include <X11/Xlib.h>
32322 #include <$ac_header>
32324 rm -f conftest.
$ac_objext
32325 if { (ac_try
="$ac_compile"
32326 case "(($ac_try" in
32327 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32328 *) ac_try_echo=$ac_try;;
32330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32331 (eval "$ac_compile") 2>conftest.er1
32333 grep -v '^ *+' conftest.er1 >conftest.err
32335 cat conftest.err >&5
32336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32337 (exit $ac_status); } && {
32338 test -z "$ac_c_werror_flag" ||
32339 test ! -s conftest.err
32340 } && test -s conftest.$ac_objext; then
32341 eval "$as_ac_Header=yes"
32343 echo "$as_me: failed program was:" >&5
32344 sed 's/^/| /' conftest.$ac_ext >&5
32346 eval "$as_ac_Header=no"
32349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32351 ac_res=`eval echo '${'$as_ac_Header'}'`
32352 { echo "$as_me:$LINENO: result: $ac_res" >&5
32353 echo "${ECHO_T}$ac_res" >&6; }
32354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32355 cat >>confdefs.h <<_ACEOF
32356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32368 if test "$wxUSE_DISPLAY" = "yes"; then
32369 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32370 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32371 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32374 for ac_dir in $SEARCH_LIB;
32376 for ac_extension in a so sl dylib dll.a; do
32377 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32378 ac_find_libraries=$ac_dir
32384 if test "$ac_find_libraries" != "" ; then
32386 if test "$ac_find_libraries" = "default location"; then
32389 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32391 if test $result = 0; then
32394 ac_path_to_link=" -L$ac_find_libraries"
32398 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32399 LDFLAGS="$LDFLAGS $ac_path_to_link"
32401 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32402 { echo "$as_me:$LINENO: result: yes" >&5
32403 echo "${ECHO_T}yes" >&6; }
32405 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32406 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32409 for ac_dir in $SEARCH_LIB;
32411 for ac_extension in a so sl dylib dll.a; do
32412 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32413 ac_find_libraries=$ac_dir
32419 if test "$ac_find_libraries" != "" ; then
32420 { echo "$as_me:$LINENO: result: yes" >&5
32421 echo "${ECHO_T}yes" >&6; }
32423 for ac_header in X11/extensions/xf86vmode.h
32425 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32426 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32428 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32429 echo $ECHO_N "(cached) $ECHO_C" >&6
32431 cat >conftest.$ac_ext <<_ACEOF
32434 cat confdefs.h >>conftest.$ac_ext
32435 cat >>conftest.$ac_ext <<_ACEOF
32436 /* end confdefs.h. */
32438 #if HAVE_X11_XLIB_H
32439 #include <X11/Xlib.h>
32443 #include <$ac_header>
32445 rm -f conftest.$ac_objext
32446 if { (ac_try="$ac_compile"
32447 case "(($ac_try" in
32448 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32449 *) ac_try_echo
=$ac_try;;
32451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32452 (eval "$ac_compile") 2>conftest.er1
32454 grep -v '^ *+' conftest.er1
>conftest.err
32456 cat conftest.err
>&5
32457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32458 (exit $ac_status); } && {
32459 test -z "$ac_c_werror_flag" ||
32460 test ! -s conftest.err
32461 } && test -s conftest.
$ac_objext; then
32462 eval "$as_ac_Header=yes"
32464 echo "$as_me: failed program was:" >&5
32465 sed 's/^/| /' conftest.
$ac_ext >&5
32467 eval "$as_ac_Header=no"
32470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32472 ac_res
=`eval echo '${'$as_ac_Header'}'`
32473 { echo "$as_me:$LINENO: result: $ac_res" >&5
32474 echo "${ECHO_T}$ac_res" >&6; }
32475 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32476 cat >>confdefs.h
<<_ACEOF
32477 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32480 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32487 { echo "$as_me:$LINENO: result: no" >&5
32488 echo "${ECHO_T}no" >&6; }
32492 { echo "$as_me:$LINENO: result: no" >&5
32493 echo "${ECHO_T}no" >&6; }
32494 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32495 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32498 elif test "$wxUSE_MSW" = 1; then
32499 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32500 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32501 if test "${ac_cv_header_ddraw_h+set}" = set; then
32502 echo $ECHO_N "(cached) $ECHO_C" >&6
32504 cat >conftest.
$ac_ext <<_ACEOF
32507 cat confdefs.h
>>conftest.
$ac_ext
32508 cat >>conftest.
$ac_ext <<_ACEOF
32509 /* end confdefs.h. */
32510 #include <windows.h>
32514 rm -f conftest.
$ac_objext
32515 if { (ac_try
="$ac_compile"
32516 case "(($ac_try" in
32517 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32518 *) ac_try_echo=$ac_try;;
32520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32521 (eval "$ac_compile") 2>conftest.er1
32523 grep -v '^ *+' conftest.er1 >conftest.err
32525 cat conftest.err >&5
32526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32527 (exit $ac_status); } && {
32528 test -z "$ac_c_werror_flag" ||
32529 test ! -s conftest.err
32530 } && test -s conftest.$ac_objext; then
32531 ac_cv_header_ddraw_h=yes
32533 echo "$as_me: failed program was:" >&5
32534 sed 's/^/| /' conftest.$ac_ext >&5
32536 ac_cv_header_ddraw_h=no
32539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32541 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32542 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32548 if test "$wxUSE_DETECT_SM" = "yes"; then
32549 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32550 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32551 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32554 for ac_dir in $SEARCH_LIB;
32556 for ac_extension in a so sl dylib dll.a; do
32557 if test -f "$ac_dir/libSM.$ac_extension"; then
32558 ac_find_libraries=$ac_dir
32564 if test "$ac_find_libraries" != "" ; then
32566 if test "$ac_find_libraries" = "default location"; then
32569 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32571 if test $result = 0; then
32574 ac_path_to_link=" -L$ac_find_libraries"
32578 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32579 LDFLAGS="$LDFLAGS $ac_path_to_link"
32581 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32582 { echo "$as_me:$LINENO: result: yes" >&5
32583 echo "${ECHO_T}yes" >&6; }
32585 { echo "$as_me:$LINENO: result: no" >&5
32586 echo "${ECHO_T}no" >&6; }
32587 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32588 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32589 wxUSE_DETECT_SM="no"
32592 wxUSE_DETECT_SM="no"
32599 if test "$wxUSE_OPENGL" = "yes"; then
32600 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32601 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32602 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32604 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32605 OPENGL_LIBS="-framework OpenGL -framework AGL"
32606 elif test "$wxUSE_MSW" = 1; then
32607 OPENGL_LIBS="-lopengl32 -lglu32"
32609 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32610 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32613 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32615 if test -f "$ac_dir/GL/gl.h"; then
32616 ac_find_includes=$ac_dir
32621 if test "$ac_find_includes" != "" ; then
32622 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32623 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32625 if test "x$ac_find_includes" = "x/usr/include"; then
32626 ac_path_to_include=""
32628 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32630 if test $result = 0; then
32631 ac_path_to_include=""
32633 ac_path_to_include=" -I$ac_find_includes"
32637 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32639 { echo "$as_me:$LINENO: result: not found" >&5
32640 echo "${ECHO_T}not found" >&6; }
32643 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32644 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32645 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32646 echo $ECHO_N "(cached) $ECHO_C" >&6
32648 cat >conftest.$ac_ext <<_ACEOF
32651 cat confdefs.h >>conftest.$ac_ext
32652 cat >>conftest.$ac_ext <<_ACEOF
32653 /* end confdefs.h. */
32658 rm -f conftest.$ac_objext
32659 if { (ac_try="$ac_compile"
32660 case "(($ac_try" in
32661 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32662 *) ac_try_echo
=$ac_try;;
32664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32665 (eval "$ac_compile") 2>conftest.er1
32667 grep -v '^ *+' conftest.er1
>conftest.err
32669 cat conftest.err
>&5
32670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32671 (exit $ac_status); } && {
32672 test -z "$ac_c_werror_flag" ||
32673 test ! -s conftest.err
32674 } && test -s conftest.
$ac_objext; then
32675 ac_cv_header_GL_gl_h
=yes
32677 echo "$as_me: failed program was:" >&5
32678 sed 's/^/| /' conftest.
$ac_ext >&5
32680 ac_cv_header_GL_gl_h
=no
32683 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32685 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32686 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32687 if test $ac_cv_header_GL_gl_h = yes; then
32689 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32690 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32691 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32692 echo $ECHO_N "(cached) $ECHO_C" >&6
32694 cat >conftest.
$ac_ext <<_ACEOF
32697 cat confdefs.h
>>conftest.
$ac_ext
32698 cat >>conftest.
$ac_ext <<_ACEOF
32699 /* end confdefs.h. */
32702 #include <GL/glu.h>
32704 rm -f conftest.
$ac_objext
32705 if { (ac_try
="$ac_compile"
32706 case "(($ac_try" in
32707 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32708 *) ac_try_echo=$ac_try;;
32710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32711 (eval "$ac_compile") 2>conftest.er1
32713 grep -v '^ *+' conftest.er1 >conftest.err
32715 cat conftest.err >&5
32716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32717 (exit $ac_status); } && {
32718 test -z "$ac_c_werror_flag" ||
32719 test ! -s conftest.err
32720 } && test -s conftest.$ac_objext; then
32721 ac_cv_header_GL_glu_h=yes
32723 echo "$as_me: failed program was:" >&5
32724 sed 's/^/| /' conftest.$ac_ext >&5
32726 ac_cv_header_GL_glu_h=no
32729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32731 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32732 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32733 if test $ac_cv_header_GL_glu_h = yes; then
32737 { echo "$as_me:$LINENO: checking for -lGL" >&5
32738 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32741 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32743 for ac_extension in a so sl dylib dll.a; do
32744 if test -f "$ac_dir/libGL.$ac_extension"; then
32745 ac_find_libraries=$ac_dir
32751 if test "$ac_find_libraries" != "" ; then
32752 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32753 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32756 if test "$ac_find_libraries" = "default location"; then
32759 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32761 if test $result = 0; then
32764 ac_path_to_link=" -L$ac_find_libraries"
32768 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32769 LDFLAGS_GL="$ac_path_to_link"
32772 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32773 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32776 for ac_dir in $SEARCH_LIB;
32778 for ac_extension in a so sl dylib dll.a; do
32779 if test -f "$ac_dir/libGLU.$ac_extension"; then
32780 ac_find_libraries=$ac_dir
32786 if test "$ac_find_libraries" != "" ; then
32788 if test "$ac_find_libraries" = "default location"; then
32791 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32793 if test $result = 0; then
32796 ac_path_to_link=" -L$ac_find_libraries"
32800 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32801 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32802 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32806 OPENGL_LIBS="-lGL -lGLU"
32807 { echo "$as_me:$LINENO: result: yes" >&5
32808 echo "${ECHO_T}yes" >&6; }
32810 { echo "$as_me:$LINENO: result: no" >&5
32811 echo "${ECHO_T}no" >&6; }
32814 { echo "$as_me:$LINENO: result: no" >&5
32815 echo "${ECHO_T}no" >&6; }
32818 if test "$found_gl" != 1; then
32819 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32820 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32823 for ac_dir in $SEARCH_LIB;
32825 for ac_extension in a so sl dylib dll.a; do
32826 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32827 ac_find_libraries=$ac_dir
32833 if test "$ac_find_libraries" != "" ; then
32835 if test "$ac_find_libraries" = "default location"; then
32838 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32840 if test $result = 0; then
32843 ac_path_to_link=" -L$ac_find_libraries"
32847 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32848 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32849 { echo "$as_me:$LINENO: result: yes" >&5
32850 echo "${ECHO_T}yes" >&6; }
32852 { echo "$as_me:$LINENO: result: no" >&5
32853 echo "${ECHO_T}no" >&6; }
32865 if test "x$OPENGL_LIBS" = "x"; then
32866 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32867 echo "$as_me: error: OpenGL libraries not available" >&2;}
32868 { (exit 1); exit 1; }; }
32872 if test "$wxUSE_OPENGL" = "yes"; then
32874 cat >>confdefs.h <<\_ACEOF
32875 #define wxUSE_OPENGL 1
32878 cat >>confdefs.h <<\_ACEOF
32879 #define wxUSE_GLCANVAS 1
32882 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32887 if test -n "$TOOLKIT" ; then
32888 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32893 if test "$wxUSE_SHARED" = "yes"; then
32897 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32898 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32903 if test "$wxUSE_SHARED" = "yes"; then
32907 *-*-cygwin* | *-*-mingw* )
32908 wx_cv_version_script=no
32912 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32913 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32914 if test "${wx_cv_version_script+set}" = set; then
32915 echo $ECHO_N "(cached) $ECHO_C" >&6
32918 echo "VER_1 { *; };" >conftest.sym
32919 echo "int main() { return 0; }" >conftest.cpp
32922 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32923 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32925 (eval $ac_try) 2>&5
32927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32928 (exit $ac_status); }; } ; then
32929 if test -s conftest.stderr ; then
32930 wx_cv_version_script=no
32932 wx_cv_version_script=yes
32935 wx_cv_version_script=no
32938 if test $wx_cv_version_script = yes
32940 echo "struct B { virtual ~B() { } }; \
32941 struct D : public B { }; \
32942 void F() { D d; }" > conftest.cpp
32945 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32946 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32948 (eval $ac_try) 2>&5
32950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32951 (exit $ac_status); }; } &&
32953 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32954 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32956 (eval $ac_try) 2>&5
32958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32959 (exit $ac_status); }; }
32962 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32963 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32965 (eval $ac_try) 2>&5
32967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32968 (exit $ac_status); }; }
32970 wx_cv_version_script=yes
32972 wx_cv_version_script=no
32977 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32978 rm -f conftest1.output conftest2.output conftest3.output
32981 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32982 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32984 if test $wx_cv_version_script = yes ; then
32985 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32991 if test "$wxUSE_VISIBILITY" != "no"; then
32994 if test -n "$GCC"; then
32995 CFLAGS_VISIBILITY="-fvisibility=hidden"
32996 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
32997 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
32998 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
32999 if test "${wx_cv_cc_visibility+set}" = set; then
33000 echo $ECHO_N "(cached) $ECHO_C" >&6
33003 wx_save_CXXFLAGS="$CXXFLAGS"
33004 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33006 ac_cpp='$CXXCPP $CPPFLAGS'
33007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33011 cat >conftest.$ac_ext <<_ACEOF
33014 cat confdefs.h >>conftest.$ac_ext
33015 cat >>conftest.$ac_ext <<_ACEOF
33016 /* end confdefs.h. */
33018 /* we need gcc >= 4.0, older versions with visibility support
33019 didn't have class visibility: */
33020 #if defined(__GNUC__) && __GNUC__ < 4
33021 error this gcc is too old;
33024 /* visibility only makes sense for ELF shared libs: */
33025 #if !defined(__ELF__) && !defined(__APPLE__)
33026 error this platform has no visibility;
33029 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33030 extern __attribute__((__visibility__("default"))) int exportedvar;
33031 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33032 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33033 class __attribute__((__visibility__("default"))) Foo {
33045 rm -f conftest.$ac_objext
33046 if { (ac_try="$ac_compile"
33047 case "(($ac_try" in
33048 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33049 *) ac_try_echo
=$ac_try;;
33051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33052 (eval "$ac_compile") 2>conftest.er1
33054 grep -v '^ *+' conftest.er1
>conftest.err
33056 cat conftest.err
>&5
33057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33058 (exit $ac_status); } && {
33059 test -z "$ac_cxx_werror_flag" ||
33060 test ! -s conftest.err
33061 } && test -s conftest.
$ac_objext; then
33062 wx_cv_cc_visibility
=yes
33064 echo "$as_me: failed program was:" >&5
33065 sed 's/^/| /' conftest.
$ac_ext >&5
33067 wx_cv_cc_visibility
=no
33070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33072 ac_cpp
='$CPP $CPPFLAGS'
33073 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33074 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33075 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33077 CXXFLAGS
="$wx_save_CXXFLAGS"
33080 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33081 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33082 if test $wx_cv_cc_visibility = yes; then
33083 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33084 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33085 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33086 echo $ECHO_N "(cached) $ECHO_C" >&6
33089 wx_save_CXXFLAGS
="$CXXFLAGS"
33090 wx_save_LDFLAGS
="$LDFLAGS"
33091 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33092 LDFLAGS
="$LDFLAGS -shared -fPIC"
33094 ac_cpp
='$CXXCPP $CPPFLAGS'
33095 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33096 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33097 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33099 cat >conftest.
$ac_ext <<_ACEOF
33102 cat confdefs.h
>>conftest.
$ac_ext
33103 cat >>conftest.
$ac_ext <<_ACEOF
33104 /* end confdefs.h. */
33112 std::string s("hello");
33119 rm -f conftest.
$ac_objext conftest
$ac_exeext
33120 if { (ac_try
="$ac_link"
33121 case "(($ac_try" in
33122 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33123 *) ac_try_echo=$ac_try;;
33125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33126 (eval "$ac_link") 2>conftest.er1
33128 grep -v '^ *+' conftest.er1 >conftest.err
33130 cat conftest.err >&5
33131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33132 (exit $ac_status); } && {
33133 test -z "$ac_cxx_werror_flag" ||
33134 test ! -s conftest.err
33135 } && test -s conftest$ac_exeext &&
33136 $as_test_x conftest$ac_exeext; then
33137 wx_cv_cc_broken_libstdcxx_visibility=no
33139 echo "$as_me: failed program was:" >&5
33140 sed 's/^/| /' conftest.$ac_ext >&5
33142 wx_cv_cc_broken_libstdcxx_visibility=yes
33145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33146 conftest$ac_exeext conftest.$ac_ext
33148 ac_cpp='$CPP $CPPFLAGS'
33149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33153 CXXFLAGS="$wx_save_CXXFLAGS"
33154 LDFLAGS="$wx_save_LDFLAGS"
33157 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33158 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33160 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33161 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33162 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33163 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33164 echo $ECHO_N "(cached) $ECHO_C" >&6
33168 ac_cpp='$CXXCPP $CPPFLAGS'
33169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33173 cat >conftest.$ac_ext <<_ACEOF
33176 cat confdefs.h >>conftest.$ac_ext
33177 cat >>conftest.$ac_ext <<_ACEOF
33178 /* end confdefs.h. */
33180 #pragma GCC visibility push(default)
33182 #pragma GCC visibility pop
33188 std::string s("hello");
33195 rm -f conftest.$ac_objext conftest$ac_exeext
33196 if { (ac_try="$ac_link"
33197 case "(($ac_try" in
33198 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33199 *) ac_try_echo
=$ac_try;;
33201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33202 (eval "$ac_link") 2>conftest.er1
33204 grep -v '^ *+' conftest.er1
>conftest.err
33206 cat conftest.err
>&5
33207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33208 (exit $ac_status); } && {
33209 test -z "$ac_cxx_werror_flag" ||
33210 test ! -s conftest.err
33211 } && test -s conftest
$ac_exeext &&
33212 $as_test_x conftest
$ac_exeext; then
33213 wx_cv_cc_visibility_workaround
=no
33215 echo "$as_me: failed program was:" >&5
33216 sed 's/^/| /' conftest.
$ac_ext >&5
33218 wx_cv_cc_visibility_workaround
=yes
33221 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33222 conftest
$ac_exeext conftest.
$ac_ext
33224 ac_cpp
='$CPP $CPPFLAGS'
33225 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33226 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33227 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33232 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33233 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33235 if test $wx_cv_cc_visibility_workaround = no
; then
33236 wx_cv_cc_visibility
=no
33241 if test $wx_cv_cc_visibility = yes; then
33242 cat >>confdefs.h
<<\_ACEOF
33243 #define HAVE_VISIBILITY 1
33246 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33247 cat >>confdefs.h
<<\_ACEOF
33248 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33253 CFLAGS_VISIBILITY
=""
33254 CXXFLAGS_VISIBILITY
=""
33262 if test "x$SUNCXX" = xyes
; then
33263 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33264 WXCONFIG_RPATH
="-R\$libdir"
33267 *-*-linux* | *-*-gnu* )
33268 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33269 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33274 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33276 saveLdflags
="$LDFLAGS"
33277 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33278 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33279 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33280 cat >conftest.
$ac_ext <<_ACEOF
33283 cat confdefs.h
>>conftest.
$ac_ext
33284 cat >>conftest.
$ac_ext <<_ACEOF
33285 /* end confdefs.h. */
33295 rm -f conftest.
$ac_objext conftest
$ac_exeext
33296 if { (ac_try
="$ac_link"
33297 case "(($ac_try" in
33298 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33299 *) ac_try_echo=$ac_try;;
33301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33302 (eval "$ac_link") 2>conftest.er1
33304 grep -v '^ *+' conftest.er1 >conftest.err
33306 cat conftest.err >&5
33307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33308 (exit $ac_status); } && {
33309 test -z "$ac_c_werror_flag" ||
33310 test ! -s conftest.err
33311 } && test -s conftest$ac_exeext &&
33312 $as_test_x conftest$ac_exeext; then
33314 { echo "$as_me:$LINENO: result: yes" >&5
33315 echo "${ECHO_T}yes" >&6; }
33316 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33317 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33320 echo "$as_me: failed program was:" >&5
33321 sed 's/^/| /' conftest.$ac_ext >&5
33324 { echo "$as_me:$LINENO: result: no" >&5
33325 echo "${ECHO_T}no" >&6; }
33326 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33327 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33328 LDFLAGS="$saveLdflags -Wl,-R,/"
33329 cat >conftest.$ac_ext <<_ACEOF
33332 cat confdefs.h >>conftest.$ac_ext
33333 cat >>conftest.$ac_ext <<_ACEOF
33334 /* end confdefs.h. */
33344 rm -f conftest.$ac_objext conftest$ac_exeext
33345 if { (ac_try="$ac_link"
33346 case "(($ac_try" in
33347 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33348 *) ac_try_echo
=$ac_try;;
33350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33351 (eval "$ac_link") 2>conftest.er1
33353 grep -v '^ *+' conftest.er1
>conftest.err
33355 cat conftest.err
>&5
33356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33357 (exit $ac_status); } && {
33358 test -z "$ac_c_werror_flag" ||
33359 test ! -s conftest.err
33360 } && test -s conftest
$ac_exeext &&
33361 $as_test_x conftest
$ac_exeext; then
33363 { echo "$as_me:$LINENO: result: yes" >&5
33364 echo "${ECHO_T}yes" >&6; }
33365 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33366 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33369 echo "$as_me: failed program was:" >&5
33370 sed 's/^/| /' conftest.
$ac_ext >&5
33373 { echo "$as_me:$LINENO: result: no" >&5
33374 echo "${ECHO_T}no" >&6; }
33378 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33379 conftest
$ac_exeext conftest.
$ac_ext
33383 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33384 conftest
$ac_exeext conftest.
$ac_ext
33385 LDFLAGS
="$saveLdflags"
33389 install_name_tool
=`which install_name_tool`
33390 if test "$install_name_tool" -a -x "$install_name_tool"; then
33391 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33392 cat <<EOF >change-install-names
33394 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33395 inst_cmd="install_name_tool "
33396 for i in \${libnames} ; do
33397 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33401 chmod +x change
-install-names
33405 *-*-cygwin* | *-*-mingw32* )
33409 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33410 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33416 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33418 if test $wxUSE_RPATH = "no"; then
33419 SAMPLES_RPATH_FLAG
=''
33420 SAMPLES_RPATH_POSTLINK
=''
33428 config_linkage_component
="-static"
33435 lib_unicode_suffix
=
33437 if test "$wxUSE_UNICODE" = "yes"; then
33438 lib_unicode_suffix
=u
33439 WX_CHARTYPE
="unicode"
33444 WX_DEBUGTYPE
="release"
33446 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33448 WX_DEBUGTYPE
="debug"
33452 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33453 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33456 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33460 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr a-z A-Z`
33462 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33464 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33466 if test "$cross_compiling" = "yes"; then
33467 HOST_SUFFIX
="-$host_alias"
33468 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33469 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33472 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33473 if test "${TOOLKIT_DIR}" = "os2"; then
33474 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33476 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33481 if test "$wxUSE_COCOA" = 1; then
33484 ac_cpp
='$CPP $CPPFLAGS'
33485 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33486 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33487 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33491 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33492 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33493 cat >conftest.
$ac_ext <<_ACEOF
33496 cat confdefs.h
>>conftest.
$ac_ext
33497 cat >>conftest.
$ac_ext <<_ACEOF
33498 /* end confdefs.h. */
33499 #include <AppKit/NSEvent.h>
33500 #include <CoreFoundation/CoreFoundation.h>
33510 rm -f conftest.
$ac_objext
33511 if { (ac_try
="$ac_compile"
33512 case "(($ac_try" in
33513 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33514 *) ac_try_echo=$ac_try;;
33516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33517 (eval "$ac_compile") 2>conftest.er1
33519 grep -v '^ *+' conftest.er1 >conftest.err
33521 cat conftest.err >&5
33522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33523 (exit $ac_status); } && {
33524 test -z "$ac_c_werror_flag" ||
33525 test ! -s conftest.err
33526 } && test -s conftest.$ac_objext; then
33527 { echo "$as_me:$LINENO: result: no" >&5
33528 echo "${ECHO_T}no" >&6; }
33530 echo "$as_me: failed program was:" >&5
33531 sed 's/^/| /' conftest.$ac_ext >&5
33533 { echo "$as_me:$LINENO: result: yes" >&5
33534 echo "${ECHO_T}yes" >&6; }
33535 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33536 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33537 cat >conftest.$ac_ext <<_ACEOF
33540 cat confdefs.h >>conftest.$ac_ext
33541 cat >>conftest.$ac_ext <<_ACEOF
33542 /* end confdefs.h. */
33543 #define __Point__ 1
33544 #include <AppKit/NSEvent.h>
33545 #include <CoreFoundation/CoreFoundation.h>
33555 rm -f conftest.$ac_objext
33556 if { (ac_try="$ac_compile"
33557 case "(($ac_try" in
33558 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33559 *) ac_try_echo
=$ac_try;;
33561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33562 (eval "$ac_compile") 2>conftest.er1
33564 grep -v '^ *+' conftest.er1
>conftest.err
33566 cat conftest.err
>&5
33567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33568 (exit $ac_status); } && {
33569 test -z "$ac_c_werror_flag" ||
33570 test ! -s conftest.err
33571 } && test -s conftest.
$ac_objext; then
33572 { echo "$as_me:$LINENO: result: yes" >&5
33573 echo "${ECHO_T}yes" >&6; }
33574 cat >>confdefs.h
<<\_ACEOF
33575 #define __Point__ 1
33580 echo "$as_me: failed program was:" >&5
33581 sed 's/^/| /' conftest.
$ac_ext >&5
33583 { { echo "$as_me:$LINENO: error: no
33584 See \`config.log' for more details." >&5
33585 echo "$as_me: error: no
33586 See \`config.log' for more details." >&2;}
33587 { (exit 1); exit 1; }; }
33591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33597 ac_cpp
='$CPP $CPPFLAGS'
33598 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33599 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33605 { echo "$as_me:$LINENO: checking for mode_t" >&5
33606 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33607 if test "${ac_cv_type_mode_t+set}" = set; then
33608 echo $ECHO_N "(cached) $ECHO_C" >&6
33610 cat >conftest.
$ac_ext <<_ACEOF
33613 cat confdefs.h
>>conftest.
$ac_ext
33614 cat >>conftest.
$ac_ext <<_ACEOF
33615 /* end confdefs.h. */
33616 $ac_includes_default
33617 typedef mode_t ac__type_new_;
33621 if ((ac__type_new_ *) 0)
33623 if (sizeof (ac__type_new_))
33629 rm -f conftest.
$ac_objext
33630 if { (ac_try
="$ac_compile"
33631 case "(($ac_try" in
33632 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33633 *) ac_try_echo=$ac_try;;
33635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33636 (eval "$ac_compile") 2>conftest.er1
33638 grep -v '^ *+' conftest.er1 >conftest.err
33640 cat conftest.err >&5
33641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33642 (exit $ac_status); } && {
33643 test -z "$ac_c_werror_flag" ||
33644 test ! -s conftest.err
33645 } && test -s conftest.$ac_objext; then
33646 ac_cv_type_mode_t=yes
33648 echo "$as_me: failed program was:" >&5
33649 sed 's/^/| /' conftest.$ac_ext >&5
33651 ac_cv_type_mode_t=no
33654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33656 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33657 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33658 if test $ac_cv_type_mode_t = yes; then
33662 cat >>confdefs.h <<_ACEOF
33668 { echo "$as_me:$LINENO: checking for off_t" >&5
33669 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33670 if test "${ac_cv_type_off_t+set}" = set; then
33671 echo $ECHO_N "(cached) $ECHO_C" >&6
33673 cat >conftest.$ac_ext <<_ACEOF
33676 cat confdefs.h >>conftest.$ac_ext
33677 cat >>conftest.$ac_ext <<_ACEOF
33678 /* end confdefs.h. */
33679 $ac_includes_default
33680 typedef off_t ac__type_new_;
33684 if ((ac__type_new_ *) 0)
33686 if (sizeof (ac__type_new_))
33692 rm -f conftest.$ac_objext
33693 if { (ac_try="$ac_compile"
33694 case "(($ac_try" in
33695 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33696 *) ac_try_echo
=$ac_try;;
33698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33699 (eval "$ac_compile") 2>conftest.er1
33701 grep -v '^ *+' conftest.er1
>conftest.err
33703 cat conftest.err
>&5
33704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33705 (exit $ac_status); } && {
33706 test -z "$ac_c_werror_flag" ||
33707 test ! -s conftest.err
33708 } && test -s conftest.
$ac_objext; then
33709 ac_cv_type_off_t
=yes
33711 echo "$as_me: failed program was:" >&5
33712 sed 's/^/| /' conftest.
$ac_ext >&5
33714 ac_cv_type_off_t
=no
33717 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33719 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33720 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33721 if test $ac_cv_type_off_t = yes; then
33725 cat >>confdefs.h
<<_ACEOF
33726 #define off_t long int
33731 { echo "$as_me:$LINENO: checking for pid_t" >&5
33732 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33733 if test "${ac_cv_type_pid_t+set}" = set; then
33734 echo $ECHO_N "(cached) $ECHO_C" >&6
33736 cat >conftest.
$ac_ext <<_ACEOF
33739 cat confdefs.h
>>conftest.
$ac_ext
33740 cat >>conftest.
$ac_ext <<_ACEOF
33741 /* end confdefs.h. */
33742 $ac_includes_default
33743 typedef pid_t ac__type_new_;
33747 if ((ac__type_new_ *) 0)
33749 if (sizeof (ac__type_new_))
33755 rm -f conftest.
$ac_objext
33756 if { (ac_try
="$ac_compile"
33757 case "(($ac_try" in
33758 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33759 *) ac_try_echo=$ac_try;;
33761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33762 (eval "$ac_compile") 2>conftest.er1
33764 grep -v '^ *+' conftest.er1 >conftest.err
33766 cat conftest.err >&5
33767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33768 (exit $ac_status); } && {
33769 test -z "$ac_c_werror_flag" ||
33770 test ! -s conftest.err
33771 } && test -s conftest.$ac_objext; then
33772 ac_cv_type_pid_t=yes
33774 echo "$as_me: failed program was:" >&5
33775 sed 's/^/| /' conftest.$ac_ext >&5
33777 ac_cv_type_pid_t=no
33780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33782 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33783 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33784 if test $ac_cv_type_pid_t = yes; then
33788 cat >>confdefs.h <<_ACEOF
33794 { echo "$as_me:$LINENO: checking for size_t" >&5
33795 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33796 if test "${ac_cv_type_size_t+set}" = set; then
33797 echo $ECHO_N "(cached) $ECHO_C" >&6
33799 cat >conftest.$ac_ext <<_ACEOF
33802 cat confdefs.h >>conftest.$ac_ext
33803 cat >>conftest.$ac_ext <<_ACEOF
33804 /* end confdefs.h. */
33805 $ac_includes_default
33806 typedef size_t ac__type_new_;
33810 if ((ac__type_new_ *) 0)
33812 if (sizeof (ac__type_new_))
33818 rm -f conftest.$ac_objext
33819 if { (ac_try="$ac_compile"
33820 case "(($ac_try" in
33821 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33822 *) ac_try_echo
=$ac_try;;
33824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33825 (eval "$ac_compile") 2>conftest.er1
33827 grep -v '^ *+' conftest.er1
>conftest.err
33829 cat conftest.err
>&5
33830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33831 (exit $ac_status); } && {
33832 test -z "$ac_c_werror_flag" ||
33833 test ! -s conftest.err
33834 } && test -s conftest.
$ac_objext; then
33835 ac_cv_type_size_t
=yes
33837 echo "$as_me: failed program was:" >&5
33838 sed 's/^/| /' conftest.
$ac_ext >&5
33840 ac_cv_type_size_t
=no
33843 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33845 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33846 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33847 if test $ac_cv_type_size_t = yes; then
33851 cat >>confdefs.h
<<_ACEOF
33852 #define size_t unsigned int
33858 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33859 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33860 if test "${ac_cv_type_ssize_t+set}" = set; then
33861 echo $ECHO_N "(cached) $ECHO_C" >&6
33863 cat >conftest.
$ac_ext <<_ACEOF
33866 cat confdefs.h
>>conftest.
$ac_ext
33867 cat >>conftest.
$ac_ext <<_ACEOF
33868 /* end confdefs.h. */
33869 $ac_includes_default
33870 typedef ssize_t ac__type_new_;
33874 if ((ac__type_new_ *) 0)
33876 if (sizeof (ac__type_new_))
33882 rm -f conftest.
$ac_objext
33883 if { (ac_try
="$ac_compile"
33884 case "(($ac_try" in
33885 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33886 *) ac_try_echo=$ac_try;;
33888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33889 (eval "$ac_compile") 2>conftest.er1
33891 grep -v '^ *+' conftest.er1 >conftest.err
33893 cat conftest.err >&5
33894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33895 (exit $ac_status); } && {
33896 test -z "$ac_c_werror_flag" ||
33897 test ! -s conftest.err
33898 } && test -s conftest.$ac_objext; then
33899 ac_cv_type_ssize_t=yes
33901 echo "$as_me: failed program was:" >&5
33902 sed 's/^/| /' conftest.$ac_ext >&5
33904 ac_cv_type_ssize_t=no
33907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33909 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33910 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33911 if test $ac_cv_type_ssize_t = yes; then
33913 cat >>confdefs.h <<_ACEOF
33914 #define HAVE_SSIZE_T 1
33922 ac_cpp='$CXXCPP $CPPFLAGS'
33923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33926 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33927 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33928 if test "${wx_cv_size_t_is_uint+set}" = set; then
33929 echo $ECHO_N "(cached) $ECHO_C" >&6
33932 cat >conftest.$ac_ext <<_ACEOF
33935 cat confdefs.h >>conftest.$ac_ext
33936 cat >>conftest.$ac_ext <<_ACEOF
33937 /* end confdefs.h. */
33938 #include <stddef.h>
33945 struct Foo { void foo(size_t); void foo(unsigned int); };
33953 rm -f conftest.$ac_objext
33954 if { (ac_try="$ac_compile"
33955 case "(($ac_try" in
33956 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33957 *) ac_try_echo
=$ac_try;;
33959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33960 (eval "$ac_compile") 2>conftest.er1
33962 grep -v '^ *+' conftest.er1
>conftest.err
33964 cat conftest.err
>&5
33965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33966 (exit $ac_status); } && {
33967 test -z "$ac_cxx_werror_flag" ||
33968 test ! -s conftest.err
33969 } && test -s conftest.
$ac_objext; then
33970 wx_cv_size_t_is_uint
=no
33972 echo "$as_me: failed program was:" >&5
33973 sed 's/^/| /' conftest.
$ac_ext >&5
33975 wx_cv_size_t_is_uint
=yes
33979 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33983 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33984 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33986 if test "$wx_cv_size_t_is_uint" = "yes"; then
33987 cat >>confdefs.h
<<\_ACEOF
33988 #define wxSIZE_T_IS_UINT 1
33992 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33993 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33994 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33995 echo $ECHO_N "(cached) $ECHO_C" >&6
33997 cat >conftest.
$ac_ext <<_ACEOF
34000 cat confdefs.h
>>conftest.
$ac_ext
34001 cat >>conftest.
$ac_ext <<_ACEOF
34002 /* end confdefs.h. */
34003 #include <stddef.h>
34010 struct Foo { void foo(size_t); void foo(unsigned long); };
34018 rm -f conftest.
$ac_objext
34019 if { (ac_try
="$ac_compile"
34020 case "(($ac_try" in
34021 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34022 *) ac_try_echo=$ac_try;;
34024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34025 (eval "$ac_compile") 2>conftest.er1
34027 grep -v '^ *+' conftest.er1 >conftest.err
34029 cat conftest.err >&5
34030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34031 (exit $ac_status); } && {
34032 test -z "$ac_cxx_werror_flag" ||
34033 test ! -s conftest.err
34034 } && test -s conftest.$ac_objext; then
34035 wx_cv_size_t_is_ulong=no
34037 echo "$as_me: failed program was:" >&5
34038 sed 's/^/| /' conftest.$ac_ext >&5
34040 wx_cv_size_t_is_ulong=yes
34044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34047 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34048 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34050 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34051 cat >>confdefs.h <<\_ACEOF
34052 #define wxSIZE_T_IS_ULONG 1
34058 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34059 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34060 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34061 echo $ECHO_N "(cached) $ECHO_C" >&6
34063 cat >conftest.$ac_ext <<_ACEOF
34066 cat confdefs.h >>conftest.$ac_ext
34067 cat >>conftest.$ac_ext <<_ACEOF
34068 /* end confdefs.h. */
34076 struct Foo { void foo(wchar_t);
34077 void foo(unsigned short);
34078 void foo(unsigned int);
34079 void foo(unsigned long); };
34087 rm -f conftest.$ac_objext
34088 if { (ac_try="$ac_compile"
34089 case "(($ac_try" in
34090 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34091 *) ac_try_echo
=$ac_try;;
34093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34094 (eval "$ac_compile") 2>conftest.er1
34096 grep -v '^ *+' conftest.er1
>conftest.err
34098 cat conftest.err
>&5
34099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34100 (exit $ac_status); } && {
34101 test -z "$ac_cxx_werror_flag" ||
34102 test ! -s conftest.err
34103 } && test -s conftest.
$ac_objext; then
34104 wx_cv_wchar_t_is_separate_type
=yes
34106 echo "$as_me: failed program was:" >&5
34107 sed 's/^/| /' conftest.
$ac_ext >&5
34109 wx_cv_wchar_t_is_separate_type
=no
34113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34116 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34117 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34119 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34120 cat >>confdefs.h
<<\_ACEOF
34121 #define wxWCHAR_T_IS_REAL_TYPE 1
34125 cat >>confdefs.h
<<\_ACEOF
34126 #define wxWCHAR_T_IS_REAL_TYPE 0
34132 ac_cpp
='$CPP $CPPFLAGS'
34133 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34134 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34135 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34138 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34139 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34140 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34141 echo $ECHO_N "(cached) $ECHO_C" >&6
34144 cat >conftest.
$ac_ext <<_ACEOF
34147 cat confdefs.h
>>conftest.
$ac_ext
34148 cat >>conftest.
$ac_ext <<_ACEOF
34149 /* end confdefs.h. */
34163 rm -f conftest.
$ac_objext
34164 if { (ac_try
="$ac_compile"
34165 case "(($ac_try" in
34166 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34167 *) ac_try_echo=$ac_try;;
34169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34170 (eval "$ac_compile") 2>conftest.er1
34172 grep -v '^ *+' conftest.er1 >conftest.err
34174 cat conftest.err >&5
34175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34176 (exit $ac_status); } && {
34177 test -z "$ac_c_werror_flag" ||
34178 test ! -s conftest.err
34179 } && test -s conftest.$ac_objext; then
34181 wx_cv_struct_pw_gecos=yes
34184 echo "$as_me: failed program was:" >&5
34185 sed 's/^/| /' conftest.$ac_ext >&5
34188 wx_cv_struct_pw_gecos=no
34193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34197 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34198 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34200 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34201 cat >>confdefs.h <<\_ACEOF
34202 #define HAVE_PW_GECOS 1
34208 if test "$wxUSE_WCHAR_T" = "yes"; then
34209 cat >>confdefs.h <<\_ACEOF
34210 #define wxUSE_WCHAR_T 1
34217 for ac_func in wcslen
34219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34220 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34222 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34223 echo $ECHO_N "(cached) $ECHO_C" >&6
34225 cat >conftest.$ac_ext <<_ACEOF
34228 cat confdefs.h >>conftest.$ac_ext
34229 cat >>conftest.$ac_ext <<_ACEOF
34230 /* end confdefs.h. */
34231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34233 #define $ac_func innocuous_$ac_func
34235 /* System header to define __stub macros and hopefully few prototypes,
34236 which can conflict with char $ac_func (); below.
34237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34238 <limits.h> exists even on freestanding compilers. */
34241 # include <limits.h>
34243 # include <assert.h>
34248 /* Override any GCC internal prototype to avoid an error.
34249 Use char because int might match the return type of a GCC
34250 builtin and then its argument prototype would still apply. */
34255 /* The GNU C library defines this for functions which it implements
34256 to always fail with ENOSYS. Some functions are actually named
34257 something starting with __ and the normal name is an alias. */
34258 #if defined __stub_$ac_func || defined __stub___$ac_func
34265 return $ac_func ();
34270 rm -f conftest.$ac_objext conftest$ac_exeext
34271 if { (ac_try="$ac_link"
34272 case "(($ac_try" in
34273 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34274 *) ac_try_echo
=$ac_try;;
34276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34277 (eval "$ac_link") 2>conftest.er1
34279 grep -v '^ *+' conftest.er1
>conftest.err
34281 cat conftest.err
>&5
34282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34283 (exit $ac_status); } && {
34284 test -z "$ac_c_werror_flag" ||
34285 test ! -s conftest.err
34286 } && test -s conftest
$ac_exeext &&
34287 $as_test_x conftest
$ac_exeext; then
34288 eval "$as_ac_var=yes"
34290 echo "$as_me: failed program was:" >&5
34291 sed 's/^/| /' conftest.
$ac_ext >&5
34293 eval "$as_ac_var=no"
34296 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34297 conftest
$ac_exeext conftest.
$ac_ext
34299 ac_res
=`eval echo '${'$as_ac_var'}'`
34300 { echo "$as_me:$LINENO: result: $ac_res" >&5
34301 echo "${ECHO_T}$ac_res" >&6; }
34302 if test `eval echo '${'$as_ac_var'}'` = yes; then
34303 cat >>confdefs.h
<<_ACEOF
34304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34311 if test "$WCSLEN_FOUND" = 0; then
34312 if test "$TOOLKIT" = "MSW"; then
34313 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34314 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34315 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34316 echo $ECHO_N "(cached) $ECHO_C" >&6
34318 ac_check_lib_save_LIBS
=$LIBS
34319 LIBS
="-lmsvcrt $LIBS"
34320 cat >conftest.
$ac_ext <<_ACEOF
34323 cat confdefs.h
>>conftest.
$ac_ext
34324 cat >>conftest.
$ac_ext <<_ACEOF
34325 /* end confdefs.h. */
34327 /* Override any GCC internal prototype to avoid an error.
34328 Use char because int might match the return type of a GCC
34329 builtin and then its argument prototype would still apply. */
34342 rm -f conftest.
$ac_objext conftest
$ac_exeext
34343 if { (ac_try
="$ac_link"
34344 case "(($ac_try" in
34345 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34346 *) ac_try_echo=$ac_try;;
34348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34349 (eval "$ac_link") 2>conftest.er1
34351 grep -v '^ *+' conftest.er1 >conftest.err
34353 cat conftest.err >&5
34354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34355 (exit $ac_status); } && {
34356 test -z "$ac_c_werror_flag" ||
34357 test ! -s conftest.err
34358 } && test -s conftest$ac_exeext &&
34359 $as_test_x conftest$ac_exeext; then
34360 ac_cv_lib_msvcrt_wcslen=yes
34362 echo "$as_me: failed program was:" >&5
34363 sed 's/^/| /' conftest.$ac_ext >&5
34365 ac_cv_lib_msvcrt_wcslen=no
34368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34369 conftest$ac_exeext conftest.$ac_ext
34370 LIBS=$ac_check_lib_save_LIBS
34372 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34373 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34374 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34379 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34380 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34381 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34382 echo $ECHO_N "(cached) $ECHO_C" >&6
34384 ac_check_lib_save_LIBS=$LIBS
34386 cat >conftest.$ac_ext <<_ACEOF
34389 cat confdefs.h >>conftest.$ac_ext
34390 cat >>conftest.$ac_ext <<_ACEOF
34391 /* end confdefs.h. */
34393 /* Override any GCC internal prototype to avoid an error.
34394 Use char because int might match the return type of a GCC
34395 builtin and then its argument prototype would still apply. */
34408 rm -f conftest.$ac_objext conftest$ac_exeext
34409 if { (ac_try="$ac_link"
34410 case "(($ac_try" in
34411 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34412 *) ac_try_echo
=$ac_try;;
34414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34415 (eval "$ac_link") 2>conftest.er1
34417 grep -v '^ *+' conftest.er1
>conftest.err
34419 cat conftest.err
>&5
34420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34421 (exit $ac_status); } && {
34422 test -z "$ac_c_werror_flag" ||
34423 test ! -s conftest.err
34424 } && test -s conftest
$ac_exeext &&
34425 $as_test_x conftest
$ac_exeext; then
34426 ac_cv_lib_w_wcslen
=yes
34428 echo "$as_me: failed program was:" >&5
34429 sed 's/^/| /' conftest.
$ac_ext >&5
34431 ac_cv_lib_w_wcslen
=no
34434 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34435 conftest
$ac_exeext conftest.
$ac_ext
34436 LIBS
=$ac_check_lib_save_LIBS
34438 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34439 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34440 if test $ac_cv_lib_w_wcslen = yes; then
34450 if test "$WCSLEN_FOUND" = 1; then
34451 cat >>confdefs.h
<<\_ACEOF
34452 #define HAVE_WCSLEN 1
34458 for ac_func
in wcsdup
34460 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34461 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34463 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34464 echo $ECHO_N "(cached) $ECHO_C" >&6
34466 cat >conftest.
$ac_ext <<_ACEOF
34469 cat confdefs.h
>>conftest.
$ac_ext
34470 cat >>conftest.
$ac_ext <<_ACEOF
34471 /* end confdefs.h. */
34472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34474 #define $ac_func innocuous_$ac_func
34476 /* System header to define __stub macros and hopefully few prototypes,
34477 which can conflict with char $ac_func (); below.
34478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34479 <limits.h> exists even on freestanding compilers. */
34482 # include <limits.h>
34484 # include <assert.h>
34489 /* Override any GCC internal prototype to avoid an error.
34490 Use char because int might match the return type of a GCC
34491 builtin and then its argument prototype would still apply. */
34496 /* The GNU C library defines this for functions which it implements
34497 to always fail with ENOSYS. Some functions are actually named
34498 something starting with __ and the normal name is an alias. */
34499 #if defined __stub_$ac_func || defined __stub___$ac_func
34506 return $ac_func ();
34511 rm -f conftest.
$ac_objext conftest
$ac_exeext
34512 if { (ac_try
="$ac_link"
34513 case "(($ac_try" in
34514 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34515 *) ac_try_echo=$ac_try;;
34517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34518 (eval "$ac_link") 2>conftest.er1
34520 grep -v '^ *+' conftest.er1 >conftest.err
34522 cat conftest.err >&5
34523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34524 (exit $ac_status); } && {
34525 test -z "$ac_c_werror_flag" ||
34526 test ! -s conftest.err
34527 } && test -s conftest$ac_exeext &&
34528 $as_test_x conftest$ac_exeext; then
34529 eval "$as_ac_var=yes"
34531 echo "$as_me: failed program was:" >&5
34532 sed 's/^/| /' conftest.$ac_ext >&5
34534 eval "$as_ac_var=no"
34537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34538 conftest$ac_exeext conftest.$ac_ext
34540 ac_res=`eval echo '${'$as_ac_var'}'`
34541 { echo "$as_me:$LINENO: result: $ac_res" >&5
34542 echo "${ECHO_T}$ac_res" >&6; }
34543 if test `eval echo '${'$as_ac_var'}'` = yes; then
34544 cat >>confdefs.h <<_ACEOF
34545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34552 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34553 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34556 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34557 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34558 if test "${ac_cv_type_mbstate_t+set}" = set; then
34559 echo $ECHO_N "(cached) $ECHO_C" >&6
34561 cat >conftest.$ac_ext <<_ACEOF
34564 cat confdefs.h >>conftest.$ac_ext
34565 cat >>conftest.$ac_ext <<_ACEOF
34566 /* end confdefs.h. */
34569 typedef mbstate_t ac__type_new_;
34573 if ((ac__type_new_ *) 0)
34575 if (sizeof (ac__type_new_))
34581 rm -f conftest.$ac_objext
34582 if { (ac_try="$ac_compile"
34583 case "(($ac_try" in
34584 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34585 *) ac_try_echo
=$ac_try;;
34587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34588 (eval "$ac_compile") 2>conftest.er1
34590 grep -v '^ *+' conftest.er1
>conftest.err
34592 cat conftest.err
>&5
34593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34594 (exit $ac_status); } && {
34595 test -z "$ac_c_werror_flag" ||
34596 test ! -s conftest.err
34597 } && test -s conftest.
$ac_objext; then
34598 ac_cv_type_mbstate_t
=yes
34600 echo "$as_me: failed program was:" >&5
34601 sed 's/^/| /' conftest.
$ac_ext >&5
34603 ac_cv_type_mbstate_t
=no
34606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34608 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34609 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34610 if test $ac_cv_type_mbstate_t = yes; then
34612 cat >>confdefs.h
<<_ACEOF
34613 #define HAVE_MBSTATE_T 1
34617 for ac_func
in wcsrtombs
34619 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34620 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34622 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34623 echo $ECHO_N "(cached) $ECHO_C" >&6
34625 cat >conftest.
$ac_ext <<_ACEOF
34628 cat confdefs.h
>>conftest.
$ac_ext
34629 cat >>conftest.
$ac_ext <<_ACEOF
34630 /* end confdefs.h. */
34631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34633 #define $ac_func innocuous_$ac_func
34635 /* System header to define __stub macros and hopefully few prototypes,
34636 which can conflict with char $ac_func (); below.
34637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34638 <limits.h> exists even on freestanding compilers. */
34641 # include <limits.h>
34643 # include <assert.h>
34648 /* Override any GCC internal prototype to avoid an error.
34649 Use char because int might match the return type of a GCC
34650 builtin and then its argument prototype would still apply. */
34655 /* The GNU C library defines this for functions which it implements
34656 to always fail with ENOSYS. Some functions are actually named
34657 something starting with __ and the normal name is an alias. */
34658 #if defined __stub_$ac_func || defined __stub___$ac_func
34665 return $ac_func ();
34670 rm -f conftest.
$ac_objext conftest
$ac_exeext
34671 if { (ac_try
="$ac_link"
34672 case "(($ac_try" in
34673 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34674 *) ac_try_echo=$ac_try;;
34676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34677 (eval "$ac_link") 2>conftest.er1
34679 grep -v '^ *+' conftest.er1 >conftest.err
34681 cat conftest.err >&5
34682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34683 (exit $ac_status); } && {
34684 test -z "$ac_c_werror_flag" ||
34685 test ! -s conftest.err
34686 } && test -s conftest$ac_exeext &&
34687 $as_test_x conftest$ac_exeext; then
34688 eval "$as_ac_var=yes"
34690 echo "$as_me: failed program was:" >&5
34691 sed 's/^/| /' conftest.$ac_ext >&5
34693 eval "$as_ac_var=no"
34696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34697 conftest$ac_exeext conftest.$ac_ext
34699 ac_res=`eval echo '${'$as_ac_var'}'`
34700 { echo "$as_me:$LINENO: result: $ac_res" >&5
34701 echo "${ECHO_T}$ac_res" >&6; }
34702 if test `eval echo '${'$as_ac_var'}'` = yes; then
34703 cat >>confdefs.h <<_ACEOF
34704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34713 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34714 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34719 for ac_func in snprintf vsnprintf
34721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34722 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34724 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34725 echo $ECHO_N "(cached) $ECHO_C" >&6
34727 cat >conftest.$ac_ext <<_ACEOF
34730 cat confdefs.h >>conftest.$ac_ext
34731 cat >>conftest.$ac_ext <<_ACEOF
34732 /* end confdefs.h. */
34733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34735 #define $ac_func innocuous_$ac_func
34737 /* System header to define __stub macros and hopefully few prototypes,
34738 which can conflict with char $ac_func (); below.
34739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34740 <limits.h> exists even on freestanding compilers. */
34743 # include <limits.h>
34745 # include <assert.h>
34750 /* Override any GCC internal prototype to avoid an error.
34751 Use char because int might match the return type of a GCC
34752 builtin and then its argument prototype would still apply. */
34757 /* The GNU C library defines this for functions which it implements
34758 to always fail with ENOSYS. Some functions are actually named
34759 something starting with __ and the normal name is an alias. */
34760 #if defined __stub_$ac_func || defined __stub___$ac_func
34767 return $ac_func ();
34772 rm -f conftest.$ac_objext conftest$ac_exeext
34773 if { (ac_try="$ac_link"
34774 case "(($ac_try" in
34775 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34776 *) ac_try_echo
=$ac_try;;
34778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34779 (eval "$ac_link") 2>conftest.er1
34781 grep -v '^ *+' conftest.er1
>conftest.err
34783 cat conftest.err
>&5
34784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34785 (exit $ac_status); } && {
34786 test -z "$ac_c_werror_flag" ||
34787 test ! -s conftest.err
34788 } && test -s conftest
$ac_exeext &&
34789 $as_test_x conftest
$ac_exeext; then
34790 eval "$as_ac_var=yes"
34792 echo "$as_me: failed program was:" >&5
34793 sed 's/^/| /' conftest.
$ac_ext >&5
34795 eval "$as_ac_var=no"
34798 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34799 conftest
$ac_exeext conftest.
$ac_ext
34801 ac_res
=`eval echo '${'$as_ac_var'}'`
34802 { echo "$as_me:$LINENO: result: $ac_res" >&5
34803 echo "${ECHO_T}$ac_res" >&6; }
34804 if test `eval echo '${'$as_ac_var'}'` = yes; then
34805 cat >>confdefs.h
<<_ACEOF
34806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34813 if test "$ac_cv_func_vsnprintf" = "yes"; then
34814 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34815 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34816 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34817 echo $ECHO_N "(cached) $ECHO_C" >&6
34820 cat >conftest.
$ac_ext <<_ACEOF
34823 cat confdefs.h
>>conftest.
$ac_ext
34824 cat >>conftest.
$ac_ext <<_ACEOF
34825 /* end confdefs.h. */
34828 #include <stdarg.h>
34830 #if __MSL__ >= 0x6000
34832 using namespace std;
34842 vsnprintf(buf, 10u, "%s", ap);
34848 rm -f conftest.
$ac_objext
34849 if { (ac_try
="$ac_compile"
34850 case "(($ac_try" in
34851 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34852 *) ac_try_echo=$ac_try;;
34854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34855 (eval "$ac_compile") 2>conftest.er1
34857 grep -v '^ *+' conftest.er1 >conftest.err
34859 cat conftest.err >&5
34860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34861 (exit $ac_status); } && {
34862 test -z "$ac_c_werror_flag" ||
34863 test ! -s conftest.err
34864 } && test -s conftest.$ac_objext; then
34865 wx_cv_func_vsnprintf_decl=yes
34867 echo "$as_me: failed program was:" >&5
34868 sed 's/^/| /' conftest.$ac_ext >&5
34870 wx_cv_func_vsnprintf_decl=no
34874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34878 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34879 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34881 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34882 cat >>confdefs.h <<\_ACEOF
34883 #define HAVE_VSNPRINTF_DECL 1
34887 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34888 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34889 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34890 echo $ECHO_N "(cached) $ECHO_C" >&6
34893 cat >conftest.$ac_ext <<_ACEOF
34896 cat confdefs.h >>conftest.$ac_ext
34897 cat >>conftest.$ac_ext <<_ACEOF
34898 /* end confdefs.h. */
34901 #include <stdarg.h>
34903 #if __MSL__ >= 0x6000
34905 using namespace std;
34915 const char *fmt = "%s";
34916 vsnprintf(buf, 10u, fmt, ap);
34922 rm -f conftest.$ac_objext
34923 if { (ac_try="$ac_compile"
34924 case "(($ac_try" in
34925 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34926 *) ac_try_echo
=$ac_try;;
34928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34929 (eval "$ac_compile") 2>conftest.er1
34931 grep -v '^ *+' conftest.er1
>conftest.err
34933 cat conftest.err
>&5
34934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34935 (exit $ac_status); } && {
34936 test -z "$ac_c_werror_flag" ||
34937 test ! -s conftest.err
34938 } && test -s conftest.
$ac_objext; then
34939 wx_cv_func_broken_vsnprintf_decl
=no
34941 echo "$as_me: failed program was:" >&5
34942 sed 's/^/| /' conftest.
$ac_ext >&5
34944 wx_cv_func_broken_vsnprintf_decl
=yes
34948 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34952 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34953 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34955 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34956 cat >>confdefs.h
<<\_ACEOF
34957 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34964 if test "$ac_cv_func_snprintf" = "yes"; then
34965 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34966 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34967 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34968 echo $ECHO_N "(cached) $ECHO_C" >&6
34971 cat >conftest.
$ac_ext <<_ACEOF
34974 cat confdefs.h
>>conftest.
$ac_ext
34975 cat >>conftest.
$ac_ext <<_ACEOF
34976 /* end confdefs.h. */
34979 #include <stdarg.h>
34981 #if __MSL__ >= 0x6000
34983 using namespace std;
34992 snprintf(buf, 10u, "%s", "wx");
34998 rm -f conftest.
$ac_objext
34999 if { (ac_try
="$ac_compile"
35000 case "(($ac_try" in
35001 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35002 *) ac_try_echo=$ac_try;;
35004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35005 (eval "$ac_compile") 2>conftest.er1
35007 grep -v '^ *+' conftest.er1 >conftest.err
35009 cat conftest.err >&5
35010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35011 (exit $ac_status); } && {
35012 test -z "$ac_c_werror_flag" ||
35013 test ! -s conftest.err
35014 } && test -s conftest.$ac_objext; then
35015 wx_cv_func_snprintf_decl=yes
35017 echo "$as_me: failed program was:" >&5
35018 sed 's/^/| /' conftest.$ac_ext >&5
35020 wx_cv_func_snprintf_decl=no
35024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35028 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35029 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35031 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35032 cat >>confdefs.h <<\_ACEOF
35033 #define HAVE_SNPRINTF_DECL 1
35038 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35040 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35041 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35042 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35043 echo $ECHO_N "(cached) $ECHO_C" >&6
35046 if test "$cross_compiling" = yes; then
35048 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35049 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35050 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35051 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35052 wx_cv_func_snprintf_pos_params=no
35056 cat >conftest.$ac_ext <<_ACEOF
35059 cat confdefs.h >>conftest.$ac_ext
35060 cat >>conftest.$ac_ext <<_ACEOF
35061 /* end confdefs.h. */
35068 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35069 if (strcmp ("2 3 1", buffer) == 0)
35075 rm -f conftest$ac_exeext
35076 if { (ac_try="$ac_link"
35077 case "(($ac_try" in
35078 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35079 *) ac_try_echo
=$ac_try;;
35081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35082 (eval "$ac_link") 2>&5
35084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35085 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35086 { (case "(($ac_try" in
35087 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35088 *) ac_try_echo=$ac_try;;
35090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35091 (eval "$ac_try") 2>&5
35093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35094 (exit $ac_status); }; }; then
35095 wx_cv_func_snprintf_pos_params=no
35097 echo "$as_me: program exited with status $ac_status" >&5
35098 echo "$as_me: failed program was:" >&5
35099 sed 's/^/| /' conftest.$ac_ext >&5
35101 ( exit $ac_status )
35102 wx_cv_func_snprintf_pos_params=yes
35104 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35111 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35112 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35114 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35115 cat >>confdefs.h <<\_ACEOF
35116 #define HAVE_UNIX98_PRINTF 1
35123 if test "$wxUSE_UNICODE" = yes; then
35125 wchar_headers="#include <stdio.h>
35126 #include <wchar.h>"
35130 for ac_header in widec.h
35132 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35133 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35135 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35136 echo $ECHO_N "(cached) $ECHO_C" >&6
35138 cat >conftest.$ac_ext <<_ACEOF
35141 cat confdefs.h >>conftest.$ac_ext
35142 cat >>conftest.$ac_ext <<_ACEOF
35143 /* end confdefs.h. */
35144 $ac_includes_default
35146 #include <$ac_header>
35148 rm -f conftest.$ac_objext
35149 if { (ac_try="$ac_compile"
35150 case "(($ac_try" in
35151 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35152 *) ac_try_echo
=$ac_try;;
35154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35155 (eval "$ac_compile") 2>conftest.er1
35157 grep -v '^ *+' conftest.er1
>conftest.err
35159 cat conftest.err
>&5
35160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35161 (exit $ac_status); } && {
35162 test -z "$ac_c_werror_flag" ||
35163 test ! -s conftest.err
35164 } && test -s conftest.
$ac_objext; then
35165 eval "$as_ac_Header=yes"
35167 echo "$as_me: failed program was:" >&5
35168 sed 's/^/| /' conftest.
$ac_ext >&5
35170 eval "$as_ac_Header=no"
35173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35175 ac_res
=`eval echo '${'$as_ac_Header'}'`
35176 { echo "$as_me:$LINENO: result: $ac_res" >&5
35177 echo "${ECHO_T}$ac_res" >&6; }
35178 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35179 cat >>confdefs.h
<<_ACEOF
35180 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35187 if test "$ac_cv_header_widec_h" = "yes"; then
35188 wchar_headers
="$wchar_headers
35189 #include <widec.h>"
35194 for wx_func
in putws fputws wprintf vswprintf
35196 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35197 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35198 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35199 echo $ECHO_N "(cached) $ECHO_C" >&6
35202 cat >conftest.
$ac_ext <<_ACEOF
35206 cat confdefs.h
>>conftest.
$ac_ext
35207 cat >>conftest.
$ac_ext <<_ACEOF
35208 /* end confdefs.h. */
35211 $ac_includes_default
35227 rm -f conftest.
$ac_objext conftest
$ac_exeext
35228 if { (ac_try
="$ac_link"
35229 case "(($ac_try" in
35230 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35231 *) ac_try_echo=$ac_try;;
35233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35234 (eval "$ac_link") 2>conftest.er1
35236 grep -v '^ *+' conftest.er1 >conftest.err
35238 cat conftest.err >&5
35239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35240 (exit $ac_status); } && {
35241 test -z "$ac_c_werror_flag" ||
35242 test ! -s conftest.err
35243 } && test -s conftest$ac_exeext &&
35244 $as_test_x conftest$ac_exeext; then
35245 eval wx_cv_func_$wx_func=yes
35247 echo "$as_me: failed program was:" >&5
35248 sed 's/^/| /' conftest.$ac_ext >&5
35250 eval wx_cv_func_$wx_func=no
35253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35254 conftest$ac_exeext conftest.$ac_ext
35257 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35258 { echo "$as_me:$LINENO: result: $ac_res" >&5
35259 echo "${ECHO_T}$ac_res" >&6; }
35261 if eval test \$wx_cv_func_$wx_func = yes
35263 cat >>confdefs.h <<_ACEOF
35264 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35275 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35276 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35277 cat >conftest.$ac_ext <<_ACEOF
35280 cat confdefs.h >>conftest.$ac_ext
35281 cat >>conftest.$ac_ext <<_ACEOF
35282 /* end confdefs.h. */
35292 rm -f conftest.$ac_objext
35293 if { (ac_try="$ac_compile"
35294 case "(($ac_try" in
35295 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35296 *) ac_try_echo
=$ac_try;;
35298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35299 (eval "$ac_compile") 2>conftest.er1
35301 grep -v '^ *+' conftest.er1
>conftest.err
35303 cat conftest.err
>&5
35304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35305 (exit $ac_status); } && {
35306 test -z "$ac_c_werror_flag" ||
35307 test ! -s conftest.err
35308 } && test -s conftest.
$ac_objext; then
35309 { echo "$as_me:$LINENO: result: yes" >&5
35310 echo "${ECHO_T}yes" >&6; }
35311 cat >>confdefs.h
<<\_ACEOF
35312 #define HAVE__VSNWPRINTF 1
35316 echo "$as_me: failed program was:" >&5
35317 sed 's/^/| /' conftest.
$ac_ext >&5
35319 { echo "$as_me:$LINENO: result: no" >&5
35320 echo "${ECHO_T}no" >&6; }
35323 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
35326 if test "$wxUSE_FILE" = "yes"; then
35328 for wx_func
in fsync
35330 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35331 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35332 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35333 echo $ECHO_N "(cached) $ECHO_C" >&6
35336 cat >conftest.
$ac_ext <<_ACEOF
35340 cat confdefs.h
>>conftest.
$ac_ext
35341 cat >>conftest.
$ac_ext <<_ACEOF
35342 /* end confdefs.h. */
35345 $ac_includes_default
35361 rm -f conftest.
$ac_objext conftest
$ac_exeext
35362 if { (ac_try
="$ac_link"
35363 case "(($ac_try" in
35364 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35365 *) ac_try_echo=$ac_try;;
35367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35368 (eval "$ac_link") 2>conftest.er1
35370 grep -v '^ *+' conftest.er1 >conftest.err
35372 cat conftest.err >&5
35373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35374 (exit $ac_status); } && {
35375 test -z "$ac_c_werror_flag" ||
35376 test ! -s conftest.err
35377 } && test -s conftest$ac_exeext &&
35378 $as_test_x conftest$ac_exeext; then
35379 eval wx_cv_func_$wx_func=yes
35381 echo "$as_me: failed program was:" >&5
35382 sed 's/^/| /' conftest.$ac_ext >&5
35384 eval wx_cv_func_$wx_func=no
35387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35388 conftest$ac_exeext conftest.$ac_ext
35391 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35392 { echo "$as_me:$LINENO: result: $ac_res" >&5
35393 echo "${ECHO_T}$ac_res" >&6; }
35395 if eval test \$wx_cv_func_$wx_func = yes
35397 cat >>confdefs.h <<_ACEOF
35398 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35411 ac_cpp='$CXXCPP $CPPFLAGS'
35412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35417 for wx_func in round
35419 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35420 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35421 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35422 echo $ECHO_N "(cached) $ECHO_C" >&6
35425 cat >conftest.$ac_ext <<_ACEOF
35429 cat confdefs.h >>conftest.$ac_ext
35430 cat >>conftest.$ac_ext <<_ACEOF
35431 /* end confdefs.h. */
35434 $ac_includes_default
35450 rm -f conftest.$ac_objext conftest$ac_exeext
35451 if { (ac_try="$ac_link"
35452 case "(($ac_try" in
35453 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35454 *) ac_try_echo
=$ac_try;;
35456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35457 (eval "$ac_link") 2>conftest.er1
35459 grep -v '^ *+' conftest.er1
>conftest.err
35461 cat conftest.err
>&5
35462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35463 (exit $ac_status); } && {
35464 test -z "$ac_cxx_werror_flag" ||
35465 test ! -s conftest.err
35466 } && test -s conftest
$ac_exeext &&
35467 $as_test_x conftest
$ac_exeext; then
35468 eval wx_cv_func_
$wx_func=yes
35470 echo "$as_me: failed program was:" >&5
35471 sed 's/^/| /' conftest.
$ac_ext >&5
35473 eval wx_cv_func_
$wx_func=no
35476 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35477 conftest
$ac_exeext conftest.
$ac_ext
35480 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35481 { echo "$as_me:$LINENO: result: $ac_res" >&5
35482 echo "${ECHO_T}$ac_res" >&6; }
35484 if eval test \
$wx_cv_func_$wx_func = yes
35486 cat >>confdefs.h
<<_ACEOF
35487 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35498 ac_cpp
='$CPP $CPPFLAGS'
35499 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35500 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35501 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35504 if test "$TOOLKIT" != "MSW"; then
35510 # Check whether --with-libiconv-prefix was given.
35511 if test "${with_libiconv_prefix+set}" = set; then
35512 withval
=$with_libiconv_prefix;
35513 for dir
in `echo "$withval" | tr : ' '`; do
35514 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
35515 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
35521 { echo "$as_me:$LINENO: checking for iconv" >&5
35522 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35523 if test "${am_cv_func_iconv+set}" = set; then
35524 echo $ECHO_N "(cached) $ECHO_C" >&6
35527 am_cv_func_iconv
="no, consider installing GNU libiconv"
35529 cat >conftest.
$ac_ext <<_ACEOF
35532 cat confdefs.h
>>conftest.
$ac_ext
35533 cat >>conftest.
$ac_ext <<_ACEOF
35534 /* end confdefs.h. */
35535 #include <stdlib.h>
35540 iconv_t cd = iconv_open("","");
35541 iconv(cd,NULL,NULL,NULL,NULL);
35547 rm -f conftest.
$ac_objext conftest
$ac_exeext
35548 if { (ac_try
="$ac_link"
35549 case "(($ac_try" in
35550 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35551 *) ac_try_echo=$ac_try;;
35553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35554 (eval "$ac_link") 2>conftest.er1
35556 grep -v '^ *+' conftest.er1 >conftest.err
35558 cat conftest.err >&5
35559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35560 (exit $ac_status); } && {
35561 test -z "$ac_c_werror_flag" ||
35562 test ! -s conftest.err
35563 } && test -s conftest$ac_exeext &&
35564 $as_test_x conftest$ac_exeext; then
35565 am_cv_func_iconv=yes
35567 echo "$as_me: failed program was:" >&5
35568 sed 's/^/| /' conftest.$ac_ext >&5
35573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35574 conftest$ac_exeext conftest.$ac_ext
35575 if test "$am_cv_func_iconv" != yes; then
35576 am_save_LIBS="$LIBS"
35577 LIBS="$LIBS -liconv"
35578 cat >conftest.$ac_ext <<_ACEOF
35581 cat confdefs.h >>conftest.$ac_ext
35582 cat >>conftest.$ac_ext <<_ACEOF
35583 /* end confdefs.h. */
35584 #include <stdlib.h>
35589 iconv_t cd = iconv_open("","");
35590 iconv(cd,NULL,NULL,NULL,NULL);
35596 rm -f conftest.$ac_objext conftest$ac_exeext
35597 if { (ac_try="$ac_link"
35598 case "(($ac_try" in
35599 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35600 *) ac_try_echo
=$ac_try;;
35602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35603 (eval "$ac_link") 2>conftest.er1
35605 grep -v '^ *+' conftest.er1
>conftest.err
35607 cat conftest.err
>&5
35608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35609 (exit $ac_status); } && {
35610 test -z "$ac_c_werror_flag" ||
35611 test ! -s conftest.err
35612 } && test -s conftest
$ac_exeext &&
35613 $as_test_x conftest
$ac_exeext; then
35614 am_cv_lib_iconv
=yes
35615 am_cv_func_iconv
=yes
35617 echo "$as_me: failed program was:" >&5
35618 sed 's/^/| /' conftest.
$ac_ext >&5
35623 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35624 conftest
$ac_exeext conftest.
$ac_ext
35625 LIBS
="$am_save_LIBS"
35629 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35630 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35631 if test "$am_cv_func_iconv" = yes; then
35633 cat >>confdefs.h
<<\_ACEOF
35634 #define HAVE_ICONV 1
35637 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35638 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35639 if test "${wx_cv_func_iconv_const+set}" = set; then
35640 echo $ECHO_N "(cached) $ECHO_C" >&6
35642 cat >conftest.
$ac_ext <<_ACEOF
35645 cat confdefs.h
>>conftest.
$ac_ext
35646 cat >>conftest.
$ac_ext <<_ACEOF
35647 /* end confdefs.h. */
35649 #include <stdlib.h>
35655 #if defined(__STDC__) || defined(__cplusplus)
35656 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35669 rm -f conftest.
$ac_objext
35670 if { (ac_try
="$ac_compile"
35671 case "(($ac_try" in
35672 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35673 *) ac_try_echo=$ac_try;;
35675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35676 (eval "$ac_compile") 2>conftest.er1
35678 grep -v '^ *+' conftest.er1 >conftest.err
35680 cat conftest.err >&5
35681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35682 (exit $ac_status); } && {
35683 test -z "$ac_c_werror_flag" ||
35684 test ! -s conftest.err
35685 } && test -s conftest.$ac_objext; then
35686 wx_cv_func_iconv_const="no"
35688 echo "$as_me: failed program was:" >&5
35689 sed 's/^/| /' conftest.$ac_ext >&5
35691 wx_cv_func_iconv_const="yes"
35695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35698 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35699 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35702 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35703 iconv_const="const"
35707 cat >>confdefs.h <<_ACEOF
35708 #define ICONV_CONST $iconv_const
35713 if test "$am_cv_lib_iconv" = yes; then
35718 LIBS="$LIBICONV $LIBS"
35720 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35722 for ac_func in sigaction
35724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35725 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35727 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35728 echo $ECHO_N "(cached) $ECHO_C" >&6
35730 cat >conftest.$ac_ext <<_ACEOF
35733 cat confdefs.h >>conftest.$ac_ext
35734 cat >>conftest.$ac_ext <<_ACEOF
35735 /* end confdefs.h. */
35736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35738 #define $ac_func innocuous_$ac_func
35740 /* System header to define __stub macros and hopefully few prototypes,
35741 which can conflict with char $ac_func (); below.
35742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35743 <limits.h> exists even on freestanding compilers. */
35746 # include <limits.h>
35748 # include <assert.h>
35753 /* Override any GCC internal prototype to avoid an error.
35754 Use char because int might match the return type of a GCC
35755 builtin and then its argument prototype would still apply. */
35760 /* The GNU C library defines this for functions which it implements
35761 to always fail with ENOSYS. Some functions are actually named
35762 something starting with __ and the normal name is an alias. */
35763 #if defined __stub_$ac_func || defined __stub___$ac_func
35770 return $ac_func ();
35775 rm -f conftest.$ac_objext conftest$ac_exeext
35776 if { (ac_try="$ac_link"
35777 case "(($ac_try" in
35778 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35779 *) ac_try_echo
=$ac_try;;
35781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35782 (eval "$ac_link") 2>conftest.er1
35784 grep -v '^ *+' conftest.er1
>conftest.err
35786 cat conftest.err
>&5
35787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35788 (exit $ac_status); } && {
35789 test -z "$ac_c_werror_flag" ||
35790 test ! -s conftest.err
35791 } && test -s conftest
$ac_exeext &&
35792 $as_test_x conftest
$ac_exeext; then
35793 eval "$as_ac_var=yes"
35795 echo "$as_me: failed program was:" >&5
35796 sed 's/^/| /' conftest.
$ac_ext >&5
35798 eval "$as_ac_var=no"
35801 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35802 conftest
$ac_exeext conftest.
$ac_ext
35804 ac_res
=`eval echo '${'$as_ac_var'}'`
35805 { echo "$as_me:$LINENO: result: $ac_res" >&5
35806 echo "${ECHO_T}$ac_res" >&6; }
35807 if test `eval echo '${'$as_ac_var'}'` = yes; then
35808 cat >>confdefs.h
<<_ACEOF
35809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35816 if test "$ac_cv_func_sigaction" = "no"; then
35817 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35818 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35819 wxUSE_ON_FATAL_EXCEPTION
=no
35822 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35823 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35824 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35825 if test "${wx_cv_type_sa_handler+set}" = set; then
35826 echo $ECHO_N "(cached) $ECHO_C" >&6
35830 ac_cpp
='$CXXCPP $CPPFLAGS'
35831 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35832 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35833 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35835 cat >conftest.
$ac_ext <<_ACEOF
35838 cat confdefs.h
>>conftest.
$ac_ext
35839 cat >>conftest.
$ac_ext <<_ACEOF
35840 /* end confdefs.h. */
35841 #include <signal.h>
35846 extern void testSigHandler(int);
35848 struct sigaction sa;
35849 sa.sa_handler = testSigHandler;
35855 rm -f conftest.
$ac_objext
35856 if { (ac_try
="$ac_compile"
35857 case "(($ac_try" in
35858 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35859 *) ac_try_echo=$ac_try;;
35861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35862 (eval "$ac_compile") 2>conftest.er1
35864 grep -v '^ *+' conftest.er1 >conftest.err
35866 cat conftest.err >&5
35867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35868 (exit $ac_status); } && {
35869 test -z "$ac_cxx_werror_flag" ||
35870 test ! -s conftest.err
35871 } && test -s conftest.$ac_objext; then
35873 wx_cv_type_sa_handler=int
35876 echo "$as_me: failed program was:" >&5
35877 sed 's/^/| /' conftest.$ac_ext >&5
35880 wx_cv_type_sa_handler=void
35884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35886 ac_cpp='$CPP $CPPFLAGS'
35887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35893 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35894 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35896 cat >>confdefs.h <<_ACEOF
35897 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35903 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35904 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35905 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35906 if test "${wx_cv_func_backtrace+set}" = set; then
35907 echo $ECHO_N "(cached) $ECHO_C" >&6
35911 ac_cpp='$CXXCPP $CPPFLAGS'
35912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35916 cat >conftest.$ac_ext <<_ACEOF
35919 cat confdefs.h >>conftest.$ac_ext
35920 cat >>conftest.$ac_ext <<_ACEOF
35921 /* end confdefs.h. */
35922 #include <execinfo.h>
35930 backtrace(trace, 1);
35931 messages = backtrace_symbols(trace, 1);
35937 rm -f conftest.$ac_objext
35938 if { (ac_try="$ac_compile"
35939 case "(($ac_try" in
35940 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35941 *) ac_try_echo
=$ac_try;;
35943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35944 (eval "$ac_compile") 2>conftest.er1
35946 grep -v '^ *+' conftest.er1
>conftest.err
35948 cat conftest.err
>&5
35949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35950 (exit $ac_status); } && {
35951 test -z "$ac_cxx_werror_flag" ||
35952 test ! -s conftest.err
35953 } && test -s conftest.
$ac_objext; then
35954 wx_cv_func_backtrace
=yes
35956 echo "$as_me: failed program was:" >&5
35957 sed 's/^/| /' conftest.
$ac_ext >&5
35959 wx_cv_func_backtrace
=no
35963 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35965 ac_cpp
='$CPP $CPPFLAGS'
35966 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35967 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35968 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35973 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35974 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35977 if test "$wx_cv_func_backtrace" = "no"; then
35978 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35979 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35980 wxUSE_STACKWALKER
=no
35982 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35983 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35984 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35985 echo $ECHO_N "(cached) $ECHO_C" >&6
35989 ac_cpp
='$CXXCPP $CPPFLAGS'
35990 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35991 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35992 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35994 cat >conftest.
$ac_ext <<_ACEOF
35997 cat confdefs.h
>>conftest.
$ac_ext
35998 cat >>conftest.
$ac_ext <<_ACEOF
35999 /* end confdefs.h. */
36000 #include <cxxabi.h>
36006 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36012 rm -f conftest.
$ac_objext conftest
$ac_exeext
36013 if { (ac_try
="$ac_link"
36014 case "(($ac_try" in
36015 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36016 *) ac_try_echo=$ac_try;;
36018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36019 (eval "$ac_link") 2>conftest.er1
36021 grep -v '^ *+' conftest.er1 >conftest.err
36023 cat conftest.err >&5
36024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36025 (exit $ac_status); } && {
36026 test -z "$ac_cxx_werror_flag" ||
36027 test ! -s conftest.err
36028 } && test -s conftest$ac_exeext &&
36029 $as_test_x conftest$ac_exeext; then
36030 wx_cv_func_cxa_demangle=yes
36032 echo "$as_me: failed program was:" >&5
36033 sed 's/^/| /' conftest.$ac_ext >&5
36035 wx_cv_func_cxa_demangle=no
36039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36040 conftest$ac_exeext conftest.$ac_ext
36042 ac_cpp='$CPP $CPPFLAGS'
36043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36050 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36051 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36053 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36054 cat >>confdefs.h <<\_ACEOF
36055 #define HAVE_CXA_DEMANGLE 1
36062 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36063 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36064 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36065 wxUSE_STACKWALKER=no
36071 for ac_func in mkstemp mktemp
36073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36074 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36076 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36077 echo $ECHO_N "(cached) $ECHO_C" >&6
36079 cat >conftest.$ac_ext <<_ACEOF
36082 cat confdefs.h >>conftest.$ac_ext
36083 cat >>conftest.$ac_ext <<_ACEOF
36084 /* end confdefs.h. */
36085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36087 #define $ac_func innocuous_$ac_func
36089 /* System header to define __stub macros and hopefully few prototypes,
36090 which can conflict with char $ac_func (); below.
36091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36092 <limits.h> exists even on freestanding compilers. */
36095 # include <limits.h>
36097 # include <assert.h>
36102 /* Override any GCC internal prototype to avoid an error.
36103 Use char because int might match the return type of a GCC
36104 builtin and then its argument prototype would still apply. */
36109 /* The GNU C library defines this for functions which it implements
36110 to always fail with ENOSYS. Some functions are actually named
36111 something starting with __ and the normal name is an alias. */
36112 #if defined __stub_$ac_func || defined __stub___$ac_func
36119 return $ac_func ();
36124 rm -f conftest.$ac_objext conftest$ac_exeext
36125 if { (ac_try="$ac_link"
36126 case "(($ac_try" in
36127 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36128 *) ac_try_echo
=$ac_try;;
36130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36131 (eval "$ac_link") 2>conftest.er1
36133 grep -v '^ *+' conftest.er1
>conftest.err
36135 cat conftest.err
>&5
36136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36137 (exit $ac_status); } && {
36138 test -z "$ac_c_werror_flag" ||
36139 test ! -s conftest.err
36140 } && test -s conftest
$ac_exeext &&
36141 $as_test_x conftest
$ac_exeext; then
36142 eval "$as_ac_var=yes"
36144 echo "$as_me: failed program was:" >&5
36145 sed 's/^/| /' conftest.
$ac_ext >&5
36147 eval "$as_ac_var=no"
36150 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36151 conftest
$ac_exeext conftest.
$ac_ext
36153 ac_res
=`eval echo '${'$as_ac_var'}'`
36154 { echo "$as_me:$LINENO: result: $ac_res" >&5
36155 echo "${ECHO_T}$ac_res" >&6; }
36156 if test `eval echo '${'$as_ac_var'}'` = yes; then
36157 cat >>confdefs.h
<<_ACEOF
36158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36165 { echo "$as_me:$LINENO: checking for statfs" >&5
36166 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36167 if test "${wx_cv_func_statfs+set}" = set; then
36168 echo $ECHO_N "(cached) $ECHO_C" >&6
36170 cat >conftest.
$ac_ext <<_ACEOF
36173 cat confdefs.h
>>conftest.
$ac_ext
36174 cat >>conftest.
$ac_ext <<_ACEOF
36175 /* end confdefs.h. */
36177 #if defined(__BSD__)
36178 #include <sys/param.h>
36179 #include <sys/mount.h>
36181 #include <sys/vfs.h>
36199 rm -f conftest.
$ac_objext
36200 if { (ac_try
="$ac_compile"
36201 case "(($ac_try" in
36202 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36203 *) ac_try_echo=$ac_try;;
36205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36206 (eval "$ac_compile") 2>conftest.er1
36208 grep -v '^ *+' conftest.er1 >conftest.err
36210 cat conftest.err >&5
36211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36212 (exit $ac_status); } && {
36213 test -z "$ac_c_werror_flag" ||
36214 test ! -s conftest.err
36215 } && test -s conftest.$ac_objext; then
36216 wx_cv_func_statfs=yes
36218 echo "$as_me: failed program was:" >&5
36219 sed 's/^/| /' conftest.$ac_ext >&5
36221 wx_cv_func_statfs=no
36225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36228 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36229 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36231 if test "$wx_cv_func_statfs" = "yes"; then
36232 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36233 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36234 if test "${wx_cv_func_statfs_decl+set}" = set; then
36235 echo $ECHO_N "(cached) $ECHO_C" >&6
36238 ac_cpp='$CXXCPP $CPPFLAGS'
36239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36243 cat >conftest.$ac_ext <<_ACEOF
36246 cat confdefs.h >>conftest.$ac_ext
36247 cat >>conftest.$ac_ext <<_ACEOF
36248 /* end confdefs.h. */
36250 #if defined(__BSD__)
36251 #include <sys/param.h>
36252 #include <sys/mount.h>
36254 #include <sys/vfs.h>
36268 rm -f conftest.$ac_objext
36269 if { (ac_try="$ac_compile"
36270 case "(($ac_try" in
36271 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36272 *) ac_try_echo
=$ac_try;;
36274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36275 (eval "$ac_compile") 2>conftest.er1
36277 grep -v '^ *+' conftest.er1
>conftest.err
36279 cat conftest.err
>&5
36280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36281 (exit $ac_status); } && {
36282 test -z "$ac_cxx_werror_flag" ||
36283 test ! -s conftest.err
36284 } && test -s conftest.
$ac_objext; then
36285 wx_cv_func_statfs_decl
=yes
36287 echo "$as_me: failed program was:" >&5
36288 sed 's/^/| /' conftest.
$ac_ext >&5
36290 wx_cv_func_statfs_decl
=no
36294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36296 ac_cpp
='$CPP $CPPFLAGS'
36297 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36298 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36299 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36303 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36304 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36306 if test "$wx_cv_func_statfs_decl" = "yes"; then
36307 cat >>confdefs.h
<<\_ACEOF
36308 #define HAVE_STATFS_DECL 1
36313 wx_cv_type_statvfs_t
="struct statfs"
36314 cat >>confdefs.h
<<\_ACEOF
36315 #define HAVE_STATFS 1
36319 { echo "$as_me:$LINENO: checking for statvfs" >&5
36320 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36321 if test "${wx_cv_func_statvfs+set}" = set; then
36322 echo $ECHO_N "(cached) $ECHO_C" >&6
36324 cat >conftest.
$ac_ext <<_ACEOF
36327 cat confdefs.h
>>conftest.
$ac_ext
36328 cat >>conftest.
$ac_ext <<_ACEOF
36329 /* end confdefs.h. */
36331 #include <stddef.h>
36332 #include <sys/statvfs.h>
36338 statvfs("/", NULL);
36344 rm -f conftest.
$ac_objext
36345 if { (ac_try
="$ac_compile"
36346 case "(($ac_try" in
36347 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36348 *) ac_try_echo=$ac_try;;
36350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36351 (eval "$ac_compile") 2>conftest.er1
36353 grep -v '^ *+' conftest.er1 >conftest.err
36355 cat conftest.err >&5
36356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36357 (exit $ac_status); } && {
36358 test -z "$ac_c_werror_flag" ||
36359 test ! -s conftest.err
36360 } && test -s conftest.$ac_objext; then
36361 wx_cv_func_statvfs=yes
36363 echo "$as_me: failed program was:" >&5
36364 sed 's/^/| /' conftest.$ac_ext >&5
36366 wx_cv_func_statvfs=no
36370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36373 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36374 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36376 if test "$wx_cv_func_statvfs" = "yes"; then
36377 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36378 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36379 if test "${wx_cv_type_statvfs_t+set}" = set; then
36380 echo $ECHO_N "(cached) $ECHO_C" >&6
36383 ac_cpp='$CXXCPP $CPPFLAGS'
36384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36388 cat >conftest.$ac_ext <<_ACEOF
36391 cat confdefs.h >>conftest.$ac_ext
36392 cat >>conftest.$ac_ext <<_ACEOF
36393 /* end confdefs.h. */
36395 #include <sys/statvfs.h>
36412 rm -f conftest.$ac_objext
36413 if { (ac_try="$ac_compile"
36414 case "(($ac_try" in
36415 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36416 *) ac_try_echo
=$ac_try;;
36418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36419 (eval "$ac_compile") 2>conftest.er1
36421 grep -v '^ *+' conftest.er1
>conftest.err
36423 cat conftest.err
>&5
36424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36425 (exit $ac_status); } && {
36426 test -z "$ac_cxx_werror_flag" ||
36427 test ! -s conftest.err
36428 } && test -s conftest.
$ac_objext; then
36429 wx_cv_type_statvfs_t
=statvfs_t
36431 echo "$as_me: failed program was:" >&5
36432 sed 's/^/| /' conftest.
$ac_ext >&5
36435 cat >conftest.
$ac_ext <<_ACEOF
36438 cat confdefs.h
>>conftest.
$ac_ext
36439 cat >>conftest.
$ac_ext <<_ACEOF
36440 /* end confdefs.h. */
36442 #include <sys/statvfs.h>
36459 rm -f conftest.
$ac_objext
36460 if { (ac_try
="$ac_compile"
36461 case "(($ac_try" in
36462 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36463 *) ac_try_echo=$ac_try;;
36465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36466 (eval "$ac_compile") 2>conftest.er1
36468 grep -v '^ *+' conftest.er1 >conftest.err
36470 cat conftest.err >&5
36471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36472 (exit $ac_status); } && {
36473 test -z "$ac_cxx_werror_flag" ||
36474 test ! -s conftest.err
36475 } && test -s conftest.$ac_objext; then
36476 wx_cv_type_statvfs_t="struct statvfs"
36478 echo "$as_me: failed program was:" >&5
36479 sed 's/^/| /' conftest.$ac_ext >&5
36481 wx_cv_type_statvfs_t="unknown"
36485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36492 ac_cpp='$CPP $CPPFLAGS'
36493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36499 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36500 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36502 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36503 cat >>confdefs.h <<\_ACEOF
36504 #define HAVE_STATVFS 1
36509 wx_cv_type_statvfs_t="unknown"
36513 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36514 cat >>confdefs.h <<_ACEOF
36515 #define WX_STATFS_T $wx_cv_type_statvfs_t
36519 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36520 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36523 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36526 for ac_func in fcntl flock
36528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36529 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36531 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36532 echo $ECHO_N "(cached) $ECHO_C" >&6
36534 cat >conftest.$ac_ext <<_ACEOF
36537 cat confdefs.h >>conftest.$ac_ext
36538 cat >>conftest.$ac_ext <<_ACEOF
36539 /* end confdefs.h. */
36540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36542 #define $ac_func innocuous_$ac_func
36544 /* System header to define __stub macros and hopefully few prototypes,
36545 which can conflict with char $ac_func (); below.
36546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36547 <limits.h> exists even on freestanding compilers. */
36550 # include <limits.h>
36552 # include <assert.h>
36557 /* Override any GCC internal prototype to avoid an error.
36558 Use char because int might match the return type of a GCC
36559 builtin and then its argument prototype would still apply. */
36564 /* The GNU C library defines this for functions which it implements
36565 to always fail with ENOSYS. Some functions are actually named
36566 something starting with __ and the normal name is an alias. */
36567 #if defined __stub_$ac_func || defined __stub___$ac_func
36574 return $ac_func ();
36579 rm -f conftest.$ac_objext conftest$ac_exeext
36580 if { (ac_try="$ac_link"
36581 case "(($ac_try" in
36582 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36583 *) ac_try_echo
=$ac_try;;
36585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36586 (eval "$ac_link") 2>conftest.er1
36588 grep -v '^ *+' conftest.er1
>conftest.err
36590 cat conftest.err
>&5
36591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36592 (exit $ac_status); } && {
36593 test -z "$ac_c_werror_flag" ||
36594 test ! -s conftest.err
36595 } && test -s conftest
$ac_exeext &&
36596 $as_test_x conftest
$ac_exeext; then
36597 eval "$as_ac_var=yes"
36599 echo "$as_me: failed program was:" >&5
36600 sed 's/^/| /' conftest.
$ac_ext >&5
36602 eval "$as_ac_var=no"
36605 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36606 conftest
$ac_exeext conftest.
$ac_ext
36608 ac_res
=`eval echo '${'$as_ac_var'}'`
36609 { echo "$as_me:$LINENO: result: $ac_res" >&5
36610 echo "${ECHO_T}$ac_res" >&6; }
36611 if test `eval echo '${'$as_ac_var'}'` = yes; then
36612 cat >>confdefs.h
<<_ACEOF
36613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36620 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36621 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36622 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36623 wxUSE_SNGLINST_CHECKER
=no
36629 for ac_func
in setenv putenv
36631 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36632 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36634 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36635 echo $ECHO_N "(cached) $ECHO_C" >&6
36637 cat >conftest.
$ac_ext <<_ACEOF
36640 cat confdefs.h
>>conftest.
$ac_ext
36641 cat >>conftest.
$ac_ext <<_ACEOF
36642 /* end confdefs.h. */
36643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36645 #define $ac_func innocuous_$ac_func
36647 /* System header to define __stub macros and hopefully few prototypes,
36648 which can conflict with char $ac_func (); below.
36649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36650 <limits.h> exists even on freestanding compilers. */
36653 # include <limits.h>
36655 # include <assert.h>
36660 /* Override any GCC internal prototype to avoid an error.
36661 Use char because int might match the return type of a GCC
36662 builtin and then its argument prototype would still apply. */
36667 /* The GNU C library defines this for functions which it implements
36668 to always fail with ENOSYS. Some functions are actually named
36669 something starting with __ and the normal name is an alias. */
36670 #if defined __stub_$ac_func || defined __stub___$ac_func
36677 return $ac_func ();
36682 rm -f conftest.
$ac_objext conftest
$ac_exeext
36683 if { (ac_try
="$ac_link"
36684 case "(($ac_try" in
36685 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36686 *) ac_try_echo=$ac_try;;
36688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36689 (eval "$ac_link") 2>conftest.er1
36691 grep -v '^ *+' conftest.er1 >conftest.err
36693 cat conftest.err >&5
36694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36695 (exit $ac_status); } && {
36696 test -z "$ac_c_werror_flag" ||
36697 test ! -s conftest.err
36698 } && test -s conftest$ac_exeext &&
36699 $as_test_x conftest$ac_exeext; then
36700 eval "$as_ac_var=yes"
36702 echo "$as_me: failed program was:" >&5
36703 sed 's/^/| /' conftest.$ac_ext >&5
36705 eval "$as_ac_var=no"
36708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36709 conftest$ac_exeext conftest.$ac_ext
36711 ac_res=`eval echo '${'$as_ac_var'}'`
36712 { echo "$as_me:$LINENO: result: $ac_res" >&5
36713 echo "${ECHO_T}$ac_res" >&6; }
36714 if test `eval echo '${'$as_ac_var'}'` = yes; then
36715 cat >>confdefs.h <<_ACEOF
36716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36722 if test "$ac_cv_func_setenv" = "yes"; then
36724 for ac_func in unsetenv
36726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36727 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36729 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36730 echo $ECHO_N "(cached) $ECHO_C" >&6
36732 cat >conftest.$ac_ext <<_ACEOF
36735 cat confdefs.h >>conftest.$ac_ext
36736 cat >>conftest.$ac_ext <<_ACEOF
36737 /* end confdefs.h. */
36738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36740 #define $ac_func innocuous_$ac_func
36742 /* System header to define __stub macros and hopefully few prototypes,
36743 which can conflict with char $ac_func (); below.
36744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36745 <limits.h> exists even on freestanding compilers. */
36748 # include <limits.h>
36750 # include <assert.h>
36755 /* Override any GCC internal prototype to avoid an error.
36756 Use char because int might match the return type of a GCC
36757 builtin and then its argument prototype would still apply. */
36762 /* The GNU C library defines this for functions which it implements
36763 to always fail with ENOSYS. Some functions are actually named
36764 something starting with __ and the normal name is an alias. */
36765 #if defined __stub_$ac_func || defined __stub___$ac_func
36772 return $ac_func ();
36777 rm -f conftest.$ac_objext conftest$ac_exeext
36778 if { (ac_try="$ac_link"
36779 case "(($ac_try" in
36780 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36781 *) ac_try_echo
=$ac_try;;
36783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36784 (eval "$ac_link") 2>conftest.er1
36786 grep -v '^ *+' conftest.er1
>conftest.err
36788 cat conftest.err
>&5
36789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36790 (exit $ac_status); } && {
36791 test -z "$ac_c_werror_flag" ||
36792 test ! -s conftest.err
36793 } && test -s conftest
$ac_exeext &&
36794 $as_test_x conftest
$ac_exeext; then
36795 eval "$as_ac_var=yes"
36797 echo "$as_me: failed program was:" >&5
36798 sed 's/^/| /' conftest.
$ac_ext >&5
36800 eval "$as_ac_var=no"
36803 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36804 conftest
$ac_exeext conftest.
$ac_ext
36806 ac_res
=`eval echo '${'$as_ac_var'}'`
36807 { echo "$as_me:$LINENO: result: $ac_res" >&5
36808 echo "${ECHO_T}$ac_res" >&6; }
36809 if test `eval echo '${'$as_ac_var'}'` = yes; then
36810 cat >>confdefs.h
<<_ACEOF
36811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36819 HAVE_SOME_SLEEP_FUNC
=0
36820 if test "$USE_BEOS" = 1; then
36821 cat >>confdefs.h
<<\_ACEOF
36822 #define HAVE_SLEEP 1
36825 HAVE_SOME_SLEEP_FUNC
=1
36828 if test "$USE_DARWIN" = 1; then
36829 cat >>confdefs.h
<<\_ACEOF
36830 #define HAVE_USLEEP 1
36833 HAVE_SOME_SLEEP_FUNC
=1
36836 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36839 for ac_func
in nanosleep
36841 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36842 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36844 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36845 echo $ECHO_N "(cached) $ECHO_C" >&6
36847 cat >conftest.
$ac_ext <<_ACEOF
36850 cat confdefs.h
>>conftest.
$ac_ext
36851 cat >>conftest.
$ac_ext <<_ACEOF
36852 /* end confdefs.h. */
36853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36855 #define $ac_func innocuous_$ac_func
36857 /* System header to define __stub macros and hopefully few prototypes,
36858 which can conflict with char $ac_func (); below.
36859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36860 <limits.h> exists even on freestanding compilers. */
36863 # include <limits.h>
36865 # include <assert.h>
36870 /* Override any GCC internal prototype to avoid an error.
36871 Use char because int might match the return type of a GCC
36872 builtin and then its argument prototype would still apply. */
36877 /* The GNU C library defines this for functions which it implements
36878 to always fail with ENOSYS. Some functions are actually named
36879 something starting with __ and the normal name is an alias. */
36880 #if defined __stub_$ac_func || defined __stub___$ac_func
36887 return $ac_func ();
36892 rm -f conftest.
$ac_objext conftest
$ac_exeext
36893 if { (ac_try
="$ac_link"
36894 case "(($ac_try" in
36895 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36896 *) ac_try_echo=$ac_try;;
36898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36899 (eval "$ac_link") 2>conftest.er1
36901 grep -v '^ *+' conftest.er1 >conftest.err
36903 cat conftest.err >&5
36904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36905 (exit $ac_status); } && {
36906 test -z "$ac_c_werror_flag" ||
36907 test ! -s conftest.err
36908 } && test -s conftest$ac_exeext &&
36909 $as_test_x conftest$ac_exeext; then
36910 eval "$as_ac_var=yes"
36912 echo "$as_me: failed program was:" >&5
36913 sed 's/^/| /' conftest.$ac_ext >&5
36915 eval "$as_ac_var=no"
36918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36919 conftest$ac_exeext conftest.$ac_ext
36921 ac_res=`eval echo '${'$as_ac_var'}'`
36922 { echo "$as_me:$LINENO: result: $ac_res" >&5
36923 echo "${ECHO_T}$ac_res" >&6; }
36924 if test `eval echo '${'$as_ac_var'}'` = yes; then
36925 cat >>confdefs.h <<_ACEOF
36926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36928 cat >>confdefs.h <<\_ACEOF
36929 #define HAVE_NANOSLEEP 1
36934 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36935 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36936 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36937 echo $ECHO_N "(cached) $ECHO_C" >&6
36939 ac_check_lib_save_LIBS=$LIBS
36940 LIBS="-lposix4 $LIBS"
36941 cat >conftest.$ac_ext <<_ACEOF
36944 cat confdefs.h >>conftest.$ac_ext
36945 cat >>conftest.$ac_ext <<_ACEOF
36946 /* end confdefs.h. */
36948 /* Override any GCC internal prototype to avoid an error.
36949 Use char because int might match the return type of a GCC
36950 builtin and then its argument prototype would still apply. */
36958 return nanosleep ();
36963 rm -f conftest.$ac_objext conftest$ac_exeext
36964 if { (ac_try="$ac_link"
36965 case "(($ac_try" in
36966 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36967 *) ac_try_echo
=$ac_try;;
36969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36970 (eval "$ac_link") 2>conftest.er1
36972 grep -v '^ *+' conftest.er1
>conftest.err
36974 cat conftest.err
>&5
36975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36976 (exit $ac_status); } && {
36977 test -z "$ac_c_werror_flag" ||
36978 test ! -s conftest.err
36979 } && test -s conftest
$ac_exeext &&
36980 $as_test_x conftest
$ac_exeext; then
36981 ac_cv_lib_posix4_nanosleep
=yes
36983 echo "$as_me: failed program was:" >&5
36984 sed 's/^/| /' conftest.
$ac_ext >&5
36986 ac_cv_lib_posix4_nanosleep
=no
36989 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36990 conftest
$ac_exeext conftest.
$ac_ext
36991 LIBS
=$ac_check_lib_save_LIBS
36993 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36994 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36995 if test $ac_cv_lib_posix4_nanosleep = yes; then
36997 cat >>confdefs.h
<<\_ACEOF
36998 #define HAVE_NANOSLEEP 1
37001 POSIX4_LINK
=" -lposix4"
37006 for wx_func
in usleep
37008 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37009 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37010 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37011 echo $ECHO_N "(cached) $ECHO_C" >&6
37014 cat >conftest.
$ac_ext <<_ACEOF
37018 cat confdefs.h
>>conftest.
$ac_ext
37019 cat >>conftest.
$ac_ext <<_ACEOF
37020 /* end confdefs.h. */
37023 $ac_includes_default
37039 rm -f conftest.
$ac_objext conftest
$ac_exeext
37040 if { (ac_try
="$ac_link"
37041 case "(($ac_try" in
37042 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37043 *) ac_try_echo=$ac_try;;
37045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37046 (eval "$ac_link") 2>conftest.er1
37048 grep -v '^ *+' conftest.er1 >conftest.err
37050 cat conftest.err >&5
37051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37052 (exit $ac_status); } && {
37053 test -z "$ac_c_werror_flag" ||
37054 test ! -s conftest.err
37055 } && test -s conftest$ac_exeext &&
37056 $as_test_x conftest$ac_exeext; then
37057 eval wx_cv_func_$wx_func=yes
37059 echo "$as_me: failed program was:" >&5
37060 sed 's/^/| /' conftest.$ac_ext >&5
37062 eval wx_cv_func_$wx_func=no
37065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37066 conftest$ac_exeext conftest.$ac_ext
37069 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37070 { echo "$as_me:$LINENO: result: $ac_res" >&5
37071 echo "${ECHO_T}$ac_res" >&6; }
37073 if eval test \$wx_cv_func_$wx_func = yes
37075 cat >>confdefs.h <<_ACEOF
37076 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37082 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37083 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37100 for wx_func in uname
37102 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37103 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37104 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37105 echo $ECHO_N "(cached) $ECHO_C" >&6
37108 cat >conftest.$ac_ext <<_ACEOF
37112 cat confdefs.h >>conftest.$ac_ext
37113 cat >>conftest.$ac_ext <<_ACEOF
37114 /* end confdefs.h. */
37116 #include <sys/utsname.h>
37117 $ac_includes_default
37133 rm -f conftest.$ac_objext conftest$ac_exeext
37134 if { (ac_try="$ac_link"
37135 case "(($ac_try" in
37136 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37137 *) ac_try_echo
=$ac_try;;
37139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37140 (eval "$ac_link") 2>conftest.er1
37142 grep -v '^ *+' conftest.er1
>conftest.err
37144 cat conftest.err
>&5
37145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37146 (exit $ac_status); } && {
37147 test -z "$ac_c_werror_flag" ||
37148 test ! -s conftest.err
37149 } && test -s conftest
$ac_exeext &&
37150 $as_test_x conftest
$ac_exeext; then
37151 eval wx_cv_func_
$wx_func=yes
37153 echo "$as_me: failed program was:" >&5
37154 sed 's/^/| /' conftest.
$ac_ext >&5
37156 eval wx_cv_func_
$wx_func=no
37159 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37160 conftest
$ac_exeext conftest.
$ac_ext
37163 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37164 { echo "$as_me:$LINENO: result: $ac_res" >&5
37165 echo "${ECHO_T}$ac_res" >&6; }
37167 if eval test \
$wx_cv_func_$wx_func = yes
37169 cat >>confdefs.h
<<_ACEOF
37170 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37180 if test "$wx_cv_func_uname" != yes; then
37182 for wx_func
in gethostname
37184 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37185 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37186 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37187 echo $ECHO_N "(cached) $ECHO_C" >&6
37190 cat >conftest.
$ac_ext <<_ACEOF
37194 cat confdefs.h
>>conftest.
$ac_ext
37195 cat >>conftest.
$ac_ext <<_ACEOF
37196 /* end confdefs.h. */
37199 $ac_includes_default
37215 rm -f conftest.
$ac_objext conftest
$ac_exeext
37216 if { (ac_try
="$ac_link"
37217 case "(($ac_try" in
37218 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37219 *) ac_try_echo=$ac_try;;
37221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37222 (eval "$ac_link") 2>conftest.er1
37224 grep -v '^ *+' conftest.er1 >conftest.err
37226 cat conftest.err >&5
37227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37228 (exit $ac_status); } && {
37229 test -z "$ac_c_werror_flag" ||
37230 test ! -s conftest.err
37231 } && test -s conftest$ac_exeext &&
37232 $as_test_x conftest$ac_exeext; then
37233 eval wx_cv_func_$wx_func=yes
37235 echo "$as_me: failed program was:" >&5
37236 sed 's/^/| /' conftest.$ac_ext >&5
37238 eval wx_cv_func_$wx_func=no
37241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37242 conftest$ac_exeext conftest.$ac_ext
37245 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37246 { echo "$as_me:$LINENO: result: $ac_res" >&5
37247 echo "${ECHO_T}$ac_res" >&6; }
37249 if eval test \$wx_cv_func_$wx_func = yes
37251 cat >>confdefs.h <<_ACEOF
37252 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37265 for wx_func in strtok_r
37267 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37268 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37269 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37270 echo $ECHO_N "(cached) $ECHO_C" >&6
37273 cat >conftest.$ac_ext <<_ACEOF
37277 cat confdefs.h >>conftest.$ac_ext
37278 cat >>conftest.$ac_ext <<_ACEOF
37279 /* end confdefs.h. */
37282 $ac_includes_default
37298 rm -f conftest.$ac_objext conftest$ac_exeext
37299 if { (ac_try="$ac_link"
37300 case "(($ac_try" in
37301 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37302 *) ac_try_echo
=$ac_try;;
37304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37305 (eval "$ac_link") 2>conftest.er1
37307 grep -v '^ *+' conftest.er1
>conftest.err
37309 cat conftest.err
>&5
37310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37311 (exit $ac_status); } && {
37312 test -z "$ac_c_werror_flag" ||
37313 test ! -s conftest.err
37314 } && test -s conftest
$ac_exeext &&
37315 $as_test_x conftest
$ac_exeext; then
37316 eval wx_cv_func_
$wx_func=yes
37318 echo "$as_me: failed program was:" >&5
37319 sed 's/^/| /' conftest.
$ac_ext >&5
37321 eval wx_cv_func_
$wx_func=no
37324 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37325 conftest
$ac_exeext conftest.
$ac_ext
37328 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37329 { echo "$as_me:$LINENO: result: $ac_res" >&5
37330 echo "${ECHO_T}$ac_res" >&6; }
37332 if eval test \
$wx_cv_func_$wx_func = yes
37334 cat >>confdefs.h
<<_ACEOF
37335 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37348 for ac_func
in inet_addr
37350 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37351 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37353 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37354 echo $ECHO_N "(cached) $ECHO_C" >&6
37356 cat >conftest.
$ac_ext <<_ACEOF
37359 cat confdefs.h
>>conftest.
$ac_ext
37360 cat >>conftest.
$ac_ext <<_ACEOF
37361 /* end confdefs.h. */
37362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37364 #define $ac_func innocuous_$ac_func
37366 /* System header to define __stub macros and hopefully few prototypes,
37367 which can conflict with char $ac_func (); below.
37368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37369 <limits.h> exists even on freestanding compilers. */
37372 # include <limits.h>
37374 # include <assert.h>
37379 /* Override any GCC internal prototype to avoid an error.
37380 Use char because int might match the return type of a GCC
37381 builtin and then its argument prototype would still apply. */
37386 /* The GNU C library defines this for functions which it implements
37387 to always fail with ENOSYS. Some functions are actually named
37388 something starting with __ and the normal name is an alias. */
37389 #if defined __stub_$ac_func || defined __stub___$ac_func
37396 return $ac_func ();
37401 rm -f conftest.
$ac_objext conftest
$ac_exeext
37402 if { (ac_try
="$ac_link"
37403 case "(($ac_try" in
37404 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37405 *) ac_try_echo=$ac_try;;
37407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37408 (eval "$ac_link") 2>conftest.er1
37410 grep -v '^ *+' conftest.er1 >conftest.err
37412 cat conftest.err >&5
37413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37414 (exit $ac_status); } && {
37415 test -z "$ac_c_werror_flag" ||
37416 test ! -s conftest.err
37417 } && test -s conftest$ac_exeext &&
37418 $as_test_x conftest$ac_exeext; then
37419 eval "$as_ac_var=yes"
37421 echo "$as_me: failed program was:" >&5
37422 sed 's/^/| /' conftest.$ac_ext >&5
37424 eval "$as_ac_var=no"
37427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37428 conftest$ac_exeext conftest.$ac_ext
37430 ac_res=`eval echo '${'$as_ac_var'}'`
37431 { echo "$as_me:$LINENO: result: $ac_res" >&5
37432 echo "${ECHO_T}$ac_res" >&6; }
37433 if test `eval echo '${'$as_ac_var'}'` = yes; then
37434 cat >>confdefs.h <<_ACEOF
37435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37437 cat >>confdefs.h <<\_ACEOF
37438 #define HAVE_INET_ADDR 1
37443 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37444 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37445 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37446 echo $ECHO_N "(cached) $ECHO_C" >&6
37448 ac_check_lib_save_LIBS=$LIBS
37450 cat >conftest.$ac_ext <<_ACEOF
37453 cat confdefs.h >>conftest.$ac_ext
37454 cat >>conftest.$ac_ext <<_ACEOF
37455 /* end confdefs.h. */
37457 /* Override any GCC internal prototype to avoid an error.
37458 Use char because int might match the return type of a GCC
37459 builtin and then its argument prototype would still apply. */
37467 return inet_addr ();
37472 rm -f conftest.$ac_objext conftest$ac_exeext
37473 if { (ac_try="$ac_link"
37474 case "(($ac_try" in
37475 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37476 *) ac_try_echo
=$ac_try;;
37478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37479 (eval "$ac_link") 2>conftest.er1
37481 grep -v '^ *+' conftest.er1
>conftest.err
37483 cat conftest.err
>&5
37484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37485 (exit $ac_status); } && {
37486 test -z "$ac_c_werror_flag" ||
37487 test ! -s conftest.err
37488 } && test -s conftest
$ac_exeext &&
37489 $as_test_x conftest
$ac_exeext; then
37490 ac_cv_lib_nsl_inet_addr
=yes
37492 echo "$as_me: failed program was:" >&5
37493 sed 's/^/| /' conftest.
$ac_ext >&5
37495 ac_cv_lib_nsl_inet_addr
=no
37498 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37499 conftest
$ac_exeext conftest.
$ac_ext
37500 LIBS
=$ac_check_lib_save_LIBS
37502 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37503 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37504 if test $ac_cv_lib_nsl_inet_addr = yes; then
37508 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37509 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37510 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37511 echo $ECHO_N "(cached) $ECHO_C" >&6
37513 ac_check_lib_save_LIBS
=$LIBS
37514 LIBS
="-lresolv $LIBS"
37515 cat >conftest.
$ac_ext <<_ACEOF
37518 cat confdefs.h
>>conftest.
$ac_ext
37519 cat >>conftest.
$ac_ext <<_ACEOF
37520 /* end confdefs.h. */
37522 /* Override any GCC internal prototype to avoid an error.
37523 Use char because int might match the return type of a GCC
37524 builtin and then its argument prototype would still apply. */
37532 return inet_addr ();
37537 rm -f conftest.
$ac_objext conftest
$ac_exeext
37538 if { (ac_try
="$ac_link"
37539 case "(($ac_try" in
37540 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37541 *) ac_try_echo=$ac_try;;
37543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37544 (eval "$ac_link") 2>conftest.er1
37546 grep -v '^ *+' conftest.er1 >conftest.err
37548 cat conftest.err >&5
37549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37550 (exit $ac_status); } && {
37551 test -z "$ac_c_werror_flag" ||
37552 test ! -s conftest.err
37553 } && test -s conftest$ac_exeext &&
37554 $as_test_x conftest$ac_exeext; then
37555 ac_cv_lib_resolv_inet_addr=yes
37557 echo "$as_me: failed program was:" >&5
37558 sed 's/^/| /' conftest.$ac_ext >&5
37560 ac_cv_lib_resolv_inet_addr=no
37563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37564 conftest$ac_exeext conftest.$ac_ext
37565 LIBS=$ac_check_lib_save_LIBS
37567 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37568 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37569 if test $ac_cv_lib_resolv_inet_addr = yes; then
37573 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37574 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37575 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37576 echo $ECHO_N "(cached) $ECHO_C" >&6
37578 ac_check_lib_save_LIBS=$LIBS
37579 LIBS="-lsocket $LIBS"
37580 cat >conftest.$ac_ext <<_ACEOF
37583 cat confdefs.h >>conftest.$ac_ext
37584 cat >>conftest.$ac_ext <<_ACEOF
37585 /* end confdefs.h. */
37587 /* Override any GCC internal prototype to avoid an error.
37588 Use char because int might match the return type of a GCC
37589 builtin and then its argument prototype would still apply. */
37597 return inet_addr ();
37602 rm -f conftest.$ac_objext conftest$ac_exeext
37603 if { (ac_try="$ac_link"
37604 case "(($ac_try" in
37605 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37606 *) ac_try_echo
=$ac_try;;
37608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37609 (eval "$ac_link") 2>conftest.er1
37611 grep -v '^ *+' conftest.er1
>conftest.err
37613 cat conftest.err
>&5
37614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37615 (exit $ac_status); } && {
37616 test -z "$ac_c_werror_flag" ||
37617 test ! -s conftest.err
37618 } && test -s conftest
$ac_exeext &&
37619 $as_test_x conftest
$ac_exeext; then
37620 ac_cv_lib_socket_inet_addr
=yes
37622 echo "$as_me: failed program was:" >&5
37623 sed 's/^/| /' conftest.
$ac_ext >&5
37625 ac_cv_lib_socket_inet_addr
=no
37628 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37629 conftest
$ac_exeext conftest.
$ac_ext
37630 LIBS
=$ac_check_lib_save_LIBS
37632 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37633 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37634 if test $ac_cv_lib_socket_inet_addr = yes; then
37654 for ac_func
in inet_aton
37656 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37657 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37659 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37660 echo $ECHO_N "(cached) $ECHO_C" >&6
37662 cat >conftest.
$ac_ext <<_ACEOF
37665 cat confdefs.h
>>conftest.
$ac_ext
37666 cat >>conftest.
$ac_ext <<_ACEOF
37667 /* end confdefs.h. */
37668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37670 #define $ac_func innocuous_$ac_func
37672 /* System header to define __stub macros and hopefully few prototypes,
37673 which can conflict with char $ac_func (); below.
37674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37675 <limits.h> exists even on freestanding compilers. */
37678 # include <limits.h>
37680 # include <assert.h>
37685 /* Override any GCC internal prototype to avoid an error.
37686 Use char because int might match the return type of a GCC
37687 builtin and then its argument prototype would still apply. */
37692 /* The GNU C library defines this for functions which it implements
37693 to always fail with ENOSYS. Some functions are actually named
37694 something starting with __ and the normal name is an alias. */
37695 #if defined __stub_$ac_func || defined __stub___$ac_func
37702 return $ac_func ();
37707 rm -f conftest.
$ac_objext conftest
$ac_exeext
37708 if { (ac_try
="$ac_link"
37709 case "(($ac_try" in
37710 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37711 *) ac_try_echo=$ac_try;;
37713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37714 (eval "$ac_link") 2>conftest.er1
37716 grep -v '^ *+' conftest.er1 >conftest.err
37718 cat conftest.err >&5
37719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37720 (exit $ac_status); } && {
37721 test -z "$ac_c_werror_flag" ||
37722 test ! -s conftest.err
37723 } && test -s conftest$ac_exeext &&
37724 $as_test_x conftest$ac_exeext; then
37725 eval "$as_ac_var=yes"
37727 echo "$as_me: failed program was:" >&5
37728 sed 's/^/| /' conftest.$ac_ext >&5
37730 eval "$as_ac_var=no"
37733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37734 conftest$ac_exeext conftest.$ac_ext
37736 ac_res=`eval echo '${'$as_ac_var'}'`
37737 { echo "$as_me:$LINENO: result: $ac_res" >&5
37738 echo "${ECHO_T}$ac_res" >&6; }
37739 if test `eval echo '${'$as_ac_var'}'` = yes; then
37740 cat >>confdefs.h <<_ACEOF
37741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37743 cat >>confdefs.h <<\_ACEOF
37744 #define HAVE_INET_ATON 1
37749 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37750 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37751 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37752 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37753 echo $ECHO_N "(cached) $ECHO_C" >&6
37755 ac_check_lib_save_LIBS=$LIBS
37756 LIBS="-l$INET_LINK $LIBS"
37757 cat >conftest.$ac_ext <<_ACEOF
37760 cat confdefs.h >>conftest.$ac_ext
37761 cat >>conftest.$ac_ext <<_ACEOF
37762 /* end confdefs.h. */
37764 /* Override any GCC internal prototype to avoid an error.
37765 Use char because int might match the return type of a GCC
37766 builtin and then its argument prototype would still apply. */
37774 return inet_aton ();
37779 rm -f conftest.$ac_objext conftest$ac_exeext
37780 if { (ac_try="$ac_link"
37781 case "(($ac_try" in
37782 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37783 *) ac_try_echo
=$ac_try;;
37785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37786 (eval "$ac_link") 2>conftest.er1
37788 grep -v '^ *+' conftest.er1
>conftest.err
37790 cat conftest.err
>&5
37791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37792 (exit $ac_status); } && {
37793 test -z "$ac_c_werror_flag" ||
37794 test ! -s conftest.err
37795 } && test -s conftest
$ac_exeext &&
37796 $as_test_x conftest
$ac_exeext; then
37797 eval "$as_ac_Lib=yes"
37799 echo "$as_me: failed program was:" >&5
37800 sed 's/^/| /' conftest.
$ac_ext >&5
37802 eval "$as_ac_Lib=no"
37805 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37806 conftest
$ac_exeext conftest.
$ac_ext
37807 LIBS
=$ac_check_lib_save_LIBS
37809 ac_res
=`eval echo '${'$as_ac_Lib'}'`
37810 { echo "$as_me:$LINENO: result: $ac_res" >&5
37811 echo "${ECHO_T}$ac_res" >&6; }
37812 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37813 cat >>confdefs.h
<<\_ACEOF
37814 #define HAVE_INET_ATON 1
37824 if test "x$INET_LINK" != "x"; then
37825 cat >>confdefs.h
<<\_ACEOF
37826 #define HAVE_INET_ADDR 1
37829 INET_LINK
=" -l$INET_LINK"
37833 for wx_func
in fdopen
37835 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37836 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37837 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37838 echo $ECHO_N "(cached) $ECHO_C" >&6
37841 cat >conftest.
$ac_ext <<_ACEOF
37845 cat confdefs.h
>>conftest.
$ac_ext
37846 cat >>conftest.
$ac_ext <<_ACEOF
37847 /* end confdefs.h. */
37850 $ac_includes_default
37866 rm -f conftest.
$ac_objext conftest
$ac_exeext
37867 if { (ac_try
="$ac_link"
37868 case "(($ac_try" in
37869 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37870 *) ac_try_echo=$ac_try;;
37872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37873 (eval "$ac_link") 2>conftest.er1
37875 grep -v '^ *+' conftest.er1 >conftest.err
37877 cat conftest.err >&5
37878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37879 (exit $ac_status); } && {
37880 test -z "$ac_c_werror_flag" ||
37881 test ! -s conftest.err
37882 } && test -s conftest$ac_exeext &&
37883 $as_test_x conftest$ac_exeext; then
37884 eval wx_cv_func_$wx_func=yes
37886 echo "$as_me: failed program was:" >&5
37887 sed 's/^/| /' conftest.$ac_ext >&5
37889 eval wx_cv_func_$wx_func=no
37892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37893 conftest$ac_exeext conftest.$ac_ext
37896 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37897 { echo "$as_me:$LINENO: result: $ac_res" >&5
37898 echo "${ECHO_T}$ac_res" >&6; }
37900 if eval test \$wx_cv_func_$wx_func = yes
37902 cat >>confdefs.h <<_ACEOF
37903 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37914 if test "$wxUSE_TARSTREAM" = "yes"; then
37916 for wx_func in sysconf
37918 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37919 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37920 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37921 echo $ECHO_N "(cached) $ECHO_C" >&6
37924 cat >conftest.$ac_ext <<_ACEOF
37928 cat confdefs.h >>conftest.$ac_ext
37929 cat >>conftest.$ac_ext <<_ACEOF
37930 /* end confdefs.h. */
37933 $ac_includes_default
37949 rm -f conftest.$ac_objext conftest$ac_exeext
37950 if { (ac_try="$ac_link"
37951 case "(($ac_try" in
37952 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37953 *) ac_try_echo
=$ac_try;;
37955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37956 (eval "$ac_link") 2>conftest.er1
37958 grep -v '^ *+' conftest.er1
>conftest.err
37960 cat conftest.err
>&5
37961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37962 (exit $ac_status); } && {
37963 test -z "$ac_c_werror_flag" ||
37964 test ! -s conftest.err
37965 } && test -s conftest
$ac_exeext &&
37966 $as_test_x conftest
$ac_exeext; then
37967 eval wx_cv_func_
$wx_func=yes
37969 echo "$as_me: failed program was:" >&5
37970 sed 's/^/| /' conftest.
$ac_ext >&5
37972 eval wx_cv_func_
$wx_func=no
37975 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37976 conftest
$ac_exeext conftest.
$ac_ext
37979 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37980 { echo "$as_me:$LINENO: result: $ac_res" >&5
37981 echo "${ECHO_T}$ac_res" >&6; }
37983 if eval test \
$wx_cv_func_$wx_func = yes
37985 cat >>confdefs.h
<<_ACEOF
37986 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37998 for wx_func
in getpwuid_r
38000 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38001 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38002 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38003 echo $ECHO_N "(cached) $ECHO_C" >&6
38006 cat >conftest.
$ac_ext <<_ACEOF
38010 cat confdefs.h
>>conftest.
$ac_ext
38011 cat >>conftest.
$ac_ext <<_ACEOF
38012 /* end confdefs.h. */
38018 $ac_includes_default
38028 struct passwd pw, *ppw;
38030 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38038 rm -f conftest.
$ac_objext conftest
$ac_exeext
38039 if { (ac_try
="$ac_link"
38040 case "(($ac_try" in
38041 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38042 *) ac_try_echo=$ac_try;;
38044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38045 (eval "$ac_link") 2>conftest.er1
38047 grep -v '^ *+' conftest.er1 >conftest.err
38049 cat conftest.err >&5
38050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38051 (exit $ac_status); } && {
38052 test -z "$ac_c_werror_flag" ||
38053 test ! -s conftest.err
38054 } && test -s conftest$ac_exeext &&
38055 $as_test_x conftest$ac_exeext; then
38056 eval wx_cv_func_$wx_func=yes
38058 echo "$as_me: failed program was:" >&5
38059 sed 's/^/| /' conftest.$ac_ext >&5
38061 eval wx_cv_func_$wx_func=no
38064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38065 conftest$ac_exeext conftest.$ac_ext
38068 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38069 { echo "$as_me:$LINENO: result: $ac_res" >&5
38070 echo "${ECHO_T}$ac_res" >&6; }
38072 if eval test \$wx_cv_func_$wx_func = yes
38074 cat >>confdefs.h <<_ACEOF
38075 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38087 for wx_func in getgrgid_r
38089 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38090 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38091 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38092 echo $ECHO_N "(cached) $ECHO_C" >&6
38095 cat >conftest.$ac_ext <<_ACEOF
38099 cat confdefs.h >>conftest.$ac_ext
38100 cat >>conftest.$ac_ext <<_ACEOF
38101 /* end confdefs.h. */
38107 $ac_includes_default
38117 struct group grp, *pgrp;
38119 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38127 rm -f conftest.$ac_objext conftest$ac_exeext
38128 if { (ac_try="$ac_link"
38129 case "(($ac_try" in
38130 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38131 *) ac_try_echo
=$ac_try;;
38133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38134 (eval "$ac_link") 2>conftest.er1
38136 grep -v '^ *+' conftest.er1
>conftest.err
38138 cat conftest.err
>&5
38139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38140 (exit $ac_status); } && {
38141 test -z "$ac_c_werror_flag" ||
38142 test ! -s conftest.err
38143 } && test -s conftest
$ac_exeext &&
38144 $as_test_x conftest
$ac_exeext; then
38145 eval wx_cv_func_
$wx_func=yes
38147 echo "$as_me: failed program was:" >&5
38148 sed 's/^/| /' conftest.
$ac_ext >&5
38150 eval wx_cv_func_
$wx_func=no
38153 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38154 conftest
$ac_exeext conftest.
$ac_ext
38157 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38158 { echo "$as_me:$LINENO: result: $ac_res" >&5
38159 echo "${ECHO_T}$ac_res" >&6; }
38161 if eval test \
$wx_cv_func_$wx_func = yes
38163 cat >>confdefs.h
<<_ACEOF
38164 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38180 cat >confcache
<<\_ACEOF
38181 # This file is a shell script that caches the results of configure
38182 # tests run on this system so they can be shared between configure
38183 # scripts and configure runs, see configure's option --config-cache.
38184 # It is not useful on other systems. If it contains results you don't
38185 # want to keep, you may remove or edit it.
38187 # config.status only pays attention to the cache file if you give it
38188 # the --recheck option to rerun configure.
38190 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38191 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38192 # following values.
38196 # The following way of writing the cache mishandles newlines in values,
38197 # but we know of no workaround that is simple, portable, and efficient.
38198 # So, we kill variables containing newlines.
38199 # Ultrix sh set writes to stderr and can't be redirected directly,
38200 # and sets the high bit in the cache file unless we assign to the vars.
38202 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38203 eval ac_val
=\$
$ac_var
38207 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38208 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38211 _
| IFS
| as_nl
) ;; #(
38212 *) $as_unset $ac_var ;;
38218 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38219 *${as_nl}ac_space
=\
*)
38220 # `set' does not quote correctly, so add quotes (double-quote
38221 # substitution turns \\\\ into \\, and sed turns \\ into \).
38224 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38227 # `set' quotes correctly as required by POSIX, so do not add quotes.
38228 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38237 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38239 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38241 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38242 if test -w "$cache_file"; then
38243 test "x$cache_file" != "x/dev/null" &&
38244 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38245 echo "$as_me: updating cache $cache_file" >&6;}
38246 cat confcache
>$cache_file
38248 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38249 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38255 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38261 if test "$wxUSE_THREADS" = "yes" ; then
38262 if test "$USE_BEOS" = 1; then
38263 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38264 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38269 if test "$wxUSE_THREADS" = "yes" ; then
38272 THREAD_OPTS
="-pthread"
38273 if test "x$SUNCXX" = xyes
; then
38274 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38278 *-*-solaris2* | *-*-sunos4* )
38279 if test "x$GCC" = "xyes"; then
38280 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38284 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38286 *-*-darwin* | *-*-cygwin* )
38290 THREAD_OPTS
="pthreads"
38293 if test "x$GCC" = "xyes"; then
38294 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38302 if test "x$GCC" = "xyes"; then
38308 if test "x$GCC" != "xyes"; then
38309 THREAD_OPTS
="-Ethread"
38314 THREAD_OPTS
="$THREAD_OPTS pthread none"
38317 for flag
in $THREAD_OPTS; do
38320 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38321 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38325 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38326 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38327 THREADS_CFLAGS
="$flag"
38331 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38332 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38333 THREADS_LINK
="-l$flag"
38338 save_CFLAGS
="$CFLAGS"
38339 LIBS
="$THREADS_LINK $LIBS"
38340 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38342 cat >conftest.
$ac_ext <<_ACEOF
38345 cat confdefs.h
>>conftest.
$ac_ext
38346 cat >>conftest.
$ac_ext <<_ACEOF
38347 /* end confdefs.h. */
38348 #include <pthread.h>
38352 pthread_create(0,0,0,0);
38357 rm -f conftest.
$ac_objext conftest
$ac_exeext
38358 if { (ac_try
="$ac_link"
38359 case "(($ac_try" in
38360 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38361 *) ac_try_echo=$ac_try;;
38363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38364 (eval "$ac_link") 2>conftest.er1
38366 grep -v '^ *+' conftest.er1 >conftest.err
38368 cat conftest.err >&5
38369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38370 (exit $ac_status); } && {
38371 test -z "$ac_c_werror_flag" ||
38372 test ! -s conftest.err
38373 } && test -s conftest$ac_exeext &&
38374 $as_test_x conftest$ac_exeext; then
38377 echo "$as_me: failed program was:" >&5
38378 sed 's/^/| /' conftest.$ac_ext >&5
38383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38384 conftest$ac_exeext conftest.$ac_ext
38387 CFLAGS="$save_CFLAGS"
38389 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38390 echo "${ECHO_T}$THREADS_OK" >&6; }
38391 if test "x$THREADS_OK" = "xyes"; then
38399 if test "x$THREADS_OK" != "xyes"; then
38401 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38402 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38404 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38405 LIBS="$THREADS_LINK $LIBS"
38407 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38408 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38412 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38413 flag="-D_THREAD_SAFE"
38416 flag="-D_THREAD_SAFE"
38419 flag="-D_REENTRANT"
38420 if test "x$GCC" != "xyes"; then
38421 flag="$flag -D_RWSTD_MULTI_THREAD"
38424 *solaris* | alpha*-osf*)
38425 flag="-D_REENTRANT"
38428 { echo "$as_me:$LINENO: result: ${flag}" >&5
38429 echo "${ECHO_T}${flag}" >&6; }
38430 if test "x$flag" != xno; then
38431 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38434 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38438 if test "$wxUSE_THREADS" = "yes" ; then
38440 for ac_func in thr_setconcurrency
38442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38443 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38445 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38446 echo $ECHO_N "(cached) $ECHO_C" >&6
38448 cat >conftest.$ac_ext <<_ACEOF
38451 cat confdefs.h >>conftest.$ac_ext
38452 cat >>conftest.$ac_ext <<_ACEOF
38453 /* end confdefs.h. */
38454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38456 #define $ac_func innocuous_$ac_func
38458 /* System header to define __stub macros and hopefully few prototypes,
38459 which can conflict with char $ac_func (); below.
38460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38461 <limits.h> exists even on freestanding compilers. */
38464 # include <limits.h>
38466 # include <assert.h>
38471 /* Override any GCC internal prototype to avoid an error.
38472 Use char because int might match the return type of a GCC
38473 builtin and then its argument prototype would still apply. */
38478 /* The GNU C library defines this for functions which it implements
38479 to always fail with ENOSYS. Some functions are actually named
38480 something starting with __ and the normal name is an alias. */
38481 #if defined __stub_$ac_func || defined __stub___$ac_func
38488 return $ac_func ();
38493 rm -f conftest.$ac_objext conftest$ac_exeext
38494 if { (ac_try="$ac_link"
38495 case "(($ac_try" in
38496 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38497 *) ac_try_echo
=$ac_try;;
38499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38500 (eval "$ac_link") 2>conftest.er1
38502 grep -v '^ *+' conftest.er1
>conftest.err
38504 cat conftest.err
>&5
38505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38506 (exit $ac_status); } && {
38507 test -z "$ac_c_werror_flag" ||
38508 test ! -s conftest.err
38509 } && test -s conftest
$ac_exeext &&
38510 $as_test_x conftest
$ac_exeext; then
38511 eval "$as_ac_var=yes"
38513 echo "$as_me: failed program was:" >&5
38514 sed 's/^/| /' conftest.
$ac_ext >&5
38516 eval "$as_ac_var=no"
38519 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38520 conftest
$ac_exeext conftest.
$ac_ext
38522 ac_res
=`eval echo '${'$as_ac_var'}'`
38523 { echo "$as_me:$LINENO: result: $ac_res" >&5
38524 echo "${ECHO_T}$ac_res" >&6; }
38525 if test `eval echo '${'$as_ac_var'}'` = yes; then
38526 cat >>confdefs.h
<<_ACEOF
38527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38534 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38535 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38536 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38537 echo $ECHO_N "(cached) $ECHO_C" >&6
38541 ac_cpp
='$CXXCPP $CPPFLAGS'
38542 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38543 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38544 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38546 cat >conftest.
$ac_ext <<_ACEOF
38549 cat confdefs.h
>>conftest.
$ac_ext
38550 cat >>conftest.
$ac_ext <<_ACEOF
38551 /* end confdefs.h. */
38552 #include <pthread.h>
38553 void ThreadCleanupFunc(void *p);
38560 pthread_cleanup_push(ThreadCleanupFunc, p);
38561 pthread_cleanup_pop(0);
38567 rm -f conftest.
$ac_objext
38568 if { (ac_try
="$ac_compile"
38569 case "(($ac_try" in
38570 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38571 *) ac_try_echo=$ac_try;;
38573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38574 (eval "$ac_compile") 2>conftest.er1
38576 grep -v '^ *+' conftest.er1 >conftest.err
38578 cat conftest.err >&5
38579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38580 (exit $ac_status); } && {
38581 test -z "$ac_cxx_werror_flag" ||
38582 test ! -s conftest.err
38583 } && test -s conftest.$ac_objext; then
38585 wx_cv_func_pthread_cleanup=yes
38588 echo "$as_me: failed program was:" >&5
38589 sed 's/^/| /' conftest.$ac_ext >&5
38592 wx_cv_func_pthread_cleanup=no
38597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38599 ac_cpp='$CPP $CPPFLAGS'
38600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38606 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38607 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38608 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38609 cat >>confdefs.h <<\_ACEOF
38610 #define wxHAVE_PTHREAD_CLEANUP 1
38616 for ac_header in sched.h
38618 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38619 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38621 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38622 echo $ECHO_N "(cached) $ECHO_C" >&6
38624 cat >conftest.$ac_ext <<_ACEOF
38627 cat confdefs.h >>conftest.$ac_ext
38628 cat >>conftest.$ac_ext <<_ACEOF
38629 /* end confdefs.h. */
38630 $ac_includes_default
38632 #include <$ac_header>
38634 rm -f conftest.$ac_objext
38635 if { (ac_try="$ac_compile"
38636 case "(($ac_try" in
38637 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38638 *) ac_try_echo
=$ac_try;;
38640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38641 (eval "$ac_compile") 2>conftest.er1
38643 grep -v '^ *+' conftest.er1
>conftest.err
38645 cat conftest.err
>&5
38646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38647 (exit $ac_status); } && {
38648 test -z "$ac_c_werror_flag" ||
38649 test ! -s conftest.err
38650 } && test -s conftest.
$ac_objext; then
38651 eval "$as_ac_Header=yes"
38653 echo "$as_me: failed program was:" >&5
38654 sed 's/^/| /' conftest.
$ac_ext >&5
38656 eval "$as_ac_Header=no"
38659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38661 ac_res
=`eval echo '${'$as_ac_Header'}'`
38662 { echo "$as_me:$LINENO: result: $ac_res" >&5
38663 echo "${ECHO_T}$ac_res" >&6; }
38664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38665 cat >>confdefs.h
<<_ACEOF
38666 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38673 if test "$ac_cv_header_sched_h" = "yes"; then
38674 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38675 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38676 if test "${ac_cv_func_sched_yield+set}" = set; then
38677 echo $ECHO_N "(cached) $ECHO_C" >&6
38679 cat >conftest.
$ac_ext <<_ACEOF
38682 cat confdefs.h
>>conftest.
$ac_ext
38683 cat >>conftest.
$ac_ext <<_ACEOF
38684 /* end confdefs.h. */
38685 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38687 #define sched_yield innocuous_sched_yield
38689 /* System header to define __stub macros and hopefully few prototypes,
38690 which can conflict with char sched_yield (); below.
38691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38692 <limits.h> exists even on freestanding compilers. */
38695 # include <limits.h>
38697 # include <assert.h>
38702 /* Override any GCC internal prototype to avoid an error.
38703 Use char because int might match the return type of a GCC
38704 builtin and then its argument prototype would still apply. */
38708 char sched_yield ();
38709 /* The GNU C library defines this for functions which it implements
38710 to always fail with ENOSYS. Some functions are actually named
38711 something starting with __ and the normal name is an alias. */
38712 #if defined __stub_sched_yield || defined __stub___sched_yield
38719 return sched_yield ();
38724 rm -f conftest.
$ac_objext conftest
$ac_exeext
38725 if { (ac_try
="$ac_link"
38726 case "(($ac_try" in
38727 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38728 *) ac_try_echo=$ac_try;;
38730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38731 (eval "$ac_link") 2>conftest.er1
38733 grep -v '^ *+' conftest.er1 >conftest.err
38735 cat conftest.err >&5
38736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38737 (exit $ac_status); } && {
38738 test -z "$ac_c_werror_flag" ||
38739 test ! -s conftest.err
38740 } && test -s conftest$ac_exeext &&
38741 $as_test_x conftest$ac_exeext; then
38742 ac_cv_func_sched_yield=yes
38744 echo "$as_me: failed program was:" >&5
38745 sed 's/^/| /' conftest.$ac_ext >&5
38747 ac_cv_func_sched_yield=no
38750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38751 conftest$ac_exeext conftest.$ac_ext
38753 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38754 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38755 if test $ac_cv_func_sched_yield = yes; then
38756 cat >>confdefs.h <<\_ACEOF
38757 #define HAVE_SCHED_YIELD 1
38762 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38763 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38764 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38765 echo $ECHO_N "(cached) $ECHO_C" >&6
38767 ac_check_lib_save_LIBS=$LIBS
38768 LIBS="-lposix4 $LIBS"
38769 cat >conftest.$ac_ext <<_ACEOF
38772 cat confdefs.h >>conftest.$ac_ext
38773 cat >>conftest.$ac_ext <<_ACEOF
38774 /* end confdefs.h. */
38776 /* Override any GCC internal prototype to avoid an error.
38777 Use char because int might match the return type of a GCC
38778 builtin and then its argument prototype would still apply. */
38782 char sched_yield ();
38786 return sched_yield ();
38791 rm -f conftest.$ac_objext conftest$ac_exeext
38792 if { (ac_try="$ac_link"
38793 case "(($ac_try" in
38794 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38795 *) ac_try_echo
=$ac_try;;
38797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38798 (eval "$ac_link") 2>conftest.er1
38800 grep -v '^ *+' conftest.er1
>conftest.err
38802 cat conftest.err
>&5
38803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38804 (exit $ac_status); } && {
38805 test -z "$ac_c_werror_flag" ||
38806 test ! -s conftest.err
38807 } && test -s conftest
$ac_exeext &&
38808 $as_test_x conftest
$ac_exeext; then
38809 ac_cv_lib_posix4_sched_yield
=yes
38811 echo "$as_me: failed program was:" >&5
38812 sed 's/^/| /' conftest.
$ac_ext >&5
38814 ac_cv_lib_posix4_sched_yield
=no
38817 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38818 conftest
$ac_exeext conftest.
$ac_ext
38819 LIBS
=$ac_check_lib_save_LIBS
38821 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38822 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38823 if test $ac_cv_lib_posix4_sched_yield = yes; then
38824 cat >>confdefs.h
<<\_ACEOF
38825 #define HAVE_SCHED_YIELD 1
38827 POSIX4_LINK
=" -lposix4"
38829 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38830 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38841 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38842 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38843 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38844 echo $ECHO_N "(cached) $ECHO_C" >&6
38846 cat >conftest.
$ac_ext <<_ACEOF
38849 cat confdefs.h
>>conftest.
$ac_ext
38850 cat >>conftest.
$ac_ext <<_ACEOF
38851 /* end confdefs.h. */
38852 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38854 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38856 /* System header to define __stub macros and hopefully few prototypes,
38857 which can conflict with char pthread_attr_getschedpolicy (); below.
38858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38859 <limits.h> exists even on freestanding compilers. */
38862 # include <limits.h>
38864 # include <assert.h>
38867 #undef pthread_attr_getschedpolicy
38869 /* Override any GCC internal prototype to avoid an error.
38870 Use char because int might match the return type of a GCC
38871 builtin and then its argument prototype would still apply. */
38875 char pthread_attr_getschedpolicy ();
38876 /* The GNU C library defines this for functions which it implements
38877 to always fail with ENOSYS. Some functions are actually named
38878 something starting with __ and the normal name is an alias. */
38879 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38886 return pthread_attr_getschedpolicy ();
38891 rm -f conftest.
$ac_objext conftest
$ac_exeext
38892 if { (ac_try
="$ac_link"
38893 case "(($ac_try" in
38894 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38895 *) ac_try_echo=$ac_try;;
38897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38898 (eval "$ac_link") 2>conftest.er1
38900 grep -v '^ *+' conftest.er1 >conftest.err
38902 cat conftest.err >&5
38903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38904 (exit $ac_status); } && {
38905 test -z "$ac_c_werror_flag" ||
38906 test ! -s conftest.err
38907 } && test -s conftest$ac_exeext &&
38908 $as_test_x conftest$ac_exeext; then
38909 ac_cv_func_pthread_attr_getschedpolicy=yes
38911 echo "$as_me: failed program was:" >&5
38912 sed 's/^/| /' conftest.$ac_ext >&5
38914 ac_cv_func_pthread_attr_getschedpolicy=no
38917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38918 conftest$ac_exeext conftest.$ac_ext
38920 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38921 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38922 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38923 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38924 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38925 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38926 echo $ECHO_N "(cached) $ECHO_C" >&6
38928 cat >conftest.$ac_ext <<_ACEOF
38931 cat confdefs.h >>conftest.$ac_ext
38932 cat >>conftest.$ac_ext <<_ACEOF
38933 /* end confdefs.h. */
38934 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38936 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38938 /* System header to define __stub macros and hopefully few prototypes,
38939 which can conflict with char pthread_attr_setschedparam (); below.
38940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38941 <limits.h> exists even on freestanding compilers. */
38944 # include <limits.h>
38946 # include <assert.h>
38949 #undef pthread_attr_setschedparam
38951 /* Override any GCC internal prototype to avoid an error.
38952 Use char because int might match the return type of a GCC
38953 builtin and then its argument prototype would still apply. */
38957 char pthread_attr_setschedparam ();
38958 /* The GNU C library defines this for functions which it implements
38959 to always fail with ENOSYS. Some functions are actually named
38960 something starting with __ and the normal name is an alias. */
38961 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38968 return pthread_attr_setschedparam ();
38973 rm -f conftest.$ac_objext conftest$ac_exeext
38974 if { (ac_try="$ac_link"
38975 case "(($ac_try" in
38976 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38977 *) ac_try_echo
=$ac_try;;
38979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38980 (eval "$ac_link") 2>conftest.er1
38982 grep -v '^ *+' conftest.er1
>conftest.err
38984 cat conftest.err
>&5
38985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38986 (exit $ac_status); } && {
38987 test -z "$ac_c_werror_flag" ||
38988 test ! -s conftest.err
38989 } && test -s conftest
$ac_exeext &&
38990 $as_test_x conftest
$ac_exeext; then
38991 ac_cv_func_pthread_attr_setschedparam
=yes
38993 echo "$as_me: failed program was:" >&5
38994 sed 's/^/| /' conftest.
$ac_ext >&5
38996 ac_cv_func_pthread_attr_setschedparam
=no
38999 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39000 conftest
$ac_exeext conftest.
$ac_ext
39002 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39003 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39004 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39005 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39006 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39007 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39008 echo $ECHO_N "(cached) $ECHO_C" >&6
39010 cat >conftest.
$ac_ext <<_ACEOF
39013 cat confdefs.h
>>conftest.
$ac_ext
39014 cat >>conftest.
$ac_ext <<_ACEOF
39015 /* end confdefs.h. */
39016 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39018 #define sched_get_priority_max innocuous_sched_get_priority_max
39020 /* System header to define __stub macros and hopefully few prototypes,
39021 which can conflict with char sched_get_priority_max (); below.
39022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39023 <limits.h> exists even on freestanding compilers. */
39026 # include <limits.h>
39028 # include <assert.h>
39031 #undef sched_get_priority_max
39033 /* Override any GCC internal prototype to avoid an error.
39034 Use char because int might match the return type of a GCC
39035 builtin and then its argument prototype would still apply. */
39039 char sched_get_priority_max ();
39040 /* The GNU C library defines this for functions which it implements
39041 to always fail with ENOSYS. Some functions are actually named
39042 something starting with __ and the normal name is an alias. */
39043 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39050 return sched_get_priority_max ();
39055 rm -f conftest.
$ac_objext conftest
$ac_exeext
39056 if { (ac_try
="$ac_link"
39057 case "(($ac_try" in
39058 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39059 *) ac_try_echo=$ac_try;;
39061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39062 (eval "$ac_link") 2>conftest.er1
39064 grep -v '^ *+' conftest.er1 >conftest.err
39066 cat conftest.err >&5
39067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39068 (exit $ac_status); } && {
39069 test -z "$ac_c_werror_flag" ||
39070 test ! -s conftest.err
39071 } && test -s conftest$ac_exeext &&
39072 $as_test_x conftest$ac_exeext; then
39073 ac_cv_func_sched_get_priority_max=yes
39075 echo "$as_me: failed program was:" >&5
39076 sed 's/^/| /' conftest.$ac_ext >&5
39078 ac_cv_func_sched_get_priority_max=no
39081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39082 conftest$ac_exeext conftest.$ac_ext
39084 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39085 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39086 if test $ac_cv_func_sched_get_priority_max = yes; then
39089 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39090 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39091 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39092 echo $ECHO_N "(cached) $ECHO_C" >&6
39094 ac_check_lib_save_LIBS=$LIBS
39095 LIBS="-lposix4 $LIBS"
39096 cat >conftest.$ac_ext <<_ACEOF
39099 cat confdefs.h >>conftest.$ac_ext
39100 cat >>conftest.$ac_ext <<_ACEOF
39101 /* end confdefs.h. */
39103 /* Override any GCC internal prototype to avoid an error.
39104 Use char because int might match the return type of a GCC
39105 builtin and then its argument prototype would still apply. */
39109 char sched_get_priority_max ();
39113 return sched_get_priority_max ();
39118 rm -f conftest.$ac_objext conftest$ac_exeext
39119 if { (ac_try="$ac_link"
39120 case "(($ac_try" in
39121 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39122 *) ac_try_echo
=$ac_try;;
39124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39125 (eval "$ac_link") 2>conftest.er1
39127 grep -v '^ *+' conftest.er1
>conftest.err
39129 cat conftest.err
>&5
39130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39131 (exit $ac_status); } && {
39132 test -z "$ac_c_werror_flag" ||
39133 test ! -s conftest.err
39134 } && test -s conftest
$ac_exeext &&
39135 $as_test_x conftest
$ac_exeext; then
39136 ac_cv_lib_posix4_sched_get_priority_max
=yes
39138 echo "$as_me: failed program was:" >&5
39139 sed 's/^/| /' conftest.
$ac_ext >&5
39141 ac_cv_lib_posix4_sched_get_priority_max
=no
39144 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39145 conftest
$ac_exeext conftest.
$ac_ext
39146 LIBS
=$ac_check_lib_save_LIBS
39148 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39149 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39150 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39153 POSIX4_LINK
=" -lposix4"
39167 if test "$HAVE_PRIOR_FUNCS" = 1; then
39168 cat >>confdefs.h
<<\_ACEOF
39169 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39173 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39174 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39177 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39178 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39179 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39180 echo $ECHO_N "(cached) $ECHO_C" >&6
39182 cat >conftest.
$ac_ext <<_ACEOF
39185 cat confdefs.h
>>conftest.
$ac_ext
39186 cat >>conftest.
$ac_ext <<_ACEOF
39187 /* end confdefs.h. */
39188 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39190 #define pthread_cancel innocuous_pthread_cancel
39192 /* System header to define __stub macros and hopefully few prototypes,
39193 which can conflict with char pthread_cancel (); below.
39194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39195 <limits.h> exists even on freestanding compilers. */
39198 # include <limits.h>
39200 # include <assert.h>
39203 #undef pthread_cancel
39205 /* Override any GCC internal prototype to avoid an error.
39206 Use char because int might match the return type of a GCC
39207 builtin and then its argument prototype would still apply. */
39211 char pthread_cancel ();
39212 /* The GNU C library defines this for functions which it implements
39213 to always fail with ENOSYS. Some functions are actually named
39214 something starting with __ and the normal name is an alias. */
39215 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39222 return pthread_cancel ();
39227 rm -f conftest.
$ac_objext conftest
$ac_exeext
39228 if { (ac_try
="$ac_link"
39229 case "(($ac_try" in
39230 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39231 *) ac_try_echo=$ac_try;;
39233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39234 (eval "$ac_link") 2>conftest.er1
39236 grep -v '^ *+' conftest.er1 >conftest.err
39238 cat conftest.err >&5
39239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39240 (exit $ac_status); } && {
39241 test -z "$ac_c_werror_flag" ||
39242 test ! -s conftest.err
39243 } && test -s conftest$ac_exeext &&
39244 $as_test_x conftest$ac_exeext; then
39245 ac_cv_func_pthread_cancel=yes
39247 echo "$as_me: failed program was:" >&5
39248 sed 's/^/| /' conftest.$ac_ext >&5
39250 ac_cv_func_pthread_cancel=no
39253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39254 conftest$ac_exeext conftest.$ac_ext
39256 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39257 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39258 if test $ac_cv_func_pthread_cancel = yes; then
39259 cat >>confdefs.h <<\_ACEOF
39260 #define HAVE_PTHREAD_CANCEL 1
39264 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39265 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39269 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39270 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39271 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39272 echo $ECHO_N "(cached) $ECHO_C" >&6
39274 cat >conftest.$ac_ext <<_ACEOF
39277 cat confdefs.h >>conftest.$ac_ext
39278 cat >>conftest.$ac_ext <<_ACEOF
39279 /* end confdefs.h. */
39280 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39282 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39284 /* System header to define __stub macros and hopefully few prototypes,
39285 which can conflict with char pthread_mutex_timedlock (); below.
39286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39287 <limits.h> exists even on freestanding compilers. */
39290 # include <limits.h>
39292 # include <assert.h>
39295 #undef pthread_mutex_timedlock
39297 /* Override any GCC internal prototype to avoid an error.
39298 Use char because int might match the return type of a GCC
39299 builtin and then its argument prototype would still apply. */
39303 char pthread_mutex_timedlock ();
39304 /* The GNU C library defines this for functions which it implements
39305 to always fail with ENOSYS. Some functions are actually named
39306 something starting with __ and the normal name is an alias. */
39307 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39314 return pthread_mutex_timedlock ();
39319 rm -f conftest.$ac_objext conftest$ac_exeext
39320 if { (ac_try="$ac_link"
39321 case "(($ac_try" in
39322 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39323 *) ac_try_echo
=$ac_try;;
39325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39326 (eval "$ac_link") 2>conftest.er1
39328 grep -v '^ *+' conftest.er1
>conftest.err
39330 cat conftest.err
>&5
39331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39332 (exit $ac_status); } && {
39333 test -z "$ac_c_werror_flag" ||
39334 test ! -s conftest.err
39335 } && test -s conftest
$ac_exeext &&
39336 $as_test_x conftest
$ac_exeext; then
39337 ac_cv_func_pthread_mutex_timedlock
=yes
39339 echo "$as_me: failed program was:" >&5
39340 sed 's/^/| /' conftest.
$ac_ext >&5
39342 ac_cv_func_pthread_mutex_timedlock
=no
39345 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39346 conftest
$ac_exeext conftest.
$ac_ext
39348 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39349 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39350 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39351 cat >>confdefs.h
<<\_ACEOF
39352 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39356 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39357 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39361 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39362 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39363 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39364 echo $ECHO_N "(cached) $ECHO_C" >&6
39366 cat >conftest.
$ac_ext <<_ACEOF
39369 cat confdefs.h
>>conftest.
$ac_ext
39370 cat >>conftest.
$ac_ext <<_ACEOF
39371 /* end confdefs.h. */
39372 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39374 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39376 /* System header to define __stub macros and hopefully few prototypes,
39377 which can conflict with char pthread_attr_setstacksize (); below.
39378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39379 <limits.h> exists even on freestanding compilers. */
39382 # include <limits.h>
39384 # include <assert.h>
39387 #undef pthread_attr_setstacksize
39389 /* Override any GCC internal prototype to avoid an error.
39390 Use char because int might match the return type of a GCC
39391 builtin and then its argument prototype would still apply. */
39395 char pthread_attr_setstacksize ();
39396 /* The GNU C library defines this for functions which it implements
39397 to always fail with ENOSYS. Some functions are actually named
39398 something starting with __ and the normal name is an alias. */
39399 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39406 return pthread_attr_setstacksize ();
39411 rm -f conftest.
$ac_objext conftest
$ac_exeext
39412 if { (ac_try
="$ac_link"
39413 case "(($ac_try" in
39414 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39415 *) ac_try_echo=$ac_try;;
39417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39418 (eval "$ac_link") 2>conftest.er1
39420 grep -v '^ *+' conftest.er1 >conftest.err
39422 cat conftest.err >&5
39423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39424 (exit $ac_status); } && {
39425 test -z "$ac_c_werror_flag" ||
39426 test ! -s conftest.err
39427 } && test -s conftest$ac_exeext &&
39428 $as_test_x conftest$ac_exeext; then
39429 ac_cv_func_pthread_attr_setstacksize=yes
39431 echo "$as_me: failed program was:" >&5
39432 sed 's/^/| /' conftest.$ac_ext >&5
39434 ac_cv_func_pthread_attr_setstacksize=no
39437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39438 conftest$ac_exeext conftest.$ac_ext
39440 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39441 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39442 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39443 cat >>confdefs.h <<\_ACEOF
39444 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39451 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39452 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39453 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39454 echo $ECHO_N "(cached) $ECHO_C" >&6
39457 cat >conftest.$ac_ext <<_ACEOF
39460 cat confdefs.h >>conftest.$ac_ext
39461 cat >>conftest.$ac_ext <<_ACEOF
39462 /* end confdefs.h. */
39463 #include <pthread.h>
39468 pthread_mutexattr_t attr;
39469 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39475 rm -f conftest.$ac_objext
39476 if { (ac_try="$ac_compile"
39477 case "(($ac_try" in
39478 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39479 *) ac_try_echo
=$ac_try;;
39481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39482 (eval "$ac_compile") 2>conftest.er1
39484 grep -v '^ *+' conftest.er1
>conftest.err
39486 cat conftest.err
>&5
39487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39488 (exit $ac_status); } && {
39489 test -z "$ac_c_werror_flag" ||
39490 test ! -s conftest.err
39491 } && test -s conftest.
$ac_objext; then
39492 wx_cv_type_pthread_mutexattr_t
=yes
39494 echo "$as_me: failed program was:" >&5
39495 sed 's/^/| /' conftest.
$ac_ext >&5
39497 wx_cv_type_pthread_mutexattr_t
=no
39501 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39504 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39505 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39507 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39508 cat >>confdefs.h
<<\_ACEOF
39509 #define HAVE_PTHREAD_MUTEXATTR_T 1
39513 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39514 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39515 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39516 echo $ECHO_N "(cached) $ECHO_C" >&6
39519 cat >conftest.
$ac_ext <<_ACEOF
39522 cat confdefs.h
>>conftest.
$ac_ext
39523 cat >>conftest.
$ac_ext <<_ACEOF
39524 /* end confdefs.h. */
39525 #include <pthread.h>
39530 pthread_mutexattr_t attr;
39531 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39537 rm -f conftest.
$ac_objext
39538 if { (ac_try
="$ac_compile"
39539 case "(($ac_try" in
39540 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39541 *) ac_try_echo=$ac_try;;
39543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39544 (eval "$ac_compile") 2>conftest.er1
39546 grep -v '^ *+' conftest.er1 >conftest.err
39548 cat conftest.err >&5
39549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39550 (exit $ac_status); } && {
39551 test -z "$ac_c_werror_flag" ||
39552 test ! -s conftest.err
39553 } && test -s conftest.$ac_objext; then
39554 wx_cv_func_pthread_mutexattr_settype_decl=yes
39556 echo "$as_me: failed program was:" >&5
39557 sed 's/^/| /' conftest.$ac_ext >&5
39559 wx_cv_func_pthread_mutexattr_settype_decl=no
39563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39566 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39567 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39568 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39569 cat >>confdefs.h <<\_ACEOF
39570 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39575 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39576 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39577 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39578 echo $ECHO_N "(cached) $ECHO_C" >&6
39581 cat >conftest.$ac_ext <<_ACEOF
39584 cat confdefs.h >>conftest.$ac_ext
39585 cat >>conftest.$ac_ext <<_ACEOF
39586 /* end confdefs.h. */
39587 #include <pthread.h>
39592 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39598 rm -f conftest.$ac_objext
39599 if { (ac_try="$ac_compile"
39600 case "(($ac_try" in
39601 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39602 *) ac_try_echo
=$ac_try;;
39604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39605 (eval "$ac_compile") 2>conftest.er1
39607 grep -v '^ *+' conftest.er1
>conftest.err
39609 cat conftest.err
>&5
39610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39611 (exit $ac_status); } && {
39612 test -z "$ac_c_werror_flag" ||
39613 test ! -s conftest.err
39614 } && test -s conftest.
$ac_objext; then
39616 wx_cv_type_pthread_rec_mutex_init
=yes
39619 echo "$as_me: failed program was:" >&5
39620 sed 's/^/| /' conftest.
$ac_ext >&5
39623 wx_cv_type_pthread_rec_mutex_init
=no
39628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39631 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39632 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39633 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39634 cat >>confdefs.h
<<\_ACEOF
39635 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39639 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39640 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39646 if test "$wxUSE_THREADS" = "yes" ; then
39649 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39650 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39651 if test "${wx_cv_cflags_mthread+set}" = set; then
39652 echo $ECHO_N "(cached) $ECHO_C" >&6
39655 CFLAGS_OLD
="$CFLAGS"
39656 CFLAGS
="-mthreads $CFLAGS"
39657 cat >conftest.
$ac_ext <<_ACEOF
39660 cat confdefs.h
>>conftest.
$ac_ext
39661 cat >>conftest.
$ac_ext <<_ACEOF
39662 /* end confdefs.h. */
39672 rm -f conftest.
$ac_objext
39673 if { (ac_try
="$ac_compile"
39674 case "(($ac_try" in
39675 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39676 *) ac_try_echo=$ac_try;;
39678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39679 (eval "$ac_compile") 2>conftest.er1
39681 grep -v '^ *+' conftest.er1 >conftest.err
39683 cat conftest.err >&5
39684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39685 (exit $ac_status); } && {
39686 test -z "$ac_c_werror_flag" ||
39687 test ! -s conftest.err
39688 } && test -s conftest.$ac_objext; then
39689 wx_cv_cflags_mthread=yes
39691 echo "$as_me: failed program was:" >&5
39692 sed 's/^/| /' conftest.$ac_ext >&5
39694 wx_cv_cflags_mthread=no
39698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39702 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39703 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39705 if test "$wx_cv_cflags_mthread" = "yes"; then
39706 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39707 LDFLAGS="$LDFLAGS -mthreads"
39709 CFLAGS="$CFLAGS_OLD"
39713 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39714 LDFLAGS="$LDFLAGS -Zmt"
39720 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39721 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39722 if test "${ac_cv_func_localtime_r+set}" = set; then
39723 echo $ECHO_N "(cached) $ECHO_C" >&6
39725 cat >conftest.$ac_ext <<_ACEOF
39728 cat confdefs.h >>conftest.$ac_ext
39729 cat >>conftest.$ac_ext <<_ACEOF
39730 /* end confdefs.h. */
39731 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39733 #define localtime_r innocuous_localtime_r
39735 /* System header to define __stub macros and hopefully few prototypes,
39736 which can conflict with char localtime_r (); below.
39737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39738 <limits.h> exists even on freestanding compilers. */
39741 # include <limits.h>
39743 # include <assert.h>
39748 /* Override any GCC internal prototype to avoid an error.
39749 Use char because int might match the return type of a GCC
39750 builtin and then its argument prototype would still apply. */
39754 char localtime_r ();
39755 /* The GNU C library defines this for functions which it implements
39756 to always fail with ENOSYS. Some functions are actually named
39757 something starting with __ and the normal name is an alias. */
39758 #if defined __stub_localtime_r || defined __stub___localtime_r
39765 return localtime_r ();
39770 rm -f conftest.$ac_objext conftest$ac_exeext
39771 if { (ac_try="$ac_link"
39772 case "(($ac_try" in
39773 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39774 *) ac_try_echo
=$ac_try;;
39776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39777 (eval "$ac_link") 2>conftest.er1
39779 grep -v '^ *+' conftest.er1
>conftest.err
39781 cat conftest.err
>&5
39782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39783 (exit $ac_status); } && {
39784 test -z "$ac_c_werror_flag" ||
39785 test ! -s conftest.err
39786 } && test -s conftest
$ac_exeext &&
39787 $as_test_x conftest
$ac_exeext; then
39788 ac_cv_func_localtime_r
=yes
39790 echo "$as_me: failed program was:" >&5
39791 sed 's/^/| /' conftest.
$ac_ext >&5
39793 ac_cv_func_localtime_r
=no
39796 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39797 conftest
$ac_exeext conftest.
$ac_ext
39799 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39800 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39801 if test $ac_cv_func_localtime_r = yes; then
39802 cat >>confdefs.h
<<\_ACEOF
39803 #define HAVE_LOCALTIME_R 1
39808 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39809 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39810 if test "${ac_cv_func_gmtime_r+set}" = set; then
39811 echo $ECHO_N "(cached) $ECHO_C" >&6
39813 cat >conftest.
$ac_ext <<_ACEOF
39816 cat confdefs.h
>>conftest.
$ac_ext
39817 cat >>conftest.
$ac_ext <<_ACEOF
39818 /* end confdefs.h. */
39819 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39821 #define gmtime_r innocuous_gmtime_r
39823 /* System header to define __stub macros and hopefully few prototypes,
39824 which can conflict with char gmtime_r (); below.
39825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39826 <limits.h> exists even on freestanding compilers. */
39829 # include <limits.h>
39831 # include <assert.h>
39836 /* Override any GCC internal prototype to avoid an error.
39837 Use char because int might match the return type of a GCC
39838 builtin and then its argument prototype would still apply. */
39843 /* The GNU C library defines this for functions which it implements
39844 to always fail with ENOSYS. Some functions are actually named
39845 something starting with __ and the normal name is an alias. */
39846 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39853 return gmtime_r ();
39858 rm -f conftest.
$ac_objext conftest
$ac_exeext
39859 if { (ac_try
="$ac_link"
39860 case "(($ac_try" in
39861 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39862 *) ac_try_echo=$ac_try;;
39864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39865 (eval "$ac_link") 2>conftest.er1
39867 grep -v '^ *+' conftest.er1 >conftest.err
39869 cat conftest.err >&5
39870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39871 (exit $ac_status); } && {
39872 test -z "$ac_c_werror_flag" ||
39873 test ! -s conftest.err
39874 } && test -s conftest$ac_exeext &&
39875 $as_test_x conftest$ac_exeext; then
39876 ac_cv_func_gmtime_r=yes
39878 echo "$as_me: failed program was:" >&5
39879 sed 's/^/| /' conftest.$ac_ext >&5
39881 ac_cv_func_gmtime_r=no
39884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39885 conftest$ac_exeext conftest.$ac_ext
39887 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39888 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39889 if test $ac_cv_func_gmtime_r = yes; then
39890 cat >>confdefs.h <<\_ACEOF
39891 #define HAVE_GMTIME_R 1
39900 ac_cpp='$CPP $CPPFLAGS'
39901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39905 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39906 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39908 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39909 echo $ECHO_N "(cached) $ECHO_C" >&6
39913 ################################################################
39915 ac_cv_func_which_gethostbyname_r=unknown
39918 # ONE ARGUMENT (sanity check)
39921 # This should fail, as there is no variant of gethostbyname_r() that takes
39922 # a single argument. If it actually compiles, then we can assume that
39923 # netdb.h is not declaring the function, and the compiler is thereby
39924 # assuming an implicit prototype. In which case, we're out of luck.
39926 cat >conftest.$ac_ext <<_ACEOF
39929 cat confdefs.h >>conftest.$ac_ext
39930 cat >>conftest.$ac_ext <<_ACEOF
39931 /* end confdefs.h. */
39937 char *name = "www.gnu.org";
39938 (void)gethostbyname_r(name) /* ; */
39944 rm -f conftest.$ac_objext
39945 if { (ac_try="$ac_compile"
39946 case "(($ac_try" in
39947 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39948 *) ac_try_echo
=$ac_try;;
39950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39951 (eval "$ac_compile") 2>conftest.er1
39953 grep -v '^ *+' conftest.er1
>conftest.err
39955 cat conftest.err
>&5
39956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39957 (exit $ac_status); } && {
39958 test -z "$ac_c_werror_flag" ||
39959 test ! -s conftest.err
39960 } && test -s conftest.
$ac_objext; then
39961 ac_cv_func_which_gethostbyname_r
=no
39963 echo "$as_me: failed program was:" >&5
39964 sed 's/^/| /' conftest.
$ac_ext >&5
39969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39976 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39978 cat >conftest.
$ac_ext <<_ACEOF
39981 cat confdefs.h
>>conftest.
$ac_ext
39982 cat >>conftest.
$ac_ext <<_ACEOF
39983 /* end confdefs.h. */
39989 char *name = "www.gnu.org";
39990 struct hostent ret, *retp;
39994 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40000 rm -f conftest.
$ac_objext
40001 if { (ac_try
="$ac_compile"
40002 case "(($ac_try" in
40003 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40004 *) ac_try_echo=$ac_try;;
40006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40007 (eval "$ac_compile") 2>conftest.er1
40009 grep -v '^ *+' conftest.er1 >conftest.err
40011 cat conftest.err >&5
40012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40013 (exit $ac_status); } && {
40014 test -z "$ac_c_werror_flag" ||
40015 test ! -s conftest.err
40016 } && test -s conftest.$ac_objext; then
40017 ac_cv_func_which_gethostbyname_r=six
40019 echo "$as_me: failed program was:" >&5
40020 sed 's/^/| /' conftest.$ac_ext >&5
40025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40034 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40036 cat >conftest.$ac_ext <<_ACEOF
40039 cat confdefs.h >>conftest.$ac_ext
40040 cat >>conftest.$ac_ext <<_ACEOF
40041 /* end confdefs.h. */
40047 char *name = "www.gnu.org";
40048 struct hostent ret;
40052 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40058 rm -f conftest.$ac_objext
40059 if { (ac_try="$ac_compile"
40060 case "(($ac_try" in
40061 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40062 *) ac_try_echo
=$ac_try;;
40064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40065 (eval "$ac_compile") 2>conftest.er1
40067 grep -v '^ *+' conftest.er1
>conftest.err
40069 cat conftest.err
>&5
40070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40071 (exit $ac_status); } && {
40072 test -z "$ac_c_werror_flag" ||
40073 test ! -s conftest.err
40074 } && test -s conftest.
$ac_objext; then
40075 ac_cv_func_which_gethostbyname_r
=five
40077 echo "$as_me: failed program was:" >&5
40078 sed 's/^/| /' conftest.
$ac_ext >&5
40083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40089 # (e.g. AIX, HP-UX, Tru64)
40092 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40094 cat >conftest.
$ac_ext <<_ACEOF
40097 cat confdefs.h
>>conftest.
$ac_ext
40098 cat >>conftest.
$ac_ext <<_ACEOF
40099 /* end confdefs.h. */
40105 char *name = "www.gnu.org";
40106 struct hostent ret;
40107 struct hostent_data data;
40108 (void)gethostbyname_r(name, &ret, &data) /* ; */
40114 rm -f conftest.
$ac_objext
40115 if { (ac_try
="$ac_compile"
40116 case "(($ac_try" in
40117 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40118 *) ac_try_echo=$ac_try;;
40120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40121 (eval "$ac_compile") 2>conftest.er1
40123 grep -v '^ *+' conftest.er1 >conftest.err
40125 cat conftest.err >&5
40126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40127 (exit $ac_status); } && {
40128 test -z "$ac_c_werror_flag" ||
40129 test ! -s conftest.err
40130 } && test -s conftest.$ac_objext; then
40131 ac_cv_func_which_gethostbyname_r=three
40133 echo "$as_me: failed program was:" >&5
40134 sed 's/^/| /' conftest.$ac_ext >&5
40139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40143 ################################################################
40148 case "$ac_cv_func_which_gethostbyname_r" in
40150 { echo "$as_me:$LINENO: result: three" >&5
40151 echo "${ECHO_T}three" >&6; }
40152 cat >>confdefs.h <<\_ACEOF
40153 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40159 { echo "$as_me:$LINENO: result: five" >&5
40160 echo "${ECHO_T}five" >&6; }
40161 cat >>confdefs.h <<\_ACEOF
40162 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40168 { echo "$as_me:$LINENO: result: six" >&5
40169 echo "${ECHO_T}six" >&6; }
40170 cat >>confdefs.h <<\_ACEOF
40171 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40177 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40178 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40182 { echo "$as_me:$LINENO: result: can't tell" >&5
40183 echo "${ECHO_T}can't tell" >&6; }
40187 { { echo "$as_me:$LINENO: error: internal error" >&5
40188 echo "$as_me: error: internal error" >&2;}
40189 { (exit 1); exit 1; }; }
40194 ac_cpp='$CPP $CPPFLAGS'
40195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40201 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40202 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40203 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40204 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40205 if test "${ac_cv_func_gethostbyname+set}" = set; then
40206 echo $ECHO_N "(cached) $ECHO_C" >&6
40208 cat >conftest.$ac_ext <<_ACEOF
40211 cat confdefs.h >>conftest.$ac_ext
40212 cat >>conftest.$ac_ext <<_ACEOF
40213 /* end confdefs.h. */
40214 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40216 #define gethostbyname innocuous_gethostbyname
40218 /* System header to define __stub macros and hopefully few prototypes,
40219 which can conflict with char gethostbyname (); below.
40220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40221 <limits.h> exists even on freestanding compilers. */
40224 # include <limits.h>
40226 # include <assert.h>
40229 #undef gethostbyname
40231 /* Override any GCC internal prototype to avoid an error.
40232 Use char because int might match the return type of a GCC
40233 builtin and then its argument prototype would still apply. */
40237 char gethostbyname ();
40238 /* The GNU C library defines this for functions which it implements
40239 to always fail with ENOSYS. Some functions are actually named
40240 something starting with __ and the normal name is an alias. */
40241 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40248 return gethostbyname ();
40253 rm -f conftest.$ac_objext conftest$ac_exeext
40254 if { (ac_try="$ac_link"
40255 case "(($ac_try" in
40256 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40257 *) ac_try_echo
=$ac_try;;
40259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40260 (eval "$ac_link") 2>conftest.er1
40262 grep -v '^ *+' conftest.er1
>conftest.err
40264 cat conftest.err
>&5
40265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40266 (exit $ac_status); } && {
40267 test -z "$ac_c_werror_flag" ||
40268 test ! -s conftest.err
40269 } && test -s conftest
$ac_exeext &&
40270 $as_test_x conftest
$ac_exeext; then
40271 ac_cv_func_gethostbyname
=yes
40273 echo "$as_me: failed program was:" >&5
40274 sed 's/^/| /' conftest.
$ac_ext >&5
40276 ac_cv_func_gethostbyname
=no
40279 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40280 conftest
$ac_exeext conftest.
$ac_ext
40282 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40283 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40284 if test $ac_cv_func_gethostbyname = yes; then
40285 cat >>confdefs.h
<<\_ACEOF
40286 #define HAVE_GETHOSTBYNAME 1
40293 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40294 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40295 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40296 echo $ECHO_N "(cached) $ECHO_C" >&6
40300 ac_cpp
='$CXXCPP $CPPFLAGS'
40301 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40302 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40303 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40306 cat >conftest.
$ac_ext <<_ACEOF
40309 cat confdefs.h
>>conftest.
$ac_ext
40310 cat >>conftest.
$ac_ext <<_ACEOF
40311 /* end confdefs.h. */
40319 struct servent *se, *res;
40322 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40328 rm -f conftest.
$ac_objext
40329 if { (ac_try
="$ac_compile"
40330 case "(($ac_try" in
40331 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40332 *) ac_try_echo=$ac_try;;
40334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40335 (eval "$ac_compile") 2>conftest.er1
40337 grep -v '^ *+' conftest.er1 >conftest.err
40339 cat conftest.err >&5
40340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40341 (exit $ac_status); } && {
40342 test -z "$ac_cxx_werror_flag" ||
40343 test ! -s conftest.err
40344 } && test -s conftest.$ac_objext; then
40345 ac_cv_func_which_getservbyname_r=six
40347 echo "$as_me: failed program was:" >&5
40348 sed 's/^/| /' conftest.$ac_ext >&5
40351 cat >conftest.$ac_ext <<_ACEOF
40354 cat confdefs.h >>conftest.$ac_ext
40355 cat >>conftest.$ac_ext <<_ACEOF
40356 /* end confdefs.h. */
40364 struct servent *se;
40367 (void) getservbyname_r(name, proto, se, buffer, buflen)
40373 rm -f conftest.$ac_objext
40374 if { (ac_try="$ac_compile"
40375 case "(($ac_try" in
40376 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40377 *) ac_try_echo
=$ac_try;;
40379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40380 (eval "$ac_compile") 2>conftest.er1
40382 grep -v '^ *+' conftest.er1
>conftest.err
40384 cat conftest.err
>&5
40385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40386 (exit $ac_status); } && {
40387 test -z "$ac_cxx_werror_flag" ||
40388 test ! -s conftest.err
40389 } && test -s conftest.
$ac_objext; then
40390 ac_cv_func_which_getservbyname_r
=five
40392 echo "$as_me: failed program was:" >&5
40393 sed 's/^/| /' conftest.
$ac_ext >&5
40396 cat >conftest.
$ac_ext <<_ACEOF
40399 cat confdefs.h
>>conftest.
$ac_ext
40400 cat >>conftest.
$ac_ext <<_ACEOF
40401 /* end confdefs.h. */
40409 struct servent *se;
40410 struct servent_data data;
40411 (void) getservbyname_r(name, proto, se, &data);
40417 rm -f conftest.
$ac_objext
40418 if { (ac_try
="$ac_compile"
40419 case "(($ac_try" in
40420 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40421 *) ac_try_echo=$ac_try;;
40423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40424 (eval "$ac_compile") 2>conftest.er1
40426 grep -v '^ *+' conftest.er1 >conftest.err
40428 cat conftest.err >&5
40429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40430 (exit $ac_status); } && {
40431 test -z "$ac_cxx_werror_flag" ||
40432 test ! -s conftest.err
40433 } && test -s conftest.$ac_objext; then
40434 ac_cv_func_which_getservbyname_r=four
40436 echo "$as_me: failed program was:" >&5
40437 sed 's/^/| /' conftest.$ac_ext >&5
40439 ac_cv_func_which_getservbyname_r=no
40443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40455 ac_cpp='$CPP $CPPFLAGS'
40456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40463 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40464 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40466 if test $ac_cv_func_which_getservbyname_r = six; then
40467 cat >>confdefs.h <<\_ACEOF
40468 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40471 elif test $ac_cv_func_which_getservbyname_r = five; then
40472 cat >>confdefs.h <<\_ACEOF
40473 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40476 elif test $ac_cv_func_which_getservbyname_r = four; then
40477 cat >>confdefs.h <<\_ACEOF
40478 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40484 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40485 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40487 for ac_func in getservbyname
40489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40490 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40492 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40493 echo $ECHO_N "(cached) $ECHO_C" >&6
40495 cat >conftest.$ac_ext <<_ACEOF
40498 cat confdefs.h >>conftest.$ac_ext
40499 cat >>conftest.$ac_ext <<_ACEOF
40500 /* end confdefs.h. */
40501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40503 #define $ac_func innocuous_$ac_func
40505 /* System header to define __stub macros and hopefully few prototypes,
40506 which can conflict with char $ac_func (); below.
40507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40508 <limits.h> exists even on freestanding compilers. */
40511 # include <limits.h>
40513 # include <assert.h>
40518 /* Override any GCC internal prototype to avoid an error.
40519 Use char because int might match the return type of a GCC
40520 builtin and then its argument prototype would still apply. */
40525 /* The GNU C library defines this for functions which it implements
40526 to always fail with ENOSYS. Some functions are actually named
40527 something starting with __ and the normal name is an alias. */
40528 #if defined __stub_$ac_func || defined __stub___$ac_func
40535 return $ac_func ();
40540 rm -f conftest.$ac_objext conftest$ac_exeext
40541 if { (ac_try="$ac_link"
40542 case "(($ac_try" in
40543 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40544 *) ac_try_echo
=$ac_try;;
40546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40547 (eval "$ac_link") 2>conftest.er1
40549 grep -v '^ *+' conftest.er1
>conftest.err
40551 cat conftest.err
>&5
40552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40553 (exit $ac_status); } && {
40554 test -z "$ac_c_werror_flag" ||
40555 test ! -s conftest.err
40556 } && test -s conftest
$ac_exeext &&
40557 $as_test_x conftest
$ac_exeext; then
40558 eval "$as_ac_var=yes"
40560 echo "$as_me: failed program was:" >&5
40561 sed 's/^/| /' conftest.
$ac_ext >&5
40563 eval "$as_ac_var=no"
40566 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40567 conftest
$ac_exeext conftest.
$ac_ext
40569 ac_res
=`eval echo '${'$as_ac_var'}'`
40570 { echo "$as_me:$LINENO: result: $ac_res" >&5
40571 echo "${ECHO_T}$ac_res" >&6; }
40572 if test `eval echo '${'$as_ac_var'}'` = yes; then
40573 cat >>confdefs.h
<<_ACEOF
40574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40576 cat >>confdefs.h
<<\_ACEOF
40577 #define HAVE_GETSERVBYNAME 1
40585 if test "$wxUSE_THREADS" = "yes"; then
40586 cat >>confdefs.h
<<\_ACEOF
40587 #define wxUSE_THREADS 1
40591 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
40593 if test "$wx_cv_func_strtok_r" = "yes"; then
40594 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40595 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40596 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40597 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40598 { echo "$as_me:$LINENO: result: yes" >&5
40599 echo "${ECHO_T}yes" >&6; }
40601 { echo "$as_me:$LINENO: result: no" >&5
40602 echo "${ECHO_T}no" >&6; }
40607 if test "$WXGTK2" = 1 ; then
40608 cat >>confdefs.h
<<_ACEOF
40609 #define __WXGTK20__ $WXGTK2
40615 if test "$WXGTK12" = 1 ; then
40616 cat >>confdefs.h
<<_ACEOF
40617 #define __WXGTK12__ $WXGTK12
40622 if test "$WXGTK127" = 1 ; then
40623 cat >>confdefs.h
<<_ACEOF
40624 #define __WXGTK127__ $WXGTK127
40629 if test "$WXGPE" = 1 ; then
40630 cat >>confdefs.h
<<_ACEOF
40631 #define __WXGPE__ $WXGPE
40637 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40642 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40643 wxUSE_DEBUG_INFO
=yes
40644 if test "$GCC" = yes; then
40645 DEBUG_CFLAGS
="-ggdb"
40649 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40650 cat >>confdefs.h
<<\_ACEOF
40654 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40656 if test "$wxUSE_GTK" = 1 ; then
40657 if test "x$wxGTK_VERSION" = "x1" ; then
40658 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40663 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40664 cat >>confdefs.h
<<\_ACEOF
40665 #define wxUSE_MEMORY_TRACING 1
40668 cat >>confdefs.h
<<\_ACEOF
40669 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40672 cat >>confdefs.h
<<\_ACEOF
40673 #define wxUSE_DEBUG_NEW_ALWAYS 1
40676 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
40679 if test "$wxUSE_DMALLOC" = "yes" ; then
40680 DMALLOC_LIBS
="-ldmallocthcxx"
40684 if test "$wxUSE_PROFILE" = "yes" ; then
40685 PROFILE_FLAGS
=" -pg"
40688 if test "$GCC" = "yes" ; then
40689 if test "$wxUSE_NO_RTTI" = "yes" ; then
40690 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
40692 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40693 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
40695 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40696 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
40701 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
40704 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
40710 if test "$wxUSE_OPTIMISE" = "no" ; then
40711 if test "$GCC" = yes ; then
40712 OPTIMISE_CFLAGS
="-O0"
40715 if test "$GCC" = yes ; then
40717 *-pc-os2_emx | *-pc-os2-emx )
40718 OPTIMISE_CFLAGS
="-O2"
40721 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
40725 OPTIMISE_CFLAGS
="-O"
40730 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40731 cat >>confdefs.h
<<\_ACEOF
40732 #define WXWIN_COMPATIBILITY_2_6 1
40736 WXWIN_COMPATIBILITY_2_8
="yes"
40739 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40740 cat >>confdefs.h
<<\_ACEOF
40741 #define WXWIN_COMPATIBILITY_2_8 1
40747 if test "$wxUSE_GUI" = "yes"; then
40748 cat >>confdefs.h
<<\_ACEOF
40749 #define wxUSE_GUI 1
40756 if test "$wxUSE_UNIX" = "yes"; then
40757 cat >>confdefs.h
<<\_ACEOF
40758 #define wxUSE_UNIX 1
40764 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40768 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40769 if test "$USE_DARWIN" = 1; then
40771 elif test "$USE_DOS" = 1; then
40775 for ac_func
in dlopen
40777 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40778 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40780 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40781 echo $ECHO_N "(cached) $ECHO_C" >&6
40783 cat >conftest.
$ac_ext <<_ACEOF
40786 cat confdefs.h
>>conftest.
$ac_ext
40787 cat >>conftest.
$ac_ext <<_ACEOF
40788 /* end confdefs.h. */
40789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40791 #define $ac_func innocuous_$ac_func
40793 /* System header to define __stub macros and hopefully few prototypes,
40794 which can conflict with char $ac_func (); below.
40795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40796 <limits.h> exists even on freestanding compilers. */
40799 # include <limits.h>
40801 # include <assert.h>
40806 /* Override any GCC internal prototype to avoid an error.
40807 Use char because int might match the return type of a GCC
40808 builtin and then its argument prototype would still apply. */
40813 /* The GNU C library defines this for functions which it implements
40814 to always fail with ENOSYS. Some functions are actually named
40815 something starting with __ and the normal name is an alias. */
40816 #if defined __stub_$ac_func || defined __stub___$ac_func
40823 return $ac_func ();
40828 rm -f conftest.
$ac_objext conftest
$ac_exeext
40829 if { (ac_try
="$ac_link"
40830 case "(($ac_try" in
40831 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40832 *) ac_try_echo=$ac_try;;
40834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40835 (eval "$ac_link") 2>conftest.er1
40837 grep -v '^ *+' conftest.er1 >conftest.err
40839 cat conftest.err >&5
40840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40841 (exit $ac_status); } && {
40842 test -z "$ac_c_werror_flag" ||
40843 test ! -s conftest.err
40844 } && test -s conftest$ac_exeext &&
40845 $as_test_x conftest$ac_exeext; then
40846 eval "$as_ac_var=yes"
40848 echo "$as_me: failed program was:" >&5
40849 sed 's/^/| /' conftest.$ac_ext >&5
40851 eval "$as_ac_var=no"
40854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40855 conftest$ac_exeext conftest.$ac_ext
40857 ac_res=`eval echo '${'$as_ac_var'}'`
40858 { echo "$as_me:$LINENO: result: $ac_res" >&5
40859 echo "${ECHO_T}$ac_res" >&6; }
40860 if test `eval echo '${'$as_ac_var'}'` = yes; then
40861 cat >>confdefs.h <<_ACEOF
40862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40865 cat >>confdefs.h <<\_ACEOF
40866 #define HAVE_DLOPEN 1
40873 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40874 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40875 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40876 echo $ECHO_N "(cached) $ECHO_C" >&6
40878 ac_check_lib_save_LIBS=$LIBS
40880 cat >conftest.$ac_ext <<_ACEOF
40883 cat confdefs.h >>conftest.$ac_ext
40884 cat >>conftest.$ac_ext <<_ACEOF
40885 /* end confdefs.h. */
40887 /* Override any GCC internal prototype to avoid an error.
40888 Use char because int might match the return type of a GCC
40889 builtin and then its argument prototype would still apply. */
40902 rm -f conftest.$ac_objext conftest$ac_exeext
40903 if { (ac_try="$ac_link"
40904 case "(($ac_try" in
40905 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40906 *) ac_try_echo
=$ac_try;;
40908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40909 (eval "$ac_link") 2>conftest.er1
40911 grep -v '^ *+' conftest.er1
>conftest.err
40913 cat conftest.err
>&5
40914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40915 (exit $ac_status); } && {
40916 test -z "$ac_c_werror_flag" ||
40917 test ! -s conftest.err
40918 } && test -s conftest
$ac_exeext &&
40919 $as_test_x conftest
$ac_exeext; then
40920 ac_cv_lib_dl_dlopen
=yes
40922 echo "$as_me: failed program was:" >&5
40923 sed 's/^/| /' conftest.
$ac_ext >&5
40925 ac_cv_lib_dl_dlopen
=no
40928 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40929 conftest
$ac_exeext conftest.
$ac_ext
40930 LIBS
=$ac_check_lib_save_LIBS
40932 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40933 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40934 if test $ac_cv_lib_dl_dlopen = yes; then
40936 cat >>confdefs.h
<<\_ACEOF
40937 #define HAVE_DLOPEN 1
40941 DL_LINK
=" -ldl$DL_LINK"
40946 for ac_func
in shl_load
40948 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40949 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40951 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40952 echo $ECHO_N "(cached) $ECHO_C" >&6
40954 cat >conftest.
$ac_ext <<_ACEOF
40957 cat confdefs.h
>>conftest.
$ac_ext
40958 cat >>conftest.
$ac_ext <<_ACEOF
40959 /* end confdefs.h. */
40960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40962 #define $ac_func innocuous_$ac_func
40964 /* System header to define __stub macros and hopefully few prototypes,
40965 which can conflict with char $ac_func (); below.
40966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40967 <limits.h> exists even on freestanding compilers. */
40970 # include <limits.h>
40972 # include <assert.h>
40977 /* Override any GCC internal prototype to avoid an error.
40978 Use char because int might match the return type of a GCC
40979 builtin and then its argument prototype would still apply. */
40984 /* The GNU C library defines this for functions which it implements
40985 to always fail with ENOSYS. Some functions are actually named
40986 something starting with __ and the normal name is an alias. */
40987 #if defined __stub_$ac_func || defined __stub___$ac_func
40994 return $ac_func ();
40999 rm -f conftest.
$ac_objext conftest
$ac_exeext
41000 if { (ac_try
="$ac_link"
41001 case "(($ac_try" in
41002 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41003 *) ac_try_echo=$ac_try;;
41005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41006 (eval "$ac_link") 2>conftest.er1
41008 grep -v '^ *+' conftest.er1 >conftest.err
41010 cat conftest.err >&5
41011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41012 (exit $ac_status); } && {
41013 test -z "$ac_c_werror_flag" ||
41014 test ! -s conftest.err
41015 } && test -s conftest$ac_exeext &&
41016 $as_test_x conftest$ac_exeext; then
41017 eval "$as_ac_var=yes"
41019 echo "$as_me: failed program was:" >&5
41020 sed 's/^/| /' conftest.$ac_ext >&5
41022 eval "$as_ac_var=no"
41025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41026 conftest$ac_exeext conftest.$ac_ext
41028 ac_res=`eval echo '${'$as_ac_var'}'`
41029 { echo "$as_me:$LINENO: result: $ac_res" >&5
41030 echo "${ECHO_T}$ac_res" >&6; }
41031 if test `eval echo '${'$as_ac_var'}'` = yes; then
41032 cat >>confdefs.h <<_ACEOF
41033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41036 cat >>confdefs.h <<\_ACEOF
41037 #define HAVE_SHL_LOAD 1
41044 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41045 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41046 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41047 echo $ECHO_N "(cached) $ECHO_C" >&6
41049 ac_check_lib_save_LIBS=$LIBS
41050 LIBS="-lshl_load $LIBS"
41051 cat >conftest.$ac_ext <<_ACEOF
41054 cat confdefs.h >>conftest.$ac_ext
41055 cat >>conftest.$ac_ext <<_ACEOF
41056 /* end confdefs.h. */
41058 /* Override any GCC internal prototype to avoid an error.
41059 Use char because int might match the return type of a GCC
41060 builtin and then its argument prototype would still apply. */
41073 rm -f conftest.$ac_objext conftest$ac_exeext
41074 if { (ac_try="$ac_link"
41075 case "(($ac_try" in
41076 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41077 *) ac_try_echo
=$ac_try;;
41079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41080 (eval "$ac_link") 2>conftest.er1
41082 grep -v '^ *+' conftest.er1
>conftest.err
41084 cat conftest.err
>&5
41085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41086 (exit $ac_status); } && {
41087 test -z "$ac_c_werror_flag" ||
41088 test ! -s conftest.err
41089 } && test -s conftest
$ac_exeext &&
41090 $as_test_x conftest
$ac_exeext; then
41091 ac_cv_lib_shl_load_dld
=yes
41093 echo "$as_me: failed program was:" >&5
41094 sed 's/^/| /' conftest.
$ac_ext >&5
41096 ac_cv_lib_shl_load_dld
=no
41099 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41100 conftest
$ac_exeext conftest.
$ac_ext
41101 LIBS
=$ac_check_lib_save_LIBS
41103 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41104 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41105 if test $ac_cv_lib_shl_load_dld = yes; then
41108 DL_LINK
=" -ldld$DL_LINK"
41124 if test "$HAVE_DL_FUNCS" = 1; then
41126 for ac_func
in dlerror
41128 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41129 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41131 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41132 echo $ECHO_N "(cached) $ECHO_C" >&6
41134 cat >conftest.
$ac_ext <<_ACEOF
41137 cat confdefs.h
>>conftest.
$ac_ext
41138 cat >>conftest.
$ac_ext <<_ACEOF
41139 /* end confdefs.h. */
41140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41142 #define $ac_func innocuous_$ac_func
41144 /* System header to define __stub macros and hopefully few prototypes,
41145 which can conflict with char $ac_func (); below.
41146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41147 <limits.h> exists even on freestanding compilers. */
41150 # include <limits.h>
41152 # include <assert.h>
41157 /* Override any GCC internal prototype to avoid an error.
41158 Use char because int might match the return type of a GCC
41159 builtin and then its argument prototype would still apply. */
41164 /* The GNU C library defines this for functions which it implements
41165 to always fail with ENOSYS. Some functions are actually named
41166 something starting with __ and the normal name is an alias. */
41167 #if defined __stub_$ac_func || defined __stub___$ac_func
41174 return $ac_func ();
41179 rm -f conftest.
$ac_objext conftest
$ac_exeext
41180 if { (ac_try
="$ac_link"
41181 case "(($ac_try" in
41182 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41183 *) ac_try_echo=$ac_try;;
41185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41186 (eval "$ac_link") 2>conftest.er1
41188 grep -v '^ *+' conftest.er1 >conftest.err
41190 cat conftest.err >&5
41191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41192 (exit $ac_status); } && {
41193 test -z "$ac_c_werror_flag" ||
41194 test ! -s conftest.err
41195 } && test -s conftest$ac_exeext &&
41196 $as_test_x conftest$ac_exeext; then
41197 eval "$as_ac_var=yes"
41199 echo "$as_me: failed program was:" >&5
41200 sed 's/^/| /' conftest.$ac_ext >&5
41202 eval "$as_ac_var=no"
41205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41206 conftest$ac_exeext conftest.$ac_ext
41208 ac_res=`eval echo '${'$as_ac_var'}'`
41209 { echo "$as_me:$LINENO: result: $ac_res" >&5
41210 echo "${ECHO_T}$ac_res" >&6; }
41211 if test `eval echo '${'$as_ac_var'}'` = yes; then
41212 cat >>confdefs.h <<_ACEOF
41213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41215 cat >>confdefs.h <<\_ACEOF
41216 #define HAVE_DLERROR 1
41221 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41222 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41223 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41224 echo $ECHO_N "(cached) $ECHO_C" >&6
41226 ac_check_lib_save_LIBS=$LIBS
41228 cat >conftest.$ac_ext <<_ACEOF
41231 cat confdefs.h >>conftest.$ac_ext
41232 cat >>conftest.$ac_ext <<_ACEOF
41233 /* end confdefs.h. */
41235 /* Override any GCC internal prototype to avoid an error.
41236 Use char because int might match the return type of a GCC
41237 builtin and then its argument prototype would still apply. */
41250 rm -f conftest.$ac_objext conftest$ac_exeext
41251 if { (ac_try="$ac_link"
41252 case "(($ac_try" in
41253 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41254 *) ac_try_echo
=$ac_try;;
41256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41257 (eval "$ac_link") 2>conftest.er1
41259 grep -v '^ *+' conftest.er1
>conftest.err
41261 cat conftest.err
>&5
41262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41263 (exit $ac_status); } && {
41264 test -z "$ac_c_werror_flag" ||
41265 test ! -s conftest.err
41266 } && test -s conftest
$ac_exeext &&
41267 $as_test_x conftest
$ac_exeext; then
41268 ac_cv_lib_dl_dlerror
=yes
41270 echo "$as_me: failed program was:" >&5
41271 sed 's/^/| /' conftest.
$ac_ext >&5
41273 ac_cv_lib_dl_dlerror
=no
41276 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41277 conftest
$ac_exeext conftest.
$ac_ext
41278 LIBS
=$ac_check_lib_save_LIBS
41280 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41281 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41282 if test $ac_cv_lib_dl_dlerror = yes; then
41283 cat >>confdefs.h
<<\_ACEOF
41284 #define HAVE_DLERROR 1
41297 if test "$HAVE_DL_FUNCS" = 0; then
41298 if test "$HAVE_SHL_FUNCS" = 0; then
41299 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41300 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41301 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41302 wxUSE_DYNAMIC_LOADER
=no
41303 wxUSE_DYNLIB_CLASS
=no
41305 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41306 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41313 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41314 cat >>confdefs.h
<<\_ACEOF
41315 #define wxUSE_DYNAMIC_LOADER 1
41319 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41320 cat >>confdefs.h
<<\_ACEOF
41321 #define wxUSE_DYNLIB_CLASS 1
41328 if test "$wxUSE_PLUGINS" = "yes" ; then
41329 if test "$wxUSE_SHARED" = "no" ; then
41330 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41331 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41334 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41335 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41336 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41339 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41340 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41341 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41344 if test "$wxUSE_PLUGINS" = "yes" ; then
41345 cat >>confdefs.h
<<\_ACEOF
41346 #define wxUSE_PLUGINS 1
41353 if test "$wxUSE_STL" = "yes"; then
41354 cat >>confdefs.h
<<\_ACEOF
41355 #define wxUSE_STL 1
41360 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41361 cat >>confdefs.h
<<\_ACEOF
41362 #define wxUSE_EXTENDED_RTTI 1
41367 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41368 cat >>confdefs.h
<<\_ACEOF
41369 #define wxUSE_APPLE_IEEE 1
41374 if test "$wxUSE_TIMER" = "yes"; then
41375 cat >>confdefs.h
<<\_ACEOF
41376 #define wxUSE_TIMER 1
41381 if test "$USE_UNIX" = 1 ; then
41382 if test "$wxUSE_MGL" != 1; then
41383 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41384 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41385 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41386 echo $ECHO_N "(cached) $ECHO_C" >&6
41389 cat >conftest.
$ac_ext <<_ACEOF
41392 cat confdefs.h
>>conftest.
$ac_ext
41393 cat >>conftest.
$ac_ext <<_ACEOF
41394 /* end confdefs.h. */
41396 #include <sys/ioctl.h>
41397 #include <sys/soundcard.h>
41403 ioctl(0, SNDCTL_DSP_SPEED, 0);
41409 rm -f conftest.
$ac_objext conftest
$ac_exeext
41410 if { (ac_try
="$ac_link"
41411 case "(($ac_try" in
41412 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41413 *) ac_try_echo=$ac_try;;
41415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41416 (eval "$ac_link") 2>conftest.er1
41418 grep -v '^ *+' conftest.er1 >conftest.err
41420 cat conftest.err >&5
41421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41422 (exit $ac_status); } && {
41423 test -z "$ac_c_werror_flag" ||
41424 test ! -s conftest.err
41425 } && test -s conftest$ac_exeext &&
41426 $as_test_x conftest$ac_exeext; then
41427 ac_cv_header_sys_soundcard=yes
41429 echo "$as_me: failed program was:" >&5
41430 sed 's/^/| /' conftest.$ac_ext >&5
41434 LIBS="$saveLibs -lossaudio"
41435 cat >conftest.$ac_ext <<_ACEOF
41438 cat confdefs.h >>conftest.$ac_ext
41439 cat >>conftest.$ac_ext <<_ACEOF
41440 /* end confdefs.h. */
41442 #include <sys/ioctl.h>
41443 #include <sys/soundcard.h>
41449 ioctl(0, SNDCTL_DSP_SPEED, 0);
41455 rm -f conftest.$ac_objext conftest$ac_exeext
41456 if { (ac_try="$ac_link"
41457 case "(($ac_try" in
41458 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41459 *) ac_try_echo
=$ac_try;;
41461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41462 (eval "$ac_link") 2>conftest.er1
41464 grep -v '^ *+' conftest.er1
>conftest.err
41466 cat conftest.err
>&5
41467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41468 (exit $ac_status); } && {
41469 test -z "$ac_c_werror_flag" ||
41470 test ! -s conftest.err
41471 } && test -s conftest
$ac_exeext &&
41472 $as_test_x conftest
$ac_exeext; then
41473 ac_cv_header_sys_soundcard
=yes
41475 echo "$as_me: failed program was:" >&5
41476 sed 's/^/| /' conftest.
$ac_ext >&5
41480 ac_cv_header_sys_soundcard
=no
41485 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41486 conftest
$ac_exeext conftest.
$ac_ext
41491 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41492 conftest
$ac_exeext conftest.
$ac_ext
41495 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41496 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41499 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41500 cat >>confdefs.h
<<\_ACEOF
41501 #define HAVE_SYS_SOUNDCARD_H 1
41508 if test "$wxUSE_SOUND" = "yes"; then
41509 if test "$USE_UNIX" = 1 ; then
41510 if test "$wxUSE_LIBSDL" != "no"; then
41512 # Check whether --with-sdl-prefix was given.
41513 if test "${with_sdl_prefix+set}" = set; then
41514 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
41520 # Check whether --with-sdl-exec-prefix was given.
41521 if test "${with_sdl_exec_prefix+set}" = set; then
41522 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
41527 # Check whether --enable-sdltest was given.
41528 if test "${enable_sdltest+set}" = set; then
41529 enableval
=$enable_sdltest;
41535 if test x
$sdl_exec_prefix != x
; then
41536 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
41537 if test x
${SDL_CONFIG+set} != xset
; then
41538 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
41541 if test x
$sdl_prefix != x
; then
41542 sdl_args
="$sdl_args --prefix=$sdl_prefix"
41543 if test x
${SDL_CONFIG+set} != xset
; then
41544 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
41548 if test "x$prefix" != xNONE
; then
41549 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
41551 # Extract the first word of "sdl-config", so it can be a program name with args.
41552 set dummy sdl
-config; ac_word
=$2
41553 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41555 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41556 echo $ECHO_N "(cached) $ECHO_C" >&6
41558 case $SDL_CONFIG in
41560 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
41563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41564 for as_dir
in $PATH
41567 test -z "$as_dir" && as_dir
=.
41568 for ac_exec_ext
in '' $ac_executable_extensions; do
41569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41570 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41578 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
41582 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
41583 if test -n "$SDL_CONFIG"; then
41584 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41585 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41587 { echo "$as_me:$LINENO: result: no" >&5
41588 echo "${ECHO_T}no" >&6; }
41592 min_sdl_version
=1.2.0
41593 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41594 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41596 if test "$SDL_CONFIG" = "no" ; then
41599 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
41600 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
41602 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
41603 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41604 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
41605 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41606 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
41607 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41608 if test "x$enable_sdltest" = "xyes" ; then
41609 ac_save_CFLAGS
="$CFLAGS"
41610 ac_save_CXXFLAGS
="$CXXFLAGS"
41611 ac_save_LIBS
="$LIBS"
41612 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41613 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41614 LIBS
="$LIBS $SDL_LIBS"
41616 if test "$cross_compiling" = yes; then
41617 echo $ac_n "cross compiling; assumed OK... $ac_c"
41619 cat >conftest.
$ac_ext <<_ACEOF
41622 cat confdefs.h
>>conftest.
$ac_ext
41623 cat >>conftest.
$ac_ext <<_ACEOF
41624 /* end confdefs.h. */
41627 #include <stdlib.h>
41628 #include <string.h>
41632 my_strdup (char *str)
41638 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41639 strcpy (new_str, str);
41647 int main (int argc, char *argv[])
41649 int major, minor, micro;
41652 /* This hangs on some systems (?)
41653 system ("touch conf.sdltest");
41655 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41657 /* HP/UX 9 (%@#!) writes to sscanf strings */
41658 tmp_version = my_strdup("$min_sdl_version");
41659 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41660 printf("%s, bad version string\n", "$min_sdl_version");
41664 if (($sdl_major_version > major) ||
41665 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41666 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41672 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41673 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41674 printf("*** best to upgrade to the required version.\n");
41675 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41676 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41677 printf("*** config.cache before re-running configure\n");
41684 rm -f conftest
$ac_exeext
41685 if { (ac_try
="$ac_link"
41686 case "(($ac_try" in
41687 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41688 *) ac_try_echo=$ac_try;;
41690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41691 (eval "$ac_link") 2>&5
41693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41694 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41695 { (case "(($ac_try" in
41696 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41697 *) ac_try_echo
=$ac_try;;
41699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41700 (eval "$ac_try") 2>&5
41702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41703 (exit $ac_status); }; }; then
41706 echo "$as_me: program exited with status $ac_status" >&5
41707 echo "$as_me: failed program was:" >&5
41708 sed 's/^/| /' conftest.
$ac_ext >&5
41710 ( exit $ac_status )
41713 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
41717 CFLAGS
="$ac_save_CFLAGS"
41718 CXXFLAGS
="$ac_save_CXXFLAGS"
41719 LIBS
="$ac_save_LIBS"
41722 if test "x$no_sdl" = x
; then
41723 { echo "$as_me:$LINENO: result: yes" >&5
41724 echo "${ECHO_T}yes" >&6; }
41726 EXTRALIBS_SDL
="$SDL_LIBS"
41727 CFLAGS
="$SDL_CFLAGS $CFLAGS"
41728 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
41729 cat >>confdefs.h
<<\_ACEOF
41730 #define wxUSE_LIBSDL 1
41735 { echo "$as_me:$LINENO: result: no" >&5
41736 echo "${ECHO_T}no" >&6; }
41737 if test "$SDL_CONFIG" = "no" ; then
41738 echo "*** The sdl-config script installed by SDL could not be found"
41739 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41740 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41741 echo "*** full path to sdl-config."
41743 if test -f conf.sdltest
; then
41746 echo "*** Could not run SDL test program, checking why..."
41747 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41748 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41749 LIBS
="$LIBS $SDL_LIBS"
41750 cat >conftest.
$ac_ext <<_ACEOF
41753 cat confdefs.h
>>conftest.
$ac_ext
41754 cat >>conftest.
$ac_ext <<_ACEOF
41755 /* end confdefs.h. */
41760 int main(int argc, char *argv[])
41763 #define main K_and_R_C_main
41773 rm -f conftest.
$ac_objext conftest
$ac_exeext
41774 if { (ac_try
="$ac_link"
41775 case "(($ac_try" in
41776 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41777 *) ac_try_echo=$ac_try;;
41779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41780 (eval "$ac_link") 2>conftest.er1
41782 grep -v '^ *+' conftest.er1 >conftest.err
41784 cat conftest.err >&5
41785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41786 (exit $ac_status); } && {
41787 test -z "$ac_c_werror_flag" ||
41788 test ! -s conftest.err
41789 } && test -s conftest$ac_exeext &&
41790 $as_test_x conftest$ac_exeext; then
41791 echo "*** The test program compiled, but did not run. This usually means"
41792 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41793 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41794 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41795 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41796 echo "*** is required on your system"
41798 echo "*** If you have an old version installed, it is best to remove it, although"
41799 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41801 echo "$as_me: failed program was:" >&5
41802 sed 's/^/| /' conftest.$ac_ext >&5
41804 echo "*** The test program failed to compile or link. See the file config.log for the"
41805 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41806 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41807 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41811 conftest$ac_exeext conftest.$ac_ext
41812 CFLAGS="$ac_save_CFLAGS"
41813 CXXFLAGS="$ac_save_CXXFLAGS"
41814 LIBS="$ac_save_LIBS"
41825 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41830 if test "$wxUSE_MGL" = 1; then
41831 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41832 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41838 if test "$wxUSE_SOUND" = "yes"; then
41839 cat >>confdefs.h <<\_ACEOF
41840 #define wxUSE_SOUND 1
41843 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41846 if test "$WXGTK2" = 1; then
41849 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41850 if test -n "$ac_tool_prefix"; then
41851 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41852 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41853 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41855 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41856 echo $ECHO_N "(cached) $ECHO_C" >&6
41858 case $PKG_CONFIG in
41860 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41864 for as_dir in $PATH
41867 test -z "$as_dir" && as_dir=.
41868 for ac_exec_ext in '' $ac_executable_extensions; do
41869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41870 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41881 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41882 if test -n "$PKG_CONFIG"; then
41883 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41884 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41886 { echo "$as_me:$LINENO: result: no" >&5
41887 echo "${ECHO_T}no" >&6; }
41892 if test -z "$ac_cv_path_PKG_CONFIG"; then
41893 ac_pt_PKG_CONFIG=$PKG_CONFIG
41894 # Extract the first word of "pkg-config", so it can be a program name with args.
41895 set dummy pkg-config; ac_word=$2
41896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41898 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41899 echo $ECHO_N "(cached) $ECHO_C" >&6
41901 case $ac_pt_PKG_CONFIG in
41903 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41907 for as_dir in $PATH
41910 test -z "$as_dir" && as_dir=.
41911 for ac_exec_ext in '' $ac_executable_extensions; do
41912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41913 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41924 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41925 if test -n "$ac_pt_PKG_CONFIG"; then
41926 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41927 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41929 { echo "$as_me:$LINENO: result: no" >&5
41930 echo "${ECHO_T}no" >&6; }
41933 if test "x$ac_pt_PKG_CONFIG" = x; then
41936 case $cross_compiling:$ac_tool_warned in
41938 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41939 whose name does not start with the host triplet. If you think this
41940 configuration is useful to you, please write to autoconf@gnu.org." >&5
41941 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41942 whose name does not start with the host triplet. If you think this
41943 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41944 ac_tool_warned=yes ;;
41946 PKG_CONFIG=$ac_pt_PKG_CONFIG
41949 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41953 if test -n "$PKG_CONFIG"; then
41954 _pkg_min_version=0.9.0
41955 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41956 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41957 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41958 { echo "$as_me:$LINENO: result: yes" >&5
41959 echo "${ECHO_T}yes" >&6; }
41961 { echo "$as_me:$LINENO: result: no" >&5
41962 echo "${ECHO_T}no" >&6; }
41968 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41970 if test "$wxUSE_GTKPRINT" = "yes" ; then
41974 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
41975 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
41977 if test -n "$PKG_CONFIG"; then
41978 if test -n "$GTKPRINT_CFLAGS"; then
41979 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
41981 if test -n "$PKG_CONFIG" && \
41982 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
41983 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
41985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41986 (exit $ac_status); }; then
41987 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
41995 if test -n "$PKG_CONFIG"; then
41996 if test -n "$GTKPRINT_LIBS"; then
41997 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
41999 if test -n "$PKG_CONFIG" && \
42000 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42001 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42004 (exit $ac_status); }; then
42005 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
42016 if test $pkg_failed = yes; then
42018 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42019 _pkg_short_errors_supported=yes
42021 _pkg_short_errors_supported=no
42023 if test $_pkg_short_errors_supported = yes; then
42024 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42026 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42028 # Put the nasty error message in config.log where it belongs
42029 echo "$GTKPRINT_PKG_ERRORS" >&5
42032 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42033 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42034 wxUSE_GTKPRINT="no"
42037 elif test $pkg_failed = untried; then
42039 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42040 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42041 wxUSE_GTKPRINT="no"
42045 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42046 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42047 { echo "$as_me:$LINENO: result: yes" >&5
42048 echo "${ECHO_T}yes" >&6; }
42050 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42051 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42052 cat >>confdefs.h <<\_ACEOF
42053 #define wxUSE_GTKPRINT 1
42060 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42064 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42065 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42067 if test -n "$PKG_CONFIG"; then
42068 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42069 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42071 if test -n "$PKG_CONFIG" && \
42072 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42073 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42076 (exit $ac_status); }; then
42077 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
42085 if test -n "$PKG_CONFIG"; then
42086 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42087 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42089 if test -n "$PKG_CONFIG" && \
42090 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42091 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42094 (exit $ac_status); }; then
42095 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
42106 if test $pkg_failed = yes; then
42108 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42109 _pkg_short_errors_supported=yes
42111 _pkg_short_errors_supported=no
42113 if test $_pkg_short_errors_supported = yes; then
42114 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42116 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42118 # Put the nasty error message in config.log where it belongs
42119 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42122 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42123 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42124 wxUSE_LIBGNOMEPRINT="no"
42127 elif test $pkg_failed = untried; then
42129 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42130 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42131 wxUSE_LIBGNOMEPRINT="no"
42135 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42136 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42137 { echo "$as_me:$LINENO: result: yes" >&5
42138 echo "${ECHO_T}yes" >&6; }
42140 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42141 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42142 cat >>confdefs.h <<\_ACEOF
42143 #define wxUSE_LIBGNOMEPRINT 1
42151 if test "$wxUSE_MIMETYPE" = "yes" ; then
42152 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42156 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42157 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42159 if test -n "$PKG_CONFIG"; then
42160 if test -n "$GNOMEVFS_CFLAGS"; then
42161 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42163 if test -n "$PKG_CONFIG" && \
42164 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42165 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42168 (exit $ac_status); }; then
42169 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
42177 if test -n "$PKG_CONFIG"; then
42178 if test -n "$GNOMEVFS_LIBS"; then
42179 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42181 if test -n "$PKG_CONFIG" && \
42182 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42183 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42186 (exit $ac_status); }; then
42187 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
42198 if test $pkg_failed = yes; then
42200 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42201 _pkg_short_errors_supported=yes
42203 _pkg_short_errors_supported=no
42205 if test $_pkg_short_errors_supported = yes; then
42206 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42208 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42210 # Put the nasty error message in config.log where it belongs
42211 echo "$GNOMEVFS_PKG_ERRORS" >&5
42214 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42215 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42216 wxUSE_LIBGNOMEVFS="no"
42219 elif test $pkg_failed = untried; then
42221 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42222 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42223 wxUSE_LIBGNOMEVFS="no"
42227 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42228 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42229 { echo "$as_me:$LINENO: result: yes" >&5
42230 echo "${ECHO_T}yes" >&6; }
42232 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42233 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42234 cat >>confdefs.h <<\_ACEOF
42235 #define wxUSE_LIBGNOMEVFS 1
42243 if test "$wxUSE_LIBHILDON" = "yes" ; then
42246 { echo "$as_me:$LINENO: checking for HILDON" >&5
42247 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42249 if test -n "$PKG_CONFIG"; then
42250 if test -n "$HILDON_CFLAGS"; then
42251 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42253 if test -n "$PKG_CONFIG" && \
42254 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42255 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42258 (exit $ac_status); }; then
42259 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev
/null
`
42267 if test -n "$PKG_CONFIG"; then
42268 if test -n "$HILDON_LIBS"; then
42269 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42271 if test -n "$PKG_CONFIG" && \
42272 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42273 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42276 (exit $ac_status); }; then
42277 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev
/null
`
42288 if test $pkg_failed = yes; then
42290 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42291 _pkg_short_errors_supported=yes
42293 _pkg_short_errors_supported=no
42295 if test $_pkg_short_errors_supported = yes; then
42296 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42298 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42300 # Put the nasty error message in config.log where it belongs
42301 echo "$HILDON_PKG_ERRORS" >&5
42304 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42305 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42306 wxUSE_LIBHILDON="no"
42309 elif test $pkg_failed = untried; then
42311 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42312 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42313 wxUSE_LIBHILDON="no"
42317 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42318 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42319 { echo "$as_me:$LINENO: result: yes" >&5
42320 echo "${ECHO_T}yes" >&6; }
42322 EXTRALIBS_HILDON="$HILDON_LIBS"
42323 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42324 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42325 cat >>confdefs.h <<\_ACEOF
42326 #define wxUSE_LIBHILDON 1
42334 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42335 cat >>confdefs.h <<\_ACEOF
42336 #define wxUSE_CMDLINE_PARSER 1
42341 if test "$wxUSE_STOPWATCH" = "yes"; then
42342 cat >>confdefs.h <<\_ACEOF
42343 #define wxUSE_STOPWATCH 1
42348 if test "$wxUSE_DATETIME" = "yes"; then
42349 cat >>confdefs.h <<\_ACEOF
42350 #define wxUSE_DATETIME 1
42355 if test "$wxUSE_FILE" = "yes"; then
42356 cat >>confdefs.h <<\_ACEOF
42357 #define wxUSE_FILE 1
42362 if test "$wxUSE_FFILE" = "yes"; then
42363 cat >>confdefs.h <<\_ACEOF
42364 #define wxUSE_FFILE 1
42369 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42370 if test "$wxUSE_STREAMS" != yes; then
42371 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42372 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42373 wxUSE_ARCHIVE_STREAMS=no
42375 cat >>confdefs.h <<\_ACEOF
42376 #define wxUSE_ARCHIVE_STREAMS 1
42382 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42383 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42384 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42385 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42386 elif test "$wxUSE_ZLIB" = "no"; then
42387 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42388 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42390 cat >>confdefs.h <<\_ACEOF
42391 #define wxUSE_ZIPSTREAM 1
42397 if test "$wxUSE_TARSTREAM" = "yes"; then
42398 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42399 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42400 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42402 cat >>confdefs.h <<\_ACEOF
42403 #define wxUSE_TARSTREAM 1
42409 if test "$wxUSE_FILESYSTEM" = "yes"; then
42410 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42411 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42412 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42413 wxUSE_FILESYSTEM=no
42415 cat >>confdefs.h <<\_ACEOF
42416 #define wxUSE_FILESYSTEM 1
42422 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42423 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42424 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42425 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42427 cat >>confdefs.h <<\_ACEOF
42428 #define wxUSE_FS_ARCHIVE 1
42434 if test "$wxUSE_FS_ZIP" = "yes"; then
42435 if test "$wxUSE_FS_ARCHIVE" != yes; then
42436 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42437 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42439 cat >>confdefs.h <<\_ACEOF
42440 #define wxUSE_FS_ZIP 1
42446 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42447 if test "$USE_UNIX" != 1; then
42448 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42449 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42450 wxUSE_ON_FATAL_EXCEPTION=no
42452 cat >>confdefs.h <<\_ACEOF
42453 #define wxUSE_ON_FATAL_EXCEPTION 1
42459 if test "$wxUSE_STACKWALKER" = "yes"; then
42460 cat >>confdefs.h <<\_ACEOF
42461 #define wxUSE_STACKWALKER 1
42466 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42467 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42468 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42469 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42470 wxUSE_DEBUGREPORT=no
42472 cat >>confdefs.h <<\_ACEOF
42473 #define wxUSE_DEBUGREPORT 1
42476 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42477 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42482 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42483 cat >>confdefs.h <<\_ACEOF
42484 #define wxUSE_SNGLINST_CHECKER 1
42489 if test "$wxUSE_BUSYINFO" = "yes"; then
42490 cat >>confdefs.h <<\_ACEOF
42491 #define wxUSE_BUSYINFO 1
42496 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42497 cat >>confdefs.h <<\_ACEOF
42498 #define wxUSE_STD_IOSTREAM 1
42503 if test "$wxUSE_STD_STRING" = "yes"; then
42504 cat >>confdefs.h <<\_ACEOF
42505 #define wxUSE_STD_STRING 1
42510 if test "$wxUSE_STDPATHS" = "yes"; then
42511 cat >>confdefs.h <<\_ACEOF
42512 #define wxUSE_STDPATHS 1
42517 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42518 cat >>confdefs.h <<\_ACEOF
42519 #define wxUSE_TEXTBUFFER 1
42524 if test "$wxUSE_TEXTFILE" = "yes"; then
42525 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42526 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42527 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42529 cat >>confdefs.h <<\_ACEOF
42530 #define wxUSE_TEXTFILE 1
42536 if test "$wxUSE_CONFIG" = "yes" ; then
42537 if test "$wxUSE_TEXTFILE" != "yes"; then
42538 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42539 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42541 cat >>confdefs.h <<\_ACEOF
42542 #define wxUSE_CONFIG 1
42545 cat >>confdefs.h <<\_ACEOF
42546 #define wxUSE_CONFIG_NATIVE 1
42549 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42553 if test "$wxUSE_INTL" = "yes" ; then
42554 if test "$wxUSE_FILE" != "yes"; then
42555 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42556 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42558 cat >>confdefs.h <<\_ACEOF
42559 #define wxUSE_INTL 1
42562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42563 GUIDIST="$GUIDIST INTL_DIST"
42567 if test "$wxUSE_LOG" = "yes"; then
42568 cat >>confdefs.h <<\_ACEOF
42569 #define wxUSE_LOG 1
42573 if test "$wxUSE_LOGGUI" = "yes"; then
42574 cat >>confdefs.h <<\_ACEOF
42575 #define wxUSE_LOGGUI 1
42580 if test "$wxUSE_LOGWINDOW" = "yes"; then
42581 cat >>confdefs.h <<\_ACEOF
42582 #define wxUSE_LOGWINDOW 1
42587 if test "$wxUSE_LOGDIALOG" = "yes"; then
42588 cat >>confdefs.h <<\_ACEOF
42589 #define wxUSE_LOG_DIALOG 1
42594 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42597 if test "$wxUSE_LONGLONG" = "yes"; then
42598 cat >>confdefs.h <<\_ACEOF
42599 #define wxUSE_LONGLONG 1
42604 if test "$wxUSE_GEOMETRY" = "yes"; then
42605 cat >>confdefs.h <<\_ACEOF
42606 #define wxUSE_GEOMETRY 1
42611 if test "$wxUSE_BASE64" = "yes"; then
42612 cat >>confdefs.h <<\_ACEOF
42613 #define wxUSE_BASE64 1
42618 if test "$wxUSE_STREAMS" = "yes" ; then
42619 cat >>confdefs.h <<\_ACEOF
42620 #define wxUSE_STREAMS 1
42625 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42626 cat >>confdefs.h <<\_ACEOF
42627 #define wxUSE_PRINTF_POS_PARAMS 1
42632 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42633 cat >>confdefs.h <<\_ACEOF
42634 #define wxUSE_OBJC_UNIQUIFYING 1
42640 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42641 cat >>confdefs.h <<\_ACEOF
42642 #define wxUSE_CONSOLE_EVENTLOOP 1
42646 if test "$wxUSE_UNIX" = "yes"; then
42647 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
42648 cat >>confdefs.h <<\_ACEOF
42649 #define wxUSE_SELECT_DISPATCHER 1
42654 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
42656 for ac_header in sys/epoll.h
42658 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42659 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42661 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42662 echo $ECHO_N "(cached) $ECHO_C" >&6
42664 cat >conftest.$ac_ext <<_ACEOF
42667 cat confdefs.h >>conftest.$ac_ext
42668 cat >>conftest.$ac_ext <<_ACEOF
42669 /* end confdefs.h. */
42670 $ac_includes_default
42672 #include <$ac_header>
42674 rm -f conftest.$ac_objext
42675 if { (ac_try="$ac_compile"
42676 case "(($ac_try" in
42677 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42678 *) ac_try_echo
=$ac_try;;
42680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42681 (eval "$ac_compile") 2>conftest.er1
42683 grep -v '^ *+' conftest.er1
>conftest.err
42685 cat conftest.err
>&5
42686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42687 (exit $ac_status); } && {
42688 test -z "$ac_c_werror_flag" ||
42689 test ! -s conftest.err
42690 } && test -s conftest.
$ac_objext; then
42691 eval "$as_ac_Header=yes"
42693 echo "$as_me: failed program was:" >&5
42694 sed 's/^/| /' conftest.
$ac_ext >&5
42696 eval "$as_ac_Header=no"
42699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42701 ac_res
=`eval echo '${'$as_ac_Header'}'`
42702 { echo "$as_me:$LINENO: result: $ac_res" >&5
42703 echo "${ECHO_T}$ac_res" >&6; }
42704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42705 cat >>confdefs.h
<<_ACEOF
42706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42713 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
42714 cat >>confdefs.h
<<\_ACEOF
42715 #define wxUSE_EPOLL_DISPATCHER 1
42719 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
42720 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
42729 for ac_func
in gettimeofday ftime
42731 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42732 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42734 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42735 echo $ECHO_N "(cached) $ECHO_C" >&6
42737 cat >conftest.
$ac_ext <<_ACEOF
42740 cat confdefs.h
>>conftest.
$ac_ext
42741 cat >>conftest.
$ac_ext <<_ACEOF
42742 /* end confdefs.h. */
42743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42745 #define $ac_func innocuous_$ac_func
42747 /* System header to define __stub macros and hopefully few prototypes,
42748 which can conflict with char $ac_func (); below.
42749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42750 <limits.h> exists even on freestanding compilers. */
42753 # include <limits.h>
42755 # include <assert.h>
42760 /* Override any GCC internal prototype to avoid an error.
42761 Use char because int might match the return type of a GCC
42762 builtin and then its argument prototype would still apply. */
42767 /* The GNU C library defines this for functions which it implements
42768 to always fail with ENOSYS. Some functions are actually named
42769 something starting with __ and the normal name is an alias. */
42770 #if defined __stub_$ac_func || defined __stub___$ac_func
42777 return $ac_func ();
42782 rm -f conftest.
$ac_objext conftest
$ac_exeext
42783 if { (ac_try
="$ac_link"
42784 case "(($ac_try" in
42785 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42786 *) ac_try_echo=$ac_try;;
42788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42789 (eval "$ac_link") 2>conftest.er1
42791 grep -v '^ *+' conftest.er1 >conftest.err
42793 cat conftest.err >&5
42794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42795 (exit $ac_status); } && {
42796 test -z "$ac_c_werror_flag" ||
42797 test ! -s conftest.err
42798 } && test -s conftest$ac_exeext &&
42799 $as_test_x conftest$ac_exeext; then
42800 eval "$as_ac_var=yes"
42802 echo "$as_me: failed program was:" >&5
42803 sed 's/^/| /' conftest.$ac_ext >&5
42805 eval "$as_ac_var=no"
42808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42809 conftest$ac_exeext conftest.$ac_ext
42811 ac_res=`eval echo '${'$as_ac_var'}'`
42812 { echo "$as_me:$LINENO: result: $ac_res" >&5
42813 echo "${ECHO_T}$ac_res" >&6; }
42814 if test `eval echo '${'$as_ac_var'}'` = yes; then
42815 cat >>confdefs.h <<_ACEOF
42816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42823 if test "$ac_cv_func_gettimeofday" = "yes"; then
42824 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42825 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42826 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42827 echo $ECHO_N "(cached) $ECHO_C" >&6
42830 cat >conftest.$ac_ext <<_ACEOF
42833 cat confdefs.h >>conftest.$ac_ext
42834 cat >>conftest.$ac_ext <<_ACEOF
42835 /* end confdefs.h. */
42837 #include <sys/time.h>
42838 #include <unistd.h>
42845 gettimeofday(&tv, NULL);
42851 rm -f conftest.$ac_objext
42852 if { (ac_try="$ac_compile"
42853 case "(($ac_try" in
42854 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42855 *) ac_try_echo
=$ac_try;;
42857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42858 (eval "$ac_compile") 2>conftest.er1
42860 grep -v '^ *+' conftest.er1
>conftest.err
42862 cat conftest.err
>&5
42863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42864 (exit $ac_status); } && {
42865 test -z "$ac_c_werror_flag" ||
42866 test ! -s conftest.err
42867 } && test -s conftest.
$ac_objext; then
42868 wx_cv_func_gettimeofday_has_2_args
=yes
42870 echo "$as_me: failed program was:" >&5
42871 sed 's/^/| /' conftest.
$ac_ext >&5
42873 cat >conftest.
$ac_ext <<_ACEOF
42876 cat confdefs.h
>>conftest.
$ac_ext
42877 cat >>conftest.
$ac_ext <<_ACEOF
42878 /* end confdefs.h. */
42880 #include <sys/time.h>
42881 #include <unistd.h>
42894 rm -f conftest.
$ac_objext
42895 if { (ac_try
="$ac_compile"
42896 case "(($ac_try" in
42897 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42898 *) ac_try_echo=$ac_try;;
42900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42901 (eval "$ac_compile") 2>conftest.er1
42903 grep -v '^ *+' conftest.er1 >conftest.err
42905 cat conftest.err >&5
42906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42907 (exit $ac_status); } && {
42908 test -z "$ac_c_werror_flag" ||
42909 test ! -s conftest.err
42910 } && test -s conftest.$ac_objext; then
42911 wx_cv_func_gettimeofday_has_2_args=no
42913 echo "$as_me: failed program was:" >&5
42914 sed 's/^/| /' conftest.$ac_ext >&5
42917 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42918 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42919 wx_cv_func_gettimeofday_has_2_args=unknown
42924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42931 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42932 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42934 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42935 cat >>confdefs.h <<\_ACEOF
42936 #define WX_GETTIMEOFDAY_NO_TZ 1
42942 if test "$wxUSE_DATETIME" = "yes"; then
42943 { echo "$as_me:$LINENO: checking for strptime" >&5
42944 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
42945 if test "${ac_cv_func_strptime+set}" = set; then
42946 echo $ECHO_N "(cached) $ECHO_C" >&6
42948 cat >conftest.$ac_ext <<_ACEOF
42951 cat confdefs.h >>conftest.$ac_ext
42952 cat >>conftest.$ac_ext <<_ACEOF
42953 /* end confdefs.h. */
42954 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
42955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42956 #define strptime innocuous_strptime
42958 /* System header to define __stub macros and hopefully few prototypes,
42959 which can conflict with char strptime (); below.
42960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42961 <limits.h> exists even on freestanding compilers. */
42964 # include <limits.h>
42966 # include <assert.h>
42971 /* Override any GCC internal prototype to avoid an error.
42972 Use char because int might match the return type of a GCC
42973 builtin and then its argument prototype would still apply. */
42978 /* The GNU C library defines this for functions which it implements
42979 to always fail with ENOSYS. Some functions are actually named
42980 something starting with __ and the normal name is an alias. */
42981 #if defined __stub_strptime || defined __stub___strptime
42988 return strptime ();
42993 rm -f conftest.$ac_objext conftest$ac_exeext
42994 if { (ac_try="$ac_link"
42995 case "(($ac_try" in
42996 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42997 *) ac_try_echo
=$ac_try;;
42999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43000 (eval "$ac_link") 2>conftest.er1
43002 grep -v '^ *+' conftest.er1
>conftest.err
43004 cat conftest.err
>&5
43005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43006 (exit $ac_status); } && {
43007 test -z "$ac_c_werror_flag" ||
43008 test ! -s conftest.err
43009 } && test -s conftest
$ac_exeext &&
43010 $as_test_x conftest
$ac_exeext; then
43011 ac_cv_func_strptime
=yes
43013 echo "$as_me: failed program was:" >&5
43014 sed 's/^/| /' conftest.
$ac_ext >&5
43016 ac_cv_func_strptime
=no
43019 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43020 conftest
$ac_exeext conftest.
$ac_ext
43022 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43023 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43025 if test "$ac_cv_func_strptime" = "yes"; then
43026 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43027 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43028 if test "${wx_cv_func_strptime_decl+set}" = set; then
43029 echo $ECHO_N "(cached) $ECHO_C" >&6
43033 ac_cpp
='$CXXCPP $CPPFLAGS'
43034 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43035 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43036 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43038 cat >conftest.
$ac_ext <<_ACEOF
43041 cat confdefs.h
>>conftest.
$ac_ext
43042 cat >>conftest.
$ac_ext <<_ACEOF
43043 /* end confdefs.h. */
43052 strptime("foo", "bar", &t);
43058 rm -f conftest.
$ac_objext
43059 if { (ac_try
="$ac_compile"
43060 case "(($ac_try" in
43061 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43062 *) ac_try_echo=$ac_try;;
43064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43065 (eval "$ac_compile") 2>conftest.er1
43067 grep -v '^ *+' conftest.er1 >conftest.err
43069 cat conftest.err >&5
43070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43071 (exit $ac_status); } && {
43072 test -z "$ac_cxx_werror_flag" ||
43073 test ! -s conftest.err
43074 } && test -s conftest.$ac_objext; then
43075 wx_cv_func_strptime_decl=yes
43077 echo "$as_me: failed program was:" >&5
43078 sed 's/^/| /' conftest.$ac_ext >&5
43080 wx_cv_func_strptime_decl=no
43084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43086 ac_cpp='$CPP $CPPFLAGS'
43087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43094 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43095 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43097 if test "$wx_cv_func_strptime_decl" = "yes"; then
43098 cat >>confdefs.h <<\_ACEOF
43099 #define HAVE_STRPTIME_DECL 1
43103 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43105 if test "$ac_cv_func_strptime" = "yes"; then
43106 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43107 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43108 if test "${wx_cv_func_strptime_ok+set}" = set; then
43109 echo $ECHO_N "(cached) $ECHO_C" >&6
43111 if test "$cross_compiling" = yes; then
43112 wx_cv_func_strptime_ok=no
43115 cat >conftest.$ac_ext <<_ACEOF
43117 #include <stdlib.h>
43119 #include "confdefs.h"
43126 return !!strptime("", "%x", &t);
43130 rm -f conftest$ac_exeext
43131 if { (ac_try="$ac_link"
43132 case "(($ac_try" in
43133 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43134 *) ac_try_echo
=$ac_try;;
43136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43137 (eval "$ac_link") 2>&5
43139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43140 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43141 { (case "(($ac_try" in
43142 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43143 *) ac_try_echo=$ac_try;;
43145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43146 (eval "$ac_try") 2>&5
43148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43149 (exit $ac_status); }; }; then
43150 wx_cv_func_strptime_ok=yes
43152 echo "$as_me: program exited with status $ac_status" >&5
43153 echo "$as_me: failed program was:" >&5
43154 sed 's/^/| /' conftest.$ac_ext >&5
43156 ( exit $ac_status )
43157 wx_cv_func_strptime_ok=no
43159 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43165 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43166 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43168 if test "$wx_cv_func_strptime_ok" = "yes"; then
43169 cat >>confdefs.h <<\_ACEOF
43170 #define HAVE_STRPTIME 1
43176 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43177 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43178 if test "${wx_cv_var_timezone+set}" = set; then
43179 echo $ECHO_N "(cached) $ECHO_C" >&6
43183 ac_cpp='$CXXCPP $CPPFLAGS'
43184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43188 cat >conftest.$ac_ext <<_ACEOF
43191 cat confdefs.h >>conftest.$ac_ext
43192 cat >>conftest.$ac_ext <<_ACEOF
43193 /* end confdefs.h. */
43208 rm -f conftest.$ac_objext
43209 if { (ac_try="$ac_compile"
43210 case "(($ac_try" in
43211 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43212 *) ac_try_echo
=$ac_try;;
43214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43215 (eval "$ac_compile") 2>conftest.er1
43217 grep -v '^ *+' conftest.er1
>conftest.err
43219 cat conftest.err
>&5
43220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43221 (exit $ac_status); } && {
43222 test -z "$ac_cxx_werror_flag" ||
43223 test ! -s conftest.err
43224 } && test -s conftest.
$ac_objext; then
43226 wx_cv_var_timezone
=timezone
43229 echo "$as_me: failed program was:" >&5
43230 sed 's/^/| /' conftest.
$ac_ext >&5
43233 cat >conftest.
$ac_ext <<_ACEOF
43236 cat confdefs.h
>>conftest.
$ac_ext
43237 cat >>conftest.
$ac_ext <<_ACEOF
43238 /* end confdefs.h. */
43253 rm -f conftest.
$ac_objext
43254 if { (ac_try
="$ac_compile"
43255 case "(($ac_try" in
43256 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43257 *) ac_try_echo=$ac_try;;
43259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43260 (eval "$ac_compile") 2>conftest.er1
43262 grep -v '^ *+' conftest.er1 >conftest.err
43264 cat conftest.err >&5
43265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43266 (exit $ac_status); } && {
43267 test -z "$ac_cxx_werror_flag" ||
43268 test ! -s conftest.err
43269 } && test -s conftest.$ac_objext; then
43271 wx_cv_var_timezone=_timezone
43274 echo "$as_me: failed program was:" >&5
43275 sed 's/^/| /' conftest.$ac_ext >&5
43278 cat >conftest.$ac_ext <<_ACEOF
43281 cat confdefs.h >>conftest.$ac_ext
43282 cat >>conftest.$ac_ext <<_ACEOF
43283 /* end confdefs.h. */
43298 rm -f conftest.$ac_objext
43299 if { (ac_try="$ac_compile"
43300 case "(($ac_try" in
43301 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43302 *) ac_try_echo
=$ac_try;;
43304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43305 (eval "$ac_compile") 2>conftest.er1
43307 grep -v '^ *+' conftest.er1
>conftest.err
43309 cat conftest.err
>&5
43310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43311 (exit $ac_status); } && {
43312 test -z "$ac_cxx_werror_flag" ||
43313 test ! -s conftest.err
43314 } && test -s conftest.
$ac_objext; then
43316 wx_cv_var_timezone
=__timezone
43319 echo "$as_me: failed program was:" >&5
43320 sed 's/^/| /' conftest.
$ac_ext >&5
43323 if test "$USE_DOS" = 0 ; then
43324 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43325 echo "$as_me: WARNING: no timezone variable" >&2;}
43331 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43341 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43343 ac_cpp
='$CPP $CPPFLAGS'
43344 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43345 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43346 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43351 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43352 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43354 if test "x$wx_cv_var_timezone" != x
; then
43355 cat >>confdefs.h
<<_ACEOF
43356 #define WX_TIMEZONE $wx_cv_var_timezone
43362 for ac_func
in localtime
43364 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43365 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43367 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43368 echo $ECHO_N "(cached) $ECHO_C" >&6
43370 cat >conftest.
$ac_ext <<_ACEOF
43373 cat confdefs.h
>>conftest.
$ac_ext
43374 cat >>conftest.
$ac_ext <<_ACEOF
43375 /* end confdefs.h. */
43376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43378 #define $ac_func innocuous_$ac_func
43380 /* System header to define __stub macros and hopefully few prototypes,
43381 which can conflict with char $ac_func (); below.
43382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43383 <limits.h> exists even on freestanding compilers. */
43386 # include <limits.h>
43388 # include <assert.h>
43393 /* Override any GCC internal prototype to avoid an error.
43394 Use char because int might match the return type of a GCC
43395 builtin and then its argument prototype would still apply. */
43400 /* The GNU C library defines this for functions which it implements
43401 to always fail with ENOSYS. Some functions are actually named
43402 something starting with __ and the normal name is an alias. */
43403 #if defined __stub_$ac_func || defined __stub___$ac_func
43410 return $ac_func ();
43415 rm -f conftest.
$ac_objext conftest
$ac_exeext
43416 if { (ac_try
="$ac_link"
43417 case "(($ac_try" in
43418 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43419 *) ac_try_echo=$ac_try;;
43421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43422 (eval "$ac_link") 2>conftest.er1
43424 grep -v '^ *+' conftest.er1 >conftest.err
43426 cat conftest.err >&5
43427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43428 (exit $ac_status); } && {
43429 test -z "$ac_c_werror_flag" ||
43430 test ! -s conftest.err
43431 } && test -s conftest$ac_exeext &&
43432 $as_test_x conftest$ac_exeext; then
43433 eval "$as_ac_var=yes"
43435 echo "$as_me: failed program was:" >&5
43436 sed 's/^/| /' conftest.$ac_ext >&5
43438 eval "$as_ac_var=no"
43441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43442 conftest$ac_exeext conftest.$ac_ext
43444 ac_res=`eval echo '${'$as_ac_var'}'`
43445 { echo "$as_me:$LINENO: result: $ac_res" >&5
43446 echo "${ECHO_T}$ac_res" >&6; }
43447 if test `eval echo '${'$as_ac_var'}'` = yes; then
43448 cat >>confdefs.h <<_ACEOF
43449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43456 if test "$ac_cv_func_localtime" = "yes"; then
43457 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43458 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43459 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43460 echo $ECHO_N "(cached) $ECHO_C" >&6
43463 cat >conftest.$ac_ext <<_ACEOF
43466 cat confdefs.h >>conftest.$ac_ext
43467 cat >>conftest.$ac_ext <<_ACEOF
43468 /* end confdefs.h. */
43483 rm -f conftest.$ac_objext
43484 if { (ac_try="$ac_compile"
43485 case "(($ac_try" in
43486 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43487 *) ac_try_echo
=$ac_try;;
43489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43490 (eval "$ac_compile") 2>conftest.er1
43492 grep -v '^ *+' conftest.er1
>conftest.err
43494 cat conftest.err
>&5
43495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43496 (exit $ac_status); } && {
43497 test -z "$ac_c_werror_flag" ||
43498 test ! -s conftest.err
43499 } && test -s conftest.
$ac_objext; then
43501 wx_cv_struct_tm_has_gmtoff
=yes
43504 echo "$as_me: failed program was:" >&5
43505 sed 's/^/| /' conftest.
$ac_ext >&5
43507 wx_cv_struct_tm_has_gmtoff
=no
43511 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43514 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43515 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43518 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43519 cat >>confdefs.h
<<\_ACEOF
43520 #define WX_GMTOFF_IN_TM 1
43525 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
43529 if test "$wxUSE_SOCKETS" = "yes"; then
43530 if test "$wxUSE_MGL" = 1; then
43531 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43532 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43537 if test "$wxUSE_SOCKETS" = "yes"; then
43538 if test "$TOOLKIT" != "MSW"; then
43539 { echo "$as_me:$LINENO: checking for socket" >&5
43540 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43541 if test "${ac_cv_func_socket+set}" = set; then
43542 echo $ECHO_N "(cached) $ECHO_C" >&6
43544 cat >conftest.
$ac_ext <<_ACEOF
43547 cat confdefs.h
>>conftest.
$ac_ext
43548 cat >>conftest.
$ac_ext <<_ACEOF
43549 /* end confdefs.h. */
43550 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43552 #define socket innocuous_socket
43554 /* System header to define __stub macros and hopefully few prototypes,
43555 which can conflict with char socket (); below.
43556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43557 <limits.h> exists even on freestanding compilers. */
43560 # include <limits.h>
43562 # include <assert.h>
43567 /* Override any GCC internal prototype to avoid an error.
43568 Use char because int might match the return type of a GCC
43569 builtin and then its argument prototype would still apply. */
43574 /* The GNU C library defines this for functions which it implements
43575 to always fail with ENOSYS. Some functions are actually named
43576 something starting with __ and the normal name is an alias. */
43577 #if defined __stub_socket || defined __stub___socket
43589 rm -f conftest.
$ac_objext conftest
$ac_exeext
43590 if { (ac_try
="$ac_link"
43591 case "(($ac_try" in
43592 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43593 *) ac_try_echo=$ac_try;;
43595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43596 (eval "$ac_link") 2>conftest.er1
43598 grep -v '^ *+' conftest.er1 >conftest.err
43600 cat conftest.err >&5
43601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43602 (exit $ac_status); } && {
43603 test -z "$ac_c_werror_flag" ||
43604 test ! -s conftest.err
43605 } && test -s conftest$ac_exeext &&
43606 $as_test_x conftest$ac_exeext; then
43607 ac_cv_func_socket=yes
43609 echo "$as_me: failed program was:" >&5
43610 sed 's/^/| /' conftest.$ac_ext >&5
43612 ac_cv_func_socket=no
43615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43616 conftest$ac_exeext conftest.$ac_ext
43618 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43619 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43620 if test $ac_cv_func_socket = yes; then
43624 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43625 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43626 if test "${ac_cv_lib_socket_socket+set}" = set; then
43627 echo $ECHO_N "(cached) $ECHO_C" >&6
43629 ac_check_lib_save_LIBS=$LIBS
43630 LIBS="-lsocket $LIBS"
43631 cat >conftest.$ac_ext <<_ACEOF
43634 cat confdefs.h >>conftest.$ac_ext
43635 cat >>conftest.$ac_ext <<_ACEOF
43636 /* end confdefs.h. */
43638 /* Override any GCC internal prototype to avoid an error.
43639 Use char because int might match the return type of a GCC
43640 builtin and then its argument prototype would still apply. */
43653 rm -f conftest.$ac_objext conftest$ac_exeext
43654 if { (ac_try="$ac_link"
43655 case "(($ac_try" in
43656 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43657 *) ac_try_echo
=$ac_try;;
43659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43660 (eval "$ac_link") 2>conftest.er1
43662 grep -v '^ *+' conftest.er1
>conftest.err
43664 cat conftest.err
>&5
43665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43666 (exit $ac_status); } && {
43667 test -z "$ac_c_werror_flag" ||
43668 test ! -s conftest.err
43669 } && test -s conftest
$ac_exeext &&
43670 $as_test_x conftest
$ac_exeext; then
43671 ac_cv_lib_socket_socket
=yes
43673 echo "$as_me: failed program was:" >&5
43674 sed 's/^/| /' conftest.
$ac_ext >&5
43676 ac_cv_lib_socket_socket
=no
43679 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43680 conftest
$ac_exeext conftest.
$ac_ext
43681 LIBS
=$ac_check_lib_save_LIBS
43683 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43684 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43685 if test $ac_cv_lib_socket_socket = yes; then
43686 if test "$INET_LINK" != " -lsocket"; then
43687 INET_LINK
="$INET_LINK -lsocket"
43691 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43692 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43705 if test "$wxUSE_SOCKETS" = "yes" ; then
43706 if test "$TOOLKIT" != "MSW"; then
43707 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43708 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43709 if test "${wx_cv_type_getsockname3+set}" = set; then
43710 echo $ECHO_N "(cached) $ECHO_C" >&6
43714 ac_cpp
='$CXXCPP $CPPFLAGS'
43715 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43716 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43717 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43719 cat >conftest.
$ac_ext <<_ACEOF
43722 cat confdefs.h
>>conftest.
$ac_ext
43723 cat >>conftest.
$ac_ext <<_ACEOF
43724 /* end confdefs.h. */
43726 #include <sys/types.h>
43727 #include <sys/socket.h>
43734 getsockname(0, 0, &len);
43740 rm -f conftest.
$ac_objext
43741 if { (ac_try
="$ac_compile"
43742 case "(($ac_try" in
43743 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43744 *) ac_try_echo=$ac_try;;
43746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43747 (eval "$ac_compile") 2>conftest.er1
43749 grep -v '^ *+' conftest.er1 >conftest.err
43751 cat conftest.err >&5
43752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43753 (exit $ac_status); } && {
43754 test -z "$ac_cxx_werror_flag" ||
43755 test ! -s conftest.err
43756 } && test -s conftest.$ac_objext; then
43757 wx_cv_type_getsockname3=socklen_t
43759 echo "$as_me: failed program was:" >&5
43760 sed 's/^/| /' conftest.$ac_ext >&5
43763 CFLAGS_OLD="$CFLAGS"
43764 if test "$GCC" = yes ; then
43765 CFLAGS="-Werror $CFLAGS"
43768 cat >conftest.$ac_ext <<_ACEOF
43771 cat confdefs.h >>conftest.$ac_ext
43772 cat >>conftest.$ac_ext <<_ACEOF
43773 /* end confdefs.h. */
43775 #include <sys/types.h>
43776 #include <sys/socket.h>
43783 getsockname(0, 0, &len);
43789 rm -f conftest.$ac_objext
43790 if { (ac_try="$ac_compile"
43791 case "(($ac_try" in
43792 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43793 *) ac_try_echo
=$ac_try;;
43795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43796 (eval "$ac_compile") 2>conftest.er1
43798 grep -v '^ *+' conftest.er1
>conftest.err
43800 cat conftest.err
>&5
43801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43802 (exit $ac_status); } && {
43803 test -z "$ac_cxx_werror_flag" ||
43804 test ! -s conftest.err
43805 } && test -s conftest.
$ac_objext; then
43806 wx_cv_type_getsockname3
=size_t
43808 echo "$as_me: failed program was:" >&5
43809 sed 's/^/| /' conftest.
$ac_ext >&5
43811 cat >conftest.
$ac_ext <<_ACEOF
43814 cat confdefs.h
>>conftest.
$ac_ext
43815 cat >>conftest.
$ac_ext <<_ACEOF
43816 /* end confdefs.h. */
43818 #include <sys/types.h>
43819 #include <sys/socket.h>
43826 getsockname(0, 0, &len);
43832 rm -f conftest.
$ac_objext
43833 if { (ac_try
="$ac_compile"
43834 case "(($ac_try" in
43835 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43836 *) ac_try_echo=$ac_try;;
43838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43839 (eval "$ac_compile") 2>conftest.er1
43841 grep -v '^ *+' conftest.er1 >conftest.err
43843 cat conftest.err >&5
43844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43845 (exit $ac_status); } && {
43846 test -z "$ac_cxx_werror_flag" ||
43847 test ! -s conftest.err
43848 } && test -s conftest.$ac_objext; then
43849 wx_cv_type_getsockname3=int
43851 echo "$as_me: failed program was:" >&5
43852 sed 's/^/| /' conftest.$ac_ext >&5
43854 wx_cv_type_getsockname3=unknown
43858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43864 CFLAGS="$CFLAGS_OLD"
43869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43871 ac_cpp='$CPP $CPPFLAGS'
43872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43878 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43879 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43881 if test "$wx_cv_type_getsockname3" = "unknown"; then
43883 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43884 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43886 cat >>confdefs.h <<_ACEOF
43887 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43891 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43892 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43893 if test "${wx_cv_type_getsockopt5+set}" = set; then
43894 echo $ECHO_N "(cached) $ECHO_C" >&6
43898 ac_cpp='$CXXCPP $CPPFLAGS'
43899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43903 cat >conftest.$ac_ext <<_ACEOF
43906 cat confdefs.h >>conftest.$ac_ext
43907 cat >>conftest.$ac_ext <<_ACEOF
43908 /* end confdefs.h. */
43910 #include <sys/types.h>
43911 #include <sys/socket.h>
43918 getsockopt(0, 0, 0, 0, &len);
43924 rm -f conftest.$ac_objext
43925 if { (ac_try="$ac_compile"
43926 case "(($ac_try" in
43927 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43928 *) ac_try_echo
=$ac_try;;
43930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43931 (eval "$ac_compile") 2>conftest.er1
43933 grep -v '^ *+' conftest.er1
>conftest.err
43935 cat conftest.err
>&5
43936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43937 (exit $ac_status); } && {
43938 test -z "$ac_cxx_werror_flag" ||
43939 test ! -s conftest.err
43940 } && test -s conftest.
$ac_objext; then
43941 wx_cv_type_getsockopt5
=socklen_t
43943 echo "$as_me: failed program was:" >&5
43944 sed 's/^/| /' conftest.
$ac_ext >&5
43947 cat >conftest.
$ac_ext <<_ACEOF
43950 cat confdefs.h
>>conftest.
$ac_ext
43951 cat >>conftest.
$ac_ext <<_ACEOF
43952 /* end confdefs.h. */
43954 #include <sys/types.h>
43955 #include <sys/socket.h>
43962 getsockopt(0, 0, 0, 0, &len);
43968 rm -f conftest.
$ac_objext
43969 if { (ac_try
="$ac_compile"
43970 case "(($ac_try" in
43971 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43972 *) ac_try_echo=$ac_try;;
43974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43975 (eval "$ac_compile") 2>conftest.er1
43977 grep -v '^ *+' conftest.er1 >conftest.err
43979 cat conftest.err >&5
43980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43981 (exit $ac_status); } && {
43982 test -z "$ac_cxx_werror_flag" ||
43983 test ! -s conftest.err
43984 } && test -s conftest.$ac_objext; then
43985 wx_cv_type_getsockopt5=size_t
43987 echo "$as_me: failed program was:" >&5
43988 sed 's/^/| /' conftest.$ac_ext >&5
43990 cat >conftest.$ac_ext <<_ACEOF
43993 cat confdefs.h >>conftest.$ac_ext
43994 cat >>conftest.$ac_ext <<_ACEOF
43995 /* end confdefs.h. */
43997 #include <sys/types.h>
43998 #include <sys/socket.h>
44005 getsockopt(0, 0, 0, 0, &len);
44011 rm -f conftest.$ac_objext
44012 if { (ac_try="$ac_compile"
44013 case "(($ac_try" in
44014 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44015 *) ac_try_echo
=$ac_try;;
44017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44018 (eval "$ac_compile") 2>conftest.er1
44020 grep -v '^ *+' conftest.er1
>conftest.err
44022 cat conftest.err
>&5
44023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44024 (exit $ac_status); } && {
44025 test -z "$ac_cxx_werror_flag" ||
44026 test ! -s conftest.err
44027 } && test -s conftest.
$ac_objext; then
44028 wx_cv_type_getsockopt5
=int
44030 echo "$as_me: failed program was:" >&5
44031 sed 's/^/| /' conftest.
$ac_ext >&5
44033 wx_cv_type_getsockopt5
=unknown
44037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44041 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44048 ac_cpp
='$CPP $CPPFLAGS'
44049 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44050 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44051 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44055 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44056 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44058 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44060 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44061 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44063 cat >>confdefs.h
<<_ACEOF
44064 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44071 if test "$wxUSE_SOCKETS" = "yes" ; then
44072 if test "$wxUSE_IPV6" = "yes"; then
44073 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44074 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44075 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44076 echo $ECHO_N "(cached) $ECHO_C" >&6
44079 cat >conftest.
$ac_ext <<_ACEOF
44082 cat confdefs.h
>>conftest.
$ac_ext
44083 cat >>conftest.
$ac_ext <<_ACEOF
44084 /* end confdefs.h. */
44086 #include <sys/types.h>
44087 #include <sys/socket.h>
44088 #include <netinet/in.h>
44094 struct sockaddr_in6 sa6;
44100 rm -f conftest.
$ac_objext
44101 if { (ac_try
="$ac_compile"
44102 case "(($ac_try" in
44103 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44104 *) ac_try_echo=$ac_try;;
44106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44107 (eval "$ac_compile") 2>conftest.er1
44109 grep -v '^ *+' conftest.er1 >conftest.err
44111 cat conftest.err >&5
44112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44113 (exit $ac_status); } && {
44114 test -z "$ac_c_werror_flag" ||
44115 test ! -s conftest.err
44116 } && test -s conftest.$ac_objext; then
44117 wx_cv_type_sockaddr_in6=yes
44119 echo "$as_me: failed program was:" >&5
44120 sed 's/^/| /' conftest.$ac_ext >&5
44122 wx_cv_type_sockaddr_in6=no
44126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44130 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44131 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44133 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44134 cat >>confdefs.h <<\_ACEOF
44135 #define wxUSE_IPV6 1
44139 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44140 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44144 cat >>confdefs.h <<\_ACEOF
44145 #define wxUSE_SOCKETS 1
44148 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44151 if test "$wxUSE_PROTOCOL" = "yes"; then
44152 if test "$wxUSE_SOCKETS" != "yes"; then
44153 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44154 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44159 if test "$wxUSE_PROTOCOL" = "yes"; then
44160 cat >>confdefs.h <<\_ACEOF
44161 #define wxUSE_PROTOCOL 1
44165 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44166 cat >>confdefs.h <<\_ACEOF
44167 #define wxUSE_PROTOCOL_HTTP 1
44171 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44172 cat >>confdefs.h <<\_ACEOF
44173 #define wxUSE_PROTOCOL_FTP 1
44177 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44178 cat >>confdefs.h <<\_ACEOF
44179 #define wxUSE_PROTOCOL_FILE 1
44184 if test "$wxUSE_FS_INET" = "yes"; then
44185 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44186 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44191 if test "$wxUSE_URL" = "yes"; then
44192 if test "$wxUSE_PROTOCOL" != "yes"; then
44193 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44194 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44197 if test "$wxUSE_URL" = "yes"; then
44198 cat >>confdefs.h <<\_ACEOF
44199 #define wxUSE_URL 1
44205 if test "$wxUSE_VARIANT" = "yes"; then
44206 cat >>confdefs.h <<\_ACEOF
44207 #define wxUSE_VARIANT 1
44212 if test "$wxUSE_FS_INET" = "yes"; then
44213 cat >>confdefs.h <<\_ACEOF
44214 #define wxUSE_FS_INET 1
44220 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44223 if test "$TOOLKIT" = "MSW"; then
44226 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44227 if test "$USE_DARWIN" = 1; then
44228 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44229 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44231 ac_cpp='$CXXCPP $CPPFLAGS'
44232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44236 cat >conftest.$ac_ext <<_ACEOF
44239 cat confdefs.h >>conftest.$ac_ext
44240 cat >>conftest.$ac_ext <<_ACEOF
44241 /* end confdefs.h. */
44242 #include <IOKit/hid/IOHIDLib.h>
44246 IOHIDQueueInterface *qi = NULL;
44247 IOHIDCallbackFunction cb = NULL;
44248 qi->setEventCallout(NULL, cb, NULL, NULL);
44253 rm -f conftest.$ac_objext
44254 if { (ac_try="$ac_compile"
44255 case "(($ac_try" in
44256 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44257 *) ac_try_echo
=$ac_try;;
44259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44260 (eval "$ac_compile") 2>conftest.er1
44262 grep -v '^ *+' conftest.er1
>conftest.err
44264 cat conftest.err
>&5
44265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44266 (exit $ac_status); } && {
44267 test -z "$ac_cxx_werror_flag" ||
44268 test ! -s conftest.err
44269 } && test -s conftest.
$ac_objext; then
44273 echo "$as_me: failed program was:" >&5
44274 sed 's/^/| /' conftest.
$ac_ext >&5
44279 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44281 ac_cpp
='$CPP $CPPFLAGS'
44282 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44283 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44284 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44286 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44287 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44291 if test "$wxUSE_MGL" != 1; then
44293 for ac_header
in linux
/joystick.h
44295 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44296 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44298 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44299 echo $ECHO_N "(cached) $ECHO_C" >&6
44301 cat >conftest.
$ac_ext <<_ACEOF
44304 cat confdefs.h
>>conftest.
$ac_ext
44305 cat >>conftest.
$ac_ext <<_ACEOF
44306 /* end confdefs.h. */
44307 $ac_includes_default
44309 #include <$ac_header>
44311 rm -f conftest.
$ac_objext
44312 if { (ac_try
="$ac_compile"
44313 case "(($ac_try" in
44314 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44315 *) ac_try_echo=$ac_try;;
44317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44318 (eval "$ac_compile") 2>conftest.er1
44320 grep -v '^ *+' conftest.er1 >conftest.err
44322 cat conftest.err >&5
44323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44324 (exit $ac_status); } && {
44325 test -z "$ac_c_werror_flag" ||
44326 test ! -s conftest.err
44327 } && test -s conftest.$ac_objext; then
44328 eval "$as_ac_Header=yes"
44330 echo "$as_me: failed program was:" >&5
44331 sed 's/^/| /' conftest.$ac_ext >&5
44333 eval "$as_ac_Header=no"
44336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44338 ac_res=`eval echo '${'$as_ac_Header'}'`
44339 { echo "$as_me:$LINENO: result: $ac_res" >&5
44340 echo "${ECHO_T}$ac_res" >&6; }
44341 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44342 cat >>confdefs.h <<_ACEOF
44343 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44353 if test "$wxUSE_JOYSTICK" = "yes"; then
44354 cat >>confdefs.h <<\_ACEOF
44355 #define wxUSE_JOYSTICK 1
44358 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44360 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44361 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44367 if test "$wxUSE_FONTENUM" = "yes" ; then
44368 cat >>confdefs.h <<\_ACEOF
44369 #define wxUSE_FONTENUM 1
44374 if test "$wxUSE_FONTMAP" = "yes" ; then
44375 cat >>confdefs.h <<\_ACEOF
44376 #define wxUSE_FONTMAP 1
44381 if test "$wxUSE_UNICODE" = "yes" ; then
44382 cat >>confdefs.h <<\_ACEOF
44383 #define wxUSE_UNICODE 1
44387 if test "$USE_WIN32" != 1; then
44388 wxUSE_UNICODE_MSLU=no
44391 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44392 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44393 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44394 if test "${ac_cv_lib_unicows_main+set}" = set; then
44395 echo $ECHO_N "(cached) $ECHO_C" >&6
44397 ac_check_lib_save_LIBS=$LIBS
44398 LIBS="-lunicows $LIBS"
44399 cat >conftest.$ac_ext <<_ACEOF
44402 cat confdefs.h >>conftest.$ac_ext
44403 cat >>conftest.$ac_ext <<_ACEOF
44404 /* end confdefs.h. */
44415 rm -f conftest.$ac_objext conftest$ac_exeext
44416 if { (ac_try="$ac_link"
44417 case "(($ac_try" in
44418 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44419 *) ac_try_echo
=$ac_try;;
44421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44422 (eval "$ac_link") 2>conftest.er1
44424 grep -v '^ *+' conftest.er1
>conftest.err
44426 cat conftest.err
>&5
44427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44428 (exit $ac_status); } && {
44429 test -z "$ac_c_werror_flag" ||
44430 test ! -s conftest.err
44431 } && test -s conftest
$ac_exeext &&
44432 $as_test_x conftest
$ac_exeext; then
44433 ac_cv_lib_unicows_main
=yes
44435 echo "$as_me: failed program was:" >&5
44436 sed 's/^/| /' conftest.
$ac_ext >&5
44438 ac_cv_lib_unicows_main
=no
44441 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44442 conftest
$ac_exeext conftest.
$ac_ext
44443 LIBS
=$ac_check_lib_save_LIBS
44445 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44446 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44447 if test $ac_cv_lib_unicows_main = yes; then
44449 cat >>confdefs.h
<<\_ACEOF
44450 #define wxUSE_UNICODE_MSLU 1
44456 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44457 Applications will only run on Windows NT/2000/XP!" >&5
44458 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44459 Applications will only run on Windows NT/2000/XP!" >&2;}
44460 wxUSE_UNICODE_MSLU
=no
44467 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44468 cat >>confdefs.h
<<\_ACEOF
44469 #define wxUSE_UNICODE_UTF8 1
44473 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44474 cat >>confdefs.h
<<\_ACEOF
44475 #define wxUSE_UTF8_LOCALE_ONLY 1
44482 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44483 cat >>confdefs.h
<<\_ACEOF
44484 #define wxUSE_CONSTRAINTS 1
44487 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
44490 if test "$wxUSE_MDI" = "yes"; then
44491 cat >>confdefs.h
<<\_ACEOF
44492 #define wxUSE_MDI 1
44496 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44497 cat >>confdefs.h
<<\_ACEOF
44498 #define wxUSE_MDI_ARCHITECTURE 1
44501 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
44505 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44506 cat >>confdefs.h
<<\_ACEOF
44507 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44510 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
44511 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
44516 if test "$wxUSE_HELP" = "yes"; then
44517 cat >>confdefs.h
<<\_ACEOF
44518 #define wxUSE_HELP 1
44521 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
44523 if test "$wxUSE_MSW" = 1; then
44524 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44525 cat >>confdefs.h
<<\_ACEOF
44526 #define wxUSE_MS_HTML_HELP 1
44532 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44533 if test "$wxUSE_HTML" = "yes"; then
44534 cat >>confdefs.h
<<\_ACEOF
44535 #define wxUSE_WXHTML_HELP 1
44539 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44540 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44541 wxUSE_WXHTML_HELP
=no
44546 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44547 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44548 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44549 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44551 cat >>confdefs.h
<<\_ACEOF
44552 #define wxUSE_PRINTING_ARCHITECTURE 1
44556 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
44559 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44560 cat >>confdefs.h
<<\_ACEOF
44561 #define wxUSE_POSTSCRIPT 1
44566 cat >>confdefs.h
<<\_ACEOF
44567 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44571 if test "$wxUSE_SVG" = "yes"; then
44572 cat >>confdefs.h
<<\_ACEOF
44573 #define wxUSE_SVG 1
44579 if test "$wxUSE_METAFILE" = "yes"; then
44580 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44581 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44582 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44588 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
44589 -o "$wxUSE_CLIPBOARD" = "yes" \
44590 -o "$wxUSE_OLE" = "yes" \
44591 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
44592 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44593 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44594 if test "${ac_cv_header_ole2_h+set}" = set; then
44595 echo $ECHO_N "(cached) $ECHO_C" >&6
44597 cat >conftest.
$ac_ext <<_ACEOF
44600 cat confdefs.h
>>conftest.
$ac_ext
44601 cat >>conftest.
$ac_ext <<_ACEOF
44602 /* end confdefs.h. */
44607 rm -f conftest.
$ac_objext
44608 if { (ac_try
="$ac_compile"
44609 case "(($ac_try" in
44610 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44611 *) ac_try_echo=$ac_try;;
44613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44614 (eval "$ac_compile") 2>conftest.er1
44616 grep -v '^ *+' conftest.er1 >conftest.err
44618 cat conftest.err >&5
44619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44620 (exit $ac_status); } && {
44621 test -z "$ac_c_werror_flag" ||
44622 test ! -s conftest.err
44623 } && test -s conftest.$ac_objext; then
44624 ac_cv_header_ole2_h=yes
44626 echo "$as_me: failed program was:" >&5
44627 sed 's/^/| /' conftest.$ac_ext >&5
44629 ac_cv_header_ole2_h=no
44632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44634 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44635 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44639 if test "$ac_cv_header_ole2_h" = "yes" ; then
44640 if test "$GCC" = yes ; then
44641 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44642 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44643 cat >conftest.$ac_ext <<_ACEOF
44646 cat confdefs.h >>conftest.$ac_ext
44647 cat >>conftest.$ac_ext <<_ACEOF
44648 /* end confdefs.h. */
44649 #include <windows.h>
44659 rm -f conftest.$ac_objext
44660 if { (ac_try="$ac_compile"
44661 case "(($ac_try" in
44662 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44663 *) ac_try_echo
=$ac_try;;
44665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44666 (eval "$ac_compile") 2>conftest.er1
44668 grep -v '^ *+' conftest.er1
>conftest.err
44670 cat conftest.err
>&5
44671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44672 (exit $ac_status); } && {
44673 test -z "$ac_c_werror_flag" ||
44674 test ! -s conftest.err
44675 } && test -s conftest.
$ac_objext; then
44676 { echo "$as_me:$LINENO: result: no" >&5
44677 echo "${ECHO_T}no" >&6; }
44679 echo "$as_me: failed program was:" >&5
44680 sed 's/^/| /' conftest.
$ac_ext >&5
44682 { echo "$as_me:$LINENO: result: yes" >&5
44683 echo "${ECHO_T}yes" >&6; }
44684 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44687 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44688 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44689 if test "$wxUSE_OLE" = "yes" ; then
44690 cat >>confdefs.h
<<\_ACEOF
44691 #define wxUSE_OLE 1
44694 cat >>confdefs.h
<<\_ACEOF
44695 #define wxUSE_OLE_AUTOMATION 1
44698 cat >>confdefs.h
<<\_ACEOF
44699 #define wxUSE_ACTIVEX 1
44702 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
44706 if test "$wxUSE_DATAOBJ" = "yes" ; then
44707 cat >>confdefs.h
<<\_ACEOF
44708 #define wxUSE_DATAOBJ 1
44713 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44714 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44717 wxUSE_DRAG_AND_DROP
=no
44722 if test "$wxUSE_METAFILE" = "yes"; then
44723 cat >>confdefs.h
<<\_ACEOF
44724 #define wxUSE_METAFILE 1
44728 cat >>confdefs.h
<<\_ACEOF
44729 #define wxUSE_ENH_METAFILE 1
44735 if test "$wxUSE_IPC" = "yes"; then
44736 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44737 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44738 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44742 if test "$wxUSE_IPC" = "yes"; then
44743 cat >>confdefs.h
<<\_ACEOF
44744 #define wxUSE_IPC 1
44747 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
44751 if test "$wxUSE_DATAOBJ" = "yes"; then
44752 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44753 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44754 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44757 cat >>confdefs.h
<<\_ACEOF
44758 #define wxUSE_DATAOBJ 1
44763 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44764 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44766 wxUSE_DRAG_AND_DROP
=no
44769 if test "$wxUSE_CLIPBOARD" = "yes"; then
44770 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44771 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44772 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44776 if test "$wxUSE_CLIPBOARD" = "yes"; then
44777 cat >>confdefs.h
<<\_ACEOF
44778 #define wxUSE_CLIPBOARD 1
44784 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44785 if test "$wxUSE_GTK" = 1; then
44786 if test "$WXGTK12" != 1; then
44787 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44788 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44789 wxUSE_DRAG_AND_DROP
=no
44793 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44794 "$wxUSE_DFB" = 1; then
44795 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44796 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44797 wxUSE_DRAG_AND_DROP
=no
44800 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44801 cat >>confdefs.h
<<\_ACEOF
44802 #define wxUSE_DRAG_AND_DROP 1
44809 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44810 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
44813 if test "$wxUSE_SPLINES" = "yes" ; then
44814 cat >>confdefs.h
<<\_ACEOF
44815 #define wxUSE_SPLINES 1
44820 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44821 cat >>confdefs.h
<<\_ACEOF
44822 #define wxUSE_MOUSEWHEEL 1
44829 if test "$wxUSE_CONTROLS" = "yes"; then
44833 if test "$wxUSE_ACCEL" = "yes"; then
44834 cat >>confdefs.h
<<\_ACEOF
44835 #define wxUSE_ACCEL 1
44841 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44842 cat >>confdefs.h
<<\_ACEOF
44843 #define wxUSE_ANIMATIONCTRL 1
44847 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
44850 if test "$wxUSE_BUTTON" = "yes"; then
44851 cat >>confdefs.h
<<\_ACEOF
44852 #define wxUSE_BUTTON 1
44858 if test "$wxUSE_BMPBUTTON" = "yes"; then
44859 cat >>confdefs.h
<<\_ACEOF
44860 #define wxUSE_BMPBUTTON 1
44866 if test "$wxUSE_CALCTRL" = "yes"; then
44867 cat >>confdefs.h
<<\_ACEOF
44868 #define wxUSE_CALENDARCTRL 1
44872 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
44875 if test "$wxUSE_CARET" = "yes"; then
44876 cat >>confdefs.h
<<\_ACEOF
44877 #define wxUSE_CARET 1
44881 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
44884 if test "$wxUSE_COLLPANE" = "yes"; then
44885 cat >>confdefs.h
<<\_ACEOF
44886 #define wxUSE_COLLPANE 1
44890 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
44893 if test "$wxUSE_COMBOBOX" = "yes"; then
44894 cat >>confdefs.h
<<\_ACEOF
44895 #define wxUSE_COMBOBOX 1
44901 if test "$wxUSE_COMBOCTRL" = "yes"; then
44902 cat >>confdefs.h
<<\_ACEOF
44903 #define wxUSE_COMBOCTRL 1
44909 if test "$wxUSE_CHOICE" = "yes"; then
44910 cat >>confdefs.h
<<\_ACEOF
44911 #define wxUSE_CHOICE 1
44917 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44918 cat >>confdefs.h
<<\_ACEOF
44919 #define wxUSE_CHOICEBOOK 1
44925 if test "$wxUSE_CHECKBOX" = "yes"; then
44926 cat >>confdefs.h
<<\_ACEOF
44927 #define wxUSE_CHECKBOX 1
44933 if test "$wxUSE_CHECKLST" = "yes"; then
44934 cat >>confdefs.h
<<\_ACEOF
44935 #define wxUSE_CHECKLISTBOX 1
44941 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44942 cat >>confdefs.h
<<\_ACEOF
44943 #define wxUSE_COLOURPICKERCTRL 1
44949 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44950 cat >>confdefs.h
<<\_ACEOF
44951 #define wxUSE_DATEPICKCTRL 1
44957 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44958 cat >>confdefs.h
<<\_ACEOF
44959 #define wxUSE_DIRPICKERCTRL 1
44965 if test "$wxUSE_FILECTRL" = "yes"; then
44966 cat >>confdefs.h
<<\_ACEOF
44967 #define wxUSE_FILECTRL 1
44973 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44974 cat >>confdefs.h
<<\_ACEOF
44975 #define wxUSE_FILEPICKERCTRL 1
44981 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44982 cat >>confdefs.h
<<\_ACEOF
44983 #define wxUSE_FONTPICKERCTRL 1
44989 if test "$wxUSE_DISPLAY" = "yes"; then
44990 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44991 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44992 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44995 cat >>confdefs.h
<<\_ACEOF
44996 #define wxUSE_DISPLAY 1
44999 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45003 if test "$wxUSE_DETECT_SM" = "yes"; then
45004 cat >>confdefs.h
<<\_ACEOF
45005 #define wxUSE_DETECT_SM 1
45010 if test "$wxUSE_GAUGE" = "yes"; then
45011 cat >>confdefs.h
<<\_ACEOF
45012 #define wxUSE_GAUGE 1
45018 if test "$wxUSE_GRID" = "yes"; then
45019 cat >>confdefs.h
<<\_ACEOF
45020 #define wxUSE_GRID 1
45024 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45027 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45028 cat >>confdefs.h
<<\_ACEOF
45029 #define wxUSE_HYPERLINKCTRL 1
45035 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45036 cat >>confdefs.h
<<\_ACEOF
45037 #define wxUSE_BITMAPCOMBOBOX 1
45043 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45044 cat >>confdefs.h
<<\_ACEOF
45045 #define wxUSE_DATAVIEWCTRL 1
45049 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45052 if test "$wxUSE_IMAGLIST" = "yes"; then
45053 cat >>confdefs.h
<<\_ACEOF
45054 #define wxUSE_IMAGLIST 1
45059 if test "$wxUSE_LISTBOOK" = "yes"; then
45060 cat >>confdefs.h
<<\_ACEOF
45061 #define wxUSE_LISTBOOK 1
45067 if test "$wxUSE_LISTBOX" = "yes"; then
45068 cat >>confdefs.h
<<\_ACEOF
45069 #define wxUSE_LISTBOX 1
45075 if test "$wxUSE_LISTCTRL" = "yes"; then
45076 if test "$wxUSE_IMAGLIST" = "yes"; then
45077 cat >>confdefs.h
<<\_ACEOF
45078 #define wxUSE_LISTCTRL 1
45082 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45084 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45085 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45089 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45090 cat >>confdefs.h
<<\_ACEOF
45091 #define wxUSE_EDITABLELISTBOX 1
45095 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
45098 if test "$wxUSE_NOTEBOOK" = "yes"; then
45099 cat >>confdefs.h
<<\_ACEOF
45100 #define wxUSE_NOTEBOOK 1
45104 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45107 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45108 cat >>confdefs.h
<<\_ACEOF
45109 #define wxUSE_NOTIFICATION_MESSAGE 1
45114 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45115 cat >>confdefs.h
<<\_ACEOF
45116 #define wxUSE_ODCOMBOBOX 1
45120 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45123 if test "$wxUSE_RADIOBOX" = "yes"; then
45124 cat >>confdefs.h
<<\_ACEOF
45125 #define wxUSE_RADIOBOX 1
45131 if test "$wxUSE_RADIOBTN" = "yes"; then
45132 cat >>confdefs.h
<<\_ACEOF
45133 #define wxUSE_RADIOBTN 1
45139 if test "$wxUSE_SASH" = "yes"; then
45140 cat >>confdefs.h
<<\_ACEOF
45141 #define wxUSE_SASH 1
45144 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45147 if test "$wxUSE_SCROLLBAR" = "yes"; then
45148 cat >>confdefs.h
<<\_ACEOF
45149 #define wxUSE_SCROLLBAR 1
45153 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
45156 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45157 cat >>confdefs.h
<<\_ACEOF
45158 #define wxUSE_SEARCHCTRL 1
45164 if test "$wxUSE_SLIDER" = "yes"; then
45165 cat >>confdefs.h
<<\_ACEOF
45166 #define wxUSE_SLIDER 1
45172 if test "$wxUSE_SPINBTN" = "yes"; then
45173 cat >>confdefs.h
<<\_ACEOF
45174 #define wxUSE_SPINBTN 1
45180 if test "$wxUSE_SPINCTRL" = "yes"; then
45181 cat >>confdefs.h
<<\_ACEOF
45182 #define wxUSE_SPINCTRL 1
45188 if test "$wxUSE_SPLITTER" = "yes"; then
45189 cat >>confdefs.h
<<\_ACEOF
45190 #define wxUSE_SPLITTER 1
45193 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45196 if test "$wxUSE_STATBMP" = "yes"; then
45197 cat >>confdefs.h
<<\_ACEOF
45198 #define wxUSE_STATBMP 1
45204 if test "$wxUSE_STATBOX" = "yes"; then
45205 cat >>confdefs.h
<<\_ACEOF
45206 #define wxUSE_STATBOX 1
45212 if test "$wxUSE_STATTEXT" = "yes"; then
45213 cat >>confdefs.h
<<\_ACEOF
45214 #define wxUSE_STATTEXT 1
45220 if test "$wxUSE_STATLINE" = "yes"; then
45221 cat >>confdefs.h
<<\_ACEOF
45222 #define wxUSE_STATLINE 1
45228 if test "$wxUSE_STATUSBAR" = "yes"; then
45229 cat >>confdefs.h
<<\_ACEOF
45230 #define wxUSE_NATIVE_STATUSBAR 1
45233 cat >>confdefs.h
<<\_ACEOF
45234 #define wxUSE_STATUSBAR 1
45239 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45242 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45243 cat >>confdefs.h
<<\_ACEOF
45244 #define wxUSE_TAB_DIALOG 1
45249 if test "$wxUSE_TEXTCTRL" = "yes"; then
45250 cat >>confdefs.h
<<\_ACEOF
45251 #define wxUSE_TEXTCTRL 1
45255 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45258 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45259 if test "$wxUSE_COCOA" = 1 ; then
45260 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45261 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45265 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45266 cat >>confdefs.h
<<\_ACEOF
45267 #define wxUSE_TOGGLEBTN 1
45274 if test "$wxUSE_TOOLBAR" = "yes"; then
45275 cat >>confdefs.h
<<\_ACEOF
45276 #define wxUSE_TOOLBAR 1
45281 if test "$wxUSE_UNIVERSAL" = "yes"; then
45282 wxUSE_TOOLBAR_NATIVE
="no"
45284 wxUSE_TOOLBAR_NATIVE
="yes"
45285 cat >>confdefs.h
<<\_ACEOF
45286 #define wxUSE_TOOLBAR_NATIVE 1
45291 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45294 if test "$wxUSE_TOOLTIPS" = "yes"; then
45295 if test "$wxUSE_MOTIF" = 1; then
45296 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45297 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45299 if test "$wxUSE_UNIVERSAL" = "yes"; then
45300 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45301 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45303 cat >>confdefs.h
<<\_ACEOF
45304 #define wxUSE_TOOLTIPS 1
45311 if test "$wxUSE_TREEBOOK" = "yes"; then
45312 cat >>confdefs.h
<<\_ACEOF
45313 #define wxUSE_TREEBOOK 1
45319 if test "$wxUSE_TOOLBOOK" = "yes"; then
45320 cat >>confdefs.h
<<\_ACEOF
45321 #define wxUSE_TOOLBOOK 1
45327 if test "$wxUSE_TREECTRL" = "yes"; then
45328 if test "$wxUSE_IMAGLIST" = "yes"; then
45329 cat >>confdefs.h
<<\_ACEOF
45330 #define wxUSE_TREECTRL 1
45334 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
45336 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45337 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45341 if test "$wxUSE_POPUPWIN" = "yes"; then
45342 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45343 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45344 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45346 if test "$wxUSE_PM" = 1; then
45347 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45348 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45350 cat >>confdefs.h
<<\_ACEOF
45351 #define wxUSE_POPUPWIN 1
45354 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
45361 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45362 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45363 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45364 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45366 cat >>confdefs.h
<<\_ACEOF
45367 #define wxUSE_DIALUP_MANAGER 1
45370 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
45374 if test "$wxUSE_TIPWINDOW" = "yes"; then
45375 if test "$wxUSE_PM" = 1; then
45376 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45377 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45379 cat >>confdefs.h
<<\_ACEOF
45380 #define wxUSE_TIPWINDOW 1
45386 if test "$USES_CONTROLS" = 1; then
45387 cat >>confdefs.h
<<\_ACEOF
45388 #define wxUSE_CONTROLS 1
45394 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45395 cat >>confdefs.h
<<\_ACEOF
45396 #define wxUSE_ACCESSIBILITY 1
45399 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
45402 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45403 cat >>confdefs.h
<<\_ACEOF
45404 #define wxUSE_DRAGIMAGE 1
45407 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
45410 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45411 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45412 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45413 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45415 cat >>confdefs.h
<<\_ACEOF
45416 #define wxUSE_EXCEPTIONS 1
45419 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
45424 if test "$wxUSE_HTML" = "yes"; then
45425 cat >>confdefs.h
<<\_ACEOF
45426 #define wxUSE_HTML 1
45430 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45431 if test "$wxUSE_MAC" = 1; then
45432 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
45435 if test "$wxUSE_WEBKIT" = "yes"; then
45436 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45437 old_CPPFLAGS
="$CPPFLAGS"
45438 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
45439 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45440 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45441 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45442 echo $ECHO_N "(cached) $ECHO_C" >&6
45444 cat >conftest.
$ac_ext <<_ACEOF
45447 cat confdefs.h
>>conftest.
$ac_ext
45448 cat >>conftest.
$ac_ext <<_ACEOF
45449 /* end confdefs.h. */
45451 #include <Carbon/Carbon.h>
45452 #include <WebKit/WebKit.h>
45455 #include <WebKit/HIWebView.h>
45457 rm -f conftest.
$ac_objext
45458 if { (ac_try
="$ac_compile"
45459 case "(($ac_try" in
45460 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45461 *) ac_try_echo=$ac_try;;
45463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45464 (eval "$ac_compile") 2>conftest.er1
45466 grep -v '^ *+' conftest.er1 >conftest.err
45468 cat conftest.err >&5
45469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45470 (exit $ac_status); } && {
45471 test -z "$ac_c_werror_flag" ||
45472 test ! -s conftest.err
45473 } && test -s conftest.$ac_objext; then
45474 ac_cv_header_WebKit_HIWebView_h=yes
45476 echo "$as_me: failed program was:" >&5
45477 sed 's/^/| /' conftest.$ac_ext >&5
45479 ac_cv_header_WebKit_HIWebView_h=no
45482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45484 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45485 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45486 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45488 cat >>confdefs.h <<\_ACEOF
45489 #define wxUSE_WEBKIT 1
45492 WEBKIT_LINK="-framework WebKit"
45496 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45497 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45503 CPPFLAGS="$old_CPPFLAGS"
45504 elif test "$wxUSE_COCOA" = 1; then
45505 cat >>confdefs.h <<\_ACEOF
45506 #define wxUSE_WEBKIT 1
45515 if test "$wxUSE_XRC" = "yes"; then
45516 if test "$wxUSE_XML" != "yes"; then
45517 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45518 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45521 cat >>confdefs.h <<\_ACEOF
45522 #define wxUSE_XRC 1
45526 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45531 if test "$wxUSE_AUI" = "yes"; then
45532 cat >>confdefs.h <<\_ACEOF
45533 #define wxUSE_AUI 1
45537 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45541 if test "$wxUSE_STC" = "yes"; then
45542 cat >>confdefs.h <<\_ACEOF
45543 #define wxUSE_STC 1
45547 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45550 if test "$wxUSE_MENUS" = "yes"; then
45551 cat >>confdefs.h <<\_ACEOF
45552 #define wxUSE_MENUS 1
45555 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45558 if test "$wxUSE_METAFILE" = "yes"; then
45559 cat >>confdefs.h <<\_ACEOF
45560 #define wxUSE_METAFILE 1
45565 if test "$wxUSE_MIMETYPE" = "yes"; then
45566 cat >>confdefs.h <<\_ACEOF
45567 #define wxUSE_MIMETYPE 1
45572 if test "$wxUSE_MINIFRAME" = "yes"; then
45573 cat >>confdefs.h <<\_ACEOF
45574 #define wxUSE_MINIFRAME 1
45579 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45580 cat >>confdefs.h <<\_ACEOF
45581 #define wxUSE_SYSTEM_OPTIONS 1
45586 if test "$wxUSE_TASKBARICON" = "yes"; then
45587 cat >>confdefs.h <<\_ACEOF
45588 #define wxUSE_TASKBARICON 1
45591 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45595 if test "$wxUSE_VALIDATORS" = "yes"; then
45596 cat >>confdefs.h <<\_ACEOF
45597 #define wxUSE_VALIDATORS 1
45600 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45603 if test "$wxUSE_PALETTE" = "yes" ; then
45604 if test "$wxUSE_DFB" = 1; then
45605 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45606 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45609 cat >>confdefs.h <<\_ACEOF
45610 #define wxUSE_PALETTE 1
45616 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45617 LIBS=" -lunicows $LIBS"
45621 if test "$wxUSE_RICHTEXT" = "yes"; then
45622 cat >>confdefs.h <<\_ACEOF
45623 #define wxUSE_RICHTEXT 1
45627 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45631 if test "$wxUSE_IMAGE" = "yes" ; then
45632 cat >>confdefs.h <<\_ACEOF
45633 #define wxUSE_IMAGE 1
45637 if test "$wxUSE_GIF" = "yes" ; then
45638 cat >>confdefs.h <<\_ACEOF
45639 #define wxUSE_GIF 1
45644 if test "$wxUSE_PCX" = "yes" ; then
45645 cat >>confdefs.h <<\_ACEOF
45646 #define wxUSE_PCX 1
45651 if test "$wxUSE_TGA" = "yes" ; then
45652 cat >>confdefs.h <<\_ACEOF
45653 #define wxUSE_TGA 1
45658 if test "$wxUSE_IFF" = "yes" ; then
45659 cat >>confdefs.h <<\_ACEOF
45660 #define wxUSE_IFF 1
45665 if test "$wxUSE_PNM" = "yes" ; then
45666 cat >>confdefs.h <<\_ACEOF
45667 #define wxUSE_PNM 1
45672 if test "$wxUSE_XPM" = "yes" ; then
45673 cat >>confdefs.h <<\_ACEOF
45674 #define wxUSE_XPM 1
45679 if test "$wxUSE_ICO_CUR" = "yes" ; then
45680 cat >>confdefs.h <<\_ACEOF
45681 #define wxUSE_ICO_CUR 1
45688 if test "$wxUSE_ABOUTDLG" = "yes"; then
45689 cat >>confdefs.h <<\_ACEOF
45690 #define wxUSE_ABOUTDLG 1
45695 if test "$wxUSE_CHOICEDLG" = "yes"; then
45696 cat >>confdefs.h <<\_ACEOF
45697 #define wxUSE_CHOICEDLG 1
45702 if test "$wxUSE_COLOURDLG" = "yes"; then
45703 cat >>confdefs.h <<\_ACEOF
45704 #define wxUSE_COLOURDLG 1
45709 if test "$wxUSE_FILEDLG" = "yes"; then
45710 cat >>confdefs.h <<\_ACEOF
45711 #define wxUSE_FILEDLG 1
45716 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45717 cat >>confdefs.h <<\_ACEOF
45718 #define wxUSE_FINDREPLDLG 1
45723 if test "$wxUSE_FONTDLG" = "yes"; then
45724 cat >>confdefs.h <<\_ACEOF
45725 #define wxUSE_FONTDLG 1
45730 if test "$wxUSE_DIRDLG" = "yes"; then
45731 if test "$wxUSE_TREECTRL" != "yes"; then
45732 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45733 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45735 cat >>confdefs.h <<\_ACEOF
45736 #define wxUSE_DIRDLG 1
45742 if test "$wxUSE_MSGDLG" = "yes"; then
45743 cat >>confdefs.h <<\_ACEOF
45744 #define wxUSE_MSGDLG 1
45749 if test "$wxUSE_NUMBERDLG" = "yes"; then
45750 cat >>confdefs.h <<\_ACEOF
45751 #define wxUSE_NUMBERDLG 1
45756 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45757 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45758 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45759 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45761 cat >>confdefs.h <<\_ACEOF
45762 #define wxUSE_PROGRESSDLG 1
45768 if test "$wxUSE_SPLASH" = "yes"; then
45769 cat >>confdefs.h <<\_ACEOF
45770 #define wxUSE_SPLASH 1
45773 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45776 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45777 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45778 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45779 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45781 cat >>confdefs.h <<\_ACEOF
45782 #define wxUSE_STARTUP_TIPS 1
45788 if test "$wxUSE_TEXTDLG" = "yes"; then
45789 cat >>confdefs.h <<\_ACEOF
45790 #define wxUSE_TEXTDLG 1
45795 if test "$wxUSE_WIZARDDLG" = "yes"; then
45796 cat >>confdefs.h <<\_ACEOF
45797 #define wxUSE_WIZARDDLG 1
45800 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45804 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
45805 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
45806 cat >>confdefs.h <<\_ACEOF
45807 #define wxUSE_OWNER_DRAWN 1
45814 if test "$wxUSE_MSW" = 1 ; then
45816 if test "$wxUSE_DC_CACHEING" = "yes"; then
45817 cat >>confdefs.h <<\_ACEOF
45818 #define wxUSE_DC_CACHEING 1
45823 if test "$wxUSE_DIB" = "yes"; then
45824 cat >>confdefs.h <<\_ACEOF
45825 #define wxUSE_WXDIB 1
45830 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
45831 cat >>confdefs.h <<\_ACEOF
45832 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
45837 if test "$wxUSE_UXTHEME" = "yes"; then
45838 cat >>confdefs.h <<\_ACEOF
45839 #define wxUSE_UXTHEME 1
45847 if test "$USE_WIN32" = 1 ; then
45848 if test "$wxUSE_INICONF" = "yes"; then
45849 cat >>confdefs.h <<\_ACEOF
45850 #define wxUSE_INICONF 1
45855 if test "$wxUSE_REGKEY" = "yes"; then
45856 cat >>confdefs.h <<\_ACEOF
45857 #define wxUSE_REGKEY 1
45864 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45865 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
45866 cat >>confdefs.h <<\_ACEOF
45867 #define wxUSE_GRAPHICS_CONTEXT 1
45870 elif test "$wxUSE_GTK" != 1; then
45871 cat >>confdefs.h <<\_ACEOF
45872 #define wxUSE_GRAPHICS_CONTEXT 1
45878 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45879 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45881 if test -n "$PKG_CONFIG"; then
45882 if test -n "$CAIRO_CFLAGS"; then
45883 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45885 if test -n "$PKG_CONFIG" && \
45886 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45887 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45890 (exit $ac_status); }; then
45891 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
45899 if test -n "$PKG_CONFIG"; then
45900 if test -n "$CAIRO_LIBS"; then
45901 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45903 if test -n "$PKG_CONFIG" && \
45904 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45905 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45908 (exit $ac_status); }; then
45909 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
45920 if test $pkg_failed = yes; then
45922 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45923 _pkg_short_errors_supported=yes
45925 _pkg_short_errors_supported=no
45927 if test $_pkg_short_errors_supported = yes; then
45928 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45930 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45932 # Put the nasty error message in config.log where it belongs
45933 echo "$CAIRO_PKG_ERRORS" >&5
45935 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45936 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45938 elif test $pkg_failed = untried; then
45939 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45940 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45943 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45944 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45945 { echo "$as_me:$LINENO: result: yes" >&5
45946 echo "${ECHO_T}yes" >&6; }
45947 cat >>confdefs.h <<\_ACEOF
45948 #define wxUSE_GRAPHICS_CONTEXT 1
45958 if test "$wxUSE_MEDIACTRL" = "yes"; then
45961 if test "$wxUSE_GTK" = 1; then
45962 wxUSE_GSTREAMER="no"
45964 GST_VERSION_MAJOR=0
45965 GST_VERSION_MINOR=10
45966 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45968 if test "$wxUSE_GSTREAMER8" = "no"; then
45971 { echo "$as_me:$LINENO: checking for GST" >&5
45972 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45974 if test -n "$PKG_CONFIG"; then
45975 if test -n "$GST_CFLAGS"; then
45976 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45978 if test -n "$PKG_CONFIG" && \
45979 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45980 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45983 (exit $ac_status); }; then
45984 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
45992 if test -n "$PKG_CONFIG"; then
45993 if test -n "$GST_LIBS"; then
45994 pkg_cv_GST_LIBS="$GST_LIBS"
45996 if test -n "$PKG_CONFIG" && \
45997 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45998 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46001 (exit $ac_status); }; then
46002 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46013 if test $pkg_failed = yes; then
46015 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46016 _pkg_short_errors_supported=yes
46018 _pkg_short_errors_supported=no
46020 if test $_pkg_short_errors_supported = yes; then
46021 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46023 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46025 # Put the nasty error message in config.log where it belongs
46026 echo "$GST_PKG_ERRORS" >&5
46029 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46030 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46031 GST_VERSION_MINOR=8
46034 elif test $pkg_failed = untried; then
46036 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46037 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46038 GST_VERSION_MINOR=8
46042 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46043 GST_LIBS=$pkg_cv_GST_LIBS
46044 { echo "$as_me:$LINENO: result: yes" >&5
46045 echo "${ECHO_T}yes" >&6; }
46047 wxUSE_GSTREAMER="yes"
46048 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46052 GST_VERSION_MINOR=8
46055 if test $GST_VERSION_MINOR = "8"; then
46056 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46059 { echo "$as_me:$LINENO: checking for GST" >&5
46060 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46062 if test -n "$PKG_CONFIG"; then
46063 if test -n "$GST_CFLAGS"; then
46064 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46066 if test -n "$PKG_CONFIG" && \
46067 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46068 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46071 (exit $ac_status); }; then
46072 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46080 if test -n "$PKG_CONFIG"; then
46081 if test -n "$GST_LIBS"; then
46082 pkg_cv_GST_LIBS="$GST_LIBS"
46084 if test -n "$PKG_CONFIG" && \
46085 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46086 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46089 (exit $ac_status); }; then
46090 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46101 if test $pkg_failed = yes; then
46103 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46104 _pkg_short_errors_supported=yes
46106 _pkg_short_errors_supported=no
46108 if test $_pkg_short_errors_supported = yes; then
46109 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46111 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46113 # Put the nasty error message in config.log where it belongs
46114 echo "$GST_PKG_ERRORS" >&5
46117 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46118 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46120 elif test $pkg_failed = untried; then
46122 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46123 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46126 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46127 GST_LIBS=$pkg_cv_GST_LIBS
46128 { echo "$as_me:$LINENO: result: yes" >&5
46129 echo "${ECHO_T}yes" >&6; }
46130 wxUSE_GSTREAMER="yes"
46135 if test "$wxUSE_GSTREAMER" = "yes"; then
46136 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46137 EXTRALIBS_MEDIA="$GST_LIBS"
46139 cat >>confdefs.h <<\_ACEOF
46140 #define wxUSE_GSTREAMER 1
46148 if test $USE_MEDIA = 1; then
46149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46150 cat >>confdefs.h <<\_ACEOF
46151 #define wxUSE_MEDIACTRL 1
46158 if test "$cross_compiling" = "yes"; then
46161 OSINFO=`uname
-s -r -m`
46162 OSINFO="\"$OSINFO\""
46165 cat >>confdefs.h <<_ACEOF
46166 #define WXWIN_OS_DESCRIPTION $OSINFO
46171 if test "x$prefix" != "xNONE"; then
46174 wxPREFIX=$ac_default_prefix
46177 cat >>confdefs.h <<_ACEOF
46178 #define wxINSTALL_PREFIX "$wxPREFIX"
46184 STD_BASE_LIBS="base"
46186 BUILT_WX_LIBS="base"
46187 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46189 if test "$wxUSE_SOCKETS" = "yes" ; then
46190 STD_BASE_LIBS="net $STD_BASE_LIBS"
46191 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46193 if test "$wxUSE_XML" = "yes" ; then
46194 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46195 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46198 if test "$wxUSE_GUI" = "yes"; then
46199 STD_GUI_LIBS="adv core"
46200 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46202 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46203 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46204 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46206 if test "$wxUSE_HTML" = "yes" ; then
46207 STD_GUI_LIBS="html $STD_GUI_LIBS"
46208 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46210 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46211 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46213 if test "$wxUSE_OPENGL" = "yes" ; then
46214 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46216 if test "$wxUSE_AUI" = "yes" ; then
46217 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46219 if test "$wxUSE_STC" = "yes" ; then
46220 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46222 if test "$wxUSE_XRC" = "yes" ; then
46223 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46224 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46235 if test "$wxUSE_MAC" = 1 ; then
46236 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46237 if test "$USE_DARWIN" = 1; then
46238 LDFLAGS="$LDFLAGS -framework QuickTime"
46240 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46243 if test "$USE_DARWIN" = 1; then
46244 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46246 LDFLAGS="$LDFLAGS -lCarbonLib"
46249 if test "$wxUSE_COCOA" = 1 ; then
46250 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46251 if test "$wxUSE_MEDIACTRL" = "yes"; then
46252 LDFLAGS="$LDFLAGS -framework QuickTime"
46255 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46256 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46259 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46261 if test "$wxUSE_GUI" = "yes"; then
46264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46265 erase event exec font image minimal mobile \
46266 mobile/wxedit mobile/styles render \
46267 shaped svg taborder vscroll widgets"
46269 if test "$wxUSE_MONOLITHIC" != "yes"; then
46270 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46272 if test "$TOOLKIT" = "MSW"; then
46273 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46274 if test "$wxUSE_UNIVERSAL" != "yes"; then
46275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46278 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46279 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46282 SAMPLES_SUBDIRS="console"
46286 if test "x$INTELCC" = "xyes" ; then
46287 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46288 elif test "$GCC" = yes ; then
46289 CWARNINGS="-Wall -Wundef"
46292 if test "x$INTELCXX" = "xyes" ; then
46293 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46294 elif test "$GXX" = yes ; then
46295 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46299 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46300 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46303 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46304 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
46305 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
46308 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46309 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46310 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46312 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46315 if test "x$MWCC" = "xyes"; then
46317 CC="$CC -cwd source -I-"
46318 CXX="$CXX -cwd source -I-"
46323 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46324 EXTRALIBS_XML="$EXPAT_LINK"
46325 EXTRALIBS_HTML="$MSPACK_LINK"
46326 EXTRALIBS_MEDIA="$GST_LIBS"
46327 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46328 if test "$wxUSE_GUI" = "yes"; then
46329 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46331 if test "$wxUSE_OPENGL" = "yes"; then
46332 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46335 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46337 WXCONFIG_LIBS="$LIBS"
46339 if test "$wxUSE_REGEX" = "builtin" ; then
46340 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46342 if test "$wxUSE_EXPAT" = "builtin" ; then
46343 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46345 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46346 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46348 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46349 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46351 if test "$wxUSE_LIBPNG" = "builtin" ; then
46352 wxconfig_3rdparty="png $wxconfig_3rdparty"
46354 if test "$wxUSE_ZLIB" = "builtin" ; then
46355 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46358 for i in $wxconfig_3rdparty ; do
46359 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46363 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46366 case "$wxUNIV_THEMES" in
46368 cat >>confdefs.h <<\_ACEOF
46369 #define wxUSE_ALL_THEMES 1
46375 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a
-z A
-Z`; do
46376 cat >>confdefs.h <<_ACEOF
46377 #define wxUSE_THEME_$t 1
46393 if test $wxUSE_MONOLITHIC = "yes" ; then
46399 if test $wxUSE_PLUGINS = "yes" ; then
46405 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46411 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46443 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr A
-Z a
-z`
46454 TOOLKIT_DESC="GTK+"
46455 if test "$WXGTK2" = 1; then
46456 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46457 if test "$wxUSE_GTKPRINT" = "yes" ; then
46458 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46460 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46461 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46463 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46464 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46466 if test "$wxUSE_LIBHILDON" = "yes"; then
46467 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46470 if test "$TOOLKIT_EXTRA" != ""; then
46471 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46477 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46481 TOOLKIT_DESC="base only"
46485 if test "$wxUSE_WINE" = "yes"; then
46486 BAKEFILE_FORCE_PLATFORM=win32
46489 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46491 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46492 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46493 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46494 echo $ECHO_N "(cached) $ECHO_C" >&6
46497 echo '#include <stdio.h>
46498 const wchar_t test_var[] = L"awidetest";' > conftest.h
46500 echo '#include "conftest.h"
46503 printf("%ls", test_var);
46507 wx_cv_gcc_pch_bug="pch not supported"
46509 if $CXX conftest.h >/dev/null 2>&1
46513 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46515 if tr -dc a-z < conftest$PROGRAM_EXT |
46516 grep awidetest >/dev/null
46518 wx_cv_gcc_pch_bug=no
46520 wx_cv_gcc_pch_bug=yes
46525 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46528 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46529 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46531 if test "$wx_cv_gcc_pch_bug" = yes; then
46539 if test "x$BAKEFILE_HOST" = "x"; then
46540 if test "x${host}" = "x" ; then
46541 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46542 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46543 { (exit 1); exit 1; }; }
46546 BAKEFILE_HOST="${host}"
46549 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46551 if test -n "$ac_tool_prefix"; then
46552 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46553 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46554 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46556 if test "${ac_cv_prog_RANLIB+set}" = set; then
46557 echo $ECHO_N "(cached) $ECHO_C" >&6
46559 if test -n "$RANLIB"; then
46560 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46563 for as_dir in $PATH
46566 test -z "$as_dir" && as_dir=.
46567 for ac_exec_ext in '' $ac_executable_extensions; do
46568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46569 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46579 RANLIB=$ac_cv_prog_RANLIB
46580 if test -n "$RANLIB"; then
46581 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46582 echo "${ECHO_T}$RANLIB" >&6; }
46584 { echo "$as_me:$LINENO: result: no" >&5
46585 echo "${ECHO_T}no" >&6; }
46590 if test -z "$ac_cv_prog_RANLIB"; then
46591 ac_ct_RANLIB=$RANLIB
46592 # Extract the first word of "ranlib", so it can be a program name with args.
46593 set dummy ranlib; ac_word=$2
46594 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46596 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46597 echo $ECHO_N "(cached) $ECHO_C" >&6
46599 if test -n "$ac_ct_RANLIB"; then
46600 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46603 for as_dir in $PATH
46606 test -z "$as_dir" && as_dir=.
46607 for ac_exec_ext in '' $ac_executable_extensions; do
46608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46609 ac_cv_prog_ac_ct_RANLIB="ranlib"
46610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46619 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46620 if test -n "$ac_ct_RANLIB"; then
46621 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46622 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46624 { echo "$as_me:$LINENO: result: no" >&5
46625 echo "${ECHO_T}no" >&6; }
46628 if test "x$ac_ct_RANLIB" = x; then
46631 case $cross_compiling:$ac_tool_warned in
46633 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46634 whose name does not start with the host triplet. If you think this
46635 configuration is useful to you, please write to autoconf@gnu.org." >&5
46636 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46637 whose name does not start with the host triplet. If you think this
46638 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46639 ac_tool_warned=yes ;;
46641 RANLIB=$ac_ct_RANLIB
46644 RANLIB="$ac_cv_prog_RANLIB"
46647 # Find a good install program. We prefer a C program (faster),
46648 # so one script is as good as another. But avoid the broken or
46649 # incompatible versions:
46650 # SysV /etc/install, /usr/sbin/install
46651 # SunOS /usr/etc/install
46652 # IRIX /sbin/install
46654 # AmigaOS /C/install, which installs bootblocks on floppy discs
46655 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46656 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46657 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46658 # OS/2's system install, which has a completely different semantic
46659 # ./install, which can be erroneously created by make from ./install.sh.
46660 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46661 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46662 if test -z "$INSTALL"; then
46663 if test "${ac_cv_path_install+set}" = set; then
46664 echo $ECHO_N "(cached) $ECHO_C" >&6
46666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46667 for as_dir in $PATH
46670 test -z "$as_dir" && as_dir=.
46671 # Account for people who put trailing slashes in PATH elements.
46673 ./ | .// | /cC/* | \
46674 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46675 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46678 # OSF1 and SCO ODT 3.0 have their own names for install.
46679 # Don't use installbsd from OSF since it installs stuff as root
46681 for ac_prog in ginstall scoinst install; do
46682 for ac_exec_ext in '' $ac_executable_extensions; do
46683 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46684 if test $ac_prog = install &&
46685 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46686 # AIX install. It has an incompatible calling convention.
46688 elif test $ac_prog = install &&
46689 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46690 # program-specific install script used by HP pwplus--don't use.
46693 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46706 if test "${ac_cv_path_install+set}" = set; then
46707 INSTALL=$ac_cv_path_install
46709 # As a last resort, use the slow shell script. Don't cache a
46710 # value for INSTALL within a source directory, because that will
46711 # break other packages using the cache if that directory is
46712 # removed, or if the value is a relative name.
46713 INSTALL=$ac_install_sh
46716 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46717 echo "${ECHO_T}$INSTALL" >&6; }
46719 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46720 # It thinks the first close brace ends the variable substitution.
46721 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46723 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46725 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46727 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46728 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46730 if test "$LN_S" = "ln -s"; then
46731 { echo "$as_me:$LINENO: result: yes" >&5
46732 echo "${ECHO_T}yes" >&6; }
46734 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46735 echo "${ECHO_T}no, using $LN_S" >&6; }
46739 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46740 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46741 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46742 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46743 echo $ECHO_N "(cached) $ECHO_C" >&6
46745 cat >conftest.make <<\_ACEOF
46748 @echo '@@@%%%=$(MAKE)=@@@%%%'
46750 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46751 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
46752 *@@@%%%=?*=@@@%%%*)
46753 eval ac_cv_prog_make_${ac_make}_set=yes;;
46755 eval ac_cv_prog_make_${ac_make}_set=no;;
46757 rm -f conftest.make
46759 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46760 { echo "$as_me:$LINENO: result: yes" >&5
46761 echo "${ECHO_T}yes" >&6; }
46764 { echo "$as_me:$LINENO: result: no" >&5
46765 echo "${ECHO_T}no" >&6; }
46766 SET_MAKE="MAKE=${MAKE-make}"
46771 if test "x$SUNCXX" = "xyes"; then
46773 AROPTIONS="-xar -o"
46775 elif test "x$SGICC" = "xyes"; then
46780 if test -n "$ac_tool_prefix"; then
46781 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46782 set dummy ${ac_tool_prefix}ar; ac_word=$2
46783 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46785 if test "${ac_cv_prog_AR+set}" = set; then
46786 echo $ECHO_N "(cached) $ECHO_C" >&6
46788 if test -n "$AR"; then
46789 ac_cv_prog_AR="$AR" # Let the user override the test.
46791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46792 for as_dir in $PATH
46795 test -z "$as_dir" && as_dir=.
46796 for ac_exec_ext in '' $ac_executable_extensions; do
46797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46798 ac_cv_prog_AR="${ac_tool_prefix}ar"
46799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46809 if test -n "$AR"; then
46810 { echo "$as_me:$LINENO: result: $AR" >&5
46811 echo "${ECHO_T}$AR" >&6; }
46813 { echo "$as_me:$LINENO: result: no" >&5
46814 echo "${ECHO_T}no" >&6; }
46819 if test -z "$ac_cv_prog_AR"; then
46821 # Extract the first word of "ar", so it can be a program name with args.
46822 set dummy ar; ac_word=$2
46823 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46825 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46826 echo $ECHO_N "(cached) $ECHO_C" >&6
46828 if test -n "$ac_ct_AR"; then
46829 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46832 for as_dir in $PATH
46835 test -z "$as_dir" && as_dir=.
46836 for ac_exec_ext in '' $ac_executable_extensions; do
46837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46838 ac_cv_prog_ac_ct_AR="ar"
46839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46848 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46849 if test -n "$ac_ct_AR"; then
46850 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46851 echo "${ECHO_T}$ac_ct_AR" >&6; }
46853 { echo "$as_me:$LINENO: result: no" >&5
46854 echo "${ECHO_T}no" >&6; }
46857 if test "x$ac_ct_AR" = x; then
46860 case $cross_compiling:$ac_tool_warned in
46862 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46863 whose name does not start with the host triplet. If you think this
46864 configuration is useful to you, please write to autoconf@gnu.org." >&5
46865 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46866 whose name does not start with the host triplet. If you think this
46867 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46868 ac_tool_warned=yes ;;
46873 AR="$ac_cv_prog_AR"
46880 if test -n "$ac_tool_prefix"; then
46881 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46882 set dummy ${ac_tool_prefix}strip; ac_word=$2
46883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46885 if test "${ac_cv_prog_STRIP+set}" = set; then
46886 echo $ECHO_N "(cached) $ECHO_C" >&6
46888 if test -n "$STRIP"; then
46889 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46892 for as_dir in $PATH
46895 test -z "$as_dir" && as_dir=.
46896 for ac_exec_ext in '' $ac_executable_extensions; do
46897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46898 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46908 STRIP=$ac_cv_prog_STRIP
46909 if test -n "$STRIP"; then
46910 { echo "$as_me:$LINENO: result: $STRIP" >&5
46911 echo "${ECHO_T}$STRIP" >&6; }
46913 { echo "$as_me:$LINENO: result: no" >&5
46914 echo "${ECHO_T}no" >&6; }
46919 if test -z "$ac_cv_prog_STRIP"; then
46921 # Extract the first word of "strip", so it can be a program name with args.
46922 set dummy strip; ac_word=$2
46923 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46925 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46926 echo $ECHO_N "(cached) $ECHO_C" >&6
46928 if test -n "$ac_ct_STRIP"; then
46929 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46932 for as_dir in $PATH
46935 test -z "$as_dir" && as_dir=.
46936 for ac_exec_ext in '' $ac_executable_extensions; do
46937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46938 ac_cv_prog_ac_ct_STRIP="strip"
46939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46948 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46949 if test -n "$ac_ct_STRIP"; then
46950 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46951 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46953 { echo "$as_me:$LINENO: result: no" >&5
46954 echo "${ECHO_T}no" >&6; }
46957 if test "x$ac_ct_STRIP" = x; then
46960 case $cross_compiling:$ac_tool_warned in
46962 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46963 whose name does not start with the host triplet. If you think this
46964 configuration is useful to you, please write to autoconf@gnu.org." >&5
46965 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46966 whose name does not start with the host triplet. If you think this
46967 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46968 ac_tool_warned=yes ;;
46973 STRIP="$ac_cv_prog_STRIP"
46976 if test -n "$ac_tool_prefix"; then
46977 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46978 set dummy ${ac_tool_prefix}nm; ac_word=$2
46979 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46981 if test "${ac_cv_prog_NM+set}" = set; then
46982 echo $ECHO_N "(cached) $ECHO_C" >&6
46984 if test -n "$NM"; then
46985 ac_cv_prog_NM="$NM" # Let the user override the test.
46987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46988 for as_dir in $PATH
46991 test -z "$as_dir" && as_dir=.
46992 for ac_exec_ext in '' $ac_executable_extensions; do
46993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46994 ac_cv_prog_NM="${ac_tool_prefix}nm"
46995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47005 if test -n "$NM"; then
47006 { echo "$as_me:$LINENO: result: $NM" >&5
47007 echo "${ECHO_T}$NM" >&6; }
47009 { echo "$as_me:$LINENO: result: no" >&5
47010 echo "${ECHO_T}no" >&6; }
47015 if test -z "$ac_cv_prog_NM"; then
47017 # Extract the first word of "nm", so it can be a program name with args.
47018 set dummy nm; ac_word=$2
47019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47021 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47022 echo $ECHO_N "(cached) $ECHO_C" >&6
47024 if test -n "$ac_ct_NM"; then
47025 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47028 for as_dir in $PATH
47031 test -z "$as_dir" && as_dir=.
47032 for ac_exec_ext in '' $ac_executable_extensions; do
47033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47034 ac_cv_prog_ac_ct_NM="nm"
47035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47044 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47045 if test -n "$ac_ct_NM"; then
47046 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47047 echo "${ECHO_T}$ac_ct_NM" >&6; }
47049 { echo "$as_me:$LINENO: result: no" >&5
47050 echo "${ECHO_T}no" >&6; }
47053 if test "x$ac_ct_NM" = x; then
47056 case $cross_compiling:$ac_tool_warned in
47058 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47059 whose name does not start with the host triplet. If you think this
47060 configuration is useful to you, please write to autoconf@gnu.org." >&5
47061 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47062 whose name does not start with the host triplet. If you think this
47063 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47064 ac_tool_warned=yes ;;
47069 NM="$ac_cv_prog_NM"
47073 case ${BAKEFILE_HOST} in
47075 INSTALL_DIR="mkdir -p"
47078 INSTALL_DIR='$(INSTALL) -d'
47084 case ${BAKEFILE_HOST} in
47085 *-*-cygwin* | *-*-mingw32* )
47086 LDFLAGS_GUI="-mwindows"
47092 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47093 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47094 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47095 echo $ECHO_N "(cached) $ECHO_C" >&6
47098 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47099 egrep -s GNU > /dev/null); then
47100 bakefile_cv_prog_makeisgnu="yes"
47102 bakefile_cv_prog_makeisgnu="no"
47106 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47107 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47109 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47126 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47127 case "${BAKEFILE_HOST}" in
47134 *-pc-os2_emx | *-pc-os2-emx )
47144 powerpc-apple-macos* )
47153 case "$BAKEFILE_FORCE_PLATFORM" in
47188 # Check whether --enable-omf was given.
47189 if test "${enable_omf+set}" = set; then
47190 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47194 case "${BAKEFILE_HOST}" in
47196 if test "x$GCC" = "xyes"; then
47197 CFLAGS="$CFLAGS -fno-common"
47198 CXXFLAGS="$CXXFLAGS -fno-common"
47200 if test "x$XLCC" = "xyes"; then
47201 CFLAGS="$CFLAGS -qnocommon"
47202 CXXFLAGS="$CXXFLAGS -qnocommon"
47206 *-pc-os2_emx | *-pc-os2-emx )
47207 if test "x$bk_os2_use_omf" = "xyes" ; then
47210 LDFLAGS="-Zomf $LDFLAGS"
47211 CFLAGS="-Zomf $CFLAGS"
47212 CXXFLAGS="-Zomf $CXXFLAGS"
47220 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47226 SO_SUFFIX_MODULE="so"
47231 DLLPREFIX_MODULE=""
47235 case "${BAKEFILE_HOST}" in
47238 SO_SUFFIX_MODULE="sl"
47242 SO_SUFFIX_MODULE="a"
47246 SO_SUFFIX_MODULE="dll"
47247 DLLIMP_SUFFIX="dll.a"
47254 SO_SUFFIX_MODULE="dll"
47255 DLLIMP_SUFFIX="dll.a"
47265 *-pc-os2_emx | *-pc-os2-emx )
47267 SO_SUFFIX_MODULE="dll"
47268 DLLIMP_SUFFIX=$OS2_LIBEXT
47272 LIBEXT=".$OS2_LIBEXT"
47277 SO_SUFFIX_MODULE="bundle"
47281 if test "x$DLLIMP_SUFFIX" = "x" ; then
47282 DLLIMP_SUFFIX="$SO_SUFFIX"
47297 if test "x$GCC" = "xyes"; then
47301 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47302 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47305 case "${BAKEFILE_HOST}" in
47307 if test "x$GCC" != "xyes"; then
47308 LDFLAGS="$LDFLAGS -L/usr/lib"
47310 SHARED_LD_CC="${CC} -b -o"
47311 SHARED_LD_CXX="${CXX} -b -o"
47317 if test "$INTELCC" = "yes"; then
47319 elif test "x$SUNCXX" = "xyes"; then
47320 SHARED_LD_CC="${CC} -G -o"
47321 SHARED_LD_CXX="${CXX} -G -o"
47327 if test "x$SUNCXX" = xyes ; then
47328 SHARED_LD_CC="${CC} -G -o"
47329 SHARED_LD_CXX="${CXX} -G -o"
47337 cat <<EOF >shared-ld-sh
47339 #-----------------------------------------------------------------------------
47340 #-- Name: distrib/mac/shared-ld-sh
47341 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47342 #-- Author: Gilles Depeyrot
47343 #-- Copyright: (c) 2002 Gilles Depeyrot
47344 #-- Licence: any use permitted
47345 #-----------------------------------------------------------------------------
47350 linking_flag="-dynamiclib"
47351 ldargs="-r -keep_private_externs -nostdlib"
47353 while test ${D}# -gt 0; do
47360 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47361 # collect these options and values
47362 args="${D}{args} ${D}1 ${D}2"
47367 # collect these load args
47368 ldargs="${D}{ldargs} ${D}1"
47371 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47372 # collect these options
47373 args="${D}{args} ${D}1"
47376 -dynamiclib|-bundle)
47377 linking_flag="${D}1"
47381 echo "shared-ld: unhandled option '${D}1'"
47385 *.o | *.a | *.dylib)
47386 # collect object files
47387 objects="${D}{objects} ${D}1"
47391 echo "shared-ld: unhandled argument '${D}1'"
47402 # Link one module containing all the others
47404 if test ${D}{verbose} = 1; then
47405 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47407 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47411 # Link the shared library from the single module created, but only if the
47412 # previous command didn't fail:
47414 if test ${D}{status} = 0; then
47415 if test ${D}{verbose} = 1; then
47416 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47418 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47423 # Remove intermediate module
47425 rm -f master.${D}${D}.o
47430 chmod +x shared-ld-sh
47432 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47433 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47436 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47437 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47438 if test "${bakefile_cv_gcc31+set}" = set; then
47439 echo $ECHO_N "(cached) $ECHO_C" >&6
47442 cat >conftest.$ac_ext <<_ACEOF
47445 cat confdefs.h >>conftest.$ac_ext
47446 cat >>conftest.$ac_ext <<_ACEOF
47447 /* end confdefs.h. */
47453 #if (__GNUC__ < 3) || \
47454 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47462 rm -f conftest.$ac_objext
47463 if { (ac_try="$ac_compile"
47464 case "(($ac_try" in
47465 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47466 *) ac_try_echo
=$ac_try;;
47468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47469 (eval "$ac_compile") 2>conftest.er1
47471 grep -v '^ *+' conftest.er1
>conftest.err
47473 cat conftest.err
>&5
47474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47475 (exit $ac_status); } && {
47476 test -z "$ac_c_werror_flag" ||
47477 test ! -s conftest.err
47478 } && test -s conftest.
$ac_objext; then
47480 bakefile_cv_gcc31
=yes
47483 echo "$as_me: failed program was:" >&5
47484 sed 's/^/| /' conftest.
$ac_ext >&5
47487 bakefile_cv_gcc31
=no
47492 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47495 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47496 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47497 if test "$bakefile_cv_gcc31" = "no"; then
47498 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47499 SHARED_LD_CXX
="$SHARED_LD_CC"
47501 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47502 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47505 if test "x$GCC" == "xyes"; then
47506 PIC_FLAG
="-dynamic -fPIC"
47508 if test "x$XLCC" = "xyes"; then
47509 PIC_FLAG
="-dynamic -DPIC"
47514 if test "x$GCC" = "xyes"; then
47517 case "${BAKEFILE_HOST}" in
47519 LD_EXPFULL
="-Wl,-bexpfull"
47523 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
47524 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
47526 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47527 set dummy makeC
++SharedLib
; ac_word
=$2
47528 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47530 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47531 echo $ECHO_N "(cached) $ECHO_C" >&6
47533 if test -n "$AIX_CXX_LD"; then
47534 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
47536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47537 for as_dir
in $PATH
47540 test -z "$as_dir" && as_dir
=.
47541 for ac_exec_ext
in '' $ac_executable_extensions; do
47542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47543 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
47544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47551 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
47554 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
47555 if test -n "$AIX_CXX_LD"; then
47556 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47557 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47559 { echo "$as_me:$LINENO: result: no" >&5
47560 echo "${ECHO_T}no" >&6; }
47564 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
47565 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
47570 SHARED_LD_CC
="${LD} -nostart -o"
47571 SHARED_LD_CXX
="${LD} -nostart -o"
47575 if test "x$GCC" != "xyes"; then
47580 *-*-cygwin* | *-*-mingw32* )
47582 SHARED_LD_CC
="\$(CC) -shared -o"
47583 SHARED_LD_CXX
="\$(CXX) -shared -o"
47587 *-pc-os2_emx | *-pc-os2-emx )
47588 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47589 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47593 cat <<EOF >dllar.sh
47596 # dllar - a tool to build both a .dll and an .a file
47597 # from a set of object (.o) files for EMX/OS2.
47599 # Written by Andrew Zabolotny, bit@freya.etu.ru
47600 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47602 # This script will accept a set of files on the command line.
47603 # All the public symbols from the .o files will be exported into
47604 # a .DEF file, then linker will be run (through gcc) against them to
47605 # build a shared library consisting of all given .o files. All libraries
47606 # (.a) will be first decompressed into component .o files then act as
47607 # described above. You can optionally give a description (-d "description")
47608 # which will be put into .DLL. To see the list of accepted options (as well
47609 # as command-line format) simply run this program without options. The .DLL
47610 # is built to be imported by name (there is no guarantee that new versions
47611 # of the library you build will have same ordinals for same symbols).
47613 # dllar is free software; you can redistribute it and/or modify
47614 # it under the terms of the GNU General Public License as published by
47615 # the Free Software Foundation; either version 2, or (at your option)
47616 # any later version.
47618 # dllar is distributed in the hope that it will be useful,
47619 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47620 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47621 # GNU General Public License for more details.
47623 # You should have received a copy of the GNU General Public License
47624 # along with dllar; see the file COPYING. If not, write to the Free
47625 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47628 # To successfuly run this program you will need:
47629 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47630 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47632 # (used to build the .dll)
47634 # (used to create .def file from .o files)
47636 # (used to create .a file from .def file)
47637 # - GNU text utilites (cat, sort, uniq)
47638 # used to process emxexp output
47639 # - GNU file utilities (mv, rm)
47641 # - lxlite (optional, see flag below)
47642 # (used for general .dll cleanup)
47649 # basnam, variant of basename, which does _not_ remove the path, _iff_
47650 # second argument (suffix to remove) is given
47654 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47657 echo ${D}1 | sed 's/'${D}2'${D}//'
47660 echo "error in basnam ${D}*"
47666 # Cleanup temporary files and output
47669 for i in ${D}inputFiles ; do
47672 rm -rf \`basnam ${D}i !\`
47679 # Kill result in case of failure as there is just to many stupid make/nmake
47680 # things out there which doesn't do this.
47681 if [ ${D}# -eq 0 ]; then
47682 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47686 # Print usage and exit script with rc=1.
47688 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47689 echo ' [-name-mangler-script script.sh]'
47690 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47691 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47692 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47693 echo ' [*.o] [*.a]'
47694 echo '*> "output_file" should have no extension.'
47695 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47696 echo ' The import library name is derived from this and is set to "name".a,'
47697 echo ' unless overridden by -import'
47698 echo '*> "importlib_name" should have no extension.'
47699 echo ' If it has the .o, or .a extension, it is automatically removed.'
47700 echo ' This name is used as the import library name and may be longer and'
47701 echo ' more descriptive than the DLL name which has to follow the old '
47702 echo ' 8.3 convention of FAT.'
47703 echo '*> "script.sh may be given to override the output_file name by a'
47704 echo ' different name. It is mainly useful if the regular make process'
47705 echo ' of some package does not take into account OS/2 restriction of'
47706 echo ' DLL name lengths. It takes the importlib name as input and is'
47707 echo ' supposed to procude a shorter name as output. The script should'
47708 echo ' expect to get importlib_name without extension and should produce'
47709 echo ' a (max.) 8 letter name without extension.'
47710 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47711 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47712 echo ' These flags will be put at the start of GCC command line.'
47713 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47714 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47715 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47716 echo ' If the last character of a symbol is "*", all symbols beginning'
47717 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47718 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47719 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47720 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47721 echo ' C runtime DLLs.'
47722 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47723 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47724 echo ' unchanged to GCC at the end of command line.'
47725 echo '*> If you create a DLL from a library and you do not specify -o,'
47726 echo ' the basename for DLL and import library will be set to library name,'
47727 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47728 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47729 echo ' library will be renamed into gcc_s.a.'
47732 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47733 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47738 # Execute a command.
47739 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47740 # @Uses Whatever CleanUp() uses.
47746 if [ ${D}rcCmd -ne 0 ]; then
47747 echo "command failed, exit code="${D}rcCmd
47762 CFLAGS="-s -Zcrtdll"
47764 EXPORT_BY_ORDINALS=0
47769 case ${D}curDirS in
47773 curDirS=${D}{curDirS}"/"
47776 # Parse commandline
47779 while [ ${D}1 ]; do
47782 EXPORT_BY_ORDINALS=1;
47792 -name-mangler-script)
47813 exclude_symbols=${D}{exclude_symbols}${D}1" "
47817 library_flags=${D}{library_flags}${D}1" "
47836 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47839 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47840 if [ ${D}omfLinking -eq 1 ]; then
47841 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47843 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47848 if [ ${D}libsToLink -ne 0 ]; then
47849 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47851 for file in ${D}1 ; do
47852 if [ -f ${D}file ]; then
47853 inputFiles="${D}{inputFiles} ${D}file"
47857 if [ ${D}found -eq 0 ]; then
47858 echo "ERROR: No file(s) found: "${D}1
47865 done # iterate cmdline words
47868 if [ -z "${D}inputFiles" ]; then
47869 echo "dllar: no input files"
47873 # Now extract all .o files from .a files
47875 for file in ${D}inputFiles ; do
47886 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47891 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47893 if [ ${D}? -ne 0 ]; then
47894 echo "Failed to create subdirectory ./${D}dirname"
47898 # Append '!' to indicate archive
47899 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47900 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47903 for subfile in ${D}dirname/*.o* ; do
47904 if [ -f ${D}subfile ]; then
47906 if [ -s ${D}subfile ]; then
47907 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47908 newInputFiles="${D}newInputFiles ${D}subfile"
47912 if [ ${D}found -eq 0 ]; then
47913 echo "WARNING: there are no files in archive \\'${D}file\\'"
47917 newInputFiles="${D}{newInputFiles} ${D}file"
47921 inputFiles="${D}newInputFiles"
47923 # Output filename(s).
47925 if [ -z ${D}outFile ]; then
47927 set outFile ${D}inputFiles; outFile=${D}2
47930 # If it is an archive, remove the '!' and the '_%' suffixes
47931 case ${D}outFile in
47933 outFile=\`basnam ${D}outFile _%!\`
47938 case ${D}outFile in
47940 outFile=\`basnam ${D}outFile .dll\`
47943 outFile=\`basnam ${D}outFile .DLL\`
47946 outFile=\`basnam ${D}outFile .o\`
47949 outFile=\`basnam ${D}outFile .obj\`
47952 outFile=\`basnam ${D}outFile .a\`
47955 outFile=\`basnam ${D}outFile .lib\`
47960 case ${D}outimpFile in
47962 outimpFile=\`basnam ${D}outimpFile .a\`
47965 outimpFile=\`basnam ${D}outimpFile .lib\`
47970 if [ -z ${D}outimpFile ]; then
47971 outimpFile=${D}outFile
47973 defFile="${D}{outFile}.def"
47974 arcFile="${D}{outimpFile}.a"
47975 arcFile2="${D}{outimpFile}.lib"
47977 #create ${D}dllFile as something matching 8.3 restrictions,
47978 if [ -z ${D}renameScript ] ; then
47979 dllFile="${D}outFile"
47981 dllFile=\`${D}renameScript ${D}outimpFile\`
47984 if [ ${D}do_backup -ne 0 ] ; then
47985 if [ -f ${D}arcFile ] ; then
47986 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47988 if [ -f ${D}arcFile2 ] ; then
47989 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47993 # Extract public symbols from all the object files.
47994 tmpdefFile=${D}{defFile}_%
47995 rm -f ${D}tmpdefFile
47996 for file in ${D}inputFiles ; do
48001 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48006 # Create the def file.
48008 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48009 dllFile="${D}{dllFile}.dll"
48010 if [ ! -z ${D}description ]; then
48011 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48013 echo "EXPORTS" >> ${D}defFile
48015 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48016 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48018 # Checks if the export is ok or not.
48019 for word in ${D}exclude_symbols; do
48020 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48021 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48025 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48026 sed "=" < ${D}tmpdefFile | \\
48030 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48032 ' > ${D}{tmpdefFile}%
48033 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48035 rm -f ${D}{tmpdefFile}%
48037 cat ${D}tmpdefFile >> ${D}defFile
48038 rm -f ${D}tmpdefFile
48040 # Do linking, create implib, and apply lxlite.
48042 for file in ${D}inputFiles ; do
48047 gccCmdl="${D}gccCmdl ${D}file"
48051 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48052 touch "${D}{outFile}.dll"
48054 doCommand "emximp -o ${D}arcFile ${D}defFile"
48055 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48057 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48060 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48062 doCommand "emxomf -s -l ${D}arcFile"
48072 powerpc
-apple-macos* | \
48073 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48083 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48084 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48085 { (exit 1); exit 1; }; }
48088 if test "x$PIC_FLAG" != "x" ; then
48089 PIC_FLAG
="$PIC_FLAG -DPIC"
48092 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48093 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48095 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48096 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48115 case "${BAKEFILE_HOST}" in
48116 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
48117 if test "x$SUNCXX" = "xyes"; then
48120 SONAME_FLAG
="-Wl,-soname,"
48155 # Check whether --enable-dependency-tracking was given.
48156 if test "${enable_dependency_tracking+set}" = set; then
48157 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
48161 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48162 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48165 if test "x$bk_use_trackdeps" = "xno" ; then
48167 { echo "$as_me:$LINENO: result: disabled" >&5
48168 echo "${ECHO_T}disabled" >&6; }
48172 if test "x$GCC" = "xyes"; then
48174 case "${BAKEFILE_HOST}" in
48176 DEPSFLAG
="-no-cpp-precomp -MMD"
48182 { echo "$as_me:$LINENO: result: gcc" >&5
48183 echo "${ECHO_T}gcc" >&6; }
48184 elif test "x$MWCC" = "xyes"; then
48187 { echo "$as_me:$LINENO: result: mwcc" >&5
48188 echo "${ECHO_T}mwcc" >&6; }
48189 elif test "x$SUNCC" = "xyes"; then
48192 { echo "$as_me:$LINENO: result: Sun cc" >&5
48193 echo "${ECHO_T}Sun cc" >&6; }
48194 elif test "x$SGICC" = "xyes"; then
48197 { echo "$as_me:$LINENO: result: SGI cc" >&5
48198 echo "${ECHO_T}SGI cc" >&6; }
48199 elif test "x$HPCC" = "xyes"; then
48202 { echo "$as_me:$LINENO: result: HP cc" >&5
48203 echo "${ECHO_T}HP cc" >&6; }
48204 elif test "x$COMPAQCC" = "xyes"; then
48207 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48208 echo "${ECHO_T}Compaq cc" >&6; }
48211 { echo "$as_me:$LINENO: result: none" >&5
48212 echo "${ECHO_T}none" >&6; }
48215 if test $DEPS_TRACKING = 1 ; then
48221 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48222 # script. It is used to track C/C++ files dependencies in portable way.
48224 # Permission is given to use this file in any way.
48226 DEPSMODE=${DEPSMODE}
48228 DEPSFLAG="${DEPSFLAG}"
48230 mkdir -p ${D}DEPSDIR
48232 if test ${D}DEPSMODE = gcc ; then
48233 ${D}* ${D}{DEPSFLAG}
48235 if test ${D}{status} != 0 ; then
48238 # move created file to the location we want it in:
48239 while test ${D}# -gt 0; do
48253 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48254 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48255 if test -f ${D}depfile ; then
48256 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48259 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48260 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48261 if test ! -f ${D}depfile ; then
48262 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48263 depfile="${D}objfile.d"
48265 if test -f ${D}depfile ; then
48266 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48271 elif test ${D}DEPSMODE = mwcc ; then
48272 ${D}* || exit ${D}?
48273 # Run mwcc again with -MM and redirect into the dep file we want
48274 # NOTE: We can't use shift here because we need ${D}* to be valid
48276 for arg in ${D}* ; do
48277 if test "${D}prevarg" = "-o"; then
48290 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48292 elif test ${D}DEPSMODE = unixcc; then
48293 ${D}* || exit ${D}?
48294 # Run compiler again with deps flag and redirect into the dep file.
48295 # It doesn't work if the '-o FILE' option is used, but without it the
48296 # dependency file will contain the wrong name for the object. So it is
48297 # removed from the command line, and the dep file is fixed with sed.
48299 while test ${D}# -gt 0; do
48306 eval arg${D}#=\\${D}1
48307 cmd="${D}cmd \\${D}arg${D}#"
48312 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48321 BK_DEPS
="`pwd`/bk-deps"
48329 case ${BAKEFILE_HOST} in
48330 *-*-cygwin* | *-*-mingw32* )
48331 if test -n "$ac_tool_prefix"; then
48332 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48333 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
48334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48336 if test "${ac_cv_prog_WINDRES+set}" = set; then
48337 echo $ECHO_N "(cached) $ECHO_C" >&6
48339 if test -n "$WINDRES"; then
48340 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
48342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48343 for as_dir
in $PATH
48346 test -z "$as_dir" && as_dir
=.
48347 for ac_exec_ext
in '' $ac_executable_extensions; do
48348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48349 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
48350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48359 WINDRES
=$ac_cv_prog_WINDRES
48360 if test -n "$WINDRES"; then
48361 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48362 echo "${ECHO_T}$WINDRES" >&6; }
48364 { echo "$as_me:$LINENO: result: no" >&5
48365 echo "${ECHO_T}no" >&6; }
48370 if test -z "$ac_cv_prog_WINDRES"; then
48371 ac_ct_WINDRES
=$WINDRES
48372 # Extract the first word of "windres", so it can be a program name with args.
48373 set dummy windres
; ac_word
=$2
48374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48376 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48377 echo $ECHO_N "(cached) $ECHO_C" >&6
48379 if test -n "$ac_ct_WINDRES"; then
48380 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
48382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48383 for as_dir
in $PATH
48386 test -z "$as_dir" && as_dir
=.
48387 for ac_exec_ext
in '' $ac_executable_extensions; do
48388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48389 ac_cv_prog_ac_ct_WINDRES
="windres"
48390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48399 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
48400 if test -n "$ac_ct_WINDRES"; then
48401 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48402 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48404 { echo "$as_me:$LINENO: result: no" >&5
48405 echo "${ECHO_T}no" >&6; }
48408 if test "x$ac_ct_WINDRES" = x
; then
48411 case $cross_compiling:$ac_tool_warned in
48413 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48414 whose name does not start with the host triplet. If you think this
48415 configuration is useful to you, please write to autoconf@gnu.org." >&5
48416 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48417 whose name does not start with the host triplet. If you think this
48418 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48419 ac_tool_warned
=yes ;;
48421 WINDRES
=$ac_ct_WINDRES
48424 WINDRES
="$ac_cv_prog_WINDRES"
48429 *-*-darwin* | powerpc
-apple-macos* )
48430 # Extract the first word of "Rez", so it can be a program name with args.
48431 set dummy Rez
; ac_word
=$2
48432 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48434 if test "${ac_cv_prog_REZ+set}" = set; then
48435 echo $ECHO_N "(cached) $ECHO_C" >&6
48437 if test -n "$REZ"; then
48438 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
48440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48441 for as_dir
in $PATH
48444 test -z "$as_dir" && as_dir
=.
48445 for ac_exec_ext
in '' $ac_executable_extensions; do
48446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48447 ac_cv_prog_REZ
="Rez"
48448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48455 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
48458 REZ
=$ac_cv_prog_REZ
48459 if test -n "$REZ"; then
48460 { echo "$as_me:$LINENO: result: $REZ" >&5
48461 echo "${ECHO_T}$REZ" >&6; }
48463 { echo "$as_me:$LINENO: result: no" >&5
48464 echo "${ECHO_T}no" >&6; }
48468 # Extract the first word of "SetFile", so it can be a program name with args.
48469 set dummy SetFile
; ac_word
=$2
48470 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48472 if test "${ac_cv_prog_SETFILE+set}" = set; then
48473 echo $ECHO_N "(cached) $ECHO_C" >&6
48475 if test -n "$SETFILE"; then
48476 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
48478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48479 for as_dir
in $PATH
48482 test -z "$as_dir" && as_dir
=.
48483 for ac_exec_ext
in '' $ac_executable_extensions; do
48484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48485 ac_cv_prog_SETFILE
="SetFile"
48486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48493 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
48496 SETFILE
=$ac_cv_prog_SETFILE
48497 if test -n "$SETFILE"; then
48498 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48499 echo "${ECHO_T}$SETFILE" >&6; }
48501 { echo "$as_me:$LINENO: result: no" >&5
48502 echo "${ECHO_T}no" >&6; }
48514 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.2"
48517 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.2"
48521 # Check whether --enable-precomp-headers was given.
48522 if test "${enable_precomp_headers+set}" = set; then
48523 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
48532 case ${BAKEFILE_HOST} in
48538 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48539 if test "x$GCC" = "xyes"; then
48540 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48541 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48542 cat >conftest.
$ac_ext <<_ACEOF
48545 cat confdefs.h
>>conftest.
$ac_ext
48546 cat >>conftest.
$ac_ext <<_ACEOF
48547 /* end confdefs.h. */
48553 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48554 There is no PCH support
48557 There is no PCH support
48559 #if (__GNUC__ == 3) && \
48560 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48561 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48562 ( defined(__INTEL_COMPILER) )
48563 There is no PCH support
48570 rm -f conftest.
$ac_objext
48571 if { (ac_try
="$ac_compile"
48572 case "(($ac_try" in
48573 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48574 *) ac_try_echo=$ac_try;;
48576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48577 (eval "$ac_compile") 2>conftest.er1
48579 grep -v '^ *+' conftest.er1 >conftest.err
48581 cat conftest.err >&5
48582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48583 (exit $ac_status); } && {
48584 test -z "$ac_c_werror_flag" ||
48585 test ! -s conftest.err
48586 } && test -s conftest.$ac_objext; then
48588 { echo "$as_me:$LINENO: result: yes" >&5
48589 echo "${ECHO_T}yes" >&6; }
48593 echo "$as_me: failed program was:" >&5
48594 sed 's/^/| /' conftest.$ac_ext >&5
48597 cat >conftest.$ac_ext <<_ACEOF
48600 cat confdefs.h >>conftest.$ac_ext
48601 cat >>conftest.$ac_ext <<_ACEOF
48602 /* end confdefs.h. */
48608 #if !defined(__INTEL_COMPILER) || \
48609 (__INTEL_COMPILER < 800)
48610 There is no PCH support
48617 rm -f conftest.$ac_objext
48618 if { (ac_try="$ac_compile"
48619 case "(($ac_try" in
48620 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48621 *) ac_try_echo
=$ac_try;;
48623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48624 (eval "$ac_compile") 2>conftest.er1
48626 grep -v '^ *+' conftest.er1
>conftest.err
48628 cat conftest.err
>&5
48629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48630 (exit $ac_status); } && {
48631 test -z "$ac_c_werror_flag" ||
48632 test ! -s conftest.err
48633 } && test -s conftest.
$ac_objext; then
48635 { echo "$as_me:$LINENO: result: yes" >&5
48636 echo "${ECHO_T}yes" >&6; }
48640 echo "$as_me: failed program was:" >&5
48641 sed 's/^/| /' conftest.
$ac_ext >&5
48644 { echo "$as_me:$LINENO: result: no" >&5
48645 echo "${ECHO_T}no" >&6; }
48649 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48654 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48658 cat <<EOF >bk-make-pch
48661 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48662 # script. It is used to generated precompiled headers.
48664 # Permission is given to use this file in any way.
48674 while test ${D}{#} -gt 0; do
48678 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48679 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48680 headerfile="${D}{incdir}/${D}{header}"
48683 -use-pch|-use_pch )
48688 if test ${D}add_to_cmdline = 1 ; then
48689 compiler="${D}{compiler} ${D}{1}"
48694 if test "x${D}{headerfile}" = "x" ; then
48695 echo "error: can't find header ${D}{header} in include paths" >&2
48697 if test -f ${D}{outfile} ; then
48698 rm -f ${D}{outfile}
48700 mkdir -p \`dirname ${D}{outfile}\`
48702 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48704 if test "x${GCC_PCH}" = "x1" ; then
48705 # can do this because gcc is >= 3.4:
48706 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48707 elif test "x${ICC_PCH}" = "x1" ; then
48708 filename=pch_gen-${D}${D}
48709 file=${D}{filename}.c
48710 dfile=${D}{filename}.d
48711 cat > ${D}file <<EOT
48712 #include "${D}header"
48714 # using -MF icc complains about differing command lines in creation/use
48715 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48716 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48717 rm -f ${D}file ${D}dfile ${D}{filename}.o
48723 chmod +x bk
-make-pch
48724 BK_MAKE_PCH
="`pwd`/bk-make-pch"
48733 COND_BUILD_DEBUG
="#"
48734 if test "x$BUILD" = "xdebug" ; then
48735 COND_BUILD_DEBUG
=""
48738 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
48739 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48740 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
48743 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
48744 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48745 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
48748 COND_BUILD_DEBUG_UNICODE_0
="#"
48749 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48750 COND_BUILD_DEBUG_UNICODE_0
=""
48753 COND_BUILD_DEBUG_UNICODE_1
="#"
48754 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48755 COND_BUILD_DEBUG_UNICODE_1
=""
48758 COND_BUILD_RELEASE
="#"
48759 if test "x$BUILD" = "xrelease" ; then
48760 COND_BUILD_RELEASE
=""
48763 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
48764 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48765 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
48768 COND_BUILD_RELEASE_UNICODE_0
="#"
48769 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48770 COND_BUILD_RELEASE_UNICODE_0
=""
48773 COND_BUILD_RELEASE_UNICODE_1
="#"
48774 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48775 COND_BUILD_RELEASE_UNICODE_1
=""
48778 COND_DEBUG_FLAG_1
="#"
48779 if test "x$DEBUG_FLAG" = "x1" ; then
48780 COND_DEBUG_FLAG_1
=""
48783 COND_DEBUG_INFO_0
="#"
48784 if test "x$DEBUG_INFO" = "x0" ; then
48785 COND_DEBUG_INFO_0
=""
48788 COND_DEBUG_INFO_1
="#"
48789 if test "x$DEBUG_INFO" = "x1" ; then
48790 COND_DEBUG_INFO_1
=""
48793 COND_DEPS_TRACKING_0
="#"
48794 if test "x$DEPS_TRACKING" = "x0" ; then
48795 COND_DEPS_TRACKING_0
=""
48798 COND_DEPS_TRACKING_1
="#"
48799 if test "x$DEPS_TRACKING" = "x1" ; then
48800 COND_DEPS_TRACKING_1
=""
48804 if test "x$GCC_PCH" = "x1" ; then
48809 if test "x$ICC_PCH" = "x1" ; then
48813 COND_MONOLITHIC_0
="#"
48814 if test "x$MONOLITHIC" = "x0" ; then
48815 COND_MONOLITHIC_0
=""
48818 COND_MONOLITHIC_0_SHARED_0
="#"
48819 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48820 COND_MONOLITHIC_0_SHARED_0
=""
48823 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
48824 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48825 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
48828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
48829 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
48833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
48834 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48835 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
48838 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
48839 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48840 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
48843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
48844 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
48848 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
48849 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48850 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
48853 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
48854 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48855 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
48858 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
48859 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48860 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
48863 COND_MONOLITHIC_0_SHARED_1
="#"
48864 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48865 COND_MONOLITHIC_0_SHARED_1
=""
48868 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
48869 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48870 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
48873 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
48874 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48875 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
48878 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
48879 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48880 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
48883 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
48884 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48885 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
48888 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
48889 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48890 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
48893 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
48894 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48895 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
48898 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
48899 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48900 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
48903 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
48904 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48905 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
48908 COND_MONOLITHIC_0_USE_AUI_1
="#"
48909 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48910 COND_MONOLITHIC_0_USE_AUI_1
=""
48913 COND_MONOLITHIC_0_USE_GUI_1
="#"
48914 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48915 COND_MONOLITHIC_0_USE_GUI_1
=""
48918 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
48919 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48920 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
48923 COND_MONOLITHIC_0_USE_HTML_1
="#"
48924 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48925 COND_MONOLITHIC_0_USE_HTML_1
=""
48928 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
48929 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48930 COND_MONOLITHIC_0_USE_MEDIA_1
=""
48933 COND_MONOLITHIC_0_USE_QA_1
="#"
48934 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48935 COND_MONOLITHIC_0_USE_QA_1
=""
48938 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
48939 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48940 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
48943 COND_MONOLITHIC_0_USE_STC_1
="#"
48944 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48945 COND_MONOLITHIC_0_USE_STC_1
=""
48948 COND_MONOLITHIC_0_USE_XRC_1
="#"
48949 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48950 COND_MONOLITHIC_0_USE_XRC_1
=""
48953 COND_MONOLITHIC_1
="#"
48954 if test "x$MONOLITHIC" = "x1" ; then
48955 COND_MONOLITHIC_1
=""
48958 COND_MONOLITHIC_1_SHARED_0
="#"
48959 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48960 COND_MONOLITHIC_1_SHARED_0
=""
48963 COND_MONOLITHIC_1_SHARED_1
="#"
48964 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48965 COND_MONOLITHIC_1_SHARED_1
=""
48968 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
48969 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48970 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
48973 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
48974 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48975 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
48978 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
48979 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48980 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
48983 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
48984 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48985 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
48988 COND_PLATFORM_MACOSX_1
="#"
48989 if test "x$PLATFORM_MACOSX" = "x1" ; then
48990 COND_PLATFORM_MACOSX_1
=""
48993 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
48994 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48995 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
48998 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
48999 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49000 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
49003 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
49004 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49005 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
49008 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
49009 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49010 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
49013 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
49014 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49015 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
49018 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
49019 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49020 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
49023 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
49024 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49025 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
49028 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49029 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49030 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49033 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49034 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49035 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49038 COND_PLATFORM_MACOS_1
="#"
49039 if test "x$PLATFORM_MACOS" = "x1" ; then
49040 COND_PLATFORM_MACOS_1
=""
49043 COND_PLATFORM_MAC_1
="#"
49044 if test "x$PLATFORM_MAC" = "x1" ; then
49045 COND_PLATFORM_MAC_1
=""
49048 COND_PLATFORM_MSDOS_1
="#"
49049 if test "x$PLATFORM_MSDOS" = "x1" ; then
49050 COND_PLATFORM_MSDOS_1
=""
49053 COND_PLATFORM_OS2_1
="#"
49054 if test "x$PLATFORM_OS2" = "x1" ; then
49055 COND_PLATFORM_OS2_1
=""
49058 COND_PLATFORM_UNIX_0
="#"
49059 if test "x$PLATFORM_UNIX" = "x0" ; then
49060 COND_PLATFORM_UNIX_0
=""
49063 COND_PLATFORM_UNIX_1
="#"
49064 if test "x$PLATFORM_UNIX" = "x1" ; then
49065 COND_PLATFORM_UNIX_1
=""
49068 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
49069 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49070 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
49073 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
49074 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49075 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
49078 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49079 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49080 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49083 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49084 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49085 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49088 COND_PLATFORM_WIN32_0
="#"
49089 if test "x$PLATFORM_WIN32" = "x0" ; then
49090 COND_PLATFORM_WIN32_0
=""
49093 COND_PLATFORM_WIN32_1
="#"
49094 if test "x$PLATFORM_WIN32" = "x1" ; then
49095 COND_PLATFORM_WIN32_1
=""
49099 if test "x$SHARED" = "x0" ; then
49103 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49104 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49105 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49108 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49109 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49110 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49113 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49114 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49115 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49118 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49119 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49120 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49123 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49124 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49125 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49128 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49129 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49130 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49133 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49134 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49135 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49138 COND_SHARED_0_USE_STC_1
="#"
49139 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49140 COND_SHARED_0_USE_STC_1
=""
49143 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
49144 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49145 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
49148 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
49149 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49150 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
49153 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
49154 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49155 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
49159 if test "x$SHARED" = "x1" ; then
49163 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
49164 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49165 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
49169 if test "x$TOOLKIT" = "x" ; then
49173 COND_TOOLKIT_COCOA
="#"
49174 if test "x$TOOLKIT" = "xCOCOA" ; then
49175 COND_TOOLKIT_COCOA
=""
49178 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
49179 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49180 COND_TOOLKIT_COCOA_USE_GUI_1
=""
49183 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
49184 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49185 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
49188 COND_TOOLKIT_DFB
="#"
49189 if test "x$TOOLKIT" = "xDFB" ; then
49190 COND_TOOLKIT_DFB
=""
49193 COND_TOOLKIT_DFB_USE_GUI_1
="#"
49194 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49195 COND_TOOLKIT_DFB_USE_GUI_1
=""
49198 COND_TOOLKIT_GTK
="#"
49199 if test "x$TOOLKIT" = "xGTK" ; then
49200 COND_TOOLKIT_GTK
=""
49203 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
49204 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49205 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
49208 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
49209 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49210 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
49213 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
49214 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49215 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
49218 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
49219 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49220 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
49223 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
="#"
49224 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49225 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
=""
49228 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
49229 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49230 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
49233 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
49234 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49235 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
49238 COND_TOOLKIT_GTK_USE_GUI_1
="#"
49239 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49240 COND_TOOLKIT_GTK_USE_GUI_1
=""
49243 COND_TOOLKIT_MAC
="#"
49244 if test "x$TOOLKIT" = "xMAC" ; then
49245 COND_TOOLKIT_MAC
=""
49248 COND_TOOLKIT_MAC_USE_GUI_1
="#"
49249 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49250 COND_TOOLKIT_MAC_USE_GUI_1
=""
49253 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49254 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49255 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49258 COND_TOOLKIT_MGL
="#"
49259 if test "x$TOOLKIT" = "xMGL" ; then
49260 COND_TOOLKIT_MGL
=""
49263 COND_TOOLKIT_MGL_USE_GUI_1
="#"
49264 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49265 COND_TOOLKIT_MGL_USE_GUI_1
=""
49268 COND_TOOLKIT_MOTIF
="#"
49269 if test "x$TOOLKIT" = "xMOTIF" ; then
49270 COND_TOOLKIT_MOTIF
=""
49273 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
49274 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49275 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
49278 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
49279 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49280 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
49283 COND_TOOLKIT_MSW
="#"
49284 if test "x$TOOLKIT" = "xMSW" ; then
49285 COND_TOOLKIT_MSW
=""
49288 COND_TOOLKIT_MSW_USE_GUI_1
="#"
49289 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49290 COND_TOOLKIT_MSW_USE_GUI_1
=""
49293 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
49294 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49295 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
49298 COND_TOOLKIT_MSW_WXUNIV_0
="#"
49299 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49300 COND_TOOLKIT_MSW_WXUNIV_0
=""
49303 COND_TOOLKIT_PM
="#"
49304 if test "x$TOOLKIT" = "xPM" ; then
49308 COND_TOOLKIT_PM_USE_GUI_1
="#"
49309 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49310 COND_TOOLKIT_PM_USE_GUI_1
=""
49313 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
49314 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49315 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
49318 COND_TOOLKIT_WINCE
="#"
49319 if test "x$TOOLKIT" = "xWINCE" ; then
49320 COND_TOOLKIT_WINCE
=""
49323 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
49324 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49325 COND_TOOLKIT_WINCE_USE_GUI_1
=""
49328 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
49329 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49330 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
49333 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
49334 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49335 COND_TOOLKIT_WINCE_WXUNIV_0
=""
49338 COND_TOOLKIT_X11
="#"
49339 if test "x$TOOLKIT" = "xX11" ; then
49340 COND_TOOLKIT_X11
=""
49343 COND_TOOLKIT_X11_USE_GUI_1
="#"
49344 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49345 COND_TOOLKIT_X11_USE_GUI_1
=""
49349 if test "x$UNICODE" = "x1" ; then
49353 COND_USE_EXCEPTIONS_0
="#"
49354 if test "x$USE_EXCEPTIONS" = "x0" ; then
49355 COND_USE_EXCEPTIONS_0
=""
49358 COND_USE_EXCEPTIONS_1
="#"
49359 if test "x$USE_EXCEPTIONS" = "x1" ; then
49360 COND_USE_EXCEPTIONS_1
=""
49364 if test "x$USE_GUI" = "x0" ; then
49369 if test "x$USE_GUI" = "x1" ; then
49373 COND_USE_GUI_1_USE_OPENGL_1
="#"
49374 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49375 COND_USE_GUI_1_USE_OPENGL_1
=""
49378 COND_USE_GUI_1_WXUNIV_0
="#"
49379 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49380 COND_USE_GUI_1_WXUNIV_0
=""
49383 COND_USE_GUI_1_WXUNIV_1
="#"
49384 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49385 COND_USE_GUI_1_WXUNIV_1
=""
49388 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49389 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49390 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49393 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49394 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49395 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49398 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49399 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49400 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49404 if test "x$USE_PCH" = "x1" ; then
49408 COND_USE_PLUGINS_0
="#"
49409 if test "x$USE_PLUGINS" = "x0" ; then
49410 COND_USE_PLUGINS_0
=""
49413 COND_USE_RTTI_0
="#"
49414 if test "x$USE_RTTI" = "x0" ; then
49418 COND_USE_RTTI_1
="#"
49419 if test "x$USE_RTTI" = "x1" ; then
49423 COND_USE_SOSYMLINKS_1
="#"
49424 if test "x$USE_SOSYMLINKS" = "x1" ; then
49425 COND_USE_SOSYMLINKS_1
=""
49428 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
49429 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49430 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
49433 COND_USE_SOVERLINUX_1
="#"
49434 if test "x$USE_SOVERLINUX" = "x1" ; then
49435 COND_USE_SOVERLINUX_1
=""
49438 COND_USE_SOVERSION_0
="#"
49439 if test "x$USE_SOVERSION" = "x0" ; then
49440 COND_USE_SOVERSION_0
=""
49443 COND_USE_SOVERSOLARIS_1
="#"
49444 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49445 COND_USE_SOVERSOLARIS_1
=""
49449 if test "x$USE_STC" = "x1" ; then
49453 COND_USE_THREADS_0
="#"
49454 if test "x$USE_THREADS" = "x0" ; then
49455 COND_USE_THREADS_0
=""
49458 COND_USE_THREADS_1
="#"
49459 if test "x$USE_THREADS" = "x1" ; then
49460 COND_USE_THREADS_1
=""
49464 if test "x$USE_XRC" = "x1" ; then
49468 COND_WINDOWS_IMPLIB_1
="#"
49469 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49470 COND_WINDOWS_IMPLIB_1
=""
49473 COND_WITH_PLUGIN_SDL_1
="#"
49474 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49475 COND_WITH_PLUGIN_SDL_1
=""
49479 if test "x$WXUNIV" = "x0" ; then
49484 if test "x$WXUNIV" = "x1" ; then
49488 COND_WXUSE_EXPAT_BUILTIN
="#"
49489 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49490 COND_WXUSE_EXPAT_BUILTIN
=""
49493 COND_WXUSE_LIBJPEG_BUILTIN
="#"
49494 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49495 COND_WXUSE_LIBJPEG_BUILTIN
=""
49498 COND_WXUSE_LIBPNG_BUILTIN
="#"
49499 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49500 COND_WXUSE_LIBPNG_BUILTIN
=""
49503 COND_WXUSE_LIBTIFF_BUILTIN
="#"
49504 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49505 COND_WXUSE_LIBTIFF_BUILTIN
=""
49508 COND_WXUSE_REGEX_BUILTIN
="#"
49509 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49510 COND_WXUSE_REGEX_BUILTIN
=""
49513 COND_WXUSE_ZLIB_BUILTIN
="#"
49514 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49515 COND_WXUSE_ZLIB_BUILTIN
=""
49520 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49521 { { 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
49522 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;}
49523 { (exit 1); exit 1; }; }
49526 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49527 { { 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
49528 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;}
49529 { (exit 1); exit 1; }; }
49536 ?
:* ) # Drive letter, considered as absolute.
49539 INSTALL
=`pwd`/${INSTALL} ;;
49542 if test "$wxUSE_GUI" = "yes"; then
49544 if test "$wxUSE_MSW" = 1 ; then
49545 if test "x$WINDRES" = "x"; then
49546 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49547 echo "$as_me: error: Required windres program not found" >&2;}
49548 { (exit 1); exit 1; }; }
49554 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49555 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49556 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49558 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49560 # Extract the first word of "DeRez", so it can be a program name with args.
49561 set dummy DeRez
; ac_word
=$2
49562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49564 if test "${ac_cv_prog_DEREZ+set}" = set; then
49565 echo $ECHO_N "(cached) $ECHO_C" >&6
49567 if test -n "$DEREZ"; then
49568 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
49570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49571 for as_dir
in $PATH
49574 test -z "$as_dir" && as_dir
=.
49575 for ac_exec_ext
in '' $ac_executable_extensions; do
49576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49577 ac_cv_prog_DEREZ
="DeRez"
49578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49585 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
49588 DEREZ
=$ac_cv_prog_DEREZ
49589 if test -n "$DEREZ"; then
49590 { echo "$as_me:$LINENO: result: $DEREZ" >&5
49591 echo "${ECHO_T}$DEREZ" >&6; }
49593 { echo "$as_me:$LINENO: result: no" >&5
49594 echo "${ECHO_T}no" >&6; }
49599 MACSETFILE
="\$(SETFILE)"
49601 if test "$wxUSE_MAC" = 1; then
49602 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
49604 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
49606 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
49607 RESCOMP
="cat /dev/null \| $REZ"
49608 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
49614 if test "$wxUSE_PM" = 1; then
49616 WXCONFIG_RESFLAGS
="-ep"
49618 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
49620 POSTLINK_COMMAND
="@true"
49627 if test $GCC_PCH = 1
49629 if test "$wx_cv_gcc_pch_bug" = yes; then
49630 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49631 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49632 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49633 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49634 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49635 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49638 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
49642 if test "$wxUSE_MAC" = 1 ; then
49643 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49644 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
49650 if test "$wxUSE_SHARED" = "yes"; then
49652 *-pc-os2_emx | *-pc-os2-emx )
49653 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49654 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49655 cp -p ${srcdir}/src
/os
2/dllnames.sh .
49656 cp -p ${srcdir}/src
/os
2/dllar.sh .
49660 if test "$wxUSE_OMF" = "yes"; then
49662 *-pc-os2_emx | *-pc-os2-emx )
49663 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
49664 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49665 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49670 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49675 if test "$GCC" = yes; then
49676 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
49677 LIBS
=`echo $LIBS | sed 's/-mt//'`
49678 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49683 if test "x$SUNCXX" = xyes
; then
49684 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
49685 LIBS
=`echo $LIBS | sed 's/-pthread//'`
49686 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49691 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
49692 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49694 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49755 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49756 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49757 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49758 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
49759 echo $ECHO_N "(cached) $ECHO_C" >&6
49761 cat >conftest.
make <<\_ACEOF
49764 @
echo '@@@%%%=$(MAKE)=@@@%%%'
49766 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49767 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49768 *@@@
%%%=?
*=@@@
%%%*)
49769 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
49771 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
49773 rm -f conftest.
make
49775 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
49776 { echo "$as_me:$LINENO: result: yes" >&5
49777 echo "${ECHO_T}yes" >&6; }
49780 { echo "$as_me:$LINENO: result: no" >&5
49781 echo "${ECHO_T}no" >&6; }
49782 SET_MAKE
="MAKE=${MAKE-make}"
49787 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49790 if test "$USE_WIN32" = 1; then
49791 ac_config_commands
="$ac_config_commands
49797 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49800 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49803 if test "$wx_cv_version_script" = "yes"; then
49804 ac_config_files
="$ac_config_files version-script"
49807 ac_config_files
="$ac_config_files Makefile"
49810 ac_config_commands
="$ac_config_commands wx-config"
49814 if test "$wxWITH_SUBDIRS" != "no"; then
49815 if test "$wxUSE_GUI" = "yes"; then
49816 SUBDIRS
="samples demos utils"
49818 SUBDIRS
="samples utils"
49823 # Check whether --with-cppunit-prefix was given.
49824 if test "${with_cppunit_prefix+set}" = set; then
49825 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
49827 cppunit_config_prefix
=""
49831 # Check whether --with-cppunit-exec-prefix was given.
49832 if test "${with_cppunit_exec_prefix+set}" = set; then
49833 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
49835 cppunit_config_exec_prefix
=""
49839 if test x
$cppunit_config_exec_prefix != x
; then
49840 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49841 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49842 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
49845 if test x
$cppunit_config_prefix != x
; then
49846 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
49847 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49848 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
49852 # Extract the first word of "cppunit-config", so it can be a program name with args.
49853 set dummy cppunit
-config; ac_word
=$2
49854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49856 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49857 echo $ECHO_N "(cached) $ECHO_C" >&6
49859 case $CPPUNIT_CONFIG in
49861 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49865 for as_dir
in $PATH
49868 test -z "$as_dir" && as_dir
=.
49869 for ac_exec_ext
in '' $ac_executable_extensions; do
49870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49871 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
49872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49879 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
49883 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
49884 if test -n "$CPPUNIT_CONFIG"; then
49885 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49886 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49888 { echo "$as_me:$LINENO: result: no" >&5
49889 echo "${ECHO_T}no" >&6; }
49893 cppunit_version_min
=1.8.0
49895 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49896 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49898 if test "$CPPUNIT_CONFIG" = "no" ; then
49899 { echo "$as_me:$LINENO: result: no" >&5
49900 echo "${ECHO_T}no" >&6; }
49903 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
49904 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
49905 cppunit_version
=`$CPPUNIT_CONFIG --version`
49907 cppunit_major_version
=`echo $cppunit_version | \
49908 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49909 cppunit_minor_version
=`echo $cppunit_version | \
49910 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49911 cppunit_micro_version
=`echo $cppunit_version | \
49912 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49914 cppunit_major_min
=`echo $cppunit_version_min | \
49915 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49916 cppunit_minor_min
=`echo $cppunit_version_min | \
49917 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49918 cppunit_micro_min
=`echo $cppunit_version_min | \
49919 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49921 cppunit_version_proper
=`expr \
49922 $cppunit_major_version \> $cppunit_major_min \| \
49923 $cppunit_major_version \= $cppunit_major_min \& \
49924 $cppunit_minor_version \> $cppunit_minor_min \| \
49925 $cppunit_major_version \= $cppunit_major_min \& \
49926 $cppunit_minor_version \= $cppunit_minor_min \& \
49927 $cppunit_micro_version \>= $cppunit_micro_min `
49929 if test "$cppunit_version_proper" = "1" ; then
49930 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49931 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49933 { echo "$as_me:$LINENO: result: no" >&5
49934 echo "${ECHO_T}no" >&6; }
49939 if test "x$no_cppunit" = x
; then
49940 SUBDIRS
="$SUBDIRS tests"
49951 for subdir
in $SUBDIRS; do
49952 if test -d ${srcdir}/${subdir} ; then
49953 if test "$wxUSE_GUI" = "yes"; then
49954 if test ${subdir} = "samples"; then
49955 makefiles
="samples/Makefile.in $makefiles"
49956 for sample
in $SAMPLES_SUBDIRS; do
49957 if test -d $srcdir/samples
/$sample; then
49958 makefiles
="samples/$sample/Makefile.in $makefiles"
49962 disabled_var
=DISABLED_
`echo $subdir | tr a-z A-Z`
49963 eval "disabled=\$$disabled_var"
49964 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
49965 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49968 if test ${subdir} = "samples"; then
49969 makefiles
="samples/Makefile.in samples/console/Makefile.in"
49970 elif test ${subdir} = "utils"; then
49972 for util
in HelpGen tex2rtf
; do
49973 if test -d $srcdir/utils
/$util ; then
49974 makefiles
="utils/$util/Makefile.in \
49975 utils/$util/src/Makefile.in \
49980 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
49984 for mkin
in $makefiles ; do
49985 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49986 ac_config_files
="$ac_config_files $mk"
49992 cat >confcache
<<\_ACEOF
49993 # This file is a shell script that caches the results of configure
49994 # tests run on this system so they can be shared between configure
49995 # scripts and configure runs, see configure's option --config-cache.
49996 # It is not useful on other systems. If it contains results you don't
49997 # want to keep, you may remove or edit it.
49999 # config.status only pays attention to the cache file if you give it
50000 # the --recheck option to rerun configure.
50002 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50003 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50004 # following values.
50008 # The following way of writing the cache mishandles newlines in values,
50009 # but we know of no workaround that is simple, portable, and efficient.
50010 # So, we kill variables containing newlines.
50011 # Ultrix sh set writes to stderr and can't be redirected directly,
50012 # and sets the high bit in the cache file unless we assign to the vars.
50014 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50015 eval ac_val
=\$
$ac_var
50019 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50020 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50023 _
| IFS
| as_nl
) ;; #(
50024 *) $as_unset $ac_var ;;
50030 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50031 *${as_nl}ac_space
=\
*)
50032 # `set' does not quote correctly, so add quotes (double-quote
50033 # substitution turns \\\\ into \\, and sed turns \\ into \).
50036 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50039 # `set' quotes correctly as required by POSIX, so do not add quotes.
50040 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50049 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50051 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50053 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
50054 if test -w "$cache_file"; then
50055 test "x$cache_file" != "x/dev/null" &&
50056 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50057 echo "$as_me: updating cache $cache_file" >&6;}
50058 cat confcache
>$cache_file
50060 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50061 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50066 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
50067 # Let make expand exec_prefix.
50068 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
50070 DEFS
=-DHAVE_CONFIG_H
50074 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
50075 # 1. Remove the extension, and $U if already installed.
50076 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
50077 ac_i
=`echo "$ac_i" | sed "$ac_script"`
50078 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50079 # will be set to the directory where LIBOBJS objects are built.
50080 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50081 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50083 LIBOBJS
=$ac_libobjs
50085 LTLIBOBJS
=$ac_ltlibobjs
50089 : ${CONFIG_STATUS=./config.status}
50090 ac_clean_files_save
=$ac_clean_files
50091 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
50092 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50093 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50094 cat >$CONFIG_STATUS <<_ACEOF
50096 # Generated by $as_me.
50097 # Run this file to recreate the current configuration.
50098 # Compiler output produced by configure, useful for debugging
50099 # configure, is in config.log if it exists.
50102 ac_cs_recheck=false
50104 SHELL=\${CONFIG_SHELL-$SHELL}
50107 cat >>$CONFIG_STATUS <<\_ACEOF
50108 ## --------------------- ##
50109 ## M4sh Initialization. ##
50110 ## --------------------- ##
50112 # Be more Bourne compatible
50113 DUALCASE
=1; export DUALCASE
# for MKS sh
50114 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
50117 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50118 # is contrary to our usage. Disable this feature.
50119 alias -g '${1+"$@"}'='"$@"'
50120 setopt NO_GLOB_SUBST
50122 case `(set -o) 2>/dev/null` in
50123 *posix
*) set -o posix
;;
50132 # Avoid depending upon Character Ranges.
50133 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50134 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50135 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50136 as_cr_digits
='0123456789'
50137 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50139 # The user is always right.
50140 if test "${PATH_SEPARATOR+set}" != set; then
50141 echo "#! /bin/sh" >conf$$.sh
50142 echo "exit 0" >>conf$$.sh
50144 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50152 # Support unset when possible.
50153 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
50161 # We need space, tab and new line, in precisely that order. Quoting is
50162 # there to prevent editors from complaining about space-tab.
50163 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50164 # splitting by setting IFS to empty value.)
50169 # Find who we are. Look in the path if we contain no directory separator.
50171 *[\\/]* ) as_myself
=$0 ;;
50172 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50173 for as_dir
in $PATH
50176 test -z "$as_dir" && as_dir
=.
50177 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50183 # We did not find ourselves, most probably we were run as `sh COMMAND'
50184 # in which case we are not to be found in the path.
50185 if test "x$as_myself" = x
; then
50188 if test ! -f "$as_myself"; then
50189 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50190 { (exit 1); exit 1; }
50193 # Work around bugs in pre-3.0 UWIN ksh.
50194 for as_var
in ENV MAIL MAILPATH
50195 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
50203 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50204 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50205 LC_TELEPHONE LC_TIME
50207 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50208 eval $as_var=C
; export $as_var
50210 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
50214 # Required to use basename.
50215 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
50216 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
50222 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50223 as_basename
=basename
50229 # Name of the executable.
50230 as_me
=`$as_basename -- "$0" ||
50231 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50232 X"$0" : 'X\(//\)$' \| \
50233 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50235 sed '/^.*\/\([^/][^/]*\)\/*$/{
50254 as_lineno_1
=$LINENO
50255 as_lineno_2
=$LINENO
50256 test "x$as_lineno_1" != "x$as_lineno_2" &&
50257 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50259 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50260 # uniformly replaced by the line number. The first 'sed' inserts a
50261 # line-number line after each line using $LINENO; the second 'sed'
50262 # does the real work. The second script uses 'N' to pair each
50263 # line-number line with the line containing $LINENO, and appends
50264 # trailing '-' during substitution so that $LINENO is not a special
50265 # case at line end.
50266 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50267 # scripts with optimization help from Paolo Bonzini. Blame Lee
50268 # E. McMahon (1931-1989) for sed's syntax. :-)
50280 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50283 ' >$as_me.lineno
&&
50284 chmod +x
"$as_me.lineno" ||
50285 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50286 { (exit 1); exit 1; }; }
50288 # Don't try to exec as it changes $[0], causing all sort of problems
50289 # (the dirname of $[0] is not the place where we might find the
50290 # original and so on. Autoconf is especially sensitive to this).
50291 .
"./$as_me.lineno"
50292 # Exit status is that of the last command.
50297 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
50303 ECHO_C
= ECHO_N
= ECHO_T
=
50304 case `echo -n x` in
50306 case `echo 'x\c'` in
50307 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
50314 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
50315 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
50321 rm -f conf$$ conf$$.exe conf$$.
file
50322 if test -d conf$$.dir
; then
50323 rm -f conf$$.dir
/conf$$.
file
50329 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
50331 # ... but there are two gotchas:
50332 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50333 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50334 # In both cases, we have to default to `cp -p'.
50335 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
50337 elif ln conf$$.
file conf$$
2>/dev
/null
; then
50342 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
50343 rmdir conf$$.dir
2>/dev
/null
50345 if mkdir -p .
2>/dev
/null
; then
50348 test -d .
/-p && rmdir .
/-p
50352 if test -x / >/dev
/null
2>&1; then
50353 as_test_x
='test -x'
50355 if ls -dL / >/dev
/null
2>&1; then
50362 if test -d "$1"; then
50368 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50369 ???[sx]*):;;*)false;;esac;fi
50373 as_executable_p
=$as_test_x
50375 # Sed expression to map a string onto a valid CPP name.
50376 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50378 # Sed expression to map a string onto a valid variable name.
50379 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50384 # Save the log message, to keep $[0] and so on meaningful, and to
50385 # report actual input values of CONFIG_FILES etc. instead of their
50386 # values after options handling.
50388 This file was extended by wxWidgets $as_me 2.9.0, which was
50389 generated by GNU Autoconf 2.61. Invocation command line was
50391 CONFIG_FILES = $CONFIG_FILES
50392 CONFIG_HEADERS = $CONFIG_HEADERS
50393 CONFIG_LINKS = $CONFIG_LINKS
50394 CONFIG_COMMANDS = $CONFIG_COMMANDS
50397 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50402 cat >>$CONFIG_STATUS <<_ACEOF
50403 # Files that config.status was made for.
50404 config_files="$ac_config_files"
50405 config_headers="$ac_config_headers"
50406 config_commands="$ac_config_commands"
50410 cat >>$CONFIG_STATUS <<\_ACEOF
50412 \`$as_me' instantiates files from templates according to the
50413 current configuration.
50415 Usage: $0 [OPTIONS] [FILE]...
50417 -h, --help print this help, then exit
50418 -V, --version print version number and configuration settings, then exit
50419 -q, --quiet do not print progress messages
50420 -d, --debug don't remove temporary files
50421 --recheck update $as_me by reconfiguring in the same conditions
50422 --file=FILE[:TEMPLATE]
50423 instantiate the configuration file FILE
50424 --header=FILE[:TEMPLATE]
50425 instantiate the configuration header FILE
50427 Configuration files:
50430 Configuration headers:
50433 Configuration commands:
50436 Report bugs to <bug-autoconf@gnu.org>."
50439 cat >>$CONFIG_STATUS <<_ACEOF
50441 wxWidgets config.status 2.9.0
50442 configured by $0, generated by GNU Autoconf 2.61,
50443 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50445 Copyright (C) 2006 Free Software Foundation, Inc.
50446 This config.status script is free software; the Free Software Foundation
50447 gives unlimited permission to copy, distribute and modify it."
50454 cat >>$CONFIG_STATUS <<\_ACEOF
50455 # If no file are specified by the user, then we need to provide default
50456 # value. By we need to know if files were specified by the user.
50462 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
50463 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
50474 # Handling of the options.
50475 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50477 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50478 echo "$ac_cs_version"; exit ;;
50479 --debug | --debu | --deb | --de | --d | -d )
50481 --file | --fil | --fi | --f )
50483 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
50484 ac_need_defaults
=false
;;
50485 --header | --heade | --head | --hea )
50487 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
50488 ac_need_defaults
=false
;;
50490 # Conflict between --help and --header
50491 { echo "$as_me: error: ambiguous option: $1
50492 Try \`$0 --help' for more information." >&2
50493 { (exit 1); exit 1; }; };;
50494 --help | --hel | -h )
50495 echo "$ac_cs_usage"; exit ;;
50496 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50497 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50500 # This is an error.
50501 -*) { echo "$as_me: error: unrecognized option: $1
50502 Try \`$0 --help' for more information." >&2
50503 { (exit 1); exit 1; }; } ;;
50505 *) ac_config_targets
="$ac_config_targets $1"
50506 ac_need_defaults
=false
;;
50512 ac_configure_extra_args
=
50514 if $ac_cs_silent; then
50516 ac_configure_extra_args
="$ac_configure_extra_args --silent"
50520 cat >>$CONFIG_STATUS <<_ACEOF
50521 if \$ac_cs_recheck; then
50522 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50523 CONFIG_SHELL=$SHELL
50524 export CONFIG_SHELL
50525 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50529 cat >>$CONFIG_STATUS <<\_ACEOF
50533 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50534 ## Running $as_me. ##
50540 cat >>$CONFIG_STATUS <<_ACEOF
50546 infile="$srcdir/include/wx/msw/genrcdefs.h"
50547 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50550 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50551 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50552 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50558 cat >>$CONFIG_STATUS <<\_ACEOF
50560 # Handling of arguments.
50561 for ac_config_target
in $ac_config_targets
50563 case $ac_config_target in
50564 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50565 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
50566 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50567 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50568 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
50569 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
50570 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
50571 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
50573 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50574 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50575 { (exit 1); exit 1; }; };;
50580 # If the user did not use the arguments to specify the items to instantiate,
50581 # then the envvar interface is used. Set only those that are not.
50582 # We use the long form for the default assignment because of an extremely
50583 # bizarre bug on SunOS 4.1.3.
50584 if $ac_need_defaults; then
50585 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
50586 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
50587 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
50590 # Have a temporary directory for convenience. Make it in the build tree
50591 # simply because there is no reason against having it here, and in addition,
50592 # creating and moving files from /tmp can sometimes cause problems.
50593 # Hook for its removal unless debugging.
50594 # Note that there is a small window in which the directory will not be cleaned:
50595 # after its creation but before its name has been assigned to `$tmp'.
50599 trap 'exit_status=$?
50600 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50602 trap '{ (exit 1); exit 1; }' 1 2 13 15
50604 # Create a (secure) tmp directory for tmp files.
50607 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50608 test -n "$tmp" && test -d "$tmp"
50611 tmp
=.
/conf$$
-$RANDOM
50612 (umask 077 && mkdir "$tmp")
50615 echo "$me: cannot create a temporary directory in ." >&2
50616 { (exit 1); exit 1; }
50620 # Set up the sed scripts for CONFIG_FILES section.
50623 # No need to generate the scripts if there are no CONFIG_FILES.
50624 # This happens for instance when ./config.status config.h
50625 if test -n "$CONFIG_FILES"; then
50632 for ac_last_try
in false false false false false
:; do
50633 cat >conf$
$subs.
sed <<_ACEOF
50634 SHELL!$SHELL$ac_delim
50635 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50636 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50637 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50638 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50639 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50640 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50641 exec_prefix!$exec_prefix$ac_delim
50642 prefix!$prefix$ac_delim
50643 program_transform_name!$program_transform_name$ac_delim
50644 bindir!$bindir$ac_delim
50645 sbindir!$sbindir$ac_delim
50646 libexecdir!$libexecdir$ac_delim
50647 datarootdir!$datarootdir$ac_delim
50648 datadir!$datadir$ac_delim
50649 sysconfdir!$sysconfdir$ac_delim
50650 sharedstatedir!$sharedstatedir$ac_delim
50651 localstatedir!$localstatedir$ac_delim
50652 includedir!$includedir$ac_delim
50653 oldincludedir!$oldincludedir$ac_delim
50654 docdir!$docdir$ac_delim
50655 infodir!$infodir$ac_delim
50656 htmldir!$htmldir$ac_delim
50657 dvidir!$dvidir$ac_delim
50658 pdfdir!$pdfdir$ac_delim
50659 psdir!$psdir$ac_delim
50660 libdir!$libdir$ac_delim
50661 localedir!$localedir$ac_delim
50662 mandir!$mandir$ac_delim
50663 DEFS!$DEFS$ac_delim
50664 ECHO_C!$ECHO_C$ac_delim
50665 ECHO_N!$ECHO_N$ac_delim
50666 ECHO_T!$ECHO_T$ac_delim
50667 LIBS!$LIBS$ac_delim
50668 build_alias!$build_alias$ac_delim
50669 host_alias!$host_alias$ac_delim
50670 target_alias!$target_alias$ac_delim
50671 build!$build$ac_delim
50672 build_cpu!$build_cpu$ac_delim
50673 build_vendor!$build_vendor$ac_delim
50674 build_os!$build_os$ac_delim
50675 host!$host$ac_delim
50676 host_cpu!$host_cpu$ac_delim
50677 host_vendor!$host_vendor$ac_delim
50678 host_os!$host_os$ac_delim
50679 target!$target$ac_delim
50680 target_cpu!$target_cpu$ac_delim
50681 target_vendor!$target_vendor$ac_delim
50682 target_os!$target_os$ac_delim
50683 wx_top_builddir!$wx_top_builddir$ac_delim
50685 CFLAGS!$CFLAGS$ac_delim
50686 LDFLAGS!$LDFLAGS$ac_delim
50687 CPPFLAGS!$CPPFLAGS$ac_delim
50688 ac_ct_CC!$ac_ct_CC$ac_delim
50689 EXEEXT!$EXEEXT$ac_delim
50690 OBJEXT!$OBJEXT$ac_delim
50692 GREP!$GREP$ac_delim
50693 EGREP!$EGREP$ac_delim
50695 CXXFLAGS!$CXXFLAGS$ac_delim
50696 ac_ct_CXX!$ac_ct_CXX$ac_delim
50698 subdirs!$subdirs$ac_delim
50699 PKG_CONFIG!$PKG_CONFIG$ac_delim
50700 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50701 GTK_LIBS!$GTK_LIBS$ac_delim
50702 GTK_CONFIG!$GTK_CONFIG$ac_delim
50703 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50704 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50705 XMKMF!$XMKMF$ac_delim
50706 X_CFLAGS!$X_CFLAGS$ac_delim
50707 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50708 X_LIBS!$X_LIBS$ac_delim
50709 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50710 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50711 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50712 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50713 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50714 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50715 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50716 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50717 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50718 LIBICONV!$LIBICONV$ac_delim
50719 SDL_CONFIG!$SDL_CONFIG$ac_delim
50720 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50721 SDL_LIBS!$SDL_LIBS$ac_delim
50722 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
50723 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
50724 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50725 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50726 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50727 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50728 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50729 HILDON_LIBS!$HILDON_LIBS$ac_delim
50730 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50733 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50735 elif $ac_last_try; then
50736 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50737 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50738 { (exit 1); exit 1; }; }
50740 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50744 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50745 if test -n "$ac_eof"; then
50746 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50747 ac_eof
=`expr $ac_eof + 1`
50750 cat >>$CONFIG_STATUS <<_ACEOF
50751 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50752 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50755 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50756 s/^/s,@/; s/!/@,|#_!!_#|/
50759 s/'"$ac_delim"'$/,g/; t
50761 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50762 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50763 rm -f conf$
$subs.
sed
50764 cat >>$CONFIG_STATUS <<_ACEOF
50770 for ac_last_try
in false false false false false
:; do
50771 cat >conf$
$subs.
sed <<_ACEOF
50772 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50773 GST_CFLAGS!$GST_CFLAGS$ac_delim
50774 GST_LIBS!$GST_LIBS$ac_delim
50775 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
50776 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
50777 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
50778 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
50779 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50780 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50781 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50782 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50783 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50784 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50785 VENDOR!$VENDOR$ac_delim
50786 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50787 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50788 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50789 WXUNIV!$WXUNIV$ac_delim
50790 MONOLITHIC!$MONOLITHIC$ac_delim
50791 USE_PLUGINS!$USE_PLUGINS$ac_delim
50792 CXXWARNINGS!$CXXWARNINGS$ac_delim
50793 EXTRALIBS!$EXTRALIBS$ac_delim
50794 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50795 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50796 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
50797 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50798 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50799 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50800 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50801 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
50802 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50803 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50804 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50805 UNICODE!$UNICODE$ac_delim
50806 BUILD!$BUILD$ac_delim
50807 DEBUG_INFO!$DEBUG_INFO$ac_delim
50808 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50809 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50810 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50811 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50812 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50813 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50814 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50815 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50816 RANLIB!$RANLIB$ac_delim
50817 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50818 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50819 INSTALL_DATA!$INSTALL_DATA$ac_delim
50820 LN_S!$LN_S$ac_delim
50821 SET_MAKE!$SET_MAKE$ac_delim
50822 MAKE_SET!$MAKE_SET$ac_delim
50823 AROPTIONS!$AROPTIONS$ac_delim
50824 STRIP!$STRIP$ac_delim
50826 INSTALL_DIR!$INSTALL_DIR$ac_delim
50827 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50828 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50829 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50830 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50831 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50832 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50833 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50834 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50835 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50836 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50837 SO_SUFFIX!$SO_SUFFIX$ac_delim
50838 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50839 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50840 LIBPREFIX!$LIBPREFIX$ac_delim
50841 LIBEXT!$LIBEXT$ac_delim
50842 DLLPREFIX!$DLLPREFIX$ac_delim
50843 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50844 dlldir!$dlldir$ac_delim
50845 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50846 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50847 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50848 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50849 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50850 PIC_FLAG!$PIC_FLAG$ac_delim
50851 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50852 USE_SOVERSION!$USE_SOVERSION$ac_delim
50853 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50854 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50855 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50856 USE_MACVERSION!$USE_MACVERSION$ac_delim
50857 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50858 SONAME_FLAG!$SONAME_FLAG$ac_delim
50859 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50860 BK_DEPS!$BK_DEPS$ac_delim
50861 WINDRES!$WINDRES$ac_delim
50863 SETFILE!$SETFILE$ac_delim
50864 GCC_PCH!$GCC_PCH$ac_delim
50865 ICC_PCH!$ICC_PCH$ac_delim
50866 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50867 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50868 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50871 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50873 elif $ac_last_try; then
50874 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50875 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50876 { (exit 1); exit 1; }; }
50878 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50882 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50883 if test -n "$ac_eof"; then
50884 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50885 ac_eof
=`expr $ac_eof + 1`
50888 cat >>$CONFIG_STATUS <<_ACEOF
50889 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50890 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50893 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50894 s/^/s,@/; s/!/@,|#_!!_#|/
50897 s/'"$ac_delim"'$/,g/; t
50899 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50900 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50901 rm -f conf$
$subs.
sed
50902 cat >>$CONFIG_STATUS <<_ACEOF
50908 for ac_last_try
in false false false false false
:; do
50909 cat >conf$
$subs.
sed <<_ACEOF
50910 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50911 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50912 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50913 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50914 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50915 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50916 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50917 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50918 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50919 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50920 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50921 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50922 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50923 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50924 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50925 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50926 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50927 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50928 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50929 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50930 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50931 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50932 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50933 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50934 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50935 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50936 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50937 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50938 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50939 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50940 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50941 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50942 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50943 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50944 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50945 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50946 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50947 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50948 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50949 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50950 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50951 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50952 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50953 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50954 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50955 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50956 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50957 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50958 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50959 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50960 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50961 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50962 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50963 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50964 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50965 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50966 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50967 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50968 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50969 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50970 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50971 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50972 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50973 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50974 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50975 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50976 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50977 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50978 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50979 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50980 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50981 COND_SHARED_0!$COND_SHARED_0$ac_delim
50982 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50983 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50984 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50985 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50986 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50987 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50988 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50989 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
50990 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50991 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50992 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50993 COND_SHARED_1!$COND_SHARED_1$ac_delim
50994 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50995 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50996 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50997 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50998 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50999 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51000 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51001 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51002 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51003 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51004 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51005 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51006 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51009 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51011 elif $ac_last_try; then
51012 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51013 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51014 { (exit 1); exit 1; }; }
51016 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51020 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51021 if test -n "$ac_eof"; then
51022 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51023 ac_eof
=`expr $ac_eof + 1`
51026 cat >>$CONFIG_STATUS <<_ACEOF
51027 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51028 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51031 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51032 s/^/s,@/; s/!/@,|#_!!_#|/
51035 s/'"$ac_delim"'$/,g/; t
51037 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51038 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51039 rm -f conf$
$subs.
sed
51040 cat >>$CONFIG_STATUS <<_ACEOF
51046 for ac_last_try
in false false false false false
:; do
51047 cat >conf$
$subs.
sed <<_ACEOF
51048 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51049 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51050 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51051 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51052 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51053 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51054 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51055 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51056 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51057 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51058 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51059 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51060 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51061 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51062 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51063 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51064 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51065 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51066 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51067 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51068 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51069 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51070 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51071 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51072 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51073 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51074 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51075 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51076 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51077 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51078 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51079 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51080 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51081 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51082 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51083 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51084 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51085 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51086 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51087 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51088 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51089 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51090 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51091 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51092 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51093 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51094 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51095 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51096 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51097 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51098 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51099 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51100 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51101 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51102 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51103 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51104 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51105 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51106 DEREZ!$DEREZ$ac_delim
51107 SHARED!$SHARED$ac_delim
51108 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51109 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51110 USE_GUI!$USE_GUI$ac_delim
51111 AFMINSTALL!$AFMINSTALL$ac_delim
51112 WIN32INSTALL!$WIN32INSTALL$ac_delim
51113 TOOLKIT!$TOOLKIT$ac_delim
51114 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51115 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51116 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51117 cross_compiling!$cross_compiling$ac_delim
51118 WIDGET_SET!$WIDGET_SET$ac_delim
51119 WX_RELEASE!$WX_RELEASE$ac_delim
51120 WX_VERSION!$WX_VERSION$ac_delim
51121 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51122 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51123 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51124 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51125 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51126 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51127 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51128 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51129 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51130 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51131 GUIDIST!$GUIDIST$ac_delim
51132 DISTDIR!$DISTDIR$ac_delim
51133 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51134 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51135 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51136 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51137 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51138 RESCOMP!$RESCOMP$ac_delim
51139 RESFLAGS!$RESFLAGS$ac_delim
51140 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51141 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51142 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51143 LIBWXMACRES!$LIBWXMACRES$ac_delim
51144 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51147 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51149 elif $ac_last_try; then
51150 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51151 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51152 { (exit 1); exit 1; }; }
51154 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51158 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51159 if test -n "$ac_eof"; then
51160 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51161 ac_eof
=`expr $ac_eof + 1`
51164 cat >>$CONFIG_STATUS <<_ACEOF
51165 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51166 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51169 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51170 s/^/s,@/; s/!/@,|#_!!_#|/
51173 s/'"$ac_delim"'$/,g/; t
51175 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51176 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51177 rm -f conf$
$subs.
sed
51178 cat >>$CONFIG_STATUS <<_ACEOF
51184 for ac_last_try
in false false false false false
:; do
51185 cat >conf$
$subs.
sed <<_ACEOF
51186 MACSETFILE!$MACSETFILE$ac_delim
51188 DLLTOOL!$DLLTOOL$ac_delim
51189 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51190 LIBOBJS!$LIBOBJS$ac_delim
51191 LTLIBOBJS!$LTLIBOBJS$ac_delim
51194 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then
51196 elif $ac_last_try; then
51197 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51198 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51199 { (exit 1); exit 1; }; }
51201 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51205 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51206 if test -n "$ac_eof"; then
51207 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51208 ac_eof
=`expr $ac_eof + 1`
51211 cat >>$CONFIG_STATUS <<_ACEOF
51212 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51213 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51216 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51217 s/^/s,@/; s/!/@,|#_!!_#|/
51220 s/'"$ac_delim"'$/,g/; t
51222 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51223 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51224 rm -f conf$
$subs.
sed
51225 cat >>$CONFIG_STATUS <<_ACEOF
51232 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51233 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51234 # trailing colons and then remove the whole line if VPATH becomes empty
51235 # (actually we leave an empty line to preserve line numbers).
51236 if test "x$srcdir" = x.
; then
51237 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
51238 s/:*\$(srcdir):*/:/
51239 s/:*\${srcdir}:*/:/
51241 s/^\([^=]*=[ ]*\):*/\1/
51247 cat >>$CONFIG_STATUS <<\_ACEOF
51248 fi # test -n "$CONFIG_FILES"
51251 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
51254 :[FHLC
]) ac_mode
=$ac_tag; continue;;
51256 case $ac_mode$ac_tag in
51258 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51259 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51260 { (exit 1); exit 1; }; };;
51261 :[FH
]-) ac_tag
=-:-;;
51262 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
51279 -) ac_f
="$tmp/stdin";;
51280 *) # Look for the file first in the build tree, then in the source tree
51281 # (if the path is not absolute). The absolute path cannot be DOS-style,
51282 # because $ac_f cannot contain `:'.
51286 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
51288 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51289 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51290 { (exit 1); exit 1; }; };;
51292 ac_file_inputs
="$ac_file_inputs $ac_f"
51295 # Let's still pretend it is `configure' which instantiates (i.e., don't
51296 # use $as_me), people would be surprised to read:
51297 # /* config.h. Generated by config.status. */
51298 configure_input
="Generated from "`IFS=:
51299 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51300 if test x
"$ac_file" != x
-; then
51301 configure_input
="$ac_file. $configure_input"
51302 { echo "$as_me:$LINENO: creating $ac_file" >&5
51303 echo "$as_me: creating $ac_file" >&6;}
51307 *:-:* | *:-) cat >"$tmp/stdin";;
51312 ac_dir
=`$as_dirname -- "$ac_file" ||
51313 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51314 X"$ac_file" : 'X\(//\)[^/]' \| \
51315 X"$ac_file" : 'X\(//\)$' \| \
51316 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51322 /^X\(\/\/\)[^/].*/{
51337 -*) as_dir
=.
/$as_dir;;
51339 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51343 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51344 *) as_qdir
=$as_dir;;
51346 as_dirs
="'$as_qdir' $as_dirs"
51347 as_dir
=`$as_dirname -- "$as_dir" ||
51348 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51349 X"$as_dir" : 'X\(//\)[^/]' \| \
51350 X"$as_dir" : 'X\(//\)$' \| \
51351 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51357 /^X\(\/\/\)[^/].*/{
51370 test -d "$as_dir" && break
51372 test -z "$as_dirs" || eval "mkdir $as_dirs"
51373 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51374 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51375 { (exit 1); exit 1; }; }; }
51379 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51381 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51382 # A ".." for each directory in $ac_dir_suffix.
51383 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51384 case $ac_top_builddir_sub in
51385 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51386 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
51389 ac_abs_top_builddir
=$ac_pwd
51390 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
51391 # for backward compatibility:
51392 ac_top_builddir
=$ac_top_build_prefix
51395 .
) # We are building in place.
51397 ac_top_srcdir
=$ac_top_builddir_sub
51398 ac_abs_top_srcdir
=$ac_pwd ;;
51399 [\\/]* | ?
:[\\/]* ) # Absolute name.
51400 ac_srcdir
=$srcdir$ac_dir_suffix;
51401 ac_top_srcdir
=$srcdir
51402 ac_abs_top_srcdir
=$srcdir ;;
51403 *) # Relative name.
51404 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
51405 ac_top_srcdir
=$ac_top_build_prefix$srcdir
51406 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
51408 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
51418 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
51419 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
51423 cat >>$CONFIG_STATUS <<\_ACEOF
51424 # If the template does not know about datarootdir, expand it.
51425 # FIXME: This hack should be removed a few years after 2.60.
51426 ac_datarootdir_hack
=; ac_datarootdir_seen
=
51428 case `sed -n '/datarootdir/ {
51437 ' $ac_file_inputs` in
51438 *datarootdir
*) ac_datarootdir_seen
=yes;;
51439 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
51440 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51441 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51443 cat >>$CONFIG_STATUS <<_ACEOF
51444 ac_datarootdir_hack='
51445 s&@datadir@&$datadir&g
51446 s&@docdir@&$docdir&g
51447 s&@infodir@&$infodir&g
51448 s&@localedir@&$localedir&g
51449 s&@mandir@&$mandir&g
51450 s&\\\${datarootdir}&$datarootdir&g' ;;
51454 # Neutralize VPATH when `$srcdir' = `.'.
51455 # Shell code in configure.ac might set extrasub.
51456 # FIXME: do we really want to maintain this feature?
51457 cat >>$CONFIG_STATUS <<_ACEOF
51461 cat >>$CONFIG_STATUS <<\_ACEOF
51463 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
51464 s
&@configure_input@
&$configure_input&;t t
51465 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
51466 s
&@srcdir@
&$ac_srcdir&;t t
51467 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
51468 s
&@top_srcdir@
&$ac_top_srcdir&;t t
51469 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
51470 s
&@builddir@
&$ac_builddir&;t t
51471 s
&@abs_builddir@
&$ac_abs_builddir&;t t
51472 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
51473 s
&@INSTALL@
&$ac_INSTALL&;t t
51474 $ac_datarootdir_hack
51475 " $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
51477 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51478 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
51479 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
51480 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
51481 which seems to be undefined. Please make sure it is defined." >&5
51482 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
51483 which seems to be undefined. Please make sure it is defined." >&2;}
51487 -) cat "$tmp/out"; rm -f "$tmp/out";;
51488 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51497 # Transform confdefs.h into a sed script `conftest.defines', that
51498 # substitutes the proper values into config.h.in to produce config.h.
51499 rm -f conftest.defines conftest.
tail
51500 # First, append a space to every undef/define line, to ease matching.
51501 echo 's/$/ /' >conftest.defines
51502 # Then, protect against being on the right side of a sed subst, or in
51503 # an unquoted here document, in config.status. If some macros were
51504 # called several times there might be several #defines for the same
51505 # symbol, which is useless. But do not sort them, since the last
51506 # AC_DEFINE must be honored.
51507 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
51508 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51509 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51510 # PARAMS is the parameter list in the macro definition--in most cases, it's
51511 # just an empty string.
51512 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51513 ac_dB
='\\)[ (].*,\\1define\\2'
51521 s/^[ ]*#[ ]*define[ ][ ]*//
51526 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51527 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51528 ' >>conftest.defines
51530 # Remove the space that was appended to ease matching.
51531 # Then replace #undef with comments. This is necessary, for
51532 # example, in the case of _POSIX_SOURCE, which is predefined and required
51533 # on some systems where configure will not decide to define it.
51534 # (The regexp can be short, since the line contains either #define or #undef.)
51536 s,^[ #]*u.*,/* & */,' >>conftest.defines
51538 # Break up conftest.defines:
51539 ac_max_sed_lines
=50
51541 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51542 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51543 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51545 ac_in
='$ac_file_inputs'
51546 ac_out
='"$tmp/out1"'
51547 ac_nxt
='"$tmp/out2"'
51551 # Write a here document:
51552 cat >>$CONFIG_STATUS <<_ACEOF
51553 # First, check the format of the line:
51554 cat >"\$tmp/defines.sed" <<\\CEOF
51555 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51556 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51560 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
51562 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51563 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
51564 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
51565 grep . conftest.
tail >/dev
/null
|| break
51566 rm -f conftest.defines
51567 mv conftest.
tail conftest.defines
51569 rm -f conftest.defines conftest.
tail
51571 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51572 cat >>$CONFIG_STATUS <<\_ACEOF
51573 if test x
"$ac_file" != x
-; then
51574 echo "/* $configure_input */" >"$tmp/config.h"
51575 cat "$ac_result" >>"$tmp/config.h"
51576 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
51577 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51578 echo "$as_me: $ac_file is unchanged" >&6;}
51581 mv "$tmp/config.h" $ac_file
51584 echo "/* $configure_input */"
51590 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51591 echo "$as_me: executing $ac_file commands" >&6;}
51596 case $ac_file$ac_mode in
51598 mkdir -p $outdir &&
51599 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51601 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
51602 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
51603 "wx-config":C
) rm -f wx
-config
51604 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
51611 { (exit 0); exit 0; }
51613 chmod +x
$CONFIG_STATUS
51614 ac_clean_files
=$ac_clean_files_save
51617 # configure is writing to config.log, and then calls config.status.
51618 # config.status does its own redirection, appending to config.log.
51619 # Unfortunately, on DOS this fails, as config.log is still kept open
51620 # by configure, so config.status won't be able to write to it; its
51621 # output is simply discarded. So we exec the FD to /dev/null,
51622 # effectively closing config.log, so it can be properly (re)opened and
51623 # appended to by config.status. When coming back to configure, we
51624 # need to make the FD available again.
51625 if test "$no_create" != yes; then
51627 ac_config_status_args
=
51628 test "$silent" = yes &&
51629 ac_config_status_args
="$ac_config_status_args --quiet"
51631 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
51633 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51634 # would make configure fail if this is the last instruction.
51635 $ac_cs_success || { (exit 1); exit 1; }
51639 # CONFIG_SUBDIRS section.
51641 if test "$no_recursion" != yes; then
51643 # Remove --cache-file and --srcdir arguments so they do not pile up.
51644 ac_sub_configure_args
=
51646 eval "set x $ac_configure_args"
51650 if test -n "$ac_prev"; then
51655 -cache-file | --cache-file | --cache-fil | --cache-fi \
51656 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51657 ac_prev
=cache_file
;;
51658 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51659 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51662 --config-cache | -C)
51664 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51666 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51668 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51670 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51674 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51676 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
51680 # Always prepend --prefix to ensure using the same prefix
51681 # in subdir configurations.
51682 ac_arg
="--prefix=$prefix"
51684 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51686 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
51689 if test "$silent" = yes; then
51690 ac_sub_configure_args
="--silent $ac_sub_configure_args"
51694 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
51696 # Do not complain, so a configure script can configure whichever
51697 # parts of a large source tree are present.
51698 test -d "$srcdir/$ac_dir" || continue
51700 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51701 echo "$as_me:$LINENO: $ac_msg" >&5
51705 -*) as_dir
=.
/$as_dir;;
51707 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51711 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51712 *) as_qdir
=$as_dir;;
51714 as_dirs
="'$as_qdir' $as_dirs"
51715 as_dir
=`$as_dirname -- "$as_dir" ||
51716 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51717 X"$as_dir" : 'X\(//\)[^/]' \| \
51718 X"$as_dir" : 'X\(//\)$' \| \
51719 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51721 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51725 /^X\(\/\/\)[^/].*/{
51738 test -d "$as_dir" && break
51740 test -z "$as_dirs" || eval "mkdir $as_dirs"
51741 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51742 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51743 { (exit 1); exit 1; }; }; }
51747 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51749 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51750 # A ".." for each directory in $ac_dir_suffix.
51751 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51752 case $ac_top_builddir_sub in
51753 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51754 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
51757 ac_abs_top_builddir
=$ac_pwd
51758 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
51759 # for backward compatibility:
51760 ac_top_builddir
=$ac_top_build_prefix
51763 .
) # We are building in place.
51765 ac_top_srcdir
=$ac_top_builddir_sub
51766 ac_abs_top_srcdir
=$ac_pwd ;;
51767 [\\/]* | ?
:[\\/]* ) # Absolute name.
51768 ac_srcdir
=$srcdir$ac_dir_suffix;
51769 ac_top_srcdir
=$srcdir
51770 ac_abs_top_srcdir
=$srcdir ;;
51771 *) # Relative name.
51772 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
51773 ac_top_srcdir
=$ac_top_build_prefix$srcdir
51774 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
51776 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
51781 # Check for guested configure; otherwise get Cygnus style configure.
51782 if test -f "$ac_srcdir/configure.gnu"; then
51783 ac_sub_configure
=$ac_srcdir/configure.gnu
51784 elif test -f "$ac_srcdir/configure"; then
51785 ac_sub_configure
=$ac_srcdir/configure
51786 elif test -f "$ac_srcdir/configure.in"; then
51787 # This should be Cygnus configure.
51788 ac_sub_configure
=$ac_aux_dir/configure
51790 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51791 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51795 # The recursion is here.
51796 if test -n "$ac_sub_configure"; then
51797 # Make the cache file name correct relative to the subdirectory.
51798 case $cache_file in
51799 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
51800 *) # Relative name.
51801 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
51804 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51805 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51806 # The eval makes quoting arguments work.
51807 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51808 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51809 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51810 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51811 { (exit 1); exit 1; }; }
51820 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51822 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51823 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51825 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51826 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51827 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
51828 if test "$wxUSE_UNICODE" = "yes"; then
51829 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51830 echo " (using UTF-8)"
51832 echo " (using wchar_t)"
51838 echo " What level of wxWidgets compatibility should be enabled?"
51839 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51840 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51842 echo " Which libraries should wxWidgets use?"
51843 echo " STL ${wxUSE_STL}"
51844 echo " jpeg ${wxUSE_LIBJPEG-none}"
51845 echo " png ${wxUSE_LIBPNG-none}"
51846 echo " regex ${wxUSE_REGEX}"
51847 echo " tiff ${wxUSE_LIBTIFF-none}"
51848 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51849 echo " xpm ${wxUSE_LIBXPM-none}"
51851 echo " zlib ${wxUSE_ZLIB}"
51852 echo " expat ${wxUSE_EXPAT}"
51853 echo " libmspack ${wxUSE_LIBMSPACK}"
51854 echo " sdl ${wxUSE_LIBSDL}"