2 # From configure.in Id: configure.in 50303 2007-11-28 06:46:25Z PC .
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_and_add and __sync_sub_and_fetch builtins" >&5
24776 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_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. */
24792 unsigned int value=0;
24793 /* wxAtomicInc doesn't use
return value here
*/
24794 __sync_fetch_and_add
(&value
, 2);
24795 __sync_sub_and_fetch
(&value
, 1);
24796 /* but wxAtomicDec does
, so mimic that
: */
24797 unsigned int r2
= __sync_sub_and_fetch
(&value
, 1);
24803 rm -f conftest.
$ac_objext conftest
$ac_exeext
24804 if { (ac_try
="$ac_link"
24805 case "(($ac_try" in
24806 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24807 *) ac_try_echo=$ac_try;;
24809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24810 (eval "$ac_link") 2>conftest.er1
24812 grep -v '^ *+' conftest.er1 >conftest.err
24814 cat conftest.err >&5
24815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24816 (exit $ac_status); } && {
24817 test -z "$ac_cxx_werror_flag" ||
24818 test ! -s conftest.err
24819 } && test -s conftest$ac_exeext &&
24820 $as_test_x conftest$ac_exeext; then
24821 wx_cv_cc_gcc_atomic_builtins=yes
24823 echo "$as_me: failed program was:" >&5
24824 sed 's/^/| /' conftest.$ac_ext >&5
24826 wx_cv_cc_gcc_atomic_builtins=no
24829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24830 conftest$ac_exeext conftest.$ac_ext
24834 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
24835 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
24836 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
24837 cat >>confdefs.h <<\_ACEOF
24838 #define HAVE_GCC_ATOMIC_BUILTINS 1
24846 ac_cpp='$CPP $CPPFLAGS'
24847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24854 /usr/local/include \
24856 /usr/Motif-2.1/include \
24857 /usr/Motif-1.2/include \
24858 /usr/include/Motif1.2 \
24861 /usr/openwin/include \
24865 /usr/X11R6/include \
24866 /usr/X11R6.4/include \
24867 /usr/X11R5/include \
24868 /usr/X11R4/include \
24870 /usr/include/X11R6 \
24871 /usr/include/X11R5 \
24872 /usr/include/X11R4 \
24874 /usr/local/X11R6/include \
24875 /usr/local/X11R5/include \
24876 /usr/local/X11R4/include \
24878 /usr/local/include/X11R6 \
24879 /usr/local/include/X11R5 \
24880 /usr/local/include/X11R4 \
24884 /usr/local/X11/include \
24885 /usr/local/include/X11 \
24887 /usr/XFree86/include/X11 \
24890 /usr/openwin/share/include"
24892 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24893 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24897 if test "${wx_cv_std_libpath+set}" = set; then
24898 echo $ECHO_N "(cached) $ECHO_C" >&6
24901 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24902 for e in a so sl dylib dll.a; do
24904 if test -f $libc; then
24907 cat >conftest.$ac_ext <<_ACEOF
24908 int main() { return 0; }
24910 rm -f conftest.$ac_objext conftest$ac_exeext
24911 if { (ac_try="$ac_link"
24912 case "(($ac_try" in
24913 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24914 *) ac_try_echo
=$ac_try;;
24916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24917 (eval "$ac_link") 2>conftest.er1
24919 grep -v '^ *+' conftest.er1
>conftest.err
24921 cat conftest.err
>&5
24922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24923 (exit $ac_status); } && {
24924 test -z "$ac_c_werror_flag" ||
24925 test ! -s conftest.err
24926 } && test -s conftest
$ac_exeext &&
24927 $as_test_x conftest
$ac_exeext; then
24928 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24930 echo "$as_me: failed program was:" >&5
24931 sed 's/^/| /' conftest.
$ac_ext >&5
24936 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24937 conftest
$ac_exeext conftest.
$ac_ext
24939 if test "x$wx_cv_std_libpath" != "x"; then
24945 if test "x$wx_cv_std_libpath" = "x"; then
24946 wx_cv_std_libpath
="lib"
24955 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24956 wx_cv_std_libpath
="lib/64"
24958 wx_cv_std_libpath
="lib"
24963 if test "$ac_cv_sizeof_void_p" = 8 -a \
24964 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24965 wx_cv_std_libpath
="lib64"
24967 wx_cv_std_libpath
="lib"
24972 wx_cv_std_libpath
="lib";
24976 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24977 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24979 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24981 if test "$build" != "$host" -a "$GCC" = yes; then
24982 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24983 cross_root
=`dirname $cross_root`
24984 cross_root
=`dirname $cross_root`
24986 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24987 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24988 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24990 if test -z "$PKG_CONFIG_PATH"; then
24991 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24992 export PKG_CONFIG_PATH
24995 if test -z "$x_includes" -o "$x_includes" = NONE
; then
24998 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25000 if test -f "$ac_dir/X11/Intrinsic.h"; then
25001 ac_find_includes
=$ac_dir
25006 x_includes
=$ac_find_includes
25008 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
25011 for ac_dir
in $SEARCH_LIB;
25013 for ac_extension
in a so sl dylib dll.a
; do
25014 if test -f "$ac_dir/libXt.$ac_extension"; then
25015 ac_find_libraries
=$ac_dir
25021 x_libraries
=$ac_find_libraries
25027 cat >confcache
<<\_ACEOF
25028 # This file is a shell script that caches the results of configure
25029 # tests run on this system so they can be shared between configure
25030 # scripts and configure runs, see configure's option --config-cache.
25031 # It is not useful on other systems. If it contains results you don't
25032 # want to keep, you may remove or edit it.
25034 # config.status only pays attention to the cache file if you give it
25035 # the --recheck option to rerun configure.
25037 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25038 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25039 # following values.
25043 # The following way of writing the cache mishandles newlines in values,
25044 # but we know of no workaround that is simple, portable, and efficient.
25045 # So, we kill variables containing newlines.
25046 # Ultrix sh set writes to stderr and can't be redirected directly,
25047 # and sets the high bit in the cache file unless we assign to the vars.
25049 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25050 eval ac_val
=\$
$ac_var
25054 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25055 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25058 _
| IFS
| as_nl
) ;; #(
25059 *) $as_unset $ac_var ;;
25065 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25066 *${as_nl}ac_space
=\
*)
25067 # `set' does not quote correctly, so add quotes (double-quote
25068 # substitution turns \\\\ into \\, and sed turns \\ into \).
25071 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25074 # `set' quotes correctly as required by POSIX, so do not add quotes.
25075 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25084 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25086 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25088 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25089 if test -w "$cache_file"; then
25090 test "x$cache_file" != "x/dev/null" &&
25091 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25092 echo "$as_me: updating cache $cache_file" >&6;}
25093 cat confcache
>$cache_file
25095 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25096 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25101 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25102 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25103 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25104 if test "${wx_cv_lib_glibc21+set}" = set; then
25105 echo $ECHO_N "(cached) $ECHO_C" >&6
25108 cat >conftest.
$ac_ext <<_ACEOF
25111 cat confdefs.h
>>conftest.
$ac_ext
25112 cat >>conftest.
$ac_ext <<_ACEOF
25113 /* end confdefs.h. */
25114 #include <features.h>
25119 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25127 rm -f conftest.
$ac_objext
25128 if { (ac_try
="$ac_compile"
25129 case "(($ac_try" in
25130 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25131 *) ac_try_echo=$ac_try;;
25133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25134 (eval "$ac_compile") 2>conftest.er1
25136 grep -v '^ *+' conftest.er1 >conftest.err
25138 cat conftest.err >&5
25139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25140 (exit $ac_status); } && {
25141 test -z "$ac_c_werror_flag" ||
25142 test ! -s conftest.err
25143 } && test -s conftest.$ac_objext; then
25145 wx_cv_lib_glibc21=yes
25148 echo "$as_me: failed program was:" >&5
25149 sed 's/^/| /' conftest.$ac_ext >&5
25152 wx_cv_lib_glibc21=no
25157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25160 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25161 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25162 if test "$wx_cv_lib_glibc21" = "yes"; then
25163 cat >>confdefs.h <<\_ACEOF
25164 #define wxHAVE_GLIBC2 1
25170 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25171 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25172 cat >>confdefs.h <<\_ACEOF
25173 #define _GNU_SOURCE 1
25184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25185 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25187 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25188 echo $ECHO_N "(cached) $ECHO_C" >&6
25190 cat >conftest.$ac_ext <<_ACEOF
25193 cat confdefs.h >>conftest.$ac_ext
25194 cat >>conftest.$ac_ext <<_ACEOF
25195 /* end confdefs.h. */
25196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25198 #define $ac_func innocuous_$ac_func
25200 /* System header to define __stub macros and hopefully few prototypes,
25201 which can conflict with char $ac_func (); below.
25202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25203 <limits.h> exists even on freestanding compilers. */
25206 # include <limits.h>
25208 # include <assert.h>
25213 /* Override any GCC internal prototype to avoid an error.
25214 Use char because int might match the return type of a GCC
25215 builtin and then its argument prototype would still apply. */
25220 /* The GNU C library defines this for functions which it implements
25221 to always fail with ENOSYS. Some functions are actually named
25222 something starting with __ and the normal name is an alias. */
25223 #if defined __stub_$ac_func || defined __stub___$ac_func
25230 return $ac_func ();
25235 rm -f conftest.$ac_objext conftest$ac_exeext
25236 if { (ac_try="$ac_link"
25237 case "(($ac_try" in
25238 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25239 *) ac_try_echo
=$ac_try;;
25241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25242 (eval "$ac_link") 2>conftest.er1
25244 grep -v '^ *+' conftest.er1
>conftest.err
25246 cat conftest.err
>&5
25247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25248 (exit $ac_status); } && {
25249 test -z "$ac_c_werror_flag" ||
25250 test ! -s conftest.err
25251 } && test -s conftest
$ac_exeext &&
25252 $as_test_x conftest
$ac_exeext; then
25253 eval "$as_ac_var=yes"
25255 echo "$as_me: failed program was:" >&5
25256 sed 's/^/| /' conftest.
$ac_ext >&5
25258 eval "$as_ac_var=no"
25261 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25262 conftest
$ac_exeext conftest.
$ac_ext
25264 ac_res
=`eval echo '${'$as_ac_var'}'`
25265 { echo "$as_me:$LINENO: result: $ac_res" >&5
25266 echo "${ECHO_T}$ac_res" >&6; }
25267 if test `eval echo '${'$as_ac_var'}'` = yes; then
25268 cat >>confdefs.h
<<_ACEOF
25269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25276 for ac_func
in floor
25278 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25279 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25281 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25282 echo $ECHO_N "(cached) $ECHO_C" >&6
25284 cat >conftest.
$ac_ext <<_ACEOF
25287 cat confdefs.h
>>conftest.
$ac_ext
25288 cat >>conftest.
$ac_ext <<_ACEOF
25289 /* end confdefs.h. */
25290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25292 #define $ac_func innocuous_$ac_func
25294 /* System header to define __stub macros and hopefully few prototypes,
25295 which can conflict with char $ac_func (); below.
25296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25297 <limits.h> exists even on freestanding compilers. */
25300 # include <limits.h>
25302 # include <assert.h>
25307 /* Override any GCC internal prototype to avoid an error.
25308 Use char because int might match the return type of a GCC
25309 builtin and then its argument prototype would still apply. */
25314 /* The GNU C library defines this for functions which it implements
25315 to always fail with ENOSYS. Some functions are actually named
25316 something starting with __ and the normal name is an alias. */
25317 #if defined __stub_$ac_func || defined __stub___$ac_func
25324 return $ac_func ();
25329 rm -f conftest.
$ac_objext conftest
$ac_exeext
25330 if { (ac_try
="$ac_link"
25331 case "(($ac_try" in
25332 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25333 *) ac_try_echo=$ac_try;;
25335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25336 (eval "$ac_link") 2>conftest.er1
25338 grep -v '^ *+' conftest.er1 >conftest.err
25340 cat conftest.err >&5
25341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25342 (exit $ac_status); } && {
25343 test -z "$ac_c_werror_flag" ||
25344 test ! -s conftest.err
25345 } && test -s conftest$ac_exeext &&
25346 $as_test_x conftest$ac_exeext; then
25347 eval "$as_ac_var=yes"
25349 echo "$as_me: failed program was:" >&5
25350 sed 's/^/| /' conftest.$ac_ext >&5
25352 eval "$as_ac_var=no"
25355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25356 conftest$ac_exeext conftest.$ac_ext
25358 ac_res=`eval echo '${'$as_ac_var'}'`
25359 { echo "$as_me:$LINENO: result: $ac_res" >&5
25360 echo "${ECHO_T}$ac_res" >&6; }
25361 if test `eval echo '${'$as_ac_var'}'` = yes; then
25362 cat >>confdefs.h <<_ACEOF
25363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25369 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25370 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25371 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25372 { echo "$as_me:$LINENO: result: yes" >&5
25373 echo "${ECHO_T}yes" >&6; }
25375 { echo "$as_me:$LINENO: result: no" >&5
25376 echo "${ECHO_T}no" >&6; }
25378 # use different functions to avoid configure caching
25384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25385 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25387 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25388 echo $ECHO_N "(cached) $ECHO_C" >&6
25390 cat >conftest.$ac_ext <<_ACEOF
25393 cat confdefs.h >>conftest.$ac_ext
25394 cat >>conftest.$ac_ext <<_ACEOF
25395 /* end confdefs.h. */
25396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25398 #define $ac_func innocuous_$ac_func
25400 /* System header to define __stub macros and hopefully few prototypes,
25401 which can conflict with char $ac_func (); below.
25402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25403 <limits.h> exists even on freestanding compilers. */
25406 # include <limits.h>
25408 # include <assert.h>
25413 /* Override any GCC internal prototype to avoid an error.
25414 Use char because int might match the return type of a GCC
25415 builtin and then its argument prototype would still apply. */
25420 /* The GNU C library defines this for functions which it implements
25421 to always fail with ENOSYS. Some functions are actually named
25422 something starting with __ and the normal name is an alias. */
25423 #if defined __stub_$ac_func || defined __stub___$ac_func
25430 return $ac_func ();
25435 rm -f conftest.$ac_objext conftest$ac_exeext
25436 if { (ac_try="$ac_link"
25437 case "(($ac_try" in
25438 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25439 *) ac_try_echo
=$ac_try;;
25441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25442 (eval "$ac_link") 2>conftest.er1
25444 grep -v '^ *+' conftest.er1
>conftest.err
25446 cat conftest.err
>&5
25447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25448 (exit $ac_status); } && {
25449 test -z "$ac_c_werror_flag" ||
25450 test ! -s conftest.err
25451 } && test -s conftest
$ac_exeext &&
25452 $as_test_x conftest
$ac_exeext; then
25453 eval "$as_ac_var=yes"
25455 echo "$as_me: failed program was:" >&5
25456 sed 's/^/| /' conftest.
$ac_ext >&5
25458 eval "$as_ac_var=no"
25461 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25462 conftest
$ac_exeext conftest.
$ac_ext
25464 ac_res
=`eval echo '${'$as_ac_var'}'`
25465 { echo "$as_me:$LINENO: result: $ac_res" >&5
25466 echo "${ECHO_T}$ac_res" >&6; }
25467 if test `eval echo '${'$as_ac_var'}'` = yes; then
25468 cat >>confdefs.h
<<_ACEOF
25469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25476 for ac_func
in ceil
25478 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25479 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25481 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25482 echo $ECHO_N "(cached) $ECHO_C" >&6
25484 cat >conftest.
$ac_ext <<_ACEOF
25487 cat confdefs.h
>>conftest.
$ac_ext
25488 cat >>conftest.
$ac_ext <<_ACEOF
25489 /* end confdefs.h. */
25490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25492 #define $ac_func innocuous_$ac_func
25494 /* System header to define __stub macros and hopefully few prototypes,
25495 which can conflict with char $ac_func (); below.
25496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25497 <limits.h> exists even on freestanding compilers. */
25500 # include <limits.h>
25502 # include <assert.h>
25507 /* Override any GCC internal prototype to avoid an error.
25508 Use char because int might match the return type of a GCC
25509 builtin and then its argument prototype would still apply. */
25514 /* The GNU C library defines this for functions which it implements
25515 to always fail with ENOSYS. Some functions are actually named
25516 something starting with __ and the normal name is an alias. */
25517 #if defined __stub_$ac_func || defined __stub___$ac_func
25524 return $ac_func ();
25529 rm -f conftest.
$ac_objext conftest
$ac_exeext
25530 if { (ac_try
="$ac_link"
25531 case "(($ac_try" in
25532 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25533 *) ac_try_echo=$ac_try;;
25535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25536 (eval "$ac_link") 2>conftest.er1
25538 grep -v '^ *+' conftest.er1 >conftest.err
25540 cat conftest.err >&5
25541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25542 (exit $ac_status); } && {
25543 test -z "$ac_c_werror_flag" ||
25544 test ! -s conftest.err
25545 } && test -s conftest$ac_exeext &&
25546 $as_test_x conftest$ac_exeext; then
25547 eval "$as_ac_var=yes"
25549 echo "$as_me: failed program was:" >&5
25550 sed 's/^/| /' conftest.$ac_ext >&5
25552 eval "$as_ac_var=no"
25555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25556 conftest$ac_exeext conftest.$ac_ext
25558 ac_res=`eval echo '${'$as_ac_var'}'`
25559 { echo "$as_me:$LINENO: result: $ac_res" >&5
25560 echo "${ECHO_T}$ac_res" >&6; }
25561 if test `eval echo '${'$as_ac_var'}'` = yes; then
25562 cat >>confdefs.h <<_ACEOF
25563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25569 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25570 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25571 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25572 { echo "$as_me:$LINENO: result: yes" >&5
25573 echo "${ECHO_T}yes" >&6; }
25575 { echo "$as_me:$LINENO: result: no" >&5
25576 echo "${ECHO_T}no" >&6; }
25577 # not sure we should warn the user, crash, etc.
25582 ac_cpp='$CXXCPP $CPPFLAGS'
25583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25587 if test "wxUSE_UNICODE" = "yes"; then
25589 for wx_func in wcstoull
25591 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25592 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25593 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25594 echo $ECHO_N "(cached) $ECHO_C" >&6
25597 cat >conftest.$ac_ext <<_ACEOF
25601 cat confdefs.h >>conftest.$ac_ext
25602 cat >>conftest.$ac_ext <<_ACEOF
25603 /* end confdefs.h. */
25606 $ac_includes_default
25622 rm -f conftest.$ac_objext conftest$ac_exeext
25623 if { (ac_try="$ac_link"
25624 case "(($ac_try" in
25625 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25626 *) ac_try_echo
=$ac_try;;
25628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25629 (eval "$ac_link") 2>conftest.er1
25631 grep -v '^ *+' conftest.er1
>conftest.err
25633 cat conftest.err
>&5
25634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25635 (exit $ac_status); } && {
25636 test -z "$ac_cxx_werror_flag" ||
25637 test ! -s conftest.err
25638 } && test -s conftest
$ac_exeext &&
25639 $as_test_x conftest
$ac_exeext; then
25640 eval wx_cv_func_
$wx_func=yes
25642 echo "$as_me: failed program was:" >&5
25643 sed 's/^/| /' conftest.
$ac_ext >&5
25645 eval wx_cv_func_
$wx_func=no
25648 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25649 conftest
$ac_exeext conftest.
$ac_ext
25652 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
25653 { echo "$as_me:$LINENO: result: $ac_res" >&5
25654 echo "${ECHO_T}$ac_res" >&6; }
25656 if eval test \
$wx_cv_func_$wx_func = yes
25658 cat >>confdefs.h
<<_ACEOF
25659 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25671 for wx_func
in strtoull
25673 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25674 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25675 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25676 echo $ECHO_N "(cached) $ECHO_C" >&6
25679 cat >conftest.
$ac_ext <<_ACEOF
25683 cat confdefs.h
>>conftest.
$ac_ext
25684 cat >>conftest.
$ac_ext <<_ACEOF
25685 /* end confdefs.h. */
25688 $ac_includes_default
25704 rm -f conftest.
$ac_objext conftest
$ac_exeext
25705 if { (ac_try
="$ac_link"
25706 case "(($ac_try" in
25707 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25708 *) ac_try_echo=$ac_try;;
25710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25711 (eval "$ac_link") 2>conftest.er1
25713 grep -v '^ *+' conftest.er1 >conftest.err
25715 cat conftest.err >&5
25716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25717 (exit $ac_status); } && {
25718 test -z "$ac_cxx_werror_flag" ||
25719 test ! -s conftest.err
25720 } && test -s conftest$ac_exeext &&
25721 $as_test_x conftest$ac_exeext; then
25722 eval wx_cv_func_$wx_func=yes
25724 echo "$as_me: failed program was:" >&5
25725 sed 's/^/| /' conftest.$ac_ext >&5
25727 eval wx_cv_func_$wx_func=no
25730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25731 conftest$ac_exeext conftest.$ac_ext
25734 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25735 { echo "$as_me:$LINENO: result: $ac_res" >&5
25736 echo "${ECHO_T}$ac_res" >&6; }
25738 if eval test \$wx_cv_func_$wx_func = yes
25740 cat >>confdefs.h <<_ACEOF
25741 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25753 ac_cpp='$CPP $CPPFLAGS'
25754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25761 if test "$wxUSE_REGEX" != "no"; then
25762 cat >>confdefs.h <<\_ACEOF
25763 #define wxUSE_REGEX 1
25767 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25768 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25769 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25770 wxUSE_REGEX=builtin
25773 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25774 { echo "$as_me:$LINENO: checking for regex.h" >&5
25775 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25776 if test "${ac_cv_header_regex_h+set}" = set; then
25777 echo $ECHO_N "(cached) $ECHO_C" >&6
25779 cat >conftest.$ac_ext <<_ACEOF
25782 cat confdefs.h >>conftest.$ac_ext
25783 cat >>conftest.$ac_ext <<_ACEOF
25784 /* end confdefs.h. */
25789 rm -f conftest.$ac_objext
25790 if { (ac_try="$ac_compile"
25791 case "(($ac_try" in
25792 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25793 *) ac_try_echo
=$ac_try;;
25795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25796 (eval "$ac_compile") 2>conftest.er1
25798 grep -v '^ *+' conftest.er1
>conftest.err
25800 cat conftest.err
>&5
25801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25802 (exit $ac_status); } && {
25803 test -z "$ac_c_werror_flag" ||
25804 test ! -s conftest.err
25805 } && test -s conftest.
$ac_objext; then
25806 ac_cv_header_regex_h
=yes
25808 echo "$as_me: failed program was:" >&5
25809 sed 's/^/| /' conftest.
$ac_ext >&5
25811 ac_cv_header_regex_h
=no
25814 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25816 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25817 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25818 if test $ac_cv_header_regex_h = yes; then
25821 for ac_func
in regcomp re_search
25823 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25824 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25826 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25827 echo $ECHO_N "(cached) $ECHO_C" >&6
25829 cat >conftest.
$ac_ext <<_ACEOF
25832 cat confdefs.h
>>conftest.
$ac_ext
25833 cat >>conftest.
$ac_ext <<_ACEOF
25834 /* end confdefs.h. */
25835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25837 #define $ac_func innocuous_$ac_func
25839 /* System header to define __stub macros and hopefully few prototypes,
25840 which can conflict with char $ac_func (); below.
25841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25842 <limits.h> exists even on freestanding compilers. */
25845 # include <limits.h>
25847 # include <assert.h>
25852 /* Override any GCC internal prototype to avoid an error.
25853 Use char because int might match the return type of a GCC
25854 builtin and then its argument prototype would still apply. */
25859 /* The GNU C library defines this for functions which it implements
25860 to always fail with ENOSYS. Some functions are actually named
25861 something starting with __ and the normal name is an alias. */
25862 #if defined __stub_$ac_func || defined __stub___$ac_func
25869 return $ac_func ();
25874 rm -f conftest.
$ac_objext conftest
$ac_exeext
25875 if { (ac_try
="$ac_link"
25876 case "(($ac_try" in
25877 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25878 *) ac_try_echo=$ac_try;;
25880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25881 (eval "$ac_link") 2>conftest.er1
25883 grep -v '^ *+' conftest.er1 >conftest.err
25885 cat conftest.err >&5
25886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25887 (exit $ac_status); } && {
25888 test -z "$ac_c_werror_flag" ||
25889 test ! -s conftest.err
25890 } && test -s conftest$ac_exeext &&
25891 $as_test_x conftest$ac_exeext; then
25892 eval "$as_ac_var=yes"
25894 echo "$as_me: failed program was:" >&5
25895 sed 's/^/| /' conftest.$ac_ext >&5
25897 eval "$as_ac_var=no"
25900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25901 conftest$ac_exeext conftest.$ac_ext
25903 ac_res=`eval echo '${'$as_ac_var'}'`
25904 { echo "$as_me:$LINENO: result: $ac_res" >&5
25905 echo "${ECHO_T}$ac_res" >&6; }
25906 if test `eval echo '${'$as_ac_var'}'` = yes; then
25907 cat >>confdefs.h <<_ACEOF
25908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25918 if test "x$ac_cv_func_regcomp" != "xyes"; then
25919 if test "$wxUSE_REGEX" = "sys" ; then
25920 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25921 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25922 { (exit 1); exit 1; }; }
25924 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25925 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25926 wxUSE_REGEX=builtin
25930 cat >>confdefs.h <<\_ACEOF
25931 #define WX_NO_REGEX_ADVANCED 1
25940 if test "$wxUSE_ZLIB" != "no" ; then
25941 cat >>confdefs.h <<\_ACEOF
25942 #define wxUSE_ZLIB 1
25946 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25947 if test "$USE_DARWIN" = 1; then
25948 system_zlib_h_ok="yes"
25950 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25951 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25952 if test "${ac_cv_header_zlib_h+set}" = set; then
25953 echo $ECHO_N "(cached) $ECHO_C" >&6
25955 if test "$cross_compiling" = yes; then
25956 unset ac_cv_header_zlib_h
25959 cat >conftest.$ac_ext <<_ACEOF
25962 cat confdefs.h >>conftest.$ac_ext
25963 cat >>conftest.$ac_ext <<_ACEOF
25964 /* end confdefs.h. */
25971 FILE *f=fopen("conftestval", "w");
25974 ZLIB_VERSION[0] == '1' &&
25975 (ZLIB_VERSION[2] > '1' ||
25976 (ZLIB_VERSION[2] == '1' &&
25977 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25982 rm -f conftest$ac_exeext
25983 if { (ac_try="$ac_link"
25984 case "(($ac_try" in
25985 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25986 *) ac_try_echo
=$ac_try;;
25988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25989 (eval "$ac_link") 2>&5
25991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25992 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25993 { (case "(($ac_try" in
25994 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25995 *) ac_try_echo=$ac_try;;
25997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25998 (eval "$ac_try") 2>&5
26000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26001 (exit $ac_status); }; }; then
26002 ac_cv_header_zlib_h=`cat conftestval
`
26004 echo "$as_me: program exited with status $ac_status" >&5
26005 echo "$as_me: failed program was:" >&5
26006 sed 's/^/| /' conftest.$ac_ext >&5
26008 ( exit $ac_status )
26009 ac_cv_header_zlib_h=no
26011 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26017 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26018 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26019 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26020 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26021 if test "${ac_cv_header_zlib_h+set}" = set; then
26022 echo $ECHO_N "(cached) $ECHO_C" >&6
26024 cat >conftest.$ac_ext <<_ACEOF
26027 cat confdefs.h >>conftest.$ac_ext
26028 cat >>conftest.$ac_ext <<_ACEOF
26029 /* end confdefs.h. */
26034 rm -f conftest.$ac_objext
26035 if { (ac_try="$ac_compile"
26036 case "(($ac_try" in
26037 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26038 *) ac_try_echo
=$ac_try;;
26040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26041 (eval "$ac_compile") 2>conftest.er1
26043 grep -v '^ *+' conftest.er1
>conftest.err
26045 cat conftest.err
>&5
26046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26047 (exit $ac_status); } && {
26048 test -z "$ac_c_werror_flag" ||
26049 test ! -s conftest.err
26050 } && test -s conftest.
$ac_objext; then
26051 ac_cv_header_zlib_h
=yes
26053 echo "$as_me: failed program was:" >&5
26054 sed 's/^/| /' conftest.
$ac_ext >&5
26056 ac_cv_header_zlib_h
=no
26059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26061 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26062 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26066 system_zlib_h_ok
=$ac_cv_header_zlib_h
26069 if test "$system_zlib_h_ok" = "yes"; then
26070 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26071 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26072 if test "${ac_cv_lib_z_deflate+set}" = set; then
26073 echo $ECHO_N "(cached) $ECHO_C" >&6
26075 ac_check_lib_save_LIBS
=$LIBS
26077 cat >conftest.
$ac_ext <<_ACEOF
26080 cat confdefs.h
>>conftest.
$ac_ext
26081 cat >>conftest.
$ac_ext <<_ACEOF
26082 /* end confdefs.h. */
26084 /* Override any GCC internal prototype to avoid an error.
26085 Use char because int might match the return type of a GCC
26086 builtin and then its argument prototype would still apply. */
26099 rm -f conftest.
$ac_objext conftest
$ac_exeext
26100 if { (ac_try
="$ac_link"
26101 case "(($ac_try" in
26102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26103 *) ac_try_echo=$ac_try;;
26105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26106 (eval "$ac_link") 2>conftest.er1
26108 grep -v '^ *+' conftest.er1 >conftest.err
26110 cat conftest.err >&5
26111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26112 (exit $ac_status); } && {
26113 test -z "$ac_c_werror_flag" ||
26114 test ! -s conftest.err
26115 } && test -s conftest$ac_exeext &&
26116 $as_test_x conftest$ac_exeext; then
26117 ac_cv_lib_z_deflate=yes
26119 echo "$as_me: failed program was:" >&5
26120 sed 's/^/| /' conftest.$ac_ext >&5
26122 ac_cv_lib_z_deflate=no
26125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26126 conftest$ac_exeext conftest.$ac_ext
26127 LIBS=$ac_check_lib_save_LIBS
26129 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26130 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26131 if test $ac_cv_lib_z_deflate = yes; then
26137 if test "x$ZLIB_LINK" = "x" ; then
26138 if test "$wxUSE_ZLIB" = "sys" ; then
26139 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26140 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26141 { (exit 1); exit 1; }; }
26143 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26144 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26155 if test "$wxUSE_LIBPNG" != "no" ; then
26156 cat >>confdefs.h <<\_ACEOF
26157 #define wxUSE_LIBPNG 1
26161 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26162 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26163 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26167 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26168 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26169 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26170 wxUSE_LIBPNG=builtin
26173 if test "$wxUSE_MGL" != 1 ; then
26174 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26175 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26176 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26177 if test "${ac_cv_header_png_h+set}" = set; then
26178 echo $ECHO_N "(cached) $ECHO_C" >&6
26180 if test "$cross_compiling" = yes; then
26181 unset ac_cv_header_png_h
26184 cat >conftest.$ac_ext <<_ACEOF
26187 cat confdefs.h >>conftest.$ac_ext
26188 cat >>conftest.$ac_ext <<_ACEOF
26189 /* end confdefs.h. */
26196 FILE *f=fopen("conftestval", "w");
26199 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26204 rm -f conftest$ac_exeext
26205 if { (ac_try="$ac_link"
26206 case "(($ac_try" in
26207 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26208 *) ac_try_echo
=$ac_try;;
26210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26211 (eval "$ac_link") 2>&5
26213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26215 { (case "(($ac_try" in
26216 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26217 *) ac_try_echo=$ac_try;;
26219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26220 (eval "$ac_try") 2>&5
26222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26223 (exit $ac_status); }; }; then
26224 ac_cv_header_png_h=`cat conftestval
`
26226 echo "$as_me: program exited with status $ac_status" >&5
26227 echo "$as_me: failed program was:" >&5
26228 sed 's/^/| /' conftest.$ac_ext >&5
26230 ( exit $ac_status )
26231 ac_cv_header_png_h=no
26233 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26239 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26240 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26241 { echo "$as_me:$LINENO: checking for png.h" >&5
26242 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26243 if test "${ac_cv_header_png_h+set}" = set; then
26244 echo $ECHO_N "(cached) $ECHO_C" >&6
26246 cat >conftest.$ac_ext <<_ACEOF
26249 cat confdefs.h >>conftest.$ac_ext
26250 cat >>conftest.$ac_ext <<_ACEOF
26251 /* end confdefs.h. */
26256 rm -f conftest.$ac_objext
26257 if { (ac_try="$ac_compile"
26258 case "(($ac_try" in
26259 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26260 *) ac_try_echo
=$ac_try;;
26262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26263 (eval "$ac_compile") 2>conftest.er1
26265 grep -v '^ *+' conftest.er1
>conftest.err
26267 cat conftest.err
>&5
26268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26269 (exit $ac_status); } && {
26270 test -z "$ac_c_werror_flag" ||
26271 test ! -s conftest.err
26272 } && test -s conftest.
$ac_objext; then
26273 ac_cv_header_png_h
=yes
26275 echo "$as_me: failed program was:" >&5
26276 sed 's/^/| /' conftest.
$ac_ext >&5
26278 ac_cv_header_png_h
=no
26281 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26283 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26284 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26288 if test "$ac_cv_header_png_h" = "yes"; then
26289 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26290 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26291 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26292 echo $ECHO_N "(cached) $ECHO_C" >&6
26294 ac_check_lib_save_LIBS
=$LIBS
26295 LIBS
="-lpng -lz -lm $LIBS"
26296 cat >conftest.
$ac_ext <<_ACEOF
26299 cat confdefs.h
>>conftest.
$ac_ext
26300 cat >>conftest.
$ac_ext <<_ACEOF
26301 /* end confdefs.h. */
26303 /* Override any GCC internal prototype to avoid an error.
26304 Use char because int might match the return type of a GCC
26305 builtin and then its argument prototype would still apply. */
26309 char png_check_sig ();
26313 return png_check_sig ();
26318 rm -f conftest.
$ac_objext conftest
$ac_exeext
26319 if { (ac_try
="$ac_link"
26320 case "(($ac_try" in
26321 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26322 *) ac_try_echo=$ac_try;;
26324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26325 (eval "$ac_link") 2>conftest.er1
26327 grep -v '^ *+' conftest.er1 >conftest.err
26329 cat conftest.err >&5
26330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26331 (exit $ac_status); } && {
26332 test -z "$ac_c_werror_flag" ||
26333 test ! -s conftest.err
26334 } && test -s conftest$ac_exeext &&
26335 $as_test_x conftest$ac_exeext; then
26336 ac_cv_lib_png_png_check_sig=yes
26338 echo "$as_me: failed program was:" >&5
26339 sed 's/^/| /' conftest.$ac_ext >&5
26341 ac_cv_lib_png_png_check_sig=no
26344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26345 conftest$ac_exeext conftest.$ac_ext
26346 LIBS=$ac_check_lib_save_LIBS
26348 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26349 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26350 if test $ac_cv_lib_png_png_check_sig = yes; then
26351 PNG_LINK=" -lpng -lz"
26356 if test "x$PNG_LINK" = "x" ; then
26357 if test "$wxUSE_LIBPNG" = "sys" ; then
26358 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26359 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26360 { (exit 1); exit 1; }; }
26362 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26363 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26364 wxUSE_LIBPNG=builtin
26375 if test "$wxUSE_LIBJPEG" != "no" ; then
26376 cat >>confdefs.h <<\_ACEOF
26377 #define wxUSE_LIBJPEG 1
26381 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26382 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26383 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26387 if test "$wxUSE_MGL" != 1 ; then
26388 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26389 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26390 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26391 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26392 echo $ECHO_N "(cached) $ECHO_C" >&6
26394 cat >conftest.$ac_ext <<_ACEOF
26397 cat confdefs.h >>conftest.$ac_ext
26398 cat >>conftest.$ac_ext <<_ACEOF
26399 /* end confdefs.h. */
26401 #undef HAVE_STDLIB_H
26403 #include <jpeglib.h>
26414 rm -f conftest.$ac_objext
26415 if { (ac_try="$ac_compile"
26416 case "(($ac_try" in
26417 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26418 *) ac_try_echo
=$ac_try;;
26420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26421 (eval "$ac_compile") 2>conftest.er1
26423 grep -v '^ *+' conftest.er1
>conftest.err
26425 cat conftest.err
>&5
26426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26427 (exit $ac_status); } && {
26428 test -z "$ac_c_werror_flag" ||
26429 test ! -s conftest.err
26430 } && test -s conftest.
$ac_objext; then
26431 ac_cv_header_jpeglib_h
=yes
26433 echo "$as_me: failed program was:" >&5
26434 sed 's/^/| /' conftest.
$ac_ext >&5
26436 ac_cv_header_jpeglib_h
=no
26440 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26444 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26445 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26447 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26448 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26449 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26450 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26451 echo $ECHO_N "(cached) $ECHO_C" >&6
26453 ac_check_lib_save_LIBS
=$LIBS
26454 LIBS
="-ljpeg $LIBS"
26455 cat >conftest.
$ac_ext <<_ACEOF
26458 cat confdefs.h
>>conftest.
$ac_ext
26459 cat >>conftest.
$ac_ext <<_ACEOF
26460 /* end confdefs.h. */
26462 /* Override any GCC internal prototype to avoid an error.
26463 Use char because int might match the return type of a GCC
26464 builtin and then its argument prototype would still apply. */
26468 char jpeg_read_header ();
26472 return jpeg_read_header ();
26477 rm -f conftest.
$ac_objext conftest
$ac_exeext
26478 if { (ac_try
="$ac_link"
26479 case "(($ac_try" in
26480 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26481 *) ac_try_echo=$ac_try;;
26483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26484 (eval "$ac_link") 2>conftest.er1
26486 grep -v '^ *+' conftest.er1 >conftest.err
26488 cat conftest.err >&5
26489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26490 (exit $ac_status); } && {
26491 test -z "$ac_c_werror_flag" ||
26492 test ! -s conftest.err
26493 } && test -s conftest$ac_exeext &&
26494 $as_test_x conftest$ac_exeext; then
26495 ac_cv_lib_jpeg_jpeg_read_header=yes
26497 echo "$as_me: failed program was:" >&5
26498 sed 's/^/| /' conftest.$ac_ext >&5
26500 ac_cv_lib_jpeg_jpeg_read_header=no
26503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26504 conftest$ac_exeext conftest.$ac_ext
26505 LIBS=$ac_check_lib_save_LIBS
26507 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26508 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26509 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26510 JPEG_LINK=" -ljpeg"
26515 if test "x$JPEG_LINK" = "x" ; then
26516 if test "$wxUSE_LIBJPEG" = "sys" ; then
26517 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26518 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26519 { (exit 1); exit 1; }; }
26521 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26522 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26523 wxUSE_LIBJPEG=builtin
26528 if test "$wxUSE_MSW" = 1; then
26529 { echo "$as_me:$LINENO: checking for boolean" >&5
26530 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26531 if test "${ac_cv_type_boolean+set}" = set; then
26532 echo $ECHO_N "(cached) $ECHO_C" >&6
26534 cat >conftest.$ac_ext <<_ACEOF
26537 cat confdefs.h >>conftest.$ac_ext
26538 cat >>conftest.$ac_ext <<_ACEOF
26539 /* end confdefs.h. */
26540 #include <windows.h>
26542 typedef boolean ac__type_new_;
26546 if ((ac__type_new_ *) 0)
26548 if (sizeof (ac__type_new_))
26554 rm -f conftest.$ac_objext
26555 if { (ac_try="$ac_compile"
26556 case "(($ac_try" in
26557 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26558 *) ac_try_echo
=$ac_try;;
26560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26561 (eval "$ac_compile") 2>conftest.er1
26563 grep -v '^ *+' conftest.er1
>conftest.err
26565 cat conftest.err
>&5
26566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26567 (exit $ac_status); } && {
26568 test -z "$ac_c_werror_flag" ||
26569 test ! -s conftest.err
26570 } && test -s conftest.
$ac_objext; then
26571 ac_cv_type_boolean
=yes
26573 echo "$as_me: failed program was:" >&5
26574 sed 's/^/| /' conftest.
$ac_ext >&5
26576 ac_cv_type_boolean
=no
26579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26581 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26582 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26583 if test $ac_cv_type_boolean = yes; then
26585 cat >>confdefs.h
<<_ACEOF
26586 #define HAVE_BOOLEAN 1
26590 { echo "$as_me:$LINENO: checking for boolean" >&5
26591 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26592 if test "${ac_cv_type_boolean+set}" = set; then
26593 echo $ECHO_N "(cached) $ECHO_C" >&6
26595 cat >conftest.
$ac_ext <<_ACEOF
26598 cat confdefs.h
>>conftest.
$ac_ext
26599 cat >>conftest.
$ac_ext <<_ACEOF
26600 /* end confdefs.h. */
26602 #undef HAVE_BOOLEAN
26604 #include <jpeglib.h>
26607 typedef boolean ac__type_new_;
26611 if ((ac__type_new_ *) 0)
26613 if (sizeof (ac__type_new_))
26619 rm -f conftest.
$ac_objext
26620 if { (ac_try
="$ac_compile"
26621 case "(($ac_try" in
26622 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26623 *) ac_try_echo=$ac_try;;
26625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26626 (eval "$ac_compile") 2>conftest.er1
26628 grep -v '^ *+' conftest.er1 >conftest.err
26630 cat conftest.err >&5
26631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26632 (exit $ac_status); } && {
26633 test -z "$ac_c_werror_flag" ||
26634 test ! -s conftest.err
26635 } && test -s conftest.$ac_objext; then
26636 ac_cv_type_boolean=yes
26638 echo "$as_me: failed program was:" >&5
26639 sed 's/^/| /' conftest.$ac_ext >&5
26641 ac_cv_type_boolean=no
26644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26646 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26647 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26649 # The cast to long int works around a bug in the HP C Compiler
26650 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26651 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
26652 # This bug is HP SR number 8606223364.
26653 { echo "$as_me:$LINENO: checking size of boolean" >&5
26654 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26655 if test "${ac_cv_sizeof_boolean+set}" = set; then
26656 echo $ECHO_N "(cached) $ECHO_C" >&6
26658 if test "$cross_compiling" = yes; then
26659 # Depending upon the size, compute the lo and hi bounds.
26660 cat >conftest.$ac_ext <<_ACEOF
26663 cat confdefs.h >>conftest.$ac_ext
26664 cat >>conftest.$ac_ext <<_ACEOF
26665 /* end confdefs.h. */
26667 #undef HAVE_BOOLEAN
26669 #include <jpeglib.h>
26672 typedef boolean ac__type_sizeof_;
26676 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26683 rm -f conftest.$ac_objext
26684 if { (ac_try="$ac_compile"
26685 case "(($ac_try" in
26686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26687 *) ac_try_echo=$ac_try;;
26689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26690 (eval "$ac_compile") 2>conftest.er1
26692 grep -v '^
*+' conftest.er1 >conftest.err
26694 cat conftest.err >&5
26695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26696 (exit $ac_status); } && {
26697 test -z "$ac_c_werror_flag" ||
26698 test ! -s conftest.err
26699 } && test -s conftest.$ac_objext; then
26702 cat >conftest.$ac_ext <<_ACEOF
26705 cat confdefs.h >>conftest.$ac_ext
26706 cat >>conftest.$ac_ext <<_ACEOF
26707 /* end confdefs.h. */
26709 #undef HAVE_BOOLEAN
26711 #include <jpeglib.h>
26714 typedef boolean ac__type_sizeof_;
26718 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26725 rm -f conftest.$ac_objext
26726 if { (ac_try="$ac_compile"
26727 case "(($ac_try" in
26728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26729 *) ac_try_echo=$ac_try;;
26731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26732 (eval "$ac_compile") 2>conftest.er1
26734 grep -v '^
*+' conftest.er1 >conftest.err
26736 cat conftest.err >&5
26737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26738 (exit $ac_status); } && {
26739 test -z "$ac_c_werror_flag" ||
26740 test ! -s conftest.err
26741 } && test -s conftest.$ac_objext; then
26742 ac_hi=$ac_mid; break
26744 echo "$as_me: failed program was:" >&5
26745 sed 's
/^
/| /' conftest.$ac_ext >&5
26747 ac_lo=`expr $ac_mid + 1`
26748 if test $ac_lo -le $ac_mid; then
26752 ac_mid=`expr 2 '*' $ac_mid + 1`
26755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26758 echo "$as_me: failed program was:" >&5
26759 sed 's
/^
/| /' conftest.$ac_ext >&5
26761 cat >conftest.$ac_ext <<_ACEOF
26764 cat confdefs.h >>conftest.$ac_ext
26765 cat >>conftest.$ac_ext <<_ACEOF
26766 /* end confdefs.h. */
26768 #undef HAVE_BOOLEAN
26770 #include <jpeglib.h>
26773 typedef boolean ac__type_sizeof_;
26777 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26784 rm -f conftest.$ac_objext
26785 if { (ac_try="$ac_compile"
26786 case "(($ac_try" in
26787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26788 *) ac_try_echo=$ac_try;;
26790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26791 (eval "$ac_compile") 2>conftest.er1
26793 grep -v '^
*+' conftest.er1 >conftest.err
26795 cat conftest.err >&5
26796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26797 (exit $ac_status); } && {
26798 test -z "$ac_c_werror_flag" ||
26799 test ! -s conftest.err
26800 } && test -s conftest.$ac_objext; then
26803 cat >conftest.$ac_ext <<_ACEOF
26806 cat confdefs.h >>conftest.$ac_ext
26807 cat >>conftest.$ac_ext <<_ACEOF
26808 /* end confdefs.h. */
26810 #undef HAVE_BOOLEAN
26812 #include <jpeglib.h>
26815 typedef boolean ac__type_sizeof_;
26819 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26826 rm -f conftest.$ac_objext
26827 if { (ac_try="$ac_compile"
26828 case "(($ac_try" in
26829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26830 *) ac_try_echo=$ac_try;;
26832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26833 (eval "$ac_compile") 2>conftest.er1
26835 grep -v '^
*+' conftest.er1 >conftest.err
26837 cat conftest.err >&5
26838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26839 (exit $ac_status); } && {
26840 test -z "$ac_c_werror_flag" ||
26841 test ! -s conftest.err
26842 } && test -s conftest.$ac_objext; then
26843 ac_lo=$ac_mid; break
26845 echo "$as_me: failed program was:" >&5
26846 sed 's
/^
/| /' conftest.$ac_ext >&5
26848 ac_hi=`expr '(' $ac_mid ')' - 1`
26849 if test $ac_mid -le $ac_hi; then
26853 ac_mid=`expr 2 '*' $ac_mid`
26856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26859 echo "$as_me: failed program was:" >&5
26860 sed 's
/^
/| /' conftest.$ac_ext >&5
26865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26869 # Binary search between lo and hi bounds.
26870 while test "x$ac_lo" != "x$ac_hi"; do
26871 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26872 cat >conftest.$ac_ext <<_ACEOF
26875 cat confdefs.h >>conftest.$ac_ext
26876 cat >>conftest.$ac_ext <<_ACEOF
26877 /* end confdefs.h. */
26879 #undef HAVE_BOOLEAN
26881 #include <jpeglib.h>
26884 typedef boolean ac__type_sizeof_;
26888 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26895 rm -f conftest.$ac_objext
26896 if { (ac_try="$ac_compile"
26897 case "(($ac_try" in
26898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26899 *) ac_try_echo=$ac_try;;
26901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26902 (eval "$ac_compile") 2>conftest.er1
26904 grep -v '^
*+' conftest.er1 >conftest.err
26906 cat conftest.err >&5
26907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26908 (exit $ac_status); } && {
26909 test -z "$ac_c_werror_flag" ||
26910 test ! -s conftest.err
26911 } && test -s conftest.$ac_objext; then
26914 echo "$as_me: failed program was:" >&5
26915 sed 's
/^
/| /' conftest.$ac_ext >&5
26917 ac_lo=`expr '(' $ac_mid ')' + 1`
26920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26923 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26924 '') if test "$ac_cv_type_boolean" = yes; then
26925 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26926 See \`config.log' for more details.
" >&5
26927 echo "$as_me: error
: cannot compute sizeof
(boolean
)
26928 See \
`config.log' for more details." >&2;}
26929 { (exit 77); exit 77; }; }
26931 ac_cv_sizeof_boolean=0
26935 cat >conftest.$ac_ext <<_ACEOF
26938 cat confdefs.h >>conftest.$ac_ext
26939 cat >>conftest.$ac_ext <<_ACEOF
26940 /* end confdefs.h. */
26942 #undef HAVE_BOOLEAN
26944 #include <jpeglib.h>
26947 typedef boolean ac__type_sizeof_;
26948 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26949 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26951 #include <stdlib.h>
26956 FILE *f = fopen ("conftest.val", "w");
26959 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26961 long int i = longval ();
26962 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26964 fprintf (f, "%ld\n", i);
26968 unsigned long int i = ulongval ();
26969 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26971 fprintf (f, "%lu\n", i);
26973 return ferror (f) || fclose (f) != 0;
26979 rm -f conftest$ac_exeext
26980 if { (ac_try="$ac_link"
26981 case "(($ac_try" in
26982 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26983 *) ac_try_echo
=$ac_try;;
26985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26986 (eval "$ac_link") 2>&5
26988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26989 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26990 { (case "(($ac_try" in
26991 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26992 *) ac_try_echo=$ac_try;;
26994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26995 (eval "$ac_try") 2>&5
26997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26998 (exit $ac_status); }; }; then
26999 ac_cv_sizeof_boolean=`cat conftest.val
`
27001 echo "$as_me: program exited with status $ac_status" >&5
27002 echo "$as_me: failed program was:" >&5
27003 sed 's/^/| /' conftest.$ac_ext >&5
27005 ( exit $ac_status )
27006 if test "$ac_cv_type_boolean" = yes; then
27007 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27008 See \`config.log
' for more details." >&5
27009 echo "$as_me: error: cannot compute sizeof (boolean)
27010 See \`config.log' for more details.
" >&2;}
27011 { (exit 77); exit 77; }; }
27013 ac_cv_sizeof_boolean=0
27016 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27020 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27021 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27025 cat >>confdefs.h <<_ACEOF
27026 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27030 cat >>confdefs.h <<_ACEOF
27031 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27045 TIFF_PREREQ_LINKS=-lm
27046 if test "$wxUSE_LIBTIFF" != "no
" ; then
27047 cat >>confdefs.h <<\_ACEOF
27048 #define wxUSE_LIBTIFF 1
27052 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27053 if test "$wxUSE_LIBJPEG" = "sys
"; then
27054 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27056 if test "$wxUSE_ZLIB" = "sys
"; then
27057 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27059 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27060 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27061 if test "${ac_cv_header_tiffio_h+set}" = set; then
27062 echo $ECHO_N "(cached
) $ECHO_C" >&6
27064 cat >conftest.$ac_ext <<_ACEOF
27067 cat confdefs.h >>conftest.$ac_ext
27068 cat >>conftest.$ac_ext <<_ACEOF
27069 /* end confdefs.h. */
27073 #include <tiffio.h>
27075 rm -f conftest.$ac_objext
27076 if { (ac_try="$ac_compile"
27077 case "(($ac_try" in
27078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27079 *) ac_try_echo=$ac_try;;
27081 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27082 (eval "$ac_compile") 2>conftest.er1
27084 grep -v '^ *+' conftest.er1 >conftest.err
27086 cat conftest.err >&5
27087 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27088 (exit $ac_status); } && {
27089 test -z "$ac_c_werror_flag" ||
27090 test ! -s conftest.err
27091 } && test -s conftest.$ac_objext; then
27092 ac_cv_header_tiffio_h=yes
27094 echo "$as_me: failed program was
:" >&5
27095 sed 's/^/| /' conftest.$ac_ext >&5
27097 ac_cv_header_tiffio_h=no
27100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27102 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27103 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27104 if test $ac_cv_header_tiffio_h = yes; then
27106 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27107 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27108 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27109 echo $ECHO_N "(cached
) $ECHO_C" >&6
27111 ac_check_lib_save_LIBS=$LIBS
27112 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27113 cat >conftest.$ac_ext <<_ACEOF
27116 cat confdefs.h >>conftest.$ac_ext
27117 cat >>conftest.$ac_ext <<_ACEOF
27118 /* end confdefs.h. */
27120 /* Override any GCC internal prototype to avoid an error.
27121 Use char because int might match the return type of a GCC
27122 builtin and then its argument prototype would still apply. */
27130 return TIFFError ();
27135 rm -f conftest.$ac_objext conftest$ac_exeext
27136 if { (ac_try="$ac_link"
27137 case "(($ac_try" in
27138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27139 *) ac_try_echo=$ac_try;;
27141 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27142 (eval "$ac_link") 2>conftest.er1
27144 grep -v '^ *+' conftest.er1 >conftest.err
27146 cat conftest.err >&5
27147 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27148 (exit $ac_status); } && {
27149 test -z "$ac_c_werror_flag" ||
27150 test ! -s conftest.err
27151 } && test -s conftest$ac_exeext &&
27152 $as_test_x conftest$ac_exeext; then
27153 ac_cv_lib_tiff_TIFFError=yes
27155 echo "$as_me: failed program was
:" >&5
27156 sed 's/^/| /' conftest.$ac_ext >&5
27158 ac_cv_lib_tiff_TIFFError=no
27161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27162 conftest$ac_exeext conftest.$ac_ext
27163 LIBS=$ac_check_lib_save_LIBS
27165 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27166 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27167 if test $ac_cv_lib_tiff_TIFFError = yes; then
27168 TIFF_LINK=" -ltiff"
27176 if test "x
$TIFF_LINK" = "x
" ; then
27177 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27178 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27179 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27180 { (exit 1); exit 1; }; }
27182 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27183 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27184 wxUSE_LIBTIFF=builtin
27190 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27191 if test "$wxUSE_LIBJPEG" = "no
"; then
27192 ac_configure_args="$ac_configure_args --disable-jpeg"
27194 subdirs="$subdirs src
/tiff
"
27200 if test "$wxUSE_WCHAR_T" != "yes"; then
27201 if test "$wxUSE_EXPAT" != "no
"; then
27202 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27203 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27206 if test "$wxUSE_XML" != "no
"; then
27207 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27208 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27213 if test "$wxUSE_EXPAT" != "no
"; then
27215 cat >>confdefs.h <<\_ACEOF
27216 #define wxUSE_EXPAT 1
27219 cat >>confdefs.h <<\_ACEOF
27220 #define wxUSE_XML 1
27224 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27225 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27226 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27227 if test "${ac_cv_header_expat_h+set}" = set; then
27228 echo $ECHO_N "(cached
) $ECHO_C" >&6
27230 cat >conftest.$ac_ext <<_ACEOF
27233 cat confdefs.h >>conftest.$ac_ext
27234 cat >>conftest.$ac_ext <<_ACEOF
27235 /* end confdefs.h. */
27240 rm -f conftest.$ac_objext
27241 if { (ac_try="$ac_compile"
27242 case "(($ac_try" in
27243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27244 *) ac_try_echo=$ac_try;;
27246 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27247 (eval "$ac_compile") 2>conftest.er1
27249 grep -v '^ *+' conftest.er1 >conftest.err
27251 cat conftest.err >&5
27252 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27253 (exit $ac_status); } && {
27254 test -z "$ac_c_werror_flag" ||
27255 test ! -s conftest.err
27256 } && test -s conftest.$ac_objext; then
27257 ac_cv_header_expat_h=yes
27259 echo "$as_me: failed program was
:" >&5
27260 sed 's/^/| /' conftest.$ac_ext >&5
27262 ac_cv_header_expat_h=no
27265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27267 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27268 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27269 if test $ac_cv_header_expat_h = yes; then
27274 if test "x
$found_expat_h" = "x1
"; then
27275 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27276 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27277 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27278 echo $ECHO_N "(cached
) $ECHO_C" >&6
27282 ac_cpp='$CXXCPP $CPPFLAGS'
27283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27287 cat >conftest.$ac_ext <<_ACEOF
27290 cat confdefs.h >>conftest.$ac_ext
27291 cat >>conftest.$ac_ext <<_ACEOF
27292 /* end confdefs.h. */
27302 rm -f conftest.$ac_objext
27303 if { (ac_try="$ac_compile"
27304 case "(($ac_try" in
27305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27306 *) ac_try_echo=$ac_try;;
27308 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27309 (eval "$ac_compile") 2>conftest.er1
27311 grep -v '^ *+' conftest.er1 >conftest.err
27313 cat conftest.err >&5
27314 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27315 (exit $ac_status); } && {
27316 test -z "$ac_cxx_werror_flag" ||
27317 test ! -s conftest.err
27318 } && test -s conftest.$ac_objext; then
27319 wx_cv_expat_is_not_broken=yes
27321 echo "$as_me: failed program was
:" >&5
27322 sed 's/^/| /' conftest.$ac_ext >&5
27324 wx_cv_expat_is_not_broken=no
27328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27330 ac_cpp='$CPP $CPPFLAGS'
27331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27338 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27339 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27340 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27341 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27342 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27343 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27344 echo $ECHO_N "(cached
) $ECHO_C" >&6
27346 ac_check_lib_save_LIBS=$LIBS
27347 LIBS="-lexpat $LIBS"
27348 cat >conftest.$ac_ext <<_ACEOF
27351 cat confdefs.h >>conftest.$ac_ext
27352 cat >>conftest.$ac_ext <<_ACEOF
27353 /* end confdefs.h. */
27355 /* Override any GCC internal prototype to avoid an error.
27356 Use char because int might match the return type of a GCC
27357 builtin and then its argument prototype would still apply. */
27361 char XML_ParserCreate ();
27365 return XML_ParserCreate ();
27370 rm -f conftest.$ac_objext conftest$ac_exeext
27371 if { (ac_try="$ac_link"
27372 case "(($ac_try" in
27373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27374 *) ac_try_echo=$ac_try;;
27376 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27377 (eval "$ac_link") 2>conftest.er1
27379 grep -v '^ *+' conftest.er1 >conftest.err
27381 cat conftest.err >&5
27382 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27383 (exit $ac_status); } && {
27384 test -z "$ac_c_werror_flag" ||
27385 test ! -s conftest.err
27386 } && test -s conftest$ac_exeext &&
27387 $as_test_x conftest$ac_exeext; then
27388 ac_cv_lib_expat_XML_ParserCreate=yes
27390 echo "$as_me: failed program was
:" >&5
27391 sed 's/^/| /' conftest.$ac_ext >&5
27393 ac_cv_lib_expat_XML_ParserCreate=no
27396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27397 conftest$ac_exeext conftest.$ac_ext
27398 LIBS=$ac_check_lib_save_LIBS
27400 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27401 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27402 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27403 EXPAT_LINK=" -lexpat"
27408 if test "x
$EXPAT_LINK" = "x
" ; then
27409 if test "$wxUSE_EXPAT" = "sys
" ; then
27410 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27411 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27412 { (exit 1); exit 1; }; }
27414 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27415 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27416 wxUSE_EXPAT=builtin
27422 if test "$wxUSE_EXPAT" = "builtin" ; then
27423 subdirs="$subdirs src
/expat
"
27430 if test "$wxUSE_LIBMSPACK" != "no
"; then
27431 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27432 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27433 if test "${ac_cv_header_mspack_h+set}" = set; then
27434 echo $ECHO_N "(cached
) $ECHO_C" >&6
27436 cat >conftest.$ac_ext <<_ACEOF
27439 cat confdefs.h >>conftest.$ac_ext
27440 cat >>conftest.$ac_ext <<_ACEOF
27441 /* end confdefs.h. */
27444 #include <mspack.h>
27446 rm -f conftest.$ac_objext
27447 if { (ac_try="$ac_compile"
27448 case "(($ac_try" in
27449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27450 *) ac_try_echo=$ac_try;;
27452 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27453 (eval "$ac_compile") 2>conftest.er1
27455 grep -v '^ *+' conftest.er1 >conftest.err
27457 cat conftest.err >&5
27458 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27459 (exit $ac_status); } && {
27460 test -z "$ac_c_werror_flag" ||
27461 test ! -s conftest.err
27462 } && test -s conftest.$ac_objext; then
27463 ac_cv_header_mspack_h=yes
27465 echo "$as_me: failed program was
:" >&5
27466 sed 's/^/| /' conftest.$ac_ext >&5
27468 ac_cv_header_mspack_h=no
27471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27473 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
27474 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27475 if test $ac_cv_header_mspack_h = yes; then
27480 if test "x
$found_mspack_h" = "x1
"; then
27481 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
27482 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
27483 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27484 echo $ECHO_N "(cached
) $ECHO_C" >&6
27486 ac_check_lib_save_LIBS=$LIBS
27487 LIBS="-lmspack $LIBS"
27488 cat >conftest.$ac_ext <<_ACEOF
27491 cat confdefs.h >>conftest.$ac_ext
27492 cat >>conftest.$ac_ext <<_ACEOF
27493 /* end confdefs.h. */
27495 /* Override any GCC internal prototype to avoid an error.
27496 Use char because int might match the return type of a GCC
27497 builtin and then its argument prototype would still apply. */
27501 char mspack_create_chm_decompressor ();
27505 return mspack_create_chm_decompressor ();
27510 rm -f conftest.$ac_objext conftest$ac_exeext
27511 if { (ac_try="$ac_link"
27512 case "(($ac_try" in
27513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27514 *) ac_try_echo=$ac_try;;
27516 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27517 (eval "$ac_link") 2>conftest.er1
27519 grep -v '^ *+' conftest.er1 >conftest.err
27521 cat conftest.err >&5
27522 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27523 (exit $ac_status); } && {
27524 test -z "$ac_c_werror_flag" ||
27525 test ! -s conftest.err
27526 } && test -s conftest$ac_exeext &&
27527 $as_test_x conftest$ac_exeext; then
27528 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27530 echo "$as_me: failed program was
:" >&5
27531 sed 's/^/| /' conftest.$ac_ext >&5
27533 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27537 conftest$ac_exeext conftest.$ac_ext
27538 LIBS=$ac_check_lib_save_LIBS
27540 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27541 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27542 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27543 MSPACK_LINK=" -lmspack"
27547 if test "x
$MSPACK_LINK" = "x
" ; then
27552 if test "$wxUSE_LIBMSPACK" != "no
"; then
27553 cat >>confdefs.h <<\_ACEOF
27554 #define wxUSE_LIBMSPACK 1
27568 if test "$USE_WIN32" = 1 ; then
27570 for ac_header in w32api.h
27572 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
27573 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
27574 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
27575 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
27576 echo $ECHO_N "(cached
) $ECHO_C" >&6
27578 cat >conftest.$ac_ext <<_ACEOF
27581 cat confdefs.h >>conftest.$ac_ext
27582 cat >>conftest.$ac_ext <<_ACEOF
27583 /* end confdefs.h. */
27586 #include <$ac_header>
27588 rm -f conftest.$ac_objext
27589 if { (ac_try="$ac_compile"
27590 case "(($ac_try" in
27591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27592 *) ac_try_echo=$ac_try;;
27594 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27595 (eval "$ac_compile") 2>conftest.er1
27597 grep -v '^ *+' conftest.er1 >conftest.err
27599 cat conftest.err >&5
27600 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27601 (exit $ac_status); } && {
27602 test -z "$ac_c_werror_flag" ||
27603 test ! -s conftest.err
27604 } && test -s conftest.$ac_objext; then
27605 eval "$as_ac_Header=yes"
27607 echo "$as_me: failed program was
:" >&5
27608 sed 's/^/| /' conftest.$ac_ext >&5
27610 eval "$as_ac_Header=no
"
27613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27615 ac_res=`eval echo '${'$as_ac_Header'}'`
27616 { echo "$as_me:$LINENO: result
: $ac_res" >&5
27617 echo "${ECHO_T}$ac_res" >&6; }
27618 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27619 cat >>confdefs.h <<_ACEOF
27620 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
27627 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
27628 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
27629 if test "${ac_cv_header_windows_h+set}" = set; then
27630 echo $ECHO_N "(cached
) $ECHO_C" >&6
27632 cat >conftest.$ac_ext <<_ACEOF
27635 cat confdefs.h >>conftest.$ac_ext
27636 cat >>conftest.$ac_ext <<_ACEOF
27637 /* end confdefs.h. */
27640 #include <windows.h>
27642 rm -f conftest.$ac_objext
27643 if { (ac_try="$ac_compile"
27644 case "(($ac_try" in
27645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27646 *) ac_try_echo=$ac_try;;
27648 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27649 (eval "$ac_compile") 2>conftest.er1
27651 grep -v '^ *+' conftest.er1 >conftest.err
27653 cat conftest.err >&5
27654 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27655 (exit $ac_status); } && {
27656 test -z "$ac_c_werror_flag" ||
27657 test ! -s conftest.err
27658 } && test -s conftest.$ac_objext; then
27659 ac_cv_header_windows_h=yes
27661 echo "$as_me: failed program was
:" >&5
27662 sed 's/^/| /' conftest.$ac_ext >&5
27664 ac_cv_header_windows_h=no
27667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27669 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
27670 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27671 if test $ac_cv_header_windows_h = yes; then
27675 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
27676 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
27677 { (exit 1); exit 1; }; }
27683 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27685 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27686 LIBS="$LIBS -loleacc"
27691 LIBS="$LIBS -lkernel32 -luser32"
27694 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
27695 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
27697 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
27699 WIN32INSTALL=win32install
27701 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
27702 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
27703 if test "${ac_cv_header_pbt_h+set}" = set; then
27704 echo $ECHO_N "(cached
) $ECHO_C" >&6
27706 cat >conftest.$ac_ext <<_ACEOF
27709 cat confdefs.h >>conftest.$ac_ext
27710 cat >>conftest.$ac_ext <<_ACEOF
27711 /* end confdefs.h. */
27716 rm -f conftest.$ac_objext
27717 if { (ac_try="$ac_compile"
27718 case "(($ac_try" in
27719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27720 *) ac_try_echo=$ac_try;;
27722 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27723 (eval "$ac_compile") 2>conftest.er1
27725 grep -v '^ *+' conftest.er1 >conftest.err
27727 cat conftest.err >&5
27728 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27729 (exit $ac_status); } && {
27730 test -z "$ac_c_werror_flag" ||
27731 test ! -s conftest.err
27732 } && test -s conftest.$ac_objext; then
27733 ac_cv_header_pbt_h=yes
27735 echo "$as_me: failed program was
:" >&5
27736 sed 's/^/| /' conftest.$ac_ext >&5
27738 ac_cv_header_pbt_h=no
27741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27743 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
27744 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27745 if test $ac_cv_header_pbt_h = yes; then
27748 cat >>confdefs.h <<\_ACEOF
27749 #define NEED_PBT_H 1
27757 if test "$wxUSE_GUI" = "yes"; then
27767 if test "$wxUSE_COCOA" = 1 ; then
27768 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27769 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
27770 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
27771 wxUSE_PRINTING_ARCHITECTURE=no
27773 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27774 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
27775 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
27776 wxUSE_DRAG_AND_DROP=no
27778 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27779 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
27780 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
27785 if test "$wxUSE_MSW" = 1 ; then
27791 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
27795 if test "$wxUSE_GTK" = 1; then
27796 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
27797 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
27799 gtk_version_cached=1
27800 if test "${wx_cv_lib_gtk+set}" = set; then
27801 echo $ECHO_N "(cached
) $ECHO_C" >&6
27804 gtk_version_cached=0
27805 { echo "$as_me:$LINENO: result
: " >&5
27806 echo "${ECHO_T}" >&6; }
27809 if test "$wxUSE_THREADS" = "yes"; then
27810 GTK_MODULES=gthread
27814 if test "x
$wxGTK_VERSION" != "x1
"
27818 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27823 # Check whether --enable-gtktest was given.
27824 if test "${enable_gtktest+set}" = set; then
27825 enableval=$enable_gtktest;
27831 pkg_config_args=gtk+-2.0
27832 for module in . $GTK_MODULES
27836 pkg_config_args="$pkg_config_args gthread
-2.0
"
27843 # Extract the first word of "pkg
-config", so it can be a program name with args.
27844 set dummy pkg-config; ac_word=$2
27845 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
27846 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
27847 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27848 echo $ECHO_N "(cached
) $ECHO_C" >&6
27850 case $PKG_CONFIG in
27852 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27856 for as_dir in $PATH
27859 test -z "$as_dir" && as_dir=.
27860 for ac_exec_ext in '' $ac_executable_extensions; do
27861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27862 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27863 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
27870 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
27874 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27875 if test -n "$PKG_CONFIG"; then
27876 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
27877 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27879 { echo "$as_me:$LINENO: result
: no
" >&5
27880 echo "${ECHO_T}no
" >&6; }
27885 if test x$PKG_CONFIG != xno ; then
27886 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27889 echo "*** pkg
-config too old
; version
0.7 or better required.
"
27897 min_gtk_version=2.4.0
27898 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
27899 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
27901 if test x$PKG_CONFIG != xno ; then
27902 ## don't try to run the test against uninstalled libtool libs
27903 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27904 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
27908 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27915 if test x"$no_gtk" = x ; then
27916 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27917 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27918 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27919 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27920 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27921 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27922 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27923 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27924 if test "x
$enable_gtktest" = "xyes
" ; then
27925 ac_save_CFLAGS="$CFLAGS"
27926 ac_save_LIBS="$LIBS"
27927 CFLAGS="$CFLAGS $GTK_CFLAGS"
27928 LIBS="$GTK_LIBS $LIBS"
27930 if test "$cross_compiling" = yes; then
27931 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
27933 cat >conftest.$ac_ext <<_ACEOF
27936 cat confdefs.h >>conftest.$ac_ext
27937 cat >>conftest.$ac_ext <<_ACEOF
27938 /* end confdefs.h. */
27940 #include <gtk/gtk.h>
27942 #include <stdlib.h>
27947 int major, minor, micro;
27950 system ("touch conf.gtktest
");
27952 /* HP/UX 9 (%@#!) writes to sscanf strings */
27953 tmp_version = g_strdup("$min_gtk_version");
27954 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
27955 printf("%s
, bad version string
\n", "$min_gtk_version");
27959 if ((gtk_major_version != $gtk_config_major_version) ||
27960 (gtk_minor_version != $gtk_config_minor_version) ||
27961 (gtk_micro_version != $gtk_config_micro_version))
27963 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
27964 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27965 gtk_major_version, gtk_minor_version, gtk_micro_version);
27966 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
27967 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
27968 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
27969 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
27970 printf("*** required on your system.
\n");
27971 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
27972 printf("*** to point to the correct configuration files
\n");
27974 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27975 (gtk_minor_version != GTK_MINOR_VERSION) ||
27976 (gtk_micro_version != GTK_MICRO_VERSION))
27978 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
27979 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27980 printf("*** library
(version
%d.
%d.
%d
)\n",
27981 gtk_major_version, gtk_minor_version, gtk_micro_version);
27985 if ((gtk_major_version > major) ||
27986 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27987 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27993 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
27994 gtk_major_version, gtk_minor_version, gtk_micro_version);
27995 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
27996 major, minor, micro);
27997 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
27999 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28000 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28001 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28002 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28003 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28004 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28005 printf("*** so that the correct libraries are found
at run
-time))\n");
28012 rm -f conftest$ac_exeext
28013 if { (ac_try="$ac_link"
28014 case "(($ac_try" in
28015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28016 *) ac_try_echo=$ac_try;;
28018 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28019 (eval "$ac_link") 2>&5
28021 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28022 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28023 { (case "(($ac_try" in
28024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28025 *) ac_try_echo=$ac_try;;
28027 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28028 (eval "$ac_try") 2>&5
28030 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28031 (exit $ac_status); }; }; then
28034 echo "$as_me: program exited with status
$ac_status" >&5
28035 echo "$as_me: failed program was
:" >&5
28036 sed 's/^/| /' conftest.$ac_ext >&5
28038 ( exit $ac_status )
28041 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28045 CFLAGS="$ac_save_CFLAGS"
28046 LIBS="$ac_save_LIBS"
28049 if test "x
$no_gtk" = x ; then
28050 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28051 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28054 { echo "$as_me:$LINENO: result
: no
" >&5
28055 echo "${ECHO_T}no
" >&6; }
28056 if test "$PKG_CONFIG" = "no
" ; then
28057 echo "*** A new enough version of pkg
-config was not found.
"
28058 echo "*** See http
://pkgconfig.sourceforge.net
"
28060 if test -f conf.gtktest ; then
28063 echo "*** Could not run GTK
+ test program
, checking why...
"
28064 ac_save_CFLAGS="$CFLAGS"
28065 ac_save_LIBS="$LIBS"
28066 CFLAGS="$CFLAGS $GTK_CFLAGS"
28067 LIBS="$LIBS $GTK_LIBS"
28068 cat >conftest.$ac_ext <<_ACEOF
28071 cat confdefs.h >>conftest.$ac_ext
28072 cat >>conftest.$ac_ext <<_ACEOF
28073 /* end confdefs.h. */
28075 #include <gtk/gtk.h>
28081 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28086 rm -f conftest.$ac_objext conftest$ac_exeext
28087 if { (ac_try="$ac_link"
28088 case "(($ac_try" in
28089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28090 *) ac_try_echo=$ac_try;;
28092 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28093 (eval "$ac_link") 2>conftest.er1
28095 grep -v '^ *+' conftest.er1 >conftest.err
28097 cat conftest.err >&5
28098 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28099 (exit $ac_status); } && {
28100 test -z "$ac_c_werror_flag" ||
28101 test ! -s conftest.err
28102 } && test -s conftest$ac_exeext &&
28103 $as_test_x conftest$ac_exeext; then
28104 echo "*** The
test program compiled
, but did not run. This usually means
"
28105 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28106 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28107 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28108 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28109 echo "*** is required on your system"
28111 echo "*** If you have an old version installed, it is best to remove it, although"
28112 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28114 echo "$as_me: failed program was:" >&5
28115 sed 's
/^
/| /' conftest.$ac_ext >&5
28117 echo "*** The test program failed to compile or link. See the file config.log for the"
28118 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28122 conftest$ac_exeext conftest.$ac_ext
28123 CFLAGS="$ac_save_CFLAGS"
28124 LIBS="$ac_save_LIBS"
28138 if test "$wxUSE_SHARED" != "yes"; then
28139 GTK_LIBS="$GTK_LIBS -lX11"
28144 if test -z "$wx_cv_lib_gtk"; then
28145 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28147 # Check whether --with-gtk-prefix was given.
28148 if test "${with_gtk_prefix+set}" = set; then
28149 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28151 gtk_config_prefix=""
28155 # Check whether --with-gtk-exec-prefix was given.
28156 if test "${with_gtk_exec_prefix+set}" = set; then
28157 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28159 gtk_config_exec_prefix=""
28162 # Check whether --enable-gtktest was given.
28163 if test "${enable_gtktest+set}" = set; then
28164 enableval=$enable_gtktest;
28170 for module in . $GTK_MODULES
28174 gtk_config_args="$gtk_config_args gthread"
28179 if test x$gtk_config_exec_prefix != x ; then
28180 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28181 if test x${GTK_CONFIG+set} != xset ; then
28182 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28185 if test x$gtk_config_prefix != x ; then
28186 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28187 if test x${GTK_CONFIG+set} != xset ; then
28188 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28192 # Extract the first word of "gtk-config", so it can be a program name with args.
28193 set dummy gtk-config; ac_word=$2
28194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28196 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28197 echo $ECHO_N "(cached) $ECHO_C" >&6
28199 case $GTK_CONFIG in
28201 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28205 for as_dir in $PATH
28208 test -z "$as_dir" && as_dir=.
28209 for ac_exec_ext in '' $ac_executable_extensions; do
28210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28211 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28219 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28223 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28224 if test -n "$GTK_CONFIG"; then
28225 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28226 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28228 { echo "$as_me:$LINENO: result: no" >&5
28229 echo "${ECHO_T}no" >&6; }
28233 min_gtk_version=1.2.7
28234 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28235 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28237 if test "$GTK_CONFIG" = "no" ; then
28240 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28241 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28242 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28243 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28244 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28245 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28246 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28247 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28248 if test "x$enable_gtktest" = "xyes" ; then
28249 ac_save_CFLAGS="$CFLAGS"
28250 ac_save_LIBS="$LIBS"
28251 CFLAGS="$CFLAGS $GTK_CFLAGS"
28252 LIBS="$GTK_LIBS $LIBS"
28254 if test "$cross_compiling" = yes; then
28255 echo $ac_n "cross compiling; assumed OK... $ac_c"
28257 cat >conftest.$ac_ext <<_ACEOF
28260 cat confdefs.h >>conftest.$ac_ext
28261 cat >>conftest.$ac_ext <<_ACEOF
28262 /* end confdefs.h. */
28264 #include <gtk/gtk.h>
28266 #include <stdlib.h>
28271 int major, minor, micro;
28274 system ("touch conf.gtktest");
28276 /* HP/UX 9 (%@#!) writes to sscanf strings */
28277 tmp_version = g_strdup("$min_gtk_version");
28278 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28279 printf("%s, bad version string\n", "$min_gtk_version");
28283 if ((gtk_major_version != $gtk_config_major_version) ||
28284 (gtk_minor_version != $gtk_config_minor_version) ||
28285 (gtk_micro_version != $gtk_config_micro_version))
28287 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28288 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28289 gtk_major_version, gtk_minor_version, gtk_micro_version);
28290 printf ("*** was found! If gtk-config was correct, then it is best\n");
28291 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28292 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28293 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28294 printf("*** required on your system.\n");
28295 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28296 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28297 printf("*** before re-running configure\n");
28299 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28300 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28301 (gtk_minor_version != GTK_MINOR_VERSION) ||
28302 (gtk_micro_version != GTK_MICRO_VERSION))
28304 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28305 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28306 printf("*** library (version %d.%d.%d)\n",
28307 gtk_major_version, gtk_minor_version, gtk_micro_version);
28309 #endif /* defined (GTK_MAJOR_VERSION) ... */
28312 if ((gtk_major_version > major) ||
28313 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28314 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28320 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28321 gtk_major_version, gtk_minor_version, gtk_micro_version);
28322 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28323 major, minor, micro);
28324 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28326 printf("*** If you have already installed a sufficiently new version, this error\n");
28327 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28328 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28329 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28330 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28331 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28332 printf("*** so that the correct libraries are found at run-time))\n");
28339 rm -f conftest$ac_exeext
28340 if { (ac_try="$ac_link"
28341 case "(($ac_try" in
28342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28343 *) ac_try_echo=$ac_try;;
28345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28346 (eval "$ac_link") 2>&5
28348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28349 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28350 { (case "(($ac_try" in
28351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28352 *) ac_try_echo=$ac_try;;
28354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28355 (eval "$ac_try") 2>&5
28357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28358 (exit $ac_status); }; }; then
28361 echo "$as_me: program exited with status $ac_status" >&5
28362 echo "$as_me: failed program was:" >&5
28363 sed 's
/^
/| /' conftest.$ac_ext >&5
28365 ( exit $ac_status )
28368 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28372 CFLAGS="$ac_save_CFLAGS"
28373 LIBS="$ac_save_LIBS"
28376 if test "x$no_gtk" = x ; then
28377 { echo "$as_me:$LINENO: result: yes" >&5
28378 echo "${ECHO_T}yes" >&6; }
28379 wx_cv_lib_gtk=1.2.7
28381 { echo "$as_me:$LINENO: result: no" >&5
28382 echo "${ECHO_T}no" >&6; }
28383 if test "$GTK_CONFIG" = "no" ; then
28384 echo "*** The gtk-config script installed by GTK could not be found"
28385 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28386 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28387 echo "*** full path to gtk-config."
28389 if test -f conf.gtktest ; then
28392 echo "*** Could not run GTK test program, checking why..."
28393 CFLAGS="$CFLAGS $GTK_CFLAGS"
28394 LIBS="$LIBS $GTK_LIBS"
28395 cat >conftest.$ac_ext <<_ACEOF
28398 cat confdefs.h >>conftest.$ac_ext
28399 cat >>conftest.$ac_ext <<_ACEOF
28400 /* end confdefs.h. */
28402 #include <gtk/gtk.h>
28408 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28413 rm -f conftest.$ac_objext conftest$ac_exeext
28414 if { (ac_try="$ac_link"
28415 case "(($ac_try" in
28416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28417 *) ac_try_echo=$ac_try;;
28419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28420 (eval "$ac_link") 2>conftest.er1
28422 grep -v '^
*+' conftest.er1 >conftest.err
28424 cat conftest.err >&5
28425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28426 (exit $ac_status); } && {
28427 test -z "$ac_c_werror_flag" ||
28428 test ! -s conftest.err
28429 } && test -s conftest$ac_exeext &&
28430 $as_test_x conftest$ac_exeext; then
28431 echo "*** The test program compiled, but did not run. This usually means"
28432 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28433 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28434 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28435 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28436 echo "*** is required on your system
"
28438 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28439 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28441 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28442 echo "*** came with the system with the
command"
28444 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28446 echo "$as_me: failed program was
:" >&5
28447 sed 's/^/| /' conftest.$ac_ext >&5
28449 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28450 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28451 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28452 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28456 conftest$ac_exeext conftest.$ac_ext
28457 CFLAGS="$ac_save_CFLAGS"
28458 LIBS="$ac_save_LIBS"
28470 if test -z "$wx_cv_lib_gtk"; then
28472 # Check whether --with-gtk-prefix was given.
28473 if test "${with_gtk_prefix+set}" = set; then
28474 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28476 gtk_config_prefix=""
28480 # Check whether --with-gtk-exec-prefix was given.
28481 if test "${with_gtk_exec_prefix+set}" = set; then
28482 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28484 gtk_config_exec_prefix=""
28487 # Check whether --enable-gtktest was given.
28488 if test "${enable_gtktest+set}" = set; then
28489 enableval=$enable_gtktest;
28495 for module in . $GTK_MODULES
28499 gtk_config_args="$gtk_config_args gthread
"
28504 if test x$gtk_config_exec_prefix != x ; then
28505 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28506 if test x${GTK_CONFIG+set} != xset ; then
28507 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28510 if test x$gtk_config_prefix != x ; then
28511 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28512 if test x${GTK_CONFIG+set} != xset ; then
28513 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28517 # Extract the first word of "gtk
-config", so it can be a program name with args.
28518 set dummy gtk-config; ac_word=$2
28519 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28520 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28521 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28522 echo $ECHO_N "(cached
) $ECHO_C" >&6
28524 case $GTK_CONFIG in
28526 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28530 for as_dir in $PATH
28533 test -z "$as_dir" && as_dir=.
28534 for ac_exec_ext in '' $ac_executable_extensions; do
28535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28536 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28537 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28544 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
28548 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28549 if test -n "$GTK_CONFIG"; then
28550 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
28551 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28553 { echo "$as_me:$LINENO: result
: no
" >&5
28554 echo "${ECHO_T}no
" >&6; }
28558 min_gtk_version=1.2.3
28559 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
28560 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
28562 if test "$GTK_CONFIG" = "no
" ; then
28565 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28566 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28567 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28568 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28569 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28570 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28571 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28572 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28573 if test "x
$enable_gtktest" = "xyes
" ; then
28574 ac_save_CFLAGS="$CFLAGS"
28575 ac_save_LIBS="$LIBS"
28576 CFLAGS="$CFLAGS $GTK_CFLAGS"
28577 LIBS="$GTK_LIBS $LIBS"
28579 if test "$cross_compiling" = yes; then
28580 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28582 cat >conftest.$ac_ext <<_ACEOF
28585 cat confdefs.h >>conftest.$ac_ext
28586 cat >>conftest.$ac_ext <<_ACEOF
28587 /* end confdefs.h. */
28589 #include <gtk/gtk.h>
28591 #include <stdlib.h>
28596 int major, minor, micro;
28599 system ("touch conf.gtktest
");
28601 /* HP/UX 9 (%@#!) writes to sscanf strings */
28602 tmp_version = g_strdup("$min_gtk_version");
28603 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28604 printf("%s
, bad version string
\n", "$min_gtk_version");
28608 if ((gtk_major_version != $gtk_config_major_version) ||
28609 (gtk_minor_version != $gtk_config_minor_version) ||
28610 (gtk_micro_version != $gtk_config_micro_version))
28612 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28613 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28614 gtk_major_version, gtk_minor_version, gtk_micro_version);
28615 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
28616 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28617 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28618 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28619 printf("*** required on your system.
\n");
28620 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
28621 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
28622 printf("*** before re
-running configure
\n");
28624 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28625 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28626 (gtk_minor_version != GTK_MINOR_VERSION) ||
28627 (gtk_micro_version != GTK_MICRO_VERSION))
28629 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28630 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28631 printf("*** library
(version
%d.
%d.
%d
)\n",
28632 gtk_major_version, gtk_minor_version, gtk_micro_version);
28634 #endif /* defined (GTK_MAJOR_VERSION) ... */
28637 if ((gtk_major_version > major) ||
28638 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28639 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28645 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28646 gtk_major_version, gtk_minor_version, gtk_micro_version);
28647 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28648 major, minor, micro);
28649 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28651 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28652 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
28653 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28654 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
28655 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
28656 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28657 printf("*** so that the correct libraries are found
at run
-time))\n");
28664 rm -f conftest$ac_exeext
28665 if { (ac_try="$ac_link"
28666 case "(($ac_try" in
28667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28668 *) ac_try_echo=$ac_try;;
28670 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28671 (eval "$ac_link") 2>&5
28673 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28674 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28675 { (case "(($ac_try" in
28676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28677 *) ac_try_echo=$ac_try;;
28679 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28680 (eval "$ac_try") 2>&5
28682 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28683 (exit $ac_status); }; }; then
28686 echo "$as_me: program exited with status
$ac_status" >&5
28687 echo "$as_me: failed program was
:" >&5
28688 sed 's/^/| /' conftest.$ac_ext >&5
28690 ( exit $ac_status )
28693 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28697 CFLAGS="$ac_save_CFLAGS"
28698 LIBS="$ac_save_LIBS"
28701 if test "x
$no_gtk" = x ; then
28702 { echo "$as_me:$LINENO: result
: yes" >&5
28703 echo "${ECHO_T}yes" >&6; }
28704 wx_cv_lib_gtk=1.2.3
28706 { echo "$as_me:$LINENO: result
: no
" >&5
28707 echo "${ECHO_T}no
" >&6; }
28708 if test "$GTK_CONFIG" = "no
" ; then
28709 echo "*** The gtk
-config script installed by GTK could not be found
"
28710 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
28711 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
28712 echo "*** full path to gtk
-config.
"
28714 if test -f conf.gtktest ; then
28717 echo "*** Could not run GTK
test program
, checking why...
"
28718 CFLAGS="$CFLAGS $GTK_CFLAGS"
28719 LIBS="$LIBS $GTK_LIBS"
28720 cat >conftest.$ac_ext <<_ACEOF
28723 cat confdefs.h >>conftest.$ac_ext
28724 cat >>conftest.$ac_ext <<_ACEOF
28725 /* end confdefs.h. */
28727 #include <gtk/gtk.h>
28733 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28738 rm -f conftest.$ac_objext conftest$ac_exeext
28739 if { (ac_try="$ac_link"
28740 case "(($ac_try" in
28741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28742 *) ac_try_echo=$ac_try;;
28744 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28745 (eval "$ac_link") 2>conftest.er1
28747 grep -v '^ *+' conftest.er1 >conftest.err
28749 cat conftest.err >&5
28750 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28751 (exit $ac_status); } && {
28752 test -z "$ac_c_werror_flag" ||
28753 test ! -s conftest.err
28754 } && test -s conftest$ac_exeext &&
28755 $as_test_x conftest$ac_exeext; then
28756 echo "*** The
test program compiled
, but did not run. This usually means
"
28757 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
28758 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
28759 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28760 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28761 echo "*** is required on your system"
28763 echo "*** If you have an old version installed, it is best to remove it, although"
28764 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28766 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28767 echo "*** came with the system with the command"
28769 echo "*** rpm --erase --nodeps gtk gtk-devel"
28771 echo "$as_me: failed program was:" >&5
28772 sed 's
/^
/| /' conftest.$ac_ext >&5
28774 echo "*** The test program failed to compile or link. See the file config.log for the"
28775 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28776 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28777 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28781 conftest$ac_exeext conftest.$ac_ext
28782 CFLAGS="$ac_save_CFLAGS"
28783 LIBS="$ac_save_LIBS"
28798 if test -z "$wx_cv_lib_gtk"; then
28801 wx_cv_cflags_gtk=$GTK_CFLAGS
28802 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
28809 if test "$gtk_version_cached" = 1; then
28810 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28811 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28814 case "$wx_cv_lib_gtk" in
28823 *) { { echo "$as_me:$LINENO: error:
28824 The development files for GTK+ were not found. For GTK+ 2, please
28825 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28826 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28827 and that the version is 1.2.3 or above. Also check that the
28828 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28829 --libs' are in the LD_LIBRARY_PATH or equivalent.
28831 echo "$as_me: error:
28832 The development files for GTK+ were not found. For GTK+ 2, please
28833 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28834 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28835 and that the version is 1.2.3 or above. Also check that the
28836 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28837 --libs' are in the LD_LIBRARY_PATH or equivalent.
28839 { (exit 1); exit 1; }; }
28843 if test "$WXGTK2" = 1; then
28844 save_CFLAGS="$CFLAGS"
28846 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28847 LIBS="$LIBS $wx_cv_libs_gtk"
28849 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28850 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28851 cat >conftest.$ac_ext <<_ACEOF
28854 cat confdefs.h >>conftest.$ac_ext
28855 cat >>conftest.$ac_ext <<_ACEOF
28856 /* end confdefs.h. */
28858 #include <gtk/gtk.h>
28864 #if !GTK_CHECK_VERSION(2,10,0)
28872 rm -f conftest.$ac_objext
28873 if { (ac_try="$ac_compile"
28874 case "(($ac_try" in
28875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28876 *) ac_try_echo=$ac_try;;
28878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28879 (eval "$ac_compile") 2>conftest.er1
28881 grep -v '^
*+' conftest.er1 >conftest.err
28883 cat conftest.err >&5
28884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28885 (exit $ac_status); } && {
28886 test -z "$ac_c_werror_flag" ||
28887 test ! -s conftest.err
28888 } && test -s conftest.$ac_objext; then
28890 cat >>confdefs.h <<\_ACEOF
28891 #define __WXGTK210__ 1
28894 cat >>confdefs.h <<\_ACEOF
28895 #define __WXGTK26__ 1
28898 { echo "$as_me:$LINENO: result: yes" >&5
28899 echo "${ECHO_T}yes" >&6; }
28903 echo "$as_me: failed program was:" >&5
28904 sed 's
/^
/| /' conftest.$ac_ext >&5
28907 { echo "$as_me:$LINENO: result: no" >&5
28908 echo "${ECHO_T}no" >&6; }
28913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28915 if test "$ac_wxgtk210" = 0; then
28916 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28917 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28918 cat >conftest.$ac_ext <<_ACEOF
28921 cat confdefs.h >>conftest.$ac_ext
28922 cat >>conftest.$ac_ext <<_ACEOF
28923 /* end confdefs.h. */
28925 #include <gtk/gtk.h>
28931 #if !GTK_CHECK_VERSION(2,6,0)
28939 rm -f conftest.$ac_objext
28940 if { (ac_try="$ac_compile"
28941 case "(($ac_try" in
28942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28943 *) ac_try_echo=$ac_try;;
28945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28946 (eval "$ac_compile") 2>conftest.er1
28948 grep -v '^
*+' conftest.er1 >conftest.err
28950 cat conftest.err >&5
28951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28952 (exit $ac_status); } && {
28953 test -z "$ac_c_werror_flag" ||
28954 test ! -s conftest.err
28955 } && test -s conftest.$ac_objext; then
28957 cat >>confdefs.h <<\_ACEOF
28958 #define __WXGTK26__ 1
28961 { echo "$as_me:$LINENO: result: yes" >&5
28962 echo "${ECHO_T}yes" >&6; }
28966 echo "$as_me: failed program was:" >&5
28967 sed 's
/^
/| /' conftest.$ac_ext >&5
28970 { echo "$as_me:$LINENO: result: no" >&5
28971 echo "${ECHO_T}no" >&6; }
28976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28979 CFLAGS="$save_CFLAGS"
28982 if test "$wxUSE_UNICODE" = "yes"; then
28983 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28984 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28988 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28989 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28990 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28991 echo $ECHO_N "(cached) $ECHO_C" >&6
28993 ac_check_lib_save_LIBS=$LIBS
28995 cat >conftest.$ac_ext <<_ACEOF
28998 cat confdefs.h >>conftest.$ac_ext
28999 cat >>conftest.$ac_ext <<_ACEOF
29000 /* end confdefs.h. */
29002 /* Override any GCC internal prototype to avoid an error.
29003 Use char because int might match the return type of a GCC
29004 builtin and then its argument prototype would still apply. */
29008 char gdk_im_open ();
29012 return gdk_im_open ();
29017 rm -f conftest.$ac_objext conftest$ac_exeext
29018 if { (ac_try="$ac_link"
29019 case "(($ac_try" in
29020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29021 *) ac_try_echo=$ac_try;;
29023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29024 (eval "$ac_link") 2>conftest.er1
29026 grep -v '^
*+' conftest.er1 >conftest.err
29028 cat conftest.err >&5
29029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29030 (exit $ac_status); } && {
29031 test -z "$ac_c_werror_flag" ||
29032 test ! -s conftest.err
29033 } && test -s conftest$ac_exeext &&
29034 $as_test_x conftest$ac_exeext; then
29035 ac_cv_lib_gdk_gdk_im_open=yes
29037 echo "$as_me: failed program was:" >&5
29038 sed 's
/^
/| /' conftest.$ac_ext >&5
29040 ac_cv_lib_gdk_gdk_im_open=no
29043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29044 conftest$ac_exeext conftest.$ac_ext
29045 LIBS=$ac_check_lib_save_LIBS
29047 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29048 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29049 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29050 cat >>confdefs.h <<\_ACEOF
29057 if test "$USE_DARWIN" != 1; then
29059 for ac_func in poll
29061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29062 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29064 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29065 echo $ECHO_N "(cached) $ECHO_C" >&6
29067 cat >conftest.$ac_ext <<_ACEOF
29070 cat confdefs.h >>conftest.$ac_ext
29071 cat >>conftest.$ac_ext <<_ACEOF
29072 /* end confdefs.h. */
29073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29075 #define $ac_func innocuous_$ac_func
29077 /* System header to define __stub macros and hopefully few prototypes,
29078 which can conflict with char $ac_func (); below.
29079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29080 <limits.h> exists even on freestanding compilers. */
29083 # include <limits.h>
29085 # include <assert.h>
29090 /* Override any GCC internal prototype to avoid an error.
29091 Use char because int might match the return type of a GCC
29092 builtin and then its argument prototype would still apply. */
29097 /* The GNU C library defines this for functions which it implements
29098 to always fail with ENOSYS. Some functions are actually named
29099 something starting with __ and the normal name is an alias. */
29100 #if defined __stub_$ac_func || defined __stub___$ac_func
29107 return $ac_func ();
29112 rm -f conftest.$ac_objext conftest$ac_exeext
29113 if { (ac_try="$ac_link"
29114 case "(($ac_try" in
29115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29116 *) ac_try_echo=$ac_try;;
29118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29119 (eval "$ac_link") 2>conftest.er1
29121 grep -v '^
*+' conftest.er1 >conftest.err
29123 cat conftest.err >&5
29124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29125 (exit $ac_status); } && {
29126 test -z "$ac_c_werror_flag" ||
29127 test ! -s conftest.err
29128 } && test -s conftest$ac_exeext &&
29129 $as_test_x conftest$ac_exeext; then
29130 eval "$as_ac_var=yes"
29132 echo "$as_me: failed program was:" >&5
29133 sed 's
/^
/| /' conftest.$ac_ext >&5
29135 eval "$as_ac_var=no"
29138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29139 conftest$ac_exeext conftest.$ac_ext
29141 ac_res=`eval echo '${'$as_ac_var'}'`
29142 { echo "$as_me:$LINENO: result: $ac_res" >&5
29143 echo "${ECHO_T}$ac_res" >&6; }
29144 if test `eval echo '${'$as_ac_var'}'` = yes; then
29145 cat >>confdefs.h <<_ACEOF
29146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29155 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29156 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29158 AFMINSTALL=afminstall
29162 if test "$wxUSE_GPE" = "yes"; then
29163 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29164 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29167 for ac_dir in $SEARCH_LIB;
29169 for ac_extension in a so sl dylib dll.a; do
29170 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29171 ac_find_libraries=$ac_dir
29177 if test "$ac_find_libraries" != "" ; then
29179 if test "$ac_find_libraries" = "default location"; then
29182 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29184 if test $result = 0; then
29187 ac_path_to_link=" -L$ac_find_libraries"
29191 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29193 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29194 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29196 { echo "$as_me:$LINENO: result: not found" >&5
29197 echo "${ECHO_T}not found" >&6; }
29203 if test "$wxUSE_MGL" = 1; then
29204 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29205 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29206 if test "x$MGL_ROOT" = x ; then
29207 { echo "$as_me:$LINENO: result: not found" >&5
29208 echo "${ECHO_T}not found" >&6; }
29209 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29210 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29211 { (exit 1); exit 1; }; }
29213 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29214 echo "${ECHO_T}$MGL_ROOT" >&6; }
29217 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29218 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29221 if test "x$wxUSE_SHARED" = xyes ; then
29222 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29224 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29228 mgl_os_candidates="dos32/dj2"
29231 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29232 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29233 { (exit 1); exit 1; }; }
29239 for mgl_os_i in $mgl_os_candidates ; do
29240 if test "x$mgl_os" = x ; then
29241 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29242 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29243 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29248 if test "x$mgl_lib_type" = x ; then
29249 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29250 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29251 mgl_lib_type=release
29258 if test "x$mgl_os" = x ; then
29259 { echo "$as_me:$LINENO: result: not found" >&5
29260 echo "${ECHO_T}not found" >&6; }
29261 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29262 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29263 { (exit 1); exit 1; }; }
29265 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29266 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29268 wxUSE_UNIVERSAL="yes"
29270 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29271 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29273 AFMINSTALL=afminstall
29278 if test "$wxUSE_DFB" = 1; then
29281 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29282 if test -n "$ac_tool_prefix"; then
29283 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29284 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29287 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29288 echo $ECHO_N "(cached) $ECHO_C" >&6
29290 case $PKG_CONFIG in
29292 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29296 for as_dir in $PATH
29299 test -z "$as_dir" && as_dir=.
29300 for ac_exec_ext in '' $ac_executable_extensions; do
29301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29302 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29313 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29314 if test -n "$PKG_CONFIG"; then
29315 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29316 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29318 { echo "$as_me:$LINENO: result: no" >&5
29319 echo "${ECHO_T}no" >&6; }
29324 if test -z "$ac_cv_path_PKG_CONFIG"; then
29325 ac_pt_PKG_CONFIG=$PKG_CONFIG
29326 # Extract the first word of "pkg-config", so it can be a program name with args.
29327 set dummy pkg-config; ac_word=$2
29328 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29330 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29331 echo $ECHO_N "(cached) $ECHO_C" >&6
29333 case $ac_pt_PKG_CONFIG in
29335 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29339 for as_dir in $PATH
29342 test -z "$as_dir" && as_dir=.
29343 for ac_exec_ext in '' $ac_executable_extensions; do
29344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29345 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29356 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29357 if test -n "$ac_pt_PKG_CONFIG"; then
29358 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29359 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29361 { echo "$as_me:$LINENO: result: no" >&5
29362 echo "${ECHO_T}no" >&6; }
29365 if test "x$ac_pt_PKG_CONFIG" = x; then
29368 case $cross_compiling:$ac_tool_warned in
29370 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29371 whose name does not start with the host triplet. If you think this
29372 configuration is useful to you, please write to autoconf@gnu.org." >&5
29373 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29374 whose name does not start with the host triplet. If you think this
29375 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29376 ac_tool_warned=yes ;;
29378 PKG_CONFIG=$ac_pt_PKG_CONFIG
29381 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29385 if test -n "$PKG_CONFIG"; then
29386 _pkg_min_version=0.9.0
29387 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29388 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29389 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29390 { echo "$as_me:$LINENO: result: yes" >&5
29391 echo "${ECHO_T}yes" >&6; }
29393 { echo "$as_me:$LINENO: result: no" >&5
29394 echo "${ECHO_T}no" >&6; }
29402 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29403 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29405 if test -n "$PKG_CONFIG"; then
29406 if test -n "$DIRECTFB_CFLAGS"; then
29407 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29409 if test -n "$PKG_CONFIG" && \
29410 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29411 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29414 (exit $ac_status); }; then
29415 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29423 if test -n "$PKG_CONFIG"; then
29424 if test -n "$DIRECTFB_LIBS"; then
29425 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29427 if test -n "$PKG_CONFIG" && \
29428 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29429 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29432 (exit $ac_status); }; then
29433 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29444 if test $pkg_failed = yes; then
29446 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29447 _pkg_short_errors_supported=yes
29449 _pkg_short_errors_supported=no
29451 if test $_pkg_short_errors_supported = yes; then
29452 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29454 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29456 # Put the nasty error message in config.log where it belongs
29457 echo "$DIRECTFB_PKG_ERRORS" >&5
29460 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29461 echo "$as_me: error: DirectFB not found." >&2;}
29462 { (exit 1); exit 1; }; }
29465 elif test $pkg_failed = untried; then
29467 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29468 echo "$as_me: error: DirectFB not found." >&2;}
29469 { (exit 1); exit 1; }; }
29473 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29474 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29475 { echo "$as_me:$LINENO: result: yes" >&5
29476 echo "${ECHO_T}yes" >&6; }
29478 wxUSE_UNIVERSAL="yes"
29479 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29480 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29487 if test "$wxUSE_MICROWIN" = 1; then
29488 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29489 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29490 if test "x$MICROWINDOWS" = x ; then
29491 { echo "$as_me:$LINENO: result: not found" >&5
29492 echo "${ECHO_T}not found" >&6; }
29493 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29494 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29495 { (exit 1); exit 1; }; }
29497 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29498 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29501 if test -f $MICROWINDOWS/lib/libmwin.a; then
29502 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
29503 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
29505 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29506 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29507 { (exit 1); exit 1; }; }
29510 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29511 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29513 wxUSE_UNIVERSAL="yes"
29515 AFMINSTALL=afminstall
29517 GUIDIST=MICROWIN_DIST
29519 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29522 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29523 { echo "$as_me:$LINENO: checking for X" >&5
29524 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29527 # Check whether --with-x was given.
29528 if test "${with_x+set}" = set; then
29532 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
29533 if test "x$with_x" = xno; then
29534 # The user explicitly disabled X.
29537 case $x_includes,$x_libraries in #(
29538 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29539 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
29540 { (exit 1); exit 1; }; };; #(
29541 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29542 echo $ECHO_N "(cached) $ECHO_C" >&6
29544 # One or both of the vars are not set, and there is no cached value.
29545 ac_x_includes=no ac_x_libraries=no
29546 rm -f -r conftest.dir
29547 if mkdir conftest.dir; then
29549 cat >Imakefile <<'_ACEOF'
29551 @echo incroot='${INCROOT}'
29553 @echo usrlibdir='${USRLIBDIR}'
29555 @echo libdir='${LIBDIR}'
29557 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29558 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29559 for ac_var in incroot usrlibdir libdir; do
29560 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
29562 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29563 for ac_extension in a so sl; do
29564 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29565 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29566 ac_im_usrlibdir=$ac_im_libdir; break
29569 # Screen out bogus values from the imake configuration. They are
29570 # bogus both because they are the default anyway, and because
29571 # using them would break gcc on systems where it needs fixed includes.
29572 case $ac_im_incroot in
29573 /usr/include) ac_x_includes= ;;
29574 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29576 case $ac_im_usrlibdir in
29577 /usr/lib | /lib) ;;
29578 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29582 rm -f -r conftest.dir
29585 # Standard set of common directories for X headers.
29586 # Check X11 before X11Rn because it is often a symlink to the current release.
29598 /usr
/local
/X
11/include
29599 /usr
/local
/X
11R
6/include
29600 /usr
/local
/X
11R
5/include
29601 /usr
/local
/X
11R
4/include
29603 /usr
/local
/include
/X11
29604 /usr
/local
/include
/X11R6
29605 /usr
/local
/include
/X11R5
29606 /usr
/local
/include
/X11R4
29610 /usr
/XFree
86/include
/X11
29614 /usr
/unsupported
/include
29615 /usr
/athena
/include
29616 /usr
/local
/x
11r
5/include
29617 /usr
/lpp
/Xamples
/include
29619 /usr
/openwin
/include
29620 /usr
/openwin
/share
/include
'
29622 if test "$ac_x_includes" = no; then
29623 # Guess where to find include files, by looking for Xlib.h.
29624 # First, try using that file with no special directory specified.
29625 cat >conftest.$ac_ext <<_ACEOF
29628 cat confdefs.h >>conftest.$ac_ext
29629 cat >>conftest.$ac_ext <<_ACEOF
29630 /* end confdefs.h. */
29631 #include <X11/Xlib.h>
29633 if { (ac_try="$ac_cpp conftest.$ac_ext"
29634 case "(($ac_try" in
29635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29636 *) ac_try_echo=$ac_try;;
29638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29639 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29641 grep -v '^
*+' conftest.er1 >conftest.err
29643 cat conftest.err >&5
29644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29645 (exit $ac_status); } >/dev/null && {
29646 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29647 test ! -s conftest.err
29649 # We can compile using X headers with no special include directory.
29652 echo "$as_me: failed program was:" >&5
29653 sed 's
/^
/| /' conftest.$ac_ext >&5
29655 for ac_dir in $ac_x_header_dirs; do
29656 if test -r "$ac_dir/X11/Xlib.h"; then
29657 ac_x_includes=$ac_dir
29663 rm -f conftest.err conftest.$ac_ext
29664 fi # $ac_x_includes = no
29666 if test "$ac_x_libraries" = no; then
29667 # Check for the libraries.
29668 # See if we find them without any special options.
29669 # Don't add to
$LIBS permanently.
29672 cat >conftest.
$ac_ext <<_ACEOF
29675 cat confdefs.h
>>conftest.
$ac_ext
29676 cat >>conftest.
$ac_ext <<_ACEOF
29677 /* end confdefs.h. */
29678 #include <X11/Xlib.h>
29687 rm -f conftest.
$ac_objext conftest
$ac_exeext
29688 if { (ac_try
="$ac_link"
29689 case "(($ac_try" in
29690 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29691 *) ac_try_echo=$ac_try;;
29693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29694 (eval "$ac_link") 2>conftest.er1
29696 grep -v '^ *+' conftest.er1 >conftest.err
29698 cat conftest.err >&5
29699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29700 (exit $ac_status); } && {
29701 test -z "$ac_c_werror_flag" ||
29702 test ! -s conftest.err
29703 } && test -s conftest$ac_exeext &&
29704 $as_test_x conftest$ac_exeext; then
29706 # We can link X programs with no special library path.
29709 echo "$as_me: failed program was:" >&5
29710 sed 's/^/| /' conftest.$ac_ext >&5
29713 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
29715 # Don't even attempt the hair of trying to link an X program!
29716 for ac_extension in a so sl; do
29717 if test -r "$ac_dir/libX11.$ac_extension"; then
29718 ac_x_libraries=$ac_dir
29725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29726 conftest$ac_exeext conftest.$ac_ext
29727 fi # $ac_x_libraries = no
29729 case $ac_x_includes,$ac_x_libraries in #(
29730 no,* | *,no | *\'*)
29731 # Didn't find X, or a directory has "'" in its name.
29732 ac_cv_have_x="have_x=no";; #(
29734 # Record where we found X for the cache.
29735 ac_cv_have_x="have_x=yes\
29736 ac_x_includes='$ac_x_includes'\
29737 ac_x_libraries='$ac_x_libraries'"
29743 eval "$ac_cv_have_x"
29746 if test "$have_x" != yes; then
29747 { echo "$as_me:$LINENO: result: $have_x" >&5
29748 echo "${ECHO_T}$have_x" >&6; }
29751 # If each of the values was on the command line, it overrides each guess.
29752 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29753 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29754 # Update the cache value to reflect the command line values.
29755 ac_cv_have_x="have_x=yes\
29756 ac_x_includes='$x_includes'\
29757 ac_x_libraries='$x_libraries'"
29758 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29759 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29762 if test "$no_x" = yes; then
29763 # Not all programs may use this symbol, but it does not hurt to define it.
29765 cat >>confdefs.h <<\_ACEOF
29766 #define X_DISPLAY_MISSING 1
29769 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29771 if test -n "$x_includes"; then
29772 X_CFLAGS="$X_CFLAGS -I$x_includes"
29775 # It would also be nice to do this for all -L options, not just this one.
29776 if test -n "$x_libraries"; then
29777 X_LIBS="$X_LIBS -L$x_libraries"
29778 # For Solaris; some versions of Sun CC require a space after -R and
29779 # others require no space. Words are not sufficient . . . .
29780 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29781 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29782 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29783 ac_xsave_c_werror_flag=$ac_c_werror_flag
29784 ac_c_werror_flag=yes
29785 cat >conftest.$ac_ext <<_ACEOF
29788 cat confdefs.h >>conftest.$ac_ext
29789 cat >>conftest.$ac_ext <<_ACEOF
29790 /* end confdefs.h. */
29800 rm -f conftest.$ac_objext conftest$ac_exeext
29801 if { (ac_try="$ac_link"
29802 case "(($ac_try" in
29803 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29804 *) ac_try_echo
=$ac_try;;
29806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29807 (eval "$ac_link") 2>conftest.er1
29809 grep -v '^ *+' conftest.er1
>conftest.err
29811 cat conftest.err
>&5
29812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29813 (exit $ac_status); } && {
29814 test -z "$ac_c_werror_flag" ||
29815 test ! -s conftest.err
29816 } && test -s conftest
$ac_exeext &&
29817 $as_test_x conftest
$ac_exeext; then
29818 { echo "$as_me:$LINENO: result: no" >&5
29819 echo "${ECHO_T}no" >&6; }
29820 X_LIBS
="$X_LIBS -R$x_libraries"
29822 echo "$as_me: failed program was:" >&5
29823 sed 's/^/| /' conftest.
$ac_ext >&5
29825 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29826 cat >conftest.
$ac_ext <<_ACEOF
29829 cat confdefs.h
>>conftest.
$ac_ext
29830 cat >>conftest.
$ac_ext <<_ACEOF
29831 /* end confdefs.h. */
29841 rm -f conftest.
$ac_objext conftest
$ac_exeext
29842 if { (ac_try
="$ac_link"
29843 case "(($ac_try" in
29844 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29845 *) ac_try_echo=$ac_try;;
29847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29848 (eval "$ac_link") 2>conftest.er1
29850 grep -v '^ *+' conftest.er1 >conftest.err
29852 cat conftest.err >&5
29853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29854 (exit $ac_status); } && {
29855 test -z "$ac_c_werror_flag" ||
29856 test ! -s conftest.err
29857 } && test -s conftest$ac_exeext &&
29858 $as_test_x conftest$ac_exeext; then
29859 { echo "$as_me:$LINENO: result: yes" >&5
29860 echo "${ECHO_T}yes" >&6; }
29861 X_LIBS="$X_LIBS -R $x_libraries"
29863 echo "$as_me: failed program was:" >&5
29864 sed 's/^/| /' conftest.$ac_ext >&5
29866 { echo "$as_me:$LINENO: result: neither works" >&5
29867 echo "${ECHO_T}neither works" >&6; }
29870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29871 conftest$ac_exeext conftest.$ac_ext
29874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29875 conftest$ac_exeext conftest.$ac_ext
29876 ac_c_werror_flag=$ac_xsave_c_werror_flag
29877 LIBS=$ac_xsave_LIBS
29880 # Check for system-dependent libraries X programs must link with.
29881 # Do this before checking for the system-independent R6 libraries
29882 # (-lICE), since we may need -lsocket or whatever for X linking.
29884 if test "$ISC" = yes; then
29885 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29887 # Martyn Johnson says this is needed for Ultrix, if the X
29888 # libraries were built with DECnet support. And Karl Berry says
29889 # the Alpha needs dnet_stub (dnet does not exist).
29890 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29891 cat >conftest.$ac_ext <<_ACEOF
29894 cat confdefs.h >>conftest.$ac_ext
29895 cat >>conftest.$ac_ext <<_ACEOF
29896 /* end confdefs.h. */
29898 /* Override any GCC internal prototype to avoid an error.
29899 Use char because int might match the return type of a GCC
29900 builtin and then its argument prototype would still apply. */
29904 char XOpenDisplay ();
29908 return XOpenDisplay ();
29913 rm -f conftest.$ac_objext conftest$ac_exeext
29914 if { (ac_try="$ac_link"
29915 case "(($ac_try" in
29916 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29917 *) ac_try_echo
=$ac_try;;
29919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29920 (eval "$ac_link") 2>conftest.er1
29922 grep -v '^ *+' conftest.er1
>conftest.err
29924 cat conftest.err
>&5
29925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29926 (exit $ac_status); } && {
29927 test -z "$ac_c_werror_flag" ||
29928 test ! -s conftest.err
29929 } && test -s conftest
$ac_exeext &&
29930 $as_test_x conftest
$ac_exeext; then
29933 echo "$as_me: failed program was:" >&5
29934 sed 's/^/| /' conftest.
$ac_ext >&5
29936 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29937 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29938 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29939 echo $ECHO_N "(cached) $ECHO_C" >&6
29941 ac_check_lib_save_LIBS
=$LIBS
29942 LIBS
="-ldnet $LIBS"
29943 cat >conftest.
$ac_ext <<_ACEOF
29946 cat confdefs.h
>>conftest.
$ac_ext
29947 cat >>conftest.
$ac_ext <<_ACEOF
29948 /* end confdefs.h. */
29950 /* Override any GCC internal prototype to avoid an error.
29951 Use char because int might match the return type of a GCC
29952 builtin and then its argument prototype would still apply. */
29960 return dnet_ntoa ();
29965 rm -f conftest.
$ac_objext conftest
$ac_exeext
29966 if { (ac_try
="$ac_link"
29967 case "(($ac_try" in
29968 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29969 *) ac_try_echo=$ac_try;;
29971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29972 (eval "$ac_link") 2>conftest.er1
29974 grep -v '^ *+' conftest.er1 >conftest.err
29976 cat conftest.err >&5
29977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29978 (exit $ac_status); } && {
29979 test -z "$ac_c_werror_flag" ||
29980 test ! -s conftest.err
29981 } && test -s conftest$ac_exeext &&
29982 $as_test_x conftest$ac_exeext; then
29983 ac_cv_lib_dnet_dnet_ntoa=yes
29985 echo "$as_me: failed program was:" >&5
29986 sed 's/^/| /' conftest.$ac_ext >&5
29988 ac_cv_lib_dnet_dnet_ntoa=no
29991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29992 conftest$ac_exeext conftest.$ac_ext
29993 LIBS=$ac_check_lib_save_LIBS
29995 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29996 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29997 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29998 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30001 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30002 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30003 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30004 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30005 echo $ECHO_N "(cached) $ECHO_C" >&6
30007 ac_check_lib_save_LIBS=$LIBS
30008 LIBS="-ldnet_stub $LIBS"
30009 cat >conftest.$ac_ext <<_ACEOF
30012 cat confdefs.h >>conftest.$ac_ext
30013 cat >>conftest.$ac_ext <<_ACEOF
30014 /* end confdefs.h. */
30016 /* Override any GCC internal prototype to avoid an error.
30017 Use char because int might match the return type of a GCC
30018 builtin and then its argument prototype would still apply. */
30026 return dnet_ntoa ();
30031 rm -f conftest.$ac_objext conftest$ac_exeext
30032 if { (ac_try="$ac_link"
30033 case "(($ac_try" in
30034 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30035 *) ac_try_echo
=$ac_try;;
30037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30038 (eval "$ac_link") 2>conftest.er1
30040 grep -v '^ *+' conftest.er1
>conftest.err
30042 cat conftest.err
>&5
30043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30044 (exit $ac_status); } && {
30045 test -z "$ac_c_werror_flag" ||
30046 test ! -s conftest.err
30047 } && test -s conftest
$ac_exeext &&
30048 $as_test_x conftest
$ac_exeext; then
30049 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30051 echo "$as_me: failed program was:" >&5
30052 sed 's/^/| /' conftest.
$ac_ext >&5
30054 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30057 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30058 conftest
$ac_exeext conftest.
$ac_ext
30059 LIBS
=$ac_check_lib_save_LIBS
30061 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30062 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30063 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30064 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30070 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30071 conftest
$ac_exeext conftest.
$ac_ext
30072 LIBS
="$ac_xsave_LIBS"
30074 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30075 # to get the SysV transport functions.
30076 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30078 # The nsl library prevents programs from opening the X display
30079 # on Irix 5.2, according to T.E. Dickey.
30080 # The functions gethostbyname, getservbyname, and inet_addr are
30081 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30082 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30083 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30084 if test "${ac_cv_func_gethostbyname+set}" = set; then
30085 echo $ECHO_N "(cached) $ECHO_C" >&6
30087 cat >conftest.
$ac_ext <<_ACEOF
30090 cat confdefs.h
>>conftest.
$ac_ext
30091 cat >>conftest.
$ac_ext <<_ACEOF
30092 /* end confdefs.h. */
30093 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30095 #define gethostbyname innocuous_gethostbyname
30097 /* System header to define __stub macros and hopefully few prototypes,
30098 which can conflict with char gethostbyname (); below.
30099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30100 <limits.h> exists even on freestanding compilers. */
30103 # include <limits.h>
30105 # include <assert.h>
30108 #undef gethostbyname
30110 /* Override any GCC internal prototype to avoid an error.
30111 Use char because int might match the return type of a GCC
30112 builtin and then its argument prototype would still apply. */
30116 char gethostbyname ();
30117 /* The GNU C library defines this for functions which it implements
30118 to always fail with ENOSYS. Some functions are actually named
30119 something starting with __ and the normal name is an alias. */
30120 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30127 return gethostbyname ();
30132 rm -f conftest.
$ac_objext conftest
$ac_exeext
30133 if { (ac_try
="$ac_link"
30134 case "(($ac_try" in
30135 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30136 *) ac_try_echo=$ac_try;;
30138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30139 (eval "$ac_link") 2>conftest.er1
30141 grep -v '^ *+' conftest.er1 >conftest.err
30143 cat conftest.err >&5
30144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30145 (exit $ac_status); } && {
30146 test -z "$ac_c_werror_flag" ||
30147 test ! -s conftest.err
30148 } && test -s conftest$ac_exeext &&
30149 $as_test_x conftest$ac_exeext; then
30150 ac_cv_func_gethostbyname=yes
30152 echo "$as_me: failed program was:" >&5
30153 sed 's/^/| /' conftest.$ac_ext >&5
30155 ac_cv_func_gethostbyname=no
30158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30159 conftest$ac_exeext conftest.$ac_ext
30161 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30162 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30164 if test $ac_cv_func_gethostbyname = no; then
30165 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30166 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30167 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30168 echo $ECHO_N "(cached) $ECHO_C" >&6
30170 ac_check_lib_save_LIBS=$LIBS
30172 cat >conftest.$ac_ext <<_ACEOF
30175 cat confdefs.h >>conftest.$ac_ext
30176 cat >>conftest.$ac_ext <<_ACEOF
30177 /* end confdefs.h. */
30179 /* Override any GCC internal prototype to avoid an error.
30180 Use char because int might match the return type of a GCC
30181 builtin and then its argument prototype would still apply. */
30185 char gethostbyname ();
30189 return gethostbyname ();
30194 rm -f conftest.$ac_objext conftest$ac_exeext
30195 if { (ac_try="$ac_link"
30196 case "(($ac_try" in
30197 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30198 *) ac_try_echo
=$ac_try;;
30200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30201 (eval "$ac_link") 2>conftest.er1
30203 grep -v '^ *+' conftest.er1
>conftest.err
30205 cat conftest.err
>&5
30206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30207 (exit $ac_status); } && {
30208 test -z "$ac_c_werror_flag" ||
30209 test ! -s conftest.err
30210 } && test -s conftest
$ac_exeext &&
30211 $as_test_x conftest
$ac_exeext; then
30212 ac_cv_lib_nsl_gethostbyname
=yes
30214 echo "$as_me: failed program was:" >&5
30215 sed 's/^/| /' conftest.
$ac_ext >&5
30217 ac_cv_lib_nsl_gethostbyname
=no
30220 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30221 conftest
$ac_exeext conftest.
$ac_ext
30222 LIBS
=$ac_check_lib_save_LIBS
30224 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30225 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30226 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30227 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30230 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30231 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30232 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30233 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30234 echo $ECHO_N "(cached) $ECHO_C" >&6
30236 ac_check_lib_save_LIBS
=$LIBS
30238 cat >conftest.
$ac_ext <<_ACEOF
30241 cat confdefs.h
>>conftest.
$ac_ext
30242 cat >>conftest.
$ac_ext <<_ACEOF
30243 /* end confdefs.h. */
30245 /* Override any GCC internal prototype to avoid an error.
30246 Use char because int might match the return type of a GCC
30247 builtin and then its argument prototype would still apply. */
30251 char gethostbyname ();
30255 return gethostbyname ();
30260 rm -f conftest.
$ac_objext conftest
$ac_exeext
30261 if { (ac_try
="$ac_link"
30262 case "(($ac_try" in
30263 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30264 *) ac_try_echo=$ac_try;;
30266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30267 (eval "$ac_link") 2>conftest.er1
30269 grep -v '^ *+' conftest.er1 >conftest.err
30271 cat conftest.err >&5
30272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30273 (exit $ac_status); } && {
30274 test -z "$ac_c_werror_flag" ||
30275 test ! -s conftest.err
30276 } && test -s conftest$ac_exeext &&
30277 $as_test_x conftest$ac_exeext; then
30278 ac_cv_lib_bsd_gethostbyname=yes
30280 echo "$as_me: failed program was:" >&5
30281 sed 's/^/| /' conftest.$ac_ext >&5
30283 ac_cv_lib_bsd_gethostbyname=no
30286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30287 conftest$ac_exeext conftest.$ac_ext
30288 LIBS=$ac_check_lib_save_LIBS
30290 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30291 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30292 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30293 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30299 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30300 # socket/setsockopt and other routines are undefined under SCO ODT
30301 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30302 # on later versions), says Simon Leinen: it contains gethostby*
30303 # variants that don't use the name server (or something). -lsocket
30304 # must be given before -lnsl if both are needed. We assume that
30305 # if connect needs -lnsl, so does gethostbyname.
30306 { echo "$as_me:$LINENO: checking for connect" >&5
30307 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30308 if test "${ac_cv_func_connect+set}" = set; then
30309 echo $ECHO_N "(cached) $ECHO_C" >&6
30311 cat >conftest.$ac_ext <<_ACEOF
30314 cat confdefs.h >>conftest.$ac_ext
30315 cat >>conftest.$ac_ext <<_ACEOF
30316 /* end confdefs.h. */
30317 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30319 #define connect innocuous_connect
30321 /* System header to define __stub macros and hopefully few prototypes,
30322 which can conflict with char connect (); below.
30323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30324 <limits.h> exists even on freestanding compilers. */
30327 # include <limits.h>
30329 # include <assert.h>
30334 /* Override any GCC internal prototype to avoid an error.
30335 Use char because int might match the return type of a GCC
30336 builtin and then its argument prototype would still apply. */
30341 /* The GNU C library defines this for functions which it implements
30342 to always fail with ENOSYS. Some functions are actually named
30343 something starting with __ and the normal name is an alias. */
30344 #if defined __stub_connect || defined __stub___connect
30356 rm -f conftest.$ac_objext conftest$ac_exeext
30357 if { (ac_try="$ac_link"
30358 case "(($ac_try" in
30359 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30360 *) ac_try_echo
=$ac_try;;
30362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30363 (eval "$ac_link") 2>conftest.er1
30365 grep -v '^ *+' conftest.er1
>conftest.err
30367 cat conftest.err
>&5
30368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30369 (exit $ac_status); } && {
30370 test -z "$ac_c_werror_flag" ||
30371 test ! -s conftest.err
30372 } && test -s conftest
$ac_exeext &&
30373 $as_test_x conftest
$ac_exeext; then
30374 ac_cv_func_connect
=yes
30376 echo "$as_me: failed program was:" >&5
30377 sed 's/^/| /' conftest.
$ac_ext >&5
30379 ac_cv_func_connect
=no
30382 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30383 conftest
$ac_exeext conftest.
$ac_ext
30385 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30386 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30388 if test $ac_cv_func_connect = no
; then
30389 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30390 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30391 if test "${ac_cv_lib_socket_connect+set}" = set; then
30392 echo $ECHO_N "(cached) $ECHO_C" >&6
30394 ac_check_lib_save_LIBS
=$LIBS
30395 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30396 cat >conftest.
$ac_ext <<_ACEOF
30399 cat confdefs.h
>>conftest.
$ac_ext
30400 cat >>conftest.
$ac_ext <<_ACEOF
30401 /* end confdefs.h. */
30403 /* Override any GCC internal prototype to avoid an error.
30404 Use char because int might match the return type of a GCC
30405 builtin and then its argument prototype would still apply. */
30418 rm -f conftest.
$ac_objext conftest
$ac_exeext
30419 if { (ac_try
="$ac_link"
30420 case "(($ac_try" in
30421 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30422 *) ac_try_echo=$ac_try;;
30424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30425 (eval "$ac_link") 2>conftest.er1
30427 grep -v '^ *+' conftest.er1 >conftest.err
30429 cat conftest.err >&5
30430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30431 (exit $ac_status); } && {
30432 test -z "$ac_c_werror_flag" ||
30433 test ! -s conftest.err
30434 } && test -s conftest$ac_exeext &&
30435 $as_test_x conftest$ac_exeext; then
30436 ac_cv_lib_socket_connect=yes
30438 echo "$as_me: failed program was:" >&5
30439 sed 's/^/| /' conftest.$ac_ext >&5
30441 ac_cv_lib_socket_connect=no
30444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30445 conftest$ac_exeext conftest.$ac_ext
30446 LIBS=$ac_check_lib_save_LIBS
30448 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30449 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30450 if test $ac_cv_lib_socket_connect = yes; then
30451 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30456 # Guillermo Gomez says -lposix is necessary on A/UX.
30457 { echo "$as_me:$LINENO: checking for remove" >&5
30458 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30459 if test "${ac_cv_func_remove+set}" = set; then
30460 echo $ECHO_N "(cached) $ECHO_C" >&6
30462 cat >conftest.$ac_ext <<_ACEOF
30465 cat confdefs.h >>conftest.$ac_ext
30466 cat >>conftest.$ac_ext <<_ACEOF
30467 /* end confdefs.h. */
30468 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30470 #define remove innocuous_remove
30472 /* System header to define __stub macros and hopefully few prototypes,
30473 which can conflict with char remove (); below.
30474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30475 <limits.h> exists even on freestanding compilers. */
30478 # include <limits.h>
30480 # include <assert.h>
30485 /* Override any GCC internal prototype to avoid an error.
30486 Use char because int might match the return type of a GCC
30487 builtin and then its argument prototype would still apply. */
30492 /* The GNU C library defines this for functions which it implements
30493 to always fail with ENOSYS. Some functions are actually named
30494 something starting with __ and the normal name is an alias. */
30495 #if defined __stub_remove || defined __stub___remove
30507 rm -f conftest.$ac_objext conftest$ac_exeext
30508 if { (ac_try="$ac_link"
30509 case "(($ac_try" in
30510 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30511 *) ac_try_echo
=$ac_try;;
30513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30514 (eval "$ac_link") 2>conftest.er1
30516 grep -v '^ *+' conftest.er1
>conftest.err
30518 cat conftest.err
>&5
30519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30520 (exit $ac_status); } && {
30521 test -z "$ac_c_werror_flag" ||
30522 test ! -s conftest.err
30523 } && test -s conftest
$ac_exeext &&
30524 $as_test_x conftest
$ac_exeext; then
30525 ac_cv_func_remove
=yes
30527 echo "$as_me: failed program was:" >&5
30528 sed 's/^/| /' conftest.
$ac_ext >&5
30530 ac_cv_func_remove
=no
30533 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30534 conftest
$ac_exeext conftest.
$ac_ext
30536 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30537 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30539 if test $ac_cv_func_remove = no
; then
30540 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30541 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30542 if test "${ac_cv_lib_posix_remove+set}" = set; then
30543 echo $ECHO_N "(cached) $ECHO_C" >&6
30545 ac_check_lib_save_LIBS
=$LIBS
30546 LIBS
="-lposix $LIBS"
30547 cat >conftest.
$ac_ext <<_ACEOF
30550 cat confdefs.h
>>conftest.
$ac_ext
30551 cat >>conftest.
$ac_ext <<_ACEOF
30552 /* end confdefs.h. */
30554 /* Override any GCC internal prototype to avoid an error.
30555 Use char because int might match the return type of a GCC
30556 builtin and then its argument prototype would still apply. */
30569 rm -f conftest.
$ac_objext conftest
$ac_exeext
30570 if { (ac_try
="$ac_link"
30571 case "(($ac_try" in
30572 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30573 *) ac_try_echo=$ac_try;;
30575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30576 (eval "$ac_link") 2>conftest.er1
30578 grep -v '^ *+' conftest.er1 >conftest.err
30580 cat conftest.err >&5
30581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30582 (exit $ac_status); } && {
30583 test -z "$ac_c_werror_flag" ||
30584 test ! -s conftest.err
30585 } && test -s conftest$ac_exeext &&
30586 $as_test_x conftest$ac_exeext; then
30587 ac_cv_lib_posix_remove=yes
30589 echo "$as_me: failed program was:" >&5
30590 sed 's/^/| /' conftest.$ac_ext >&5
30592 ac_cv_lib_posix_remove=no
30595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30596 conftest$ac_exeext conftest.$ac_ext
30597 LIBS=$ac_check_lib_save_LIBS
30599 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30600 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30601 if test $ac_cv_lib_posix_remove = yes; then
30602 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30607 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30608 { echo "$as_me:$LINENO: checking for shmat" >&5
30609 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30610 if test "${ac_cv_func_shmat+set}" = set; then
30611 echo $ECHO_N "(cached) $ECHO_C" >&6
30613 cat >conftest.$ac_ext <<_ACEOF
30616 cat confdefs.h >>conftest.$ac_ext
30617 cat >>conftest.$ac_ext <<_ACEOF
30618 /* end confdefs.h. */
30619 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30621 #define shmat innocuous_shmat
30623 /* System header to define __stub macros and hopefully few prototypes,
30624 which can conflict with char shmat (); below.
30625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30626 <limits.h> exists even on freestanding compilers. */
30629 # include <limits.h>
30631 # include <assert.h>
30636 /* Override any GCC internal prototype to avoid an error.
30637 Use char because int might match the return type of a GCC
30638 builtin and then its argument prototype would still apply. */
30643 /* The GNU C library defines this for functions which it implements
30644 to always fail with ENOSYS. Some functions are actually named
30645 something starting with __ and the normal name is an alias. */
30646 #if defined __stub_shmat || defined __stub___shmat
30658 rm -f conftest.$ac_objext conftest$ac_exeext
30659 if { (ac_try="$ac_link"
30660 case "(($ac_try" in
30661 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30662 *) ac_try_echo
=$ac_try;;
30664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30665 (eval "$ac_link") 2>conftest.er1
30667 grep -v '^ *+' conftest.er1
>conftest.err
30669 cat conftest.err
>&5
30670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30671 (exit $ac_status); } && {
30672 test -z "$ac_c_werror_flag" ||
30673 test ! -s conftest.err
30674 } && test -s conftest
$ac_exeext &&
30675 $as_test_x conftest
$ac_exeext; then
30676 ac_cv_func_shmat
=yes
30678 echo "$as_me: failed program was:" >&5
30679 sed 's/^/| /' conftest.
$ac_ext >&5
30681 ac_cv_func_shmat
=no
30684 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30685 conftest
$ac_exeext conftest.
$ac_ext
30687 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30688 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30690 if test $ac_cv_func_shmat = no
; then
30691 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30692 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30693 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30694 echo $ECHO_N "(cached) $ECHO_C" >&6
30696 ac_check_lib_save_LIBS
=$LIBS
30698 cat >conftest.
$ac_ext <<_ACEOF
30701 cat confdefs.h
>>conftest.
$ac_ext
30702 cat >>conftest.
$ac_ext <<_ACEOF
30703 /* end confdefs.h. */
30705 /* Override any GCC internal prototype to avoid an error.
30706 Use char because int might match the return type of a GCC
30707 builtin and then its argument prototype would still apply. */
30720 rm -f conftest.
$ac_objext conftest
$ac_exeext
30721 if { (ac_try
="$ac_link"
30722 case "(($ac_try" in
30723 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30724 *) ac_try_echo=$ac_try;;
30726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30727 (eval "$ac_link") 2>conftest.er1
30729 grep -v '^ *+' conftest.er1 >conftest.err
30731 cat conftest.err >&5
30732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30733 (exit $ac_status); } && {
30734 test -z "$ac_c_werror_flag" ||
30735 test ! -s conftest.err
30736 } && test -s conftest$ac_exeext &&
30737 $as_test_x conftest$ac_exeext; then
30738 ac_cv_lib_ipc_shmat=yes
30740 echo "$as_me: failed program was:" >&5
30741 sed 's/^/| /' conftest.$ac_ext >&5
30743 ac_cv_lib_ipc_shmat=no
30746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30747 conftest$ac_exeext conftest.$ac_ext
30748 LIBS=$ac_check_lib_save_LIBS
30750 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30751 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30752 if test $ac_cv_lib_ipc_shmat = yes; then
30753 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30759 # Check for libraries that X11R6 Xt/Xaw programs need.
30760 ac_save_LDFLAGS=$LDFLAGS
30761 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30762 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30763 # check for ICE first), but we must link in the order -lSM -lICE or
30764 # we get undefined symbols. So assume we have SM if we have ICE.
30765 # These have to be linked with before -lX11, unlike the other
30766 # libraries we check for below, so use a different variable.
30767 # John Interrante, Karl Berry
30768 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30769 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30770 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30771 echo $ECHO_N "(cached) $ECHO_C" >&6
30773 ac_check_lib_save_LIBS=$LIBS
30774 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30775 cat >conftest.$ac_ext <<_ACEOF
30778 cat confdefs.h >>conftest.$ac_ext
30779 cat >>conftest.$ac_ext <<_ACEOF
30780 /* end confdefs.h. */
30782 /* Override any GCC internal prototype to avoid an error.
30783 Use char because int might match the return type of a GCC
30784 builtin and then its argument prototype would still apply. */
30788 char IceConnectionNumber ();
30792 return IceConnectionNumber ();
30797 rm -f conftest.$ac_objext conftest$ac_exeext
30798 if { (ac_try="$ac_link"
30799 case "(($ac_try" in
30800 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30801 *) ac_try_echo
=$ac_try;;
30803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30804 (eval "$ac_link") 2>conftest.er1
30806 grep -v '^ *+' conftest.er1
>conftest.err
30808 cat conftest.err
>&5
30809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30810 (exit $ac_status); } && {
30811 test -z "$ac_c_werror_flag" ||
30812 test ! -s conftest.err
30813 } && test -s conftest
$ac_exeext &&
30814 $as_test_x conftest
$ac_exeext; then
30815 ac_cv_lib_ICE_IceConnectionNumber
=yes
30817 echo "$as_me: failed program was:" >&5
30818 sed 's/^/| /' conftest.
$ac_ext >&5
30820 ac_cv_lib_ICE_IceConnectionNumber
=no
30823 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30824 conftest
$ac_exeext conftest.
$ac_ext
30825 LIBS
=$ac_check_lib_save_LIBS
30827 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30828 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30829 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30830 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30833 LDFLAGS
=$ac_save_LDFLAGS
30838 if test "$no_x" = "yes"; then
30839 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30840 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30841 { (exit 1); exit 1; }; }
30844 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30845 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30846 AFMINSTALL
=afminstall
30847 COMPILED_X_PROGRAM
=0
30851 if test "$wxUSE_X11" = 1; then
30852 if test "$wxUSE_NANOX" = "yes"; then
30853 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30854 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30855 if test "x$MICROWIN" = x
; then
30856 { echo "$as_me:$LINENO: result: not found" >&5
30857 echo "${ECHO_T}not found" >&6; }
30858 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30859 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30860 { (exit 1); exit 1; }; }
30862 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30863 echo "${ECHO_T}$MICROWIN" >&6; }
30864 cat >>confdefs.h
<<\_ACEOF
30865 #define wxUSE_NANOX 1
30871 if test "$wxUSE_UNICODE" = "yes"; then
30874 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30875 if test -n "$ac_tool_prefix"; then
30876 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30877 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30878 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30880 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30881 echo $ECHO_N "(cached) $ECHO_C" >&6
30883 case $PKG_CONFIG in
30885 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30889 for as_dir
in $PATH
30892 test -z "$as_dir" && as_dir
=.
30893 for ac_exec_ext
in '' $ac_executable_extensions; do
30894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30895 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30906 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30907 if test -n "$PKG_CONFIG"; then
30908 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30909 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30911 { echo "$as_me:$LINENO: result: no" >&5
30912 echo "${ECHO_T}no" >&6; }
30917 if test -z "$ac_cv_path_PKG_CONFIG"; then
30918 ac_pt_PKG_CONFIG
=$PKG_CONFIG
30919 # Extract the first word of "pkg-config", so it can be a program name with args.
30920 set dummy pkg
-config; ac_word
=$2
30921 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30923 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30924 echo $ECHO_N "(cached) $ECHO_C" >&6
30926 case $ac_pt_PKG_CONFIG in
30928 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30932 for as_dir
in $PATH
30935 test -z "$as_dir" && as_dir
=.
30936 for ac_exec_ext
in '' $ac_executable_extensions; do
30937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30938 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30949 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
30950 if test -n "$ac_pt_PKG_CONFIG"; then
30951 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30952 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30954 { echo "$as_me:$LINENO: result: no" >&5
30955 echo "${ECHO_T}no" >&6; }
30958 if test "x$ac_pt_PKG_CONFIG" = x
; then
30961 case $cross_compiling:$ac_tool_warned in
30963 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30964 whose name does not start with the host triplet. If you think this
30965 configuration is useful to you, please write to autoconf@gnu.org." >&5
30966 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30967 whose name does not start with the host triplet. If you think this
30968 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30969 ac_tool_warned
=yes ;;
30971 PKG_CONFIG
=$ac_pt_PKG_CONFIG
30974 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
30978 if test -n "$PKG_CONFIG"; then
30979 _pkg_min_version
=0.9.0
30980 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30981 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30982 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30983 { echo "$as_me:$LINENO: result: yes" >&5
30984 echo "${ECHO_T}yes" >&6; }
30986 { echo "$as_me:$LINENO: result: no" >&5
30987 echo "${ECHO_T}no" >&6; }
30995 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30996 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30998 if test -n "$PKG_CONFIG"; then
30999 if test -n "$PANGOX_CFLAGS"; then
31000 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31002 if test -n "$PKG_CONFIG" && \
31003 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31004 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31007 (exit $ac_status); }; then
31008 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31016 if test -n "$PKG_CONFIG"; then
31017 if test -n "$PANGOX_LIBS"; then
31018 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31020 if test -n "$PKG_CONFIG" && \
31021 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31022 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31025 (exit $ac_status); }; then
31026 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31037 if test $pkg_failed = yes; then
31039 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31040 _pkg_short_errors_supported
=yes
31042 _pkg_short_errors_supported
=no
31044 if test $_pkg_short_errors_supported = yes; then
31045 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31047 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31049 # Put the nasty error message in config.log where it belongs
31050 echo "$PANGOX_PKG_ERRORS" >&5
31053 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31054 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31055 { (exit 1); exit 1; }; }
31058 elif test $pkg_failed = untried
; then
31060 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31061 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31062 { (exit 1); exit 1; }; }
31066 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31067 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31068 { echo "$as_me:$LINENO: result: yes" >&5
31069 echo "${ECHO_T}yes" >&6; }
31071 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31072 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31073 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31078 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31079 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31081 if test -n "$PKG_CONFIG"; then
31082 if test -n "$PANGOFT2_CFLAGS"; then
31083 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31085 if test -n "$PKG_CONFIG" && \
31086 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31087 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31090 (exit $ac_status); }; then
31091 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31099 if test -n "$PKG_CONFIG"; then
31100 if test -n "$PANGOFT2_LIBS"; then
31101 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31103 if test -n "$PKG_CONFIG" && \
31104 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31105 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31108 (exit $ac_status); }; then
31109 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31120 if test $pkg_failed = yes; then
31122 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31123 _pkg_short_errors_supported
=yes
31125 _pkg_short_errors_supported
=no
31127 if test $_pkg_short_errors_supported = yes; then
31128 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31130 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31132 # Put the nasty error message in config.log where it belongs
31133 echo "$PANGOFT2_PKG_ERRORS" >&5
31136 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31137 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31138 wxUSE_PRINTING_ARCHITECTURE
="no"
31141 elif test $pkg_failed = untried
; then
31143 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31144 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31145 wxUSE_PRINTING_ARCHITECTURE
="no"
31149 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31150 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31151 { echo "$as_me:$LINENO: result: yes" >&5
31152 echo "${ECHO_T}yes" >&6; }
31154 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31155 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31156 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31161 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31162 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31164 if test -n "$PKG_CONFIG"; then
31165 if test -n "$PANGOXFT_CFLAGS"; then
31166 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31168 if test -n "$PKG_CONFIG" && \
31169 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31170 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31173 (exit $ac_status); }; then
31174 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31182 if test -n "$PKG_CONFIG"; then
31183 if test -n "$PANGOXFT_LIBS"; then
31184 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31186 if test -n "$PKG_CONFIG" && \
31187 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31188 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31191 (exit $ac_status); }; then
31192 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31203 if test $pkg_failed = yes; then
31205 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31206 _pkg_short_errors_supported
=yes
31208 _pkg_short_errors_supported
=no
31210 if test $_pkg_short_errors_supported = yes; then
31211 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31213 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31215 # Put the nasty error message in config.log where it belongs
31216 echo "$PANGOXFT_PKG_ERRORS" >&5
31219 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31220 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31223 elif test $pkg_failed = untried
; then
31225 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31226 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31230 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31231 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31232 { echo "$as_me:$LINENO: result: yes" >&5
31233 echo "${ECHO_T}yes" >&6; }
31235 cat >>confdefs.h
<<\_ACEOF
31236 #define HAVE_PANGO_XFT 1
31239 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31240 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31241 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31245 LIBS
="$LIBS $PANGOX_LIBS"
31247 for ac_func
in pango_font_family_is_monospace
31249 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31250 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31252 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31253 echo $ECHO_N "(cached) $ECHO_C" >&6
31255 cat >conftest.
$ac_ext <<_ACEOF
31258 cat confdefs.h
>>conftest.
$ac_ext
31259 cat >>conftest.
$ac_ext <<_ACEOF
31260 /* end confdefs.h. */
31261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31263 #define $ac_func innocuous_$ac_func
31265 /* System header to define __stub macros and hopefully few prototypes,
31266 which can conflict with char $ac_func (); below.
31267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31268 <limits.h> exists even on freestanding compilers. */
31271 # include <limits.h>
31273 # include <assert.h>
31278 /* Override any GCC internal prototype to avoid an error.
31279 Use char because int might match the return type of a GCC
31280 builtin and then its argument prototype would still apply. */
31285 /* The GNU C library defines this for functions which it implements
31286 to always fail with ENOSYS. Some functions are actually named
31287 something starting with __ and the normal name is an alias. */
31288 #if defined __stub_$ac_func || defined __stub___$ac_func
31295 return $ac_func ();
31300 rm -f conftest.
$ac_objext conftest
$ac_exeext
31301 if { (ac_try
="$ac_link"
31302 case "(($ac_try" in
31303 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31304 *) ac_try_echo=$ac_try;;
31306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31307 (eval "$ac_link") 2>conftest.er1
31309 grep -v '^ *+' conftest.er1 >conftest.err
31311 cat conftest.err >&5
31312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31313 (exit $ac_status); } && {
31314 test -z "$ac_c_werror_flag" ||
31315 test ! -s conftest.err
31316 } && test -s conftest$ac_exeext &&
31317 $as_test_x conftest$ac_exeext; then
31318 eval "$as_ac_var=yes"
31320 echo "$as_me: failed program was:" >&5
31321 sed 's/^/| /' conftest.$ac_ext >&5
31323 eval "$as_ac_var=no"
31326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31327 conftest$ac_exeext conftest.$ac_ext
31329 ac_res=`eval echo '${'$as_ac_var'}'`
31330 { echo "$as_me:$LINENO: result: $ac_res" >&5
31331 echo "${ECHO_T}$ac_res" >&6; }
31332 if test `eval echo '${'$as_ac_var'}'` = yes; then
31333 cat >>confdefs.h <<_ACEOF
31334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31343 wxUSE_UNIVERSAL="yes"
31345 if test "$wxUSE_NANOX" = "yes"; then
31346 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31347 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"
31348 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31350 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31357 if test "$wxUSE_MOTIF" = 1; then
31358 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31359 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31362 for ac_dir in $SEARCH_INCLUDE /usr/include;
31364 if test -f "$ac_dir/Xm/Xm.h"; then
31365 ac_find_includes=$ac_dir
31370 if test "$ac_find_includes" != "" ; then
31371 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31372 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31374 if test "x$ac_find_includes" = "x/usr/include"; then
31375 ac_path_to_include=""
31377 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31379 if test $result = 0; then
31380 ac_path_to_include=""
31382 ac_path_to_include=" -I$ac_find_includes"
31386 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31388 save_CFLAGS=$CFLAGS
31389 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31391 cat >conftest.$ac_ext <<_ACEOF
31394 cat confdefs.h >>conftest.$ac_ext
31395 cat >>conftest.$ac_ext <<_ACEOF
31396 /* end confdefs.h. */
31405 version = xmUseVersion;
31411 rm -f conftest.$ac_objext
31412 if { (ac_try="$ac_compile"
31413 case "(($ac_try" in
31414 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31415 *) ac_try_echo
=$ac_try;;
31417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31418 (eval "$ac_compile") 2>conftest.er1
31420 grep -v '^ *+' conftest.er1
>conftest.err
31422 cat conftest.err
>&5
31423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31424 (exit $ac_status); } && {
31425 test -z "$ac_c_werror_flag" ||
31426 test ! -s conftest.err
31427 } && test -s conftest.
$ac_objext; then
31429 { echo "$as_me:$LINENO: result: found in default search path" >&5
31430 echo "${ECHO_T}found in default search path" >&6; }
31431 COMPILED_X_PROGRAM
=1
31434 echo "$as_me: failed program was:" >&5
31435 sed 's/^/| /' conftest.
$ac_ext >&5
31438 { echo "$as_me:$LINENO: result: no" >&5
31439 echo "${ECHO_T}no" >&6; }
31440 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31441 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31442 { (exit 1); exit 1; }; }
31447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31449 CFLAGS
=$save_CFLAGS
31453 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31454 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31457 for ac_dir
in $SEARCH_LIB;
31459 for ac_extension
in a so sl dylib dll.a
; do
31460 if test -f "$ac_dir/libXm.$ac_extension"; then
31461 ac_find_libraries
=$ac_dir
31468 if test "x$ac_find_libraries" != "x" ; then
31469 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31470 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31473 if test "$ac_find_libraries" = "default location"; then
31476 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31478 if test $result = 0; then
31481 ac_path_to_link
=" -L$ac_find_libraries"
31485 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31487 save_CFLAGS
=$CFLAGS
31488 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31490 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31492 cat >conftest.
$ac_ext <<_ACEOF
31495 cat confdefs.h
>>conftest.
$ac_ext
31496 cat >>conftest.
$ac_ext <<_ACEOF
31497 /* end confdefs.h. */
31506 version = xmUseVersion;
31512 rm -f conftest.
$ac_objext conftest
$ac_exeext
31513 if { (ac_try
="$ac_link"
31514 case "(($ac_try" in
31515 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31516 *) ac_try_echo=$ac_try;;
31518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31519 (eval "$ac_link") 2>conftest.er1
31521 grep -v '^ *+' conftest.er1 >conftest.err
31523 cat conftest.err >&5
31524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31525 (exit $ac_status); } && {
31526 test -z "$ac_c_werror_flag" ||
31527 test ! -s conftest.err
31528 } && test -s conftest$ac_exeext &&
31529 $as_test_x conftest$ac_exeext; then
31531 { echo "$as_me:$LINENO: result: found in default search path" >&5
31532 echo "${ECHO_T}found in default search path" >&6; }
31533 COMPILED_X_PROGRAM=1
31536 echo "$as_me: failed program was:" >&5
31537 sed 's/^/| /' conftest.$ac_ext >&5
31540 { echo "$as_me:$LINENO: result: no" >&5
31541 echo "${ECHO_T}no" >&6; }
31542 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31543 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31544 { (exit 1); exit 1; }; }
31549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31550 conftest$ac_exeext conftest.$ac_ext
31552 CFLAGS=$save_CFLAGS
31556 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31557 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31561 for libp in "" " -lXp"; do
31562 if test "$libs_found" = 0; then
31563 for libsm_ice in "" " -lSM -lICE"; do
31564 if test "$libs_found" = 0; then
31566 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31567 save_CFLAGS=$CFLAGS
31568 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31570 cat >conftest.$ac_ext <<_ACEOF
31573 cat confdefs.h >>conftest.$ac_ext
31574 cat >>conftest.$ac_ext <<_ACEOF
31575 /* end confdefs.h. */
31578 #include <Xm/List.h>
31584 XmString string = NULL;
31587 XmListAddItem(w, string, position);
31593 rm -f conftest.$ac_objext conftest$ac_exeext
31594 if { (ac_try="$ac_link"
31595 case "(($ac_try" in
31596 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31597 *) ac_try_echo
=$ac_try;;
31599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31600 (eval "$ac_link") 2>conftest.er1
31602 grep -v '^ *+' conftest.er1
>conftest.err
31604 cat conftest.err
>&5
31605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31606 (exit $ac_status); } && {
31607 test -z "$ac_c_werror_flag" ||
31608 test ! -s conftest.err
31609 } && test -s conftest
$ac_exeext &&
31610 $as_test_x conftest
$ac_exeext; then
31613 libsm_ice_link
="$libsm_ice"
31614 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31615 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31619 echo "$as_me: failed program was:" >&5
31620 sed 's/^/| /' conftest.
$ac_ext >&5
31626 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31627 conftest
$ac_exeext conftest.
$ac_ext
31630 CFLAGS
=$save_CFLAGS
31636 if test "$libs_found" = 0; then
31637 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31638 echo "${ECHO_T}can't find the right libraries" >&6; }
31639 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31640 echo "$as_me: error: can't link a simple motif program" >&2;}
31641 { (exit 1); exit 1; }; }
31644 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31645 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31646 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31647 echo $ECHO_N "(cached) $ECHO_C" >&6
31649 ac_check_lib_save_LIBS
=$LIBS
31651 cat >conftest.
$ac_ext <<_ACEOF
31654 cat confdefs.h
>>conftest.
$ac_ext
31655 cat >>conftest.
$ac_ext <<_ACEOF
31656 /* end confdefs.h. */
31658 /* Override any GCC internal prototype to avoid an error.
31659 Use char because int might match the return type of a GCC
31660 builtin and then its argument prototype would still apply. */
31664 char SgCreateList ();
31668 return SgCreateList ();
31673 rm -f conftest.
$ac_objext conftest
$ac_exeext
31674 if { (ac_try
="$ac_link"
31675 case "(($ac_try" in
31676 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31677 *) ac_try_echo=$ac_try;;
31679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31680 (eval "$ac_link") 2>conftest.er1
31682 grep -v '^ *+' conftest.er1 >conftest.err
31684 cat conftest.err >&5
31685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31686 (exit $ac_status); } && {
31687 test -z "$ac_c_werror_flag" ||
31688 test ! -s conftest.err
31689 } && test -s conftest$ac_exeext &&
31690 $as_test_x conftest$ac_exeext; then
31691 ac_cv_lib_Sgm_SgCreateList=yes
31693 echo "$as_me: failed program was:" >&5
31694 sed 's/^/| /' conftest.$ac_ext >&5
31696 ac_cv_lib_Sgm_SgCreateList=no
31699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31700 conftest$ac_exeext conftest.$ac_ext
31701 LIBS=$ac_check_lib_save_LIBS
31703 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31704 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31705 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31706 libsgm_link=" -lSgm"
31710 save_CFLAGS=$CFLAGS
31711 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31713 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31714 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31715 if test "${wx_cv_lib_motif2+set}" = set; then
31716 echo $ECHO_N "(cached) $ECHO_C" >&6
31718 cat >conftest.$ac_ext <<_ACEOF
31721 cat confdefs.h >>conftest.$ac_ext
31722 cat >>conftest.$ac_ext <<_ACEOF
31723 /* end confdefs.h. */
31731 #if XmVersion < 2000
31739 rm -f conftest.$ac_objext
31740 if { (ac_try="$ac_compile"
31741 case "(($ac_try" in
31742 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31743 *) ac_try_echo
=$ac_try;;
31745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31746 (eval "$ac_compile") 2>conftest.er1
31748 grep -v '^ *+' conftest.er1
>conftest.err
31750 cat conftest.err
>&5
31751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31752 (exit $ac_status); } && {
31753 test -z "$ac_c_werror_flag" ||
31754 test ! -s conftest.err
31755 } && test -s conftest.
$ac_objext; then
31756 wx_cv_lib_motif2
="yes"
31758 echo "$as_me: failed program was:" >&5
31759 sed 's/^/| /' conftest.
$ac_ext >&5
31761 wx_cv_lib_motif2
="no"
31764 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31766 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31767 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31768 if test "$wx_cv_lib_motif2" = "yes"; then
31769 cat >>confdefs.h
<<\_ACEOF
31770 #define __WXMOTIF20__ 1
31774 cat >>confdefs.h
<<\_ACEOF
31775 #define __WXMOTIF20__ 0
31780 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31781 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31782 if test "${wx_cv_lib_lesstif+set}" = set; then
31783 echo $ECHO_N "(cached) $ECHO_C" >&6
31785 cat >conftest.
$ac_ext <<_ACEOF
31788 cat confdefs.h
>>conftest.
$ac_ext
31789 cat >>conftest.
$ac_ext <<_ACEOF
31790 /* end confdefs.h. */
31798 #if !defined(LesstifVersion) || LesstifVersion <= 0
31806 rm -f conftest.
$ac_objext
31807 if { (ac_try
="$ac_compile"
31808 case "(($ac_try" in
31809 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31810 *) ac_try_echo=$ac_try;;
31812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31813 (eval "$ac_compile") 2>conftest.er1
31815 grep -v '^ *+' conftest.er1 >conftest.err
31817 cat conftest.err >&5
31818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31819 (exit $ac_status); } && {
31820 test -z "$ac_c_werror_flag" ||
31821 test ! -s conftest.err
31822 } && test -s conftest.$ac_objext; then
31823 wx_cv_lib_lesstif="yes"
31825 echo "$as_me: failed program was:" >&5
31826 sed 's/^/| /' conftest.$ac_ext >&5
31828 wx_cv_lib_lesstif="no"
31831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31834 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31835 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31836 if test "$wx_cv_lib_lesstif" = "yes"; then
31837 cat >>confdefs.h <<\_ACEOF
31838 #define __WXLESSTIF__ 1
31842 cat >>confdefs.h <<\_ACEOF
31843 #define __WXLESSTIF__ 0
31848 CFLAGS=$save_CFLAGS
31850 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31855 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31856 if test "$wxUSE_LIBXPM" = "sys"; then
31857 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31858 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31861 for ac_dir in $SEARCH_LIB;
31863 for ac_extension in a so sl dylib dll.a; do
31864 if test -f "$ac_dir/libXpm.$ac_extension"; then
31865 ac_find_libraries=$ac_dir
31871 if test "$ac_find_libraries" != "" ; then
31873 if test "$ac_find_libraries" = "default location"; then
31876 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31878 if test $result = 0; then
31881 ac_path_to_link=" -L$ac_find_libraries"
31885 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31886 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31887 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31889 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31890 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31891 if test "${wx_cv_x11_xpm_h+set}" = set; then
31892 echo $ECHO_N "(cached) $ECHO_C" >&6
31895 save_CFLAGS=$CFLAGS
31896 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31898 cat >conftest.$ac_ext <<_ACEOF
31901 cat confdefs.h >>conftest.$ac_ext
31902 cat >>conftest.$ac_ext <<_ACEOF
31903 /* end confdefs.h. */
31905 #include <X11/xpm.h>
31912 version = XpmLibraryVersion();
31918 rm -f conftest.$ac_objext
31919 if { (ac_try="$ac_compile"
31920 case "(($ac_try" in
31921 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31922 *) ac_try_echo
=$ac_try;;
31924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31925 (eval "$ac_compile") 2>conftest.er1
31927 grep -v '^ *+' conftest.er1
>conftest.err
31929 cat conftest.err
>&5
31930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31931 (exit $ac_status); } && {
31932 test -z "$ac_c_werror_flag" ||
31933 test ! -s conftest.err
31934 } && test -s conftest.
$ac_objext; then
31935 wx_cv_x11_xpm_h
=yes
31937 echo "$as_me: failed program was:" >&5
31938 sed 's/^/| /' conftest.
$ac_ext >&5
31944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31946 CFLAGS
=$save_CFLAGS
31950 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31951 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31953 if test $wx_cv_x11_xpm_h = "yes"; then
31954 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31955 cat >>confdefs.h
<<\_ACEOF
31956 #define wxHAVE_LIB_XPM 1
31960 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31961 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31967 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31968 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31969 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31970 echo $ECHO_N "(cached) $ECHO_C" >&6
31972 ac_check_lib_save_LIBS
=$LIBS
31973 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31974 cat >conftest.
$ac_ext <<_ACEOF
31977 cat confdefs.h
>>conftest.
$ac_ext
31978 cat >>conftest.
$ac_ext <<_ACEOF
31979 /* end confdefs.h. */
31981 /* Override any GCC internal prototype to avoid an error.
31982 Use char because int might match the return type of a GCC
31983 builtin and then its argument prototype would still apply. */
31987 char XShapeQueryExtension ();
31991 return XShapeQueryExtension ();
31996 rm -f conftest.
$ac_objext conftest
$ac_exeext
31997 if { (ac_try
="$ac_link"
31998 case "(($ac_try" in
31999 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32000 *) ac_try_echo=$ac_try;;
32002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32003 (eval "$ac_link") 2>conftest.er1
32005 grep -v '^ *+' conftest.er1 >conftest.err
32007 cat conftest.err >&5
32008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32009 (exit $ac_status); } && {
32010 test -z "$ac_c_werror_flag" ||
32011 test ! -s conftest.err
32012 } && test -s conftest$ac_exeext &&
32013 $as_test_x conftest$ac_exeext; then
32014 ac_cv_lib_Xext_XShapeQueryExtension=yes
32016 echo "$as_me: failed program was:" >&5
32017 sed 's/^/| /' conftest.$ac_ext >&5
32019 ac_cv_lib_Xext_XShapeQueryExtension=no
32022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32023 conftest$ac_exeext conftest.$ac_ext
32024 LIBS=$ac_check_lib_save_LIBS
32026 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32027 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32028 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32030 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32036 if test "$wxHAVE_XEXT_LIB" = 1; then
32037 save_CFLAGS="$CFLAGS"
32038 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32040 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32041 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32042 cat >conftest.$ac_ext <<_ACEOF
32045 cat confdefs.h >>conftest.$ac_ext
32046 cat >>conftest.$ac_ext <<_ACEOF
32047 /* end confdefs.h. */
32049 #include <X11/Xlib.h>
32050 #include <X11/extensions/shape.h>
32056 int dummy1, dummy2;
32057 XShapeQueryExtension((Display*)NULL,
32058 (int*)NULL, (int*)NULL);
32064 rm -f conftest.$ac_objext
32065 if { (ac_try="$ac_compile"
32066 case "(($ac_try" in
32067 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32068 *) ac_try_echo
=$ac_try;;
32070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32071 (eval "$ac_compile") 2>conftest.er1
32073 grep -v '^ *+' conftest.er1
>conftest.err
32075 cat conftest.err
>&5
32076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32077 (exit $ac_status); } && {
32078 test -z "$ac_c_werror_flag" ||
32079 test ! -s conftest.err
32080 } && test -s conftest.
$ac_objext; then
32082 cat >>confdefs.h
<<\_ACEOF
32083 #define HAVE_XSHAPE 1
32086 { echo "$as_me:$LINENO: result: found" >&5
32087 echo "${ECHO_T}found" >&6; }
32090 echo "$as_me: failed program was:" >&5
32091 sed 's/^/| /' conftest.
$ac_ext >&5
32094 { echo "$as_me:$LINENO: result: not found" >&5
32095 echo "${ECHO_T}not found" >&6; }
32099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32100 CFLAGS
="$save_CFLAGS"
32105 if test "$wxUSE_MAC" = 1; then
32106 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32107 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32108 if test "$GCC" = yes; then
32109 { echo "$as_me:$LINENO: result: gcc" >&5
32110 echo "${ECHO_T}gcc" >&6; }
32111 CPPFLAGS_PASCAL
="-fpascal-strings"
32112 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32113 { echo "$as_me:$LINENO: result: xlc" >&5
32114 echo "${ECHO_T}xlc" >&6; }
32115 CPPFLAGS_PASCAL
="-qmacpstr"
32117 { echo "$as_me:$LINENO: result: none" >&5
32118 echo "${ECHO_T}none" >&6; }
32121 if test "x$wxUSE_UNIX" = "xyes"; then
32122 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32124 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32129 WXBASEPORT
="_carbon"
32132 if test "$wxUSE_COCOA" = 1; then
32137 if test "$wxUSE_PM" = 1; then
32140 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32141 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32142 if test "${wx_cv_spbcdata+set}" = set; then
32143 echo $ECHO_N "(cached) $ECHO_C" >&6
32146 cat >conftest.
$ac_ext <<_ACEOF
32149 cat confdefs.h
>>conftest.
$ac_ext
32150 cat >>conftest.
$ac_ext <<_ACEOF
32151 /* end confdefs.h. */
32166 rm -f conftest.
$ac_objext
32167 if { (ac_try
="$ac_compile"
32168 case "(($ac_try" in
32169 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32170 *) ac_try_echo=$ac_try;;
32172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32173 (eval "$ac_compile") 2>conftest.er1
32175 grep -v '^ *+' conftest.er1 >conftest.err
32177 cat conftest.err >&5
32178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32179 (exit $ac_status); } && {
32180 test -z "$ac_c_werror_flag" ||
32181 test ! -s conftest.err
32182 } && test -s conftest.$ac_objext; then
32185 echo "$as_me: failed program was:" >&5
32186 sed 's/^/| /' conftest.$ac_ext >&5
32192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32196 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32197 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32199 if test $wx_cv_spbcdata = "yes"; then
32200 cat >>confdefs.h <<\_ACEOF
32201 #define HAVE_SPBCDATA 1
32207 if test "$TOOLKIT" = "PM" ; then
32210 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32213 if test "$wxUSE_UNIVERSAL" = "yes"; then
32214 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32218 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32219 DISTDIR="wx\$(TOOLKIT)"
32225 if test "$USE_WIN32" = 1 ; then
32229 GUIDIST="BASE_DIST"
32235 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32236 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32237 wxUSE_UNICODE_UTF8=yes
32238 elif test "$USE_OS2" = 1 ; then
32239 wxUSE_UNICODE_UTF8=yes
32241 wxUSE_UNICODE_UTF8=no
32246 if test "$wxUSE_GUI" = "yes"; then
32247 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32249 for ac_header in X11/Xlib.h
32251 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32252 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32254 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32255 echo $ECHO_N "(cached) $ECHO_C" >&6
32257 cat >conftest.$ac_ext <<_ACEOF
32260 cat confdefs.h >>conftest.$ac_ext
32261 cat >>conftest.$ac_ext <<_ACEOF
32262 /* end confdefs.h. */
32265 #include <$ac_header>
32267 rm -f conftest.$ac_objext
32268 if { (ac_try="$ac_compile"
32269 case "(($ac_try" in
32270 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32271 *) ac_try_echo
=$ac_try;;
32273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32274 (eval "$ac_compile") 2>conftest.er1
32276 grep -v '^ *+' conftest.er1
>conftest.err
32278 cat conftest.err
>&5
32279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32280 (exit $ac_status); } && {
32281 test -z "$ac_c_werror_flag" ||
32282 test ! -s conftest.err
32283 } && test -s conftest.
$ac_objext; then
32284 eval "$as_ac_Header=yes"
32286 echo "$as_me: failed program was:" >&5
32287 sed 's/^/| /' conftest.
$ac_ext >&5
32289 eval "$as_ac_Header=no"
32292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32294 ac_res
=`eval echo '${'$as_ac_Header'}'`
32295 { echo "$as_me:$LINENO: result: $ac_res" >&5
32296 echo "${ECHO_T}$ac_res" >&6; }
32297 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32298 cat >>confdefs.h
<<_ACEOF
32299 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32307 for ac_header
in X
11/XKBlib.h
32309 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32310 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32312 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32313 echo $ECHO_N "(cached) $ECHO_C" >&6
32315 cat >conftest.
$ac_ext <<_ACEOF
32318 cat confdefs.h
>>conftest.
$ac_ext
32319 cat >>conftest.
$ac_ext <<_ACEOF
32320 /* end confdefs.h. */
32322 #if HAVE_X11_XLIB_H
32323 #include <X11/Xlib.h>
32327 #include <$ac_header>
32329 rm -f conftest.
$ac_objext
32330 if { (ac_try
="$ac_compile"
32331 case "(($ac_try" in
32332 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32333 *) ac_try_echo=$ac_try;;
32335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32336 (eval "$ac_compile") 2>conftest.er1
32338 grep -v '^ *+' conftest.er1 >conftest.err
32340 cat conftest.err >&5
32341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32342 (exit $ac_status); } && {
32343 test -z "$ac_c_werror_flag" ||
32344 test ! -s conftest.err
32345 } && test -s conftest.$ac_objext; then
32346 eval "$as_ac_Header=yes"
32348 echo "$as_me: failed program was:" >&5
32349 sed 's/^/| /' conftest.$ac_ext >&5
32351 eval "$as_ac_Header=no"
32354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32356 ac_res=`eval echo '${'$as_ac_Header'}'`
32357 { echo "$as_me:$LINENO: result: $ac_res" >&5
32358 echo "${ECHO_T}$ac_res" >&6; }
32359 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32360 cat >>confdefs.h <<_ACEOF
32361 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32373 if test "$wxUSE_DISPLAY" = "yes"; then
32374 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32375 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32376 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32379 for ac_dir in $SEARCH_LIB;
32381 for ac_extension in a so sl dylib dll.a; do
32382 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32383 ac_find_libraries=$ac_dir
32389 if test "$ac_find_libraries" != "" ; then
32391 if test "$ac_find_libraries" = "default location"; then
32394 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32396 if test $result = 0; then
32399 ac_path_to_link=" -L$ac_find_libraries"
32403 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32404 LDFLAGS="$LDFLAGS $ac_path_to_link"
32406 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32407 { echo "$as_me:$LINENO: result: yes" >&5
32408 echo "${ECHO_T}yes" >&6; }
32410 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32411 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32414 for ac_dir in $SEARCH_LIB;
32416 for ac_extension in a so sl dylib dll.a; do
32417 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32418 ac_find_libraries=$ac_dir
32424 if test "$ac_find_libraries" != "" ; then
32425 { echo "$as_me:$LINENO: result: yes" >&5
32426 echo "${ECHO_T}yes" >&6; }
32428 for ac_header in X11/extensions/xf86vmode.h
32430 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32431 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32433 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32434 echo $ECHO_N "(cached) $ECHO_C" >&6
32436 cat >conftest.$ac_ext <<_ACEOF
32439 cat confdefs.h >>conftest.$ac_ext
32440 cat >>conftest.$ac_ext <<_ACEOF
32441 /* end confdefs.h. */
32443 #if HAVE_X11_XLIB_H
32444 #include <X11/Xlib.h>
32448 #include <$ac_header>
32450 rm -f conftest.$ac_objext
32451 if { (ac_try="$ac_compile"
32452 case "(($ac_try" in
32453 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32454 *) ac_try_echo
=$ac_try;;
32456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32457 (eval "$ac_compile") 2>conftest.er1
32459 grep -v '^ *+' conftest.er1
>conftest.err
32461 cat conftest.err
>&5
32462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32463 (exit $ac_status); } && {
32464 test -z "$ac_c_werror_flag" ||
32465 test ! -s conftest.err
32466 } && test -s conftest.
$ac_objext; then
32467 eval "$as_ac_Header=yes"
32469 echo "$as_me: failed program was:" >&5
32470 sed 's/^/| /' conftest.
$ac_ext >&5
32472 eval "$as_ac_Header=no"
32475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32477 ac_res
=`eval echo '${'$as_ac_Header'}'`
32478 { echo "$as_me:$LINENO: result: $ac_res" >&5
32479 echo "${ECHO_T}$ac_res" >&6; }
32480 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32481 cat >>confdefs.h
<<_ACEOF
32482 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32485 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32492 { echo "$as_me:$LINENO: result: no" >&5
32493 echo "${ECHO_T}no" >&6; }
32497 { echo "$as_me:$LINENO: result: no" >&5
32498 echo "${ECHO_T}no" >&6; }
32499 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32500 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32503 elif test "$wxUSE_MSW" = 1; then
32504 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32505 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32506 if test "${ac_cv_header_ddraw_h+set}" = set; then
32507 echo $ECHO_N "(cached) $ECHO_C" >&6
32509 cat >conftest.
$ac_ext <<_ACEOF
32512 cat confdefs.h
>>conftest.
$ac_ext
32513 cat >>conftest.
$ac_ext <<_ACEOF
32514 /* end confdefs.h. */
32515 #include <windows.h>
32519 rm -f conftest.
$ac_objext
32520 if { (ac_try
="$ac_compile"
32521 case "(($ac_try" in
32522 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32523 *) ac_try_echo=$ac_try;;
32525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32526 (eval "$ac_compile") 2>conftest.er1
32528 grep -v '^ *+' conftest.er1 >conftest.err
32530 cat conftest.err >&5
32531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32532 (exit $ac_status); } && {
32533 test -z "$ac_c_werror_flag" ||
32534 test ! -s conftest.err
32535 } && test -s conftest.$ac_objext; then
32536 ac_cv_header_ddraw_h=yes
32538 echo "$as_me: failed program was:" >&5
32539 sed 's/^/| /' conftest.$ac_ext >&5
32541 ac_cv_header_ddraw_h=no
32544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32546 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32547 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32553 if test "$wxUSE_DETECT_SM" = "yes"; then
32554 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32555 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32556 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32559 for ac_dir in $SEARCH_LIB;
32561 for ac_extension in a so sl dylib dll.a; do
32562 if test -f "$ac_dir/libSM.$ac_extension"; then
32563 ac_find_libraries=$ac_dir
32569 if test "$ac_find_libraries" != "" ; then
32571 if test "$ac_find_libraries" = "default location"; then
32574 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32576 if test $result = 0; then
32579 ac_path_to_link=" -L$ac_find_libraries"
32583 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32584 LDFLAGS="$LDFLAGS $ac_path_to_link"
32586 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32587 { echo "$as_me:$LINENO: result: yes" >&5
32588 echo "${ECHO_T}yes" >&6; }
32590 { echo "$as_me:$LINENO: result: no" >&5
32591 echo "${ECHO_T}no" >&6; }
32592 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32593 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32594 wxUSE_DETECT_SM="no"
32597 wxUSE_DETECT_SM="no"
32604 if test "$wxUSE_OPENGL" = "yes"; then
32605 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32606 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32607 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32609 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32610 OPENGL_LIBS="-framework OpenGL -framework AGL"
32611 elif test "$wxUSE_MSW" = 1; then
32612 OPENGL_LIBS="-lopengl32 -lglu32"
32614 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32615 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32618 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32620 if test -f "$ac_dir/GL/gl.h"; then
32621 ac_find_includes=$ac_dir
32626 if test "$ac_find_includes" != "" ; then
32627 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32628 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32630 if test "x$ac_find_includes" = "x/usr/include"; then
32631 ac_path_to_include=""
32633 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32635 if test $result = 0; then
32636 ac_path_to_include=""
32638 ac_path_to_include=" -I$ac_find_includes"
32642 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32644 { echo "$as_me:$LINENO: result: not found" >&5
32645 echo "${ECHO_T}not found" >&6; }
32648 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32649 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32650 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32651 echo $ECHO_N "(cached) $ECHO_C" >&6
32653 cat >conftest.$ac_ext <<_ACEOF
32656 cat confdefs.h >>conftest.$ac_ext
32657 cat >>conftest.$ac_ext <<_ACEOF
32658 /* end confdefs.h. */
32663 rm -f conftest.$ac_objext
32664 if { (ac_try="$ac_compile"
32665 case "(($ac_try" in
32666 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32667 *) ac_try_echo
=$ac_try;;
32669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32670 (eval "$ac_compile") 2>conftest.er1
32672 grep -v '^ *+' conftest.er1
>conftest.err
32674 cat conftest.err
>&5
32675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32676 (exit $ac_status); } && {
32677 test -z "$ac_c_werror_flag" ||
32678 test ! -s conftest.err
32679 } && test -s conftest.
$ac_objext; then
32680 ac_cv_header_GL_gl_h
=yes
32682 echo "$as_me: failed program was:" >&5
32683 sed 's/^/| /' conftest.
$ac_ext >&5
32685 ac_cv_header_GL_gl_h
=no
32688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32690 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32691 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32692 if test $ac_cv_header_GL_gl_h = yes; then
32694 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32695 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32696 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32697 echo $ECHO_N "(cached) $ECHO_C" >&6
32699 cat >conftest.
$ac_ext <<_ACEOF
32702 cat confdefs.h
>>conftest.
$ac_ext
32703 cat >>conftest.
$ac_ext <<_ACEOF
32704 /* end confdefs.h. */
32707 #include <GL/glu.h>
32709 rm -f conftest.
$ac_objext
32710 if { (ac_try
="$ac_compile"
32711 case "(($ac_try" in
32712 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32713 *) ac_try_echo=$ac_try;;
32715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32716 (eval "$ac_compile") 2>conftest.er1
32718 grep -v '^ *+' conftest.er1 >conftest.err
32720 cat conftest.err >&5
32721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32722 (exit $ac_status); } && {
32723 test -z "$ac_c_werror_flag" ||
32724 test ! -s conftest.err
32725 } && test -s conftest.$ac_objext; then
32726 ac_cv_header_GL_glu_h=yes
32728 echo "$as_me: failed program was:" >&5
32729 sed 's/^/| /' conftest.$ac_ext >&5
32731 ac_cv_header_GL_glu_h=no
32734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32736 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32737 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32738 if test $ac_cv_header_GL_glu_h = yes; then
32742 { echo "$as_me:$LINENO: checking for -lGL" >&5
32743 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32746 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32748 for ac_extension in a so sl dylib dll.a; do
32749 if test -f "$ac_dir/libGL.$ac_extension"; then
32750 ac_find_libraries=$ac_dir
32756 if test "$ac_find_libraries" != "" ; then
32757 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32758 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32761 if test "$ac_find_libraries" = "default location"; then
32764 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32766 if test $result = 0; then
32769 ac_path_to_link=" -L$ac_find_libraries"
32773 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32774 LDFLAGS_GL="$ac_path_to_link"
32777 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32778 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32781 for ac_dir in $SEARCH_LIB;
32783 for ac_extension in a so sl dylib dll.a; do
32784 if test -f "$ac_dir/libGLU.$ac_extension"; then
32785 ac_find_libraries=$ac_dir
32791 if test "$ac_find_libraries" != "" ; then
32793 if test "$ac_find_libraries" = "default location"; then
32796 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32798 if test $result = 0; then
32801 ac_path_to_link=" -L$ac_find_libraries"
32805 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32806 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32807 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32811 OPENGL_LIBS="-lGL -lGLU"
32812 { echo "$as_me:$LINENO: result: yes" >&5
32813 echo "${ECHO_T}yes" >&6; }
32815 { echo "$as_me:$LINENO: result: no" >&5
32816 echo "${ECHO_T}no" >&6; }
32819 { echo "$as_me:$LINENO: result: no" >&5
32820 echo "${ECHO_T}no" >&6; }
32823 if test "$found_gl" != 1; then
32824 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32825 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32828 for ac_dir in $SEARCH_LIB;
32830 for ac_extension in a so sl dylib dll.a; do
32831 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32832 ac_find_libraries=$ac_dir
32838 if test "$ac_find_libraries" != "" ; then
32840 if test "$ac_find_libraries" = "default location"; then
32843 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32845 if test $result = 0; then
32848 ac_path_to_link=" -L$ac_find_libraries"
32852 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32853 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32854 { echo "$as_me:$LINENO: result: yes" >&5
32855 echo "${ECHO_T}yes" >&6; }
32857 { echo "$as_me:$LINENO: result: no" >&5
32858 echo "${ECHO_T}no" >&6; }
32870 if test "x$OPENGL_LIBS" = "x"; then
32871 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32872 echo "$as_me: error: OpenGL libraries not available" >&2;}
32873 { (exit 1); exit 1; }; }
32877 if test "$wxUSE_OPENGL" = "yes"; then
32879 cat >>confdefs.h <<\_ACEOF
32880 #define wxUSE_OPENGL 1
32883 cat >>confdefs.h <<\_ACEOF
32884 #define wxUSE_GLCANVAS 1
32887 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32892 if test -n "$TOOLKIT" ; then
32893 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32898 if test "$wxUSE_SHARED" = "yes"; then
32902 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32903 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32908 if test "$wxUSE_SHARED" = "yes"; then
32912 *-*-cygwin* | *-*-mingw* )
32913 wx_cv_version_script=no
32917 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32918 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32919 if test "${wx_cv_version_script+set}" = set; then
32920 echo $ECHO_N "(cached) $ECHO_C" >&6
32923 echo "VER_1 { *; };" >conftest.sym
32924 echo "int main() { return 0; }" >conftest.cpp
32927 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32928 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32930 (eval $ac_try) 2>&5
32932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32933 (exit $ac_status); }; } ; then
32934 if test -s conftest.stderr ; then
32935 wx_cv_version_script=no
32937 wx_cv_version_script=yes
32940 wx_cv_version_script=no
32943 if test $wx_cv_version_script = yes
32945 echo "struct B { virtual ~B() { } }; \
32946 struct D : public B { }; \
32947 void F() { D d; }" > conftest.cpp
32950 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32951 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32953 (eval $ac_try) 2>&5
32955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32956 (exit $ac_status); }; } &&
32958 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32959 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32961 (eval $ac_try) 2>&5
32963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32964 (exit $ac_status); }; }
32967 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32968 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32970 (eval $ac_try) 2>&5
32972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32973 (exit $ac_status); }; }
32975 wx_cv_version_script=yes
32977 wx_cv_version_script=no
32982 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32983 rm -f conftest1.output conftest2.output conftest3.output
32986 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32987 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32989 if test $wx_cv_version_script = yes ; then
32990 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32996 if test "$wxUSE_VISIBILITY" != "no"; then
32999 if test -n "$GCC"; then
33000 CFLAGS_VISIBILITY="-fvisibility=hidden"
33001 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33002 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33003 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33004 if test "${wx_cv_cc_visibility+set}" = set; then
33005 echo $ECHO_N "(cached) $ECHO_C" >&6
33008 wx_save_CXXFLAGS="$CXXFLAGS"
33009 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33011 ac_cpp='$CXXCPP $CPPFLAGS'
33012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33016 cat >conftest.$ac_ext <<_ACEOF
33019 cat confdefs.h >>conftest.$ac_ext
33020 cat >>conftest.$ac_ext <<_ACEOF
33021 /* end confdefs.h. */
33023 /* we need gcc >= 4.0, older versions with visibility support
33024 didn't have class visibility: */
33025 #if defined(__GNUC__) && __GNUC__ < 4
33026 error this gcc is too old;
33029 /* visibility only makes sense for ELF shared libs: */
33030 #if !defined(__ELF__) && !defined(__APPLE__)
33031 error this platform has no visibility;
33034 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33035 extern __attribute__((__visibility__("default"))) int exportedvar;
33036 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33037 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33038 class __attribute__((__visibility__("default"))) Foo {
33050 rm -f conftest.$ac_objext
33051 if { (ac_try="$ac_compile"
33052 case "(($ac_try" in
33053 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33054 *) ac_try_echo
=$ac_try;;
33056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33057 (eval "$ac_compile") 2>conftest.er1
33059 grep -v '^ *+' conftest.er1
>conftest.err
33061 cat conftest.err
>&5
33062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33063 (exit $ac_status); } && {
33064 test -z "$ac_cxx_werror_flag" ||
33065 test ! -s conftest.err
33066 } && test -s conftest.
$ac_objext; then
33067 wx_cv_cc_visibility
=yes
33069 echo "$as_me: failed program was:" >&5
33070 sed 's/^/| /' conftest.
$ac_ext >&5
33072 wx_cv_cc_visibility
=no
33075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33077 ac_cpp
='$CPP $CPPFLAGS'
33078 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33079 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33080 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33082 CXXFLAGS
="$wx_save_CXXFLAGS"
33085 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33086 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33087 if test $wx_cv_cc_visibility = yes; then
33088 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33089 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33090 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33091 echo $ECHO_N "(cached) $ECHO_C" >&6
33094 wx_save_CXXFLAGS
="$CXXFLAGS"
33095 wx_save_LDFLAGS
="$LDFLAGS"
33096 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33097 LDFLAGS
="$LDFLAGS -shared -fPIC"
33099 ac_cpp
='$CXXCPP $CPPFLAGS'
33100 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33101 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33102 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33104 cat >conftest.
$ac_ext <<_ACEOF
33107 cat confdefs.h
>>conftest.
$ac_ext
33108 cat >>conftest.
$ac_ext <<_ACEOF
33109 /* end confdefs.h. */
33117 std::string s("hello");
33124 rm -f conftest.
$ac_objext conftest
$ac_exeext
33125 if { (ac_try
="$ac_link"
33126 case "(($ac_try" in
33127 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33128 *) ac_try_echo=$ac_try;;
33130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33131 (eval "$ac_link") 2>conftest.er1
33133 grep -v '^ *+' conftest.er1 >conftest.err
33135 cat conftest.err >&5
33136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33137 (exit $ac_status); } && {
33138 test -z "$ac_cxx_werror_flag" ||
33139 test ! -s conftest.err
33140 } && test -s conftest$ac_exeext &&
33141 $as_test_x conftest$ac_exeext; then
33142 wx_cv_cc_broken_libstdcxx_visibility=no
33144 echo "$as_me: failed program was:" >&5
33145 sed 's/^/| /' conftest.$ac_ext >&5
33147 wx_cv_cc_broken_libstdcxx_visibility=yes
33150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33151 conftest$ac_exeext conftest.$ac_ext
33153 ac_cpp='$CPP $CPPFLAGS'
33154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33158 CXXFLAGS="$wx_save_CXXFLAGS"
33159 LDFLAGS="$wx_save_LDFLAGS"
33162 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33163 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33165 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33166 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33167 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33168 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33169 echo $ECHO_N "(cached) $ECHO_C" >&6
33173 ac_cpp='$CXXCPP $CPPFLAGS'
33174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33178 cat >conftest.$ac_ext <<_ACEOF
33181 cat confdefs.h >>conftest.$ac_ext
33182 cat >>conftest.$ac_ext <<_ACEOF
33183 /* end confdefs.h. */
33185 #pragma GCC visibility push(default)
33187 #pragma GCC visibility pop
33193 std::string s("hello");
33200 rm -f conftest.$ac_objext conftest$ac_exeext
33201 if { (ac_try="$ac_link"
33202 case "(($ac_try" in
33203 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33204 *) ac_try_echo
=$ac_try;;
33206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33207 (eval "$ac_link") 2>conftest.er1
33209 grep -v '^ *+' conftest.er1
>conftest.err
33211 cat conftest.err
>&5
33212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33213 (exit $ac_status); } && {
33214 test -z "$ac_cxx_werror_flag" ||
33215 test ! -s conftest.err
33216 } && test -s conftest
$ac_exeext &&
33217 $as_test_x conftest
$ac_exeext; then
33218 wx_cv_cc_visibility_workaround
=no
33220 echo "$as_me: failed program was:" >&5
33221 sed 's/^/| /' conftest.
$ac_ext >&5
33223 wx_cv_cc_visibility_workaround
=yes
33226 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33227 conftest
$ac_exeext conftest.
$ac_ext
33229 ac_cpp
='$CPP $CPPFLAGS'
33230 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33231 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33232 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33237 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33238 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33240 if test $wx_cv_cc_visibility_workaround = no
; then
33241 wx_cv_cc_visibility
=no
33246 if test $wx_cv_cc_visibility = yes; then
33247 cat >>confdefs.h
<<\_ACEOF
33248 #define HAVE_VISIBILITY 1
33251 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33252 cat >>confdefs.h
<<\_ACEOF
33253 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33258 CFLAGS_VISIBILITY
=""
33259 CXXFLAGS_VISIBILITY
=""
33267 if test "x$SUNCXX" = xyes
; then
33268 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33269 WXCONFIG_RPATH
="-R\$libdir"
33272 *-*-linux* | *-*-gnu* )
33273 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33274 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33279 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33281 saveLdflags
="$LDFLAGS"
33282 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33283 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33284 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33285 cat >conftest.
$ac_ext <<_ACEOF
33288 cat confdefs.h
>>conftest.
$ac_ext
33289 cat >>conftest.
$ac_ext <<_ACEOF
33290 /* end confdefs.h. */
33300 rm -f conftest.
$ac_objext conftest
$ac_exeext
33301 if { (ac_try
="$ac_link"
33302 case "(($ac_try" in
33303 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33304 *) ac_try_echo=$ac_try;;
33306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33307 (eval "$ac_link") 2>conftest.er1
33309 grep -v '^ *+' conftest.er1 >conftest.err
33311 cat conftest.err >&5
33312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33313 (exit $ac_status); } && {
33314 test -z "$ac_c_werror_flag" ||
33315 test ! -s conftest.err
33316 } && test -s conftest$ac_exeext &&
33317 $as_test_x conftest$ac_exeext; then
33319 { echo "$as_me:$LINENO: result: yes" >&5
33320 echo "${ECHO_T}yes" >&6; }
33321 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33322 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33325 echo "$as_me: failed program was:" >&5
33326 sed 's/^/| /' conftest.$ac_ext >&5
33329 { echo "$as_me:$LINENO: result: no" >&5
33330 echo "${ECHO_T}no" >&6; }
33331 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33332 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33333 LDFLAGS="$saveLdflags -Wl,-R,/"
33334 cat >conftest.$ac_ext <<_ACEOF
33337 cat confdefs.h >>conftest.$ac_ext
33338 cat >>conftest.$ac_ext <<_ACEOF
33339 /* end confdefs.h. */
33349 rm -f conftest.$ac_objext conftest$ac_exeext
33350 if { (ac_try="$ac_link"
33351 case "(($ac_try" in
33352 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33353 *) ac_try_echo
=$ac_try;;
33355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33356 (eval "$ac_link") 2>conftest.er1
33358 grep -v '^ *+' conftest.er1
>conftest.err
33360 cat conftest.err
>&5
33361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33362 (exit $ac_status); } && {
33363 test -z "$ac_c_werror_flag" ||
33364 test ! -s conftest.err
33365 } && test -s conftest
$ac_exeext &&
33366 $as_test_x conftest
$ac_exeext; then
33368 { echo "$as_me:$LINENO: result: yes" >&5
33369 echo "${ECHO_T}yes" >&6; }
33370 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33371 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33374 echo "$as_me: failed program was:" >&5
33375 sed 's/^/| /' conftest.
$ac_ext >&5
33378 { echo "$as_me:$LINENO: result: no" >&5
33379 echo "${ECHO_T}no" >&6; }
33383 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33384 conftest
$ac_exeext conftest.
$ac_ext
33388 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33389 conftest
$ac_exeext conftest.
$ac_ext
33390 LDFLAGS
="$saveLdflags"
33394 install_name_tool
=`which install_name_tool`
33395 if test "$install_name_tool" -a -x "$install_name_tool"; then
33396 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33397 cat <<EOF >change-install-names
33399 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33400 inst_cmd="install_name_tool "
33401 for i in \${libnames} ; do
33402 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33406 chmod +x change
-install-names
33410 *-*-cygwin* | *-*-mingw32* )
33414 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33415 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33421 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33423 if test $wxUSE_RPATH = "no"; then
33424 SAMPLES_RPATH_FLAG
=''
33425 SAMPLES_RPATH_POSTLINK
=''
33433 config_linkage_component
="-static"
33440 lib_unicode_suffix
=
33442 if test "$wxUSE_UNICODE" = "yes"; then
33443 lib_unicode_suffix
=u
33444 WX_CHARTYPE
="unicode"
33449 WX_DEBUGTYPE
="release"
33451 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33453 WX_DEBUGTYPE
="debug"
33457 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33458 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33461 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33465 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33467 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33469 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33471 if test "$cross_compiling" = "yes"; then
33472 HOST_SUFFIX
="-$host_alias"
33473 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33474 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33477 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33478 if test "${TOOLKIT_DIR}" = "os2"; then
33479 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33481 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33486 if test "$wxUSE_COCOA" = 1; then
33489 ac_cpp
='$CPP $CPPFLAGS'
33490 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33491 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33492 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33496 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33497 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33498 cat >conftest.
$ac_ext <<_ACEOF
33501 cat confdefs.h
>>conftest.
$ac_ext
33502 cat >>conftest.
$ac_ext <<_ACEOF
33503 /* end confdefs.h. */
33504 #include <AppKit/NSEvent.h>
33505 #include <CoreFoundation/CoreFoundation.h>
33515 rm -f conftest.
$ac_objext
33516 if { (ac_try
="$ac_compile"
33517 case "(($ac_try" in
33518 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33519 *) ac_try_echo=$ac_try;;
33521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33522 (eval "$ac_compile") 2>conftest.er1
33524 grep -v '^ *+' conftest.er1 >conftest.err
33526 cat conftest.err >&5
33527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33528 (exit $ac_status); } && {
33529 test -z "$ac_c_werror_flag" ||
33530 test ! -s conftest.err
33531 } && test -s conftest.$ac_objext; then
33532 { echo "$as_me:$LINENO: result: no" >&5
33533 echo "${ECHO_T}no" >&6; }
33535 echo "$as_me: failed program was:" >&5
33536 sed 's/^/| /' conftest.$ac_ext >&5
33538 { echo "$as_me:$LINENO: result: yes" >&5
33539 echo "${ECHO_T}yes" >&6; }
33540 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33541 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33542 cat >conftest.$ac_ext <<_ACEOF
33545 cat confdefs.h >>conftest.$ac_ext
33546 cat >>conftest.$ac_ext <<_ACEOF
33547 /* end confdefs.h. */
33548 #define __Point__ 1
33549 #include <AppKit/NSEvent.h>
33550 #include <CoreFoundation/CoreFoundation.h>
33560 rm -f conftest.$ac_objext
33561 if { (ac_try="$ac_compile"
33562 case "(($ac_try" in
33563 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33564 *) ac_try_echo
=$ac_try;;
33566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33567 (eval "$ac_compile") 2>conftest.er1
33569 grep -v '^ *+' conftest.er1
>conftest.err
33571 cat conftest.err
>&5
33572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33573 (exit $ac_status); } && {
33574 test -z "$ac_c_werror_flag" ||
33575 test ! -s conftest.err
33576 } && test -s conftest.
$ac_objext; then
33577 { echo "$as_me:$LINENO: result: yes" >&5
33578 echo "${ECHO_T}yes" >&6; }
33579 cat >>confdefs.h
<<\_ACEOF
33580 #define __Point__ 1
33585 echo "$as_me: failed program was:" >&5
33586 sed 's/^/| /' conftest.
$ac_ext >&5
33588 { { echo "$as_me:$LINENO: error: no
33589 See \`config.log' for more details." >&5
33590 echo "$as_me: error: no
33591 See \`config.log' for more details." >&2;}
33592 { (exit 1); exit 1; }; }
33596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33602 ac_cpp
='$CPP $CPPFLAGS'
33603 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33604 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33605 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33610 { echo "$as_me:$LINENO: checking for mode_t" >&5
33611 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33612 if test "${ac_cv_type_mode_t+set}" = set; then
33613 echo $ECHO_N "(cached) $ECHO_C" >&6
33615 cat >conftest.
$ac_ext <<_ACEOF
33618 cat confdefs.h
>>conftest.
$ac_ext
33619 cat >>conftest.
$ac_ext <<_ACEOF
33620 /* end confdefs.h. */
33621 $ac_includes_default
33622 typedef mode_t ac__type_new_;
33626 if ((ac__type_new_ *) 0)
33628 if (sizeof (ac__type_new_))
33634 rm -f conftest.
$ac_objext
33635 if { (ac_try
="$ac_compile"
33636 case "(($ac_try" in
33637 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33638 *) ac_try_echo=$ac_try;;
33640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33641 (eval "$ac_compile") 2>conftest.er1
33643 grep -v '^ *+' conftest.er1 >conftest.err
33645 cat conftest.err >&5
33646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33647 (exit $ac_status); } && {
33648 test -z "$ac_c_werror_flag" ||
33649 test ! -s conftest.err
33650 } && test -s conftest.$ac_objext; then
33651 ac_cv_type_mode_t=yes
33653 echo "$as_me: failed program was:" >&5
33654 sed 's/^/| /' conftest.$ac_ext >&5
33656 ac_cv_type_mode_t=no
33659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33661 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33662 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33663 if test $ac_cv_type_mode_t = yes; then
33667 cat >>confdefs.h <<_ACEOF
33673 { echo "$as_me:$LINENO: checking for off_t" >&5
33674 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33675 if test "${ac_cv_type_off_t+set}" = set; then
33676 echo $ECHO_N "(cached) $ECHO_C" >&6
33678 cat >conftest.$ac_ext <<_ACEOF
33681 cat confdefs.h >>conftest.$ac_ext
33682 cat >>conftest.$ac_ext <<_ACEOF
33683 /* end confdefs.h. */
33684 $ac_includes_default
33685 typedef off_t ac__type_new_;
33689 if ((ac__type_new_ *) 0)
33691 if (sizeof (ac__type_new_))
33697 rm -f conftest.$ac_objext
33698 if { (ac_try="$ac_compile"
33699 case "(($ac_try" in
33700 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33701 *) ac_try_echo
=$ac_try;;
33703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33704 (eval "$ac_compile") 2>conftest.er1
33706 grep -v '^ *+' conftest.er1
>conftest.err
33708 cat conftest.err
>&5
33709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33710 (exit $ac_status); } && {
33711 test -z "$ac_c_werror_flag" ||
33712 test ! -s conftest.err
33713 } && test -s conftest.
$ac_objext; then
33714 ac_cv_type_off_t
=yes
33716 echo "$as_me: failed program was:" >&5
33717 sed 's/^/| /' conftest.
$ac_ext >&5
33719 ac_cv_type_off_t
=no
33722 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33724 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33725 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33726 if test $ac_cv_type_off_t = yes; then
33730 cat >>confdefs.h
<<_ACEOF
33731 #define off_t long int
33736 { echo "$as_me:$LINENO: checking for pid_t" >&5
33737 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33738 if test "${ac_cv_type_pid_t+set}" = set; then
33739 echo $ECHO_N "(cached) $ECHO_C" >&6
33741 cat >conftest.
$ac_ext <<_ACEOF
33744 cat confdefs.h
>>conftest.
$ac_ext
33745 cat >>conftest.
$ac_ext <<_ACEOF
33746 /* end confdefs.h. */
33747 $ac_includes_default
33748 typedef pid_t ac__type_new_;
33752 if ((ac__type_new_ *) 0)
33754 if (sizeof (ac__type_new_))
33760 rm -f conftest.
$ac_objext
33761 if { (ac_try
="$ac_compile"
33762 case "(($ac_try" in
33763 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33764 *) ac_try_echo=$ac_try;;
33766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33767 (eval "$ac_compile") 2>conftest.er1
33769 grep -v '^ *+' conftest.er1 >conftest.err
33771 cat conftest.err >&5
33772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33773 (exit $ac_status); } && {
33774 test -z "$ac_c_werror_flag" ||
33775 test ! -s conftest.err
33776 } && test -s conftest.$ac_objext; then
33777 ac_cv_type_pid_t=yes
33779 echo "$as_me: failed program was:" >&5
33780 sed 's/^/| /' conftest.$ac_ext >&5
33782 ac_cv_type_pid_t=no
33785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33787 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33788 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33789 if test $ac_cv_type_pid_t = yes; then
33793 cat >>confdefs.h <<_ACEOF
33799 { echo "$as_me:$LINENO: checking for size_t" >&5
33800 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33801 if test "${ac_cv_type_size_t+set}" = set; then
33802 echo $ECHO_N "(cached) $ECHO_C" >&6
33804 cat >conftest.$ac_ext <<_ACEOF
33807 cat confdefs.h >>conftest.$ac_ext
33808 cat >>conftest.$ac_ext <<_ACEOF
33809 /* end confdefs.h. */
33810 $ac_includes_default
33811 typedef size_t ac__type_new_;
33815 if ((ac__type_new_ *) 0)
33817 if (sizeof (ac__type_new_))
33823 rm -f conftest.$ac_objext
33824 if { (ac_try="$ac_compile"
33825 case "(($ac_try" in
33826 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33827 *) ac_try_echo
=$ac_try;;
33829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33830 (eval "$ac_compile") 2>conftest.er1
33832 grep -v '^ *+' conftest.er1
>conftest.err
33834 cat conftest.err
>&5
33835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33836 (exit $ac_status); } && {
33837 test -z "$ac_c_werror_flag" ||
33838 test ! -s conftest.err
33839 } && test -s conftest.
$ac_objext; then
33840 ac_cv_type_size_t
=yes
33842 echo "$as_me: failed program was:" >&5
33843 sed 's/^/| /' conftest.
$ac_ext >&5
33845 ac_cv_type_size_t
=no
33848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33850 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33851 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33852 if test $ac_cv_type_size_t = yes; then
33856 cat >>confdefs.h
<<_ACEOF
33857 #define size_t unsigned int
33863 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33864 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33865 if test "${ac_cv_type_ssize_t+set}" = set; then
33866 echo $ECHO_N "(cached) $ECHO_C" >&6
33868 cat >conftest.
$ac_ext <<_ACEOF
33871 cat confdefs.h
>>conftest.
$ac_ext
33872 cat >>conftest.
$ac_ext <<_ACEOF
33873 /* end confdefs.h. */
33874 $ac_includes_default
33875 typedef ssize_t ac__type_new_;
33879 if ((ac__type_new_ *) 0)
33881 if (sizeof (ac__type_new_))
33887 rm -f conftest.
$ac_objext
33888 if { (ac_try
="$ac_compile"
33889 case "(($ac_try" in
33890 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33891 *) ac_try_echo=$ac_try;;
33893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33894 (eval "$ac_compile") 2>conftest.er1
33896 grep -v '^ *+' conftest.er1 >conftest.err
33898 cat conftest.err >&5
33899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33900 (exit $ac_status); } && {
33901 test -z "$ac_c_werror_flag" ||
33902 test ! -s conftest.err
33903 } && test -s conftest.$ac_objext; then
33904 ac_cv_type_ssize_t=yes
33906 echo "$as_me: failed program was:" >&5
33907 sed 's/^/| /' conftest.$ac_ext >&5
33909 ac_cv_type_ssize_t=no
33912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33914 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33915 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33916 if test $ac_cv_type_ssize_t = yes; then
33918 cat >>confdefs.h <<_ACEOF
33919 #define HAVE_SSIZE_T 1
33927 ac_cpp='$CXXCPP $CPPFLAGS'
33928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33931 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33932 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33933 if test "${wx_cv_size_t_is_uint+set}" = set; then
33934 echo $ECHO_N "(cached) $ECHO_C" >&6
33937 cat >conftest.$ac_ext <<_ACEOF
33940 cat confdefs.h >>conftest.$ac_ext
33941 cat >>conftest.$ac_ext <<_ACEOF
33942 /* end confdefs.h. */
33943 #include <stddef.h>
33950 struct Foo { void foo(size_t); void foo(unsigned int); };
33958 rm -f conftest.$ac_objext
33959 if { (ac_try="$ac_compile"
33960 case "(($ac_try" in
33961 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33962 *) ac_try_echo
=$ac_try;;
33964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33965 (eval "$ac_compile") 2>conftest.er1
33967 grep -v '^ *+' conftest.er1
>conftest.err
33969 cat conftest.err
>&5
33970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33971 (exit $ac_status); } && {
33972 test -z "$ac_cxx_werror_flag" ||
33973 test ! -s conftest.err
33974 } && test -s conftest.
$ac_objext; then
33975 wx_cv_size_t_is_uint
=no
33977 echo "$as_me: failed program was:" >&5
33978 sed 's/^/| /' conftest.
$ac_ext >&5
33980 wx_cv_size_t_is_uint
=yes
33984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33988 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33989 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33991 if test "$wx_cv_size_t_is_uint" = "yes"; then
33992 cat >>confdefs.h
<<\_ACEOF
33993 #define wxSIZE_T_IS_UINT 1
33997 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33998 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33999 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34000 echo $ECHO_N "(cached) $ECHO_C" >&6
34002 cat >conftest.
$ac_ext <<_ACEOF
34005 cat confdefs.h
>>conftest.
$ac_ext
34006 cat >>conftest.
$ac_ext <<_ACEOF
34007 /* end confdefs.h. */
34008 #include <stddef.h>
34015 struct Foo { void foo(size_t); void foo(unsigned long); };
34023 rm -f conftest.
$ac_objext
34024 if { (ac_try
="$ac_compile"
34025 case "(($ac_try" in
34026 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34027 *) ac_try_echo=$ac_try;;
34029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34030 (eval "$ac_compile") 2>conftest.er1
34032 grep -v '^ *+' conftest.er1 >conftest.err
34034 cat conftest.err >&5
34035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34036 (exit $ac_status); } && {
34037 test -z "$ac_cxx_werror_flag" ||
34038 test ! -s conftest.err
34039 } && test -s conftest.$ac_objext; then
34040 wx_cv_size_t_is_ulong=no
34042 echo "$as_me: failed program was:" >&5
34043 sed 's/^/| /' conftest.$ac_ext >&5
34045 wx_cv_size_t_is_ulong=yes
34049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34052 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34053 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34055 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34056 cat >>confdefs.h <<\_ACEOF
34057 #define wxSIZE_T_IS_ULONG 1
34063 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34064 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34065 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34066 echo $ECHO_N "(cached) $ECHO_C" >&6
34068 cat >conftest.$ac_ext <<_ACEOF
34071 cat confdefs.h >>conftest.$ac_ext
34072 cat >>conftest.$ac_ext <<_ACEOF
34073 /* end confdefs.h. */
34081 struct Foo { void foo(wchar_t);
34082 void foo(unsigned short);
34083 void foo(unsigned int);
34084 void foo(unsigned long); };
34092 rm -f conftest.$ac_objext
34093 if { (ac_try="$ac_compile"
34094 case "(($ac_try" in
34095 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34096 *) ac_try_echo
=$ac_try;;
34098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34099 (eval "$ac_compile") 2>conftest.er1
34101 grep -v '^ *+' conftest.er1
>conftest.err
34103 cat conftest.err
>&5
34104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34105 (exit $ac_status); } && {
34106 test -z "$ac_cxx_werror_flag" ||
34107 test ! -s conftest.err
34108 } && test -s conftest.
$ac_objext; then
34109 wx_cv_wchar_t_is_separate_type
=yes
34111 echo "$as_me: failed program was:" >&5
34112 sed 's/^/| /' conftest.
$ac_ext >&5
34114 wx_cv_wchar_t_is_separate_type
=no
34118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34121 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34122 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34124 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34125 cat >>confdefs.h
<<\_ACEOF
34126 #define wxWCHAR_T_IS_REAL_TYPE 1
34130 cat >>confdefs.h
<<\_ACEOF
34131 #define wxWCHAR_T_IS_REAL_TYPE 0
34137 ac_cpp
='$CPP $CPPFLAGS'
34138 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34139 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34140 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34143 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34144 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34145 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34146 echo $ECHO_N "(cached) $ECHO_C" >&6
34149 cat >conftest.
$ac_ext <<_ACEOF
34152 cat confdefs.h
>>conftest.
$ac_ext
34153 cat >>conftest.
$ac_ext <<_ACEOF
34154 /* end confdefs.h. */
34168 rm -f conftest.
$ac_objext
34169 if { (ac_try
="$ac_compile"
34170 case "(($ac_try" in
34171 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34172 *) ac_try_echo=$ac_try;;
34174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34175 (eval "$ac_compile") 2>conftest.er1
34177 grep -v '^ *+' conftest.er1 >conftest.err
34179 cat conftest.err >&5
34180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34181 (exit $ac_status); } && {
34182 test -z "$ac_c_werror_flag" ||
34183 test ! -s conftest.err
34184 } && test -s conftest.$ac_objext; then
34186 wx_cv_struct_pw_gecos=yes
34189 echo "$as_me: failed program was:" >&5
34190 sed 's/^/| /' conftest.$ac_ext >&5
34193 wx_cv_struct_pw_gecos=no
34198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34202 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34203 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34205 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34206 cat >>confdefs.h <<\_ACEOF
34207 #define HAVE_PW_GECOS 1
34213 if test "$wxUSE_WCHAR_T" = "yes"; then
34214 cat >>confdefs.h <<\_ACEOF
34215 #define wxUSE_WCHAR_T 1
34222 for ac_func in wcslen
34224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34225 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34227 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34228 echo $ECHO_N "(cached) $ECHO_C" >&6
34230 cat >conftest.$ac_ext <<_ACEOF
34233 cat confdefs.h >>conftest.$ac_ext
34234 cat >>conftest.$ac_ext <<_ACEOF
34235 /* end confdefs.h. */
34236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34238 #define $ac_func innocuous_$ac_func
34240 /* System header to define __stub macros and hopefully few prototypes,
34241 which can conflict with char $ac_func (); below.
34242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34243 <limits.h> exists even on freestanding compilers. */
34246 # include <limits.h>
34248 # include <assert.h>
34253 /* Override any GCC internal prototype to avoid an error.
34254 Use char because int might match the return type of a GCC
34255 builtin and then its argument prototype would still apply. */
34260 /* The GNU C library defines this for functions which it implements
34261 to always fail with ENOSYS. Some functions are actually named
34262 something starting with __ and the normal name is an alias. */
34263 #if defined __stub_$ac_func || defined __stub___$ac_func
34270 return $ac_func ();
34275 rm -f conftest.$ac_objext conftest$ac_exeext
34276 if { (ac_try="$ac_link"
34277 case "(($ac_try" in
34278 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34279 *) ac_try_echo
=$ac_try;;
34281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34282 (eval "$ac_link") 2>conftest.er1
34284 grep -v '^ *+' conftest.er1
>conftest.err
34286 cat conftest.err
>&5
34287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34288 (exit $ac_status); } && {
34289 test -z "$ac_c_werror_flag" ||
34290 test ! -s conftest.err
34291 } && test -s conftest
$ac_exeext &&
34292 $as_test_x conftest
$ac_exeext; then
34293 eval "$as_ac_var=yes"
34295 echo "$as_me: failed program was:" >&5
34296 sed 's/^/| /' conftest.
$ac_ext >&5
34298 eval "$as_ac_var=no"
34301 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34302 conftest
$ac_exeext conftest.
$ac_ext
34304 ac_res
=`eval echo '${'$as_ac_var'}'`
34305 { echo "$as_me:$LINENO: result: $ac_res" >&5
34306 echo "${ECHO_T}$ac_res" >&6; }
34307 if test `eval echo '${'$as_ac_var'}'` = yes; then
34308 cat >>confdefs.h
<<_ACEOF
34309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34316 if test "$WCSLEN_FOUND" = 0; then
34317 if test "$TOOLKIT" = "MSW"; then
34318 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34319 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34320 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34321 echo $ECHO_N "(cached) $ECHO_C" >&6
34323 ac_check_lib_save_LIBS
=$LIBS
34324 LIBS
="-lmsvcrt $LIBS"
34325 cat >conftest.
$ac_ext <<_ACEOF
34328 cat confdefs.h
>>conftest.
$ac_ext
34329 cat >>conftest.
$ac_ext <<_ACEOF
34330 /* end confdefs.h. */
34332 /* Override any GCC internal prototype to avoid an error.
34333 Use char because int might match the return type of a GCC
34334 builtin and then its argument prototype would still apply. */
34347 rm -f conftest.
$ac_objext conftest
$ac_exeext
34348 if { (ac_try
="$ac_link"
34349 case "(($ac_try" in
34350 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34351 *) ac_try_echo=$ac_try;;
34353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34354 (eval "$ac_link") 2>conftest.er1
34356 grep -v '^ *+' conftest.er1 >conftest.err
34358 cat conftest.err >&5
34359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34360 (exit $ac_status); } && {
34361 test -z "$ac_c_werror_flag" ||
34362 test ! -s conftest.err
34363 } && test -s conftest$ac_exeext &&
34364 $as_test_x conftest$ac_exeext; then
34365 ac_cv_lib_msvcrt_wcslen=yes
34367 echo "$as_me: failed program was:" >&5
34368 sed 's/^/| /' conftest.$ac_ext >&5
34370 ac_cv_lib_msvcrt_wcslen=no
34373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34374 conftest$ac_exeext conftest.$ac_ext
34375 LIBS=$ac_check_lib_save_LIBS
34377 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34378 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34379 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34384 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34385 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34386 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34387 echo $ECHO_N "(cached) $ECHO_C" >&6
34389 ac_check_lib_save_LIBS=$LIBS
34391 cat >conftest.$ac_ext <<_ACEOF
34394 cat confdefs.h >>conftest.$ac_ext
34395 cat >>conftest.$ac_ext <<_ACEOF
34396 /* end confdefs.h. */
34398 /* Override any GCC internal prototype to avoid an error.
34399 Use char because int might match the return type of a GCC
34400 builtin and then its argument prototype would still apply. */
34413 rm -f conftest.$ac_objext conftest$ac_exeext
34414 if { (ac_try="$ac_link"
34415 case "(($ac_try" in
34416 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34417 *) ac_try_echo
=$ac_try;;
34419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34420 (eval "$ac_link") 2>conftest.er1
34422 grep -v '^ *+' conftest.er1
>conftest.err
34424 cat conftest.err
>&5
34425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34426 (exit $ac_status); } && {
34427 test -z "$ac_c_werror_flag" ||
34428 test ! -s conftest.err
34429 } && test -s conftest
$ac_exeext &&
34430 $as_test_x conftest
$ac_exeext; then
34431 ac_cv_lib_w_wcslen
=yes
34433 echo "$as_me: failed program was:" >&5
34434 sed 's/^/| /' conftest.
$ac_ext >&5
34436 ac_cv_lib_w_wcslen
=no
34439 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34440 conftest
$ac_exeext conftest.
$ac_ext
34441 LIBS
=$ac_check_lib_save_LIBS
34443 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34444 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34445 if test $ac_cv_lib_w_wcslen = yes; then
34455 if test "$WCSLEN_FOUND" = 1; then
34456 cat >>confdefs.h
<<\_ACEOF
34457 #define HAVE_WCSLEN 1
34463 for ac_func
in wcsdup
34465 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34466 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34468 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34469 echo $ECHO_N "(cached) $ECHO_C" >&6
34471 cat >conftest.
$ac_ext <<_ACEOF
34474 cat confdefs.h
>>conftest.
$ac_ext
34475 cat >>conftest.
$ac_ext <<_ACEOF
34476 /* end confdefs.h. */
34477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34479 #define $ac_func innocuous_$ac_func
34481 /* System header to define __stub macros and hopefully few prototypes,
34482 which can conflict with char $ac_func (); below.
34483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34484 <limits.h> exists even on freestanding compilers. */
34487 # include <limits.h>
34489 # include <assert.h>
34494 /* Override any GCC internal prototype to avoid an error.
34495 Use char because int might match the return type of a GCC
34496 builtin and then its argument prototype would still apply. */
34501 /* The GNU C library defines this for functions which it implements
34502 to always fail with ENOSYS. Some functions are actually named
34503 something starting with __ and the normal name is an alias. */
34504 #if defined __stub_$ac_func || defined __stub___$ac_func
34511 return $ac_func ();
34516 rm -f conftest.
$ac_objext conftest
$ac_exeext
34517 if { (ac_try
="$ac_link"
34518 case "(($ac_try" in
34519 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34520 *) ac_try_echo=$ac_try;;
34522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34523 (eval "$ac_link") 2>conftest.er1
34525 grep -v '^ *+' conftest.er1 >conftest.err
34527 cat conftest.err >&5
34528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34529 (exit $ac_status); } && {
34530 test -z "$ac_c_werror_flag" ||
34531 test ! -s conftest.err
34532 } && test -s conftest$ac_exeext &&
34533 $as_test_x conftest$ac_exeext; then
34534 eval "$as_ac_var=yes"
34536 echo "$as_me: failed program was:" >&5
34537 sed 's/^/| /' conftest.$ac_ext >&5
34539 eval "$as_ac_var=no"
34542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34543 conftest$ac_exeext conftest.$ac_ext
34545 ac_res=`eval echo '${'$as_ac_var'}'`
34546 { echo "$as_me:$LINENO: result: $ac_res" >&5
34547 echo "${ECHO_T}$ac_res" >&6; }
34548 if test `eval echo '${'$as_ac_var'}'` = yes; then
34549 cat >>confdefs.h <<_ACEOF
34550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34557 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34558 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34561 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34562 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34563 if test "${ac_cv_type_mbstate_t+set}" = set; then
34564 echo $ECHO_N "(cached) $ECHO_C" >&6
34566 cat >conftest.$ac_ext <<_ACEOF
34569 cat confdefs.h >>conftest.$ac_ext
34570 cat >>conftest.$ac_ext <<_ACEOF
34571 /* end confdefs.h. */
34574 typedef mbstate_t ac__type_new_;
34578 if ((ac__type_new_ *) 0)
34580 if (sizeof (ac__type_new_))
34586 rm -f conftest.$ac_objext
34587 if { (ac_try="$ac_compile"
34588 case "(($ac_try" in
34589 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34590 *) ac_try_echo
=$ac_try;;
34592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34593 (eval "$ac_compile") 2>conftest.er1
34595 grep -v '^ *+' conftest.er1
>conftest.err
34597 cat conftest.err
>&5
34598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34599 (exit $ac_status); } && {
34600 test -z "$ac_c_werror_flag" ||
34601 test ! -s conftest.err
34602 } && test -s conftest.
$ac_objext; then
34603 ac_cv_type_mbstate_t
=yes
34605 echo "$as_me: failed program was:" >&5
34606 sed 's/^/| /' conftest.
$ac_ext >&5
34608 ac_cv_type_mbstate_t
=no
34611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34613 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34614 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34615 if test $ac_cv_type_mbstate_t = yes; then
34617 cat >>confdefs.h
<<_ACEOF
34618 #define HAVE_MBSTATE_T 1
34622 for ac_func
in wcsrtombs
34624 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34625 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34627 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34628 echo $ECHO_N "(cached) $ECHO_C" >&6
34630 cat >conftest.
$ac_ext <<_ACEOF
34633 cat confdefs.h
>>conftest.
$ac_ext
34634 cat >>conftest.
$ac_ext <<_ACEOF
34635 /* end confdefs.h. */
34636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34638 #define $ac_func innocuous_$ac_func
34640 /* System header to define __stub macros and hopefully few prototypes,
34641 which can conflict with char $ac_func (); below.
34642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34643 <limits.h> exists even on freestanding compilers. */
34646 # include <limits.h>
34648 # include <assert.h>
34653 /* Override any GCC internal prototype to avoid an error.
34654 Use char because int might match the return type of a GCC
34655 builtin and then its argument prototype would still apply. */
34660 /* The GNU C library defines this for functions which it implements
34661 to always fail with ENOSYS. Some functions are actually named
34662 something starting with __ and the normal name is an alias. */
34663 #if defined __stub_$ac_func || defined __stub___$ac_func
34670 return $ac_func ();
34675 rm -f conftest.
$ac_objext conftest
$ac_exeext
34676 if { (ac_try
="$ac_link"
34677 case "(($ac_try" in
34678 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34679 *) ac_try_echo=$ac_try;;
34681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34682 (eval "$ac_link") 2>conftest.er1
34684 grep -v '^ *+' conftest.er1 >conftest.err
34686 cat conftest.err >&5
34687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34688 (exit $ac_status); } && {
34689 test -z "$ac_c_werror_flag" ||
34690 test ! -s conftest.err
34691 } && test -s conftest$ac_exeext &&
34692 $as_test_x conftest$ac_exeext; then
34693 eval "$as_ac_var=yes"
34695 echo "$as_me: failed program was:" >&5
34696 sed 's/^/| /' conftest.$ac_ext >&5
34698 eval "$as_ac_var=no"
34701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34702 conftest$ac_exeext conftest.$ac_ext
34704 ac_res=`eval echo '${'$as_ac_var'}'`
34705 { echo "$as_me:$LINENO: result: $ac_res" >&5
34706 echo "${ECHO_T}$ac_res" >&6; }
34707 if test `eval echo '${'$as_ac_var'}'` = yes; then
34708 cat >>confdefs.h <<_ACEOF
34709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34718 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34719 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34724 for ac_func in snprintf vsnprintf
34726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34727 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34729 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34730 echo $ECHO_N "(cached) $ECHO_C" >&6
34732 cat >conftest.$ac_ext <<_ACEOF
34735 cat confdefs.h >>conftest.$ac_ext
34736 cat >>conftest.$ac_ext <<_ACEOF
34737 /* end confdefs.h. */
34738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34740 #define $ac_func innocuous_$ac_func
34742 /* System header to define __stub macros and hopefully few prototypes,
34743 which can conflict with char $ac_func (); below.
34744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34745 <limits.h> exists even on freestanding compilers. */
34748 # include <limits.h>
34750 # include <assert.h>
34755 /* Override any GCC internal prototype to avoid an error.
34756 Use char because int might match the return type of a GCC
34757 builtin and then its argument prototype would still apply. */
34762 /* The GNU C library defines this for functions which it implements
34763 to always fail with ENOSYS. Some functions are actually named
34764 something starting with __ and the normal name is an alias. */
34765 #if defined __stub_$ac_func || defined __stub___$ac_func
34772 return $ac_func ();
34777 rm -f conftest.$ac_objext conftest$ac_exeext
34778 if { (ac_try="$ac_link"
34779 case "(($ac_try" in
34780 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34781 *) ac_try_echo
=$ac_try;;
34783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34784 (eval "$ac_link") 2>conftest.er1
34786 grep -v '^ *+' conftest.er1
>conftest.err
34788 cat conftest.err
>&5
34789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34790 (exit $ac_status); } && {
34791 test -z "$ac_c_werror_flag" ||
34792 test ! -s conftest.err
34793 } && test -s conftest
$ac_exeext &&
34794 $as_test_x conftest
$ac_exeext; then
34795 eval "$as_ac_var=yes"
34797 echo "$as_me: failed program was:" >&5
34798 sed 's/^/| /' conftest.
$ac_ext >&5
34800 eval "$as_ac_var=no"
34803 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34804 conftest
$ac_exeext conftest.
$ac_ext
34806 ac_res
=`eval echo '${'$as_ac_var'}'`
34807 { echo "$as_me:$LINENO: result: $ac_res" >&5
34808 echo "${ECHO_T}$ac_res" >&6; }
34809 if test `eval echo '${'$as_ac_var'}'` = yes; then
34810 cat >>confdefs.h
<<_ACEOF
34811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34818 if test "$ac_cv_func_vsnprintf" = "yes"; then
34819 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34820 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34821 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34822 echo $ECHO_N "(cached) $ECHO_C" >&6
34825 cat >conftest.
$ac_ext <<_ACEOF
34828 cat confdefs.h
>>conftest.
$ac_ext
34829 cat >>conftest.
$ac_ext <<_ACEOF
34830 /* end confdefs.h. */
34833 #include <stdarg.h>
34835 #if __MSL__ >= 0x6000
34837 using namespace std;
34847 vsnprintf(buf, 10u, "%s", ap);
34853 rm -f conftest.
$ac_objext
34854 if { (ac_try
="$ac_compile"
34855 case "(($ac_try" in
34856 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34857 *) ac_try_echo=$ac_try;;
34859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34860 (eval "$ac_compile") 2>conftest.er1
34862 grep -v '^ *+' conftest.er1 >conftest.err
34864 cat conftest.err >&5
34865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34866 (exit $ac_status); } && {
34867 test -z "$ac_c_werror_flag" ||
34868 test ! -s conftest.err
34869 } && test -s conftest.$ac_objext; then
34870 wx_cv_func_vsnprintf_decl=yes
34872 echo "$as_me: failed program was:" >&5
34873 sed 's/^/| /' conftest.$ac_ext >&5
34875 wx_cv_func_vsnprintf_decl=no
34879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34883 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34884 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34886 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34887 cat >>confdefs.h <<\_ACEOF
34888 #define HAVE_VSNPRINTF_DECL 1
34892 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34893 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34894 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34895 echo $ECHO_N "(cached) $ECHO_C" >&6
34898 cat >conftest.$ac_ext <<_ACEOF
34901 cat confdefs.h >>conftest.$ac_ext
34902 cat >>conftest.$ac_ext <<_ACEOF
34903 /* end confdefs.h. */
34906 #include <stdarg.h>
34908 #if __MSL__ >= 0x6000
34910 using namespace std;
34920 const char *fmt = "%s";
34921 vsnprintf(buf, 10u, fmt, ap);
34927 rm -f conftest.$ac_objext
34928 if { (ac_try="$ac_compile"
34929 case "(($ac_try" in
34930 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34931 *) ac_try_echo
=$ac_try;;
34933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34934 (eval "$ac_compile") 2>conftest.er1
34936 grep -v '^ *+' conftest.er1
>conftest.err
34938 cat conftest.err
>&5
34939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34940 (exit $ac_status); } && {
34941 test -z "$ac_c_werror_flag" ||
34942 test ! -s conftest.err
34943 } && test -s conftest.
$ac_objext; then
34944 wx_cv_func_broken_vsnprintf_decl
=no
34946 echo "$as_me: failed program was:" >&5
34947 sed 's/^/| /' conftest.
$ac_ext >&5
34949 wx_cv_func_broken_vsnprintf_decl
=yes
34953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34957 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34958 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34960 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34961 cat >>confdefs.h
<<\_ACEOF
34962 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34969 if test "$ac_cv_func_snprintf" = "yes"; then
34970 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34971 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34972 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34973 echo $ECHO_N "(cached) $ECHO_C" >&6
34976 cat >conftest.
$ac_ext <<_ACEOF
34979 cat confdefs.h
>>conftest.
$ac_ext
34980 cat >>conftest.
$ac_ext <<_ACEOF
34981 /* end confdefs.h. */
34984 #include <stdarg.h>
34986 #if __MSL__ >= 0x6000
34988 using namespace std;
34997 snprintf(buf, 10u, "%s", "wx");
35003 rm -f conftest.
$ac_objext
35004 if { (ac_try
="$ac_compile"
35005 case "(($ac_try" in
35006 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35007 *) ac_try_echo=$ac_try;;
35009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35010 (eval "$ac_compile") 2>conftest.er1
35012 grep -v '^ *+' conftest.er1 >conftest.err
35014 cat conftest.err >&5
35015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35016 (exit $ac_status); } && {
35017 test -z "$ac_c_werror_flag" ||
35018 test ! -s conftest.err
35019 } && test -s conftest.$ac_objext; then
35020 wx_cv_func_snprintf_decl=yes
35022 echo "$as_me: failed program was:" >&5
35023 sed 's/^/| /' conftest.$ac_ext >&5
35025 wx_cv_func_snprintf_decl=no
35029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35033 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35034 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35036 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35037 cat >>confdefs.h <<\_ACEOF
35038 #define HAVE_SNPRINTF_DECL 1
35043 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35045 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35046 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35047 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35048 echo $ECHO_N "(cached) $ECHO_C" >&6
35051 if test "$cross_compiling" = yes; then
35053 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35054 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35055 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35056 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35057 wx_cv_func_snprintf_pos_params=no
35061 cat >conftest.$ac_ext <<_ACEOF
35064 cat confdefs.h >>conftest.$ac_ext
35065 cat >>conftest.$ac_ext <<_ACEOF
35066 /* end confdefs.h. */
35073 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35074 if (strcmp ("2 3 1", buffer) == 0)
35080 rm -f conftest$ac_exeext
35081 if { (ac_try="$ac_link"
35082 case "(($ac_try" in
35083 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35084 *) ac_try_echo
=$ac_try;;
35086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35087 (eval "$ac_link") 2>&5
35089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35090 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35091 { (case "(($ac_try" in
35092 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35093 *) ac_try_echo=$ac_try;;
35095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35096 (eval "$ac_try") 2>&5
35098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35099 (exit $ac_status); }; }; then
35100 wx_cv_func_snprintf_pos_params=no
35102 echo "$as_me: program exited with status $ac_status" >&5
35103 echo "$as_me: failed program was:" >&5
35104 sed 's/^/| /' conftest.$ac_ext >&5
35106 ( exit $ac_status )
35107 wx_cv_func_snprintf_pos_params=yes
35109 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35116 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35117 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35119 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35120 cat >>confdefs.h <<\_ACEOF
35121 #define HAVE_UNIX98_PRINTF 1
35128 if test "$wxUSE_UNICODE" = yes; then
35130 wchar_headers="#include <stdio.h>
35131 #include <wchar.h>"
35135 for ac_header in widec.h
35137 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35138 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35140 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35141 echo $ECHO_N "(cached) $ECHO_C" >&6
35143 cat >conftest.$ac_ext <<_ACEOF
35146 cat confdefs.h >>conftest.$ac_ext
35147 cat >>conftest.$ac_ext <<_ACEOF
35148 /* end confdefs.h. */
35149 $ac_includes_default
35151 #include <$ac_header>
35153 rm -f conftest.$ac_objext
35154 if { (ac_try="$ac_compile"
35155 case "(($ac_try" in
35156 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35157 *) ac_try_echo
=$ac_try;;
35159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35160 (eval "$ac_compile") 2>conftest.er1
35162 grep -v '^ *+' conftest.er1
>conftest.err
35164 cat conftest.err
>&5
35165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35166 (exit $ac_status); } && {
35167 test -z "$ac_c_werror_flag" ||
35168 test ! -s conftest.err
35169 } && test -s conftest.
$ac_objext; then
35170 eval "$as_ac_Header=yes"
35172 echo "$as_me: failed program was:" >&5
35173 sed 's/^/| /' conftest.
$ac_ext >&5
35175 eval "$as_ac_Header=no"
35178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35180 ac_res
=`eval echo '${'$as_ac_Header'}'`
35181 { echo "$as_me:$LINENO: result: $ac_res" >&5
35182 echo "${ECHO_T}$ac_res" >&6; }
35183 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35184 cat >>confdefs.h
<<_ACEOF
35185 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35192 if test "$ac_cv_header_widec_h" = "yes"; then
35193 wchar_headers
="$wchar_headers
35194 #include <widec.h>"
35199 for wx_func
in putws fputws wprintf vswprintf
35201 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35202 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35203 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35204 echo $ECHO_N "(cached) $ECHO_C" >&6
35207 cat >conftest.
$ac_ext <<_ACEOF
35211 cat confdefs.h
>>conftest.
$ac_ext
35212 cat >>conftest.
$ac_ext <<_ACEOF
35213 /* end confdefs.h. */
35216 $ac_includes_default
35232 rm -f conftest.
$ac_objext conftest
$ac_exeext
35233 if { (ac_try
="$ac_link"
35234 case "(($ac_try" in
35235 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35236 *) ac_try_echo=$ac_try;;
35238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35239 (eval "$ac_link") 2>conftest.er1
35241 grep -v '^ *+' conftest.er1 >conftest.err
35243 cat conftest.err >&5
35244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35245 (exit $ac_status); } && {
35246 test -z "$ac_c_werror_flag" ||
35247 test ! -s conftest.err
35248 } && test -s conftest$ac_exeext &&
35249 $as_test_x conftest$ac_exeext; then
35250 eval wx_cv_func_$wx_func=yes
35252 echo "$as_me: failed program was:" >&5
35253 sed 's/^/| /' conftest.$ac_ext >&5
35255 eval wx_cv_func_$wx_func=no
35258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35259 conftest$ac_exeext conftest.$ac_ext
35262 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35263 { echo "$as_me:$LINENO: result: $ac_res" >&5
35264 echo "${ECHO_T}$ac_res" >&6; }
35266 if eval test \$wx_cv_func_$wx_func = yes
35268 cat >>confdefs.h <<_ACEOF
35269 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35280 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35281 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35282 cat >conftest.$ac_ext <<_ACEOF
35285 cat confdefs.h >>conftest.$ac_ext
35286 cat >>conftest.$ac_ext <<_ACEOF
35287 /* end confdefs.h. */
35297 rm -f conftest.$ac_objext
35298 if { (ac_try="$ac_compile"
35299 case "(($ac_try" in
35300 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35301 *) ac_try_echo
=$ac_try;;
35303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35304 (eval "$ac_compile") 2>conftest.er1
35306 grep -v '^ *+' conftest.er1
>conftest.err
35308 cat conftest.err
>&5
35309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35310 (exit $ac_status); } && {
35311 test -z "$ac_c_werror_flag" ||
35312 test ! -s conftest.err
35313 } && test -s conftest.
$ac_objext; then
35314 { echo "$as_me:$LINENO: result: yes" >&5
35315 echo "${ECHO_T}yes" >&6; }
35316 cat >>confdefs.h
<<\_ACEOF
35317 #define HAVE__VSNWPRINTF 1
35321 echo "$as_me: failed program was:" >&5
35322 sed 's/^/| /' conftest.
$ac_ext >&5
35324 { echo "$as_me:$LINENO: result: no" >&5
35325 echo "${ECHO_T}no" >&6; }
35328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
35331 if test "$wxUSE_FILE" = "yes"; then
35333 for wx_func
in fsync
35335 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35336 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35337 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35338 echo $ECHO_N "(cached) $ECHO_C" >&6
35341 cat >conftest.
$ac_ext <<_ACEOF
35345 cat confdefs.h
>>conftest.
$ac_ext
35346 cat >>conftest.
$ac_ext <<_ACEOF
35347 /* end confdefs.h. */
35350 $ac_includes_default
35366 rm -f conftest.
$ac_objext conftest
$ac_exeext
35367 if { (ac_try
="$ac_link"
35368 case "(($ac_try" in
35369 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35370 *) ac_try_echo=$ac_try;;
35372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35373 (eval "$ac_link") 2>conftest.er1
35375 grep -v '^ *+' conftest.er1 >conftest.err
35377 cat conftest.err >&5
35378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35379 (exit $ac_status); } && {
35380 test -z "$ac_c_werror_flag" ||
35381 test ! -s conftest.err
35382 } && test -s conftest$ac_exeext &&
35383 $as_test_x conftest$ac_exeext; then
35384 eval wx_cv_func_$wx_func=yes
35386 echo "$as_me: failed program was:" >&5
35387 sed 's/^/| /' conftest.$ac_ext >&5
35389 eval wx_cv_func_$wx_func=no
35392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35393 conftest$ac_exeext conftest.$ac_ext
35396 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35397 { echo "$as_me:$LINENO: result: $ac_res" >&5
35398 echo "${ECHO_T}$ac_res" >&6; }
35400 if eval test \$wx_cv_func_$wx_func = yes
35402 cat >>confdefs.h <<_ACEOF
35403 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35416 ac_cpp='$CXXCPP $CPPFLAGS'
35417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35422 for wx_func in round
35424 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35425 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35426 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35427 echo $ECHO_N "(cached) $ECHO_C" >&6
35430 cat >conftest.$ac_ext <<_ACEOF
35434 cat confdefs.h >>conftest.$ac_ext
35435 cat >>conftest.$ac_ext <<_ACEOF
35436 /* end confdefs.h. */
35439 $ac_includes_default
35455 rm -f conftest.$ac_objext conftest$ac_exeext
35456 if { (ac_try="$ac_link"
35457 case "(($ac_try" in
35458 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35459 *) ac_try_echo
=$ac_try;;
35461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35462 (eval "$ac_link") 2>conftest.er1
35464 grep -v '^ *+' conftest.er1
>conftest.err
35466 cat conftest.err
>&5
35467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35468 (exit $ac_status); } && {
35469 test -z "$ac_cxx_werror_flag" ||
35470 test ! -s conftest.err
35471 } && test -s conftest
$ac_exeext &&
35472 $as_test_x conftest
$ac_exeext; then
35473 eval wx_cv_func_
$wx_func=yes
35475 echo "$as_me: failed program was:" >&5
35476 sed 's/^/| /' conftest.
$ac_ext >&5
35478 eval wx_cv_func_
$wx_func=no
35481 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35482 conftest
$ac_exeext conftest.
$ac_ext
35485 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35486 { echo "$as_me:$LINENO: result: $ac_res" >&5
35487 echo "${ECHO_T}$ac_res" >&6; }
35489 if eval test \
$wx_cv_func_$wx_func = yes
35491 cat >>confdefs.h
<<_ACEOF
35492 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35503 ac_cpp
='$CPP $CPPFLAGS'
35504 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35505 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35506 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35509 if test "$TOOLKIT" != "MSW"; then
35515 # Check whether --with-libiconv-prefix was given.
35516 if test "${with_libiconv_prefix+set}" = set; then
35517 withval
=$with_libiconv_prefix;
35518 for dir
in `echo "$withval" | tr : ' '`; do
35519 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
35520 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
35526 { echo "$as_me:$LINENO: checking for iconv" >&5
35527 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35528 if test "${am_cv_func_iconv+set}" = set; then
35529 echo $ECHO_N "(cached) $ECHO_C" >&6
35532 am_cv_func_iconv
="no, consider installing GNU libiconv"
35534 cat >conftest.
$ac_ext <<_ACEOF
35537 cat confdefs.h
>>conftest.
$ac_ext
35538 cat >>conftest.
$ac_ext <<_ACEOF
35539 /* end confdefs.h. */
35540 #include <stdlib.h>
35545 iconv_t cd = iconv_open("","");
35546 iconv(cd,NULL,NULL,NULL,NULL);
35552 rm -f conftest.
$ac_objext conftest
$ac_exeext
35553 if { (ac_try
="$ac_link"
35554 case "(($ac_try" in
35555 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35556 *) ac_try_echo=$ac_try;;
35558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35559 (eval "$ac_link") 2>conftest.er1
35561 grep -v '^ *+' conftest.er1 >conftest.err
35563 cat conftest.err >&5
35564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35565 (exit $ac_status); } && {
35566 test -z "$ac_c_werror_flag" ||
35567 test ! -s conftest.err
35568 } && test -s conftest$ac_exeext &&
35569 $as_test_x conftest$ac_exeext; then
35570 am_cv_func_iconv=yes
35572 echo "$as_me: failed program was:" >&5
35573 sed 's/^/| /' conftest.$ac_ext >&5
35578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35579 conftest$ac_exeext conftest.$ac_ext
35580 if test "$am_cv_func_iconv" != yes; then
35581 am_save_LIBS="$LIBS"
35582 LIBS="$LIBS -liconv"
35583 cat >conftest.$ac_ext <<_ACEOF
35586 cat confdefs.h >>conftest.$ac_ext
35587 cat >>conftest.$ac_ext <<_ACEOF
35588 /* end confdefs.h. */
35589 #include <stdlib.h>
35594 iconv_t cd = iconv_open("","");
35595 iconv(cd,NULL,NULL,NULL,NULL);
35601 rm -f conftest.$ac_objext conftest$ac_exeext
35602 if { (ac_try="$ac_link"
35603 case "(($ac_try" in
35604 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35605 *) ac_try_echo
=$ac_try;;
35607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35608 (eval "$ac_link") 2>conftest.er1
35610 grep -v '^ *+' conftest.er1
>conftest.err
35612 cat conftest.err
>&5
35613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35614 (exit $ac_status); } && {
35615 test -z "$ac_c_werror_flag" ||
35616 test ! -s conftest.err
35617 } && test -s conftest
$ac_exeext &&
35618 $as_test_x conftest
$ac_exeext; then
35619 am_cv_lib_iconv
=yes
35620 am_cv_func_iconv
=yes
35622 echo "$as_me: failed program was:" >&5
35623 sed 's/^/| /' conftest.
$ac_ext >&5
35628 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35629 conftest
$ac_exeext conftest.
$ac_ext
35630 LIBS
="$am_save_LIBS"
35634 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35635 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35636 if test "$am_cv_func_iconv" = yes; then
35638 cat >>confdefs.h
<<\_ACEOF
35639 #define HAVE_ICONV 1
35642 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35643 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35644 if test "${wx_cv_func_iconv_const+set}" = set; then
35645 echo $ECHO_N "(cached) $ECHO_C" >&6
35647 cat >conftest.
$ac_ext <<_ACEOF
35650 cat confdefs.h
>>conftest.
$ac_ext
35651 cat >>conftest.
$ac_ext <<_ACEOF
35652 /* end confdefs.h. */
35654 #include <stdlib.h>
35660 #if defined(__STDC__) || defined(__cplusplus)
35661 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35674 rm -f conftest.
$ac_objext
35675 if { (ac_try
="$ac_compile"
35676 case "(($ac_try" in
35677 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35678 *) ac_try_echo=$ac_try;;
35680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35681 (eval "$ac_compile") 2>conftest.er1
35683 grep -v '^ *+' conftest.er1 >conftest.err
35685 cat conftest.err >&5
35686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35687 (exit $ac_status); } && {
35688 test -z "$ac_c_werror_flag" ||
35689 test ! -s conftest.err
35690 } && test -s conftest.$ac_objext; then
35691 wx_cv_func_iconv_const="no"
35693 echo "$as_me: failed program was:" >&5
35694 sed 's/^/| /' conftest.$ac_ext >&5
35696 wx_cv_func_iconv_const="yes"
35700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35703 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35704 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35707 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35708 iconv_const="const"
35712 cat >>confdefs.h <<_ACEOF
35713 #define ICONV_CONST $iconv_const
35718 if test "$am_cv_lib_iconv" = yes; then
35723 LIBS="$LIBICONV $LIBS"
35725 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35727 for ac_func in sigaction
35729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35730 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35732 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35733 echo $ECHO_N "(cached) $ECHO_C" >&6
35735 cat >conftest.$ac_ext <<_ACEOF
35738 cat confdefs.h >>conftest.$ac_ext
35739 cat >>conftest.$ac_ext <<_ACEOF
35740 /* end confdefs.h. */
35741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35743 #define $ac_func innocuous_$ac_func
35745 /* System header to define __stub macros and hopefully few prototypes,
35746 which can conflict with char $ac_func (); below.
35747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35748 <limits.h> exists even on freestanding compilers. */
35751 # include <limits.h>
35753 # include <assert.h>
35758 /* Override any GCC internal prototype to avoid an error.
35759 Use char because int might match the return type of a GCC
35760 builtin and then its argument prototype would still apply. */
35765 /* The GNU C library defines this for functions which it implements
35766 to always fail with ENOSYS. Some functions are actually named
35767 something starting with __ and the normal name is an alias. */
35768 #if defined __stub_$ac_func || defined __stub___$ac_func
35775 return $ac_func ();
35780 rm -f conftest.$ac_objext conftest$ac_exeext
35781 if { (ac_try="$ac_link"
35782 case "(($ac_try" in
35783 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35784 *) ac_try_echo
=$ac_try;;
35786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35787 (eval "$ac_link") 2>conftest.er1
35789 grep -v '^ *+' conftest.er1
>conftest.err
35791 cat conftest.err
>&5
35792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35793 (exit $ac_status); } && {
35794 test -z "$ac_c_werror_flag" ||
35795 test ! -s conftest.err
35796 } && test -s conftest
$ac_exeext &&
35797 $as_test_x conftest
$ac_exeext; then
35798 eval "$as_ac_var=yes"
35800 echo "$as_me: failed program was:" >&5
35801 sed 's/^/| /' conftest.
$ac_ext >&5
35803 eval "$as_ac_var=no"
35806 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35807 conftest
$ac_exeext conftest.
$ac_ext
35809 ac_res
=`eval echo '${'$as_ac_var'}'`
35810 { echo "$as_me:$LINENO: result: $ac_res" >&5
35811 echo "${ECHO_T}$ac_res" >&6; }
35812 if test `eval echo '${'$as_ac_var'}'` = yes; then
35813 cat >>confdefs.h
<<_ACEOF
35814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35821 if test "$ac_cv_func_sigaction" = "no"; then
35822 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35823 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35824 wxUSE_ON_FATAL_EXCEPTION
=no
35827 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35828 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35829 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35830 if test "${wx_cv_type_sa_handler+set}" = set; then
35831 echo $ECHO_N "(cached) $ECHO_C" >&6
35835 ac_cpp
='$CXXCPP $CPPFLAGS'
35836 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35837 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35838 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35840 cat >conftest.
$ac_ext <<_ACEOF
35843 cat confdefs.h
>>conftest.
$ac_ext
35844 cat >>conftest.
$ac_ext <<_ACEOF
35845 /* end confdefs.h. */
35846 #include <signal.h>
35851 extern void testSigHandler(int);
35853 struct sigaction sa;
35854 sa.sa_handler = testSigHandler;
35860 rm -f conftest.
$ac_objext
35861 if { (ac_try
="$ac_compile"
35862 case "(($ac_try" in
35863 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35864 *) ac_try_echo=$ac_try;;
35866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35867 (eval "$ac_compile") 2>conftest.er1
35869 grep -v '^ *+' conftest.er1 >conftest.err
35871 cat conftest.err >&5
35872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35873 (exit $ac_status); } && {
35874 test -z "$ac_cxx_werror_flag" ||
35875 test ! -s conftest.err
35876 } && test -s conftest.$ac_objext; then
35878 wx_cv_type_sa_handler=int
35881 echo "$as_me: failed program was:" >&5
35882 sed 's/^/| /' conftest.$ac_ext >&5
35885 wx_cv_type_sa_handler=void
35889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35891 ac_cpp='$CPP $CPPFLAGS'
35892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35898 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35899 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35901 cat >>confdefs.h <<_ACEOF
35902 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35908 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35909 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35910 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35911 if test "${wx_cv_func_backtrace+set}" = set; then
35912 echo $ECHO_N "(cached) $ECHO_C" >&6
35916 ac_cpp='$CXXCPP $CPPFLAGS'
35917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35921 cat >conftest.$ac_ext <<_ACEOF
35924 cat confdefs.h >>conftest.$ac_ext
35925 cat >>conftest.$ac_ext <<_ACEOF
35926 /* end confdefs.h. */
35927 #include <execinfo.h>
35935 backtrace(trace, 1);
35936 messages = backtrace_symbols(trace, 1);
35942 rm -f conftest.$ac_objext
35943 if { (ac_try="$ac_compile"
35944 case "(($ac_try" in
35945 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35946 *) ac_try_echo
=$ac_try;;
35948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35949 (eval "$ac_compile") 2>conftest.er1
35951 grep -v '^ *+' conftest.er1
>conftest.err
35953 cat conftest.err
>&5
35954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35955 (exit $ac_status); } && {
35956 test -z "$ac_cxx_werror_flag" ||
35957 test ! -s conftest.err
35958 } && test -s conftest.
$ac_objext; then
35959 wx_cv_func_backtrace
=yes
35961 echo "$as_me: failed program was:" >&5
35962 sed 's/^/| /' conftest.
$ac_ext >&5
35964 wx_cv_func_backtrace
=no
35968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35970 ac_cpp
='$CPP $CPPFLAGS'
35971 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35972 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35973 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35978 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35979 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35982 if test "$wx_cv_func_backtrace" = "no"; then
35983 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35984 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35985 wxUSE_STACKWALKER
=no
35987 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35988 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35989 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35990 echo $ECHO_N "(cached) $ECHO_C" >&6
35994 ac_cpp
='$CXXCPP $CPPFLAGS'
35995 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35996 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35997 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35999 cat >conftest.
$ac_ext <<_ACEOF
36002 cat confdefs.h
>>conftest.
$ac_ext
36003 cat >>conftest.
$ac_ext <<_ACEOF
36004 /* end confdefs.h. */
36005 #include <cxxabi.h>
36011 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36017 rm -f conftest.
$ac_objext conftest
$ac_exeext
36018 if { (ac_try
="$ac_link"
36019 case "(($ac_try" in
36020 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36021 *) ac_try_echo=$ac_try;;
36023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36024 (eval "$ac_link") 2>conftest.er1
36026 grep -v '^ *+' conftest.er1 >conftest.err
36028 cat conftest.err >&5
36029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36030 (exit $ac_status); } && {
36031 test -z "$ac_cxx_werror_flag" ||
36032 test ! -s conftest.err
36033 } && test -s conftest$ac_exeext &&
36034 $as_test_x conftest$ac_exeext; then
36035 wx_cv_func_cxa_demangle=yes
36037 echo "$as_me: failed program was:" >&5
36038 sed 's/^/| /' conftest.$ac_ext >&5
36040 wx_cv_func_cxa_demangle=no
36044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36045 conftest$ac_exeext conftest.$ac_ext
36047 ac_cpp='$CPP $CPPFLAGS'
36048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36055 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36056 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36058 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36059 cat >>confdefs.h <<\_ACEOF
36060 #define HAVE_CXA_DEMANGLE 1
36067 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36068 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36069 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36070 wxUSE_STACKWALKER=no
36076 for ac_func in mkstemp mktemp
36078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36079 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36081 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36082 echo $ECHO_N "(cached) $ECHO_C" >&6
36084 cat >conftest.$ac_ext <<_ACEOF
36087 cat confdefs.h >>conftest.$ac_ext
36088 cat >>conftest.$ac_ext <<_ACEOF
36089 /* end confdefs.h. */
36090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36092 #define $ac_func innocuous_$ac_func
36094 /* System header to define __stub macros and hopefully few prototypes,
36095 which can conflict with char $ac_func (); below.
36096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36097 <limits.h> exists even on freestanding compilers. */
36100 # include <limits.h>
36102 # include <assert.h>
36107 /* Override any GCC internal prototype to avoid an error.
36108 Use char because int might match the return type of a GCC
36109 builtin and then its argument prototype would still apply. */
36114 /* The GNU C library defines this for functions which it implements
36115 to always fail with ENOSYS. Some functions are actually named
36116 something starting with __ and the normal name is an alias. */
36117 #if defined __stub_$ac_func || defined __stub___$ac_func
36124 return $ac_func ();
36129 rm -f conftest.$ac_objext conftest$ac_exeext
36130 if { (ac_try="$ac_link"
36131 case "(($ac_try" in
36132 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36133 *) ac_try_echo
=$ac_try;;
36135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36136 (eval "$ac_link") 2>conftest.er1
36138 grep -v '^ *+' conftest.er1
>conftest.err
36140 cat conftest.err
>&5
36141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36142 (exit $ac_status); } && {
36143 test -z "$ac_c_werror_flag" ||
36144 test ! -s conftest.err
36145 } && test -s conftest
$ac_exeext &&
36146 $as_test_x conftest
$ac_exeext; then
36147 eval "$as_ac_var=yes"
36149 echo "$as_me: failed program was:" >&5
36150 sed 's/^/| /' conftest.
$ac_ext >&5
36152 eval "$as_ac_var=no"
36155 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36156 conftest
$ac_exeext conftest.
$ac_ext
36158 ac_res
=`eval echo '${'$as_ac_var'}'`
36159 { echo "$as_me:$LINENO: result: $ac_res" >&5
36160 echo "${ECHO_T}$ac_res" >&6; }
36161 if test `eval echo '${'$as_ac_var'}'` = yes; then
36162 cat >>confdefs.h
<<_ACEOF
36163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36170 { echo "$as_me:$LINENO: checking for statfs" >&5
36171 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36172 if test "${wx_cv_func_statfs+set}" = set; then
36173 echo $ECHO_N "(cached) $ECHO_C" >&6
36175 cat >conftest.
$ac_ext <<_ACEOF
36178 cat confdefs.h
>>conftest.
$ac_ext
36179 cat >>conftest.
$ac_ext <<_ACEOF
36180 /* end confdefs.h. */
36182 #if defined(__BSD__)
36183 #include <sys/param.h>
36184 #include <sys/mount.h>
36186 #include <sys/vfs.h>
36204 rm -f conftest.
$ac_objext
36205 if { (ac_try
="$ac_compile"
36206 case "(($ac_try" in
36207 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36208 *) ac_try_echo=$ac_try;;
36210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36211 (eval "$ac_compile") 2>conftest.er1
36213 grep -v '^ *+' conftest.er1 >conftest.err
36215 cat conftest.err >&5
36216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36217 (exit $ac_status); } && {
36218 test -z "$ac_c_werror_flag" ||
36219 test ! -s conftest.err
36220 } && test -s conftest.$ac_objext; then
36221 wx_cv_func_statfs=yes
36223 echo "$as_me: failed program was:" >&5
36224 sed 's/^/| /' conftest.$ac_ext >&5
36226 wx_cv_func_statfs=no
36230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36233 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36234 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36236 if test "$wx_cv_func_statfs" = "yes"; then
36237 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36238 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36239 if test "${wx_cv_func_statfs_decl+set}" = set; then
36240 echo $ECHO_N "(cached) $ECHO_C" >&6
36243 ac_cpp='$CXXCPP $CPPFLAGS'
36244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36248 cat >conftest.$ac_ext <<_ACEOF
36251 cat confdefs.h >>conftest.$ac_ext
36252 cat >>conftest.$ac_ext <<_ACEOF
36253 /* end confdefs.h. */
36255 #if defined(__BSD__)
36256 #include <sys/param.h>
36257 #include <sys/mount.h>
36259 #include <sys/vfs.h>
36273 rm -f conftest.$ac_objext
36274 if { (ac_try="$ac_compile"
36275 case "(($ac_try" in
36276 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36277 *) ac_try_echo
=$ac_try;;
36279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36280 (eval "$ac_compile") 2>conftest.er1
36282 grep -v '^ *+' conftest.er1
>conftest.err
36284 cat conftest.err
>&5
36285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36286 (exit $ac_status); } && {
36287 test -z "$ac_cxx_werror_flag" ||
36288 test ! -s conftest.err
36289 } && test -s conftest.
$ac_objext; then
36290 wx_cv_func_statfs_decl
=yes
36292 echo "$as_me: failed program was:" >&5
36293 sed 's/^/| /' conftest.
$ac_ext >&5
36295 wx_cv_func_statfs_decl
=no
36299 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36301 ac_cpp
='$CPP $CPPFLAGS'
36302 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36303 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36304 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36308 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36309 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36311 if test "$wx_cv_func_statfs_decl" = "yes"; then
36312 cat >>confdefs.h
<<\_ACEOF
36313 #define HAVE_STATFS_DECL 1
36318 wx_cv_type_statvfs_t
="struct statfs"
36319 cat >>confdefs.h
<<\_ACEOF
36320 #define HAVE_STATFS 1
36324 { echo "$as_me:$LINENO: checking for statvfs" >&5
36325 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36326 if test "${wx_cv_func_statvfs+set}" = set; then
36327 echo $ECHO_N "(cached) $ECHO_C" >&6
36329 cat >conftest.
$ac_ext <<_ACEOF
36332 cat confdefs.h
>>conftest.
$ac_ext
36333 cat >>conftest.
$ac_ext <<_ACEOF
36334 /* end confdefs.h. */
36336 #include <stddef.h>
36337 #include <sys/statvfs.h>
36343 statvfs("/", NULL);
36349 rm -f conftest.
$ac_objext
36350 if { (ac_try
="$ac_compile"
36351 case "(($ac_try" in
36352 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36353 *) ac_try_echo=$ac_try;;
36355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36356 (eval "$ac_compile") 2>conftest.er1
36358 grep -v '^ *+' conftest.er1 >conftest.err
36360 cat conftest.err >&5
36361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36362 (exit $ac_status); } && {
36363 test -z "$ac_c_werror_flag" ||
36364 test ! -s conftest.err
36365 } && test -s conftest.$ac_objext; then
36366 wx_cv_func_statvfs=yes
36368 echo "$as_me: failed program was:" >&5
36369 sed 's/^/| /' conftest.$ac_ext >&5
36371 wx_cv_func_statvfs=no
36375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36378 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36379 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36381 if test "$wx_cv_func_statvfs" = "yes"; then
36382 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36383 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36384 if test "${wx_cv_type_statvfs_t+set}" = set; then
36385 echo $ECHO_N "(cached) $ECHO_C" >&6
36388 ac_cpp='$CXXCPP $CPPFLAGS'
36389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36393 cat >conftest.$ac_ext <<_ACEOF
36396 cat confdefs.h >>conftest.$ac_ext
36397 cat >>conftest.$ac_ext <<_ACEOF
36398 /* end confdefs.h. */
36400 #include <sys/statvfs.h>
36417 rm -f conftest.$ac_objext
36418 if { (ac_try="$ac_compile"
36419 case "(($ac_try" in
36420 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36421 *) ac_try_echo
=$ac_try;;
36423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36424 (eval "$ac_compile") 2>conftest.er1
36426 grep -v '^ *+' conftest.er1
>conftest.err
36428 cat conftest.err
>&5
36429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36430 (exit $ac_status); } && {
36431 test -z "$ac_cxx_werror_flag" ||
36432 test ! -s conftest.err
36433 } && test -s conftest.
$ac_objext; then
36434 wx_cv_type_statvfs_t
=statvfs_t
36436 echo "$as_me: failed program was:" >&5
36437 sed 's/^/| /' conftest.
$ac_ext >&5
36440 cat >conftest.
$ac_ext <<_ACEOF
36443 cat confdefs.h
>>conftest.
$ac_ext
36444 cat >>conftest.
$ac_ext <<_ACEOF
36445 /* end confdefs.h. */
36447 #include <sys/statvfs.h>
36464 rm -f conftest.
$ac_objext
36465 if { (ac_try
="$ac_compile"
36466 case "(($ac_try" in
36467 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36468 *) ac_try_echo=$ac_try;;
36470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36471 (eval "$ac_compile") 2>conftest.er1
36473 grep -v '^ *+' conftest.er1 >conftest.err
36475 cat conftest.err >&5
36476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36477 (exit $ac_status); } && {
36478 test -z "$ac_cxx_werror_flag" ||
36479 test ! -s conftest.err
36480 } && test -s conftest.$ac_objext; then
36481 wx_cv_type_statvfs_t="struct statvfs"
36483 echo "$as_me: failed program was:" >&5
36484 sed 's/^/| /' conftest.$ac_ext >&5
36486 wx_cv_type_statvfs_t="unknown"
36490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36497 ac_cpp='$CPP $CPPFLAGS'
36498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36504 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36505 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36507 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36508 cat >>confdefs.h <<\_ACEOF
36509 #define HAVE_STATVFS 1
36514 wx_cv_type_statvfs_t="unknown"
36518 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36519 cat >>confdefs.h <<_ACEOF
36520 #define WX_STATFS_T $wx_cv_type_statvfs_t
36524 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36525 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36528 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36531 for ac_func in fcntl flock
36533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36534 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36536 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36537 echo $ECHO_N "(cached) $ECHO_C" >&6
36539 cat >conftest.$ac_ext <<_ACEOF
36542 cat confdefs.h >>conftest.$ac_ext
36543 cat >>conftest.$ac_ext <<_ACEOF
36544 /* end confdefs.h. */
36545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36547 #define $ac_func innocuous_$ac_func
36549 /* System header to define __stub macros and hopefully few prototypes,
36550 which can conflict with char $ac_func (); below.
36551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36552 <limits.h> exists even on freestanding compilers. */
36555 # include <limits.h>
36557 # include <assert.h>
36562 /* Override any GCC internal prototype to avoid an error.
36563 Use char because int might match the return type of a GCC
36564 builtin and then its argument prototype would still apply. */
36569 /* The GNU C library defines this for functions which it implements
36570 to always fail with ENOSYS. Some functions are actually named
36571 something starting with __ and the normal name is an alias. */
36572 #if defined __stub_$ac_func || defined __stub___$ac_func
36579 return $ac_func ();
36584 rm -f conftest.$ac_objext conftest$ac_exeext
36585 if { (ac_try="$ac_link"
36586 case "(($ac_try" in
36587 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36588 *) ac_try_echo
=$ac_try;;
36590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36591 (eval "$ac_link") 2>conftest.er1
36593 grep -v '^ *+' conftest.er1
>conftest.err
36595 cat conftest.err
>&5
36596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36597 (exit $ac_status); } && {
36598 test -z "$ac_c_werror_flag" ||
36599 test ! -s conftest.err
36600 } && test -s conftest
$ac_exeext &&
36601 $as_test_x conftest
$ac_exeext; then
36602 eval "$as_ac_var=yes"
36604 echo "$as_me: failed program was:" >&5
36605 sed 's/^/| /' conftest.
$ac_ext >&5
36607 eval "$as_ac_var=no"
36610 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36611 conftest
$ac_exeext conftest.
$ac_ext
36613 ac_res
=`eval echo '${'$as_ac_var'}'`
36614 { echo "$as_me:$LINENO: result: $ac_res" >&5
36615 echo "${ECHO_T}$ac_res" >&6; }
36616 if test `eval echo '${'$as_ac_var'}'` = yes; then
36617 cat >>confdefs.h
<<_ACEOF
36618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36625 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36626 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36627 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36628 wxUSE_SNGLINST_CHECKER
=no
36634 for ac_func
in setenv putenv
36636 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36637 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36639 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36640 echo $ECHO_N "(cached) $ECHO_C" >&6
36642 cat >conftest.
$ac_ext <<_ACEOF
36645 cat confdefs.h
>>conftest.
$ac_ext
36646 cat >>conftest.
$ac_ext <<_ACEOF
36647 /* end confdefs.h. */
36648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36650 #define $ac_func innocuous_$ac_func
36652 /* System header to define __stub macros and hopefully few prototypes,
36653 which can conflict with char $ac_func (); below.
36654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36655 <limits.h> exists even on freestanding compilers. */
36658 # include <limits.h>
36660 # include <assert.h>
36665 /* Override any GCC internal prototype to avoid an error.
36666 Use char because int might match the return type of a GCC
36667 builtin and then its argument prototype would still apply. */
36672 /* The GNU C library defines this for functions which it implements
36673 to always fail with ENOSYS. Some functions are actually named
36674 something starting with __ and the normal name is an alias. */
36675 #if defined __stub_$ac_func || defined __stub___$ac_func
36682 return $ac_func ();
36687 rm -f conftest.
$ac_objext conftest
$ac_exeext
36688 if { (ac_try
="$ac_link"
36689 case "(($ac_try" in
36690 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36691 *) ac_try_echo=$ac_try;;
36693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36694 (eval "$ac_link") 2>conftest.er1
36696 grep -v '^ *+' conftest.er1 >conftest.err
36698 cat conftest.err >&5
36699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36700 (exit $ac_status); } && {
36701 test -z "$ac_c_werror_flag" ||
36702 test ! -s conftest.err
36703 } && test -s conftest$ac_exeext &&
36704 $as_test_x conftest$ac_exeext; then
36705 eval "$as_ac_var=yes"
36707 echo "$as_me: failed program was:" >&5
36708 sed 's/^/| /' conftest.$ac_ext >&5
36710 eval "$as_ac_var=no"
36713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36714 conftest$ac_exeext conftest.$ac_ext
36716 ac_res=`eval echo '${'$as_ac_var'}'`
36717 { echo "$as_me:$LINENO: result: $ac_res" >&5
36718 echo "${ECHO_T}$ac_res" >&6; }
36719 if test `eval echo '${'$as_ac_var'}'` = yes; then
36720 cat >>confdefs.h <<_ACEOF
36721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36727 if test "$ac_cv_func_setenv" = "yes"; then
36729 for ac_func in unsetenv
36731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36732 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36734 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36735 echo $ECHO_N "(cached) $ECHO_C" >&6
36737 cat >conftest.$ac_ext <<_ACEOF
36740 cat confdefs.h >>conftest.$ac_ext
36741 cat >>conftest.$ac_ext <<_ACEOF
36742 /* end confdefs.h. */
36743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36745 #define $ac_func innocuous_$ac_func
36747 /* System header to define __stub macros and hopefully few prototypes,
36748 which can conflict with char $ac_func (); below.
36749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36750 <limits.h> exists even on freestanding compilers. */
36753 # include <limits.h>
36755 # include <assert.h>
36760 /* Override any GCC internal prototype to avoid an error.
36761 Use char because int might match the return type of a GCC
36762 builtin and then its argument prototype would still apply. */
36767 /* The GNU C library defines this for functions which it implements
36768 to always fail with ENOSYS. Some functions are actually named
36769 something starting with __ and the normal name is an alias. */
36770 #if defined __stub_$ac_func || defined __stub___$ac_func
36777 return $ac_func ();
36782 rm -f conftest.$ac_objext conftest$ac_exeext
36783 if { (ac_try="$ac_link"
36784 case "(($ac_try" in
36785 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36786 *) ac_try_echo
=$ac_try;;
36788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36789 (eval "$ac_link") 2>conftest.er1
36791 grep -v '^ *+' conftest.er1
>conftest.err
36793 cat conftest.err
>&5
36794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36795 (exit $ac_status); } && {
36796 test -z "$ac_c_werror_flag" ||
36797 test ! -s conftest.err
36798 } && test -s conftest
$ac_exeext &&
36799 $as_test_x conftest
$ac_exeext; then
36800 eval "$as_ac_var=yes"
36802 echo "$as_me: failed program was:" >&5
36803 sed 's/^/| /' conftest.
$ac_ext >&5
36805 eval "$as_ac_var=no"
36808 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36809 conftest
$ac_exeext conftest.
$ac_ext
36811 ac_res
=`eval echo '${'$as_ac_var'}'`
36812 { echo "$as_me:$LINENO: result: $ac_res" >&5
36813 echo "${ECHO_T}$ac_res" >&6; }
36814 if test `eval echo '${'$as_ac_var'}'` = yes; then
36815 cat >>confdefs.h
<<_ACEOF
36816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36824 HAVE_SOME_SLEEP_FUNC
=0
36825 if test "$USE_BEOS" = 1; then
36826 cat >>confdefs.h
<<\_ACEOF
36827 #define HAVE_SLEEP 1
36830 HAVE_SOME_SLEEP_FUNC
=1
36833 if test "$USE_DARWIN" = 1; then
36834 cat >>confdefs.h
<<\_ACEOF
36835 #define HAVE_USLEEP 1
36838 HAVE_SOME_SLEEP_FUNC
=1
36841 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36844 for ac_func
in nanosleep
36846 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36847 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36849 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36850 echo $ECHO_N "(cached) $ECHO_C" >&6
36852 cat >conftest.
$ac_ext <<_ACEOF
36855 cat confdefs.h
>>conftest.
$ac_ext
36856 cat >>conftest.
$ac_ext <<_ACEOF
36857 /* end confdefs.h. */
36858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36860 #define $ac_func innocuous_$ac_func
36862 /* System header to define __stub macros and hopefully few prototypes,
36863 which can conflict with char $ac_func (); below.
36864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36865 <limits.h> exists even on freestanding compilers. */
36868 # include <limits.h>
36870 # include <assert.h>
36875 /* Override any GCC internal prototype to avoid an error.
36876 Use char because int might match the return type of a GCC
36877 builtin and then its argument prototype would still apply. */
36882 /* The GNU C library defines this for functions which it implements
36883 to always fail with ENOSYS. Some functions are actually named
36884 something starting with __ and the normal name is an alias. */
36885 #if defined __stub_$ac_func || defined __stub___$ac_func
36892 return $ac_func ();
36897 rm -f conftest.
$ac_objext conftest
$ac_exeext
36898 if { (ac_try
="$ac_link"
36899 case "(($ac_try" in
36900 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36901 *) ac_try_echo=$ac_try;;
36903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36904 (eval "$ac_link") 2>conftest.er1
36906 grep -v '^ *+' conftest.er1 >conftest.err
36908 cat conftest.err >&5
36909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36910 (exit $ac_status); } && {
36911 test -z "$ac_c_werror_flag" ||
36912 test ! -s conftest.err
36913 } && test -s conftest$ac_exeext &&
36914 $as_test_x conftest$ac_exeext; then
36915 eval "$as_ac_var=yes"
36917 echo "$as_me: failed program was:" >&5
36918 sed 's/^/| /' conftest.$ac_ext >&5
36920 eval "$as_ac_var=no"
36923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36924 conftest$ac_exeext conftest.$ac_ext
36926 ac_res=`eval echo '${'$as_ac_var'}'`
36927 { echo "$as_me:$LINENO: result: $ac_res" >&5
36928 echo "${ECHO_T}$ac_res" >&6; }
36929 if test `eval echo '${'$as_ac_var'}'` = yes; then
36930 cat >>confdefs.h <<_ACEOF
36931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36933 cat >>confdefs.h <<\_ACEOF
36934 #define HAVE_NANOSLEEP 1
36939 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36940 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36941 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36942 echo $ECHO_N "(cached) $ECHO_C" >&6
36944 ac_check_lib_save_LIBS=$LIBS
36945 LIBS="-lposix4 $LIBS"
36946 cat >conftest.$ac_ext <<_ACEOF
36949 cat confdefs.h >>conftest.$ac_ext
36950 cat >>conftest.$ac_ext <<_ACEOF
36951 /* end confdefs.h. */
36953 /* Override any GCC internal prototype to avoid an error.
36954 Use char because int might match the return type of a GCC
36955 builtin and then its argument prototype would still apply. */
36963 return nanosleep ();
36968 rm -f conftest.$ac_objext conftest$ac_exeext
36969 if { (ac_try="$ac_link"
36970 case "(($ac_try" in
36971 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36972 *) ac_try_echo
=$ac_try;;
36974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36975 (eval "$ac_link") 2>conftest.er1
36977 grep -v '^ *+' conftest.er1
>conftest.err
36979 cat conftest.err
>&5
36980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36981 (exit $ac_status); } && {
36982 test -z "$ac_c_werror_flag" ||
36983 test ! -s conftest.err
36984 } && test -s conftest
$ac_exeext &&
36985 $as_test_x conftest
$ac_exeext; then
36986 ac_cv_lib_posix4_nanosleep
=yes
36988 echo "$as_me: failed program was:" >&5
36989 sed 's/^/| /' conftest.
$ac_ext >&5
36991 ac_cv_lib_posix4_nanosleep
=no
36994 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36995 conftest
$ac_exeext conftest.
$ac_ext
36996 LIBS
=$ac_check_lib_save_LIBS
36998 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36999 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37000 if test $ac_cv_lib_posix4_nanosleep = yes; then
37002 cat >>confdefs.h
<<\_ACEOF
37003 #define HAVE_NANOSLEEP 1
37006 POSIX4_LINK
=" -lposix4"
37011 for wx_func
in usleep
37013 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37014 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37015 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37016 echo $ECHO_N "(cached) $ECHO_C" >&6
37019 cat >conftest.
$ac_ext <<_ACEOF
37023 cat confdefs.h
>>conftest.
$ac_ext
37024 cat >>conftest.
$ac_ext <<_ACEOF
37025 /* end confdefs.h. */
37028 $ac_includes_default
37044 rm -f conftest.
$ac_objext conftest
$ac_exeext
37045 if { (ac_try
="$ac_link"
37046 case "(($ac_try" in
37047 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37048 *) ac_try_echo=$ac_try;;
37050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37051 (eval "$ac_link") 2>conftest.er1
37053 grep -v '^ *+' conftest.er1 >conftest.err
37055 cat conftest.err >&5
37056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37057 (exit $ac_status); } && {
37058 test -z "$ac_c_werror_flag" ||
37059 test ! -s conftest.err
37060 } && test -s conftest$ac_exeext &&
37061 $as_test_x conftest$ac_exeext; then
37062 eval wx_cv_func_$wx_func=yes
37064 echo "$as_me: failed program was:" >&5
37065 sed 's/^/| /' conftest.$ac_ext >&5
37067 eval wx_cv_func_$wx_func=no
37070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37071 conftest$ac_exeext conftest.$ac_ext
37074 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37075 { echo "$as_me:$LINENO: result: $ac_res" >&5
37076 echo "${ECHO_T}$ac_res" >&6; }
37078 if eval test \$wx_cv_func_$wx_func = yes
37080 cat >>confdefs.h <<_ACEOF
37081 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37087 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37088 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37105 for wx_func in uname
37107 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37108 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37109 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37110 echo $ECHO_N "(cached) $ECHO_C" >&6
37113 cat >conftest.$ac_ext <<_ACEOF
37117 cat confdefs.h >>conftest.$ac_ext
37118 cat >>conftest.$ac_ext <<_ACEOF
37119 /* end confdefs.h. */
37121 #include <sys/utsname.h>
37122 $ac_includes_default
37138 rm -f conftest.$ac_objext conftest$ac_exeext
37139 if { (ac_try="$ac_link"
37140 case "(($ac_try" in
37141 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37142 *) ac_try_echo
=$ac_try;;
37144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37145 (eval "$ac_link") 2>conftest.er1
37147 grep -v '^ *+' conftest.er1
>conftest.err
37149 cat conftest.err
>&5
37150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37151 (exit $ac_status); } && {
37152 test -z "$ac_c_werror_flag" ||
37153 test ! -s conftest.err
37154 } && test -s conftest
$ac_exeext &&
37155 $as_test_x conftest
$ac_exeext; then
37156 eval wx_cv_func_
$wx_func=yes
37158 echo "$as_me: failed program was:" >&5
37159 sed 's/^/| /' conftest.
$ac_ext >&5
37161 eval wx_cv_func_
$wx_func=no
37164 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37165 conftest
$ac_exeext conftest.
$ac_ext
37168 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37169 { echo "$as_me:$LINENO: result: $ac_res" >&5
37170 echo "${ECHO_T}$ac_res" >&6; }
37172 if eval test \
$wx_cv_func_$wx_func = yes
37174 cat >>confdefs.h
<<_ACEOF
37175 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37185 if test "$wx_cv_func_uname" != yes; then
37187 for wx_func
in gethostname
37189 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37190 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37191 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37192 echo $ECHO_N "(cached) $ECHO_C" >&6
37195 cat >conftest.
$ac_ext <<_ACEOF
37199 cat confdefs.h
>>conftest.
$ac_ext
37200 cat >>conftest.
$ac_ext <<_ACEOF
37201 /* end confdefs.h. */
37204 $ac_includes_default
37220 rm -f conftest.
$ac_objext conftest
$ac_exeext
37221 if { (ac_try
="$ac_link"
37222 case "(($ac_try" in
37223 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37224 *) ac_try_echo=$ac_try;;
37226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37227 (eval "$ac_link") 2>conftest.er1
37229 grep -v '^ *+' conftest.er1 >conftest.err
37231 cat conftest.err >&5
37232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37233 (exit $ac_status); } && {
37234 test -z "$ac_c_werror_flag" ||
37235 test ! -s conftest.err
37236 } && test -s conftest$ac_exeext &&
37237 $as_test_x conftest$ac_exeext; then
37238 eval wx_cv_func_$wx_func=yes
37240 echo "$as_me: failed program was:" >&5
37241 sed 's/^/| /' conftest.$ac_ext >&5
37243 eval wx_cv_func_$wx_func=no
37246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37247 conftest$ac_exeext conftest.$ac_ext
37250 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37251 { echo "$as_me:$LINENO: result: $ac_res" >&5
37252 echo "${ECHO_T}$ac_res" >&6; }
37254 if eval test \$wx_cv_func_$wx_func = yes
37256 cat >>confdefs.h <<_ACEOF
37257 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37270 for wx_func in strtok_r
37272 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37273 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37274 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37275 echo $ECHO_N "(cached) $ECHO_C" >&6
37278 cat >conftest.$ac_ext <<_ACEOF
37282 cat confdefs.h >>conftest.$ac_ext
37283 cat >>conftest.$ac_ext <<_ACEOF
37284 /* end confdefs.h. */
37287 $ac_includes_default
37303 rm -f conftest.$ac_objext conftest$ac_exeext
37304 if { (ac_try="$ac_link"
37305 case "(($ac_try" in
37306 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37307 *) ac_try_echo
=$ac_try;;
37309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37310 (eval "$ac_link") 2>conftest.er1
37312 grep -v '^ *+' conftest.er1
>conftest.err
37314 cat conftest.err
>&5
37315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37316 (exit $ac_status); } && {
37317 test -z "$ac_c_werror_flag" ||
37318 test ! -s conftest.err
37319 } && test -s conftest
$ac_exeext &&
37320 $as_test_x conftest
$ac_exeext; then
37321 eval wx_cv_func_
$wx_func=yes
37323 echo "$as_me: failed program was:" >&5
37324 sed 's/^/| /' conftest.
$ac_ext >&5
37326 eval wx_cv_func_
$wx_func=no
37329 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37330 conftest
$ac_exeext conftest.
$ac_ext
37333 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37334 { echo "$as_me:$LINENO: result: $ac_res" >&5
37335 echo "${ECHO_T}$ac_res" >&6; }
37337 if eval test \
$wx_cv_func_$wx_func = yes
37339 cat >>confdefs.h
<<_ACEOF
37340 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37353 for ac_func
in inet_addr
37355 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37356 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37358 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37359 echo $ECHO_N "(cached) $ECHO_C" >&6
37361 cat >conftest.
$ac_ext <<_ACEOF
37364 cat confdefs.h
>>conftest.
$ac_ext
37365 cat >>conftest.
$ac_ext <<_ACEOF
37366 /* end confdefs.h. */
37367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37369 #define $ac_func innocuous_$ac_func
37371 /* System header to define __stub macros and hopefully few prototypes,
37372 which can conflict with char $ac_func (); below.
37373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37374 <limits.h> exists even on freestanding compilers. */
37377 # include <limits.h>
37379 # include <assert.h>
37384 /* Override any GCC internal prototype to avoid an error.
37385 Use char because int might match the return type of a GCC
37386 builtin and then its argument prototype would still apply. */
37391 /* The GNU C library defines this for functions which it implements
37392 to always fail with ENOSYS. Some functions are actually named
37393 something starting with __ and the normal name is an alias. */
37394 #if defined __stub_$ac_func || defined __stub___$ac_func
37401 return $ac_func ();
37406 rm -f conftest.
$ac_objext conftest
$ac_exeext
37407 if { (ac_try
="$ac_link"
37408 case "(($ac_try" in
37409 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37410 *) ac_try_echo=$ac_try;;
37412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37413 (eval "$ac_link") 2>conftest.er1
37415 grep -v '^ *+' conftest.er1 >conftest.err
37417 cat conftest.err >&5
37418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37419 (exit $ac_status); } && {
37420 test -z "$ac_c_werror_flag" ||
37421 test ! -s conftest.err
37422 } && test -s conftest$ac_exeext &&
37423 $as_test_x conftest$ac_exeext; then
37424 eval "$as_ac_var=yes"
37426 echo "$as_me: failed program was:" >&5
37427 sed 's/^/| /' conftest.$ac_ext >&5
37429 eval "$as_ac_var=no"
37432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37433 conftest$ac_exeext conftest.$ac_ext
37435 ac_res=`eval echo '${'$as_ac_var'}'`
37436 { echo "$as_me:$LINENO: result: $ac_res" >&5
37437 echo "${ECHO_T}$ac_res" >&6; }
37438 if test `eval echo '${'$as_ac_var'}'` = yes; then
37439 cat >>confdefs.h <<_ACEOF
37440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37442 cat >>confdefs.h <<\_ACEOF
37443 #define HAVE_INET_ADDR 1
37448 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37449 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37450 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37451 echo $ECHO_N "(cached) $ECHO_C" >&6
37453 ac_check_lib_save_LIBS=$LIBS
37455 cat >conftest.$ac_ext <<_ACEOF
37458 cat confdefs.h >>conftest.$ac_ext
37459 cat >>conftest.$ac_ext <<_ACEOF
37460 /* end confdefs.h. */
37462 /* Override any GCC internal prototype to avoid an error.
37463 Use char because int might match the return type of a GCC
37464 builtin and then its argument prototype would still apply. */
37472 return inet_addr ();
37477 rm -f conftest.$ac_objext conftest$ac_exeext
37478 if { (ac_try="$ac_link"
37479 case "(($ac_try" in
37480 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37481 *) ac_try_echo
=$ac_try;;
37483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37484 (eval "$ac_link") 2>conftest.er1
37486 grep -v '^ *+' conftest.er1
>conftest.err
37488 cat conftest.err
>&5
37489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37490 (exit $ac_status); } && {
37491 test -z "$ac_c_werror_flag" ||
37492 test ! -s conftest.err
37493 } && test -s conftest
$ac_exeext &&
37494 $as_test_x conftest
$ac_exeext; then
37495 ac_cv_lib_nsl_inet_addr
=yes
37497 echo "$as_me: failed program was:" >&5
37498 sed 's/^/| /' conftest.
$ac_ext >&5
37500 ac_cv_lib_nsl_inet_addr
=no
37503 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37504 conftest
$ac_exeext conftest.
$ac_ext
37505 LIBS
=$ac_check_lib_save_LIBS
37507 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37508 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37509 if test $ac_cv_lib_nsl_inet_addr = yes; then
37513 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37514 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37515 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37516 echo $ECHO_N "(cached) $ECHO_C" >&6
37518 ac_check_lib_save_LIBS
=$LIBS
37519 LIBS
="-lresolv $LIBS"
37520 cat >conftest.
$ac_ext <<_ACEOF
37523 cat confdefs.h
>>conftest.
$ac_ext
37524 cat >>conftest.
$ac_ext <<_ACEOF
37525 /* end confdefs.h. */
37527 /* Override any GCC internal prototype to avoid an error.
37528 Use char because int might match the return type of a GCC
37529 builtin and then its argument prototype would still apply. */
37537 return inet_addr ();
37542 rm -f conftest.
$ac_objext conftest
$ac_exeext
37543 if { (ac_try
="$ac_link"
37544 case "(($ac_try" in
37545 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37546 *) ac_try_echo=$ac_try;;
37548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37549 (eval "$ac_link") 2>conftest.er1
37551 grep -v '^ *+' conftest.er1 >conftest.err
37553 cat conftest.err >&5
37554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37555 (exit $ac_status); } && {
37556 test -z "$ac_c_werror_flag" ||
37557 test ! -s conftest.err
37558 } && test -s conftest$ac_exeext &&
37559 $as_test_x conftest$ac_exeext; then
37560 ac_cv_lib_resolv_inet_addr=yes
37562 echo "$as_me: failed program was:" >&5
37563 sed 's/^/| /' conftest.$ac_ext >&5
37565 ac_cv_lib_resolv_inet_addr=no
37568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37569 conftest$ac_exeext conftest.$ac_ext
37570 LIBS=$ac_check_lib_save_LIBS
37572 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37573 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37574 if test $ac_cv_lib_resolv_inet_addr = yes; then
37578 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37579 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37580 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37581 echo $ECHO_N "(cached) $ECHO_C" >&6
37583 ac_check_lib_save_LIBS=$LIBS
37584 LIBS="-lsocket $LIBS"
37585 cat >conftest.$ac_ext <<_ACEOF
37588 cat confdefs.h >>conftest.$ac_ext
37589 cat >>conftest.$ac_ext <<_ACEOF
37590 /* end confdefs.h. */
37592 /* Override any GCC internal prototype to avoid an error.
37593 Use char because int might match the return type of a GCC
37594 builtin and then its argument prototype would still apply. */
37602 return inet_addr ();
37607 rm -f conftest.$ac_objext conftest$ac_exeext
37608 if { (ac_try="$ac_link"
37609 case "(($ac_try" in
37610 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37611 *) ac_try_echo
=$ac_try;;
37613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37614 (eval "$ac_link") 2>conftest.er1
37616 grep -v '^ *+' conftest.er1
>conftest.err
37618 cat conftest.err
>&5
37619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37620 (exit $ac_status); } && {
37621 test -z "$ac_c_werror_flag" ||
37622 test ! -s conftest.err
37623 } && test -s conftest
$ac_exeext &&
37624 $as_test_x conftest
$ac_exeext; then
37625 ac_cv_lib_socket_inet_addr
=yes
37627 echo "$as_me: failed program was:" >&5
37628 sed 's/^/| /' conftest.
$ac_ext >&5
37630 ac_cv_lib_socket_inet_addr
=no
37633 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37634 conftest
$ac_exeext conftest.
$ac_ext
37635 LIBS
=$ac_check_lib_save_LIBS
37637 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37638 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37639 if test $ac_cv_lib_socket_inet_addr = yes; then
37659 for ac_func
in inet_aton
37661 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37662 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37664 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37665 echo $ECHO_N "(cached) $ECHO_C" >&6
37667 cat >conftest.
$ac_ext <<_ACEOF
37670 cat confdefs.h
>>conftest.
$ac_ext
37671 cat >>conftest.
$ac_ext <<_ACEOF
37672 /* end confdefs.h. */
37673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37675 #define $ac_func innocuous_$ac_func
37677 /* System header to define __stub macros and hopefully few prototypes,
37678 which can conflict with char $ac_func (); below.
37679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37680 <limits.h> exists even on freestanding compilers. */
37683 # include <limits.h>
37685 # include <assert.h>
37690 /* Override any GCC internal prototype to avoid an error.
37691 Use char because int might match the return type of a GCC
37692 builtin and then its argument prototype would still apply. */
37697 /* The GNU C library defines this for functions which it implements
37698 to always fail with ENOSYS. Some functions are actually named
37699 something starting with __ and the normal name is an alias. */
37700 #if defined __stub_$ac_func || defined __stub___$ac_func
37707 return $ac_func ();
37712 rm -f conftest.
$ac_objext conftest
$ac_exeext
37713 if { (ac_try
="$ac_link"
37714 case "(($ac_try" in
37715 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37716 *) ac_try_echo=$ac_try;;
37718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37719 (eval "$ac_link") 2>conftest.er1
37721 grep -v '^ *+' conftest.er1 >conftest.err
37723 cat conftest.err >&5
37724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37725 (exit $ac_status); } && {
37726 test -z "$ac_c_werror_flag" ||
37727 test ! -s conftest.err
37728 } && test -s conftest$ac_exeext &&
37729 $as_test_x conftest$ac_exeext; then
37730 eval "$as_ac_var=yes"
37732 echo "$as_me: failed program was:" >&5
37733 sed 's/^/| /' conftest.$ac_ext >&5
37735 eval "$as_ac_var=no"
37738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37739 conftest$ac_exeext conftest.$ac_ext
37741 ac_res=`eval echo '${'$as_ac_var'}'`
37742 { echo "$as_me:$LINENO: result: $ac_res" >&5
37743 echo "${ECHO_T}$ac_res" >&6; }
37744 if test `eval echo '${'$as_ac_var'}'` = yes; then
37745 cat >>confdefs.h <<_ACEOF
37746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37748 cat >>confdefs.h <<\_ACEOF
37749 #define HAVE_INET_ATON 1
37754 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37755 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37756 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37757 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37758 echo $ECHO_N "(cached) $ECHO_C" >&6
37760 ac_check_lib_save_LIBS=$LIBS
37761 LIBS="-l$INET_LINK $LIBS"
37762 cat >conftest.$ac_ext <<_ACEOF
37765 cat confdefs.h >>conftest.$ac_ext
37766 cat >>conftest.$ac_ext <<_ACEOF
37767 /* end confdefs.h. */
37769 /* Override any GCC internal prototype to avoid an error.
37770 Use char because int might match the return type of a GCC
37771 builtin and then its argument prototype would still apply. */
37779 return inet_aton ();
37784 rm -f conftest.$ac_objext conftest$ac_exeext
37785 if { (ac_try="$ac_link"
37786 case "(($ac_try" in
37787 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37788 *) ac_try_echo
=$ac_try;;
37790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37791 (eval "$ac_link") 2>conftest.er1
37793 grep -v '^ *+' conftest.er1
>conftest.err
37795 cat conftest.err
>&5
37796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37797 (exit $ac_status); } && {
37798 test -z "$ac_c_werror_flag" ||
37799 test ! -s conftest.err
37800 } && test -s conftest
$ac_exeext &&
37801 $as_test_x conftest
$ac_exeext; then
37802 eval "$as_ac_Lib=yes"
37804 echo "$as_me: failed program was:" >&5
37805 sed 's/^/| /' conftest.
$ac_ext >&5
37807 eval "$as_ac_Lib=no"
37810 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37811 conftest
$ac_exeext conftest.
$ac_ext
37812 LIBS
=$ac_check_lib_save_LIBS
37814 ac_res
=`eval echo '${'$as_ac_Lib'}'`
37815 { echo "$as_me:$LINENO: result: $ac_res" >&5
37816 echo "${ECHO_T}$ac_res" >&6; }
37817 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37818 cat >>confdefs.h
<<\_ACEOF
37819 #define HAVE_INET_ATON 1
37829 if test "x$INET_LINK" != "x"; then
37830 cat >>confdefs.h
<<\_ACEOF
37831 #define HAVE_INET_ADDR 1
37834 INET_LINK
=" -l$INET_LINK"
37838 for wx_func
in fdopen
37840 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37841 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37842 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37843 echo $ECHO_N "(cached) $ECHO_C" >&6
37846 cat >conftest.
$ac_ext <<_ACEOF
37850 cat confdefs.h
>>conftest.
$ac_ext
37851 cat >>conftest.
$ac_ext <<_ACEOF
37852 /* end confdefs.h. */
37855 $ac_includes_default
37871 rm -f conftest.
$ac_objext conftest
$ac_exeext
37872 if { (ac_try
="$ac_link"
37873 case "(($ac_try" in
37874 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37875 *) ac_try_echo=$ac_try;;
37877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37878 (eval "$ac_link") 2>conftest.er1
37880 grep -v '^ *+' conftest.er1 >conftest.err
37882 cat conftest.err >&5
37883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37884 (exit $ac_status); } && {
37885 test -z "$ac_c_werror_flag" ||
37886 test ! -s conftest.err
37887 } && test -s conftest$ac_exeext &&
37888 $as_test_x conftest$ac_exeext; then
37889 eval wx_cv_func_$wx_func=yes
37891 echo "$as_me: failed program was:" >&5
37892 sed 's/^/| /' conftest.$ac_ext >&5
37894 eval wx_cv_func_$wx_func=no
37897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37898 conftest$ac_exeext conftest.$ac_ext
37901 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37902 { echo "$as_me:$LINENO: result: $ac_res" >&5
37903 echo "${ECHO_T}$ac_res" >&6; }
37905 if eval test \$wx_cv_func_$wx_func = yes
37907 cat >>confdefs.h <<_ACEOF
37908 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37919 if test "$wxUSE_TARSTREAM" = "yes"; then
37921 for wx_func in sysconf
37923 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37924 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37925 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37926 echo $ECHO_N "(cached) $ECHO_C" >&6
37929 cat >conftest.$ac_ext <<_ACEOF
37933 cat confdefs.h >>conftest.$ac_ext
37934 cat >>conftest.$ac_ext <<_ACEOF
37935 /* end confdefs.h. */
37938 $ac_includes_default
37954 rm -f conftest.$ac_objext conftest$ac_exeext
37955 if { (ac_try="$ac_link"
37956 case "(($ac_try" in
37957 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37958 *) ac_try_echo
=$ac_try;;
37960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37961 (eval "$ac_link") 2>conftest.er1
37963 grep -v '^ *+' conftest.er1
>conftest.err
37965 cat conftest.err
>&5
37966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37967 (exit $ac_status); } && {
37968 test -z "$ac_c_werror_flag" ||
37969 test ! -s conftest.err
37970 } && test -s conftest
$ac_exeext &&
37971 $as_test_x conftest
$ac_exeext; then
37972 eval wx_cv_func_
$wx_func=yes
37974 echo "$as_me: failed program was:" >&5
37975 sed 's/^/| /' conftest.
$ac_ext >&5
37977 eval wx_cv_func_
$wx_func=no
37980 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37981 conftest
$ac_exeext conftest.
$ac_ext
37984 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37985 { echo "$as_me:$LINENO: result: $ac_res" >&5
37986 echo "${ECHO_T}$ac_res" >&6; }
37988 if eval test \
$wx_cv_func_$wx_func = yes
37990 cat >>confdefs.h
<<_ACEOF
37991 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38003 for wx_func
in getpwuid_r
38005 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38006 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38007 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38008 echo $ECHO_N "(cached) $ECHO_C" >&6
38011 cat >conftest.
$ac_ext <<_ACEOF
38015 cat confdefs.h
>>conftest.
$ac_ext
38016 cat >>conftest.
$ac_ext <<_ACEOF
38017 /* end confdefs.h. */
38023 $ac_includes_default
38033 struct passwd pw, *ppw;
38035 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38043 rm -f conftest.
$ac_objext conftest
$ac_exeext
38044 if { (ac_try
="$ac_link"
38045 case "(($ac_try" in
38046 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38047 *) ac_try_echo=$ac_try;;
38049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38050 (eval "$ac_link") 2>conftest.er1
38052 grep -v '^ *+' conftest.er1 >conftest.err
38054 cat conftest.err >&5
38055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38056 (exit $ac_status); } && {
38057 test -z "$ac_c_werror_flag" ||
38058 test ! -s conftest.err
38059 } && test -s conftest$ac_exeext &&
38060 $as_test_x conftest$ac_exeext; then
38061 eval wx_cv_func_$wx_func=yes
38063 echo "$as_me: failed program was:" >&5
38064 sed 's/^/| /' conftest.$ac_ext >&5
38066 eval wx_cv_func_$wx_func=no
38069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38070 conftest$ac_exeext conftest.$ac_ext
38073 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38074 { echo "$as_me:$LINENO: result: $ac_res" >&5
38075 echo "${ECHO_T}$ac_res" >&6; }
38077 if eval test \$wx_cv_func_$wx_func = yes
38079 cat >>confdefs.h <<_ACEOF
38080 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38092 for wx_func in getgrgid_r
38094 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38095 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38096 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38097 echo $ECHO_N "(cached) $ECHO_C" >&6
38100 cat >conftest.$ac_ext <<_ACEOF
38104 cat confdefs.h >>conftest.$ac_ext
38105 cat >>conftest.$ac_ext <<_ACEOF
38106 /* end confdefs.h. */
38112 $ac_includes_default
38122 struct group grp, *pgrp;
38124 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38132 rm -f conftest.$ac_objext conftest$ac_exeext
38133 if { (ac_try="$ac_link"
38134 case "(($ac_try" in
38135 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38136 *) ac_try_echo
=$ac_try;;
38138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38139 (eval "$ac_link") 2>conftest.er1
38141 grep -v '^ *+' conftest.er1
>conftest.err
38143 cat conftest.err
>&5
38144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38145 (exit $ac_status); } && {
38146 test -z "$ac_c_werror_flag" ||
38147 test ! -s conftest.err
38148 } && test -s conftest
$ac_exeext &&
38149 $as_test_x conftest
$ac_exeext; then
38150 eval wx_cv_func_
$wx_func=yes
38152 echo "$as_me: failed program was:" >&5
38153 sed 's/^/| /' conftest.
$ac_ext >&5
38155 eval wx_cv_func_
$wx_func=no
38158 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38159 conftest
$ac_exeext conftest.
$ac_ext
38162 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38163 { echo "$as_me:$LINENO: result: $ac_res" >&5
38164 echo "${ECHO_T}$ac_res" >&6; }
38166 if eval test \
$wx_cv_func_$wx_func = yes
38168 cat >>confdefs.h
<<_ACEOF
38169 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38185 cat >confcache
<<\_ACEOF
38186 # This file is a shell script that caches the results of configure
38187 # tests run on this system so they can be shared between configure
38188 # scripts and configure runs, see configure's option --config-cache.
38189 # It is not useful on other systems. If it contains results you don't
38190 # want to keep, you may remove or edit it.
38192 # config.status only pays attention to the cache file if you give it
38193 # the --recheck option to rerun configure.
38195 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38196 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38197 # following values.
38201 # The following way of writing the cache mishandles newlines in values,
38202 # but we know of no workaround that is simple, portable, and efficient.
38203 # So, we kill variables containing newlines.
38204 # Ultrix sh set writes to stderr and can't be redirected directly,
38205 # and sets the high bit in the cache file unless we assign to the vars.
38207 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38208 eval ac_val
=\$
$ac_var
38212 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38213 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38216 _
| IFS
| as_nl
) ;; #(
38217 *) $as_unset $ac_var ;;
38223 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38224 *${as_nl}ac_space
=\
*)
38225 # `set' does not quote correctly, so add quotes (double-quote
38226 # substitution turns \\\\ into \\, and sed turns \\ into \).
38229 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38232 # `set' quotes correctly as required by POSIX, so do not add quotes.
38233 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38242 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38244 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38246 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38247 if test -w "$cache_file"; then
38248 test "x$cache_file" != "x/dev/null" &&
38249 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38250 echo "$as_me: updating cache $cache_file" >&6;}
38251 cat confcache
>$cache_file
38253 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38254 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38260 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38266 if test "$wxUSE_THREADS" = "yes" ; then
38267 if test "$USE_BEOS" = 1; then
38268 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38269 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38274 if test "$wxUSE_THREADS" = "yes" ; then
38277 THREAD_OPTS
="-pthread"
38278 if test "x$SUNCXX" = xyes
; then
38279 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38283 *-*-solaris2* | *-*-sunos4* )
38284 if test "x$GCC" = "xyes"; then
38285 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38289 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38291 *-*-darwin* | *-*-cygwin* )
38295 THREAD_OPTS
="pthreads"
38298 if test "x$GCC" = "xyes"; then
38299 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38307 if test "x$GCC" = "xyes"; then
38313 if test "x$GCC" != "xyes"; then
38314 THREAD_OPTS
="-Ethread"
38319 THREAD_OPTS
="$THREAD_OPTS pthread none"
38322 for flag
in $THREAD_OPTS; do
38325 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38326 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38330 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38331 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38332 THREADS_CFLAGS
="$flag"
38336 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38337 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38338 THREADS_LINK
="-l$flag"
38343 save_CFLAGS
="$CFLAGS"
38344 LIBS
="$THREADS_LINK $LIBS"
38345 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38347 cat >conftest.
$ac_ext <<_ACEOF
38350 cat confdefs.h
>>conftest.
$ac_ext
38351 cat >>conftest.
$ac_ext <<_ACEOF
38352 /* end confdefs.h. */
38353 #include <pthread.h>
38357 pthread_create(0,0,0,0);
38362 rm -f conftest.
$ac_objext conftest
$ac_exeext
38363 if { (ac_try
="$ac_link"
38364 case "(($ac_try" in
38365 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38366 *) ac_try_echo=$ac_try;;
38368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38369 (eval "$ac_link") 2>conftest.er1
38371 grep -v '^ *+' conftest.er1 >conftest.err
38373 cat conftest.err >&5
38374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38375 (exit $ac_status); } && {
38376 test -z "$ac_c_werror_flag" ||
38377 test ! -s conftest.err
38378 } && test -s conftest$ac_exeext &&
38379 $as_test_x conftest$ac_exeext; then
38382 echo "$as_me: failed program was:" >&5
38383 sed 's/^/| /' conftest.$ac_ext >&5
38388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38389 conftest$ac_exeext conftest.$ac_ext
38392 CFLAGS="$save_CFLAGS"
38394 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38395 echo "${ECHO_T}$THREADS_OK" >&6; }
38396 if test "x$THREADS_OK" = "xyes"; then
38404 if test "x$THREADS_OK" != "xyes"; then
38406 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38407 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38409 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38410 LIBS="$THREADS_LINK $LIBS"
38412 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38413 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38417 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38418 flag="-D_THREAD_SAFE"
38421 flag="-D_THREAD_SAFE"
38424 flag="-D_REENTRANT"
38425 if test "x$GCC" != "xyes"; then
38426 flag="$flag -D_RWSTD_MULTI_THREAD"
38429 *solaris* | alpha*-osf*)
38430 flag="-D_REENTRANT"
38433 { echo "$as_me:$LINENO: result: ${flag}" >&5
38434 echo "${ECHO_T}${flag}" >&6; }
38435 if test "x$flag" != xno; then
38436 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38439 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38443 if test "$wxUSE_THREADS" = "yes" ; then
38445 for ac_func in thr_setconcurrency
38447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38448 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38450 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38451 echo $ECHO_N "(cached) $ECHO_C" >&6
38453 cat >conftest.$ac_ext <<_ACEOF
38456 cat confdefs.h >>conftest.$ac_ext
38457 cat >>conftest.$ac_ext <<_ACEOF
38458 /* end confdefs.h. */
38459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38461 #define $ac_func innocuous_$ac_func
38463 /* System header to define __stub macros and hopefully few prototypes,
38464 which can conflict with char $ac_func (); below.
38465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38466 <limits.h> exists even on freestanding compilers. */
38469 # include <limits.h>
38471 # include <assert.h>
38476 /* Override any GCC internal prototype to avoid an error.
38477 Use char because int might match the return type of a GCC
38478 builtin and then its argument prototype would still apply. */
38483 /* The GNU C library defines this for functions which it implements
38484 to always fail with ENOSYS. Some functions are actually named
38485 something starting with __ and the normal name is an alias. */
38486 #if defined __stub_$ac_func || defined __stub___$ac_func
38493 return $ac_func ();
38498 rm -f conftest.$ac_objext conftest$ac_exeext
38499 if { (ac_try="$ac_link"
38500 case "(($ac_try" in
38501 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38502 *) ac_try_echo
=$ac_try;;
38504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38505 (eval "$ac_link") 2>conftest.er1
38507 grep -v '^ *+' conftest.er1
>conftest.err
38509 cat conftest.err
>&5
38510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38511 (exit $ac_status); } && {
38512 test -z "$ac_c_werror_flag" ||
38513 test ! -s conftest.err
38514 } && test -s conftest
$ac_exeext &&
38515 $as_test_x conftest
$ac_exeext; then
38516 eval "$as_ac_var=yes"
38518 echo "$as_me: failed program was:" >&5
38519 sed 's/^/| /' conftest.
$ac_ext >&5
38521 eval "$as_ac_var=no"
38524 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38525 conftest
$ac_exeext conftest.
$ac_ext
38527 ac_res
=`eval echo '${'$as_ac_var'}'`
38528 { echo "$as_me:$LINENO: result: $ac_res" >&5
38529 echo "${ECHO_T}$ac_res" >&6; }
38530 if test `eval echo '${'$as_ac_var'}'` = yes; then
38531 cat >>confdefs.h
<<_ACEOF
38532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38539 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38540 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38541 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38542 echo $ECHO_N "(cached) $ECHO_C" >&6
38546 ac_cpp
='$CXXCPP $CPPFLAGS'
38547 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38548 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38549 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38551 cat >conftest.
$ac_ext <<_ACEOF
38554 cat confdefs.h
>>conftest.
$ac_ext
38555 cat >>conftest.
$ac_ext <<_ACEOF
38556 /* end confdefs.h. */
38557 #include <pthread.h>
38558 void ThreadCleanupFunc(void *p);
38565 pthread_cleanup_push(ThreadCleanupFunc, p);
38566 pthread_cleanup_pop(0);
38572 rm -f conftest.
$ac_objext
38573 if { (ac_try
="$ac_compile"
38574 case "(($ac_try" in
38575 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38576 *) ac_try_echo=$ac_try;;
38578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38579 (eval "$ac_compile") 2>conftest.er1
38581 grep -v '^ *+' conftest.er1 >conftest.err
38583 cat conftest.err >&5
38584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38585 (exit $ac_status); } && {
38586 test -z "$ac_cxx_werror_flag" ||
38587 test ! -s conftest.err
38588 } && test -s conftest.$ac_objext; then
38590 wx_cv_func_pthread_cleanup=yes
38593 echo "$as_me: failed program was:" >&5
38594 sed 's/^/| /' conftest.$ac_ext >&5
38597 wx_cv_func_pthread_cleanup=no
38602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38604 ac_cpp='$CPP $CPPFLAGS'
38605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38611 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38612 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38613 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38614 cat >>confdefs.h <<\_ACEOF
38615 #define wxHAVE_PTHREAD_CLEANUP 1
38621 for ac_header in sched.h
38623 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38624 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38626 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38627 echo $ECHO_N "(cached) $ECHO_C" >&6
38629 cat >conftest.$ac_ext <<_ACEOF
38632 cat confdefs.h >>conftest.$ac_ext
38633 cat >>conftest.$ac_ext <<_ACEOF
38634 /* end confdefs.h. */
38635 $ac_includes_default
38637 #include <$ac_header>
38639 rm -f conftest.$ac_objext
38640 if { (ac_try="$ac_compile"
38641 case "(($ac_try" in
38642 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38643 *) ac_try_echo
=$ac_try;;
38645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38646 (eval "$ac_compile") 2>conftest.er1
38648 grep -v '^ *+' conftest.er1
>conftest.err
38650 cat conftest.err
>&5
38651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38652 (exit $ac_status); } && {
38653 test -z "$ac_c_werror_flag" ||
38654 test ! -s conftest.err
38655 } && test -s conftest.
$ac_objext; then
38656 eval "$as_ac_Header=yes"
38658 echo "$as_me: failed program was:" >&5
38659 sed 's/^/| /' conftest.
$ac_ext >&5
38661 eval "$as_ac_Header=no"
38664 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38666 ac_res
=`eval echo '${'$as_ac_Header'}'`
38667 { echo "$as_me:$LINENO: result: $ac_res" >&5
38668 echo "${ECHO_T}$ac_res" >&6; }
38669 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38670 cat >>confdefs.h
<<_ACEOF
38671 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38678 if test "$ac_cv_header_sched_h" = "yes"; then
38679 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38680 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38681 if test "${ac_cv_func_sched_yield+set}" = set; then
38682 echo $ECHO_N "(cached) $ECHO_C" >&6
38684 cat >conftest.
$ac_ext <<_ACEOF
38687 cat confdefs.h
>>conftest.
$ac_ext
38688 cat >>conftest.
$ac_ext <<_ACEOF
38689 /* end confdefs.h. */
38690 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38692 #define sched_yield innocuous_sched_yield
38694 /* System header to define __stub macros and hopefully few prototypes,
38695 which can conflict with char sched_yield (); below.
38696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38697 <limits.h> exists even on freestanding compilers. */
38700 # include <limits.h>
38702 # include <assert.h>
38707 /* Override any GCC internal prototype to avoid an error.
38708 Use char because int might match the return type of a GCC
38709 builtin and then its argument prototype would still apply. */
38713 char sched_yield ();
38714 /* The GNU C library defines this for functions which it implements
38715 to always fail with ENOSYS. Some functions are actually named
38716 something starting with __ and the normal name is an alias. */
38717 #if defined __stub_sched_yield || defined __stub___sched_yield
38724 return sched_yield ();
38729 rm -f conftest.
$ac_objext conftest
$ac_exeext
38730 if { (ac_try
="$ac_link"
38731 case "(($ac_try" in
38732 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38733 *) ac_try_echo=$ac_try;;
38735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38736 (eval "$ac_link") 2>conftest.er1
38738 grep -v '^ *+' conftest.er1 >conftest.err
38740 cat conftest.err >&5
38741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38742 (exit $ac_status); } && {
38743 test -z "$ac_c_werror_flag" ||
38744 test ! -s conftest.err
38745 } && test -s conftest$ac_exeext &&
38746 $as_test_x conftest$ac_exeext; then
38747 ac_cv_func_sched_yield=yes
38749 echo "$as_me: failed program was:" >&5
38750 sed 's/^/| /' conftest.$ac_ext >&5
38752 ac_cv_func_sched_yield=no
38755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38756 conftest$ac_exeext conftest.$ac_ext
38758 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38759 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38760 if test $ac_cv_func_sched_yield = yes; then
38761 cat >>confdefs.h <<\_ACEOF
38762 #define HAVE_SCHED_YIELD 1
38767 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38768 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38769 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38770 echo $ECHO_N "(cached) $ECHO_C" >&6
38772 ac_check_lib_save_LIBS=$LIBS
38773 LIBS="-lposix4 $LIBS"
38774 cat >conftest.$ac_ext <<_ACEOF
38777 cat confdefs.h >>conftest.$ac_ext
38778 cat >>conftest.$ac_ext <<_ACEOF
38779 /* end confdefs.h. */
38781 /* Override any GCC internal prototype to avoid an error.
38782 Use char because int might match the return type of a GCC
38783 builtin and then its argument prototype would still apply. */
38787 char sched_yield ();
38791 return sched_yield ();
38796 rm -f conftest.$ac_objext conftest$ac_exeext
38797 if { (ac_try="$ac_link"
38798 case "(($ac_try" in
38799 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38800 *) ac_try_echo
=$ac_try;;
38802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38803 (eval "$ac_link") 2>conftest.er1
38805 grep -v '^ *+' conftest.er1
>conftest.err
38807 cat conftest.err
>&5
38808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38809 (exit $ac_status); } && {
38810 test -z "$ac_c_werror_flag" ||
38811 test ! -s conftest.err
38812 } && test -s conftest
$ac_exeext &&
38813 $as_test_x conftest
$ac_exeext; then
38814 ac_cv_lib_posix4_sched_yield
=yes
38816 echo "$as_me: failed program was:" >&5
38817 sed 's/^/| /' conftest.
$ac_ext >&5
38819 ac_cv_lib_posix4_sched_yield
=no
38822 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38823 conftest
$ac_exeext conftest.
$ac_ext
38824 LIBS
=$ac_check_lib_save_LIBS
38826 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38827 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38828 if test $ac_cv_lib_posix4_sched_yield = yes; then
38829 cat >>confdefs.h
<<\_ACEOF
38830 #define HAVE_SCHED_YIELD 1
38832 POSIX4_LINK
=" -lposix4"
38834 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38835 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38846 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38847 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38848 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38849 echo $ECHO_N "(cached) $ECHO_C" >&6
38851 cat >conftest.
$ac_ext <<_ACEOF
38854 cat confdefs.h
>>conftest.
$ac_ext
38855 cat >>conftest.
$ac_ext <<_ACEOF
38856 /* end confdefs.h. */
38857 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38859 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38861 /* System header to define __stub macros and hopefully few prototypes,
38862 which can conflict with char pthread_attr_getschedpolicy (); below.
38863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38864 <limits.h> exists even on freestanding compilers. */
38867 # include <limits.h>
38869 # include <assert.h>
38872 #undef pthread_attr_getschedpolicy
38874 /* Override any GCC internal prototype to avoid an error.
38875 Use char because int might match the return type of a GCC
38876 builtin and then its argument prototype would still apply. */
38880 char pthread_attr_getschedpolicy ();
38881 /* The GNU C library defines this for functions which it implements
38882 to always fail with ENOSYS. Some functions are actually named
38883 something starting with __ and the normal name is an alias. */
38884 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38891 return pthread_attr_getschedpolicy ();
38896 rm -f conftest.
$ac_objext conftest
$ac_exeext
38897 if { (ac_try
="$ac_link"
38898 case "(($ac_try" in
38899 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38900 *) ac_try_echo=$ac_try;;
38902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38903 (eval "$ac_link") 2>conftest.er1
38905 grep -v '^ *+' conftest.er1 >conftest.err
38907 cat conftest.err >&5
38908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38909 (exit $ac_status); } && {
38910 test -z "$ac_c_werror_flag" ||
38911 test ! -s conftest.err
38912 } && test -s conftest$ac_exeext &&
38913 $as_test_x conftest$ac_exeext; then
38914 ac_cv_func_pthread_attr_getschedpolicy=yes
38916 echo "$as_me: failed program was:" >&5
38917 sed 's/^/| /' conftest.$ac_ext >&5
38919 ac_cv_func_pthread_attr_getschedpolicy=no
38922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38923 conftest$ac_exeext conftest.$ac_ext
38925 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38926 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38927 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38928 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38929 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38930 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38931 echo $ECHO_N "(cached) $ECHO_C" >&6
38933 cat >conftest.$ac_ext <<_ACEOF
38936 cat confdefs.h >>conftest.$ac_ext
38937 cat >>conftest.$ac_ext <<_ACEOF
38938 /* end confdefs.h. */
38939 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38941 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38943 /* System header to define __stub macros and hopefully few prototypes,
38944 which can conflict with char pthread_attr_setschedparam (); below.
38945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38946 <limits.h> exists even on freestanding compilers. */
38949 # include <limits.h>
38951 # include <assert.h>
38954 #undef pthread_attr_setschedparam
38956 /* Override any GCC internal prototype to avoid an error.
38957 Use char because int might match the return type of a GCC
38958 builtin and then its argument prototype would still apply. */
38962 char pthread_attr_setschedparam ();
38963 /* The GNU C library defines this for functions which it implements
38964 to always fail with ENOSYS. Some functions are actually named
38965 something starting with __ and the normal name is an alias. */
38966 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38973 return pthread_attr_setschedparam ();
38978 rm -f conftest.$ac_objext conftest$ac_exeext
38979 if { (ac_try="$ac_link"
38980 case "(($ac_try" in
38981 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38982 *) ac_try_echo
=$ac_try;;
38984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38985 (eval "$ac_link") 2>conftest.er1
38987 grep -v '^ *+' conftest.er1
>conftest.err
38989 cat conftest.err
>&5
38990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38991 (exit $ac_status); } && {
38992 test -z "$ac_c_werror_flag" ||
38993 test ! -s conftest.err
38994 } && test -s conftest
$ac_exeext &&
38995 $as_test_x conftest
$ac_exeext; then
38996 ac_cv_func_pthread_attr_setschedparam
=yes
38998 echo "$as_me: failed program was:" >&5
38999 sed 's/^/| /' conftest.
$ac_ext >&5
39001 ac_cv_func_pthread_attr_setschedparam
=no
39004 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39005 conftest
$ac_exeext conftest.
$ac_ext
39007 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39008 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39009 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39010 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39011 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39012 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39013 echo $ECHO_N "(cached) $ECHO_C" >&6
39015 cat >conftest.
$ac_ext <<_ACEOF
39018 cat confdefs.h
>>conftest.
$ac_ext
39019 cat >>conftest.
$ac_ext <<_ACEOF
39020 /* end confdefs.h. */
39021 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39023 #define sched_get_priority_max innocuous_sched_get_priority_max
39025 /* System header to define __stub macros and hopefully few prototypes,
39026 which can conflict with char sched_get_priority_max (); below.
39027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39028 <limits.h> exists even on freestanding compilers. */
39031 # include <limits.h>
39033 # include <assert.h>
39036 #undef sched_get_priority_max
39038 /* Override any GCC internal prototype to avoid an error.
39039 Use char because int might match the return type of a GCC
39040 builtin and then its argument prototype would still apply. */
39044 char sched_get_priority_max ();
39045 /* The GNU C library defines this for functions which it implements
39046 to always fail with ENOSYS. Some functions are actually named
39047 something starting with __ and the normal name is an alias. */
39048 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39055 return sched_get_priority_max ();
39060 rm -f conftest.
$ac_objext conftest
$ac_exeext
39061 if { (ac_try
="$ac_link"
39062 case "(($ac_try" in
39063 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39064 *) ac_try_echo=$ac_try;;
39066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39067 (eval "$ac_link") 2>conftest.er1
39069 grep -v '^ *+' conftest.er1 >conftest.err
39071 cat conftest.err >&5
39072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39073 (exit $ac_status); } && {
39074 test -z "$ac_c_werror_flag" ||
39075 test ! -s conftest.err
39076 } && test -s conftest$ac_exeext &&
39077 $as_test_x conftest$ac_exeext; then
39078 ac_cv_func_sched_get_priority_max=yes
39080 echo "$as_me: failed program was:" >&5
39081 sed 's/^/| /' conftest.$ac_ext >&5
39083 ac_cv_func_sched_get_priority_max=no
39086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39087 conftest$ac_exeext conftest.$ac_ext
39089 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39090 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39091 if test $ac_cv_func_sched_get_priority_max = yes; then
39094 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39095 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39096 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39097 echo $ECHO_N "(cached) $ECHO_C" >&6
39099 ac_check_lib_save_LIBS=$LIBS
39100 LIBS="-lposix4 $LIBS"
39101 cat >conftest.$ac_ext <<_ACEOF
39104 cat confdefs.h >>conftest.$ac_ext
39105 cat >>conftest.$ac_ext <<_ACEOF
39106 /* end confdefs.h. */
39108 /* Override any GCC internal prototype to avoid an error.
39109 Use char because int might match the return type of a GCC
39110 builtin and then its argument prototype would still apply. */
39114 char sched_get_priority_max ();
39118 return sched_get_priority_max ();
39123 rm -f conftest.$ac_objext conftest$ac_exeext
39124 if { (ac_try="$ac_link"
39125 case "(($ac_try" in
39126 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39127 *) ac_try_echo
=$ac_try;;
39129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39130 (eval "$ac_link") 2>conftest.er1
39132 grep -v '^ *+' conftest.er1
>conftest.err
39134 cat conftest.err
>&5
39135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39136 (exit $ac_status); } && {
39137 test -z "$ac_c_werror_flag" ||
39138 test ! -s conftest.err
39139 } && test -s conftest
$ac_exeext &&
39140 $as_test_x conftest
$ac_exeext; then
39141 ac_cv_lib_posix4_sched_get_priority_max
=yes
39143 echo "$as_me: failed program was:" >&5
39144 sed 's/^/| /' conftest.
$ac_ext >&5
39146 ac_cv_lib_posix4_sched_get_priority_max
=no
39149 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39150 conftest
$ac_exeext conftest.
$ac_ext
39151 LIBS
=$ac_check_lib_save_LIBS
39153 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39154 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39155 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39158 POSIX4_LINK
=" -lposix4"
39172 if test "$HAVE_PRIOR_FUNCS" = 1; then
39173 cat >>confdefs.h
<<\_ACEOF
39174 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39178 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39179 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39182 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39183 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39184 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39185 echo $ECHO_N "(cached) $ECHO_C" >&6
39187 cat >conftest.
$ac_ext <<_ACEOF
39190 cat confdefs.h
>>conftest.
$ac_ext
39191 cat >>conftest.
$ac_ext <<_ACEOF
39192 /* end confdefs.h. */
39193 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39195 #define pthread_cancel innocuous_pthread_cancel
39197 /* System header to define __stub macros and hopefully few prototypes,
39198 which can conflict with char pthread_cancel (); below.
39199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39200 <limits.h> exists even on freestanding compilers. */
39203 # include <limits.h>
39205 # include <assert.h>
39208 #undef pthread_cancel
39210 /* Override any GCC internal prototype to avoid an error.
39211 Use char because int might match the return type of a GCC
39212 builtin and then its argument prototype would still apply. */
39216 char pthread_cancel ();
39217 /* The GNU C library defines this for functions which it implements
39218 to always fail with ENOSYS. Some functions are actually named
39219 something starting with __ and the normal name is an alias. */
39220 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39227 return pthread_cancel ();
39232 rm -f conftest.
$ac_objext conftest
$ac_exeext
39233 if { (ac_try
="$ac_link"
39234 case "(($ac_try" in
39235 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39236 *) ac_try_echo=$ac_try;;
39238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39239 (eval "$ac_link") 2>conftest.er1
39241 grep -v '^ *+' conftest.er1 >conftest.err
39243 cat conftest.err >&5
39244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); } && {
39246 test -z "$ac_c_werror_flag" ||
39247 test ! -s conftest.err
39248 } && test -s conftest$ac_exeext &&
39249 $as_test_x conftest$ac_exeext; then
39250 ac_cv_func_pthread_cancel=yes
39252 echo "$as_me: failed program was:" >&5
39253 sed 's/^/| /' conftest.$ac_ext >&5
39255 ac_cv_func_pthread_cancel=no
39258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39259 conftest$ac_exeext conftest.$ac_ext
39261 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39262 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39263 if test $ac_cv_func_pthread_cancel = yes; then
39264 cat >>confdefs.h <<\_ACEOF
39265 #define HAVE_PTHREAD_CANCEL 1
39269 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39270 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39274 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39275 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39276 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39277 echo $ECHO_N "(cached) $ECHO_C" >&6
39279 cat >conftest.$ac_ext <<_ACEOF
39282 cat confdefs.h >>conftest.$ac_ext
39283 cat >>conftest.$ac_ext <<_ACEOF
39284 /* end confdefs.h. */
39285 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39287 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39289 /* System header to define __stub macros and hopefully few prototypes,
39290 which can conflict with char pthread_mutex_timedlock (); below.
39291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39292 <limits.h> exists even on freestanding compilers. */
39295 # include <limits.h>
39297 # include <assert.h>
39300 #undef pthread_mutex_timedlock
39302 /* Override any GCC internal prototype to avoid an error.
39303 Use char because int might match the return type of a GCC
39304 builtin and then its argument prototype would still apply. */
39308 char pthread_mutex_timedlock ();
39309 /* The GNU C library defines this for functions which it implements
39310 to always fail with ENOSYS. Some functions are actually named
39311 something starting with __ and the normal name is an alias. */
39312 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39319 return pthread_mutex_timedlock ();
39324 rm -f conftest.$ac_objext conftest$ac_exeext
39325 if { (ac_try="$ac_link"
39326 case "(($ac_try" in
39327 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39328 *) ac_try_echo
=$ac_try;;
39330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39331 (eval "$ac_link") 2>conftest.er1
39333 grep -v '^ *+' conftest.er1
>conftest.err
39335 cat conftest.err
>&5
39336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39337 (exit $ac_status); } && {
39338 test -z "$ac_c_werror_flag" ||
39339 test ! -s conftest.err
39340 } && test -s conftest
$ac_exeext &&
39341 $as_test_x conftest
$ac_exeext; then
39342 ac_cv_func_pthread_mutex_timedlock
=yes
39344 echo "$as_me: failed program was:" >&5
39345 sed 's/^/| /' conftest.
$ac_ext >&5
39347 ac_cv_func_pthread_mutex_timedlock
=no
39350 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39351 conftest
$ac_exeext conftest.
$ac_ext
39353 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39354 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39355 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39356 cat >>confdefs.h
<<\_ACEOF
39357 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39361 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39362 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39366 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39367 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39368 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39369 echo $ECHO_N "(cached) $ECHO_C" >&6
39371 cat >conftest.
$ac_ext <<_ACEOF
39374 cat confdefs.h
>>conftest.
$ac_ext
39375 cat >>conftest.
$ac_ext <<_ACEOF
39376 /* end confdefs.h. */
39377 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39379 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39381 /* System header to define __stub macros and hopefully few prototypes,
39382 which can conflict with char pthread_attr_setstacksize (); below.
39383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39384 <limits.h> exists even on freestanding compilers. */
39387 # include <limits.h>
39389 # include <assert.h>
39392 #undef pthread_attr_setstacksize
39394 /* Override any GCC internal prototype to avoid an error.
39395 Use char because int might match the return type of a GCC
39396 builtin and then its argument prototype would still apply. */
39400 char pthread_attr_setstacksize ();
39401 /* The GNU C library defines this for functions which it implements
39402 to always fail with ENOSYS. Some functions are actually named
39403 something starting with __ and the normal name is an alias. */
39404 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39411 return pthread_attr_setstacksize ();
39416 rm -f conftest.
$ac_objext conftest
$ac_exeext
39417 if { (ac_try
="$ac_link"
39418 case "(($ac_try" in
39419 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39420 *) ac_try_echo=$ac_try;;
39422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39423 (eval "$ac_link") 2>conftest.er1
39425 grep -v '^ *+' conftest.er1 >conftest.err
39427 cat conftest.err >&5
39428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39429 (exit $ac_status); } && {
39430 test -z "$ac_c_werror_flag" ||
39431 test ! -s conftest.err
39432 } && test -s conftest$ac_exeext &&
39433 $as_test_x conftest$ac_exeext; then
39434 ac_cv_func_pthread_attr_setstacksize=yes
39436 echo "$as_me: failed program was:" >&5
39437 sed 's/^/| /' conftest.$ac_ext >&5
39439 ac_cv_func_pthread_attr_setstacksize=no
39442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39443 conftest$ac_exeext conftest.$ac_ext
39445 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39446 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39447 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39448 cat >>confdefs.h <<\_ACEOF
39449 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39456 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39457 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39458 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39459 echo $ECHO_N "(cached) $ECHO_C" >&6
39462 cat >conftest.$ac_ext <<_ACEOF
39465 cat confdefs.h >>conftest.$ac_ext
39466 cat >>conftest.$ac_ext <<_ACEOF
39467 /* end confdefs.h. */
39468 #include <pthread.h>
39473 pthread_mutexattr_t attr;
39474 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39480 rm -f conftest.$ac_objext
39481 if { (ac_try="$ac_compile"
39482 case "(($ac_try" in
39483 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39484 *) ac_try_echo
=$ac_try;;
39486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39487 (eval "$ac_compile") 2>conftest.er1
39489 grep -v '^ *+' conftest.er1
>conftest.err
39491 cat conftest.err
>&5
39492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39493 (exit $ac_status); } && {
39494 test -z "$ac_c_werror_flag" ||
39495 test ! -s conftest.err
39496 } && test -s conftest.
$ac_objext; then
39497 wx_cv_type_pthread_mutexattr_t
=yes
39499 echo "$as_me: failed program was:" >&5
39500 sed 's/^/| /' conftest.
$ac_ext >&5
39502 wx_cv_type_pthread_mutexattr_t
=no
39506 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39509 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39510 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39512 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39513 cat >>confdefs.h
<<\_ACEOF
39514 #define HAVE_PTHREAD_MUTEXATTR_T 1
39518 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39519 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39520 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39521 echo $ECHO_N "(cached) $ECHO_C" >&6
39524 cat >conftest.
$ac_ext <<_ACEOF
39527 cat confdefs.h
>>conftest.
$ac_ext
39528 cat >>conftest.
$ac_ext <<_ACEOF
39529 /* end confdefs.h. */
39530 #include <pthread.h>
39535 pthread_mutexattr_t attr;
39536 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39542 rm -f conftest.
$ac_objext
39543 if { (ac_try
="$ac_compile"
39544 case "(($ac_try" in
39545 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39546 *) ac_try_echo=$ac_try;;
39548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39549 (eval "$ac_compile") 2>conftest.er1
39551 grep -v '^ *+' conftest.er1 >conftest.err
39553 cat conftest.err >&5
39554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39555 (exit $ac_status); } && {
39556 test -z "$ac_c_werror_flag" ||
39557 test ! -s conftest.err
39558 } && test -s conftest.$ac_objext; then
39559 wx_cv_func_pthread_mutexattr_settype_decl=yes
39561 echo "$as_me: failed program was:" >&5
39562 sed 's/^/| /' conftest.$ac_ext >&5
39564 wx_cv_func_pthread_mutexattr_settype_decl=no
39568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39571 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39572 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39573 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39574 cat >>confdefs.h <<\_ACEOF
39575 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39580 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39581 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39582 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39583 echo $ECHO_N "(cached) $ECHO_C" >&6
39586 cat >conftest.$ac_ext <<_ACEOF
39589 cat confdefs.h >>conftest.$ac_ext
39590 cat >>conftest.$ac_ext <<_ACEOF
39591 /* end confdefs.h. */
39592 #include <pthread.h>
39597 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39603 rm -f conftest.$ac_objext
39604 if { (ac_try="$ac_compile"
39605 case "(($ac_try" in
39606 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39607 *) ac_try_echo
=$ac_try;;
39609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39610 (eval "$ac_compile") 2>conftest.er1
39612 grep -v '^ *+' conftest.er1
>conftest.err
39614 cat conftest.err
>&5
39615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39616 (exit $ac_status); } && {
39617 test -z "$ac_c_werror_flag" ||
39618 test ! -s conftest.err
39619 } && test -s conftest.
$ac_objext; then
39621 wx_cv_type_pthread_rec_mutex_init
=yes
39624 echo "$as_me: failed program was:" >&5
39625 sed 's/^/| /' conftest.
$ac_ext >&5
39628 wx_cv_type_pthread_rec_mutex_init
=no
39633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39636 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39637 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39638 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39639 cat >>confdefs.h
<<\_ACEOF
39640 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39644 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39645 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39651 if test "$wxUSE_THREADS" = "yes" ; then
39654 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39655 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39656 if test "${wx_cv_cflags_mthread+set}" = set; then
39657 echo $ECHO_N "(cached) $ECHO_C" >&6
39660 CFLAGS_OLD
="$CFLAGS"
39661 CFLAGS
="-mthreads $CFLAGS"
39662 cat >conftest.
$ac_ext <<_ACEOF
39665 cat confdefs.h
>>conftest.
$ac_ext
39666 cat >>conftest.
$ac_ext <<_ACEOF
39667 /* end confdefs.h. */
39677 rm -f conftest.
$ac_objext
39678 if { (ac_try
="$ac_compile"
39679 case "(($ac_try" in
39680 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39681 *) ac_try_echo=$ac_try;;
39683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39684 (eval "$ac_compile") 2>conftest.er1
39686 grep -v '^ *+' conftest.er1 >conftest.err
39688 cat conftest.err >&5
39689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39690 (exit $ac_status); } && {
39691 test -z "$ac_c_werror_flag" ||
39692 test ! -s conftest.err
39693 } && test -s conftest.$ac_objext; then
39694 wx_cv_cflags_mthread=yes
39696 echo "$as_me: failed program was:" >&5
39697 sed 's/^/| /' conftest.$ac_ext >&5
39699 wx_cv_cflags_mthread=no
39703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39707 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39708 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39710 if test "$wx_cv_cflags_mthread" = "yes"; then
39711 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39712 LDFLAGS="$LDFLAGS -mthreads"
39714 CFLAGS="$CFLAGS_OLD"
39718 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39719 LDFLAGS="$LDFLAGS -Zmt"
39725 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39726 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39727 if test "${ac_cv_func_localtime_r+set}" = set; then
39728 echo $ECHO_N "(cached) $ECHO_C" >&6
39730 cat >conftest.$ac_ext <<_ACEOF
39733 cat confdefs.h >>conftest.$ac_ext
39734 cat >>conftest.$ac_ext <<_ACEOF
39735 /* end confdefs.h. */
39736 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39738 #define localtime_r innocuous_localtime_r
39740 /* System header to define __stub macros and hopefully few prototypes,
39741 which can conflict with char localtime_r (); below.
39742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39743 <limits.h> exists even on freestanding compilers. */
39746 # include <limits.h>
39748 # include <assert.h>
39753 /* Override any GCC internal prototype to avoid an error.
39754 Use char because int might match the return type of a GCC
39755 builtin and then its argument prototype would still apply. */
39759 char localtime_r ();
39760 /* The GNU C library defines this for functions which it implements
39761 to always fail with ENOSYS. Some functions are actually named
39762 something starting with __ and the normal name is an alias. */
39763 #if defined __stub_localtime_r || defined __stub___localtime_r
39770 return localtime_r ();
39775 rm -f conftest.$ac_objext conftest$ac_exeext
39776 if { (ac_try="$ac_link"
39777 case "(($ac_try" in
39778 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39779 *) ac_try_echo
=$ac_try;;
39781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39782 (eval "$ac_link") 2>conftest.er1
39784 grep -v '^ *+' conftest.er1
>conftest.err
39786 cat conftest.err
>&5
39787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39788 (exit $ac_status); } && {
39789 test -z "$ac_c_werror_flag" ||
39790 test ! -s conftest.err
39791 } && test -s conftest
$ac_exeext &&
39792 $as_test_x conftest
$ac_exeext; then
39793 ac_cv_func_localtime_r
=yes
39795 echo "$as_me: failed program was:" >&5
39796 sed 's/^/| /' conftest.
$ac_ext >&5
39798 ac_cv_func_localtime_r
=no
39801 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39802 conftest
$ac_exeext conftest.
$ac_ext
39804 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39805 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39806 if test $ac_cv_func_localtime_r = yes; then
39807 cat >>confdefs.h
<<\_ACEOF
39808 #define HAVE_LOCALTIME_R 1
39813 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39814 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39815 if test "${ac_cv_func_gmtime_r+set}" = set; then
39816 echo $ECHO_N "(cached) $ECHO_C" >&6
39818 cat >conftest.
$ac_ext <<_ACEOF
39821 cat confdefs.h
>>conftest.
$ac_ext
39822 cat >>conftest.
$ac_ext <<_ACEOF
39823 /* end confdefs.h. */
39824 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39826 #define gmtime_r innocuous_gmtime_r
39828 /* System header to define __stub macros and hopefully few prototypes,
39829 which can conflict with char gmtime_r (); below.
39830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39831 <limits.h> exists even on freestanding compilers. */
39834 # include <limits.h>
39836 # include <assert.h>
39841 /* Override any GCC internal prototype to avoid an error.
39842 Use char because int might match the return type of a GCC
39843 builtin and then its argument prototype would still apply. */
39848 /* The GNU C library defines this for functions which it implements
39849 to always fail with ENOSYS. Some functions are actually named
39850 something starting with __ and the normal name is an alias. */
39851 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39858 return gmtime_r ();
39863 rm -f conftest.
$ac_objext conftest
$ac_exeext
39864 if { (ac_try
="$ac_link"
39865 case "(($ac_try" in
39866 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39867 *) ac_try_echo=$ac_try;;
39869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39870 (eval "$ac_link") 2>conftest.er1
39872 grep -v '^ *+' conftest.er1 >conftest.err
39874 cat conftest.err >&5
39875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39876 (exit $ac_status); } && {
39877 test -z "$ac_c_werror_flag" ||
39878 test ! -s conftest.err
39879 } && test -s conftest$ac_exeext &&
39880 $as_test_x conftest$ac_exeext; then
39881 ac_cv_func_gmtime_r=yes
39883 echo "$as_me: failed program was:" >&5
39884 sed 's/^/| /' conftest.$ac_ext >&5
39886 ac_cv_func_gmtime_r=no
39889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39890 conftest$ac_exeext conftest.$ac_ext
39892 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39893 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39894 if test $ac_cv_func_gmtime_r = yes; then
39895 cat >>confdefs.h <<\_ACEOF
39896 #define HAVE_GMTIME_R 1
39905 ac_cpp='$CPP $CPPFLAGS'
39906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39910 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39911 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39913 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39914 echo $ECHO_N "(cached) $ECHO_C" >&6
39918 ################################################################
39920 ac_cv_func_which_gethostbyname_r=unknown
39923 # ONE ARGUMENT (sanity check)
39926 # This should fail, as there is no variant of gethostbyname_r() that takes
39927 # a single argument. If it actually compiles, then we can assume that
39928 # netdb.h is not declaring the function, and the compiler is thereby
39929 # assuming an implicit prototype. In which case, we're out of luck.
39931 cat >conftest.$ac_ext <<_ACEOF
39934 cat confdefs.h >>conftest.$ac_ext
39935 cat >>conftest.$ac_ext <<_ACEOF
39936 /* end confdefs.h. */
39942 char *name = "www.gnu.org";
39943 (void)gethostbyname_r(name) /* ; */
39949 rm -f conftest.$ac_objext
39950 if { (ac_try="$ac_compile"
39951 case "(($ac_try" in
39952 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39953 *) ac_try_echo
=$ac_try;;
39955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39956 (eval "$ac_compile") 2>conftest.er1
39958 grep -v '^ *+' conftest.er1
>conftest.err
39960 cat conftest.err
>&5
39961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39962 (exit $ac_status); } && {
39963 test -z "$ac_c_werror_flag" ||
39964 test ! -s conftest.err
39965 } && test -s conftest.
$ac_objext; then
39966 ac_cv_func_which_gethostbyname_r
=no
39968 echo "$as_me: failed program was:" >&5
39969 sed 's/^/| /' conftest.
$ac_ext >&5
39974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39981 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39983 cat >conftest.
$ac_ext <<_ACEOF
39986 cat confdefs.h
>>conftest.
$ac_ext
39987 cat >>conftest.
$ac_ext <<_ACEOF
39988 /* end confdefs.h. */
39994 char *name = "www.gnu.org";
39995 struct hostent ret, *retp;
39999 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40005 rm -f conftest.
$ac_objext
40006 if { (ac_try
="$ac_compile"
40007 case "(($ac_try" in
40008 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40009 *) ac_try_echo=$ac_try;;
40011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40012 (eval "$ac_compile") 2>conftest.er1
40014 grep -v '^ *+' conftest.er1 >conftest.err
40016 cat conftest.err >&5
40017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40018 (exit $ac_status); } && {
40019 test -z "$ac_c_werror_flag" ||
40020 test ! -s conftest.err
40021 } && test -s conftest.$ac_objext; then
40022 ac_cv_func_which_gethostbyname_r=six
40024 echo "$as_me: failed program was:" >&5
40025 sed 's/^/| /' conftest.$ac_ext >&5
40030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40039 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40041 cat >conftest.$ac_ext <<_ACEOF
40044 cat confdefs.h >>conftest.$ac_ext
40045 cat >>conftest.$ac_ext <<_ACEOF
40046 /* end confdefs.h. */
40052 char *name = "www.gnu.org";
40053 struct hostent ret;
40057 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40063 rm -f conftest.$ac_objext
40064 if { (ac_try="$ac_compile"
40065 case "(($ac_try" in
40066 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40067 *) ac_try_echo
=$ac_try;;
40069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40070 (eval "$ac_compile") 2>conftest.er1
40072 grep -v '^ *+' conftest.er1
>conftest.err
40074 cat conftest.err
>&5
40075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40076 (exit $ac_status); } && {
40077 test -z "$ac_c_werror_flag" ||
40078 test ! -s conftest.err
40079 } && test -s conftest.
$ac_objext; then
40080 ac_cv_func_which_gethostbyname_r
=five
40082 echo "$as_me: failed program was:" >&5
40083 sed 's/^/| /' conftest.
$ac_ext >&5
40088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40094 # (e.g. AIX, HP-UX, Tru64)
40097 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40099 cat >conftest.
$ac_ext <<_ACEOF
40102 cat confdefs.h
>>conftest.
$ac_ext
40103 cat >>conftest.
$ac_ext <<_ACEOF
40104 /* end confdefs.h. */
40110 char *name = "www.gnu.org";
40111 struct hostent ret;
40112 struct hostent_data data;
40113 (void)gethostbyname_r(name, &ret, &data) /* ; */
40119 rm -f conftest.
$ac_objext
40120 if { (ac_try
="$ac_compile"
40121 case "(($ac_try" in
40122 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40123 *) ac_try_echo=$ac_try;;
40125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40126 (eval "$ac_compile") 2>conftest.er1
40128 grep -v '^ *+' conftest.er1 >conftest.err
40130 cat conftest.err >&5
40131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40132 (exit $ac_status); } && {
40133 test -z "$ac_c_werror_flag" ||
40134 test ! -s conftest.err
40135 } && test -s conftest.$ac_objext; then
40136 ac_cv_func_which_gethostbyname_r=three
40138 echo "$as_me: failed program was:" >&5
40139 sed 's/^/| /' conftest.$ac_ext >&5
40144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40148 ################################################################
40153 case "$ac_cv_func_which_gethostbyname_r" in
40155 { echo "$as_me:$LINENO: result: three" >&5
40156 echo "${ECHO_T}three" >&6; }
40157 cat >>confdefs.h <<\_ACEOF
40158 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40164 { echo "$as_me:$LINENO: result: five" >&5
40165 echo "${ECHO_T}five" >&6; }
40166 cat >>confdefs.h <<\_ACEOF
40167 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40173 { echo "$as_me:$LINENO: result: six" >&5
40174 echo "${ECHO_T}six" >&6; }
40175 cat >>confdefs.h <<\_ACEOF
40176 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40182 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40183 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40187 { echo "$as_me:$LINENO: result: can't tell" >&5
40188 echo "${ECHO_T}can't tell" >&6; }
40192 { { echo "$as_me:$LINENO: error: internal error" >&5
40193 echo "$as_me: error: internal error" >&2;}
40194 { (exit 1); exit 1; }; }
40199 ac_cpp='$CPP $CPPFLAGS'
40200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40206 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40207 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40208 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40209 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40210 if test "${ac_cv_func_gethostbyname+set}" = set; then
40211 echo $ECHO_N "(cached) $ECHO_C" >&6
40213 cat >conftest.$ac_ext <<_ACEOF
40216 cat confdefs.h >>conftest.$ac_ext
40217 cat >>conftest.$ac_ext <<_ACEOF
40218 /* end confdefs.h. */
40219 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40221 #define gethostbyname innocuous_gethostbyname
40223 /* System header to define __stub macros and hopefully few prototypes,
40224 which can conflict with char gethostbyname (); below.
40225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40226 <limits.h> exists even on freestanding compilers. */
40229 # include <limits.h>
40231 # include <assert.h>
40234 #undef gethostbyname
40236 /* Override any GCC internal prototype to avoid an error.
40237 Use char because int might match the return type of a GCC
40238 builtin and then its argument prototype would still apply. */
40242 char gethostbyname ();
40243 /* The GNU C library defines this for functions which it implements
40244 to always fail with ENOSYS. Some functions are actually named
40245 something starting with __ and the normal name is an alias. */
40246 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40253 return gethostbyname ();
40258 rm -f conftest.$ac_objext conftest$ac_exeext
40259 if { (ac_try="$ac_link"
40260 case "(($ac_try" in
40261 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40262 *) ac_try_echo
=$ac_try;;
40264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40265 (eval "$ac_link") 2>conftest.er1
40267 grep -v '^ *+' conftest.er1
>conftest.err
40269 cat conftest.err
>&5
40270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40271 (exit $ac_status); } && {
40272 test -z "$ac_c_werror_flag" ||
40273 test ! -s conftest.err
40274 } && test -s conftest
$ac_exeext &&
40275 $as_test_x conftest
$ac_exeext; then
40276 ac_cv_func_gethostbyname
=yes
40278 echo "$as_me: failed program was:" >&5
40279 sed 's/^/| /' conftest.
$ac_ext >&5
40281 ac_cv_func_gethostbyname
=no
40284 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40285 conftest
$ac_exeext conftest.
$ac_ext
40287 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40288 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40289 if test $ac_cv_func_gethostbyname = yes; then
40290 cat >>confdefs.h
<<\_ACEOF
40291 #define HAVE_GETHOSTBYNAME 1
40298 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40299 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40300 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40301 echo $ECHO_N "(cached) $ECHO_C" >&6
40305 ac_cpp
='$CXXCPP $CPPFLAGS'
40306 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40307 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40308 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40311 cat >conftest.
$ac_ext <<_ACEOF
40314 cat confdefs.h
>>conftest.
$ac_ext
40315 cat >>conftest.
$ac_ext <<_ACEOF
40316 /* end confdefs.h. */
40324 struct servent *se, *res;
40327 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40333 rm -f conftest.
$ac_objext
40334 if { (ac_try
="$ac_compile"
40335 case "(($ac_try" in
40336 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40337 *) ac_try_echo=$ac_try;;
40339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40340 (eval "$ac_compile") 2>conftest.er1
40342 grep -v '^ *+' conftest.er1 >conftest.err
40344 cat conftest.err >&5
40345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40346 (exit $ac_status); } && {
40347 test -z "$ac_cxx_werror_flag" ||
40348 test ! -s conftest.err
40349 } && test -s conftest.$ac_objext; then
40350 ac_cv_func_which_getservbyname_r=six
40352 echo "$as_me: failed program was:" >&5
40353 sed 's/^/| /' conftest.$ac_ext >&5
40356 cat >conftest.$ac_ext <<_ACEOF
40359 cat confdefs.h >>conftest.$ac_ext
40360 cat >>conftest.$ac_ext <<_ACEOF
40361 /* end confdefs.h. */
40369 struct servent *se;
40372 (void) getservbyname_r(name, proto, se, buffer, buflen)
40378 rm -f conftest.$ac_objext
40379 if { (ac_try="$ac_compile"
40380 case "(($ac_try" in
40381 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40382 *) ac_try_echo
=$ac_try;;
40384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40385 (eval "$ac_compile") 2>conftest.er1
40387 grep -v '^ *+' conftest.er1
>conftest.err
40389 cat conftest.err
>&5
40390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40391 (exit $ac_status); } && {
40392 test -z "$ac_cxx_werror_flag" ||
40393 test ! -s conftest.err
40394 } && test -s conftest.
$ac_objext; then
40395 ac_cv_func_which_getservbyname_r
=five
40397 echo "$as_me: failed program was:" >&5
40398 sed 's/^/| /' conftest.
$ac_ext >&5
40401 cat >conftest.
$ac_ext <<_ACEOF
40404 cat confdefs.h
>>conftest.
$ac_ext
40405 cat >>conftest.
$ac_ext <<_ACEOF
40406 /* end confdefs.h. */
40414 struct servent *se;
40415 struct servent_data data;
40416 (void) getservbyname_r(name, proto, se, &data);
40422 rm -f conftest.
$ac_objext
40423 if { (ac_try
="$ac_compile"
40424 case "(($ac_try" in
40425 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40426 *) ac_try_echo=$ac_try;;
40428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40429 (eval "$ac_compile") 2>conftest.er1
40431 grep -v '^ *+' conftest.er1 >conftest.err
40433 cat conftest.err >&5
40434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40435 (exit $ac_status); } && {
40436 test -z "$ac_cxx_werror_flag" ||
40437 test ! -s conftest.err
40438 } && test -s conftest.$ac_objext; then
40439 ac_cv_func_which_getservbyname_r=four
40441 echo "$as_me: failed program was:" >&5
40442 sed 's/^/| /' conftest.$ac_ext >&5
40444 ac_cv_func_which_getservbyname_r=no
40448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40460 ac_cpp='$CPP $CPPFLAGS'
40461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40468 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40469 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40471 if test $ac_cv_func_which_getservbyname_r = six; then
40472 cat >>confdefs.h <<\_ACEOF
40473 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40476 elif test $ac_cv_func_which_getservbyname_r = five; then
40477 cat >>confdefs.h <<\_ACEOF
40478 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40481 elif test $ac_cv_func_which_getservbyname_r = four; then
40482 cat >>confdefs.h <<\_ACEOF
40483 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40489 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40490 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40492 for ac_func in getservbyname
40494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40495 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40497 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40498 echo $ECHO_N "(cached) $ECHO_C" >&6
40500 cat >conftest.$ac_ext <<_ACEOF
40503 cat confdefs.h >>conftest.$ac_ext
40504 cat >>conftest.$ac_ext <<_ACEOF
40505 /* end confdefs.h. */
40506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40508 #define $ac_func innocuous_$ac_func
40510 /* System header to define __stub macros and hopefully few prototypes,
40511 which can conflict with char $ac_func (); below.
40512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40513 <limits.h> exists even on freestanding compilers. */
40516 # include <limits.h>
40518 # include <assert.h>
40523 /* Override any GCC internal prototype to avoid an error.
40524 Use char because int might match the return type of a GCC
40525 builtin and then its argument prototype would still apply. */
40530 /* The GNU C library defines this for functions which it implements
40531 to always fail with ENOSYS. Some functions are actually named
40532 something starting with __ and the normal name is an alias. */
40533 #if defined __stub_$ac_func || defined __stub___$ac_func
40540 return $ac_func ();
40545 rm -f conftest.$ac_objext conftest$ac_exeext
40546 if { (ac_try="$ac_link"
40547 case "(($ac_try" in
40548 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40549 *) ac_try_echo
=$ac_try;;
40551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40552 (eval "$ac_link") 2>conftest.er1
40554 grep -v '^ *+' conftest.er1
>conftest.err
40556 cat conftest.err
>&5
40557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40558 (exit $ac_status); } && {
40559 test -z "$ac_c_werror_flag" ||
40560 test ! -s conftest.err
40561 } && test -s conftest
$ac_exeext &&
40562 $as_test_x conftest
$ac_exeext; then
40563 eval "$as_ac_var=yes"
40565 echo "$as_me: failed program was:" >&5
40566 sed 's/^/| /' conftest.
$ac_ext >&5
40568 eval "$as_ac_var=no"
40571 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40572 conftest
$ac_exeext conftest.
$ac_ext
40574 ac_res
=`eval echo '${'$as_ac_var'}'`
40575 { echo "$as_me:$LINENO: result: $ac_res" >&5
40576 echo "${ECHO_T}$ac_res" >&6; }
40577 if test `eval echo '${'$as_ac_var'}'` = yes; then
40578 cat >>confdefs.h
<<_ACEOF
40579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40581 cat >>confdefs.h
<<\_ACEOF
40582 #define HAVE_GETSERVBYNAME 1
40590 if test "$wxUSE_THREADS" = "yes"; then
40591 cat >>confdefs.h
<<\_ACEOF
40592 #define wxUSE_THREADS 1
40596 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
40598 if test "$wx_cv_func_strtok_r" = "yes"; then
40599 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40600 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40601 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40602 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40603 { echo "$as_me:$LINENO: result: yes" >&5
40604 echo "${ECHO_T}yes" >&6; }
40606 { echo "$as_me:$LINENO: result: no" >&5
40607 echo "${ECHO_T}no" >&6; }
40612 if test "$WXGTK2" = 1 ; then
40613 cat >>confdefs.h
<<_ACEOF
40614 #define __WXGTK20__ $WXGTK2
40620 if test "$WXGTK12" = 1 ; then
40621 cat >>confdefs.h
<<_ACEOF
40622 #define __WXGTK12__ $WXGTK12
40627 if test "$WXGTK127" = 1 ; then
40628 cat >>confdefs.h
<<_ACEOF
40629 #define __WXGTK127__ $WXGTK127
40634 if test "$WXGPE" = 1 ; then
40635 cat >>confdefs.h
<<_ACEOF
40636 #define __WXGPE__ $WXGPE
40642 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40647 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40648 wxUSE_DEBUG_INFO
=yes
40649 if test "$GCC" = yes; then
40650 DEBUG_CFLAGS
="-ggdb"
40654 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40655 cat >>confdefs.h
<<\_ACEOF
40659 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40661 if test "$wxUSE_GTK" = 1 ; then
40662 if test "x$wxGTK_VERSION" = "x1" ; then
40663 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40668 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40669 cat >>confdefs.h
<<\_ACEOF
40670 #define wxUSE_MEMORY_TRACING 1
40673 cat >>confdefs.h
<<\_ACEOF
40674 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40677 cat >>confdefs.h
<<\_ACEOF
40678 #define wxUSE_DEBUG_NEW_ALWAYS 1
40681 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
40684 if test "$wxUSE_DMALLOC" = "yes" ; then
40685 DMALLOC_LIBS
="-ldmallocthcxx"
40689 if test "$wxUSE_PROFILE" = "yes" ; then
40690 PROFILE_FLAGS
=" -pg"
40693 if test "$GCC" = "yes" ; then
40694 if test "$wxUSE_NO_RTTI" = "yes" ; then
40695 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
40697 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40698 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
40700 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40701 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
40706 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
40709 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
40715 if test "$wxUSE_OPTIMISE" = "no" ; then
40716 if test "$GCC" = yes ; then
40717 OPTIMISE_CFLAGS
="-O0"
40720 if test "$GCC" = yes ; then
40722 *-pc-os2_emx | *-pc-os2-emx )
40723 OPTIMISE_CFLAGS
="-O2"
40726 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
40730 OPTIMISE_CFLAGS
="-O"
40735 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40736 cat >>confdefs.h
<<\_ACEOF
40737 #define WXWIN_COMPATIBILITY_2_6 1
40741 WXWIN_COMPATIBILITY_2_8
="yes"
40744 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40745 cat >>confdefs.h
<<\_ACEOF
40746 #define WXWIN_COMPATIBILITY_2_8 1
40752 if test "$wxUSE_GUI" = "yes"; then
40753 cat >>confdefs.h
<<\_ACEOF
40754 #define wxUSE_GUI 1
40761 if test "$wxUSE_UNIX" = "yes"; then
40762 cat >>confdefs.h
<<\_ACEOF
40763 #define wxUSE_UNIX 1
40769 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40773 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40774 if test "$USE_DARWIN" = 1; then
40776 elif test "$USE_DOS" = 1; then
40780 for ac_func
in dlopen
40782 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40783 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40785 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40786 echo $ECHO_N "(cached) $ECHO_C" >&6
40788 cat >conftest.
$ac_ext <<_ACEOF
40791 cat confdefs.h
>>conftest.
$ac_ext
40792 cat >>conftest.
$ac_ext <<_ACEOF
40793 /* end confdefs.h. */
40794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40796 #define $ac_func innocuous_$ac_func
40798 /* System header to define __stub macros and hopefully few prototypes,
40799 which can conflict with char $ac_func (); below.
40800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40801 <limits.h> exists even on freestanding compilers. */
40804 # include <limits.h>
40806 # include <assert.h>
40811 /* Override any GCC internal prototype to avoid an error.
40812 Use char because int might match the return type of a GCC
40813 builtin and then its argument prototype would still apply. */
40818 /* The GNU C library defines this for functions which it implements
40819 to always fail with ENOSYS. Some functions are actually named
40820 something starting with __ and the normal name is an alias. */
40821 #if defined __stub_$ac_func || defined __stub___$ac_func
40828 return $ac_func ();
40833 rm -f conftest.
$ac_objext conftest
$ac_exeext
40834 if { (ac_try
="$ac_link"
40835 case "(($ac_try" in
40836 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40837 *) ac_try_echo=$ac_try;;
40839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40840 (eval "$ac_link") 2>conftest.er1
40842 grep -v '^ *+' conftest.er1 >conftest.err
40844 cat conftest.err >&5
40845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40846 (exit $ac_status); } && {
40847 test -z "$ac_c_werror_flag" ||
40848 test ! -s conftest.err
40849 } && test -s conftest$ac_exeext &&
40850 $as_test_x conftest$ac_exeext; then
40851 eval "$as_ac_var=yes"
40853 echo "$as_me: failed program was:" >&5
40854 sed 's/^/| /' conftest.$ac_ext >&5
40856 eval "$as_ac_var=no"
40859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40860 conftest$ac_exeext conftest.$ac_ext
40862 ac_res=`eval echo '${'$as_ac_var'}'`
40863 { echo "$as_me:$LINENO: result: $ac_res" >&5
40864 echo "${ECHO_T}$ac_res" >&6; }
40865 if test `eval echo '${'$as_ac_var'}'` = yes; then
40866 cat >>confdefs.h <<_ACEOF
40867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40870 cat >>confdefs.h <<\_ACEOF
40871 #define HAVE_DLOPEN 1
40878 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40879 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40880 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40881 echo $ECHO_N "(cached) $ECHO_C" >&6
40883 ac_check_lib_save_LIBS=$LIBS
40885 cat >conftest.$ac_ext <<_ACEOF
40888 cat confdefs.h >>conftest.$ac_ext
40889 cat >>conftest.$ac_ext <<_ACEOF
40890 /* end confdefs.h. */
40892 /* Override any GCC internal prototype to avoid an error.
40893 Use char because int might match the return type of a GCC
40894 builtin and then its argument prototype would still apply. */
40907 rm -f conftest.$ac_objext conftest$ac_exeext
40908 if { (ac_try="$ac_link"
40909 case "(($ac_try" in
40910 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40911 *) ac_try_echo
=$ac_try;;
40913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40914 (eval "$ac_link") 2>conftest.er1
40916 grep -v '^ *+' conftest.er1
>conftest.err
40918 cat conftest.err
>&5
40919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40920 (exit $ac_status); } && {
40921 test -z "$ac_c_werror_flag" ||
40922 test ! -s conftest.err
40923 } && test -s conftest
$ac_exeext &&
40924 $as_test_x conftest
$ac_exeext; then
40925 ac_cv_lib_dl_dlopen
=yes
40927 echo "$as_me: failed program was:" >&5
40928 sed 's/^/| /' conftest.
$ac_ext >&5
40930 ac_cv_lib_dl_dlopen
=no
40933 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40934 conftest
$ac_exeext conftest.
$ac_ext
40935 LIBS
=$ac_check_lib_save_LIBS
40937 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40938 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40939 if test $ac_cv_lib_dl_dlopen = yes; then
40941 cat >>confdefs.h
<<\_ACEOF
40942 #define HAVE_DLOPEN 1
40946 DL_LINK
=" -ldl$DL_LINK"
40951 for ac_func
in shl_load
40953 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40954 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40956 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40957 echo $ECHO_N "(cached) $ECHO_C" >&6
40959 cat >conftest.
$ac_ext <<_ACEOF
40962 cat confdefs.h
>>conftest.
$ac_ext
40963 cat >>conftest.
$ac_ext <<_ACEOF
40964 /* end confdefs.h. */
40965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40967 #define $ac_func innocuous_$ac_func
40969 /* System header to define __stub macros and hopefully few prototypes,
40970 which can conflict with char $ac_func (); below.
40971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40972 <limits.h> exists even on freestanding compilers. */
40975 # include <limits.h>
40977 # include <assert.h>
40982 /* Override any GCC internal prototype to avoid an error.
40983 Use char because int might match the return type of a GCC
40984 builtin and then its argument prototype would still apply. */
40989 /* The GNU C library defines this for functions which it implements
40990 to always fail with ENOSYS. Some functions are actually named
40991 something starting with __ and the normal name is an alias. */
40992 #if defined __stub_$ac_func || defined __stub___$ac_func
40999 return $ac_func ();
41004 rm -f conftest.
$ac_objext conftest
$ac_exeext
41005 if { (ac_try
="$ac_link"
41006 case "(($ac_try" in
41007 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41008 *) ac_try_echo=$ac_try;;
41010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41011 (eval "$ac_link") 2>conftest.er1
41013 grep -v '^ *+' conftest.er1 >conftest.err
41015 cat conftest.err >&5
41016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41017 (exit $ac_status); } && {
41018 test -z "$ac_c_werror_flag" ||
41019 test ! -s conftest.err
41020 } && test -s conftest$ac_exeext &&
41021 $as_test_x conftest$ac_exeext; then
41022 eval "$as_ac_var=yes"
41024 echo "$as_me: failed program was:" >&5
41025 sed 's/^/| /' conftest.$ac_ext >&5
41027 eval "$as_ac_var=no"
41030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41031 conftest$ac_exeext conftest.$ac_ext
41033 ac_res=`eval echo '${'$as_ac_var'}'`
41034 { echo "$as_me:$LINENO: result: $ac_res" >&5
41035 echo "${ECHO_T}$ac_res" >&6; }
41036 if test `eval echo '${'$as_ac_var'}'` = yes; then
41037 cat >>confdefs.h <<_ACEOF
41038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41041 cat >>confdefs.h <<\_ACEOF
41042 #define HAVE_SHL_LOAD 1
41049 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41050 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41051 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41052 echo $ECHO_N "(cached) $ECHO_C" >&6
41054 ac_check_lib_save_LIBS=$LIBS
41055 LIBS="-lshl_load $LIBS"
41056 cat >conftest.$ac_ext <<_ACEOF
41059 cat confdefs.h >>conftest.$ac_ext
41060 cat >>conftest.$ac_ext <<_ACEOF
41061 /* end confdefs.h. */
41063 /* Override any GCC internal prototype to avoid an error.
41064 Use char because int might match the return type of a GCC
41065 builtin and then its argument prototype would still apply. */
41078 rm -f conftest.$ac_objext conftest$ac_exeext
41079 if { (ac_try="$ac_link"
41080 case "(($ac_try" in
41081 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41082 *) ac_try_echo
=$ac_try;;
41084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41085 (eval "$ac_link") 2>conftest.er1
41087 grep -v '^ *+' conftest.er1
>conftest.err
41089 cat conftest.err
>&5
41090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41091 (exit $ac_status); } && {
41092 test -z "$ac_c_werror_flag" ||
41093 test ! -s conftest.err
41094 } && test -s conftest
$ac_exeext &&
41095 $as_test_x conftest
$ac_exeext; then
41096 ac_cv_lib_shl_load_dld
=yes
41098 echo "$as_me: failed program was:" >&5
41099 sed 's/^/| /' conftest.
$ac_ext >&5
41101 ac_cv_lib_shl_load_dld
=no
41104 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41105 conftest
$ac_exeext conftest.
$ac_ext
41106 LIBS
=$ac_check_lib_save_LIBS
41108 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41109 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41110 if test $ac_cv_lib_shl_load_dld = yes; then
41113 DL_LINK
=" -ldld$DL_LINK"
41129 if test "$HAVE_DL_FUNCS" = 1; then
41131 for ac_func
in dlerror
41133 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41134 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41136 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41137 echo $ECHO_N "(cached) $ECHO_C" >&6
41139 cat >conftest.
$ac_ext <<_ACEOF
41142 cat confdefs.h
>>conftest.
$ac_ext
41143 cat >>conftest.
$ac_ext <<_ACEOF
41144 /* end confdefs.h. */
41145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41147 #define $ac_func innocuous_$ac_func
41149 /* System header to define __stub macros and hopefully few prototypes,
41150 which can conflict with char $ac_func (); below.
41151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41152 <limits.h> exists even on freestanding compilers. */
41155 # include <limits.h>
41157 # include <assert.h>
41162 /* Override any GCC internal prototype to avoid an error.
41163 Use char because int might match the return type of a GCC
41164 builtin and then its argument prototype would still apply. */
41169 /* The GNU C library defines this for functions which it implements
41170 to always fail with ENOSYS. Some functions are actually named
41171 something starting with __ and the normal name is an alias. */
41172 #if defined __stub_$ac_func || defined __stub___$ac_func
41179 return $ac_func ();
41184 rm -f conftest.
$ac_objext conftest
$ac_exeext
41185 if { (ac_try
="$ac_link"
41186 case "(($ac_try" in
41187 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41188 *) ac_try_echo=$ac_try;;
41190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41191 (eval "$ac_link") 2>conftest.er1
41193 grep -v '^ *+' conftest.er1 >conftest.err
41195 cat conftest.err >&5
41196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41197 (exit $ac_status); } && {
41198 test -z "$ac_c_werror_flag" ||
41199 test ! -s conftest.err
41200 } && test -s conftest$ac_exeext &&
41201 $as_test_x conftest$ac_exeext; then
41202 eval "$as_ac_var=yes"
41204 echo "$as_me: failed program was:" >&5
41205 sed 's/^/| /' conftest.$ac_ext >&5
41207 eval "$as_ac_var=no"
41210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41211 conftest$ac_exeext conftest.$ac_ext
41213 ac_res=`eval echo '${'$as_ac_var'}'`
41214 { echo "$as_me:$LINENO: result: $ac_res" >&5
41215 echo "${ECHO_T}$ac_res" >&6; }
41216 if test `eval echo '${'$as_ac_var'}'` = yes; then
41217 cat >>confdefs.h <<_ACEOF
41218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41220 cat >>confdefs.h <<\_ACEOF
41221 #define HAVE_DLERROR 1
41226 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41227 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41228 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41229 echo $ECHO_N "(cached) $ECHO_C" >&6
41231 ac_check_lib_save_LIBS=$LIBS
41233 cat >conftest.$ac_ext <<_ACEOF
41236 cat confdefs.h >>conftest.$ac_ext
41237 cat >>conftest.$ac_ext <<_ACEOF
41238 /* end confdefs.h. */
41240 /* Override any GCC internal prototype to avoid an error.
41241 Use char because int might match the return type of a GCC
41242 builtin and then its argument prototype would still apply. */
41255 rm -f conftest.$ac_objext conftest$ac_exeext
41256 if { (ac_try="$ac_link"
41257 case "(($ac_try" in
41258 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41259 *) ac_try_echo
=$ac_try;;
41261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41262 (eval "$ac_link") 2>conftest.er1
41264 grep -v '^ *+' conftest.er1
>conftest.err
41266 cat conftest.err
>&5
41267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41268 (exit $ac_status); } && {
41269 test -z "$ac_c_werror_flag" ||
41270 test ! -s conftest.err
41271 } && test -s conftest
$ac_exeext &&
41272 $as_test_x conftest
$ac_exeext; then
41273 ac_cv_lib_dl_dlerror
=yes
41275 echo "$as_me: failed program was:" >&5
41276 sed 's/^/| /' conftest.
$ac_ext >&5
41278 ac_cv_lib_dl_dlerror
=no
41281 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41282 conftest
$ac_exeext conftest.
$ac_ext
41283 LIBS
=$ac_check_lib_save_LIBS
41285 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41286 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41287 if test $ac_cv_lib_dl_dlerror = yes; then
41288 cat >>confdefs.h
<<\_ACEOF
41289 #define HAVE_DLERROR 1
41302 if test "$HAVE_DL_FUNCS" = 0; then
41303 if test "$HAVE_SHL_FUNCS" = 0; then
41304 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41305 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41306 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41307 wxUSE_DYNAMIC_LOADER
=no
41308 wxUSE_DYNLIB_CLASS
=no
41310 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41311 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41318 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41319 cat >>confdefs.h
<<\_ACEOF
41320 #define wxUSE_DYNAMIC_LOADER 1
41324 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41325 cat >>confdefs.h
<<\_ACEOF
41326 #define wxUSE_DYNLIB_CLASS 1
41333 if test "$wxUSE_PLUGINS" = "yes" ; then
41334 if test "$wxUSE_SHARED" = "no" ; then
41335 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41336 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41339 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41340 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41341 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41344 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41345 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41346 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41349 if test "$wxUSE_PLUGINS" = "yes" ; then
41350 cat >>confdefs.h
<<\_ACEOF
41351 #define wxUSE_PLUGINS 1
41358 if test "$wxUSE_STL" = "yes"; then
41359 cat >>confdefs.h
<<\_ACEOF
41360 #define wxUSE_STL 1
41365 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41366 cat >>confdefs.h
<<\_ACEOF
41367 #define wxUSE_EXTENDED_RTTI 1
41372 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41373 cat >>confdefs.h
<<\_ACEOF
41374 #define wxUSE_APPLE_IEEE 1
41379 if test "$wxUSE_TIMER" = "yes"; then
41380 cat >>confdefs.h
<<\_ACEOF
41381 #define wxUSE_TIMER 1
41386 if test "$USE_UNIX" = 1 ; then
41387 if test "$wxUSE_MGL" != 1; then
41388 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41389 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41390 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41391 echo $ECHO_N "(cached) $ECHO_C" >&6
41394 cat >conftest.
$ac_ext <<_ACEOF
41397 cat confdefs.h
>>conftest.
$ac_ext
41398 cat >>conftest.
$ac_ext <<_ACEOF
41399 /* end confdefs.h. */
41401 #include <sys/ioctl.h>
41402 #include <sys/soundcard.h>
41408 ioctl(0, SNDCTL_DSP_SPEED, 0);
41414 rm -f conftest.
$ac_objext conftest
$ac_exeext
41415 if { (ac_try
="$ac_link"
41416 case "(($ac_try" in
41417 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41418 *) ac_try_echo=$ac_try;;
41420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41421 (eval "$ac_link") 2>conftest.er1
41423 grep -v '^ *+' conftest.er1 >conftest.err
41425 cat conftest.err >&5
41426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41427 (exit $ac_status); } && {
41428 test -z "$ac_c_werror_flag" ||
41429 test ! -s conftest.err
41430 } && test -s conftest$ac_exeext &&
41431 $as_test_x conftest$ac_exeext; then
41432 ac_cv_header_sys_soundcard=yes
41434 echo "$as_me: failed program was:" >&5
41435 sed 's/^/| /' conftest.$ac_ext >&5
41439 LIBS="$saveLibs -lossaudio"
41440 cat >conftest.$ac_ext <<_ACEOF
41443 cat confdefs.h >>conftest.$ac_ext
41444 cat >>conftest.$ac_ext <<_ACEOF
41445 /* end confdefs.h. */
41447 #include <sys/ioctl.h>
41448 #include <sys/soundcard.h>
41454 ioctl(0, SNDCTL_DSP_SPEED, 0);
41460 rm -f conftest.$ac_objext conftest$ac_exeext
41461 if { (ac_try="$ac_link"
41462 case "(($ac_try" in
41463 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41464 *) ac_try_echo
=$ac_try;;
41466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41467 (eval "$ac_link") 2>conftest.er1
41469 grep -v '^ *+' conftest.er1
>conftest.err
41471 cat conftest.err
>&5
41472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41473 (exit $ac_status); } && {
41474 test -z "$ac_c_werror_flag" ||
41475 test ! -s conftest.err
41476 } && test -s conftest
$ac_exeext &&
41477 $as_test_x conftest
$ac_exeext; then
41478 ac_cv_header_sys_soundcard
=yes
41480 echo "$as_me: failed program was:" >&5
41481 sed 's/^/| /' conftest.
$ac_ext >&5
41485 ac_cv_header_sys_soundcard
=no
41490 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41491 conftest
$ac_exeext conftest.
$ac_ext
41496 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41497 conftest
$ac_exeext conftest.
$ac_ext
41500 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41501 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41504 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41505 cat >>confdefs.h
<<\_ACEOF
41506 #define HAVE_SYS_SOUNDCARD_H 1
41513 if test "$wxUSE_SOUND" = "yes"; then
41514 if test "$USE_UNIX" = 1 ; then
41515 if test "$wxUSE_LIBSDL" != "no"; then
41517 # Check whether --with-sdl-prefix was given.
41518 if test "${with_sdl_prefix+set}" = set; then
41519 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
41525 # Check whether --with-sdl-exec-prefix was given.
41526 if test "${with_sdl_exec_prefix+set}" = set; then
41527 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
41532 # Check whether --enable-sdltest was given.
41533 if test "${enable_sdltest+set}" = set; then
41534 enableval
=$enable_sdltest;
41540 if test x
$sdl_exec_prefix != x
; then
41541 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
41542 if test x
${SDL_CONFIG+set} != xset
; then
41543 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
41546 if test x
$sdl_prefix != x
; then
41547 sdl_args
="$sdl_args --prefix=$sdl_prefix"
41548 if test x
${SDL_CONFIG+set} != xset
; then
41549 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
41553 if test "x$prefix" != xNONE
; then
41554 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
41556 # Extract the first word of "sdl-config", so it can be a program name with args.
41557 set dummy sdl
-config; ac_word
=$2
41558 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41560 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41561 echo $ECHO_N "(cached) $ECHO_C" >&6
41563 case $SDL_CONFIG in
41565 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
41568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41569 for as_dir
in $PATH
41572 test -z "$as_dir" && as_dir
=.
41573 for ac_exec_ext
in '' $ac_executable_extensions; do
41574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41575 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41583 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
41587 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
41588 if test -n "$SDL_CONFIG"; then
41589 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41590 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41592 { echo "$as_me:$LINENO: result: no" >&5
41593 echo "${ECHO_T}no" >&6; }
41597 min_sdl_version
=1.2.0
41598 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41599 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41601 if test "$SDL_CONFIG" = "no" ; then
41604 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
41605 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
41607 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
41608 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41609 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
41610 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41611 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
41612 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41613 if test "x$enable_sdltest" = "xyes" ; then
41614 ac_save_CFLAGS
="$CFLAGS"
41615 ac_save_CXXFLAGS
="$CXXFLAGS"
41616 ac_save_LIBS
="$LIBS"
41617 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41618 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41619 LIBS
="$LIBS $SDL_LIBS"
41621 if test "$cross_compiling" = yes; then
41622 echo $ac_n "cross compiling; assumed OK... $ac_c"
41624 cat >conftest.
$ac_ext <<_ACEOF
41627 cat confdefs.h
>>conftest.
$ac_ext
41628 cat >>conftest.
$ac_ext <<_ACEOF
41629 /* end confdefs.h. */
41632 #include <stdlib.h>
41633 #include <string.h>
41637 my_strdup (char *str)
41643 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41644 strcpy (new_str, str);
41652 int main (int argc, char *argv[])
41654 int major, minor, micro;
41657 /* This hangs on some systems (?)
41658 system ("touch conf.sdltest");
41660 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41662 /* HP/UX 9 (%@#!) writes to sscanf strings */
41663 tmp_version = my_strdup("$min_sdl_version");
41664 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41665 printf("%s, bad version string\n", "$min_sdl_version");
41669 if (($sdl_major_version > major) ||
41670 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41671 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41677 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41678 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41679 printf("*** best to upgrade to the required version.\n");
41680 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41681 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41682 printf("*** config.cache before re-running configure\n");
41689 rm -f conftest
$ac_exeext
41690 if { (ac_try
="$ac_link"
41691 case "(($ac_try" in
41692 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41693 *) ac_try_echo=$ac_try;;
41695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41696 (eval "$ac_link") 2>&5
41698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41699 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41700 { (case "(($ac_try" in
41701 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41702 *) ac_try_echo
=$ac_try;;
41704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41705 (eval "$ac_try") 2>&5
41707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41708 (exit $ac_status); }; }; then
41711 echo "$as_me: program exited with status $ac_status" >&5
41712 echo "$as_me: failed program was:" >&5
41713 sed 's/^/| /' conftest.
$ac_ext >&5
41715 ( exit $ac_status )
41718 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
41722 CFLAGS
="$ac_save_CFLAGS"
41723 CXXFLAGS
="$ac_save_CXXFLAGS"
41724 LIBS
="$ac_save_LIBS"
41727 if test "x$no_sdl" = x
; then
41728 { echo "$as_me:$LINENO: result: yes" >&5
41729 echo "${ECHO_T}yes" >&6; }
41731 EXTRALIBS_SDL
="$SDL_LIBS"
41732 CFLAGS
="$SDL_CFLAGS $CFLAGS"
41733 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
41734 cat >>confdefs.h
<<\_ACEOF
41735 #define wxUSE_LIBSDL 1
41740 { echo "$as_me:$LINENO: result: no" >&5
41741 echo "${ECHO_T}no" >&6; }
41742 if test "$SDL_CONFIG" = "no" ; then
41743 echo "*** The sdl-config script installed by SDL could not be found"
41744 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41745 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41746 echo "*** full path to sdl-config."
41748 if test -f conf.sdltest
; then
41751 echo "*** Could not run SDL test program, checking why..."
41752 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41753 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41754 LIBS
="$LIBS $SDL_LIBS"
41755 cat >conftest.
$ac_ext <<_ACEOF
41758 cat confdefs.h
>>conftest.
$ac_ext
41759 cat >>conftest.
$ac_ext <<_ACEOF
41760 /* end confdefs.h. */
41765 int main(int argc, char *argv[])
41768 #define main K_and_R_C_main
41778 rm -f conftest.
$ac_objext conftest
$ac_exeext
41779 if { (ac_try
="$ac_link"
41780 case "(($ac_try" in
41781 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41782 *) ac_try_echo=$ac_try;;
41784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41785 (eval "$ac_link") 2>conftest.er1
41787 grep -v '^ *+' conftest.er1 >conftest.err
41789 cat conftest.err >&5
41790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41791 (exit $ac_status); } && {
41792 test -z "$ac_c_werror_flag" ||
41793 test ! -s conftest.err
41794 } && test -s conftest$ac_exeext &&
41795 $as_test_x conftest$ac_exeext; then
41796 echo "*** The test program compiled, but did not run. This usually means"
41797 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41798 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41799 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41800 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41801 echo "*** is required on your system"
41803 echo "*** If you have an old version installed, it is best to remove it, although"
41804 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41806 echo "$as_me: failed program was:" >&5
41807 sed 's/^/| /' conftest.$ac_ext >&5
41809 echo "*** The test program failed to compile or link. See the file config.log for the"
41810 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41811 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41812 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41816 conftest$ac_exeext conftest.$ac_ext
41817 CFLAGS="$ac_save_CFLAGS"
41818 CXXFLAGS="$ac_save_CXXFLAGS"
41819 LIBS="$ac_save_LIBS"
41830 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41835 if test "$wxUSE_MGL" = 1; then
41836 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41837 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41843 if test "$wxUSE_SOUND" = "yes"; then
41844 cat >>confdefs.h <<\_ACEOF
41845 #define wxUSE_SOUND 1
41848 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41851 if test "$WXGTK2" = 1; then
41854 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41855 if test -n "$ac_tool_prefix"; then
41856 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41857 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41858 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41860 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41861 echo $ECHO_N "(cached) $ECHO_C" >&6
41863 case $PKG_CONFIG in
41865 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41869 for as_dir in $PATH
41872 test -z "$as_dir" && as_dir=.
41873 for ac_exec_ext in '' $ac_executable_extensions; do
41874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41875 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41886 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41887 if test -n "$PKG_CONFIG"; then
41888 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41889 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41891 { echo "$as_me:$LINENO: result: no" >&5
41892 echo "${ECHO_T}no" >&6; }
41897 if test -z "$ac_cv_path_PKG_CONFIG"; then
41898 ac_pt_PKG_CONFIG=$PKG_CONFIG
41899 # Extract the first word of "pkg-config", so it can be a program name with args.
41900 set dummy pkg-config; ac_word=$2
41901 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41903 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41904 echo $ECHO_N "(cached) $ECHO_C" >&6
41906 case $ac_pt_PKG_CONFIG in
41908 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41912 for as_dir in $PATH
41915 test -z "$as_dir" && as_dir=.
41916 for ac_exec_ext in '' $ac_executable_extensions; do
41917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41918 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41929 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41930 if test -n "$ac_pt_PKG_CONFIG"; then
41931 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41932 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41934 { echo "$as_me:$LINENO: result: no" >&5
41935 echo "${ECHO_T}no" >&6; }
41938 if test "x$ac_pt_PKG_CONFIG" = x; then
41941 case $cross_compiling:$ac_tool_warned in
41943 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41944 whose name does not start with the host triplet. If you think this
41945 configuration is useful to you, please write to autoconf@gnu.org." >&5
41946 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41947 whose name does not start with the host triplet. If you think this
41948 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41949 ac_tool_warned=yes ;;
41951 PKG_CONFIG=$ac_pt_PKG_CONFIG
41954 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41958 if test -n "$PKG_CONFIG"; then
41959 _pkg_min_version=0.9.0
41960 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41961 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41962 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41963 { echo "$as_me:$LINENO: result: yes" >&5
41964 echo "${ECHO_T}yes" >&6; }
41966 { echo "$as_me:$LINENO: result: no" >&5
41967 echo "${ECHO_T}no" >&6; }
41973 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41975 if test "$wxUSE_GTKPRINT" = "yes" ; then
41979 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
41980 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
41982 if test -n "$PKG_CONFIG"; then
41983 if test -n "$GTKPRINT_CFLAGS"; then
41984 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
41986 if test -n "$PKG_CONFIG" && \
41987 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
41988 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
41990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41991 (exit $ac_status); }; then
41992 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
42000 if test -n "$PKG_CONFIG"; then
42001 if test -n "$GTKPRINT_LIBS"; then
42002 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42004 if test -n "$PKG_CONFIG" && \
42005 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42006 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42009 (exit $ac_status); }; then
42010 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
42021 if test $pkg_failed = yes; then
42023 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42024 _pkg_short_errors_supported=yes
42026 _pkg_short_errors_supported=no
42028 if test $_pkg_short_errors_supported = yes; then
42029 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42031 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42033 # Put the nasty error message in config.log where it belongs
42034 echo "$GTKPRINT_PKG_ERRORS" >&5
42037 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42038 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42039 wxUSE_GTKPRINT="no"
42042 elif test $pkg_failed = untried; then
42044 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42045 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42046 wxUSE_GTKPRINT="no"
42050 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42051 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42052 { echo "$as_me:$LINENO: result: yes" >&5
42053 echo "${ECHO_T}yes" >&6; }
42055 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42056 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42057 cat >>confdefs.h <<\_ACEOF
42058 #define wxUSE_GTKPRINT 1
42065 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42069 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42070 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42072 if test -n "$PKG_CONFIG"; then
42073 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42074 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42076 if test -n "$PKG_CONFIG" && \
42077 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42078 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42081 (exit $ac_status); }; then
42082 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
42090 if test -n "$PKG_CONFIG"; then
42091 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42092 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42094 if test -n "$PKG_CONFIG" && \
42095 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42096 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42099 (exit $ac_status); }; then
42100 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
42111 if test $pkg_failed = yes; then
42113 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42114 _pkg_short_errors_supported=yes
42116 _pkg_short_errors_supported=no
42118 if test $_pkg_short_errors_supported = yes; then
42119 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42121 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42123 # Put the nasty error message in config.log where it belongs
42124 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42127 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42128 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42129 wxUSE_LIBGNOMEPRINT="no"
42132 elif test $pkg_failed = untried; then
42134 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42135 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42136 wxUSE_LIBGNOMEPRINT="no"
42140 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42141 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42142 { echo "$as_me:$LINENO: result: yes" >&5
42143 echo "${ECHO_T}yes" >&6; }
42145 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42146 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42147 cat >>confdefs.h <<\_ACEOF
42148 #define wxUSE_LIBGNOMEPRINT 1
42156 if test "$wxUSE_MIMETYPE" = "yes" ; then
42157 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42161 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42162 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42164 if test -n "$PKG_CONFIG"; then
42165 if test -n "$GNOMEVFS_CFLAGS"; then
42166 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42168 if test -n "$PKG_CONFIG" && \
42169 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42170 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42173 (exit $ac_status); }; then
42174 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
42182 if test -n "$PKG_CONFIG"; then
42183 if test -n "$GNOMEVFS_LIBS"; then
42184 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42186 if test -n "$PKG_CONFIG" && \
42187 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42188 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42191 (exit $ac_status); }; then
42192 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
42203 if test $pkg_failed = yes; then
42205 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42206 _pkg_short_errors_supported=yes
42208 _pkg_short_errors_supported=no
42210 if test $_pkg_short_errors_supported = yes; then
42211 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42213 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42215 # Put the nasty error message in config.log where it belongs
42216 echo "$GNOMEVFS_PKG_ERRORS" >&5
42219 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42220 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42221 wxUSE_LIBGNOMEVFS="no"
42224 elif test $pkg_failed = untried; then
42226 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42227 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42228 wxUSE_LIBGNOMEVFS="no"
42232 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42233 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42234 { echo "$as_me:$LINENO: result: yes" >&5
42235 echo "${ECHO_T}yes" >&6; }
42237 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42238 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42239 cat >>confdefs.h <<\_ACEOF
42240 #define wxUSE_LIBGNOMEVFS 1
42248 if test "$wxUSE_LIBHILDON" = "yes" ; then
42251 { echo "$as_me:$LINENO: checking for HILDON" >&5
42252 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42254 if test -n "$PKG_CONFIG"; then
42255 if test -n "$HILDON_CFLAGS"; then
42256 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42258 if test -n "$PKG_CONFIG" && \
42259 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42260 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42263 (exit $ac_status); }; then
42264 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev
/null
`
42272 if test -n "$PKG_CONFIG"; then
42273 if test -n "$HILDON_LIBS"; then
42274 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42276 if test -n "$PKG_CONFIG" && \
42277 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42278 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42281 (exit $ac_status); }; then
42282 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev
/null
`
42293 if test $pkg_failed = yes; then
42295 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42296 _pkg_short_errors_supported=yes
42298 _pkg_short_errors_supported=no
42300 if test $_pkg_short_errors_supported = yes; then
42301 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42303 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42305 # Put the nasty error message in config.log where it belongs
42306 echo "$HILDON_PKG_ERRORS" >&5
42309 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42310 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42311 wxUSE_LIBHILDON="no"
42314 elif test $pkg_failed = untried; then
42316 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42317 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42318 wxUSE_LIBHILDON="no"
42322 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42323 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42324 { echo "$as_me:$LINENO: result: yes" >&5
42325 echo "${ECHO_T}yes" >&6; }
42327 EXTRALIBS_HILDON="$HILDON_LIBS"
42328 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42329 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42330 cat >>confdefs.h <<\_ACEOF
42331 #define wxUSE_LIBHILDON 1
42339 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42340 cat >>confdefs.h <<\_ACEOF
42341 #define wxUSE_CMDLINE_PARSER 1
42346 if test "$wxUSE_STOPWATCH" = "yes"; then
42347 cat >>confdefs.h <<\_ACEOF
42348 #define wxUSE_STOPWATCH 1
42353 if test "$wxUSE_DATETIME" = "yes"; then
42354 cat >>confdefs.h <<\_ACEOF
42355 #define wxUSE_DATETIME 1
42360 if test "$wxUSE_FILE" = "yes"; then
42361 cat >>confdefs.h <<\_ACEOF
42362 #define wxUSE_FILE 1
42367 if test "$wxUSE_FFILE" = "yes"; then
42368 cat >>confdefs.h <<\_ACEOF
42369 #define wxUSE_FFILE 1
42374 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42375 if test "$wxUSE_STREAMS" != yes; then
42376 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42377 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42378 wxUSE_ARCHIVE_STREAMS=no
42380 cat >>confdefs.h <<\_ACEOF
42381 #define wxUSE_ARCHIVE_STREAMS 1
42387 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42388 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42389 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42390 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42391 elif test "$wxUSE_ZLIB" = "no"; then
42392 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42393 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42395 cat >>confdefs.h <<\_ACEOF
42396 #define wxUSE_ZIPSTREAM 1
42402 if test "$wxUSE_TARSTREAM" = "yes"; then
42403 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42404 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42405 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42407 cat >>confdefs.h <<\_ACEOF
42408 #define wxUSE_TARSTREAM 1
42414 if test "$wxUSE_FILESYSTEM" = "yes"; then
42415 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42416 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42417 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42418 wxUSE_FILESYSTEM=no
42420 cat >>confdefs.h <<\_ACEOF
42421 #define wxUSE_FILESYSTEM 1
42427 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42428 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42429 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42430 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42432 cat >>confdefs.h <<\_ACEOF
42433 #define wxUSE_FS_ARCHIVE 1
42439 if test "$wxUSE_FS_ZIP" = "yes"; then
42440 if test "$wxUSE_FS_ARCHIVE" != yes; then
42441 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42442 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42444 cat >>confdefs.h <<\_ACEOF
42445 #define wxUSE_FS_ZIP 1
42451 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42452 if test "$USE_UNIX" != 1; then
42453 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42454 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42455 wxUSE_ON_FATAL_EXCEPTION=no
42457 cat >>confdefs.h <<\_ACEOF
42458 #define wxUSE_ON_FATAL_EXCEPTION 1
42464 if test "$wxUSE_STACKWALKER" = "yes"; then
42465 cat >>confdefs.h <<\_ACEOF
42466 #define wxUSE_STACKWALKER 1
42471 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42472 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42473 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42474 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42475 wxUSE_DEBUGREPORT=no
42477 cat >>confdefs.h <<\_ACEOF
42478 #define wxUSE_DEBUGREPORT 1
42481 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42482 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42487 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42488 cat >>confdefs.h <<\_ACEOF
42489 #define wxUSE_SNGLINST_CHECKER 1
42494 if test "$wxUSE_BUSYINFO" = "yes"; then
42495 cat >>confdefs.h <<\_ACEOF
42496 #define wxUSE_BUSYINFO 1
42501 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42502 cat >>confdefs.h <<\_ACEOF
42503 #define wxUSE_STD_IOSTREAM 1
42508 if test "$wxUSE_STD_STRING" = "yes"; then
42509 cat >>confdefs.h <<\_ACEOF
42510 #define wxUSE_STD_STRING 1
42515 if test "$wxUSE_STDPATHS" = "yes"; then
42516 cat >>confdefs.h <<\_ACEOF
42517 #define wxUSE_STDPATHS 1
42522 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42523 cat >>confdefs.h <<\_ACEOF
42524 #define wxUSE_TEXTBUFFER 1
42529 if test "$wxUSE_TEXTFILE" = "yes"; then
42530 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42531 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42532 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42534 cat >>confdefs.h <<\_ACEOF
42535 #define wxUSE_TEXTFILE 1
42541 if test "$wxUSE_CONFIG" = "yes" ; then
42542 if test "$wxUSE_TEXTFILE" != "yes"; then
42543 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42544 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42546 cat >>confdefs.h <<\_ACEOF
42547 #define wxUSE_CONFIG 1
42550 cat >>confdefs.h <<\_ACEOF
42551 #define wxUSE_CONFIG_NATIVE 1
42554 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42558 if test "$wxUSE_INTL" = "yes" ; then
42559 if test "$wxUSE_FILE" != "yes"; then
42560 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42561 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42563 cat >>confdefs.h <<\_ACEOF
42564 #define wxUSE_INTL 1
42567 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42568 GUIDIST="$GUIDIST INTL_DIST"
42572 if test "$wxUSE_LOG" = "yes"; then
42573 cat >>confdefs.h <<\_ACEOF
42574 #define wxUSE_LOG 1
42578 if test "$wxUSE_LOGGUI" = "yes"; then
42579 cat >>confdefs.h <<\_ACEOF
42580 #define wxUSE_LOGGUI 1
42585 if test "$wxUSE_LOGWINDOW" = "yes"; then
42586 cat >>confdefs.h <<\_ACEOF
42587 #define wxUSE_LOGWINDOW 1
42592 if test "$wxUSE_LOGDIALOG" = "yes"; then
42593 cat >>confdefs.h <<\_ACEOF
42594 #define wxUSE_LOG_DIALOG 1
42599 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42602 if test "$wxUSE_LONGLONG" = "yes"; then
42603 cat >>confdefs.h <<\_ACEOF
42604 #define wxUSE_LONGLONG 1
42609 if test "$wxUSE_GEOMETRY" = "yes"; then
42610 cat >>confdefs.h <<\_ACEOF
42611 #define wxUSE_GEOMETRY 1
42616 if test "$wxUSE_BASE64" = "yes"; then
42617 cat >>confdefs.h <<\_ACEOF
42618 #define wxUSE_BASE64 1
42623 if test "$wxUSE_STREAMS" = "yes" ; then
42624 cat >>confdefs.h <<\_ACEOF
42625 #define wxUSE_STREAMS 1
42630 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42631 cat >>confdefs.h <<\_ACEOF
42632 #define wxUSE_PRINTF_POS_PARAMS 1
42637 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42638 cat >>confdefs.h <<\_ACEOF
42639 #define wxUSE_OBJC_UNIQUIFYING 1
42645 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42646 cat >>confdefs.h <<\_ACEOF
42647 #define wxUSE_CONSOLE_EVENTLOOP 1
42651 if test "$wxUSE_UNIX" = "yes"; then
42652 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
42653 cat >>confdefs.h <<\_ACEOF
42654 #define wxUSE_SELECT_DISPATCHER 1
42659 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
42661 for ac_header in sys/epoll.h
42663 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42664 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42666 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42667 echo $ECHO_N "(cached) $ECHO_C" >&6
42669 cat >conftest.$ac_ext <<_ACEOF
42672 cat confdefs.h >>conftest.$ac_ext
42673 cat >>conftest.$ac_ext <<_ACEOF
42674 /* end confdefs.h. */
42675 $ac_includes_default
42677 #include <$ac_header>
42679 rm -f conftest.$ac_objext
42680 if { (ac_try="$ac_compile"
42681 case "(($ac_try" in
42682 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42683 *) ac_try_echo
=$ac_try;;
42685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42686 (eval "$ac_compile") 2>conftest.er1
42688 grep -v '^ *+' conftest.er1
>conftest.err
42690 cat conftest.err
>&5
42691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42692 (exit $ac_status); } && {
42693 test -z "$ac_c_werror_flag" ||
42694 test ! -s conftest.err
42695 } && test -s conftest.
$ac_objext; then
42696 eval "$as_ac_Header=yes"
42698 echo "$as_me: failed program was:" >&5
42699 sed 's/^/| /' conftest.
$ac_ext >&5
42701 eval "$as_ac_Header=no"
42704 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42706 ac_res
=`eval echo '${'$as_ac_Header'}'`
42707 { echo "$as_me:$LINENO: result: $ac_res" >&5
42708 echo "${ECHO_T}$ac_res" >&6; }
42709 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42710 cat >>confdefs.h
<<_ACEOF
42711 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42718 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
42719 cat >>confdefs.h
<<\_ACEOF
42720 #define wxUSE_EPOLL_DISPATCHER 1
42724 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
42725 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
42734 for ac_func
in gettimeofday ftime
42736 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42737 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42739 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42740 echo $ECHO_N "(cached) $ECHO_C" >&6
42742 cat >conftest.
$ac_ext <<_ACEOF
42745 cat confdefs.h
>>conftest.
$ac_ext
42746 cat >>conftest.
$ac_ext <<_ACEOF
42747 /* end confdefs.h. */
42748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42750 #define $ac_func innocuous_$ac_func
42752 /* System header to define __stub macros and hopefully few prototypes,
42753 which can conflict with char $ac_func (); below.
42754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42755 <limits.h> exists even on freestanding compilers. */
42758 # include <limits.h>
42760 # include <assert.h>
42765 /* Override any GCC internal prototype to avoid an error.
42766 Use char because int might match the return type of a GCC
42767 builtin and then its argument prototype would still apply. */
42772 /* The GNU C library defines this for functions which it implements
42773 to always fail with ENOSYS. Some functions are actually named
42774 something starting with __ and the normal name is an alias. */
42775 #if defined __stub_$ac_func || defined __stub___$ac_func
42782 return $ac_func ();
42787 rm -f conftest.
$ac_objext conftest
$ac_exeext
42788 if { (ac_try
="$ac_link"
42789 case "(($ac_try" in
42790 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42791 *) ac_try_echo=$ac_try;;
42793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42794 (eval "$ac_link") 2>conftest.er1
42796 grep -v '^ *+' conftest.er1 >conftest.err
42798 cat conftest.err >&5
42799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42800 (exit $ac_status); } && {
42801 test -z "$ac_c_werror_flag" ||
42802 test ! -s conftest.err
42803 } && test -s conftest$ac_exeext &&
42804 $as_test_x conftest$ac_exeext; then
42805 eval "$as_ac_var=yes"
42807 echo "$as_me: failed program was:" >&5
42808 sed 's/^/| /' conftest.$ac_ext >&5
42810 eval "$as_ac_var=no"
42813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42814 conftest$ac_exeext conftest.$ac_ext
42816 ac_res=`eval echo '${'$as_ac_var'}'`
42817 { echo "$as_me:$LINENO: result: $ac_res" >&5
42818 echo "${ECHO_T}$ac_res" >&6; }
42819 if test `eval echo '${'$as_ac_var'}'` = yes; then
42820 cat >>confdefs.h <<_ACEOF
42821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42828 if test "$ac_cv_func_gettimeofday" = "yes"; then
42829 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42830 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42831 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42832 echo $ECHO_N "(cached) $ECHO_C" >&6
42835 cat >conftest.$ac_ext <<_ACEOF
42838 cat confdefs.h >>conftest.$ac_ext
42839 cat >>conftest.$ac_ext <<_ACEOF
42840 /* end confdefs.h. */
42842 #include <sys/time.h>
42843 #include <unistd.h>
42850 gettimeofday(&tv, NULL);
42856 rm -f conftest.$ac_objext
42857 if { (ac_try="$ac_compile"
42858 case "(($ac_try" in
42859 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42860 *) ac_try_echo
=$ac_try;;
42862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42863 (eval "$ac_compile") 2>conftest.er1
42865 grep -v '^ *+' conftest.er1
>conftest.err
42867 cat conftest.err
>&5
42868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42869 (exit $ac_status); } && {
42870 test -z "$ac_c_werror_flag" ||
42871 test ! -s conftest.err
42872 } && test -s conftest.
$ac_objext; then
42873 wx_cv_func_gettimeofday_has_2_args
=yes
42875 echo "$as_me: failed program was:" >&5
42876 sed 's/^/| /' conftest.
$ac_ext >&5
42878 cat >conftest.
$ac_ext <<_ACEOF
42881 cat confdefs.h
>>conftest.
$ac_ext
42882 cat >>conftest.
$ac_ext <<_ACEOF
42883 /* end confdefs.h. */
42885 #include <sys/time.h>
42886 #include <unistd.h>
42899 rm -f conftest.
$ac_objext
42900 if { (ac_try
="$ac_compile"
42901 case "(($ac_try" in
42902 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42903 *) ac_try_echo=$ac_try;;
42905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42906 (eval "$ac_compile") 2>conftest.er1
42908 grep -v '^ *+' conftest.er1 >conftest.err
42910 cat conftest.err >&5
42911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42912 (exit $ac_status); } && {
42913 test -z "$ac_c_werror_flag" ||
42914 test ! -s conftest.err
42915 } && test -s conftest.$ac_objext; then
42916 wx_cv_func_gettimeofday_has_2_args=no
42918 echo "$as_me: failed program was:" >&5
42919 sed 's/^/| /' conftest.$ac_ext >&5
42922 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42923 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42924 wx_cv_func_gettimeofday_has_2_args=unknown
42929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42936 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42937 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42939 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42940 cat >>confdefs.h <<\_ACEOF
42941 #define WX_GETTIMEOFDAY_NO_TZ 1
42947 if test "$wxUSE_DATETIME" = "yes"; then
42948 { echo "$as_me:$LINENO: checking for strptime" >&5
42949 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
42950 if test "${ac_cv_func_strptime+set}" = set; then
42951 echo $ECHO_N "(cached) $ECHO_C" >&6
42953 cat >conftest.$ac_ext <<_ACEOF
42956 cat confdefs.h >>conftest.$ac_ext
42957 cat >>conftest.$ac_ext <<_ACEOF
42958 /* end confdefs.h. */
42959 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
42960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42961 #define strptime innocuous_strptime
42963 /* System header to define __stub macros and hopefully few prototypes,
42964 which can conflict with char strptime (); below.
42965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42966 <limits.h> exists even on freestanding compilers. */
42969 # include <limits.h>
42971 # include <assert.h>
42976 /* Override any GCC internal prototype to avoid an error.
42977 Use char because int might match the return type of a GCC
42978 builtin and then its argument prototype would still apply. */
42983 /* The GNU C library defines this for functions which it implements
42984 to always fail with ENOSYS. Some functions are actually named
42985 something starting with __ and the normal name is an alias. */
42986 #if defined __stub_strptime || defined __stub___strptime
42993 return strptime ();
42998 rm -f conftest.$ac_objext conftest$ac_exeext
42999 if { (ac_try="$ac_link"
43000 case "(($ac_try" in
43001 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43002 *) ac_try_echo
=$ac_try;;
43004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43005 (eval "$ac_link") 2>conftest.er1
43007 grep -v '^ *+' conftest.er1
>conftest.err
43009 cat conftest.err
>&5
43010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43011 (exit $ac_status); } && {
43012 test -z "$ac_c_werror_flag" ||
43013 test ! -s conftest.err
43014 } && test -s conftest
$ac_exeext &&
43015 $as_test_x conftest
$ac_exeext; then
43016 ac_cv_func_strptime
=yes
43018 echo "$as_me: failed program was:" >&5
43019 sed 's/^/| /' conftest.
$ac_ext >&5
43021 ac_cv_func_strptime
=no
43024 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43025 conftest
$ac_exeext conftest.
$ac_ext
43027 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43028 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43030 if test "$ac_cv_func_strptime" = "yes"; then
43031 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43032 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43033 if test "${wx_cv_func_strptime_decl+set}" = set; then
43034 echo $ECHO_N "(cached) $ECHO_C" >&6
43038 ac_cpp
='$CXXCPP $CPPFLAGS'
43039 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43040 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43041 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43043 cat >conftest.
$ac_ext <<_ACEOF
43046 cat confdefs.h
>>conftest.
$ac_ext
43047 cat >>conftest.
$ac_ext <<_ACEOF
43048 /* end confdefs.h. */
43057 strptime("foo", "bar", &t);
43063 rm -f conftest.
$ac_objext
43064 if { (ac_try
="$ac_compile"
43065 case "(($ac_try" in
43066 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43067 *) ac_try_echo=$ac_try;;
43069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43070 (eval "$ac_compile") 2>conftest.er1
43072 grep -v '^ *+' conftest.er1 >conftest.err
43074 cat conftest.err >&5
43075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43076 (exit $ac_status); } && {
43077 test -z "$ac_cxx_werror_flag" ||
43078 test ! -s conftest.err
43079 } && test -s conftest.$ac_objext; then
43080 wx_cv_func_strptime_decl=yes
43082 echo "$as_me: failed program was:" >&5
43083 sed 's/^/| /' conftest.$ac_ext >&5
43085 wx_cv_func_strptime_decl=no
43089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43091 ac_cpp='$CPP $CPPFLAGS'
43092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43099 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43100 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43102 if test "$wx_cv_func_strptime_decl" = "yes"; then
43103 cat >>confdefs.h <<\_ACEOF
43104 #define HAVE_STRPTIME_DECL 1
43108 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43110 if test "$ac_cv_func_strptime" = "yes"; then
43111 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43112 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43113 if test "${wx_cv_func_strptime_ok+set}" = set; then
43114 echo $ECHO_N "(cached) $ECHO_C" >&6
43116 if test "$cross_compiling" = yes; then
43117 wx_cv_func_strptime_ok=no
43120 cat >conftest.$ac_ext <<_ACEOF
43122 #include <stdlib.h>
43124 #include "confdefs.h"
43131 return !!strptime("", "%x", &t);
43135 rm -f conftest$ac_exeext
43136 if { (ac_try="$ac_link"
43137 case "(($ac_try" in
43138 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43139 *) ac_try_echo
=$ac_try;;
43141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43142 (eval "$ac_link") 2>&5
43144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43145 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43146 { (case "(($ac_try" in
43147 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43148 *) ac_try_echo=$ac_try;;
43150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43151 (eval "$ac_try") 2>&5
43153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43154 (exit $ac_status); }; }; then
43155 wx_cv_func_strptime_ok=yes
43157 echo "$as_me: program exited with status $ac_status" >&5
43158 echo "$as_me: failed program was:" >&5
43159 sed 's/^/| /' conftest.$ac_ext >&5
43161 ( exit $ac_status )
43162 wx_cv_func_strptime_ok=no
43164 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43170 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43171 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43173 if test "$wx_cv_func_strptime_ok" = "yes"; then
43174 cat >>confdefs.h <<\_ACEOF
43175 #define HAVE_STRPTIME 1
43181 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43182 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43183 if test "${wx_cv_var_timezone+set}" = set; then
43184 echo $ECHO_N "(cached) $ECHO_C" >&6
43188 ac_cpp='$CXXCPP $CPPFLAGS'
43189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43193 cat >conftest.$ac_ext <<_ACEOF
43196 cat confdefs.h >>conftest.$ac_ext
43197 cat >>conftest.$ac_ext <<_ACEOF
43198 /* end confdefs.h. */
43213 rm -f conftest.$ac_objext
43214 if { (ac_try="$ac_compile"
43215 case "(($ac_try" in
43216 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43217 *) ac_try_echo
=$ac_try;;
43219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43220 (eval "$ac_compile") 2>conftest.er1
43222 grep -v '^ *+' conftest.er1
>conftest.err
43224 cat conftest.err
>&5
43225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43226 (exit $ac_status); } && {
43227 test -z "$ac_cxx_werror_flag" ||
43228 test ! -s conftest.err
43229 } && test -s conftest.
$ac_objext; then
43231 wx_cv_var_timezone
=timezone
43234 echo "$as_me: failed program was:" >&5
43235 sed 's/^/| /' conftest.
$ac_ext >&5
43238 cat >conftest.
$ac_ext <<_ACEOF
43241 cat confdefs.h
>>conftest.
$ac_ext
43242 cat >>conftest.
$ac_ext <<_ACEOF
43243 /* end confdefs.h. */
43258 rm -f conftest.
$ac_objext
43259 if { (ac_try
="$ac_compile"
43260 case "(($ac_try" in
43261 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43262 *) ac_try_echo=$ac_try;;
43264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43265 (eval "$ac_compile") 2>conftest.er1
43267 grep -v '^ *+' conftest.er1 >conftest.err
43269 cat conftest.err >&5
43270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43271 (exit $ac_status); } && {
43272 test -z "$ac_cxx_werror_flag" ||
43273 test ! -s conftest.err
43274 } && test -s conftest.$ac_objext; then
43276 wx_cv_var_timezone=_timezone
43279 echo "$as_me: failed program was:" >&5
43280 sed 's/^/| /' conftest.$ac_ext >&5
43283 cat >conftest.$ac_ext <<_ACEOF
43286 cat confdefs.h >>conftest.$ac_ext
43287 cat >>conftest.$ac_ext <<_ACEOF
43288 /* end confdefs.h. */
43303 rm -f conftest.$ac_objext
43304 if { (ac_try="$ac_compile"
43305 case "(($ac_try" in
43306 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43307 *) ac_try_echo
=$ac_try;;
43309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43310 (eval "$ac_compile") 2>conftest.er1
43312 grep -v '^ *+' conftest.er1
>conftest.err
43314 cat conftest.err
>&5
43315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43316 (exit $ac_status); } && {
43317 test -z "$ac_cxx_werror_flag" ||
43318 test ! -s conftest.err
43319 } && test -s conftest.
$ac_objext; then
43321 wx_cv_var_timezone
=__timezone
43324 echo "$as_me: failed program was:" >&5
43325 sed 's/^/| /' conftest.
$ac_ext >&5
43328 if test "$USE_DOS" = 0 ; then
43329 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43330 echo "$as_me: WARNING: no timezone variable" >&2;}
43336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43341 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43348 ac_cpp
='$CPP $CPPFLAGS'
43349 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43350 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43351 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43356 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43357 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43359 if test "x$wx_cv_var_timezone" != x
; then
43360 cat >>confdefs.h
<<_ACEOF
43361 #define WX_TIMEZONE $wx_cv_var_timezone
43367 for ac_func
in localtime
43369 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43370 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43372 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43373 echo $ECHO_N "(cached) $ECHO_C" >&6
43375 cat >conftest.
$ac_ext <<_ACEOF
43378 cat confdefs.h
>>conftest.
$ac_ext
43379 cat >>conftest.
$ac_ext <<_ACEOF
43380 /* end confdefs.h. */
43381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43383 #define $ac_func innocuous_$ac_func
43385 /* System header to define __stub macros and hopefully few prototypes,
43386 which can conflict with char $ac_func (); below.
43387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43388 <limits.h> exists even on freestanding compilers. */
43391 # include <limits.h>
43393 # include <assert.h>
43398 /* Override any GCC internal prototype to avoid an error.
43399 Use char because int might match the return type of a GCC
43400 builtin and then its argument prototype would still apply. */
43405 /* The GNU C library defines this for functions which it implements
43406 to always fail with ENOSYS. Some functions are actually named
43407 something starting with __ and the normal name is an alias. */
43408 #if defined __stub_$ac_func || defined __stub___$ac_func
43415 return $ac_func ();
43420 rm -f conftest.
$ac_objext conftest
$ac_exeext
43421 if { (ac_try
="$ac_link"
43422 case "(($ac_try" in
43423 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43424 *) ac_try_echo=$ac_try;;
43426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43427 (eval "$ac_link") 2>conftest.er1
43429 grep -v '^ *+' conftest.er1 >conftest.err
43431 cat conftest.err >&5
43432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43433 (exit $ac_status); } && {
43434 test -z "$ac_c_werror_flag" ||
43435 test ! -s conftest.err
43436 } && test -s conftest$ac_exeext &&
43437 $as_test_x conftest$ac_exeext; then
43438 eval "$as_ac_var=yes"
43440 echo "$as_me: failed program was:" >&5
43441 sed 's/^/| /' conftest.$ac_ext >&5
43443 eval "$as_ac_var=no"
43446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43447 conftest$ac_exeext conftest.$ac_ext
43449 ac_res=`eval echo '${'$as_ac_var'}'`
43450 { echo "$as_me:$LINENO: result: $ac_res" >&5
43451 echo "${ECHO_T}$ac_res" >&6; }
43452 if test `eval echo '${'$as_ac_var'}'` = yes; then
43453 cat >>confdefs.h <<_ACEOF
43454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43461 if test "$ac_cv_func_localtime" = "yes"; then
43462 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43463 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43464 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43465 echo $ECHO_N "(cached) $ECHO_C" >&6
43468 cat >conftest.$ac_ext <<_ACEOF
43471 cat confdefs.h >>conftest.$ac_ext
43472 cat >>conftest.$ac_ext <<_ACEOF
43473 /* end confdefs.h. */
43488 rm -f conftest.$ac_objext
43489 if { (ac_try="$ac_compile"
43490 case "(($ac_try" in
43491 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43492 *) ac_try_echo
=$ac_try;;
43494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43495 (eval "$ac_compile") 2>conftest.er1
43497 grep -v '^ *+' conftest.er1
>conftest.err
43499 cat conftest.err
>&5
43500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43501 (exit $ac_status); } && {
43502 test -z "$ac_c_werror_flag" ||
43503 test ! -s conftest.err
43504 } && test -s conftest.
$ac_objext; then
43506 wx_cv_struct_tm_has_gmtoff
=yes
43509 echo "$as_me: failed program was:" >&5
43510 sed 's/^/| /' conftest.
$ac_ext >&5
43512 wx_cv_struct_tm_has_gmtoff
=no
43516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43519 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43520 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43523 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43524 cat >>confdefs.h
<<\_ACEOF
43525 #define WX_GMTOFF_IN_TM 1
43530 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
43534 if test "$wxUSE_SOCKETS" = "yes"; then
43535 if test "$wxUSE_MGL" = 1; then
43536 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43537 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43542 if test "$wxUSE_SOCKETS" = "yes"; then
43543 if test "$TOOLKIT" != "MSW"; then
43544 { echo "$as_me:$LINENO: checking for socket" >&5
43545 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43546 if test "${ac_cv_func_socket+set}" = set; then
43547 echo $ECHO_N "(cached) $ECHO_C" >&6
43549 cat >conftest.
$ac_ext <<_ACEOF
43552 cat confdefs.h
>>conftest.
$ac_ext
43553 cat >>conftest.
$ac_ext <<_ACEOF
43554 /* end confdefs.h. */
43555 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43557 #define socket innocuous_socket
43559 /* System header to define __stub macros and hopefully few prototypes,
43560 which can conflict with char socket (); below.
43561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43562 <limits.h> exists even on freestanding compilers. */
43565 # include <limits.h>
43567 # include <assert.h>
43572 /* Override any GCC internal prototype to avoid an error.
43573 Use char because int might match the return type of a GCC
43574 builtin and then its argument prototype would still apply. */
43579 /* The GNU C library defines this for functions which it implements
43580 to always fail with ENOSYS. Some functions are actually named
43581 something starting with __ and the normal name is an alias. */
43582 #if defined __stub_socket || defined __stub___socket
43594 rm -f conftest.
$ac_objext conftest
$ac_exeext
43595 if { (ac_try
="$ac_link"
43596 case "(($ac_try" in
43597 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43598 *) ac_try_echo=$ac_try;;
43600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43601 (eval "$ac_link") 2>conftest.er1
43603 grep -v '^ *+' conftest.er1 >conftest.err
43605 cat conftest.err >&5
43606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43607 (exit $ac_status); } && {
43608 test -z "$ac_c_werror_flag" ||
43609 test ! -s conftest.err
43610 } && test -s conftest$ac_exeext &&
43611 $as_test_x conftest$ac_exeext; then
43612 ac_cv_func_socket=yes
43614 echo "$as_me: failed program was:" >&5
43615 sed 's/^/| /' conftest.$ac_ext >&5
43617 ac_cv_func_socket=no
43620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43621 conftest$ac_exeext conftest.$ac_ext
43623 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43624 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43625 if test $ac_cv_func_socket = yes; then
43629 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43630 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43631 if test "${ac_cv_lib_socket_socket+set}" = set; then
43632 echo $ECHO_N "(cached) $ECHO_C" >&6
43634 ac_check_lib_save_LIBS=$LIBS
43635 LIBS="-lsocket $LIBS"
43636 cat >conftest.$ac_ext <<_ACEOF
43639 cat confdefs.h >>conftest.$ac_ext
43640 cat >>conftest.$ac_ext <<_ACEOF
43641 /* end confdefs.h. */
43643 /* Override any GCC internal prototype to avoid an error.
43644 Use char because int might match the return type of a GCC
43645 builtin and then its argument prototype would still apply. */
43658 rm -f conftest.$ac_objext conftest$ac_exeext
43659 if { (ac_try="$ac_link"
43660 case "(($ac_try" in
43661 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43662 *) ac_try_echo
=$ac_try;;
43664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43665 (eval "$ac_link") 2>conftest.er1
43667 grep -v '^ *+' conftest.er1
>conftest.err
43669 cat conftest.err
>&5
43670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43671 (exit $ac_status); } && {
43672 test -z "$ac_c_werror_flag" ||
43673 test ! -s conftest.err
43674 } && test -s conftest
$ac_exeext &&
43675 $as_test_x conftest
$ac_exeext; then
43676 ac_cv_lib_socket_socket
=yes
43678 echo "$as_me: failed program was:" >&5
43679 sed 's/^/| /' conftest.
$ac_ext >&5
43681 ac_cv_lib_socket_socket
=no
43684 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43685 conftest
$ac_exeext conftest.
$ac_ext
43686 LIBS
=$ac_check_lib_save_LIBS
43688 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43689 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43690 if test $ac_cv_lib_socket_socket = yes; then
43691 if test "$INET_LINK" != " -lsocket"; then
43692 INET_LINK
="$INET_LINK -lsocket"
43696 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43697 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43710 if test "$wxUSE_SOCKETS" = "yes" ; then
43711 if test "$TOOLKIT" != "MSW"; then
43712 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43713 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43714 if test "${wx_cv_type_getsockname3+set}" = set; then
43715 echo $ECHO_N "(cached) $ECHO_C" >&6
43719 ac_cpp
='$CXXCPP $CPPFLAGS'
43720 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43721 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43722 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43724 cat >conftest.
$ac_ext <<_ACEOF
43727 cat confdefs.h
>>conftest.
$ac_ext
43728 cat >>conftest.
$ac_ext <<_ACEOF
43729 /* end confdefs.h. */
43731 #include <sys/types.h>
43732 #include <sys/socket.h>
43739 getsockname(0, 0, &len);
43745 rm -f conftest.
$ac_objext
43746 if { (ac_try
="$ac_compile"
43747 case "(($ac_try" in
43748 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43749 *) ac_try_echo=$ac_try;;
43751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43752 (eval "$ac_compile") 2>conftest.er1
43754 grep -v '^ *+' conftest.er1 >conftest.err
43756 cat conftest.err >&5
43757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43758 (exit $ac_status); } && {
43759 test -z "$ac_cxx_werror_flag" ||
43760 test ! -s conftest.err
43761 } && test -s conftest.$ac_objext; then
43762 wx_cv_type_getsockname3=socklen_t
43764 echo "$as_me: failed program was:" >&5
43765 sed 's/^/| /' conftest.$ac_ext >&5
43768 CFLAGS_OLD="$CFLAGS"
43769 if test "$GCC" = yes ; then
43770 CFLAGS="-Werror $CFLAGS"
43773 cat >conftest.$ac_ext <<_ACEOF
43776 cat confdefs.h >>conftest.$ac_ext
43777 cat >>conftest.$ac_ext <<_ACEOF
43778 /* end confdefs.h. */
43780 #include <sys/types.h>
43781 #include <sys/socket.h>
43788 getsockname(0, 0, &len);
43794 rm -f conftest.$ac_objext
43795 if { (ac_try="$ac_compile"
43796 case "(($ac_try" in
43797 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43798 *) ac_try_echo
=$ac_try;;
43800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43801 (eval "$ac_compile") 2>conftest.er1
43803 grep -v '^ *+' conftest.er1
>conftest.err
43805 cat conftest.err
>&5
43806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43807 (exit $ac_status); } && {
43808 test -z "$ac_cxx_werror_flag" ||
43809 test ! -s conftest.err
43810 } && test -s conftest.
$ac_objext; then
43811 wx_cv_type_getsockname3
=size_t
43813 echo "$as_me: failed program was:" >&5
43814 sed 's/^/| /' conftest.
$ac_ext >&5
43816 cat >conftest.
$ac_ext <<_ACEOF
43819 cat confdefs.h
>>conftest.
$ac_ext
43820 cat >>conftest.
$ac_ext <<_ACEOF
43821 /* end confdefs.h. */
43823 #include <sys/types.h>
43824 #include <sys/socket.h>
43831 getsockname(0, 0, &len);
43837 rm -f conftest.
$ac_objext
43838 if { (ac_try
="$ac_compile"
43839 case "(($ac_try" in
43840 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43841 *) ac_try_echo=$ac_try;;
43843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43844 (eval "$ac_compile") 2>conftest.er1
43846 grep -v '^ *+' conftest.er1 >conftest.err
43848 cat conftest.err >&5
43849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43850 (exit $ac_status); } && {
43851 test -z "$ac_cxx_werror_flag" ||
43852 test ! -s conftest.err
43853 } && test -s conftest.$ac_objext; then
43854 wx_cv_type_getsockname3=int
43856 echo "$as_me: failed program was:" >&5
43857 sed 's/^/| /' conftest.$ac_ext >&5
43859 wx_cv_type_getsockname3=unknown
43863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43869 CFLAGS="$CFLAGS_OLD"
43874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43876 ac_cpp='$CPP $CPPFLAGS'
43877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43883 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43884 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43886 if test "$wx_cv_type_getsockname3" = "unknown"; then
43888 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43889 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43891 cat >>confdefs.h <<_ACEOF
43892 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43896 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43897 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43898 if test "${wx_cv_type_getsockopt5+set}" = set; then
43899 echo $ECHO_N "(cached) $ECHO_C" >&6
43903 ac_cpp='$CXXCPP $CPPFLAGS'
43904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43908 cat >conftest.$ac_ext <<_ACEOF
43911 cat confdefs.h >>conftest.$ac_ext
43912 cat >>conftest.$ac_ext <<_ACEOF
43913 /* end confdefs.h. */
43915 #include <sys/types.h>
43916 #include <sys/socket.h>
43923 getsockopt(0, 0, 0, 0, &len);
43929 rm -f conftest.$ac_objext
43930 if { (ac_try="$ac_compile"
43931 case "(($ac_try" in
43932 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43933 *) ac_try_echo
=$ac_try;;
43935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43936 (eval "$ac_compile") 2>conftest.er1
43938 grep -v '^ *+' conftest.er1
>conftest.err
43940 cat conftest.err
>&5
43941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43942 (exit $ac_status); } && {
43943 test -z "$ac_cxx_werror_flag" ||
43944 test ! -s conftest.err
43945 } && test -s conftest.
$ac_objext; then
43946 wx_cv_type_getsockopt5
=socklen_t
43948 echo "$as_me: failed program was:" >&5
43949 sed 's/^/| /' conftest.
$ac_ext >&5
43952 cat >conftest.
$ac_ext <<_ACEOF
43955 cat confdefs.h
>>conftest.
$ac_ext
43956 cat >>conftest.
$ac_ext <<_ACEOF
43957 /* end confdefs.h. */
43959 #include <sys/types.h>
43960 #include <sys/socket.h>
43967 getsockopt(0, 0, 0, 0, &len);
43973 rm -f conftest.
$ac_objext
43974 if { (ac_try
="$ac_compile"
43975 case "(($ac_try" in
43976 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43977 *) ac_try_echo=$ac_try;;
43979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43980 (eval "$ac_compile") 2>conftest.er1
43982 grep -v '^ *+' conftest.er1 >conftest.err
43984 cat conftest.err >&5
43985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43986 (exit $ac_status); } && {
43987 test -z "$ac_cxx_werror_flag" ||
43988 test ! -s conftest.err
43989 } && test -s conftest.$ac_objext; then
43990 wx_cv_type_getsockopt5=size_t
43992 echo "$as_me: failed program was:" >&5
43993 sed 's/^/| /' conftest.$ac_ext >&5
43995 cat >conftest.$ac_ext <<_ACEOF
43998 cat confdefs.h >>conftest.$ac_ext
43999 cat >>conftest.$ac_ext <<_ACEOF
44000 /* end confdefs.h. */
44002 #include <sys/types.h>
44003 #include <sys/socket.h>
44010 getsockopt(0, 0, 0, 0, &len);
44016 rm -f conftest.$ac_objext
44017 if { (ac_try="$ac_compile"
44018 case "(($ac_try" in
44019 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44020 *) ac_try_echo
=$ac_try;;
44022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44023 (eval "$ac_compile") 2>conftest.er1
44025 grep -v '^ *+' conftest.er1
>conftest.err
44027 cat conftest.err
>&5
44028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44029 (exit $ac_status); } && {
44030 test -z "$ac_cxx_werror_flag" ||
44031 test ! -s conftest.err
44032 } && test -s conftest.
$ac_objext; then
44033 wx_cv_type_getsockopt5
=int
44035 echo "$as_me: failed program was:" >&5
44036 sed 's/^/| /' conftest.
$ac_ext >&5
44038 wx_cv_type_getsockopt5
=unknown
44042 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44051 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44053 ac_cpp
='$CPP $CPPFLAGS'
44054 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44055 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44056 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44060 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44061 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44063 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44065 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44066 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44068 cat >>confdefs.h
<<_ACEOF
44069 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44076 if test "$wxUSE_SOCKETS" = "yes" ; then
44077 if test "$wxUSE_IPV6" = "yes"; then
44078 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44079 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44080 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44081 echo $ECHO_N "(cached) $ECHO_C" >&6
44084 cat >conftest.
$ac_ext <<_ACEOF
44087 cat confdefs.h
>>conftest.
$ac_ext
44088 cat >>conftest.
$ac_ext <<_ACEOF
44089 /* end confdefs.h. */
44091 #include <sys/types.h>
44092 #include <sys/socket.h>
44093 #include <netinet/in.h>
44099 struct sockaddr_in6 sa6;
44105 rm -f conftest.
$ac_objext
44106 if { (ac_try
="$ac_compile"
44107 case "(($ac_try" in
44108 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44109 *) ac_try_echo=$ac_try;;
44111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44112 (eval "$ac_compile") 2>conftest.er1
44114 grep -v '^ *+' conftest.er1 >conftest.err
44116 cat conftest.err >&5
44117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44118 (exit $ac_status); } && {
44119 test -z "$ac_c_werror_flag" ||
44120 test ! -s conftest.err
44121 } && test -s conftest.$ac_objext; then
44122 wx_cv_type_sockaddr_in6=yes
44124 echo "$as_me: failed program was:" >&5
44125 sed 's/^/| /' conftest.$ac_ext >&5
44127 wx_cv_type_sockaddr_in6=no
44131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44135 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44136 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44138 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44139 cat >>confdefs.h <<\_ACEOF
44140 #define wxUSE_IPV6 1
44144 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44145 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44149 cat >>confdefs.h <<\_ACEOF
44150 #define wxUSE_SOCKETS 1
44153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44156 if test "$wxUSE_PROTOCOL" = "yes"; then
44157 if test "$wxUSE_SOCKETS" != "yes"; then
44158 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44159 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44164 if test "$wxUSE_PROTOCOL" = "yes"; then
44165 cat >>confdefs.h <<\_ACEOF
44166 #define wxUSE_PROTOCOL 1
44170 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44171 cat >>confdefs.h <<\_ACEOF
44172 #define wxUSE_PROTOCOL_HTTP 1
44176 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44177 cat >>confdefs.h <<\_ACEOF
44178 #define wxUSE_PROTOCOL_FTP 1
44182 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44183 cat >>confdefs.h <<\_ACEOF
44184 #define wxUSE_PROTOCOL_FILE 1
44189 if test "$wxUSE_FS_INET" = "yes"; then
44190 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44191 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44196 if test "$wxUSE_URL" = "yes"; then
44197 if test "$wxUSE_PROTOCOL" != "yes"; then
44198 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44199 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44202 if test "$wxUSE_URL" = "yes"; then
44203 cat >>confdefs.h <<\_ACEOF
44204 #define wxUSE_URL 1
44210 if test "$wxUSE_VARIANT" = "yes"; then
44211 cat >>confdefs.h <<\_ACEOF
44212 #define wxUSE_VARIANT 1
44217 if test "$wxUSE_FS_INET" = "yes"; then
44218 cat >>confdefs.h <<\_ACEOF
44219 #define wxUSE_FS_INET 1
44225 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44228 if test "$TOOLKIT" = "MSW"; then
44231 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44232 if test "$USE_DARWIN" = 1; then
44233 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44234 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44236 ac_cpp='$CXXCPP $CPPFLAGS'
44237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44241 cat >conftest.$ac_ext <<_ACEOF
44244 cat confdefs.h >>conftest.$ac_ext
44245 cat >>conftest.$ac_ext <<_ACEOF
44246 /* end confdefs.h. */
44247 #include <IOKit/hid/IOHIDLib.h>
44251 IOHIDQueueInterface *qi = NULL;
44252 IOHIDCallbackFunction cb = NULL;
44253 qi->setEventCallout(NULL, cb, NULL, NULL);
44258 rm -f conftest.$ac_objext
44259 if { (ac_try="$ac_compile"
44260 case "(($ac_try" in
44261 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44262 *) ac_try_echo
=$ac_try;;
44264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44265 (eval "$ac_compile") 2>conftest.er1
44267 grep -v '^ *+' conftest.er1
>conftest.err
44269 cat conftest.err
>&5
44270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44271 (exit $ac_status); } && {
44272 test -z "$ac_cxx_werror_flag" ||
44273 test ! -s conftest.err
44274 } && test -s conftest.
$ac_objext; then
44278 echo "$as_me: failed program was:" >&5
44279 sed 's/^/| /' conftest.
$ac_ext >&5
44284 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44286 ac_cpp
='$CPP $CPPFLAGS'
44287 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44288 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44289 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44291 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44292 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44296 if test "$wxUSE_MGL" != 1; then
44298 for ac_header
in linux
/joystick.h
44300 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44301 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44303 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44304 echo $ECHO_N "(cached) $ECHO_C" >&6
44306 cat >conftest.
$ac_ext <<_ACEOF
44309 cat confdefs.h
>>conftest.
$ac_ext
44310 cat >>conftest.
$ac_ext <<_ACEOF
44311 /* end confdefs.h. */
44312 $ac_includes_default
44314 #include <$ac_header>
44316 rm -f conftest.
$ac_objext
44317 if { (ac_try
="$ac_compile"
44318 case "(($ac_try" in
44319 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44320 *) ac_try_echo=$ac_try;;
44322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44323 (eval "$ac_compile") 2>conftest.er1
44325 grep -v '^ *+' conftest.er1 >conftest.err
44327 cat conftest.err >&5
44328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44329 (exit $ac_status); } && {
44330 test -z "$ac_c_werror_flag" ||
44331 test ! -s conftest.err
44332 } && test -s conftest.$ac_objext; then
44333 eval "$as_ac_Header=yes"
44335 echo "$as_me: failed program was:" >&5
44336 sed 's/^/| /' conftest.$ac_ext >&5
44338 eval "$as_ac_Header=no"
44341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44343 ac_res=`eval echo '${'$as_ac_Header'}'`
44344 { echo "$as_me:$LINENO: result: $ac_res" >&5
44345 echo "${ECHO_T}$ac_res" >&6; }
44346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44347 cat >>confdefs.h <<_ACEOF
44348 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44358 if test "$wxUSE_JOYSTICK" = "yes"; then
44359 cat >>confdefs.h <<\_ACEOF
44360 #define wxUSE_JOYSTICK 1
44363 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44365 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44366 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44372 if test "$wxUSE_FONTENUM" = "yes" ; then
44373 cat >>confdefs.h <<\_ACEOF
44374 #define wxUSE_FONTENUM 1
44379 if test "$wxUSE_FONTMAP" = "yes" ; then
44380 cat >>confdefs.h <<\_ACEOF
44381 #define wxUSE_FONTMAP 1
44386 if test "$wxUSE_UNICODE" = "yes" ; then
44387 cat >>confdefs.h <<\_ACEOF
44388 #define wxUSE_UNICODE 1
44392 if test "$USE_WIN32" != 1; then
44393 wxUSE_UNICODE_MSLU=no
44396 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44397 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44398 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44399 if test "${ac_cv_lib_unicows_main+set}" = set; then
44400 echo $ECHO_N "(cached) $ECHO_C" >&6
44402 ac_check_lib_save_LIBS=$LIBS
44403 LIBS="-lunicows $LIBS"
44404 cat >conftest.$ac_ext <<_ACEOF
44407 cat confdefs.h >>conftest.$ac_ext
44408 cat >>conftest.$ac_ext <<_ACEOF
44409 /* end confdefs.h. */
44420 rm -f conftest.$ac_objext conftest$ac_exeext
44421 if { (ac_try="$ac_link"
44422 case "(($ac_try" in
44423 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44424 *) ac_try_echo
=$ac_try;;
44426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44427 (eval "$ac_link") 2>conftest.er1
44429 grep -v '^ *+' conftest.er1
>conftest.err
44431 cat conftest.err
>&5
44432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44433 (exit $ac_status); } && {
44434 test -z "$ac_c_werror_flag" ||
44435 test ! -s conftest.err
44436 } && test -s conftest
$ac_exeext &&
44437 $as_test_x conftest
$ac_exeext; then
44438 ac_cv_lib_unicows_main
=yes
44440 echo "$as_me: failed program was:" >&5
44441 sed 's/^/| /' conftest.
$ac_ext >&5
44443 ac_cv_lib_unicows_main
=no
44446 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44447 conftest
$ac_exeext conftest.
$ac_ext
44448 LIBS
=$ac_check_lib_save_LIBS
44450 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44451 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44452 if test $ac_cv_lib_unicows_main = yes; then
44454 cat >>confdefs.h
<<\_ACEOF
44455 #define wxUSE_UNICODE_MSLU 1
44461 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44462 Applications will only run on Windows NT/2000/XP!" >&5
44463 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44464 Applications will only run on Windows NT/2000/XP!" >&2;}
44465 wxUSE_UNICODE_MSLU
=no
44472 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44473 cat >>confdefs.h
<<\_ACEOF
44474 #define wxUSE_UNICODE_UTF8 1
44478 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44479 cat >>confdefs.h
<<\_ACEOF
44480 #define wxUSE_UTF8_LOCALE_ONLY 1
44487 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44488 cat >>confdefs.h
<<\_ACEOF
44489 #define wxUSE_CONSTRAINTS 1
44492 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
44495 if test "$wxUSE_MDI" = "yes"; then
44496 cat >>confdefs.h
<<\_ACEOF
44497 #define wxUSE_MDI 1
44501 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44502 cat >>confdefs.h
<<\_ACEOF
44503 #define wxUSE_MDI_ARCHITECTURE 1
44506 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
44510 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44511 cat >>confdefs.h
<<\_ACEOF
44512 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44515 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
44516 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44517 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
44521 if test "$wxUSE_HELP" = "yes"; then
44522 cat >>confdefs.h
<<\_ACEOF
44523 #define wxUSE_HELP 1
44526 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
44528 if test "$wxUSE_MSW" = 1; then
44529 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44530 cat >>confdefs.h
<<\_ACEOF
44531 #define wxUSE_MS_HTML_HELP 1
44537 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44538 if test "$wxUSE_HTML" = "yes"; then
44539 cat >>confdefs.h
<<\_ACEOF
44540 #define wxUSE_WXHTML_HELP 1
44544 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44545 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44546 wxUSE_WXHTML_HELP
=no
44551 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44552 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44553 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44554 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44556 cat >>confdefs.h
<<\_ACEOF
44557 #define wxUSE_PRINTING_ARCHITECTURE 1
44561 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
44564 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44565 cat >>confdefs.h
<<\_ACEOF
44566 #define wxUSE_POSTSCRIPT 1
44571 cat >>confdefs.h
<<\_ACEOF
44572 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44576 if test "$wxUSE_SVG" = "yes"; then
44577 cat >>confdefs.h
<<\_ACEOF
44578 #define wxUSE_SVG 1
44584 if test "$wxUSE_METAFILE" = "yes"; then
44585 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44586 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44587 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44593 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
44594 -o "$wxUSE_CLIPBOARD" = "yes" \
44595 -o "$wxUSE_OLE" = "yes" \
44596 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
44597 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44598 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44599 if test "${ac_cv_header_ole2_h+set}" = set; then
44600 echo $ECHO_N "(cached) $ECHO_C" >&6
44602 cat >conftest.
$ac_ext <<_ACEOF
44605 cat confdefs.h
>>conftest.
$ac_ext
44606 cat >>conftest.
$ac_ext <<_ACEOF
44607 /* end confdefs.h. */
44612 rm -f conftest.
$ac_objext
44613 if { (ac_try
="$ac_compile"
44614 case "(($ac_try" in
44615 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44616 *) ac_try_echo=$ac_try;;
44618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44619 (eval "$ac_compile") 2>conftest.er1
44621 grep -v '^ *+' conftest.er1 >conftest.err
44623 cat conftest.err >&5
44624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44625 (exit $ac_status); } && {
44626 test -z "$ac_c_werror_flag" ||
44627 test ! -s conftest.err
44628 } && test -s conftest.$ac_objext; then
44629 ac_cv_header_ole2_h=yes
44631 echo "$as_me: failed program was:" >&5
44632 sed 's/^/| /' conftest.$ac_ext >&5
44634 ac_cv_header_ole2_h=no
44637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44639 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44640 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44644 if test "$ac_cv_header_ole2_h" = "yes" ; then
44645 if test "$GCC" = yes ; then
44646 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44647 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44648 cat >conftest.$ac_ext <<_ACEOF
44651 cat confdefs.h >>conftest.$ac_ext
44652 cat >>conftest.$ac_ext <<_ACEOF
44653 /* end confdefs.h. */
44654 #include <windows.h>
44664 rm -f conftest.$ac_objext
44665 if { (ac_try="$ac_compile"
44666 case "(($ac_try" in
44667 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44668 *) ac_try_echo
=$ac_try;;
44670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44671 (eval "$ac_compile") 2>conftest.er1
44673 grep -v '^ *+' conftest.er1
>conftest.err
44675 cat conftest.err
>&5
44676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44677 (exit $ac_status); } && {
44678 test -z "$ac_c_werror_flag" ||
44679 test ! -s conftest.err
44680 } && test -s conftest.
$ac_objext; then
44681 { echo "$as_me:$LINENO: result: no" >&5
44682 echo "${ECHO_T}no" >&6; }
44684 echo "$as_me: failed program was:" >&5
44685 sed 's/^/| /' conftest.
$ac_ext >&5
44687 { echo "$as_me:$LINENO: result: yes" >&5
44688 echo "${ECHO_T}yes" >&6; }
44689 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44693 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44694 if test "$wxUSE_OLE" = "yes" ; then
44695 cat >>confdefs.h
<<\_ACEOF
44696 #define wxUSE_OLE 1
44699 cat >>confdefs.h
<<\_ACEOF
44700 #define wxUSE_OLE_AUTOMATION 1
44703 cat >>confdefs.h
<<\_ACEOF
44704 #define wxUSE_ACTIVEX 1
44707 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
44711 if test "$wxUSE_DATAOBJ" = "yes" ; then
44712 cat >>confdefs.h
<<\_ACEOF
44713 #define wxUSE_DATAOBJ 1
44718 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44719 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44722 wxUSE_DRAG_AND_DROP
=no
44727 if test "$wxUSE_METAFILE" = "yes"; then
44728 cat >>confdefs.h
<<\_ACEOF
44729 #define wxUSE_METAFILE 1
44733 cat >>confdefs.h
<<\_ACEOF
44734 #define wxUSE_ENH_METAFILE 1
44740 if test "$wxUSE_IPC" = "yes"; then
44741 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44742 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44743 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44747 if test "$wxUSE_IPC" = "yes"; then
44748 cat >>confdefs.h
<<\_ACEOF
44749 #define wxUSE_IPC 1
44752 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
44756 if test "$wxUSE_DATAOBJ" = "yes"; then
44757 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44758 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44759 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44762 cat >>confdefs.h
<<\_ACEOF
44763 #define wxUSE_DATAOBJ 1
44768 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44769 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44771 wxUSE_DRAG_AND_DROP
=no
44774 if test "$wxUSE_CLIPBOARD" = "yes"; then
44775 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44776 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44777 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44781 if test "$wxUSE_CLIPBOARD" = "yes"; then
44782 cat >>confdefs.h
<<\_ACEOF
44783 #define wxUSE_CLIPBOARD 1
44789 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44790 if test "$wxUSE_GTK" = 1; then
44791 if test "$WXGTK12" != 1; then
44792 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44793 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44794 wxUSE_DRAG_AND_DROP
=no
44798 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44799 "$wxUSE_DFB" = 1; then
44800 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44801 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44802 wxUSE_DRAG_AND_DROP
=no
44805 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44806 cat >>confdefs.h
<<\_ACEOF
44807 #define wxUSE_DRAG_AND_DROP 1
44814 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44815 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
44818 if test "$wxUSE_SPLINES" = "yes" ; then
44819 cat >>confdefs.h
<<\_ACEOF
44820 #define wxUSE_SPLINES 1
44825 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44826 cat >>confdefs.h
<<\_ACEOF
44827 #define wxUSE_MOUSEWHEEL 1
44834 if test "$wxUSE_CONTROLS" = "yes"; then
44838 if test "$wxUSE_ACCEL" = "yes"; then
44839 cat >>confdefs.h
<<\_ACEOF
44840 #define wxUSE_ACCEL 1
44846 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44847 cat >>confdefs.h
<<\_ACEOF
44848 #define wxUSE_ANIMATIONCTRL 1
44852 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
44855 if test "$wxUSE_BUTTON" = "yes"; then
44856 cat >>confdefs.h
<<\_ACEOF
44857 #define wxUSE_BUTTON 1
44863 if test "$wxUSE_BMPBUTTON" = "yes"; then
44864 cat >>confdefs.h
<<\_ACEOF
44865 #define wxUSE_BMPBUTTON 1
44871 if test "$wxUSE_CALCTRL" = "yes"; then
44872 cat >>confdefs.h
<<\_ACEOF
44873 #define wxUSE_CALENDARCTRL 1
44877 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
44880 if test "$wxUSE_CARET" = "yes"; then
44881 cat >>confdefs.h
<<\_ACEOF
44882 #define wxUSE_CARET 1
44886 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
44889 if test "$wxUSE_COLLPANE" = "yes"; then
44890 cat >>confdefs.h
<<\_ACEOF
44891 #define wxUSE_COLLPANE 1
44895 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
44898 if test "$wxUSE_COMBOBOX" = "yes"; then
44899 cat >>confdefs.h
<<\_ACEOF
44900 #define wxUSE_COMBOBOX 1
44906 if test "$wxUSE_COMBOCTRL" = "yes"; then
44907 cat >>confdefs.h
<<\_ACEOF
44908 #define wxUSE_COMBOCTRL 1
44914 if test "$wxUSE_CHOICE" = "yes"; then
44915 cat >>confdefs.h
<<\_ACEOF
44916 #define wxUSE_CHOICE 1
44922 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44923 cat >>confdefs.h
<<\_ACEOF
44924 #define wxUSE_CHOICEBOOK 1
44930 if test "$wxUSE_CHECKBOX" = "yes"; then
44931 cat >>confdefs.h
<<\_ACEOF
44932 #define wxUSE_CHECKBOX 1
44938 if test "$wxUSE_CHECKLST" = "yes"; then
44939 cat >>confdefs.h
<<\_ACEOF
44940 #define wxUSE_CHECKLISTBOX 1
44946 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44947 cat >>confdefs.h
<<\_ACEOF
44948 #define wxUSE_COLOURPICKERCTRL 1
44954 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44955 cat >>confdefs.h
<<\_ACEOF
44956 #define wxUSE_DATEPICKCTRL 1
44962 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44963 cat >>confdefs.h
<<\_ACEOF
44964 #define wxUSE_DIRPICKERCTRL 1
44970 if test "$wxUSE_FILECTRL" = "yes"; then
44971 cat >>confdefs.h
<<\_ACEOF
44972 #define wxUSE_FILECTRL 1
44978 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44979 cat >>confdefs.h
<<\_ACEOF
44980 #define wxUSE_FILEPICKERCTRL 1
44986 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44987 cat >>confdefs.h
<<\_ACEOF
44988 #define wxUSE_FONTPICKERCTRL 1
44994 if test "$wxUSE_DISPLAY" = "yes"; then
44995 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44996 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44997 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45000 cat >>confdefs.h
<<\_ACEOF
45001 #define wxUSE_DISPLAY 1
45004 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45008 if test "$wxUSE_DETECT_SM" = "yes"; then
45009 cat >>confdefs.h
<<\_ACEOF
45010 #define wxUSE_DETECT_SM 1
45015 if test "$wxUSE_GAUGE" = "yes"; then
45016 cat >>confdefs.h
<<\_ACEOF
45017 #define wxUSE_GAUGE 1
45023 if test "$wxUSE_GRID" = "yes"; then
45024 cat >>confdefs.h
<<\_ACEOF
45025 #define wxUSE_GRID 1
45029 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45032 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45033 cat >>confdefs.h
<<\_ACEOF
45034 #define wxUSE_HYPERLINKCTRL 1
45040 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45041 cat >>confdefs.h
<<\_ACEOF
45042 #define wxUSE_BITMAPCOMBOBOX 1
45048 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45049 cat >>confdefs.h
<<\_ACEOF
45050 #define wxUSE_DATAVIEWCTRL 1
45054 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45057 if test "$wxUSE_IMAGLIST" = "yes"; then
45058 cat >>confdefs.h
<<\_ACEOF
45059 #define wxUSE_IMAGLIST 1
45064 if test "$wxUSE_LISTBOOK" = "yes"; then
45065 cat >>confdefs.h
<<\_ACEOF
45066 #define wxUSE_LISTBOOK 1
45072 if test "$wxUSE_LISTBOX" = "yes"; then
45073 cat >>confdefs.h
<<\_ACEOF
45074 #define wxUSE_LISTBOX 1
45080 if test "$wxUSE_LISTCTRL" = "yes"; then
45081 if test "$wxUSE_IMAGLIST" = "yes"; then
45082 cat >>confdefs.h
<<\_ACEOF
45083 #define wxUSE_LISTCTRL 1
45087 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45089 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45090 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45094 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45095 cat >>confdefs.h
<<\_ACEOF
45096 #define wxUSE_EDITABLELISTBOX 1
45100 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
45103 if test "$wxUSE_NOTEBOOK" = "yes"; then
45104 cat >>confdefs.h
<<\_ACEOF
45105 #define wxUSE_NOTEBOOK 1
45109 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45112 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45113 cat >>confdefs.h
<<\_ACEOF
45114 #define wxUSE_NOTIFICATION_MESSAGE 1
45119 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45120 cat >>confdefs.h
<<\_ACEOF
45121 #define wxUSE_ODCOMBOBOX 1
45125 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45128 if test "$wxUSE_RADIOBOX" = "yes"; then
45129 cat >>confdefs.h
<<\_ACEOF
45130 #define wxUSE_RADIOBOX 1
45136 if test "$wxUSE_RADIOBTN" = "yes"; then
45137 cat >>confdefs.h
<<\_ACEOF
45138 #define wxUSE_RADIOBTN 1
45144 if test "$wxUSE_SASH" = "yes"; then
45145 cat >>confdefs.h
<<\_ACEOF
45146 #define wxUSE_SASH 1
45149 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45152 if test "$wxUSE_SCROLLBAR" = "yes"; then
45153 cat >>confdefs.h
<<\_ACEOF
45154 #define wxUSE_SCROLLBAR 1
45158 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
45161 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45162 cat >>confdefs.h
<<\_ACEOF
45163 #define wxUSE_SEARCHCTRL 1
45169 if test "$wxUSE_SLIDER" = "yes"; then
45170 cat >>confdefs.h
<<\_ACEOF
45171 #define wxUSE_SLIDER 1
45177 if test "$wxUSE_SPINBTN" = "yes"; then
45178 cat >>confdefs.h
<<\_ACEOF
45179 #define wxUSE_SPINBTN 1
45185 if test "$wxUSE_SPINCTRL" = "yes"; then
45186 cat >>confdefs.h
<<\_ACEOF
45187 #define wxUSE_SPINCTRL 1
45193 if test "$wxUSE_SPLITTER" = "yes"; then
45194 cat >>confdefs.h
<<\_ACEOF
45195 #define wxUSE_SPLITTER 1
45198 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45201 if test "$wxUSE_STATBMP" = "yes"; then
45202 cat >>confdefs.h
<<\_ACEOF
45203 #define wxUSE_STATBMP 1
45209 if test "$wxUSE_STATBOX" = "yes"; then
45210 cat >>confdefs.h
<<\_ACEOF
45211 #define wxUSE_STATBOX 1
45217 if test "$wxUSE_STATTEXT" = "yes"; then
45218 cat >>confdefs.h
<<\_ACEOF
45219 #define wxUSE_STATTEXT 1
45225 if test "$wxUSE_STATLINE" = "yes"; then
45226 cat >>confdefs.h
<<\_ACEOF
45227 #define wxUSE_STATLINE 1
45233 if test "$wxUSE_STATUSBAR" = "yes"; then
45234 cat >>confdefs.h
<<\_ACEOF
45235 #define wxUSE_NATIVE_STATUSBAR 1
45238 cat >>confdefs.h
<<\_ACEOF
45239 #define wxUSE_STATUSBAR 1
45244 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45247 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45248 cat >>confdefs.h
<<\_ACEOF
45249 #define wxUSE_TAB_DIALOG 1
45254 if test "$wxUSE_TEXTCTRL" = "yes"; then
45255 cat >>confdefs.h
<<\_ACEOF
45256 #define wxUSE_TEXTCTRL 1
45260 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45263 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45264 if test "$wxUSE_COCOA" = 1 ; then
45265 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45266 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45270 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45271 cat >>confdefs.h
<<\_ACEOF
45272 #define wxUSE_TOGGLEBTN 1
45279 if test "$wxUSE_TOOLBAR" = "yes"; then
45280 cat >>confdefs.h
<<\_ACEOF
45281 #define wxUSE_TOOLBAR 1
45286 if test "$wxUSE_UNIVERSAL" = "yes"; then
45287 wxUSE_TOOLBAR_NATIVE
="no"
45289 wxUSE_TOOLBAR_NATIVE
="yes"
45290 cat >>confdefs.h
<<\_ACEOF
45291 #define wxUSE_TOOLBAR_NATIVE 1
45296 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45299 if test "$wxUSE_TOOLTIPS" = "yes"; then
45300 if test "$wxUSE_MOTIF" = 1; then
45301 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45302 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45304 if test "$wxUSE_UNIVERSAL" = "yes"; then
45305 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45306 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45308 cat >>confdefs.h
<<\_ACEOF
45309 #define wxUSE_TOOLTIPS 1
45316 if test "$wxUSE_TREEBOOK" = "yes"; then
45317 cat >>confdefs.h
<<\_ACEOF
45318 #define wxUSE_TREEBOOK 1
45324 if test "$wxUSE_TOOLBOOK" = "yes"; then
45325 cat >>confdefs.h
<<\_ACEOF
45326 #define wxUSE_TOOLBOOK 1
45332 if test "$wxUSE_TREECTRL" = "yes"; then
45333 if test "$wxUSE_IMAGLIST" = "yes"; then
45334 cat >>confdefs.h
<<\_ACEOF
45335 #define wxUSE_TREECTRL 1
45339 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
45341 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45342 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45346 if test "$wxUSE_POPUPWIN" = "yes"; then
45347 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45348 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45349 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45351 if test "$wxUSE_PM" = 1; then
45352 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45353 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45355 cat >>confdefs.h
<<\_ACEOF
45356 #define wxUSE_POPUPWIN 1
45359 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
45366 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45367 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45368 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45369 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45371 cat >>confdefs.h
<<\_ACEOF
45372 #define wxUSE_DIALUP_MANAGER 1
45375 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
45379 if test "$wxUSE_TIPWINDOW" = "yes"; then
45380 if test "$wxUSE_PM" = 1; then
45381 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45382 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45384 cat >>confdefs.h
<<\_ACEOF
45385 #define wxUSE_TIPWINDOW 1
45391 if test "$USES_CONTROLS" = 1; then
45392 cat >>confdefs.h
<<\_ACEOF
45393 #define wxUSE_CONTROLS 1
45399 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45400 cat >>confdefs.h
<<\_ACEOF
45401 #define wxUSE_ACCESSIBILITY 1
45404 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
45407 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45408 cat >>confdefs.h
<<\_ACEOF
45409 #define wxUSE_DRAGIMAGE 1
45412 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
45415 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45416 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45417 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45418 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45420 cat >>confdefs.h
<<\_ACEOF
45421 #define wxUSE_EXCEPTIONS 1
45424 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
45429 if test "$wxUSE_HTML" = "yes"; then
45430 cat >>confdefs.h
<<\_ACEOF
45431 #define wxUSE_HTML 1
45435 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45436 if test "$wxUSE_MAC" = 1; then
45437 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
45440 if test "$wxUSE_WEBKIT" = "yes"; then
45441 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45442 old_CPPFLAGS
="$CPPFLAGS"
45443 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
45444 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45445 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45446 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45447 echo $ECHO_N "(cached) $ECHO_C" >&6
45449 cat >conftest.
$ac_ext <<_ACEOF
45452 cat confdefs.h
>>conftest.
$ac_ext
45453 cat >>conftest.
$ac_ext <<_ACEOF
45454 /* end confdefs.h. */
45456 #include <Carbon/Carbon.h>
45457 #include <WebKit/WebKit.h>
45460 #include <WebKit/HIWebView.h>
45462 rm -f conftest.
$ac_objext
45463 if { (ac_try
="$ac_compile"
45464 case "(($ac_try" in
45465 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45466 *) ac_try_echo=$ac_try;;
45468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45469 (eval "$ac_compile") 2>conftest.er1
45471 grep -v '^ *+' conftest.er1 >conftest.err
45473 cat conftest.err >&5
45474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45475 (exit $ac_status); } && {
45476 test -z "$ac_c_werror_flag" ||
45477 test ! -s conftest.err
45478 } && test -s conftest.$ac_objext; then
45479 ac_cv_header_WebKit_HIWebView_h=yes
45481 echo "$as_me: failed program was:" >&5
45482 sed 's/^/| /' conftest.$ac_ext >&5
45484 ac_cv_header_WebKit_HIWebView_h=no
45487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45489 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45490 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45491 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45493 cat >>confdefs.h <<\_ACEOF
45494 #define wxUSE_WEBKIT 1
45497 WEBKIT_LINK="-framework WebKit"
45501 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45502 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45508 CPPFLAGS="$old_CPPFLAGS"
45509 elif test "$wxUSE_COCOA" = 1; then
45510 cat >>confdefs.h <<\_ACEOF
45511 #define wxUSE_WEBKIT 1
45520 if test "$wxUSE_XRC" = "yes"; then
45521 if test "$wxUSE_XML" != "yes"; then
45522 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45523 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45526 cat >>confdefs.h <<\_ACEOF
45527 #define wxUSE_XRC 1
45531 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45536 if test "$wxUSE_AUI" = "yes"; then
45537 cat >>confdefs.h <<\_ACEOF
45538 #define wxUSE_AUI 1
45542 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45546 if test "$wxUSE_STC" = "yes"; then
45547 cat >>confdefs.h <<\_ACEOF
45548 #define wxUSE_STC 1
45552 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45555 if test "$wxUSE_MENUS" = "yes"; then
45556 cat >>confdefs.h <<\_ACEOF
45557 #define wxUSE_MENUS 1
45560 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45563 if test "$wxUSE_METAFILE" = "yes"; then
45564 cat >>confdefs.h <<\_ACEOF
45565 #define wxUSE_METAFILE 1
45570 if test "$wxUSE_MIMETYPE" = "yes"; then
45571 cat >>confdefs.h <<\_ACEOF
45572 #define wxUSE_MIMETYPE 1
45577 if test "$wxUSE_MINIFRAME" = "yes"; then
45578 cat >>confdefs.h <<\_ACEOF
45579 #define wxUSE_MINIFRAME 1
45584 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45585 cat >>confdefs.h <<\_ACEOF
45586 #define wxUSE_SYSTEM_OPTIONS 1
45591 if test "$wxUSE_TASKBARICON" = "yes"; then
45592 cat >>confdefs.h <<\_ACEOF
45593 #define wxUSE_TASKBARICON 1
45596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45600 if test "$wxUSE_VALIDATORS" = "yes"; then
45601 cat >>confdefs.h <<\_ACEOF
45602 #define wxUSE_VALIDATORS 1
45605 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45608 if test "$wxUSE_PALETTE" = "yes" ; then
45609 if test "$wxUSE_DFB" = 1; then
45610 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45611 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45614 cat >>confdefs.h <<\_ACEOF
45615 #define wxUSE_PALETTE 1
45621 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45622 LIBS=" -lunicows $LIBS"
45626 if test "$wxUSE_RICHTEXT" = "yes"; then
45627 cat >>confdefs.h <<\_ACEOF
45628 #define wxUSE_RICHTEXT 1
45632 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45636 if test "$wxUSE_IMAGE" = "yes" ; then
45637 cat >>confdefs.h <<\_ACEOF
45638 #define wxUSE_IMAGE 1
45642 if test "$wxUSE_GIF" = "yes" ; then
45643 cat >>confdefs.h <<\_ACEOF
45644 #define wxUSE_GIF 1
45649 if test "$wxUSE_PCX" = "yes" ; then
45650 cat >>confdefs.h <<\_ACEOF
45651 #define wxUSE_PCX 1
45656 if test "$wxUSE_TGA" = "yes" ; then
45657 cat >>confdefs.h <<\_ACEOF
45658 #define wxUSE_TGA 1
45663 if test "$wxUSE_IFF" = "yes" ; then
45664 cat >>confdefs.h <<\_ACEOF
45665 #define wxUSE_IFF 1
45670 if test "$wxUSE_PNM" = "yes" ; then
45671 cat >>confdefs.h <<\_ACEOF
45672 #define wxUSE_PNM 1
45677 if test "$wxUSE_XPM" = "yes" ; then
45678 cat >>confdefs.h <<\_ACEOF
45679 #define wxUSE_XPM 1
45684 if test "$wxUSE_ICO_CUR" = "yes" ; then
45685 cat >>confdefs.h <<\_ACEOF
45686 #define wxUSE_ICO_CUR 1
45693 if test "$wxUSE_ABOUTDLG" = "yes"; then
45694 cat >>confdefs.h <<\_ACEOF
45695 #define wxUSE_ABOUTDLG 1
45700 if test "$wxUSE_CHOICEDLG" = "yes"; then
45701 cat >>confdefs.h <<\_ACEOF
45702 #define wxUSE_CHOICEDLG 1
45707 if test "$wxUSE_COLOURDLG" = "yes"; then
45708 cat >>confdefs.h <<\_ACEOF
45709 #define wxUSE_COLOURDLG 1
45714 if test "$wxUSE_FILEDLG" = "yes"; then
45715 cat >>confdefs.h <<\_ACEOF
45716 #define wxUSE_FILEDLG 1
45721 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45722 cat >>confdefs.h <<\_ACEOF
45723 #define wxUSE_FINDREPLDLG 1
45728 if test "$wxUSE_FONTDLG" = "yes"; then
45729 cat >>confdefs.h <<\_ACEOF
45730 #define wxUSE_FONTDLG 1
45735 if test "$wxUSE_DIRDLG" = "yes"; then
45736 if test "$wxUSE_TREECTRL" != "yes"; then
45737 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45738 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45740 cat >>confdefs.h <<\_ACEOF
45741 #define wxUSE_DIRDLG 1
45747 if test "$wxUSE_MSGDLG" = "yes"; then
45748 cat >>confdefs.h <<\_ACEOF
45749 #define wxUSE_MSGDLG 1
45754 if test "$wxUSE_NUMBERDLG" = "yes"; then
45755 cat >>confdefs.h <<\_ACEOF
45756 #define wxUSE_NUMBERDLG 1
45761 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45762 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45763 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45764 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45766 cat >>confdefs.h <<\_ACEOF
45767 #define wxUSE_PROGRESSDLG 1
45773 if test "$wxUSE_SPLASH" = "yes"; then
45774 cat >>confdefs.h <<\_ACEOF
45775 #define wxUSE_SPLASH 1
45778 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45781 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45782 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45783 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45784 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45786 cat >>confdefs.h <<\_ACEOF
45787 #define wxUSE_STARTUP_TIPS 1
45793 if test "$wxUSE_TEXTDLG" = "yes"; then
45794 cat >>confdefs.h <<\_ACEOF
45795 #define wxUSE_TEXTDLG 1
45800 if test "$wxUSE_WIZARDDLG" = "yes"; then
45801 cat >>confdefs.h <<\_ACEOF
45802 #define wxUSE_WIZARDDLG 1
45805 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45809 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
45810 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
45811 cat >>confdefs.h <<\_ACEOF
45812 #define wxUSE_OWNER_DRAWN 1
45819 if test "$wxUSE_MSW" = 1 ; then
45821 if test "$wxUSE_DC_CACHEING" = "yes"; then
45822 cat >>confdefs.h <<\_ACEOF
45823 #define wxUSE_DC_CACHEING 1
45828 if test "$wxUSE_DIB" = "yes"; then
45829 cat >>confdefs.h <<\_ACEOF
45830 #define wxUSE_WXDIB 1
45835 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
45836 cat >>confdefs.h <<\_ACEOF
45837 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
45842 if test "$wxUSE_UXTHEME" = "yes"; then
45843 cat >>confdefs.h <<\_ACEOF
45844 #define wxUSE_UXTHEME 1
45852 if test "$USE_WIN32" = 1 ; then
45853 if test "$wxUSE_INICONF" = "yes"; then
45854 cat >>confdefs.h <<\_ACEOF
45855 #define wxUSE_INICONF 1
45860 if test "$wxUSE_REGKEY" = "yes"; then
45861 cat >>confdefs.h <<\_ACEOF
45862 #define wxUSE_REGKEY 1
45869 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45870 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
45871 cat >>confdefs.h <<\_ACEOF
45872 #define wxUSE_GRAPHICS_CONTEXT 1
45875 elif test "$wxUSE_GTK" != 1; then
45876 cat >>confdefs.h <<\_ACEOF
45877 #define wxUSE_GRAPHICS_CONTEXT 1
45883 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45884 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45886 if test -n "$PKG_CONFIG"; then
45887 if test -n "$CAIRO_CFLAGS"; then
45888 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45890 if test -n "$PKG_CONFIG" && \
45891 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45892 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45895 (exit $ac_status); }; then
45896 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
45904 if test -n "$PKG_CONFIG"; then
45905 if test -n "$CAIRO_LIBS"; then
45906 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45908 if test -n "$PKG_CONFIG" && \
45909 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45910 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45913 (exit $ac_status); }; then
45914 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
45925 if test $pkg_failed = yes; then
45927 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45928 _pkg_short_errors_supported=yes
45930 _pkg_short_errors_supported=no
45932 if test $_pkg_short_errors_supported = yes; then
45933 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45935 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45937 # Put the nasty error message in config.log where it belongs
45938 echo "$CAIRO_PKG_ERRORS" >&5
45940 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45941 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45943 elif test $pkg_failed = untried; then
45944 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45945 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45948 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45949 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45950 { echo "$as_me:$LINENO: result: yes" >&5
45951 echo "${ECHO_T}yes" >&6; }
45952 cat >>confdefs.h <<\_ACEOF
45953 #define wxUSE_GRAPHICS_CONTEXT 1
45963 if test "$wxUSE_MEDIACTRL" = "yes"; then
45966 if test "$wxUSE_GTK" = 1; then
45967 wxUSE_GSTREAMER="no"
45969 GST_VERSION_MAJOR=0
45970 GST_VERSION_MINOR=10
45971 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45973 if test "$wxUSE_GSTREAMER8" = "no"; then
45976 { echo "$as_me:$LINENO: checking for GST" >&5
45977 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45979 if test -n "$PKG_CONFIG"; then
45980 if test -n "$GST_CFLAGS"; then
45981 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45983 if test -n "$PKG_CONFIG" && \
45984 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45985 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45988 (exit $ac_status); }; then
45989 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
45997 if test -n "$PKG_CONFIG"; then
45998 if test -n "$GST_LIBS"; then
45999 pkg_cv_GST_LIBS="$GST_LIBS"
46001 if test -n "$PKG_CONFIG" && \
46002 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46003 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46006 (exit $ac_status); }; then
46007 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46018 if test $pkg_failed = yes; then
46020 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46021 _pkg_short_errors_supported=yes
46023 _pkg_short_errors_supported=no
46025 if test $_pkg_short_errors_supported = yes; then
46026 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46028 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46030 # Put the nasty error message in config.log where it belongs
46031 echo "$GST_PKG_ERRORS" >&5
46034 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46035 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46036 GST_VERSION_MINOR=8
46039 elif test $pkg_failed = untried; then
46041 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46042 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46043 GST_VERSION_MINOR=8
46047 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46048 GST_LIBS=$pkg_cv_GST_LIBS
46049 { echo "$as_me:$LINENO: result: yes" >&5
46050 echo "${ECHO_T}yes" >&6; }
46052 wxUSE_GSTREAMER="yes"
46053 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46057 GST_VERSION_MINOR=8
46060 if test $GST_VERSION_MINOR = "8"; then
46061 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46064 { echo "$as_me:$LINENO: checking for GST" >&5
46065 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46067 if test -n "$PKG_CONFIG"; then
46068 if test -n "$GST_CFLAGS"; then
46069 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46071 if test -n "$PKG_CONFIG" && \
46072 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46073 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46076 (exit $ac_status); }; then
46077 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46085 if test -n "$PKG_CONFIG"; then
46086 if test -n "$GST_LIBS"; then
46087 pkg_cv_GST_LIBS="$GST_LIBS"
46089 if test -n "$PKG_CONFIG" && \
46090 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46091 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46094 (exit $ac_status); }; then
46095 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46106 if test $pkg_failed = yes; then
46108 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46109 _pkg_short_errors_supported=yes
46111 _pkg_short_errors_supported=no
46113 if test $_pkg_short_errors_supported = yes; then
46114 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46116 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46118 # Put the nasty error message in config.log where it belongs
46119 echo "$GST_PKG_ERRORS" >&5
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;}
46125 elif test $pkg_failed = untried; then
46127 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46128 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46131 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46132 GST_LIBS=$pkg_cv_GST_LIBS
46133 { echo "$as_me:$LINENO: result: yes" >&5
46134 echo "${ECHO_T}yes" >&6; }
46135 wxUSE_GSTREAMER="yes"
46140 if test "$wxUSE_GSTREAMER" = "yes"; then
46141 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46142 EXTRALIBS_MEDIA="$GST_LIBS"
46144 cat >>confdefs.h <<\_ACEOF
46145 #define wxUSE_GSTREAMER 1
46153 if test $USE_MEDIA = 1; then
46154 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46155 cat >>confdefs.h <<\_ACEOF
46156 #define wxUSE_MEDIACTRL 1
46163 if test "$cross_compiling" = "yes"; then
46166 OSINFO=`uname
-s -r -m`
46167 OSINFO="\"$OSINFO\""
46170 cat >>confdefs.h <<_ACEOF
46171 #define WXWIN_OS_DESCRIPTION $OSINFO
46176 if test "x$prefix" != "xNONE"; then
46179 wxPREFIX=$ac_default_prefix
46182 cat >>confdefs.h <<_ACEOF
46183 #define wxINSTALL_PREFIX "$wxPREFIX"
46189 STD_BASE_LIBS="base"
46191 BUILT_WX_LIBS="base"
46192 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46194 if test "$wxUSE_SOCKETS" = "yes" ; then
46195 STD_BASE_LIBS="net $STD_BASE_LIBS"
46196 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46198 if test "$wxUSE_XML" = "yes" ; then
46199 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46200 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46203 if test "$wxUSE_GUI" = "yes"; then
46204 STD_GUI_LIBS="adv core"
46205 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46207 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46208 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46209 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46211 if test "$wxUSE_HTML" = "yes" ; then
46212 STD_GUI_LIBS="html $STD_GUI_LIBS"
46213 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46215 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46216 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46218 if test "$wxUSE_OPENGL" = "yes" ; then
46219 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46221 if test "$wxUSE_AUI" = "yes" ; then
46222 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46224 if test "$wxUSE_STC" = "yes" ; then
46225 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46227 if test "$wxUSE_XRC" = "yes" ; then
46228 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46229 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46240 if test "$wxUSE_MAC" = 1 ; then
46241 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46242 if test "$USE_DARWIN" = 1; then
46243 LDFLAGS="$LDFLAGS -framework QuickTime"
46245 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46248 if test "$USE_DARWIN" = 1; then
46249 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46251 LDFLAGS="$LDFLAGS -lCarbonLib"
46254 if test "$wxUSE_COCOA" = 1 ; then
46255 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46256 if test "$wxUSE_MEDIACTRL" = "yes"; then
46257 LDFLAGS="$LDFLAGS -framework QuickTime"
46260 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46261 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46264 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46266 if test "$wxUSE_GUI" = "yes"; then
46269 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46270 erase event exec font image minimal mobile \
46271 mobile/wxedit mobile/styles render \
46272 shaped svg taborder vscroll widgets"
46274 if test "$wxUSE_MONOLITHIC" != "yes"; then
46275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46277 if test "$TOOLKIT" = "MSW"; then
46278 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46279 if test "$wxUSE_UNIVERSAL" != "yes"; then
46280 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46283 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46284 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46287 SAMPLES_SUBDIRS="console"
46291 if test "x$INTELCC" = "xyes" ; then
46292 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46293 elif test "$GCC" = yes ; then
46294 CWARNINGS="-Wall -Wundef"
46297 if test "x$INTELCXX" = "xyes" ; then
46298 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46299 elif test "$GXX" = yes ; then
46300 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46304 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46305 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46308 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46309 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
46310 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
46313 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46314 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46315 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46317 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46320 if test "x$MWCC" = "xyes"; then
46322 CC="$CC -cwd source -I-"
46323 CXX="$CXX -cwd source -I-"
46328 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46329 EXTRALIBS_XML="$EXPAT_LINK"
46330 EXTRALIBS_HTML="$MSPACK_LINK"
46331 EXTRALIBS_MEDIA="$GST_LIBS"
46332 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46333 if test "$wxUSE_GUI" = "yes"; then
46334 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46336 if test "$wxUSE_OPENGL" = "yes"; then
46337 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46340 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46342 WXCONFIG_LIBS="$LIBS"
46344 if test "$wxUSE_REGEX" = "builtin" ; then
46345 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46347 if test "$wxUSE_EXPAT" = "builtin" ; then
46348 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46350 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46351 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46353 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46354 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46356 if test "$wxUSE_LIBPNG" = "builtin" ; then
46357 wxconfig_3rdparty="png $wxconfig_3rdparty"
46359 if test "$wxUSE_ZLIB" = "builtin" ; then
46360 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46363 for i in $wxconfig_3rdparty ; do
46364 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46368 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46371 case "$wxUNIV_THEMES" in
46373 cat >>confdefs.h <<\_ACEOF
46374 #define wxUSE_ALL_THEMES 1
46380 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
46381 cat >>confdefs.h <<_ACEOF
46382 #define wxUSE_THEME_$t 1
46398 if test $wxUSE_MONOLITHIC = "yes" ; then
46404 if test $wxUSE_PLUGINS = "yes" ; then
46410 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46416 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46448 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
46459 TOOLKIT_DESC="GTK+"
46460 if test "$WXGTK2" = 1; then
46461 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46462 if test "$wxUSE_GTKPRINT" = "yes" ; then
46463 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46465 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46466 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46468 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46469 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46471 if test "$wxUSE_LIBHILDON" = "yes"; then
46472 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46475 if test "$TOOLKIT_EXTRA" != ""; then
46476 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46482 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46486 TOOLKIT_DESC="base only"
46490 if test "$wxUSE_WINE" = "yes"; then
46491 BAKEFILE_FORCE_PLATFORM=win32
46494 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46496 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46497 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46498 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46499 echo $ECHO_N "(cached) $ECHO_C" >&6
46502 echo '#include <stdio.h>
46503 const wchar_t test_var[] = L"awidetest";' > conftest.h
46505 echo '#include "conftest.h"
46508 printf("%ls", test_var);
46512 wx_cv_gcc_pch_bug="pch not supported"
46514 if $CXX conftest.h >/dev/null 2>&1
46518 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46520 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
46521 grep awidetest >/dev/null
46523 wx_cv_gcc_pch_bug=no
46525 wx_cv_gcc_pch_bug=yes
46530 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46533 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46534 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46536 if test "$wx_cv_gcc_pch_bug" = yes; then
46544 if test "x$BAKEFILE_HOST" = "x"; then
46545 if test "x${host}" = "x" ; then
46546 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46547 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46548 { (exit 1); exit 1; }; }
46551 BAKEFILE_HOST="${host}"
46554 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46556 if test -n "$ac_tool_prefix"; then
46557 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46558 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46559 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46561 if test "${ac_cv_prog_RANLIB+set}" = set; then
46562 echo $ECHO_N "(cached) $ECHO_C" >&6
46564 if test -n "$RANLIB"; then
46565 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46568 for as_dir in $PATH
46571 test -z "$as_dir" && as_dir=.
46572 for ac_exec_ext in '' $ac_executable_extensions; do
46573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46574 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46584 RANLIB=$ac_cv_prog_RANLIB
46585 if test -n "$RANLIB"; then
46586 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46587 echo "${ECHO_T}$RANLIB" >&6; }
46589 { echo "$as_me:$LINENO: result: no" >&5
46590 echo "${ECHO_T}no" >&6; }
46595 if test -z "$ac_cv_prog_RANLIB"; then
46596 ac_ct_RANLIB=$RANLIB
46597 # Extract the first word of "ranlib", so it can be a program name with args.
46598 set dummy ranlib; ac_word=$2
46599 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46601 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46602 echo $ECHO_N "(cached) $ECHO_C" >&6
46604 if test -n "$ac_ct_RANLIB"; then
46605 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46608 for as_dir in $PATH
46611 test -z "$as_dir" && as_dir=.
46612 for ac_exec_ext in '' $ac_executable_extensions; do
46613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46614 ac_cv_prog_ac_ct_RANLIB="ranlib"
46615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46624 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46625 if test -n "$ac_ct_RANLIB"; then
46626 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46627 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46629 { echo "$as_me:$LINENO: result: no" >&5
46630 echo "${ECHO_T}no" >&6; }
46633 if test "x$ac_ct_RANLIB" = x; then
46636 case $cross_compiling:$ac_tool_warned in
46638 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46639 whose name does not start with the host triplet. If you think this
46640 configuration is useful to you, please write to autoconf@gnu.org." >&5
46641 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46642 whose name does not start with the host triplet. If you think this
46643 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46644 ac_tool_warned=yes ;;
46646 RANLIB=$ac_ct_RANLIB
46649 RANLIB="$ac_cv_prog_RANLIB"
46652 # Find a good install program. We prefer a C program (faster),
46653 # so one script is as good as another. But avoid the broken or
46654 # incompatible versions:
46655 # SysV /etc/install, /usr/sbin/install
46656 # SunOS /usr/etc/install
46657 # IRIX /sbin/install
46659 # AmigaOS /C/install, which installs bootblocks on floppy discs
46660 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46661 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46662 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46663 # OS/2's system install, which has a completely different semantic
46664 # ./install, which can be erroneously created by make from ./install.sh.
46665 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46666 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46667 if test -z "$INSTALL"; then
46668 if test "${ac_cv_path_install+set}" = set; then
46669 echo $ECHO_N "(cached) $ECHO_C" >&6
46671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46672 for as_dir in $PATH
46675 test -z "$as_dir" && as_dir=.
46676 # Account for people who put trailing slashes in PATH elements.
46678 ./ | .// | /cC/* | \
46679 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46680 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46683 # OSF1 and SCO ODT 3.0 have their own names for install.
46684 # Don't use installbsd from OSF since it installs stuff as root
46686 for ac_prog in ginstall scoinst install; do
46687 for ac_exec_ext in '' $ac_executable_extensions; do
46688 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46689 if test $ac_prog = install &&
46690 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46691 # AIX install. It has an incompatible calling convention.
46693 elif test $ac_prog = install &&
46694 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46695 # program-specific install script used by HP pwplus--don't use.
46698 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46711 if test "${ac_cv_path_install+set}" = set; then
46712 INSTALL=$ac_cv_path_install
46714 # As a last resort, use the slow shell script. Don't cache a
46715 # value for INSTALL within a source directory, because that will
46716 # break other packages using the cache if that directory is
46717 # removed, or if the value is a relative name.
46718 INSTALL=$ac_install_sh
46721 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46722 echo "${ECHO_T}$INSTALL" >&6; }
46724 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46725 # It thinks the first close brace ends the variable substitution.
46726 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46728 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46730 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46732 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46733 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46735 if test "$LN_S" = "ln -s"; then
46736 { echo "$as_me:$LINENO: result: yes" >&5
46737 echo "${ECHO_T}yes" >&6; }
46739 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46740 echo "${ECHO_T}no, using $LN_S" >&6; }
46744 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46745 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46746 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46747 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46748 echo $ECHO_N "(cached) $ECHO_C" >&6
46750 cat >conftest.make <<\_ACEOF
46753 @echo '@@@%%%=$(MAKE)=@@@%%%'
46755 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46756 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
46757 *@@@%%%=?*=@@@%%%*)
46758 eval ac_cv_prog_make_${ac_make}_set=yes;;
46760 eval ac_cv_prog_make_${ac_make}_set=no;;
46762 rm -f conftest.make
46764 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46765 { echo "$as_me:$LINENO: result: yes" >&5
46766 echo "${ECHO_T}yes" >&6; }
46769 { echo "$as_me:$LINENO: result: no" >&5
46770 echo "${ECHO_T}no" >&6; }
46771 SET_MAKE="MAKE=${MAKE-make}"
46776 if test "x$SUNCXX" = "xyes"; then
46778 AROPTIONS="-xar -o"
46780 elif test "x$SGICC" = "xyes"; then
46785 if test -n "$ac_tool_prefix"; then
46786 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46787 set dummy ${ac_tool_prefix}ar; ac_word=$2
46788 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46790 if test "${ac_cv_prog_AR+set}" = set; then
46791 echo $ECHO_N "(cached) $ECHO_C" >&6
46793 if test -n "$AR"; then
46794 ac_cv_prog_AR="$AR" # Let the user override the test.
46796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46797 for as_dir in $PATH
46800 test -z "$as_dir" && as_dir=.
46801 for ac_exec_ext in '' $ac_executable_extensions; do
46802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46803 ac_cv_prog_AR="${ac_tool_prefix}ar"
46804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46814 if test -n "$AR"; then
46815 { echo "$as_me:$LINENO: result: $AR" >&5
46816 echo "${ECHO_T}$AR" >&6; }
46818 { echo "$as_me:$LINENO: result: no" >&5
46819 echo "${ECHO_T}no" >&6; }
46824 if test -z "$ac_cv_prog_AR"; then
46826 # Extract the first word of "ar", so it can be a program name with args.
46827 set dummy ar; ac_word=$2
46828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46830 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46831 echo $ECHO_N "(cached) $ECHO_C" >&6
46833 if test -n "$ac_ct_AR"; then
46834 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46837 for as_dir in $PATH
46840 test -z "$as_dir" && as_dir=.
46841 for ac_exec_ext in '' $ac_executable_extensions; do
46842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46843 ac_cv_prog_ac_ct_AR="ar"
46844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46853 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46854 if test -n "$ac_ct_AR"; then
46855 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46856 echo "${ECHO_T}$ac_ct_AR" >&6; }
46858 { echo "$as_me:$LINENO: result: no" >&5
46859 echo "${ECHO_T}no" >&6; }
46862 if test "x$ac_ct_AR" = x; then
46865 case $cross_compiling:$ac_tool_warned in
46867 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46868 whose name does not start with the host triplet. If you think this
46869 configuration is useful to you, please write to autoconf@gnu.org." >&5
46870 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46871 whose name does not start with the host triplet. If you think this
46872 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46873 ac_tool_warned=yes ;;
46878 AR="$ac_cv_prog_AR"
46885 if test -n "$ac_tool_prefix"; then
46886 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46887 set dummy ${ac_tool_prefix}strip; ac_word=$2
46888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46890 if test "${ac_cv_prog_STRIP+set}" = set; then
46891 echo $ECHO_N "(cached) $ECHO_C" >&6
46893 if test -n "$STRIP"; then
46894 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46897 for as_dir in $PATH
46900 test -z "$as_dir" && as_dir=.
46901 for ac_exec_ext in '' $ac_executable_extensions; do
46902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46903 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46913 STRIP=$ac_cv_prog_STRIP
46914 if test -n "$STRIP"; then
46915 { echo "$as_me:$LINENO: result: $STRIP" >&5
46916 echo "${ECHO_T}$STRIP" >&6; }
46918 { echo "$as_me:$LINENO: result: no" >&5
46919 echo "${ECHO_T}no" >&6; }
46924 if test -z "$ac_cv_prog_STRIP"; then
46926 # Extract the first word of "strip", so it can be a program name with args.
46927 set dummy strip; ac_word=$2
46928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46930 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46931 echo $ECHO_N "(cached) $ECHO_C" >&6
46933 if test -n "$ac_ct_STRIP"; then
46934 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46937 for as_dir in $PATH
46940 test -z "$as_dir" && as_dir=.
46941 for ac_exec_ext in '' $ac_executable_extensions; do
46942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46943 ac_cv_prog_ac_ct_STRIP="strip"
46944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46953 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46954 if test -n "$ac_ct_STRIP"; then
46955 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46956 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46958 { echo "$as_me:$LINENO: result: no" >&5
46959 echo "${ECHO_T}no" >&6; }
46962 if test "x$ac_ct_STRIP" = x; then
46965 case $cross_compiling:$ac_tool_warned in
46967 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46968 whose name does not start with the host triplet. If you think this
46969 configuration is useful to you, please write to autoconf@gnu.org." >&5
46970 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46971 whose name does not start with the host triplet. If you think this
46972 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46973 ac_tool_warned=yes ;;
46978 STRIP="$ac_cv_prog_STRIP"
46981 if test -n "$ac_tool_prefix"; then
46982 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46983 set dummy ${ac_tool_prefix}nm; ac_word=$2
46984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46986 if test "${ac_cv_prog_NM+set}" = set; then
46987 echo $ECHO_N "(cached) $ECHO_C" >&6
46989 if test -n "$NM"; then
46990 ac_cv_prog_NM="$NM" # Let the user override the test.
46992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46993 for as_dir in $PATH
46996 test -z "$as_dir" && as_dir=.
46997 for ac_exec_ext in '' $ac_executable_extensions; do
46998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46999 ac_cv_prog_NM="${ac_tool_prefix}nm"
47000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47010 if test -n "$NM"; then
47011 { echo "$as_me:$LINENO: result: $NM" >&5
47012 echo "${ECHO_T}$NM" >&6; }
47014 { echo "$as_me:$LINENO: result: no" >&5
47015 echo "${ECHO_T}no" >&6; }
47020 if test -z "$ac_cv_prog_NM"; then
47022 # Extract the first word of "nm", so it can be a program name with args.
47023 set dummy nm; ac_word=$2
47024 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47026 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47027 echo $ECHO_N "(cached) $ECHO_C" >&6
47029 if test -n "$ac_ct_NM"; then
47030 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47033 for as_dir in $PATH
47036 test -z "$as_dir" && as_dir=.
47037 for ac_exec_ext in '' $ac_executable_extensions; do
47038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47039 ac_cv_prog_ac_ct_NM="nm"
47040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47049 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47050 if test -n "$ac_ct_NM"; then
47051 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47052 echo "${ECHO_T}$ac_ct_NM" >&6; }
47054 { echo "$as_me:$LINENO: result: no" >&5
47055 echo "${ECHO_T}no" >&6; }
47058 if test "x$ac_ct_NM" = x; then
47061 case $cross_compiling:$ac_tool_warned in
47063 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47064 whose name does not start with the host triplet. If you think this
47065 configuration is useful to you, please write to autoconf@gnu.org." >&5
47066 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47067 whose name does not start with the host triplet. If you think this
47068 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47069 ac_tool_warned=yes ;;
47074 NM="$ac_cv_prog_NM"
47078 case ${BAKEFILE_HOST} in
47080 INSTALL_DIR="mkdir -p"
47083 INSTALL_DIR='$(INSTALL) -d'
47089 case ${BAKEFILE_HOST} in
47090 *-*-cygwin* | *-*-mingw32* )
47091 LDFLAGS_GUI="-mwindows"
47097 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47098 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47099 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47100 echo $ECHO_N "(cached) $ECHO_C" >&6
47103 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47104 egrep -s GNU > /dev/null); then
47105 bakefile_cv_prog_makeisgnu="yes"
47107 bakefile_cv_prog_makeisgnu="no"
47111 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47112 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47114 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47131 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47132 case "${BAKEFILE_HOST}" in
47139 *-pc-os2_emx | *-pc-os2-emx )
47149 powerpc-apple-macos* )
47158 case "$BAKEFILE_FORCE_PLATFORM" in
47193 # Check whether --enable-omf was given.
47194 if test "${enable_omf+set}" = set; then
47195 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47199 case "${BAKEFILE_HOST}" in
47201 if test "x$GCC" = "xyes"; then
47202 CFLAGS="$CFLAGS -fno-common"
47203 CXXFLAGS="$CXXFLAGS -fno-common"
47205 if test "x$XLCC" = "xyes"; then
47206 CFLAGS="$CFLAGS -qnocommon"
47207 CXXFLAGS="$CXXFLAGS -qnocommon"
47211 *-pc-os2_emx | *-pc-os2-emx )
47212 if test "x$bk_os2_use_omf" = "xyes" ; then
47215 LDFLAGS="-Zomf $LDFLAGS"
47216 CFLAGS="-Zomf $CFLAGS"
47217 CXXFLAGS="-Zomf $CXXFLAGS"
47225 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47231 SO_SUFFIX_MODULE="so"
47236 DLLPREFIX_MODULE=""
47240 case "${BAKEFILE_HOST}" in
47243 SO_SUFFIX_MODULE="sl"
47247 SO_SUFFIX_MODULE="a"
47251 SO_SUFFIX_MODULE="dll"
47252 DLLIMP_SUFFIX="dll.a"
47259 SO_SUFFIX_MODULE="dll"
47260 DLLIMP_SUFFIX="dll.a"
47270 *-pc-os2_emx | *-pc-os2-emx )
47272 SO_SUFFIX_MODULE="dll"
47273 DLLIMP_SUFFIX=$OS2_LIBEXT
47277 LIBEXT=".$OS2_LIBEXT"
47282 SO_SUFFIX_MODULE="bundle"
47286 if test "x$DLLIMP_SUFFIX" = "x" ; then
47287 DLLIMP_SUFFIX="$SO_SUFFIX"
47302 if test "x$GCC" = "xyes"; then
47306 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47307 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47310 case "${BAKEFILE_HOST}" in
47312 if test "x$GCC" != "xyes"; then
47313 LDFLAGS="$LDFLAGS -L/usr/lib"
47315 SHARED_LD_CC="${CC} -b -o"
47316 SHARED_LD_CXX="${CXX} -b -o"
47322 if test "$INTELCC" = "yes"; then
47324 elif test "x$SUNCXX" = "xyes"; then
47325 SHARED_LD_CC="${CC} -G -o"
47326 SHARED_LD_CXX="${CXX} -G -o"
47332 if test "x$SUNCXX" = xyes ; then
47333 SHARED_LD_CC="${CC} -G -o"
47334 SHARED_LD_CXX="${CXX} -G -o"
47342 cat <<EOF >shared-ld-sh
47344 #-----------------------------------------------------------------------------
47345 #-- Name: distrib/mac/shared-ld-sh
47346 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47347 #-- Author: Gilles Depeyrot
47348 #-- Copyright: (c) 2002 Gilles Depeyrot
47349 #-- Licence: any use permitted
47350 #-----------------------------------------------------------------------------
47355 linking_flag="-dynamiclib"
47356 ldargs="-r -keep_private_externs -nostdlib"
47358 while test ${D}# -gt 0; do
47365 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47366 # collect these options and values
47367 args="${D}{args} ${D}1 ${D}2"
47372 # collect these load args
47373 ldargs="${D}{ldargs} ${D}1"
47376 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47377 # collect these options
47378 args="${D}{args} ${D}1"
47381 -dynamiclib|-bundle)
47382 linking_flag="${D}1"
47386 echo "shared-ld: unhandled option '${D}1'"
47390 *.o | *.a | *.dylib)
47391 # collect object files
47392 objects="${D}{objects} ${D}1"
47396 echo "shared-ld: unhandled argument '${D}1'"
47407 # Link one module containing all the others
47409 if test ${D}{verbose} = 1; then
47410 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47412 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47416 # Link the shared library from the single module created, but only if the
47417 # previous command didn't fail:
47419 if test ${D}{status} = 0; then
47420 if test ${D}{verbose} = 1; then
47421 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47423 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47428 # Remove intermediate module
47430 rm -f master.${D}${D}.o
47435 chmod +x shared-ld-sh
47437 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47438 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47441 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47442 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47443 if test "${bakefile_cv_gcc31+set}" = set; then
47444 echo $ECHO_N "(cached) $ECHO_C" >&6
47447 cat >conftest.$ac_ext <<_ACEOF
47450 cat confdefs.h >>conftest.$ac_ext
47451 cat >>conftest.$ac_ext <<_ACEOF
47452 /* end confdefs.h. */
47458 #if (__GNUC__ < 3) || \
47459 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47467 rm -f conftest.$ac_objext
47468 if { (ac_try="$ac_compile"
47469 case "(($ac_try" in
47470 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47471 *) ac_try_echo
=$ac_try;;
47473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47474 (eval "$ac_compile") 2>conftest.er1
47476 grep -v '^ *+' conftest.er1
>conftest.err
47478 cat conftest.err
>&5
47479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47480 (exit $ac_status); } && {
47481 test -z "$ac_c_werror_flag" ||
47482 test ! -s conftest.err
47483 } && test -s conftest.
$ac_objext; then
47485 bakefile_cv_gcc31
=yes
47488 echo "$as_me: failed program was:" >&5
47489 sed 's/^/| /' conftest.
$ac_ext >&5
47492 bakefile_cv_gcc31
=no
47497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47500 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47501 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47502 if test "$bakefile_cv_gcc31" = "no"; then
47503 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47504 SHARED_LD_CXX
="$SHARED_LD_CC"
47506 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47507 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47510 if test "x$GCC" == "xyes"; then
47511 PIC_FLAG
="-dynamic -fPIC"
47513 if test "x$XLCC" = "xyes"; then
47514 PIC_FLAG
="-dynamic -DPIC"
47519 if test "x$GCC" = "xyes"; then
47522 case "${BAKEFILE_HOST}" in
47524 LD_EXPFULL
="-Wl,-bexpfull"
47528 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
47529 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
47531 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47532 set dummy makeC
++SharedLib
; ac_word
=$2
47533 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47535 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47536 echo $ECHO_N "(cached) $ECHO_C" >&6
47538 if test -n "$AIX_CXX_LD"; then
47539 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
47541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47542 for as_dir
in $PATH
47545 test -z "$as_dir" && as_dir
=.
47546 for ac_exec_ext
in '' $ac_executable_extensions; do
47547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47548 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
47549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47556 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
47559 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
47560 if test -n "$AIX_CXX_LD"; then
47561 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47562 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47564 { echo "$as_me:$LINENO: result: no" >&5
47565 echo "${ECHO_T}no" >&6; }
47569 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
47570 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
47575 SHARED_LD_CC
="${LD} -nostart -o"
47576 SHARED_LD_CXX
="${LD} -nostart -o"
47580 if test "x$GCC" != "xyes"; then
47585 *-*-cygwin* | *-*-mingw32* )
47587 SHARED_LD_CC
="\$(CC) -shared -o"
47588 SHARED_LD_CXX
="\$(CXX) -shared -o"
47592 *-pc-os2_emx | *-pc-os2-emx )
47593 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47594 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47598 cat <<EOF >dllar.sh
47601 # dllar - a tool to build both a .dll and an .a file
47602 # from a set of object (.o) files for EMX/OS2.
47604 # Written by Andrew Zabolotny, bit@freya.etu.ru
47605 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47607 # This script will accept a set of files on the command line.
47608 # All the public symbols from the .o files will be exported into
47609 # a .DEF file, then linker will be run (through gcc) against them to
47610 # build a shared library consisting of all given .o files. All libraries
47611 # (.a) will be first decompressed into component .o files then act as
47612 # described above. You can optionally give a description (-d "description")
47613 # which will be put into .DLL. To see the list of accepted options (as well
47614 # as command-line format) simply run this program without options. The .DLL
47615 # is built to be imported by name (there is no guarantee that new versions
47616 # of the library you build will have same ordinals for same symbols).
47618 # dllar is free software; you can redistribute it and/or modify
47619 # it under the terms of the GNU General Public License as published by
47620 # the Free Software Foundation; either version 2, or (at your option)
47621 # any later version.
47623 # dllar is distributed in the hope that it will be useful,
47624 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47625 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47626 # GNU General Public License for more details.
47628 # You should have received a copy of the GNU General Public License
47629 # along with dllar; see the file COPYING. If not, write to the Free
47630 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47633 # To successfuly run this program you will need:
47634 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47635 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47637 # (used to build the .dll)
47639 # (used to create .def file from .o files)
47641 # (used to create .a file from .def file)
47642 # - GNU text utilites (cat, sort, uniq)
47643 # used to process emxexp output
47644 # - GNU file utilities (mv, rm)
47646 # - lxlite (optional, see flag below)
47647 # (used for general .dll cleanup)
47654 # basnam, variant of basename, which does _not_ remove the path, _iff_
47655 # second argument (suffix to remove) is given
47659 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47662 echo ${D}1 | sed 's/'${D}2'${D}//'
47665 echo "error in basnam ${D}*"
47671 # Cleanup temporary files and output
47674 for i in ${D}inputFiles ; do
47677 rm -rf \`basnam ${D}i !\`
47684 # Kill result in case of failure as there is just to many stupid make/nmake
47685 # things out there which doesn't do this.
47686 if [ ${D}# -eq 0 ]; then
47687 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47691 # Print usage and exit script with rc=1.
47693 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47694 echo ' [-name-mangler-script script.sh]'
47695 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47696 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47697 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47698 echo ' [*.o] [*.a]'
47699 echo '*> "output_file" should have no extension.'
47700 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47701 echo ' The import library name is derived from this and is set to "name".a,'
47702 echo ' unless overridden by -import'
47703 echo '*> "importlib_name" should have no extension.'
47704 echo ' If it has the .o, or .a extension, it is automatically removed.'
47705 echo ' This name is used as the import library name and may be longer and'
47706 echo ' more descriptive than the DLL name which has to follow the old '
47707 echo ' 8.3 convention of FAT.'
47708 echo '*> "script.sh may be given to override the output_file name by a'
47709 echo ' different name. It is mainly useful if the regular make process'
47710 echo ' of some package does not take into account OS/2 restriction of'
47711 echo ' DLL name lengths. It takes the importlib name as input and is'
47712 echo ' supposed to procude a shorter name as output. The script should'
47713 echo ' expect to get importlib_name without extension and should produce'
47714 echo ' a (max.) 8 letter name without extension.'
47715 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47716 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47717 echo ' These flags will be put at the start of GCC command line.'
47718 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47719 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47720 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47721 echo ' If the last character of a symbol is "*", all symbols beginning'
47722 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47723 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47724 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47725 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47726 echo ' C runtime DLLs.'
47727 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47728 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47729 echo ' unchanged to GCC at the end of command line.'
47730 echo '*> If you create a DLL from a library and you do not specify -o,'
47731 echo ' the basename for DLL and import library will be set to library name,'
47732 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47733 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47734 echo ' library will be renamed into gcc_s.a.'
47737 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47738 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47743 # Execute a command.
47744 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47745 # @Uses Whatever CleanUp() uses.
47751 if [ ${D}rcCmd -ne 0 ]; then
47752 echo "command failed, exit code="${D}rcCmd
47767 CFLAGS="-s -Zcrtdll"
47769 EXPORT_BY_ORDINALS=0
47774 case ${D}curDirS in
47778 curDirS=${D}{curDirS}"/"
47781 # Parse commandline
47784 while [ ${D}1 ]; do
47787 EXPORT_BY_ORDINALS=1;
47797 -name-mangler-script)
47818 exclude_symbols=${D}{exclude_symbols}${D}1" "
47822 library_flags=${D}{library_flags}${D}1" "
47841 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47844 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47845 if [ ${D}omfLinking -eq 1 ]; then
47846 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47848 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47853 if [ ${D}libsToLink -ne 0 ]; then
47854 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47856 for file in ${D}1 ; do
47857 if [ -f ${D}file ]; then
47858 inputFiles="${D}{inputFiles} ${D}file"
47862 if [ ${D}found -eq 0 ]; then
47863 echo "ERROR: No file(s) found: "${D}1
47870 done # iterate cmdline words
47873 if [ -z "${D}inputFiles" ]; then
47874 echo "dllar: no input files"
47878 # Now extract all .o files from .a files
47880 for file in ${D}inputFiles ; do
47891 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47896 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47898 if [ ${D}? -ne 0 ]; then
47899 echo "Failed to create subdirectory ./${D}dirname"
47903 # Append '!' to indicate archive
47904 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47905 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47908 for subfile in ${D}dirname/*.o* ; do
47909 if [ -f ${D}subfile ]; then
47911 if [ -s ${D}subfile ]; then
47912 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47913 newInputFiles="${D}newInputFiles ${D}subfile"
47917 if [ ${D}found -eq 0 ]; then
47918 echo "WARNING: there are no files in archive \\'${D}file\\'"
47922 newInputFiles="${D}{newInputFiles} ${D}file"
47926 inputFiles="${D}newInputFiles"
47928 # Output filename(s).
47930 if [ -z ${D}outFile ]; then
47932 set outFile ${D}inputFiles; outFile=${D}2
47935 # If it is an archive, remove the '!' and the '_%' suffixes
47936 case ${D}outFile in
47938 outFile=\`basnam ${D}outFile _%!\`
47943 case ${D}outFile in
47945 outFile=\`basnam ${D}outFile .dll\`
47948 outFile=\`basnam ${D}outFile .DLL\`
47951 outFile=\`basnam ${D}outFile .o\`
47954 outFile=\`basnam ${D}outFile .obj\`
47957 outFile=\`basnam ${D}outFile .a\`
47960 outFile=\`basnam ${D}outFile .lib\`
47965 case ${D}outimpFile in
47967 outimpFile=\`basnam ${D}outimpFile .a\`
47970 outimpFile=\`basnam ${D}outimpFile .lib\`
47975 if [ -z ${D}outimpFile ]; then
47976 outimpFile=${D}outFile
47978 defFile="${D}{outFile}.def"
47979 arcFile="${D}{outimpFile}.a"
47980 arcFile2="${D}{outimpFile}.lib"
47982 #create ${D}dllFile as something matching 8.3 restrictions,
47983 if [ -z ${D}renameScript ] ; then
47984 dllFile="${D}outFile"
47986 dllFile=\`${D}renameScript ${D}outimpFile\`
47989 if [ ${D}do_backup -ne 0 ] ; then
47990 if [ -f ${D}arcFile ] ; then
47991 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47993 if [ -f ${D}arcFile2 ] ; then
47994 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47998 # Extract public symbols from all the object files.
47999 tmpdefFile=${D}{defFile}_%
48000 rm -f ${D}tmpdefFile
48001 for file in ${D}inputFiles ; do
48006 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48011 # Create the def file.
48013 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48014 dllFile="${D}{dllFile}.dll"
48015 if [ ! -z ${D}description ]; then
48016 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48018 echo "EXPORTS" >> ${D}defFile
48020 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48021 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48023 # Checks if the export is ok or not.
48024 for word in ${D}exclude_symbols; do
48025 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48026 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48030 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48031 sed "=" < ${D}tmpdefFile | \\
48035 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48037 ' > ${D}{tmpdefFile}%
48038 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48040 rm -f ${D}{tmpdefFile}%
48042 cat ${D}tmpdefFile >> ${D}defFile
48043 rm -f ${D}tmpdefFile
48045 # Do linking, create implib, and apply lxlite.
48047 for file in ${D}inputFiles ; do
48052 gccCmdl="${D}gccCmdl ${D}file"
48056 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48057 touch "${D}{outFile}.dll"
48059 doCommand "emximp -o ${D}arcFile ${D}defFile"
48060 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48062 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48065 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48067 doCommand "emxomf -s -l ${D}arcFile"
48077 powerpc
-apple-macos* | \
48078 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48088 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48089 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48090 { (exit 1); exit 1; }; }
48093 if test "x$PIC_FLAG" != "x" ; then
48094 PIC_FLAG
="$PIC_FLAG -DPIC"
48097 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48098 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48100 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48101 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48120 case "${BAKEFILE_HOST}" in
48121 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
48122 if test "x$SUNCXX" = "xyes"; then
48125 SONAME_FLAG
="-Wl,-soname,"
48160 # Check whether --enable-dependency-tracking was given.
48161 if test "${enable_dependency_tracking+set}" = set; then
48162 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
48166 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48167 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48170 if test "x$bk_use_trackdeps" = "xno" ; then
48172 { echo "$as_me:$LINENO: result: disabled" >&5
48173 echo "${ECHO_T}disabled" >&6; }
48177 if test "x$GCC" = "xyes"; then
48179 case "${BAKEFILE_HOST}" in
48181 DEPSFLAG
="-no-cpp-precomp -MMD"
48187 { echo "$as_me:$LINENO: result: gcc" >&5
48188 echo "${ECHO_T}gcc" >&6; }
48189 elif test "x$MWCC" = "xyes"; then
48192 { echo "$as_me:$LINENO: result: mwcc" >&5
48193 echo "${ECHO_T}mwcc" >&6; }
48194 elif test "x$SUNCC" = "xyes"; then
48197 { echo "$as_me:$LINENO: result: Sun cc" >&5
48198 echo "${ECHO_T}Sun cc" >&6; }
48199 elif test "x$SGICC" = "xyes"; then
48202 { echo "$as_me:$LINENO: result: SGI cc" >&5
48203 echo "${ECHO_T}SGI cc" >&6; }
48204 elif test "x$HPCC" = "xyes"; then
48207 { echo "$as_me:$LINENO: result: HP cc" >&5
48208 echo "${ECHO_T}HP cc" >&6; }
48209 elif test "x$COMPAQCC" = "xyes"; then
48212 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48213 echo "${ECHO_T}Compaq cc" >&6; }
48216 { echo "$as_me:$LINENO: result: none" >&5
48217 echo "${ECHO_T}none" >&6; }
48220 if test $DEPS_TRACKING = 1 ; then
48226 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48227 # script. It is used to track C/C++ files dependencies in portable way.
48229 # Permission is given to use this file in any way.
48231 DEPSMODE=${DEPSMODE}
48233 DEPSFLAG="${DEPSFLAG}"
48235 mkdir -p ${D}DEPSDIR
48237 if test ${D}DEPSMODE = gcc ; then
48238 ${D}* ${D}{DEPSFLAG}
48240 if test ${D}{status} != 0 ; then
48243 # move created file to the location we want it in:
48244 while test ${D}# -gt 0; do
48258 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48259 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48260 if test -f ${D}depfile ; then
48261 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48264 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48265 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48266 if test ! -f ${D}depfile ; then
48267 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48268 depfile="${D}objfile.d"
48270 if test -f ${D}depfile ; then
48271 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48276 elif test ${D}DEPSMODE = mwcc ; then
48277 ${D}* || exit ${D}?
48278 # Run mwcc again with -MM and redirect into the dep file we want
48279 # NOTE: We can't use shift here because we need ${D}* to be valid
48281 for arg in ${D}* ; do
48282 if test "${D}prevarg" = "-o"; then
48295 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48297 elif test ${D}DEPSMODE = unixcc; then
48298 ${D}* || exit ${D}?
48299 # Run compiler again with deps flag and redirect into the dep file.
48300 # It doesn't work if the '-o FILE' option is used, but without it the
48301 # dependency file will contain the wrong name for the object. So it is
48302 # removed from the command line, and the dep file is fixed with sed.
48304 while test ${D}# -gt 0; do
48311 eval arg${D}#=\\${D}1
48312 cmd="${D}cmd \\${D}arg${D}#"
48317 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48326 BK_DEPS
="`pwd`/bk-deps"
48334 case ${BAKEFILE_HOST} in
48335 *-*-cygwin* | *-*-mingw32* )
48336 if test -n "$ac_tool_prefix"; then
48337 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48338 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
48339 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48341 if test "${ac_cv_prog_WINDRES+set}" = set; then
48342 echo $ECHO_N "(cached) $ECHO_C" >&6
48344 if test -n "$WINDRES"; then
48345 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
48347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48348 for as_dir
in $PATH
48351 test -z "$as_dir" && as_dir
=.
48352 for ac_exec_ext
in '' $ac_executable_extensions; do
48353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48354 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
48355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48364 WINDRES
=$ac_cv_prog_WINDRES
48365 if test -n "$WINDRES"; then
48366 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48367 echo "${ECHO_T}$WINDRES" >&6; }
48369 { echo "$as_me:$LINENO: result: no" >&5
48370 echo "${ECHO_T}no" >&6; }
48375 if test -z "$ac_cv_prog_WINDRES"; then
48376 ac_ct_WINDRES
=$WINDRES
48377 # Extract the first word of "windres", so it can be a program name with args.
48378 set dummy windres
; ac_word
=$2
48379 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48381 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48382 echo $ECHO_N "(cached) $ECHO_C" >&6
48384 if test -n "$ac_ct_WINDRES"; then
48385 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
48387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48388 for as_dir
in $PATH
48391 test -z "$as_dir" && as_dir
=.
48392 for ac_exec_ext
in '' $ac_executable_extensions; do
48393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48394 ac_cv_prog_ac_ct_WINDRES
="windres"
48395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48404 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
48405 if test -n "$ac_ct_WINDRES"; then
48406 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48407 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48409 { echo "$as_me:$LINENO: result: no" >&5
48410 echo "${ECHO_T}no" >&6; }
48413 if test "x$ac_ct_WINDRES" = x
; then
48416 case $cross_compiling:$ac_tool_warned in
48418 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48419 whose name does not start with the host triplet. If you think this
48420 configuration is useful to you, please write to autoconf@gnu.org." >&5
48421 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48422 whose name does not start with the host triplet. If you think this
48423 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48424 ac_tool_warned
=yes ;;
48426 WINDRES
=$ac_ct_WINDRES
48429 WINDRES
="$ac_cv_prog_WINDRES"
48434 *-*-darwin* | powerpc
-apple-macos* )
48435 # Extract the first word of "Rez", so it can be a program name with args.
48436 set dummy Rez
; ac_word
=$2
48437 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48439 if test "${ac_cv_prog_REZ+set}" = set; then
48440 echo $ECHO_N "(cached) $ECHO_C" >&6
48442 if test -n "$REZ"; then
48443 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
48445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48446 for as_dir
in $PATH
48449 test -z "$as_dir" && as_dir
=.
48450 for ac_exec_ext
in '' $ac_executable_extensions; do
48451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48452 ac_cv_prog_REZ
="Rez"
48453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48460 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
48463 REZ
=$ac_cv_prog_REZ
48464 if test -n "$REZ"; then
48465 { echo "$as_me:$LINENO: result: $REZ" >&5
48466 echo "${ECHO_T}$REZ" >&6; }
48468 { echo "$as_me:$LINENO: result: no" >&5
48469 echo "${ECHO_T}no" >&6; }
48473 # Extract the first word of "SetFile", so it can be a program name with args.
48474 set dummy SetFile
; ac_word
=$2
48475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48477 if test "${ac_cv_prog_SETFILE+set}" = set; then
48478 echo $ECHO_N "(cached) $ECHO_C" >&6
48480 if test -n "$SETFILE"; then
48481 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
48483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48484 for as_dir
in $PATH
48487 test -z "$as_dir" && as_dir
=.
48488 for ac_exec_ext
in '' $ac_executable_extensions; do
48489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48490 ac_cv_prog_SETFILE
="SetFile"
48491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48498 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
48501 SETFILE
=$ac_cv_prog_SETFILE
48502 if test -n "$SETFILE"; then
48503 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48504 echo "${ECHO_T}$SETFILE" >&6; }
48506 { echo "$as_me:$LINENO: result: no" >&5
48507 echo "${ECHO_T}no" >&6; }
48519 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.2"
48522 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.2"
48526 # Check whether --enable-precomp-headers was given.
48527 if test "${enable_precomp_headers+set}" = set; then
48528 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
48537 case ${BAKEFILE_HOST} in
48543 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48544 if test "x$GCC" = "xyes"; then
48545 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48546 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48547 cat >conftest.
$ac_ext <<_ACEOF
48550 cat confdefs.h
>>conftest.
$ac_ext
48551 cat >>conftest.
$ac_ext <<_ACEOF
48552 /* end confdefs.h. */
48558 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48559 There is no PCH support
48562 There is no PCH support
48564 #if (__GNUC__ == 3) && \
48565 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48566 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48567 ( defined(__INTEL_COMPILER) )
48568 There is no PCH support
48575 rm -f conftest.
$ac_objext
48576 if { (ac_try
="$ac_compile"
48577 case "(($ac_try" in
48578 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48579 *) ac_try_echo=$ac_try;;
48581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48582 (eval "$ac_compile") 2>conftest.er1
48584 grep -v '^ *+' conftest.er1 >conftest.err
48586 cat conftest.err >&5
48587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48588 (exit $ac_status); } && {
48589 test -z "$ac_c_werror_flag" ||
48590 test ! -s conftest.err
48591 } && test -s conftest.$ac_objext; then
48593 { echo "$as_me:$LINENO: result: yes" >&5
48594 echo "${ECHO_T}yes" >&6; }
48598 echo "$as_me: failed program was:" >&5
48599 sed 's/^/| /' conftest.$ac_ext >&5
48602 cat >conftest.$ac_ext <<_ACEOF
48605 cat confdefs.h >>conftest.$ac_ext
48606 cat >>conftest.$ac_ext <<_ACEOF
48607 /* end confdefs.h. */
48613 #if !defined(__INTEL_COMPILER) || \
48614 (__INTEL_COMPILER < 800)
48615 There is no PCH support
48622 rm -f conftest.$ac_objext
48623 if { (ac_try="$ac_compile"
48624 case "(($ac_try" in
48625 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48626 *) ac_try_echo
=$ac_try;;
48628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48629 (eval "$ac_compile") 2>conftest.er1
48631 grep -v '^ *+' conftest.er1
>conftest.err
48633 cat conftest.err
>&5
48634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48635 (exit $ac_status); } && {
48636 test -z "$ac_c_werror_flag" ||
48637 test ! -s conftest.err
48638 } && test -s conftest.
$ac_objext; then
48640 { echo "$as_me:$LINENO: result: yes" >&5
48641 echo "${ECHO_T}yes" >&6; }
48645 echo "$as_me: failed program was:" >&5
48646 sed 's/^/| /' conftest.
$ac_ext >&5
48649 { echo "$as_me:$LINENO: result: no" >&5
48650 echo "${ECHO_T}no" >&6; }
48654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48659 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48663 cat <<EOF >bk-make-pch
48666 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48667 # script. It is used to generated precompiled headers.
48669 # Permission is given to use this file in any way.
48679 while test ${D}{#} -gt 0; do
48683 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48684 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48685 headerfile="${D}{incdir}/${D}{header}"
48688 -use-pch|-use_pch )
48693 if test ${D}add_to_cmdline = 1 ; then
48694 compiler="${D}{compiler} ${D}{1}"
48699 if test "x${D}{headerfile}" = "x" ; then
48700 echo "error: can't find header ${D}{header} in include paths" >&2
48702 if test -f ${D}{outfile} ; then
48703 rm -f ${D}{outfile}
48705 mkdir -p \`dirname ${D}{outfile}\`
48707 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48709 if test "x${GCC_PCH}" = "x1" ; then
48710 # can do this because gcc is >= 3.4:
48711 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48712 elif test "x${ICC_PCH}" = "x1" ; then
48713 filename=pch_gen-${D}${D}
48714 file=${D}{filename}.c
48715 dfile=${D}{filename}.d
48716 cat > ${D}file <<EOT
48717 #include "${D}header"
48719 # using -MF icc complains about differing command lines in creation/use
48720 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48721 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48722 rm -f ${D}file ${D}dfile ${D}{filename}.o
48728 chmod +x bk
-make-pch
48729 BK_MAKE_PCH
="`pwd`/bk-make-pch"
48738 COND_BUILD_DEBUG
="#"
48739 if test "x$BUILD" = "xdebug" ; then
48740 COND_BUILD_DEBUG
=""
48743 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
48744 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48745 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
48748 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
48749 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48750 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
48753 COND_BUILD_DEBUG_UNICODE_0
="#"
48754 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48755 COND_BUILD_DEBUG_UNICODE_0
=""
48758 COND_BUILD_DEBUG_UNICODE_1
="#"
48759 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48760 COND_BUILD_DEBUG_UNICODE_1
=""
48763 COND_BUILD_RELEASE
="#"
48764 if test "x$BUILD" = "xrelease" ; then
48765 COND_BUILD_RELEASE
=""
48768 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
48769 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48770 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
48773 COND_BUILD_RELEASE_UNICODE_0
="#"
48774 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48775 COND_BUILD_RELEASE_UNICODE_0
=""
48778 COND_BUILD_RELEASE_UNICODE_1
="#"
48779 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48780 COND_BUILD_RELEASE_UNICODE_1
=""
48783 COND_DEBUG_FLAG_1
="#"
48784 if test "x$DEBUG_FLAG" = "x1" ; then
48785 COND_DEBUG_FLAG_1
=""
48788 COND_DEBUG_INFO_0
="#"
48789 if test "x$DEBUG_INFO" = "x0" ; then
48790 COND_DEBUG_INFO_0
=""
48793 COND_DEBUG_INFO_1
="#"
48794 if test "x$DEBUG_INFO" = "x1" ; then
48795 COND_DEBUG_INFO_1
=""
48798 COND_DEPS_TRACKING_0
="#"
48799 if test "x$DEPS_TRACKING" = "x0" ; then
48800 COND_DEPS_TRACKING_0
=""
48803 COND_DEPS_TRACKING_1
="#"
48804 if test "x$DEPS_TRACKING" = "x1" ; then
48805 COND_DEPS_TRACKING_1
=""
48809 if test "x$GCC_PCH" = "x1" ; then
48814 if test "x$ICC_PCH" = "x1" ; then
48818 COND_MONOLITHIC_0
="#"
48819 if test "x$MONOLITHIC" = "x0" ; then
48820 COND_MONOLITHIC_0
=""
48823 COND_MONOLITHIC_0_SHARED_0
="#"
48824 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48825 COND_MONOLITHIC_0_SHARED_0
=""
48828 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
48829 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48830 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
48833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
48834 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48835 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
48838 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
48839 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48840 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
48843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
48844 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
48848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
48849 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
48853 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
48854 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48855 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
48858 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
48859 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48860 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
48863 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
48864 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48865 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
48868 COND_MONOLITHIC_0_SHARED_1
="#"
48869 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48870 COND_MONOLITHIC_0_SHARED_1
=""
48873 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
48874 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48875 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
48878 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
48879 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48880 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
48883 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
48884 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48885 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
48888 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
48889 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48890 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
48893 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
48894 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48895 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
48898 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
48899 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48900 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
48903 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
48904 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48905 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
48908 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
48909 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48910 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
48913 COND_MONOLITHIC_0_USE_AUI_1
="#"
48914 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48915 COND_MONOLITHIC_0_USE_AUI_1
=""
48918 COND_MONOLITHIC_0_USE_GUI_1
="#"
48919 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48920 COND_MONOLITHIC_0_USE_GUI_1
=""
48923 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
48924 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48925 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
48928 COND_MONOLITHIC_0_USE_HTML_1
="#"
48929 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48930 COND_MONOLITHIC_0_USE_HTML_1
=""
48933 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
48934 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48935 COND_MONOLITHIC_0_USE_MEDIA_1
=""
48938 COND_MONOLITHIC_0_USE_QA_1
="#"
48939 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48940 COND_MONOLITHIC_0_USE_QA_1
=""
48943 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
48944 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48945 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
48948 COND_MONOLITHIC_0_USE_STC_1
="#"
48949 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48950 COND_MONOLITHIC_0_USE_STC_1
=""
48953 COND_MONOLITHIC_0_USE_XRC_1
="#"
48954 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48955 COND_MONOLITHIC_0_USE_XRC_1
=""
48958 COND_MONOLITHIC_1
="#"
48959 if test "x$MONOLITHIC" = "x1" ; then
48960 COND_MONOLITHIC_1
=""
48963 COND_MONOLITHIC_1_SHARED_0
="#"
48964 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48965 COND_MONOLITHIC_1_SHARED_0
=""
48968 COND_MONOLITHIC_1_SHARED_1
="#"
48969 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48970 COND_MONOLITHIC_1_SHARED_1
=""
48973 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
48974 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48975 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
48978 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
48979 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48980 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
48983 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
48984 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48985 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
48988 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
48989 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48990 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
48993 COND_PLATFORM_MACOSX_1
="#"
48994 if test "x$PLATFORM_MACOSX" = "x1" ; then
48995 COND_PLATFORM_MACOSX_1
=""
48998 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
48999 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49000 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
49003 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
49004 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49005 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
49008 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
49009 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49010 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
49013 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
49014 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49015 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
49018 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
49019 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49020 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
49023 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
49024 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49025 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
49028 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
49029 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49030 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
49033 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49034 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49035 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49038 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49039 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49040 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49043 COND_PLATFORM_MACOS_1
="#"
49044 if test "x$PLATFORM_MACOS" = "x1" ; then
49045 COND_PLATFORM_MACOS_1
=""
49048 COND_PLATFORM_MAC_1
="#"
49049 if test "x$PLATFORM_MAC" = "x1" ; then
49050 COND_PLATFORM_MAC_1
=""
49053 COND_PLATFORM_MSDOS_1
="#"
49054 if test "x$PLATFORM_MSDOS" = "x1" ; then
49055 COND_PLATFORM_MSDOS_1
=""
49058 COND_PLATFORM_OS2_1
="#"
49059 if test "x$PLATFORM_OS2" = "x1" ; then
49060 COND_PLATFORM_OS2_1
=""
49063 COND_PLATFORM_UNIX_0
="#"
49064 if test "x$PLATFORM_UNIX" = "x0" ; then
49065 COND_PLATFORM_UNIX_0
=""
49068 COND_PLATFORM_UNIX_1
="#"
49069 if test "x$PLATFORM_UNIX" = "x1" ; then
49070 COND_PLATFORM_UNIX_1
=""
49073 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
49074 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49075 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
49078 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
49079 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49080 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
49083 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49084 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49085 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49088 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49089 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49090 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49093 COND_PLATFORM_WIN32_0
="#"
49094 if test "x$PLATFORM_WIN32" = "x0" ; then
49095 COND_PLATFORM_WIN32_0
=""
49098 COND_PLATFORM_WIN32_1
="#"
49099 if test "x$PLATFORM_WIN32" = "x1" ; then
49100 COND_PLATFORM_WIN32_1
=""
49104 if test "x$SHARED" = "x0" ; then
49108 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49109 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49110 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49113 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49114 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49115 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49118 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49119 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49120 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49123 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49124 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49125 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49128 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49129 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49130 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49133 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49134 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49135 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49138 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49139 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49140 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49143 COND_SHARED_0_USE_STC_1
="#"
49144 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49145 COND_SHARED_0_USE_STC_1
=""
49148 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
49149 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49150 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
49153 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
49154 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49155 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
49158 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
49159 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49160 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
49164 if test "x$SHARED" = "x1" ; then
49168 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
49169 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49170 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
49174 if test "x$TOOLKIT" = "x" ; then
49178 COND_TOOLKIT_COCOA
="#"
49179 if test "x$TOOLKIT" = "xCOCOA" ; then
49180 COND_TOOLKIT_COCOA
=""
49183 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
49184 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49185 COND_TOOLKIT_COCOA_USE_GUI_1
=""
49188 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
49189 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49190 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
49193 COND_TOOLKIT_DFB
="#"
49194 if test "x$TOOLKIT" = "xDFB" ; then
49195 COND_TOOLKIT_DFB
=""
49198 COND_TOOLKIT_DFB_USE_GUI_1
="#"
49199 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49200 COND_TOOLKIT_DFB_USE_GUI_1
=""
49203 COND_TOOLKIT_GTK
="#"
49204 if test "x$TOOLKIT" = "xGTK" ; then
49205 COND_TOOLKIT_GTK
=""
49208 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
49209 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49210 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
49213 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
49214 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49215 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
49218 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
49219 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49220 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
49223 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
49224 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49225 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
49228 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
="#"
49229 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49230 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
=""
49233 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
49234 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49235 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
49238 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
49239 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49240 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
49243 COND_TOOLKIT_GTK_USE_GUI_1
="#"
49244 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49245 COND_TOOLKIT_GTK_USE_GUI_1
=""
49248 COND_TOOLKIT_MAC
="#"
49249 if test "x$TOOLKIT" = "xMAC" ; then
49250 COND_TOOLKIT_MAC
=""
49253 COND_TOOLKIT_MAC_USE_GUI_1
="#"
49254 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49255 COND_TOOLKIT_MAC_USE_GUI_1
=""
49258 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49259 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49260 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49263 COND_TOOLKIT_MGL
="#"
49264 if test "x$TOOLKIT" = "xMGL" ; then
49265 COND_TOOLKIT_MGL
=""
49268 COND_TOOLKIT_MGL_USE_GUI_1
="#"
49269 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49270 COND_TOOLKIT_MGL_USE_GUI_1
=""
49273 COND_TOOLKIT_MOTIF
="#"
49274 if test "x$TOOLKIT" = "xMOTIF" ; then
49275 COND_TOOLKIT_MOTIF
=""
49278 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
49279 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49280 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
49283 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
49284 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49285 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
49288 COND_TOOLKIT_MSW
="#"
49289 if test "x$TOOLKIT" = "xMSW" ; then
49290 COND_TOOLKIT_MSW
=""
49293 COND_TOOLKIT_MSW_USE_GUI_1
="#"
49294 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49295 COND_TOOLKIT_MSW_USE_GUI_1
=""
49298 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
49299 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49300 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
49303 COND_TOOLKIT_MSW_WXUNIV_0
="#"
49304 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49305 COND_TOOLKIT_MSW_WXUNIV_0
=""
49308 COND_TOOLKIT_PM
="#"
49309 if test "x$TOOLKIT" = "xPM" ; then
49313 COND_TOOLKIT_PM_USE_GUI_1
="#"
49314 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49315 COND_TOOLKIT_PM_USE_GUI_1
=""
49318 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
49319 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49320 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
49323 COND_TOOLKIT_WINCE
="#"
49324 if test "x$TOOLKIT" = "xWINCE" ; then
49325 COND_TOOLKIT_WINCE
=""
49328 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
49329 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49330 COND_TOOLKIT_WINCE_USE_GUI_1
=""
49333 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
49334 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49335 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
49338 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
49339 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49340 COND_TOOLKIT_WINCE_WXUNIV_0
=""
49343 COND_TOOLKIT_X11
="#"
49344 if test "x$TOOLKIT" = "xX11" ; then
49345 COND_TOOLKIT_X11
=""
49348 COND_TOOLKIT_X11_USE_GUI_1
="#"
49349 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49350 COND_TOOLKIT_X11_USE_GUI_1
=""
49354 if test "x$UNICODE" = "x1" ; then
49358 COND_USE_EXCEPTIONS_0
="#"
49359 if test "x$USE_EXCEPTIONS" = "x0" ; then
49360 COND_USE_EXCEPTIONS_0
=""
49363 COND_USE_EXCEPTIONS_1
="#"
49364 if test "x$USE_EXCEPTIONS" = "x1" ; then
49365 COND_USE_EXCEPTIONS_1
=""
49369 if test "x$USE_GUI" = "x0" ; then
49374 if test "x$USE_GUI" = "x1" ; then
49378 COND_USE_GUI_1_USE_OPENGL_1
="#"
49379 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49380 COND_USE_GUI_1_USE_OPENGL_1
=""
49383 COND_USE_GUI_1_WXUNIV_0
="#"
49384 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49385 COND_USE_GUI_1_WXUNIV_0
=""
49388 COND_USE_GUI_1_WXUNIV_1
="#"
49389 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49390 COND_USE_GUI_1_WXUNIV_1
=""
49393 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49394 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49395 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49398 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49399 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49400 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49403 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49404 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49405 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49409 if test "x$USE_PCH" = "x1" ; then
49413 COND_USE_PLUGINS_0
="#"
49414 if test "x$USE_PLUGINS" = "x0" ; then
49415 COND_USE_PLUGINS_0
=""
49418 COND_USE_RTTI_0
="#"
49419 if test "x$USE_RTTI" = "x0" ; then
49423 COND_USE_RTTI_1
="#"
49424 if test "x$USE_RTTI" = "x1" ; then
49428 COND_USE_SOSYMLINKS_1
="#"
49429 if test "x$USE_SOSYMLINKS" = "x1" ; then
49430 COND_USE_SOSYMLINKS_1
=""
49433 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
49434 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49435 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
49438 COND_USE_SOVERLINUX_1
="#"
49439 if test "x$USE_SOVERLINUX" = "x1" ; then
49440 COND_USE_SOVERLINUX_1
=""
49443 COND_USE_SOVERSION_0
="#"
49444 if test "x$USE_SOVERSION" = "x0" ; then
49445 COND_USE_SOVERSION_0
=""
49448 COND_USE_SOVERSOLARIS_1
="#"
49449 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49450 COND_USE_SOVERSOLARIS_1
=""
49454 if test "x$USE_STC" = "x1" ; then
49458 COND_USE_THREADS_0
="#"
49459 if test "x$USE_THREADS" = "x0" ; then
49460 COND_USE_THREADS_0
=""
49463 COND_USE_THREADS_1
="#"
49464 if test "x$USE_THREADS" = "x1" ; then
49465 COND_USE_THREADS_1
=""
49469 if test "x$USE_XRC" = "x1" ; then
49473 COND_WINDOWS_IMPLIB_1
="#"
49474 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49475 COND_WINDOWS_IMPLIB_1
=""
49478 COND_WITH_PLUGIN_SDL_1
="#"
49479 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49480 COND_WITH_PLUGIN_SDL_1
=""
49484 if test "x$WXUNIV" = "x0" ; then
49489 if test "x$WXUNIV" = "x1" ; then
49493 COND_WXUSE_EXPAT_BUILTIN
="#"
49494 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49495 COND_WXUSE_EXPAT_BUILTIN
=""
49498 COND_WXUSE_LIBJPEG_BUILTIN
="#"
49499 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49500 COND_WXUSE_LIBJPEG_BUILTIN
=""
49503 COND_WXUSE_LIBPNG_BUILTIN
="#"
49504 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49505 COND_WXUSE_LIBPNG_BUILTIN
=""
49508 COND_WXUSE_LIBTIFF_BUILTIN
="#"
49509 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49510 COND_WXUSE_LIBTIFF_BUILTIN
=""
49513 COND_WXUSE_REGEX_BUILTIN
="#"
49514 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49515 COND_WXUSE_REGEX_BUILTIN
=""
49518 COND_WXUSE_ZLIB_BUILTIN
="#"
49519 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49520 COND_WXUSE_ZLIB_BUILTIN
=""
49525 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49526 { { 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
49527 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;}
49528 { (exit 1); exit 1; }; }
49531 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49532 { { 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
49533 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;}
49534 { (exit 1); exit 1; }; }
49541 ?
:* ) # Drive letter, considered as absolute.
49544 INSTALL
=`pwd`/${INSTALL} ;;
49547 if test "$wxUSE_GUI" = "yes"; then
49549 if test "$wxUSE_MSW" = 1 ; then
49550 if test "x$WINDRES" = "x"; then
49551 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49552 echo "$as_me: error: Required windres program not found" >&2;}
49553 { (exit 1); exit 1; }; }
49559 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49560 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49561 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49563 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49565 # Extract the first word of "DeRez", so it can be a program name with args.
49566 set dummy DeRez
; ac_word
=$2
49567 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49569 if test "${ac_cv_prog_DEREZ+set}" = set; then
49570 echo $ECHO_N "(cached) $ECHO_C" >&6
49572 if test -n "$DEREZ"; then
49573 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
49575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49576 for as_dir
in $PATH
49579 test -z "$as_dir" && as_dir
=.
49580 for ac_exec_ext
in '' $ac_executable_extensions; do
49581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49582 ac_cv_prog_DEREZ
="DeRez"
49583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49590 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
49593 DEREZ
=$ac_cv_prog_DEREZ
49594 if test -n "$DEREZ"; then
49595 { echo "$as_me:$LINENO: result: $DEREZ" >&5
49596 echo "${ECHO_T}$DEREZ" >&6; }
49598 { echo "$as_me:$LINENO: result: no" >&5
49599 echo "${ECHO_T}no" >&6; }
49604 MACSETFILE
="\$(SETFILE)"
49606 if test "$wxUSE_MAC" = 1; then
49607 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
49609 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
49611 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
49612 RESCOMP
="cat /dev/null \| $REZ"
49613 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
49619 if test "$wxUSE_PM" = 1; then
49621 WXCONFIG_RESFLAGS
="-ep"
49623 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
49625 POSTLINK_COMMAND
="@true"
49632 if test $GCC_PCH = 1
49634 if test "$wx_cv_gcc_pch_bug" = yes; then
49635 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49636 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49637 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49638 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49639 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49640 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49643 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
49647 if test "$wxUSE_MAC" = 1 ; then
49648 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49649 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
49655 if test "$wxUSE_SHARED" = "yes"; then
49657 *-pc-os2_emx | *-pc-os2-emx )
49658 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49659 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49660 cp -p ${srcdir}/src
/os
2/dllnames.sh .
49661 cp -p ${srcdir}/src
/os
2/dllar.sh .
49665 if test "$wxUSE_OMF" = "yes"; then
49667 *-pc-os2_emx | *-pc-os2-emx )
49668 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
49669 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49670 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49675 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49680 if test "$GCC" = yes; then
49681 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
49682 LIBS
=`echo $LIBS | sed 's/-mt//'`
49683 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49688 if test "x$SUNCXX" = xyes
; then
49689 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
49690 LIBS
=`echo $LIBS | sed 's/-pthread//'`
49691 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49696 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
49697 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49699 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49760 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49761 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49762 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49763 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
49764 echo $ECHO_N "(cached) $ECHO_C" >&6
49766 cat >conftest.
make <<\_ACEOF
49769 @
echo '@@@%%%=$(MAKE)=@@@%%%'
49771 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49772 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49773 *@@@
%%%=?
*=@@@
%%%*)
49774 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
49776 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
49778 rm -f conftest.
make
49780 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
49781 { echo "$as_me:$LINENO: result: yes" >&5
49782 echo "${ECHO_T}yes" >&6; }
49785 { echo "$as_me:$LINENO: result: no" >&5
49786 echo "${ECHO_T}no" >&6; }
49787 SET_MAKE
="MAKE=${MAKE-make}"
49792 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49795 if test "$USE_WIN32" = 1; then
49796 ac_config_commands
="$ac_config_commands
49802 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49805 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49808 if test "$wx_cv_version_script" = "yes"; then
49809 ac_config_files
="$ac_config_files version-script"
49812 ac_config_files
="$ac_config_files Makefile"
49815 ac_config_commands
="$ac_config_commands wx-config"
49819 if test "$wxWITH_SUBDIRS" != "no"; then
49820 if test "$wxUSE_GUI" = "yes"; then
49821 SUBDIRS
="samples demos utils"
49823 SUBDIRS
="samples utils"
49828 # Check whether --with-cppunit-prefix was given.
49829 if test "${with_cppunit_prefix+set}" = set; then
49830 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
49832 cppunit_config_prefix
=""
49836 # Check whether --with-cppunit-exec-prefix was given.
49837 if test "${with_cppunit_exec_prefix+set}" = set; then
49838 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
49840 cppunit_config_exec_prefix
=""
49844 if test x
$cppunit_config_exec_prefix != x
; then
49845 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49846 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49847 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
49850 if test x
$cppunit_config_prefix != x
; then
49851 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
49852 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49853 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
49857 # Extract the first word of "cppunit-config", so it can be a program name with args.
49858 set dummy cppunit
-config; ac_word
=$2
49859 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49861 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49862 echo $ECHO_N "(cached) $ECHO_C" >&6
49864 case $CPPUNIT_CONFIG in
49866 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49870 for as_dir
in $PATH
49873 test -z "$as_dir" && as_dir
=.
49874 for ac_exec_ext
in '' $ac_executable_extensions; do
49875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49876 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
49877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49884 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
49888 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
49889 if test -n "$CPPUNIT_CONFIG"; then
49890 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49891 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49893 { echo "$as_me:$LINENO: result: no" >&5
49894 echo "${ECHO_T}no" >&6; }
49898 cppunit_version_min
=1.8.0
49900 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49901 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49903 if test "$CPPUNIT_CONFIG" = "no" ; then
49904 { echo "$as_me:$LINENO: result: no" >&5
49905 echo "${ECHO_T}no" >&6; }
49908 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
49909 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
49910 cppunit_version
=`$CPPUNIT_CONFIG --version`
49912 cppunit_major_version
=`echo $cppunit_version | \
49913 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49914 cppunit_minor_version
=`echo $cppunit_version | \
49915 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49916 cppunit_micro_version
=`echo $cppunit_version | \
49917 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49919 cppunit_major_min
=`echo $cppunit_version_min | \
49920 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49921 cppunit_minor_min
=`echo $cppunit_version_min | \
49922 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49923 cppunit_micro_min
=`echo $cppunit_version_min | \
49924 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49926 cppunit_version_proper
=`expr \
49927 $cppunit_major_version \> $cppunit_major_min \| \
49928 $cppunit_major_version \= $cppunit_major_min \& \
49929 $cppunit_minor_version \> $cppunit_minor_min \| \
49930 $cppunit_major_version \= $cppunit_major_min \& \
49931 $cppunit_minor_version \= $cppunit_minor_min \& \
49932 $cppunit_micro_version \>= $cppunit_micro_min `
49934 if test "$cppunit_version_proper" = "1" ; then
49935 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49936 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49938 { echo "$as_me:$LINENO: result: no" >&5
49939 echo "${ECHO_T}no" >&6; }
49944 if test "x$no_cppunit" = x
; then
49945 SUBDIRS
="$SUBDIRS tests"
49956 for subdir
in $SUBDIRS; do
49957 if test -d ${srcdir}/${subdir} ; then
49958 if test "$wxUSE_GUI" = "yes"; then
49959 if test ${subdir} = "samples"; then
49960 makefiles
="samples/Makefile.in $makefiles"
49961 for sample
in $SAMPLES_SUBDIRS; do
49962 if test -d $srcdir/samples
/$sample; then
49963 makefiles
="samples/$sample/Makefile.in $makefiles"
49967 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
49968 eval "disabled=\$$disabled_var"
49969 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
49970 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49973 if test ${subdir} = "samples"; then
49974 makefiles
="samples/Makefile.in samples/console/Makefile.in"
49975 elif test ${subdir} = "utils"; then
49977 for util
in HelpGen tex2rtf
; do
49978 if test -d $srcdir/utils
/$util ; then
49979 makefiles
="utils/$util/Makefile.in \
49980 utils/$util/src/Makefile.in \
49985 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
49989 for mkin
in $makefiles ; do
49990 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49991 ac_config_files
="$ac_config_files $mk"
49997 cat >confcache
<<\_ACEOF
49998 # This file is a shell script that caches the results of configure
49999 # tests run on this system so they can be shared between configure
50000 # scripts and configure runs, see configure's option --config-cache.
50001 # It is not useful on other systems. If it contains results you don't
50002 # want to keep, you may remove or edit it.
50004 # config.status only pays attention to the cache file if you give it
50005 # the --recheck option to rerun configure.
50007 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50008 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50009 # following values.
50013 # The following way of writing the cache mishandles newlines in values,
50014 # but we know of no workaround that is simple, portable, and efficient.
50015 # So, we kill variables containing newlines.
50016 # Ultrix sh set writes to stderr and can't be redirected directly,
50017 # and sets the high bit in the cache file unless we assign to the vars.
50019 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50020 eval ac_val
=\$
$ac_var
50024 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50025 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50028 _
| IFS
| as_nl
) ;; #(
50029 *) $as_unset $ac_var ;;
50035 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50036 *${as_nl}ac_space
=\
*)
50037 # `set' does not quote correctly, so add quotes (double-quote
50038 # substitution turns \\\\ into \\, and sed turns \\ into \).
50041 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50044 # `set' quotes correctly as required by POSIX, so do not add quotes.
50045 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50054 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50056 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50058 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
50059 if test -w "$cache_file"; then
50060 test "x$cache_file" != "x/dev/null" &&
50061 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50062 echo "$as_me: updating cache $cache_file" >&6;}
50063 cat confcache
>$cache_file
50065 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50066 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50071 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
50072 # Let make expand exec_prefix.
50073 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
50075 DEFS
=-DHAVE_CONFIG_H
50079 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
50080 # 1. Remove the extension, and $U if already installed.
50081 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
50082 ac_i
=`echo "$ac_i" | sed "$ac_script"`
50083 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50084 # will be set to the directory where LIBOBJS objects are built.
50085 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50086 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50088 LIBOBJS
=$ac_libobjs
50090 LTLIBOBJS
=$ac_ltlibobjs
50094 : ${CONFIG_STATUS=./config.status}
50095 ac_clean_files_save
=$ac_clean_files
50096 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
50097 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50098 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50099 cat >$CONFIG_STATUS <<_ACEOF
50101 # Generated by $as_me.
50102 # Run this file to recreate the current configuration.
50103 # Compiler output produced by configure, useful for debugging
50104 # configure, is in config.log if it exists.
50107 ac_cs_recheck=false
50109 SHELL=\${CONFIG_SHELL-$SHELL}
50112 cat >>$CONFIG_STATUS <<\_ACEOF
50113 ## --------------------- ##
50114 ## M4sh Initialization. ##
50115 ## --------------------- ##
50117 # Be more Bourne compatible
50118 DUALCASE
=1; export DUALCASE
# for MKS sh
50119 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
50122 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50123 # is contrary to our usage. Disable this feature.
50124 alias -g '${1+"$@"}'='"$@"'
50125 setopt NO_GLOB_SUBST
50127 case `(set -o) 2>/dev/null` in
50128 *posix
*) set -o posix
;;
50137 # Avoid depending upon Character Ranges.
50138 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50139 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50140 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50141 as_cr_digits
='0123456789'
50142 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50144 # The user is always right.
50145 if test "${PATH_SEPARATOR+set}" != set; then
50146 echo "#! /bin/sh" >conf$$.sh
50147 echo "exit 0" >>conf$$.sh
50149 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50157 # Support unset when possible.
50158 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
50166 # We need space, tab and new line, in precisely that order. Quoting is
50167 # there to prevent editors from complaining about space-tab.
50168 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50169 # splitting by setting IFS to empty value.)
50174 # Find who we are. Look in the path if we contain no directory separator.
50176 *[\\/]* ) as_myself
=$0 ;;
50177 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50178 for as_dir
in $PATH
50181 test -z "$as_dir" && as_dir
=.
50182 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50188 # We did not find ourselves, most probably we were run as `sh COMMAND'
50189 # in which case we are not to be found in the path.
50190 if test "x$as_myself" = x
; then
50193 if test ! -f "$as_myself"; then
50194 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50195 { (exit 1); exit 1; }
50198 # Work around bugs in pre-3.0 UWIN ksh.
50199 for as_var
in ENV MAIL MAILPATH
50200 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
50208 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50209 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50210 LC_TELEPHONE LC_TIME
50212 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50213 eval $as_var=C
; export $as_var
50215 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
50219 # Required to use basename.
50220 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
50221 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
50227 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50228 as_basename
=basename
50234 # Name of the executable.
50235 as_me
=`$as_basename -- "$0" ||
50236 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50237 X"$0" : 'X\(//\)$' \| \
50238 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50240 sed '/^.*\/\([^/][^/]*\)\/*$/{
50259 as_lineno_1
=$LINENO
50260 as_lineno_2
=$LINENO
50261 test "x$as_lineno_1" != "x$as_lineno_2" &&
50262 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50264 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50265 # uniformly replaced by the line number. The first 'sed' inserts a
50266 # line-number line after each line using $LINENO; the second 'sed'
50267 # does the real work. The second script uses 'N' to pair each
50268 # line-number line with the line containing $LINENO, and appends
50269 # trailing '-' during substitution so that $LINENO is not a special
50270 # case at line end.
50271 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50272 # scripts with optimization help from Paolo Bonzini. Blame Lee
50273 # E. McMahon (1931-1989) for sed's syntax. :-)
50285 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50288 ' >$as_me.lineno
&&
50289 chmod +x
"$as_me.lineno" ||
50290 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50291 { (exit 1); exit 1; }; }
50293 # Don't try to exec as it changes $[0], causing all sort of problems
50294 # (the dirname of $[0] is not the place where we might find the
50295 # original and so on. Autoconf is especially sensitive to this).
50296 .
"./$as_me.lineno"
50297 # Exit status is that of the last command.
50302 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
50308 ECHO_C
= ECHO_N
= ECHO_T
=
50309 case `echo -n x` in
50311 case `echo 'x\c'` in
50312 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
50319 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
50320 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
50326 rm -f conf$$ conf$$.exe conf$$.
file
50327 if test -d conf$$.dir
; then
50328 rm -f conf$$.dir
/conf$$.
file
50334 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
50336 # ... but there are two gotchas:
50337 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50338 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50339 # In both cases, we have to default to `cp -p'.
50340 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
50342 elif ln conf$$.
file conf$$
2>/dev
/null
; then
50347 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
50348 rmdir conf$$.dir
2>/dev
/null
50350 if mkdir -p .
2>/dev
/null
; then
50353 test -d .
/-p && rmdir .
/-p
50357 if test -x / >/dev
/null
2>&1; then
50358 as_test_x
='test -x'
50360 if ls -dL / >/dev
/null
2>&1; then
50367 if test -d "$1"; then
50373 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50374 ???[sx]*):;;*)false;;esac;fi
50378 as_executable_p
=$as_test_x
50380 # Sed expression to map a string onto a valid CPP name.
50381 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50383 # Sed expression to map a string onto a valid variable name.
50384 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50389 # Save the log message, to keep $[0] and so on meaningful, and to
50390 # report actual input values of CONFIG_FILES etc. instead of their
50391 # values after options handling.
50393 This file was extended by wxWidgets $as_me 2.9.0, which was
50394 generated by GNU Autoconf 2.61. Invocation command line was
50396 CONFIG_FILES = $CONFIG_FILES
50397 CONFIG_HEADERS = $CONFIG_HEADERS
50398 CONFIG_LINKS = $CONFIG_LINKS
50399 CONFIG_COMMANDS = $CONFIG_COMMANDS
50402 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50407 cat >>$CONFIG_STATUS <<_ACEOF
50408 # Files that config.status was made for.
50409 config_files="$ac_config_files"
50410 config_headers="$ac_config_headers"
50411 config_commands="$ac_config_commands"
50415 cat >>$CONFIG_STATUS <<\_ACEOF
50417 \`$as_me' instantiates files from templates according to the
50418 current configuration.
50420 Usage: $0 [OPTIONS] [FILE]...
50422 -h, --help print this help, then exit
50423 -V, --version print version number and configuration settings, then exit
50424 -q, --quiet do not print progress messages
50425 -d, --debug don't remove temporary files
50426 --recheck update $as_me by reconfiguring in the same conditions
50427 --file=FILE[:TEMPLATE]
50428 instantiate the configuration file FILE
50429 --header=FILE[:TEMPLATE]
50430 instantiate the configuration header FILE
50432 Configuration files:
50435 Configuration headers:
50438 Configuration commands:
50441 Report bugs to <bug-autoconf@gnu.org>."
50444 cat >>$CONFIG_STATUS <<_ACEOF
50446 wxWidgets config.status 2.9.0
50447 configured by $0, generated by GNU Autoconf 2.61,
50448 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50450 Copyright (C) 2006 Free Software Foundation, Inc.
50451 This config.status script is free software; the Free Software Foundation
50452 gives unlimited permission to copy, distribute and modify it."
50459 cat >>$CONFIG_STATUS <<\_ACEOF
50460 # If no file are specified by the user, then we need to provide default
50461 # value. By we need to know if files were specified by the user.
50467 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
50468 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
50479 # Handling of the options.
50480 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50482 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50483 echo "$ac_cs_version"; exit ;;
50484 --debug | --debu | --deb | --de | --d | -d )
50486 --file | --fil | --fi | --f )
50488 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
50489 ac_need_defaults
=false
;;
50490 --header | --heade | --head | --hea )
50492 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
50493 ac_need_defaults
=false
;;
50495 # Conflict between --help and --header
50496 { echo "$as_me: error: ambiguous option: $1
50497 Try \`$0 --help' for more information." >&2
50498 { (exit 1); exit 1; }; };;
50499 --help | --hel | -h )
50500 echo "$ac_cs_usage"; exit ;;
50501 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50502 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50505 # This is an error.
50506 -*) { echo "$as_me: error: unrecognized option: $1
50507 Try \`$0 --help' for more information." >&2
50508 { (exit 1); exit 1; }; } ;;
50510 *) ac_config_targets
="$ac_config_targets $1"
50511 ac_need_defaults
=false
;;
50517 ac_configure_extra_args
=
50519 if $ac_cs_silent; then
50521 ac_configure_extra_args
="$ac_configure_extra_args --silent"
50525 cat >>$CONFIG_STATUS <<_ACEOF
50526 if \$ac_cs_recheck; then
50527 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50528 CONFIG_SHELL=$SHELL
50529 export CONFIG_SHELL
50530 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50534 cat >>$CONFIG_STATUS <<\_ACEOF
50538 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50539 ## Running $as_me. ##
50545 cat >>$CONFIG_STATUS <<_ACEOF
50551 infile="$srcdir/include/wx/msw/genrcdefs.h"
50552 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50555 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50556 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50557 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50563 cat >>$CONFIG_STATUS <<\_ACEOF
50565 # Handling of arguments.
50566 for ac_config_target
in $ac_config_targets
50568 case $ac_config_target in
50569 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50570 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
50571 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50572 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50573 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
50574 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
50575 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
50576 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
50578 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50579 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50580 { (exit 1); exit 1; }; };;
50585 # If the user did not use the arguments to specify the items to instantiate,
50586 # then the envvar interface is used. Set only those that are not.
50587 # We use the long form for the default assignment because of an extremely
50588 # bizarre bug on SunOS 4.1.3.
50589 if $ac_need_defaults; then
50590 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
50591 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
50592 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
50595 # Have a temporary directory for convenience. Make it in the build tree
50596 # simply because there is no reason against having it here, and in addition,
50597 # creating and moving files from /tmp can sometimes cause problems.
50598 # Hook for its removal unless debugging.
50599 # Note that there is a small window in which the directory will not be cleaned:
50600 # after its creation but before its name has been assigned to `$tmp'.
50604 trap 'exit_status=$?
50605 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50607 trap '{ (exit 1); exit 1; }' 1 2 13 15
50609 # Create a (secure) tmp directory for tmp files.
50612 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50613 test -n "$tmp" && test -d "$tmp"
50616 tmp
=.
/conf$$
-$RANDOM
50617 (umask 077 && mkdir "$tmp")
50620 echo "$me: cannot create a temporary directory in ." >&2
50621 { (exit 1); exit 1; }
50625 # Set up the sed scripts for CONFIG_FILES section.
50628 # No need to generate the scripts if there are no CONFIG_FILES.
50629 # This happens for instance when ./config.status config.h
50630 if test -n "$CONFIG_FILES"; then
50637 for ac_last_try
in false false false false false
:; do
50638 cat >conf$
$subs.
sed <<_ACEOF
50639 SHELL!$SHELL$ac_delim
50640 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50641 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50642 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50643 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50644 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50645 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50646 exec_prefix!$exec_prefix$ac_delim
50647 prefix!$prefix$ac_delim
50648 program_transform_name!$program_transform_name$ac_delim
50649 bindir!$bindir$ac_delim
50650 sbindir!$sbindir$ac_delim
50651 libexecdir!$libexecdir$ac_delim
50652 datarootdir!$datarootdir$ac_delim
50653 datadir!$datadir$ac_delim
50654 sysconfdir!$sysconfdir$ac_delim
50655 sharedstatedir!$sharedstatedir$ac_delim
50656 localstatedir!$localstatedir$ac_delim
50657 includedir!$includedir$ac_delim
50658 oldincludedir!$oldincludedir$ac_delim
50659 docdir!$docdir$ac_delim
50660 infodir!$infodir$ac_delim
50661 htmldir!$htmldir$ac_delim
50662 dvidir!$dvidir$ac_delim
50663 pdfdir!$pdfdir$ac_delim
50664 psdir!$psdir$ac_delim
50665 libdir!$libdir$ac_delim
50666 localedir!$localedir$ac_delim
50667 mandir!$mandir$ac_delim
50668 DEFS!$DEFS$ac_delim
50669 ECHO_C!$ECHO_C$ac_delim
50670 ECHO_N!$ECHO_N$ac_delim
50671 ECHO_T!$ECHO_T$ac_delim
50672 LIBS!$LIBS$ac_delim
50673 build_alias!$build_alias$ac_delim
50674 host_alias!$host_alias$ac_delim
50675 target_alias!$target_alias$ac_delim
50676 build!$build$ac_delim
50677 build_cpu!$build_cpu$ac_delim
50678 build_vendor!$build_vendor$ac_delim
50679 build_os!$build_os$ac_delim
50680 host!$host$ac_delim
50681 host_cpu!$host_cpu$ac_delim
50682 host_vendor!$host_vendor$ac_delim
50683 host_os!$host_os$ac_delim
50684 target!$target$ac_delim
50685 target_cpu!$target_cpu$ac_delim
50686 target_vendor!$target_vendor$ac_delim
50687 target_os!$target_os$ac_delim
50688 wx_top_builddir!$wx_top_builddir$ac_delim
50690 CFLAGS!$CFLAGS$ac_delim
50691 LDFLAGS!$LDFLAGS$ac_delim
50692 CPPFLAGS!$CPPFLAGS$ac_delim
50693 ac_ct_CC!$ac_ct_CC$ac_delim
50694 EXEEXT!$EXEEXT$ac_delim
50695 OBJEXT!$OBJEXT$ac_delim
50697 GREP!$GREP$ac_delim
50698 EGREP!$EGREP$ac_delim
50700 CXXFLAGS!$CXXFLAGS$ac_delim
50701 ac_ct_CXX!$ac_ct_CXX$ac_delim
50703 subdirs!$subdirs$ac_delim
50704 PKG_CONFIG!$PKG_CONFIG$ac_delim
50705 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50706 GTK_LIBS!$GTK_LIBS$ac_delim
50707 GTK_CONFIG!$GTK_CONFIG$ac_delim
50708 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50709 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50710 XMKMF!$XMKMF$ac_delim
50711 X_CFLAGS!$X_CFLAGS$ac_delim
50712 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50713 X_LIBS!$X_LIBS$ac_delim
50714 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50715 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50716 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50717 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50718 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50719 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50720 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50721 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50722 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50723 LIBICONV!$LIBICONV$ac_delim
50724 SDL_CONFIG!$SDL_CONFIG$ac_delim
50725 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50726 SDL_LIBS!$SDL_LIBS$ac_delim
50727 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
50728 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
50729 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50730 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50731 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50732 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50733 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50734 HILDON_LIBS!$HILDON_LIBS$ac_delim
50735 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50738 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50740 elif $ac_last_try; then
50741 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50742 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50743 { (exit 1); exit 1; }; }
50745 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50749 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50750 if test -n "$ac_eof"; then
50751 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50752 ac_eof
=`expr $ac_eof + 1`
50755 cat >>$CONFIG_STATUS <<_ACEOF
50756 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50757 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50760 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50761 s/^/s,@/; s/!/@,|#_!!_#|/
50764 s/'"$ac_delim"'$/,g/; t
50766 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50767 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50768 rm -f conf$
$subs.
sed
50769 cat >>$CONFIG_STATUS <<_ACEOF
50775 for ac_last_try
in false false false false false
:; do
50776 cat >conf$
$subs.
sed <<_ACEOF
50777 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50778 GST_CFLAGS!$GST_CFLAGS$ac_delim
50779 GST_LIBS!$GST_LIBS$ac_delim
50780 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
50781 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
50782 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
50783 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
50784 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50785 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50786 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50787 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50788 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50789 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50790 VENDOR!$VENDOR$ac_delim
50791 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50792 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50793 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50794 WXUNIV!$WXUNIV$ac_delim
50795 MONOLITHIC!$MONOLITHIC$ac_delim
50796 USE_PLUGINS!$USE_PLUGINS$ac_delim
50797 CXXWARNINGS!$CXXWARNINGS$ac_delim
50798 EXTRALIBS!$EXTRALIBS$ac_delim
50799 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50800 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50801 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
50802 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50803 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50804 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50805 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50806 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
50807 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50808 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50809 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50810 UNICODE!$UNICODE$ac_delim
50811 BUILD!$BUILD$ac_delim
50812 DEBUG_INFO!$DEBUG_INFO$ac_delim
50813 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50814 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50815 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50816 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50817 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50818 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50819 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50820 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50821 RANLIB!$RANLIB$ac_delim
50822 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50823 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50824 INSTALL_DATA!$INSTALL_DATA$ac_delim
50825 LN_S!$LN_S$ac_delim
50826 SET_MAKE!$SET_MAKE$ac_delim
50827 MAKE_SET!$MAKE_SET$ac_delim
50828 AROPTIONS!$AROPTIONS$ac_delim
50829 STRIP!$STRIP$ac_delim
50831 INSTALL_DIR!$INSTALL_DIR$ac_delim
50832 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50833 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50834 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50835 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50836 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50837 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50838 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50839 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50840 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50841 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50842 SO_SUFFIX!$SO_SUFFIX$ac_delim
50843 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50844 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50845 LIBPREFIX!$LIBPREFIX$ac_delim
50846 LIBEXT!$LIBEXT$ac_delim
50847 DLLPREFIX!$DLLPREFIX$ac_delim
50848 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50849 dlldir!$dlldir$ac_delim
50850 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50851 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50852 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50853 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50854 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50855 PIC_FLAG!$PIC_FLAG$ac_delim
50856 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50857 USE_SOVERSION!$USE_SOVERSION$ac_delim
50858 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50859 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50860 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50861 USE_MACVERSION!$USE_MACVERSION$ac_delim
50862 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50863 SONAME_FLAG!$SONAME_FLAG$ac_delim
50864 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50865 BK_DEPS!$BK_DEPS$ac_delim
50866 WINDRES!$WINDRES$ac_delim
50868 SETFILE!$SETFILE$ac_delim
50869 GCC_PCH!$GCC_PCH$ac_delim
50870 ICC_PCH!$ICC_PCH$ac_delim
50871 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50872 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50873 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50876 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50878 elif $ac_last_try; then
50879 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50880 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50881 { (exit 1); exit 1; }; }
50883 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50887 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50888 if test -n "$ac_eof"; then
50889 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50890 ac_eof
=`expr $ac_eof + 1`
50893 cat >>$CONFIG_STATUS <<_ACEOF
50894 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50895 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50898 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50899 s/^/s,@/; s/!/@,|#_!!_#|/
50902 s/'"$ac_delim"'$/,g/; t
50904 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50905 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50906 rm -f conf$
$subs.
sed
50907 cat >>$CONFIG_STATUS <<_ACEOF
50913 for ac_last_try
in false false false false false
:; do
50914 cat >conf$
$subs.
sed <<_ACEOF
50915 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50916 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50917 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50918 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50919 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50920 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50921 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50922 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50923 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50924 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50925 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50926 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50927 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50928 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50929 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50930 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50931 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50932 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50933 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50934 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50935 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50936 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50937 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50938 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50939 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50940 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50941 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50942 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50943 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50944 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50945 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50946 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50947 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50948 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50949 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50950 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50951 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50952 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50953 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50954 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50955 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50956 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50957 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50958 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50959 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50960 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50961 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50962 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50963 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50964 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50965 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50966 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50967 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50968 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50969 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50970 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50971 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50972 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50973 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50974 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50975 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50976 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50977 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50978 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50979 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50980 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50981 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50982 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50983 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50984 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50985 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50986 COND_SHARED_0!$COND_SHARED_0$ac_delim
50987 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50988 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50989 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50990 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50991 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50992 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50993 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50994 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
50995 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50996 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50997 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50998 COND_SHARED_1!$COND_SHARED_1$ac_delim
50999 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51000 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51001 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51002 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51003 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51004 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51005 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51006 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51007 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51008 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51009 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51010 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51011 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51014 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51016 elif $ac_last_try; then
51017 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51018 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51019 { (exit 1); exit 1; }; }
51021 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51025 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51026 if test -n "$ac_eof"; then
51027 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51028 ac_eof
=`expr $ac_eof + 1`
51031 cat >>$CONFIG_STATUS <<_ACEOF
51032 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51033 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51036 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51037 s/^/s,@/; s/!/@,|#_!!_#|/
51040 s/'"$ac_delim"'$/,g/; t
51042 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51043 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51044 rm -f conf$
$subs.
sed
51045 cat >>$CONFIG_STATUS <<_ACEOF
51051 for ac_last_try
in false false false false false
:; do
51052 cat >conf$
$subs.
sed <<_ACEOF
51053 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51054 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51055 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51056 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51057 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51058 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51059 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51060 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51061 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51062 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51063 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51064 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51065 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51066 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51067 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51068 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51069 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51070 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51071 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51072 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51073 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51074 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51075 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51076 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51077 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51078 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51079 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51080 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51081 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51082 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51083 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51084 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51085 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51086 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51087 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51088 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51089 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51090 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51091 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51092 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51093 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51094 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51095 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51096 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51097 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51098 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51099 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51100 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51101 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51102 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51103 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51104 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51105 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51106 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51107 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51108 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51109 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51110 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51111 DEREZ!$DEREZ$ac_delim
51112 SHARED!$SHARED$ac_delim
51113 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51114 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51115 USE_GUI!$USE_GUI$ac_delim
51116 AFMINSTALL!$AFMINSTALL$ac_delim
51117 WIN32INSTALL!$WIN32INSTALL$ac_delim
51118 TOOLKIT!$TOOLKIT$ac_delim
51119 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51120 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51121 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51122 cross_compiling!$cross_compiling$ac_delim
51123 WIDGET_SET!$WIDGET_SET$ac_delim
51124 WX_RELEASE!$WX_RELEASE$ac_delim
51125 WX_VERSION!$WX_VERSION$ac_delim
51126 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51127 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51128 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51129 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51130 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51131 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51132 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51133 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51134 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51135 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51136 GUIDIST!$GUIDIST$ac_delim
51137 DISTDIR!$DISTDIR$ac_delim
51138 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51139 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51140 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51141 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51142 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51143 RESCOMP!$RESCOMP$ac_delim
51144 RESFLAGS!$RESFLAGS$ac_delim
51145 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51146 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51147 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51148 LIBWXMACRES!$LIBWXMACRES$ac_delim
51149 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51152 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51154 elif $ac_last_try; then
51155 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51156 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51157 { (exit 1); exit 1; }; }
51159 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51163 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51164 if test -n "$ac_eof"; then
51165 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51166 ac_eof
=`expr $ac_eof + 1`
51169 cat >>$CONFIG_STATUS <<_ACEOF
51170 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51171 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51174 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51175 s/^/s,@/; s/!/@,|#_!!_#|/
51178 s/'"$ac_delim"'$/,g/; t
51180 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51181 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51182 rm -f conf$
$subs.
sed
51183 cat >>$CONFIG_STATUS <<_ACEOF
51189 for ac_last_try
in false false false false false
:; do
51190 cat >conf$
$subs.
sed <<_ACEOF
51191 MACSETFILE!$MACSETFILE$ac_delim
51193 DLLTOOL!$DLLTOOL$ac_delim
51194 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51195 LIBOBJS!$LIBOBJS$ac_delim
51196 LTLIBOBJS!$LTLIBOBJS$ac_delim
51199 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then
51201 elif $ac_last_try; then
51202 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51203 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51204 { (exit 1); exit 1; }; }
51206 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51210 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51211 if test -n "$ac_eof"; then
51212 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51213 ac_eof
=`expr $ac_eof + 1`
51216 cat >>$CONFIG_STATUS <<_ACEOF
51217 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51218 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51221 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51222 s/^/s,@/; s/!/@,|#_!!_#|/
51225 s/'"$ac_delim"'$/,g/; t
51227 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51228 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51229 rm -f conf$
$subs.
sed
51230 cat >>$CONFIG_STATUS <<_ACEOF
51237 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51238 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51239 # trailing colons and then remove the whole line if VPATH becomes empty
51240 # (actually we leave an empty line to preserve line numbers).
51241 if test "x$srcdir" = x.
; then
51242 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
51243 s/:*\$(srcdir):*/:/
51244 s/:*\${srcdir}:*/:/
51246 s/^\([^=]*=[ ]*\):*/\1/
51252 cat >>$CONFIG_STATUS <<\_ACEOF
51253 fi # test -n "$CONFIG_FILES"
51256 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
51259 :[FHLC
]) ac_mode
=$ac_tag; continue;;
51261 case $ac_mode$ac_tag in
51263 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51264 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51265 { (exit 1); exit 1; }; };;
51266 :[FH
]-) ac_tag
=-:-;;
51267 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
51284 -) ac_f
="$tmp/stdin";;
51285 *) # Look for the file first in the build tree, then in the source tree
51286 # (if the path is not absolute). The absolute path cannot be DOS-style,
51287 # because $ac_f cannot contain `:'.
51291 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
51293 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51294 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51295 { (exit 1); exit 1; }; };;
51297 ac_file_inputs
="$ac_file_inputs $ac_f"
51300 # Let's still pretend it is `configure' which instantiates (i.e., don't
51301 # use $as_me), people would be surprised to read:
51302 # /* config.h. Generated by config.status. */
51303 configure_input
="Generated from "`IFS=:
51304 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51305 if test x
"$ac_file" != x
-; then
51306 configure_input
="$ac_file. $configure_input"
51307 { echo "$as_me:$LINENO: creating $ac_file" >&5
51308 echo "$as_me: creating $ac_file" >&6;}
51312 *:-:* | *:-) cat >"$tmp/stdin";;
51317 ac_dir
=`$as_dirname -- "$ac_file" ||
51318 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51319 X"$ac_file" : 'X\(//\)[^/]' \| \
51320 X"$ac_file" : 'X\(//\)$' \| \
51321 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51327 /^X\(\/\/\)[^/].*/{
51342 -*) as_dir
=.
/$as_dir;;
51344 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51348 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51349 *) as_qdir
=$as_dir;;
51351 as_dirs
="'$as_qdir' $as_dirs"
51352 as_dir
=`$as_dirname -- "$as_dir" ||
51353 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51354 X"$as_dir" : 'X\(//\)[^/]' \| \
51355 X"$as_dir" : 'X\(//\)$' \| \
51356 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51358 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51362 /^X\(\/\/\)[^/].*/{
51375 test -d "$as_dir" && break
51377 test -z "$as_dirs" || eval "mkdir $as_dirs"
51378 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51379 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51380 { (exit 1); exit 1; }; }; }
51384 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51386 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51387 # A ".." for each directory in $ac_dir_suffix.
51388 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51389 case $ac_top_builddir_sub in
51390 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51391 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
51394 ac_abs_top_builddir
=$ac_pwd
51395 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
51396 # for backward compatibility:
51397 ac_top_builddir
=$ac_top_build_prefix
51400 .
) # We are building in place.
51402 ac_top_srcdir
=$ac_top_builddir_sub
51403 ac_abs_top_srcdir
=$ac_pwd ;;
51404 [\\/]* | ?
:[\\/]* ) # Absolute name.
51405 ac_srcdir
=$srcdir$ac_dir_suffix;
51406 ac_top_srcdir
=$srcdir
51407 ac_abs_top_srcdir
=$srcdir ;;
51408 *) # Relative name.
51409 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
51410 ac_top_srcdir
=$ac_top_build_prefix$srcdir
51411 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
51413 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
51423 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
51424 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
51428 cat >>$CONFIG_STATUS <<\_ACEOF
51429 # If the template does not know about datarootdir, expand it.
51430 # FIXME: This hack should be removed a few years after 2.60.
51431 ac_datarootdir_hack
=; ac_datarootdir_seen
=
51433 case `sed -n '/datarootdir/ {
51442 ' $ac_file_inputs` in
51443 *datarootdir
*) ac_datarootdir_seen
=yes;;
51444 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
51445 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51446 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51448 cat >>$CONFIG_STATUS <<_ACEOF
51449 ac_datarootdir_hack='
51450 s&@datadir@&$datadir&g
51451 s&@docdir@&$docdir&g
51452 s&@infodir@&$infodir&g
51453 s&@localedir@&$localedir&g
51454 s&@mandir@&$mandir&g
51455 s&\\\${datarootdir}&$datarootdir&g' ;;
51459 # Neutralize VPATH when `$srcdir' = `.'.
51460 # Shell code in configure.ac might set extrasub.
51461 # FIXME: do we really want to maintain this feature?
51462 cat >>$CONFIG_STATUS <<_ACEOF
51466 cat >>$CONFIG_STATUS <<\_ACEOF
51468 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
51469 s
&@configure_input@
&$configure_input&;t t
51470 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
51471 s
&@srcdir@
&$ac_srcdir&;t t
51472 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
51473 s
&@top_srcdir@
&$ac_top_srcdir&;t t
51474 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
51475 s
&@builddir@
&$ac_builddir&;t t
51476 s
&@abs_builddir@
&$ac_abs_builddir&;t t
51477 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
51478 s
&@INSTALL@
&$ac_INSTALL&;t t
51479 $ac_datarootdir_hack
51480 " $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
51482 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51483 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
51484 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
51485 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
51486 which seems to be undefined. Please make sure it is defined." >&5
51487 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
51488 which seems to be undefined. Please make sure it is defined." >&2;}
51492 -) cat "$tmp/out"; rm -f "$tmp/out";;
51493 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51502 # Transform confdefs.h into a sed script `conftest.defines', that
51503 # substitutes the proper values into config.h.in to produce config.h.
51504 rm -f conftest.defines conftest.
tail
51505 # First, append a space to every undef/define line, to ease matching.
51506 echo 's/$/ /' >conftest.defines
51507 # Then, protect against being on the right side of a sed subst, or in
51508 # an unquoted here document, in config.status. If some macros were
51509 # called several times there might be several #defines for the same
51510 # symbol, which is useless. But do not sort them, since the last
51511 # AC_DEFINE must be honored.
51512 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
51513 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51514 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51515 # PARAMS is the parameter list in the macro definition--in most cases, it's
51516 # just an empty string.
51517 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51518 ac_dB
='\\)[ (].*,\\1define\\2'
51526 s/^[ ]*#[ ]*define[ ][ ]*//
51531 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51532 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51533 ' >>conftest.defines
51535 # Remove the space that was appended to ease matching.
51536 # Then replace #undef with comments. This is necessary, for
51537 # example, in the case of _POSIX_SOURCE, which is predefined and required
51538 # on some systems where configure will not decide to define it.
51539 # (The regexp can be short, since the line contains either #define or #undef.)
51541 s,^[ #]*u.*,/* & */,' >>conftest.defines
51543 # Break up conftest.defines:
51544 ac_max_sed_lines
=50
51546 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51547 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51548 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51550 ac_in
='$ac_file_inputs'
51551 ac_out
='"$tmp/out1"'
51552 ac_nxt
='"$tmp/out2"'
51556 # Write a here document:
51557 cat >>$CONFIG_STATUS <<_ACEOF
51558 # First, check the format of the line:
51559 cat >"\$tmp/defines.sed" <<\\CEOF
51560 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51561 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51565 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
51567 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51568 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
51569 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
51570 grep . conftest.
tail >/dev
/null
|| break
51571 rm -f conftest.defines
51572 mv conftest.
tail conftest.defines
51574 rm -f conftest.defines conftest.
tail
51576 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51577 cat >>$CONFIG_STATUS <<\_ACEOF
51578 if test x
"$ac_file" != x
-; then
51579 echo "/* $configure_input */" >"$tmp/config.h"
51580 cat "$ac_result" >>"$tmp/config.h"
51581 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
51582 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51583 echo "$as_me: $ac_file is unchanged" >&6;}
51586 mv "$tmp/config.h" $ac_file
51589 echo "/* $configure_input */"
51595 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51596 echo "$as_me: executing $ac_file commands" >&6;}
51601 case $ac_file$ac_mode in
51603 mkdir -p $outdir &&
51604 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51606 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
51607 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
51608 "wx-config":C
) rm -f wx
-config
51609 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
51616 { (exit 0); exit 0; }
51618 chmod +x
$CONFIG_STATUS
51619 ac_clean_files
=$ac_clean_files_save
51622 # configure is writing to config.log, and then calls config.status.
51623 # config.status does its own redirection, appending to config.log.
51624 # Unfortunately, on DOS this fails, as config.log is still kept open
51625 # by configure, so config.status won't be able to write to it; its
51626 # output is simply discarded. So we exec the FD to /dev/null,
51627 # effectively closing config.log, so it can be properly (re)opened and
51628 # appended to by config.status. When coming back to configure, we
51629 # need to make the FD available again.
51630 if test "$no_create" != yes; then
51632 ac_config_status_args
=
51633 test "$silent" = yes &&
51634 ac_config_status_args
="$ac_config_status_args --quiet"
51636 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
51638 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51639 # would make configure fail if this is the last instruction.
51640 $ac_cs_success || { (exit 1); exit 1; }
51644 # CONFIG_SUBDIRS section.
51646 if test "$no_recursion" != yes; then
51648 # Remove --cache-file and --srcdir arguments so they do not pile up.
51649 ac_sub_configure_args
=
51651 eval "set x $ac_configure_args"
51655 if test -n "$ac_prev"; then
51660 -cache-file | --cache-file | --cache-fil | --cache-fi \
51661 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51662 ac_prev
=cache_file
;;
51663 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51664 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51667 --config-cache | -C)
51669 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51671 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51673 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51675 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51679 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51681 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
51685 # Always prepend --prefix to ensure using the same prefix
51686 # in subdir configurations.
51687 ac_arg
="--prefix=$prefix"
51689 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51691 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
51694 if test "$silent" = yes; then
51695 ac_sub_configure_args
="--silent $ac_sub_configure_args"
51699 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
51701 # Do not complain, so a configure script can configure whichever
51702 # parts of a large source tree are present.
51703 test -d "$srcdir/$ac_dir" || continue
51705 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51706 echo "$as_me:$LINENO: $ac_msg" >&5
51710 -*) as_dir
=.
/$as_dir;;
51712 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51716 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51717 *) as_qdir
=$as_dir;;
51719 as_dirs
="'$as_qdir' $as_dirs"
51720 as_dir
=`$as_dirname -- "$as_dir" ||
51721 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51722 X"$as_dir" : 'X\(//\)[^/]' \| \
51723 X"$as_dir" : 'X\(//\)$' \| \
51724 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51726 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51730 /^X\(\/\/\)[^/].*/{
51743 test -d "$as_dir" && break
51745 test -z "$as_dirs" || eval "mkdir $as_dirs"
51746 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51747 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51748 { (exit 1); exit 1; }; }; }
51752 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51754 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51755 # A ".." for each directory in $ac_dir_suffix.
51756 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51757 case $ac_top_builddir_sub in
51758 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51759 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
51762 ac_abs_top_builddir
=$ac_pwd
51763 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
51764 # for backward compatibility:
51765 ac_top_builddir
=$ac_top_build_prefix
51768 .
) # We are building in place.
51770 ac_top_srcdir
=$ac_top_builddir_sub
51771 ac_abs_top_srcdir
=$ac_pwd ;;
51772 [\\/]* | ?
:[\\/]* ) # Absolute name.
51773 ac_srcdir
=$srcdir$ac_dir_suffix;
51774 ac_top_srcdir
=$srcdir
51775 ac_abs_top_srcdir
=$srcdir ;;
51776 *) # Relative name.
51777 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
51778 ac_top_srcdir
=$ac_top_build_prefix$srcdir
51779 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
51781 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
51786 # Check for guested configure; otherwise get Cygnus style configure.
51787 if test -f "$ac_srcdir/configure.gnu"; then
51788 ac_sub_configure
=$ac_srcdir/configure.gnu
51789 elif test -f "$ac_srcdir/configure"; then
51790 ac_sub_configure
=$ac_srcdir/configure
51791 elif test -f "$ac_srcdir/configure.in"; then
51792 # This should be Cygnus configure.
51793 ac_sub_configure
=$ac_aux_dir/configure
51795 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51796 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51800 # The recursion is here.
51801 if test -n "$ac_sub_configure"; then
51802 # Make the cache file name correct relative to the subdirectory.
51803 case $cache_file in
51804 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
51805 *) # Relative name.
51806 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
51809 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51810 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51811 # The eval makes quoting arguments work.
51812 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51813 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51814 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51815 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51816 { (exit 1); exit 1; }; }
51825 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51827 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51828 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51830 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51831 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51832 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
51833 if test "$wxUSE_UNICODE" = "yes"; then
51834 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51835 echo " (using UTF-8)"
51837 echo " (using wchar_t)"
51843 echo " What level of wxWidgets compatibility should be enabled?"
51844 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51845 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51847 echo " Which libraries should wxWidgets use?"
51848 echo " STL ${wxUSE_STL}"
51849 echo " jpeg ${wxUSE_LIBJPEG-none}"
51850 echo " png ${wxUSE_LIBPNG-none}"
51851 echo " regex ${wxUSE_REGEX}"
51852 echo " tiff ${wxUSE_LIBTIFF-none}"
51853 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51854 echo " xpm ${wxUSE_LIBXPM-none}"
51856 echo " zlib ${wxUSE_ZLIB}"
51857 echo " expat ${wxUSE_EXPAT}"
51858 echo " libmspack ${wxUSE_LIBMSPACK}"
51859 echo " sdl ${wxUSE_LIBSDL}"