2 # From configure.in Id: configure.in 49855 2007-11-12 10:44:06Z RR .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.0'
579 PACKAGE_STRING
='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
709 LIBGNOMEPRINTUI_CFLAGS
755 SAMPLES_RPATH_POSTLINK
811 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
812 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
813 COND_BUILD_DEBUG_UNICODE_0
814 COND_BUILD_DEBUG_UNICODE_1
816 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
817 COND_BUILD_RELEASE_UNICODE_0
818 COND_BUILD_RELEASE_UNICODE_1
827 COND_MONOLITHIC_0_SHARED_0
828 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
834 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
835 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
836 COND_MONOLITHIC_0_SHARED_1
837 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
843 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
844 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
845 COND_MONOLITHIC_0_USE_AUI_1
846 COND_MONOLITHIC_0_USE_GUI_1
847 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
848 COND_MONOLITHIC_0_USE_HTML_1
849 COND_MONOLITHIC_0_USE_MEDIA_1
850 COND_MONOLITHIC_0_USE_QA_1
851 COND_MONOLITHIC_0_USE_RICHTEXT_1
852 COND_MONOLITHIC_0_USE_STC_1
853 COND_MONOLITHIC_0_USE_XRC_1
855 COND_MONOLITHIC_1_SHARED_0
856 COND_MONOLITHIC_1_SHARED_1
857 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
858 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
859 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
860 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
861 COND_PLATFORM_MACOSX_1
862 COND_PLATFORM_MACOSX_1_TOOLKIT_
863 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
864 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
865 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
866 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
868 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
869 COND_PLATFORM_MACOSX_1_USE_GUI_1
870 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
871 COND_PLATFORM_MACOS_1
873 COND_PLATFORM_MSDOS_1
877 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
878 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
879 COND_PLATFORM_UNIX_1_USE_GUI_1
880 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
881 COND_PLATFORM_WIN32_0
882 COND_PLATFORM_WIN32_1
884 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
885 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
886 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
887 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
888 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
889 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
890 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
891 COND_SHARED_0_USE_STC_1
892 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
893 COND_SHARED_0_WXUSE_REGEX_BUILTIN
894 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
896 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
899 COND_TOOLKIT_COCOA_USE_GUI_1
900 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
902 COND_TOOLKIT_DFB_USE_GUI_1
904 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
905 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
906 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
907 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
911 COND_TOOLKIT_GTK_USE_GUI_1
913 COND_TOOLKIT_MAC_USE_GUI_1
914 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
916 COND_TOOLKIT_MGL_USE_GUI_1
918 COND_TOOLKIT_MOTIF_USE_GUI_1
919 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_MSW_USE_GUI_1
922 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
923 COND_TOOLKIT_MSW_WXUNIV_0
925 COND_TOOLKIT_PM_USE_GUI_1
926 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_WINCE_USE_GUI_1
929 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
930 COND_TOOLKIT_WINCE_WXUNIV_0
932 COND_TOOLKIT_X11_USE_GUI_1
934 COND_USE_EXCEPTIONS_0
935 COND_USE_EXCEPTIONS_1
938 COND_USE_GUI_1_USE_OPENGL_1
939 COND_USE_GUI_1_WXUNIV_0
940 COND_USE_GUI_1_WXUNIV_1
941 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
942 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
943 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
948 COND_USE_SOSYMLINKS_1
949 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
950 COND_USE_SOVERLINUX_1
952 COND_USE_SOVERSOLARIS_1
957 COND_WINDOWS_IMPLIB_1
958 COND_WITH_PLUGIN_SDL_1
961 COND_WXUSE_EXPAT_BUILTIN
962 COND_WXUSE_LIBJPEG_BUILTIN
963 COND_WXUSE_LIBPNG_BUILTIN
964 COND_WXUSE_LIBTIFF_BUILTIN
965 COND_WXUSE_REGEX_BUILTIN
966 COND_WXUSE_ZLIB_BUILTIN
969 WX_LIBRARY_BASENAME_NOGUI
970 WX_LIBRARY_BASENAME_GUI
1002 WX_RESOURCES_MACOSX_ASCII
1003 WX_RESOURCES_MACOSX_DATA
1013 ac_precious_vars
='build_alias
1037 LIBGNOMEPRINTUI_CFLAGS
1038 LIBGNOMEPRINTUI_LIBS
1047 ac_subdirs_all
='src/tiff
1050 # Initialize some variables set by options.
1052 ac_init_version
=false
1053 # The variables have the same names as the options, with
1054 # dashes changed to underlines.
1055 cache_file
=/dev
/null
1062 program_transform_name
=s
,x
,x
,
1070 # Installation directory options.
1071 # These are left unexpanded so users can "make install exec_prefix=/foo"
1072 # and all the variables that are supposed to be based on exec_prefix
1073 # by default will actually change.
1074 # Use braces instead of parens because sh, perl, etc. also accept them.
1075 # (The list follows the same order as the GNU Coding Standards.)
1076 bindir
='${exec_prefix}/bin'
1077 sbindir
='${exec_prefix}/sbin'
1078 libexecdir
='${exec_prefix}/libexec'
1079 datarootdir
='${prefix}/share'
1080 datadir
='${datarootdir}'
1081 sysconfdir
='${prefix}/etc'
1082 sharedstatedir
='${prefix}/com'
1083 localstatedir
='${prefix}/var'
1084 includedir
='${prefix}/include'
1085 oldincludedir
='/usr/include'
1086 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1087 infodir
='${datarootdir}/info'
1092 libdir
='${exec_prefix}/lib'
1093 localedir
='${datarootdir}/locale'
1094 mandir
='${datarootdir}/man'
1100 # If the previous option needs an argument, assign it.
1101 if test -n "$ac_prev"; then
1102 eval $ac_prev=\
$ac_option
1108 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1112 # Accept the important Cygnus configure options, so we can diagnose typos.
1114 case $ac_dashdash$ac_option in
1118 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1120 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1121 bindir
=$ac_optarg ;;
1123 -build | --build | --buil | --bui | --bu)
1124 ac_prev
=build_alias
;;
1125 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1126 build_alias
=$ac_optarg ;;
1128 -cache-file | --cache-file | --cache-fil | --cache-fi \
1129 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1130 ac_prev
=cache_file
;;
1131 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1132 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1133 cache_file
=$ac_optarg ;;
1135 --config-cache | -C)
1136 cache_file
=config.cache
;;
1138 -datadir | --datadir | --datadi | --datad)
1140 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1141 datadir
=$ac_optarg ;;
1143 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1144 | --dataroo | --dataro | --datar)
1145 ac_prev
=datarootdir
;;
1146 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1147 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1148 datarootdir
=$ac_optarg ;;
1150 -disable-* | --disable-*)
1151 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1152 # Reject names that are not valid shell variable names.
1153 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1154 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1155 { (exit 1); exit 1; }; }
1156 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1157 eval enable_
$ac_feature=no
;;
1159 -docdir | --docdir | --docdi | --doc | --do)
1161 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1162 docdir
=$ac_optarg ;;
1164 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1166 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1167 dvidir
=$ac_optarg ;;
1169 -enable-* | --enable-*)
1170 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1171 # Reject names that are not valid shell variable names.
1172 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1173 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1174 { (exit 1); exit 1; }; }
1175 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1176 eval enable_
$ac_feature=\
$ac_optarg ;;
1178 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1179 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1180 | --exec | --exe | --ex)
1181 ac_prev
=exec_prefix
;;
1182 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1183 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1184 | --exec=* | --exe=* | --ex=*)
1185 exec_prefix
=$ac_optarg ;;
1187 -gas | --gas | --ga | --g)
1188 # Obsolete; use --with-gas.
1191 -help | --help | --hel | --he | -h)
1192 ac_init_help
=long
;;
1193 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1194 ac_init_help
=recursive
;;
1195 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1196 ac_init_help
=short
;;
1198 -host | --host | --hos | --ho)
1199 ac_prev
=host_alias
;;
1200 -host=* | --host=* | --hos=* | --ho=*)
1201 host_alias
=$ac_optarg ;;
1203 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1205 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1207 htmldir
=$ac_optarg ;;
1209 -includedir | --includedir | --includedi | --included | --include \
1210 | --includ | --inclu | --incl | --inc)
1211 ac_prev
=includedir
;;
1212 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1213 | --includ=* | --inclu=* | --incl=* | --inc=*)
1214 includedir
=$ac_optarg ;;
1216 -infodir | --infodir | --infodi | --infod | --info | --inf)
1218 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1219 infodir
=$ac_optarg ;;
1221 -libdir | --libdir | --libdi | --libd)
1223 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1224 libdir
=$ac_optarg ;;
1226 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1227 | --libexe | --libex | --libe)
1228 ac_prev
=libexecdir
;;
1229 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1230 | --libexe=* | --libex=* | --libe=*)
1231 libexecdir
=$ac_optarg ;;
1233 -localedir | --localedir | --localedi | --localed | --locale)
1234 ac_prev
=localedir
;;
1235 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1236 localedir
=$ac_optarg ;;
1238 -localstatedir | --localstatedir | --localstatedi | --localstated \
1239 | --localstate | --localstat | --localsta | --localst | --locals)
1240 ac_prev
=localstatedir
;;
1241 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1242 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1243 localstatedir
=$ac_optarg ;;
1245 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1247 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1248 mandir
=$ac_optarg ;;
1250 -nfp | --nfp | --nf)
1251 # Obsolete; use --without-fp.
1254 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1255 | --no-cr | --no-c | -n)
1258 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1259 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1262 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1263 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1264 | --oldin | --oldi | --old | --ol | --o)
1265 ac_prev
=oldincludedir
;;
1266 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1267 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1268 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1269 oldincludedir
=$ac_optarg ;;
1271 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1273 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1274 prefix
=$ac_optarg ;;
1276 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1277 | --program-pre | --program-pr | --program-p)
1278 ac_prev
=program_prefix
;;
1279 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1280 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1281 program_prefix
=$ac_optarg ;;
1283 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1284 | --program-suf | --program-su | --program-s)
1285 ac_prev
=program_suffix
;;
1286 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1287 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1288 program_suffix
=$ac_optarg ;;
1290 -program-transform-name | --program-transform-name \
1291 | --program-transform-nam | --program-transform-na \
1292 | --program-transform-n | --program-transform- \
1293 | --program-transform | --program-transfor \
1294 | --program-transfo | --program-transf \
1295 | --program-trans | --program-tran \
1296 | --progr-tra | --program-tr | --program-t)
1297 ac_prev
=program_transform_name
;;
1298 -program-transform-name=* | --program-transform-name=* \
1299 | --program-transform-nam=* | --program-transform-na=* \
1300 | --program-transform-n=* | --program-transform-=* \
1301 | --program-transform=* | --program-transfor=* \
1302 | --program-transfo=* | --program-transf=* \
1303 | --program-trans=* | --program-tran=* \
1304 | --progr-tra=* | --program-tr=* | --program-t=*)
1305 program_transform_name
=$ac_optarg ;;
1307 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1309 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1310 pdfdir
=$ac_optarg ;;
1312 -psdir | --psdir | --psdi | --psd | --ps)
1314 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1317 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1318 | -silent | --silent | --silen | --sile | --sil)
1321 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1323 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1325 sbindir
=$ac_optarg ;;
1327 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1328 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1329 | --sharedst | --shareds | --shared | --share | --shar \
1331 ac_prev
=sharedstatedir
;;
1332 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1333 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1334 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1336 sharedstatedir
=$ac_optarg ;;
1338 -site | --site | --sit)
1340 -site=* | --site=* | --sit=*)
1343 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1345 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1346 srcdir
=$ac_optarg ;;
1348 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1349 | --syscon | --sysco | --sysc | --sys | --sy)
1350 ac_prev
=sysconfdir
;;
1351 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1352 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1353 sysconfdir
=$ac_optarg ;;
1355 -target | --target | --targe | --targ | --tar | --ta | --t)
1356 ac_prev
=target_alias
;;
1357 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1358 target_alias
=$ac_optarg ;;
1360 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1363 -version | --version | --versio | --versi | --vers | -V)
1364 ac_init_version
=: ;;
1367 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1368 # Reject names that are not valid shell variable names.
1369 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1370 { echo "$as_me: error: invalid package name: $ac_package" >&2
1371 { (exit 1); exit 1; }; }
1372 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1373 eval with_
$ac_package=\
$ac_optarg ;;
1375 -without-* | --without-*)
1376 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1377 # Reject names that are not valid shell variable names.
1378 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1379 { echo "$as_me: error: invalid package name: $ac_package" >&2
1380 { (exit 1); exit 1; }; }
1381 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1382 eval with_
$ac_package=no
;;
1385 # Obsolete; use --with-x.
1388 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1389 | --x-incl | --x-inc | --x-in | --x-i)
1390 ac_prev
=x_includes
;;
1391 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1392 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1393 x_includes
=$ac_optarg ;;
1395 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1396 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1397 ac_prev
=x_libraries
;;
1398 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1399 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1400 x_libraries
=$ac_optarg ;;
1402 -*) { echo "$as_me: error: unrecognized option: $ac_option
1403 Try \`$0 --help' for more information." >&2
1404 { (exit 1); exit 1; }; }
1408 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1409 # Reject names that are not valid shell variable names.
1410 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1411 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1412 { (exit 1); exit 1; }; }
1413 eval $ac_envvar=\
$ac_optarg
1414 export $ac_envvar ;;
1417 # FIXME: should be removed in autoconf 3.0.
1418 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1419 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1420 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1421 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1427 if test -n "$ac_prev"; then
1428 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1429 { echo "$as_me: error: missing argument to $ac_option" >&2
1430 { (exit 1); exit 1; }; }
1433 # Be sure to have absolute directory names.
1434 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1435 datadir sysconfdir sharedstatedir localstatedir includedir \
1436 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1437 libdir localedir mandir
1439 eval ac_val
=\$
$ac_var
1441 [\\/$
]* | ?
:[\\/]* ) continue;;
1442 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1444 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1445 { (exit 1); exit 1; }; }
1448 # There might be people who depend on the old broken behavior: `$host'
1449 # used to hold the argument of --host etc.
1450 # FIXME: To remove some day.
1453 target
=$target_alias
1455 # FIXME: To remove some day.
1456 if test "x$host_alias" != x
; then
1457 if test "x$build_alias" = x
; then
1458 cross_compiling
=maybe
1459 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1460 If a cross compiler is detected then cross compile mode will be used." >&2
1461 elif test "x$build_alias" != "x$host_alias"; then
1467 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1469 test "$silent" = yes && exec 6>/dev
/null
1472 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1473 ac_ls_di
=`ls -di .` &&
1474 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1475 { echo "$as_me: error: Working directory cannot be determined" >&2
1476 { (exit 1); exit 1; }; }
1477 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1478 { echo "$as_me: error: pwd does not report name of working directory" >&2
1479 { (exit 1); exit 1; }; }
1482 # Find the source files, if location was not specified.
1483 if test -z "$srcdir"; then
1484 ac_srcdir_defaulted
=yes
1485 # Try the directory containing this script, then the parent directory.
1486 ac_confdir
=`$as_dirname -- "$0" ||
1487 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1488 X"$0" : 'X\(//\)[^/]' \| \
1489 X"$0" : 'X\(//\)$' \| \
1490 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1510 if test ! -r "$srcdir/$ac_unique_file"; then
1514 ac_srcdir_defaulted
=no
1516 if test ! -r "$srcdir/$ac_unique_file"; then
1517 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1518 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1519 { (exit 1); exit 1; }; }
1521 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1523 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1524 { (exit 1); exit 1; }; }
1526 # When building in place, set srcdir=.
1527 if test "$ac_abs_confdir" = "$ac_pwd"; then
1530 # Remove unnecessary trailing slashes from srcdir.
1531 # Double slashes in file names in object file debugging info
1532 # mess up M-x gdb in Emacs.
1534 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1536 for ac_var
in $ac_precious_vars; do
1537 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1538 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1539 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1540 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1544 # Report the --help message.
1546 if test "$ac_init_help" = "long"; then
1547 # Omit some internal or obsolete options to make the list less imposing.
1548 # This message is too long to be a string in the A/UX 3.1 sh.
1550 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1552 Usage: $0 [OPTION]... [VAR=VALUE]...
1554 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1555 VAR=VALUE. See below for descriptions of some of the useful variables.
1557 Defaults for the options are specified in brackets.
1560 -h, --help display this help and exit
1561 --help=short display options specific to this package
1562 --help=recursive display the short help of all the included packages
1563 -V, --version display version information and exit
1564 -q, --quiet, --silent do not print \`checking...' messages
1565 --cache-file=FILE cache test results in FILE [disabled]
1566 -C, --config-cache alias for \`--cache-file=config.cache'
1567 -n, --no-create do not create output files
1568 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1570 Installation directories:
1571 --prefix=PREFIX install architecture-independent files in PREFIX
1572 [$ac_default_prefix]
1573 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1576 By default, \`make install' will install all the files in
1577 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1578 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1579 for instance \`--prefix=\$HOME'.
1581 For better control, use the options below.
1583 Fine tuning of the installation directories:
1584 --bindir=DIR user executables [EPREFIX/bin]
1585 --sbindir=DIR system admin executables [EPREFIX/sbin]
1586 --libexecdir=DIR program executables [EPREFIX/libexec]
1587 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1588 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1589 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1590 --libdir=DIR object code libraries [EPREFIX/lib]
1591 --includedir=DIR C header files [PREFIX/include]
1592 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1593 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1594 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1595 --infodir=DIR info documentation [DATAROOTDIR/info]
1596 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1597 --mandir=DIR man documentation [DATAROOTDIR/man]
1598 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1599 --htmldir=DIR html documentation [DOCDIR]
1600 --dvidir=DIR dvi documentation [DOCDIR]
1601 --pdfdir=DIR pdf documentation [DOCDIR]
1602 --psdir=DIR ps documentation [DOCDIR]
1608 --x-includes=DIR X include files are
in DIR
1609 --x-libraries=DIR X library files are
in DIR
1612 --build=BUILD configure
for building on BUILD
[guessed
]
1613 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1614 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1618 if test -n "$ac_init_help"; then
1619 case $ac_init_help in
1620 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1625 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1626 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1627 --disable-gui don
't build GUI parts of the library
1628 --enable-monolithic build wxWidgets as single library
1629 --enable-plugins build parts of wxWidgets as loadable components
1630 --enable-official_build official build of wxWidgets (win32 DLL only)
1631 --enable-vendor=VENDOR vendor name (win32 DLL only)
1632 --disable-all-features disable all optional features to build minimal library
1633 --enable-universal use wxWidgets GUI controls instead of native ones
1634 --enable-nanox use NanoX
1635 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1636 --enable-gpe use GNOME PDA Environment features if possible
1637 --disable-shared create static library instead of shared
1638 --disable-optimise create optimised code
1639 --enable-debug same as debug_flag and debug_info
1640 --enable-stl use STL for containers
1641 --enable-std_iostreams use standard C++ stream classes
1642 --enable-std_string use standard C++ string classes
1643 --disable-unicode compile without Unicode support
1644 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1645 --enable-utf8 use UTF-8 representation for strings (Unix only)
1646 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1647 --enable-extended_rtti use extended RTTI (XTI)
1648 --enable-omf use OMF object format
1649 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1650 --enable-debug_info create code with debugging information
1651 --enable-debug_gdb create code with extra GDB debugging information
1652 --enable-debug_cntxt use wxDebugContext
1653 --enable-mem_tracing create code with memory tracing
1654 --enable-profile create code with profiling information
1655 --enable-no_rtti create code without RTTI information
1656 --enable-no_exceptions create code without C++ exceptions handling
1657 --enable-permissive compile code disregarding strict ANSI
1658 --enable-no_deps create code without dependency information
1659 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1660 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1661 --enable-compat26 enable wxWidgets
2.6 compatibility
1662 --disable-compat28 disable wxWidgets
2.8 compatibility
1663 --disable-rpath disable use of rpath
for uninstalled builds
1664 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1665 --disable-visibility disable use of ELF symbols visibility even
if supported
1666 --enable-intl use internationalization system
1667 --enable-config use wxConfig
(and derived
) classes
1668 --enable-protocols use wxProtocol and derived classes
1669 --enable-ftp use wxFTP
(requires wxProtocol
1670 --enable-http use wxHTTP
(requires wxProtocol
1671 --enable-fileproto use wxFileProto class
(requires wxProtocol
1672 --enable-sockets use socket
/network classes
1673 --enable-ipv6 enable IPv6 support
in wxSocket
1674 --enable-ole use OLE classes
(Win32 only
)
1675 --enable-dataobj use data object classes
1676 --enable-ipc use interprocess communication
(wxSocket etc.
)
1677 --enable-baseevtloop use event loop
in console programs too
1678 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1679 --enable-selectloop use wxSelectDispatcher class
1680 --enable-apple_ieee use the Apple IEEE codec
1681 --enable-arcstream use wxArchive streams
1682 --enable-base64 use base64 encoding
/decoding functions
1683 --enable-backtrace use wxStackWalker class
for getting backtraces
1684 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1685 --enable-cmdline use wxCmdLineParser class
1686 --enable-datetime use wxDateTime class
1687 --enable-debugreport use wxDebugReport class
1688 --enable-dialupman use dialup network classes
1689 --enable-dynlib use wxLibrary class
for DLL loading
1690 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1691 --enable-exceptions build exception
-safe library
1692 --enable-ffile use wxFFile class
1693 --enable-file use wxFile class
1694 --enable-filesystem use virtual
file systems classes
1695 --enable-fontenum use wxFontEnumerator class
1696 --enable-fontmap use font encodings conversion classes
1697 --enable-fs_archive use virtual archive filesystems
1698 --enable-fs_inet use virtual HTTP
/FTP filesystems
1699 --enable-fs_zip now replaced by fs_archive
1700 --enable-geometry use geometry class
1701 --enable-log use logging system
1702 --enable-longlong use wxLongLong class
1703 --enable-mimetype use wxMimeTypesManager
1704 --enable-snglinst use wxSingleInstanceChecker class
1705 --enable-stdpaths use wxStandardPaths class
1706 --enable-stopwatch use wxStopWatch class
1707 --enable-streams use wxStream etc classes
1708 --enable-sysoptions use wxSystemOptions
1709 --enable-tarstream use wxTar streams
1710 --enable-textbuf use wxTextBuffer class
1711 --enable-textfile use wxTextFile class
1712 --enable-timer use wxTimer class
1713 --enable-sound use wxSound class
1714 --enable-mediactrl use wxMediaCtrl class
1715 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1716 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1717 --enable-zipstream use wxZip streams
1718 --enable-url use wxURL class
1719 --enable-variant use wxVariant class
1720 --enable-protocol use wxProtocol class
1721 --enable-protocol-http HTTP support
in wxProtocol
1722 --enable-protocol-ftp FTP support
in wxProtocol
1723 --enable-protocol-file FILE support
in wxProtocol
1724 --enable-threads use threads
1725 --enable-iniconf use wxIniConfig
(Win32 only
)
1726 --enable-regkey use wxRegKey class
(Win32 only
)
1727 --enable-docview use document view architecture
1728 --enable-help use
help subsystem
1729 --enable-mshtmlhelp use MS HTML Help
(win32
)
1730 --enable-html use wxHTML sub
-library
1731 --enable-htmlhelp use wxHTML
-based help
1732 --enable-xrc use XRC resources sub
-library
1733 --enable-aui use AUI docking library
1734 --enable-stc use wxStyledTextCtrl library
1735 --enable-constraints use layout
-constraints system
1736 --enable-printarch use printing architecture
1737 --enable-mdi use multiple document interface architecture
1738 --enable-mdidoc use docview architecture with MDI
1739 --enable-loggui use standard GUI logger
1740 --enable-logwin use wxLogWindow
1741 --enable-logdialog use wxLogDialog
1742 --enable-webkit use wxWebKitCtrl
(Mac
)
1743 --enable-richtext use wxRichTextCtrl
1744 --enable-graphics_ctx use graphics context
2D drawing API
1745 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1746 --enable-svg use wxSVGFileDC device context
1747 --enable-clipboard use wxClipboard class
1748 --enable-dnd use Drag
'n'Drop classes
1749 --enable-metafile use win32 metafiles
1750 --disable-controls disable compilation of all standard controls
1751 --enable-accel use accelerators
1752 --enable-animatectrl use wxAnimationCtrl class
1753 --enable-button use wxButton class
1754 --enable-bmpbutton use wxBitmapButton class
1755 --enable-bmpcombobox use wxBitmapComboBox class
1756 --enable-calendar use wxCalendarCtrl class
1757 --enable-caret use wxCaret class
1758 --enable-checkbox use wxCheckBox class
1759 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1760 --enable-choice use wxChoice class
1761 --enable-choicebook use wxChoicebook class
1762 --enable-collpane use wxCollapsiblePane class
1763 --enable-colourpicker use wxColourPickerCtrl class
1764 --enable-combobox use wxComboBox class
1765 --enable-comboctrl use wxComboCtrl class
1766 --enable-datepick use wxDatePickerCtrl class
1767 --enable-dirpicker use wxDirPickerCtrl class
1768 --enable-display use wxDisplay class
1769 --enable-detect_sm use code to detect X11 session manager
1770 --enable-editablebox use wxEditableListBox class
1771 --enable-filepicker use wxFilePickerCtrl class
1772 --enable-filectrl use wxFileCtrl class
1773 --enable-fontpicker use wxFontPickerCtrl class
1774 --enable-gauge use wxGauge class
1775 --enable-grid use wxGrid class
1776 --enable-dataviewctrl use wxDataViewCtrl class
1777 --enable-hyperlink use wxHyperlinkCtrl class
1778 --enable-imaglist use wxImageList class
1779 --enable-listbook use wxListbook class
1780 --enable-listbox use wxListBox class
1781 --enable-listctrl use wxListCtrl class
1782 --enable-notebook use wxNotebook class
1783 --enable-odcombobox use wxOwnerDrawnComboBox class
1784 --enable-radiobox use wxRadioBox class
1785 --enable-radiobtn use wxRadioButton class
1786 --enable-sash use wxSashWindow class
1787 --enable-scrollbar use wxScrollBar class and scrollable windows
1788 --enable-searchctrl use wxSearchCtrl class
1789 --enable-slider use wxSlider class
1790 --enable-spinbtn use wxSpinButton class
1791 --enable-spinctrl use wxSpinCtrl class
1792 --enable-splitter use wxSplitterWindow class
1793 --enable-statbmp use wxStaticBitmap class
1794 --enable-statbox use wxStaticBox class
1795 --enable-statline use wxStaticLine class
1796 --enable-stattext use wxStaticText class
1797 --enable-statusbar use wxStatusBar class
1798 --enable-tabdialog use wxTabControl class
1799 --enable-taskbaricon use wxTaskBarIcon class
1800 --enable-textctrl use wxTextCtrl class
1801 --enable-togglebtn use wxToggleButton class
1802 --enable-toolbar use wxToolBar class
1803 --enable-tbarnative use native wxToolBar class
1804 --enable-treebook use wxTreebook class
1805 --enable-toolbook use wxToolbook class
1806 --enable-treectrl use wxTreeCtrl class
1807 --enable-tipwindow use wxTipWindow class
1808 --enable-popupwin use wxPopUpWindow class
1809 --enable-commondlg use all common dialogs
1810 --enable-aboutdlg use wxAboutBox
1811 --enable-choicedlg use wxChoiceDialog
1812 --enable-coldlg use wxColourDialog
1813 --enable-filedlg use wxFileDialog
1814 --enable-finddlg use wxFindReplaceDialog
1815 --enable-fontdlg use wxFontDialog
1816 --enable-dirdlg use wxDirDialog
1817 --enable-msgdlg use wxMessageDialog
1818 --enable-numberdlg use wxNumberEntryDialog
1819 --enable-splash use wxSplashScreen
1820 --enable-textdlg use wxTextDialog
1821 --enable-tipdlg use startup tips
1822 --enable-progressdlg use wxProgressDialog
1823 --enable-wizarddlg use wxWizard
1824 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1825 --enable-miniframe use wxMiniFrame class
1826 --enable-tooltips use wxToolTip class
1827 --enable-splines use spline drawing code
1828 --enable-mousewheel use mousewheel
1829 --enable-validators use wxValidator and derived classes
1830 --enable-busyinfo use wxBusyInfo
1831 --enable-joystick use wxJoystick
1832 --enable-metafiles use wxMetaFile
(Win32 only
)
1833 --enable-dragimage use wxDragImage
1834 --enable-accessibility enable accessibility support
1835 --enable-palette use wxPalette class
1836 --enable-image use wxImage class
1837 --enable-gif use gif images
(GIF
file format
)
1838 --enable-pcx use pcx images
(PCX
file format
)
1839 --enable-tga use tga images
(TGA
file format
)
1840 --enable-iff use iff images
(IFF
file format
)
1841 --enable-pnm use pnm images
(PNM
file format
)
1842 --enable-xpm use xpm images
(XPM
file format
)
1843 --enable-icocur use Windows ICO and CUR formats
1844 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1845 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1846 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1847 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1848 --enable-wxdib use wxDIB class
(Win32 only
)
1849 --disable-largefile omit support
for large files
1850 --disable-gtktest do not try to compile and run a
test GTK
+ program
1851 --disable-gtktest Do not try to compile and run a
test GTK program
1852 --disable-sdltest Do not try to compile and run a
test SDL program
1853 --enable-omf use OMF object format
(OS
/2)
1854 --disable-dependency-tracking
1855 don
't use dependency tracking even if the compiler
1857 --disable-precomp-headers
1858 don't use precompiled headers even
if compiler can
1861 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1862 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1863 --without-subdirs don
't generate makefiles for samples/demos/...
1864 --with-flavour=NAME specify a name to identify this build
1865 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1866 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1867 --with-motif use Motif/Lesstif
1868 --with-mac use Mac OS X
1869 --with-cocoa use Cocoa
1870 --with-wine use Wine
1871 --with-msw use MS-Windows
1872 --with-pm use OS/2 Presentation Manager
1873 --with-mgl use SciTech MGL
1874 --with-directfb use DirectFB
1875 --with-microwin use MicroWindows
1877 --with-libpng use libpng (PNG image format)
1878 --with-libjpeg use libjpeg (JPEG file format)
1879 --with-libtiff use libtiff (TIFF file format)
1880 --with-libxpm use libxpm (XPM file format)
1881 --with-libmspack use libmspack (CHM help files loading)
1882 --without-gtkprint don't use GTK printing support
1883 --without-gnomeprint don
't use GNOME printing libraries
1884 --with-gnomevfs use GNOME VFS for associating MIME types
1885 --with-hildon use Hildon framework for Nokia 770
1886 --with-opengl use OpenGL (or Mesa)
1887 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1888 --with-sdl use SDL for audio on Unix
1889 --with-regex enable support for wxRegEx class
1890 --with-zlib use zlib for LZW compression
1891 --with-expat enable XML support using expat parser
1892 --with-macosx-sdk=PATH use an OS X SDK at PATH
1893 --with-macosx-version-min=VER build binaries which require at least this OS X version
1894 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1895 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1896 --with-x use the X Window System
1897 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1898 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1899 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1900 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1901 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1903 Some influential environment variables:
1904 CC C compiler command
1905 CFLAGS C compiler flags
1906 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1907 nonstandard directory <lib dir>
1908 LIBS libraries to pass to the linker, e.g. -l<library>
1909 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1910 you have headers in a nonstandard directory <include dir>
1912 CXX C++ compiler command
1913 CXXFLAGS C++ compiler flags
1914 PKG_CONFIG path to pkg-config utility
1916 C compiler flags for DIRECTFB, overriding pkg-config
1918 linker flags for DIRECTFB, overriding pkg-config
1919 XMKMF Path to xmkmf, Makefile generator for X Window System
1921 C compiler flags for PANGOX, overriding pkg-config
1922 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1924 C compiler flags for PANGOFT2, overriding pkg-config
1926 linker flags for PANGOFT2, overriding pkg-config
1928 C compiler flags for PANGOXFT, overriding pkg-config
1930 linker flags for PANGOXFT, overriding pkg-config
1932 C compiler flags for GTKPRINT, overriding pkg-config
1934 linker flags for GTKPRINT, overriding pkg-config
1935 LIBGNOMEPRINTUI_CFLAGS
1936 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1937 LIBGNOMEPRINTUI_LIBS
1938 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1940 C compiler flags for GNOMEVFS, overriding pkg-config
1942 linker flags for GNOMEVFS, overriding pkg-config
1944 C compiler flags for HILDON, overriding pkg-config
1945 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1947 C compiler flags for CAIRO, overriding pkg-config
1948 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1949 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1950 GST_LIBS linker flags for GST, overriding pkg-config
1952 Use these variables to override the choices made by `configure' or to
help
1953 it to
find libraries and programs with nonstandard names
/locations.
1955 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1960 if test "$ac_init_help" = "recursive"; then
1961 # If there are subdirs, report their specific --help.
1962 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1963 test -d "$ac_dir" || continue
1967 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1969 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1970 # A ".." for each directory in $ac_dir_suffix.
1971 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1972 case $ac_top_builddir_sub in
1973 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1974 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1977 ac_abs_top_builddir
=$ac_pwd
1978 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1979 # for backward compatibility:
1980 ac_top_builddir
=$ac_top_build_prefix
1983 .
) # We are building in place.
1985 ac_top_srcdir
=$ac_top_builddir_sub
1986 ac_abs_top_srcdir
=$ac_pwd ;;
1987 [\\/]* | ?
:[\\/]* ) # Absolute name.
1988 ac_srcdir
=$srcdir$ac_dir_suffix;
1989 ac_top_srcdir
=$srcdir
1990 ac_abs_top_srcdir
=$srcdir ;;
1992 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1993 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1994 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1996 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1998 cd "$ac_dir" || { ac_status
=$?
; continue; }
1999 # Check for guested configure.
2000 if test -f "$ac_srcdir/configure.gnu"; then
2002 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2003 elif test -f "$ac_srcdir/configure"; then
2005 $SHELL "$ac_srcdir/configure" --help=recursive
2007 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2009 cd "$ac_pwd" || { ac_status
=$?
; break; }
2013 test -n "$ac_init_help" && exit $ac_status
2014 if $ac_init_version; then
2016 wxWidgets configure
2.9.0
2017 generated by GNU Autoconf
2.61
2019 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2020 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2021 This configure
script is free software
; the Free Software Foundation
2022 gives unlimited permission to copy
, distribute and modify it.
2026 cat >config.log
<<_ACEOF
2027 This file contains any messages produced by compilers while
2028 running configure, to aid debugging if configure makes a mistake.
2030 It was created by wxWidgets $as_me 2.9.0, which was
2031 generated by GNU Autoconf 2.61. Invocation command line was
2043 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2044 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2045 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2046 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2047 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2049 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2050 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2052 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2053 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2054 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2055 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2056 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2057 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2058 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2066 test -z "$as_dir" && as_dir
=.
2067 echo "PATH: $as_dir"
2083 # Keep a trace of the command line.
2084 # Strip out --no-create and --no-recursion so they do not pile up.
2085 # Strip out --silent because we don't want to record it for future runs.
2086 # Also quote any args containing shell meta-characters.
2087 # Make two passes to allow for proper duplicate-argument suppression.
2091 ac_must_keep_next
=false
2097 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2098 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2099 | -silent | --silent | --silen | --sile | --sil)
2102 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2105 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2107 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2108 if test $ac_must_keep_next = true
; then
2109 ac_must_keep_next
=false
# Got value, back to normal.
2112 *=* | --config-cache | -C | -disable-* | --disable-* \
2113 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2114 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2115 | -with-* | --with-* | -without-* | --without-* | --x)
2116 case "$ac_configure_args0 " in
2117 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2120 -* ) ac_must_keep_next
=true
;;
2123 ac_configure_args
="$ac_configure_args '$ac_arg'"
2128 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2129 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2131 # When interrupted or exit'd, cleanup temporary files, and complete
2132 # config.log. We remove comments because anyway the quotes in there
2133 # would cause problems or look ugly.
2134 # WARNING: Use '\'' to represent an apostrophe within the trap.
2135 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2136 trap 'exit_status=$?
2137 # Save into config.log some information that might help in debugging.
2142 ## ---------------- ##
2143 ## Cache variables. ##
2144 ## ---------------- ##
2147 # The following way of writing the cache mishandles newlines in values,
2149 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2150 eval ac_val=\$$ac_var
2154 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2155 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2158 _ | IFS | as_nl) ;; #(
2159 *) $as_unset $ac_var ;;
2164 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2165 *${as_nl}ac_space=\ *)
2167 "s/'\''/'\''\\\\'\'''\''/g;
2168 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2171 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2179 ## ----------------- ##
2180 ## Output variables. ##
2181 ## ----------------- ##
2184 for ac_var in $ac_subst_vars
2186 eval ac_val=\$$ac_var
2188 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2190 echo "$ac_var='\''$ac_val'\''"
2194 if test -n "$ac_subst_files"; then
2196 ## ------------------- ##
2197 ## File substitutions. ##
2198 ## ------------------- ##
2201 for ac_var
in $ac_subst_files
2203 eval ac_val
=\$
$ac_var
2205 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2207 echo "$ac_var='\''$ac_val'\''"
2212 if test -s confdefs.h; then
2222 test "$ac_signal" != 0 &&
2223 echo "$as_me: caught signal $ac_signal"
2224 echo "$as_me: exit $exit_status"
2226 rm -f core *.core core.conftest.* &&
2227 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2230 for ac_signal
in 1 2 13 15; do
2231 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2235 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2236 rm -f -r conftest
* confdefs.h
2238 # Predefined preprocessor variables.
2240 cat >>confdefs.h
<<_ACEOF
2241 #define PACKAGE_NAME "$PACKAGE_NAME"
2245 cat >>confdefs.h
<<_ACEOF
2246 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2250 cat >>confdefs.h
<<_ACEOF
2251 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2255 cat >>confdefs.h
<<_ACEOF
2256 #define PACKAGE_STRING "$PACKAGE_STRING"
2260 cat >>confdefs.h
<<_ACEOF
2261 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2265 # Let the site file select an alternate cache file if it wants to.
2266 # Prefer explicitly selected file to automatically selected ones.
2267 if test -n "$CONFIG_SITE"; then
2268 set x
"$CONFIG_SITE"
2269 elif test "x$prefix" != xNONE
; then
2270 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2272 set x
"$ac_default_prefix/share/config.site" \
2273 "$ac_default_prefix/etc/config.site"
2278 if test -r "$ac_site_file"; then
2279 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2280 echo "$as_me: loading site script $ac_site_file" >&6;}
2281 sed 's/^/| /' "$ac_site_file" >&5
2286 if test -r "$cache_file"; then
2287 # Some versions of bash will fail to source /dev/null (special
2288 # files actually), so we avoid doing that.
2289 if test -f "$cache_file"; then
2290 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2291 echo "$as_me: loading cache $cache_file" >&6;}
2293 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2294 *) .
"./$cache_file";;
2298 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2299 echo "$as_me: creating cache $cache_file" >&6;}
2303 # Check that the precious variables saved in the cache have kept the same
2305 ac_cache_corrupted
=false
2306 for ac_var
in $ac_precious_vars; do
2307 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2308 eval ac_new_set
=\
$ac_env_${ac_var}_set
2309 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2310 eval ac_new_val
=\
$ac_env_${ac_var}_value
2311 case $ac_old_set,$ac_new_set in
2313 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2314 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2315 ac_cache_corrupted
=: ;;
2317 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2318 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2319 ac_cache_corrupted
=: ;;
2322 if test "x$ac_old_val" != "x$ac_new_val"; then
2323 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2324 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2325 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2326 echo "$as_me: former value: $ac_old_val" >&2;}
2327 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2328 echo "$as_me: current value: $ac_new_val" >&2;}
2329 ac_cache_corrupted
=:
2332 # Pass precious variables to config.status.
2333 if test "$ac_new_set" = set; then
2335 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2336 *) ac_arg
=$ac_var=$ac_new_val ;;
2338 case " $ac_configure_args " in
2339 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2340 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2344 if $ac_cache_corrupted; then
2345 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2346 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2347 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2348 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2349 { (exit 1); exit 1; }; }
2377 ac_cpp
='$CPP $CPPFLAGS'
2378 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2379 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2380 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2387 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2388 if test -f "$ac_dir/install-sh"; then
2390 ac_install_sh
="$ac_aux_dir/install-sh -c"
2392 elif test -f "$ac_dir/install.sh"; then
2394 ac_install_sh
="$ac_aux_dir/install.sh -c"
2396 elif test -f "$ac_dir/shtool"; then
2398 ac_install_sh
="$ac_aux_dir/shtool install -c"
2402 if test -z "$ac_aux_dir"; then
2403 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2404 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2405 { (exit 1); exit 1; }; }
2408 # These three variables are undocumented and unsupported,
2409 # and are intended to be withdrawn in a future Autoconf release.
2410 # They can cause serious problems if a builder's source tree is in a directory
2411 # whose full name contains unusual characters.
2412 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2413 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2414 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2417 # Make sure we can run config.sub.
2418 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2419 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2420 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2421 { (exit 1); exit 1; }; }
2423 { echo "$as_me:$LINENO: checking build system type" >&5
2424 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2425 if test "${ac_cv_build+set}" = set; then
2426 echo $ECHO_N "(cached) $ECHO_C" >&6
2428 ac_build_alias
=$build_alias
2429 test "x$ac_build_alias" = x
&&
2430 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2431 test "x$ac_build_alias" = x
&&
2432 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2433 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2434 { (exit 1); exit 1; }; }
2435 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2436 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2437 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2438 { (exit 1); exit 1; }; }
2441 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2442 echo "${ECHO_T}$ac_cv_build" >&6; }
2443 case $ac_cv_build in
2445 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2446 echo "$as_me: error: invalid value of canonical build" >&2;}
2447 { (exit 1); exit 1; }; };;
2450 ac_save_IFS
=$IFS; IFS
='-'
2456 # Remember, the first character of IFS is used to create $*,
2457 # except with old shells:
2460 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2463 { echo "$as_me:$LINENO: checking host system type" >&5
2464 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2465 if test "${ac_cv_host+set}" = set; then
2466 echo $ECHO_N "(cached) $ECHO_C" >&6
2468 if test "x$host_alias" = x
; then
2469 ac_cv_host
=$ac_cv_build
2471 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2472 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2473 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2474 { (exit 1); exit 1; }; }
2478 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2479 echo "${ECHO_T}$ac_cv_host" >&6; }
2482 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2483 echo "$as_me: error: invalid value of canonical host" >&2;}
2484 { (exit 1); exit 1; }; };;
2487 ac_save_IFS
=$IFS; IFS
='-'
2493 # Remember, the first character of IFS is used to create $*,
2494 # except with old shells:
2497 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2500 { echo "$as_me:$LINENO: checking target system type" >&5
2501 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2502 if test "${ac_cv_target+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2505 if test "x$target_alias" = x
; then
2506 ac_cv_target
=$ac_cv_host
2508 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2509 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2510 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2511 { (exit 1); exit 1; }; }
2515 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2516 echo "${ECHO_T}$ac_cv_target" >&6; }
2517 case $ac_cv_target in
2519 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2520 echo "$as_me: error: invalid value of canonical target" >&2;}
2521 { (exit 1); exit 1; }; };;
2523 target
=$ac_cv_target
2524 ac_save_IFS
=$IFS; IFS
='-'
2530 # Remember, the first character of IFS is used to create $*,
2531 # except with old shells:
2534 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2537 # The aliases save the names the user supplied, while $host etc.
2538 # will get canonicalized.
2539 test -n "$target_alias" &&
2540 test "$program_prefix$program_suffix$program_transform_name" = \
2542 program_prefix
=${target_alias}-
2546 wx_major_version_number
=2
2547 wx_minor_version_number
=9
2549 wx_subrelease_number
=0
2551 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2552 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2553 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2555 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2558 wx_top_builddir
="`pwd`"
2571 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2577 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2583 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2585 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2587 DEFAULT_wxUSE_COCOA
=0
2591 DEFAULT_wxUSE_MICROWIN
=0
2592 DEFAULT_wxUSE_MOTIF
=0
2598 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2599 DEFAULT_DEFAULT_wxUSE_GTK
=0
2600 DEFAULT_DEFAULT_wxUSE_MAC
=0
2601 DEFAULT_DEFAULT_wxUSE_MGL
=0
2602 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2603 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2604 DEFAULT_DEFAULT_wxUSE_MSW
=0
2605 DEFAULT_DEFAULT_wxUSE_PM
=0
2606 DEFAULT_DEFAULT_wxUSE_X11
=0
2607 DEFAULT_DEFAULT_wxUSE_DFB
=0
2612 SAMPLES_RPATH_POSTLINK
=
2614 DEFAULT_STD_FLAG
=yes
2619 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2620 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2622 cat >>confdefs.h
<<\_ACEOF
2627 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2631 cat >>confdefs.h
<<\_ACEOF
2636 if test "x$TMP" = "xalpha"; then
2638 cat >>confdefs.h
<<\_ACEOF
2643 DEFAULT_DEFAULT_wxUSE_GTK
=1
2645 *-*-gnu* | *-*-k*bsd
*-gnu )
2648 if test "x$TMP" = "xalpha"; then
2650 cat >>confdefs.h
<<\_ACEOF
2655 DEFAULT_DEFAULT_wxUSE_GTK
=1
2657 *-*-irix5* | *-*-irix6* )
2660 cat >>confdefs.h
<<\_ACEOF
2664 cat >>confdefs.h
<<\_ACEOF
2668 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2674 cat >>confdefs.h
<<\_ACEOF
2678 cat >>confdefs.h
<<\_ACEOF
2679 #define __SOLARIS__ 1
2682 cat >>confdefs.h
<<\_ACEOF
2686 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2687 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2693 cat >>confdefs.h
<<\_ACEOF
2697 cat >>confdefs.h
<<\_ACEOF
2701 cat >>confdefs.h
<<\_ACEOF
2705 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2710 cat >>confdefs.h
<<\_ACEOF
2711 #define __FREEBSD__ 1
2714 cat >>confdefs.h
<<\_ACEOF
2718 DEFAULT_DEFAULT_wxUSE_GTK
=1
2720 *-*-openbsd*|*-*-mirbsd*)
2723 cat >>confdefs.h
<<\_ACEOF
2724 #define __OPENBSD__ 1
2727 cat >>confdefs.h
<<\_ACEOF
2731 DEFAULT_DEFAULT_wxUSE_GTK
=1
2736 cat >>confdefs.h
<<\_ACEOF
2737 #define __NETBSD__ 1
2740 cat >>confdefs.h
<<\_ACEOF
2744 DEFAULT_DEFAULT_wxUSE_GTK
=1
2745 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2747 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2752 cat >>confdefs.h
<<\_ACEOF
2756 cat >>confdefs.h
<<\_ACEOF
2760 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2761 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2766 cat >>confdefs.h
<<\_ACEOF
2770 cat >>confdefs.h
<<\_ACEOF
2774 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2779 cat >>confdefs.h
<<\_ACEOF
2783 cat >>confdefs.h
<<\_ACEOF
2787 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2794 cat >>confdefs.h
<<\_ACEOF
2798 cat >>confdefs.h
<<\_ACEOF
2802 cat >>confdefs.h
<<\_ACEOF
2806 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2813 cat >>confdefs.h
<<\_ACEOF
2814 #define __UNIXWARE__ 1
2819 *-*-cygwin* | *-*-mingw32* )
2822 DEFAULT_DEFAULT_wxUSE_MSW
=1
2828 cat >>confdefs.h
<<\_ACEOF
2833 DEFAULT_DEFAULT_wxUSE_MGL
=1
2836 *-pc-os2_emx | *-pc-os2-emx )
2837 cat >>confdefs.h
<<\_ACEOF
2842 cat >>confdefs.h
<<\_ACEOF
2847 DEFAULT_DEFAULT_wxUSE_PM
=1
2849 LDFLAGS
="$LDFLAGS -Zcrtdll"
2850 ac_executable_extensions
=".exe"
2851 export ac_executable_extensions
2855 for ac_dir
in $PATH; do
2857 if test -z "$ac_TEMP_PATH"; then
2858 ac_TEMP_PATH
="$ac_dir"
2860 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2863 export PATH
="$ac_TEMP_PATH"
2872 cat >>confdefs.h
<<\_ACEOF
2876 cat >>confdefs.h
<<\_ACEOF
2877 #define __DARWIN__ 1
2880 cat >>confdefs.h
<<\_ACEOF
2881 #define TARGET_CARBON 1
2884 DEFAULT_DEFAULT_wxUSE_MAC
=1
2887 powerpc
-apple-macos* )
2889 ac_cv_c_bigendian
=yes
2891 DEFAULT_DEFAULT_wxUSE_MAC
=1
2897 cat >>confdefs.h
<<\_ACEOF
2904 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2905 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2906 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2907 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2909 DEFAULT_DEFAULT_wxUSE_X11
=1
2910 DEFAULT_wxUSE_SHARED
=no
2916 wx_arg_cache_file
="configarg.cache"
2917 echo "loading argument cache $wx_arg_cache_file"
2918 rm -f ${wx_arg_cache_file}.tmp
2919 touch ${wx_arg_cache_file}.tmp
2920 touch ${wx_arg_cache_file}
2923 DEFAULT_wxUSE_ALL_FEATURES
=yes
2925 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2926 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2928 DEFAULT_wxUSE_DMALLOC
=no
2929 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2930 DEFAULT_wxUSE_LIBHILDON
=no
2931 DEFAULT_wxUSE_LIBMSPACK
=no
2932 DEFAULT_wxUSE_LIBSDL
=no
2933 DEFAULT_wxUSE_OPENGL
=no
2935 DEFAULT_wxUSE_ACCESSIBILITY
=no
2936 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2937 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2938 DEFAULT_wxUSE_IPV6
=no
2939 DEFAULT_wxUSE_MEDIACTRL
=no
2940 DEFAULT_wxUSE_TAB_DIALOG
=no
2941 DEFAULT_wxUSE_GSTREAMER8
=no
2943 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2944 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2946 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2948 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2950 DEFAULT_wxUSE_GTK2
=yes
2952 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2955 for toolkit
in $ALL_TOOLKITS; do
2956 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2957 if test "x$LINE" != "x" ; then
2958 has_toolkit_in_cache
=1
2959 eval "DEFAULT_$LINE"
2960 eval "CACHE_$toolkit=1"
2962 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2963 if test "x$LINE" != "x" ; then
2964 eval "DEFAULT_$LINE"
2973 enablestring
=disable
2975 if test -z "$defaultval"; then
2976 if test x
"$enablestring" = xdisable
; then
2983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2984 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2985 # Check whether --enable-gui was given.
2986 if test "${enable_gui+set}" = set; then
2987 enableval
=$enable_gui;
2988 if test "$enableval" = yes; then
2989 wx_cv_use_gui
='wxUSE_GUI=yes'
2991 wx_cv_use_gui
='wxUSE_GUI=no'
2997 LINE
=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2998 if test "x$LINE" != x
; then
2999 eval "DEFAULT_$LINE"
3005 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3010 eval "$wx_cv_use_gui"
3011 if test "x$cache" = xyes; then
3012 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3015 if test x"$enablestring" = xdisable; then
3016 if test $wxUSE_GUI = yes; then
3025 { echo "$as_me:$LINENO: result: $result" >&5
3026 echo "${ECHO_T}$result" >&6; }
3031 if test -z "$defaultval"; then
3032 if test x"$enablestring" = xdisable; then
3039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3040 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3041 # Check whether --enable-monolithic was given.
3042 if test "${enable_monolithic+set}" = set; then
3043 enableval=$enable_monolithic;
3044 if test "$enableval" = yes; then
3045 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3047 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3053 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3054 if test "x$LINE" != x ; then
3055 eval "DEFAULT_$LINE"
3061 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3066 eval "$wx_cv_use_monolithic"
3067 if test "x
$cache" = xyes; then
3068 echo "wxUSE_MONOLITHIC
=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3071 if test x"$enablestring" = xdisable; then
3072 if test $wxUSE_MONOLITHIC = yes; then
3078 result=$wxUSE_MONOLITHIC
3081 { echo "$as_me:$LINENO: result
: $result" >&5
3082 echo "${ECHO_T}$result" >&6; }
3087 if test -z "$defaultval"; then
3088 if test x"$enablestring" = xdisable; then
3095 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3096 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3097 # Check whether --enable-plugins was given.
3098 if test "${enable_plugins+set}" = set; then
3099 enableval=$enable_plugins;
3100 if test "$enableval" = yes; then
3101 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3103 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3109 LINE=`grep "^wxUSE_PLUGINS
=" ${wx_arg_cache_file}`
3110 if test "x
$LINE" != x ; then
3111 eval "DEFAULT_
$LINE"
3117 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3122 eval "$wx_cv_use_plugins"
3123 if test "x$cache" = xyes
; then
3124 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3127 if test x
"$enablestring" = xdisable
; then
3128 if test $wxUSE_PLUGINS = yes; then
3134 result
=$wxUSE_PLUGINS
3137 { echo "$as_me:$LINENO: result: $result" >&5
3138 echo "${ECHO_T}$result" >&6; }
3142 defaultval
=$wxUSE_ALL_FEATURES
3143 if test -z "$defaultval"; then
3144 if test x
"$withstring" = xwithout
; then
3150 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3151 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3153 # Check whether --with-subdirs was given.
3154 if test "${with_subdirs+set}" = set; then
3155 withval
=$with_subdirs;
3156 if test "$withval" = yes; then
3157 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3159 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3165 LINE
=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3166 if test "x$LINE" != x
; then
3167 eval "DEFAULT_$LINE"
3173 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3178 eval "$wx_cv_use_subdirs"
3179 if test "x$cache" = xyes; then
3180 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3183 if test x"$withstring" = xwithout; then
3184 if test $wxWITH_SUBDIRS = yes; then
3190 result=$wxWITH_SUBDIRS
3193 { echo "$as_me:$LINENO: result: $result" >&5
3194 echo "${ECHO_T}$result" >&6; }
3197 # Check whether --with-flavour was given.
3198 if test "${with_flavour+set}" = set; then
3199 withval=$with_flavour; WX_FLAVOUR="$withval"
3205 if test -z "$defaultval"; then
3206 if test x"$enablestring" = xdisable; then
3213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3214 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3215 # Check whether --enable-official_build was given.
3216 if test "${enable_official_build+set}" = set; then
3217 enableval=$enable_official_build;
3218 if test "$enableval" = yes; then
3219 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3221 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3227 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3228 if test "x$LINE" != x ; then
3229 eval "DEFAULT_$LINE"
3235 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3240 eval "$wx_cv_use_official_build"
3241 if test "x
$cache" = xyes; then
3242 echo "wxUSE_OFFICIAL_BUILD
=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3245 if test x"$enablestring" = xdisable; then
3246 if test $wxUSE_OFFICIAL_BUILD = yes; then
3252 result=$wxUSE_OFFICIAL_BUILD
3255 { echo "$as_me:$LINENO: result
: $result" >&5
3256 echo "${ECHO_T}$result" >&6; }
3258 # Check whether --enable-vendor was given.
3259 if test "${enable_vendor+set}" = set; then
3260 enableval=$enable_vendor; VENDOR="$enableval"
3263 if test "x
$VENDOR" = "x
"; then
3268 enablestring=disable
3270 if test -z "$defaultval"; then
3271 if test x"$enablestring" = xdisable; then
3278 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3279 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3280 # Check whether --enable-all-features was given.
3281 if test "${enable_all_features+set}" = set; then
3282 enableval=$enable_all_features;
3283 if test "$enableval" = yes; then
3284 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3286 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3292 LINE=`grep "^wxUSE_ALL_FEATURES
=" ${wx_arg_cache_file}`
3293 if test "x
$LINE" != x ; then
3294 eval "DEFAULT_
$LINE"
3300 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3305 eval "$wx_cv_use_all_features"
3306 if test "x$cache" = xyes
; then
3307 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3310 if test x
"$enablestring" = xdisable
; then
3311 if test $wxUSE_ALL_FEATURES = yes; then
3317 result
=$wxUSE_ALL_FEATURES
3320 { echo "$as_me:$LINENO: result: $result" >&5
3321 echo "${ECHO_T}$result" >&6; }
3325 if test "$wxUSE_GUI" = "yes"; then
3330 if test -z "$defaultval"; then
3331 if test x
"$enablestring" = xdisable
; then
3338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3339 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3340 # Check whether --enable-universal was given.
3341 if test "${enable_universal+set}" = set; then
3342 enableval
=$enable_universal;
3343 if test "$enableval" = yes; then
3344 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3346 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3352 LINE
=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3353 if test "x$LINE" != x
; then
3354 eval "DEFAULT_$LINE"
3360 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3365 eval "$wx_cv_use_universal"
3366 if test "x$cache" = xyes; then
3367 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3370 if test x"$enablestring" = xdisable; then
3371 if test $wxUSE_UNIVERSAL = yes; then
3377 result=$wxUSE_UNIVERSAL
3380 { echo "$as_me:$LINENO: result: $result" >&5
3381 echo "${ECHO_T}$result" >&6; }
3383 if test "$wxUSE_UNIVERSAL" = "yes"; then
3385 # Check whether --with-themes was given.
3386 if test "${with_themes+set}" = set; then
3387 withval=$with_themes; wxUNIV_THEMES="$withval"
3393 # Check whether --with-gtk was given.
3394 if test "${with_gtk+set}" = set; then
3395 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3399 # Check whether --with-motif was given.
3400 if test "${with_motif+set}" = set; then
3401 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3405 # Check whether --with-mac was given.
3406 if test "${with_mac+set}" = set; then
3407 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3411 # Check whether --with-cocoa was given.
3412 if test "${with_cocoa+set}" = set; then
3413 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3417 # Check whether --with-wine was given.
3418 if test "${with_wine+set}" = set; then
3419 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3423 # Check whether --with-msw was given.
3424 if test "${with_msw+set}" = set; then
3425 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3429 # Check whether --with-pm was given.
3430 if test "${with_pm+set}" = set; then
3431 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3435 # Check whether --with-mgl was given.
3436 if test "${with_mgl+set}" = set; then
3437 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3441 # Check whether --with-directfb was given.
3442 if test "${with_directfb+set}" = set; then
3443 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3447 # Check whether --with-microwin was given.
3448 if test "${with_microwin+set}" = set; then
3449 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3453 # Check whether --with-x11 was given.
3454 if test "${with_x11+set}" = set; then
3455 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3461 if test -z "$defaultval"; then
3462 if test x"$enablestring" = xdisable; then
3469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3470 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3471 # Check whether --enable-nanox was given.
3472 if test "${enable_nanox+set}" = set; then
3473 enableval=$enable_nanox;
3474 if test "$enableval" = yes; then
3475 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3477 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3483 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3484 if test "x$LINE" != x ; then
3485 eval "DEFAULT_$LINE"
3491 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3496 eval "$wx_cv_use_nanox"
3497 if test "x
$cache" = xyes; then
3498 echo "wxUSE_NANOX
=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3501 if test x"$enablestring" = xdisable; then
3502 if test $wxUSE_NANOX = yes; then
3511 { echo "$as_me:$LINENO: result
: $result" >&5
3512 echo "${ECHO_T}$result" >&6; }
3515 # Check whether --enable-gtk2 was given.
3516 if test "${enable_gtk2+set}" = set; then
3517 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3523 if test -z "$defaultval"; then
3524 if test x"$enablestring" = xdisable; then
3531 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3532 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3533 # Check whether --enable-gpe was given.
3534 if test "${enable_gpe+set}" = set; then
3535 enableval=$enable_gpe;
3536 if test "$enableval" = yes; then
3537 wx_cv_use_gpe='wxUSE_GPE=yes'
3539 wx_cv_use_gpe='wxUSE_GPE=no'
3545 LINE=`grep "^wxUSE_GPE
=" ${wx_arg_cache_file}`
3546 if test "x
$LINE" != x ; then
3547 eval "DEFAULT_
$LINE"
3553 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3558 eval "$wx_cv_use_gpe"
3559 if test "x$cache" = xyes
; then
3560 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3563 if test x
"$enablestring" = xdisable
; then
3564 if test $wxUSE_GPE = yes; then
3573 { echo "$as_me:$LINENO: result: $result" >&5
3574 echo "${ECHO_T}$result" >&6; }
3579 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3580 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3582 # Check whether --with-libpng was given.
3583 if test "${with_libpng+set}" = set; then
3584 withval
=$with_libpng;
3585 if test "$withval" = yes; then
3586 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3587 elif test "$withval" = no
; then
3588 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3589 elif test "$withval" = sys
; then
3590 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3591 elif test "$withval" = builtin; then
3592 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3594 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3595 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3596 { (exit 1); exit 1; }; }
3602 LINE
=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3603 if test "x$LINE" != x
; then
3604 eval "DEFAULT_$LINE"
3610 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3615 eval "$wx_cv_use_libpng"
3616 if test "x$cache" = xyes; then
3617 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3620 if test "$wxUSE_LIBPNG" = yes; then
3621 { echo "$as_me:$LINENO: result: yes" >&5
3622 echo "${ECHO_T}yes" >&6; }
3623 elif test "$wxUSE_LIBPNG" = no; then
3624 { echo "$as_me:$LINENO: result: no" >&5
3625 echo "${ECHO_T}no" >&6; }
3626 elif test "$wxUSE_LIBPNG" = sys; then
3627 { echo "$as_me:$LINENO: result: system version" >&5
3628 echo "${ECHO_T}system version" >&6; }
3629 elif test "$wxUSE_LIBPNG" = builtin; then
3630 { echo "$as_me:$LINENO: result: builtin version" >&5
3631 echo "${ECHO_T}builtin version" >&6; }
3633 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3634 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3635 { (exit 1); exit 1; }; }
3639 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3640 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3642 # Check whether --with-libjpeg was given.
3643 if test "${with_libjpeg+set}" = set; then
3644 withval=$with_libjpeg;
3645 if test "$withval" = yes; then
3646 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3647 elif test "$withval" = no; then
3648 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3649 elif test "$withval" = sys; then
3650 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3651 elif test "$withval" = builtin; then
3652 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3654 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3655 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3656 { (exit 1); exit 1; }; }
3662 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3663 if test "x$LINE" != x ; then
3664 eval "DEFAULT_$LINE"
3670 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3675 eval "$wx_cv_use_libjpeg"
3676 if test "x
$cache" = xyes; then
3677 echo "wxUSE_LIBJPEG
=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3680 if test "$wxUSE_LIBJPEG" = yes; then
3681 { echo "$as_me:$LINENO: result
: yes" >&5
3682 echo "${ECHO_T}yes" >&6; }
3683 elif test "$wxUSE_LIBJPEG" = no; then
3684 { echo "$as_me:$LINENO: result
: no
" >&5
3685 echo "${ECHO_T}no
" >&6; }
3686 elif test "$wxUSE_LIBJPEG" = sys; then
3687 { echo "$as_me:$LINENO: result
: system version
" >&5
3688 echo "${ECHO_T}system version
" >&6; }
3689 elif test "$wxUSE_LIBJPEG" = builtin; then
3690 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3691 echo "${ECHO_T}builtin version
" >&6; }
3693 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3694 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3695 { (exit 1); exit 1; }; }
3699 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3700 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3702 # Check whether --with-libtiff was given.
3703 if test "${with_libtiff+set}" = set; then
3704 withval=$with_libtiff;
3705 if test "$withval" = yes; then
3706 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3707 elif test "$withval" = no; then
3708 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3709 elif test "$withval" = sys; then
3710 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3711 elif test "$withval" = builtin; then
3712 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3714 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3715 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3716 { (exit 1); exit 1; }; }
3722 LINE=`grep "^wxUSE_LIBTIFF
=" ${wx_arg_cache_file}`
3723 if test "x
$LINE" != x ; then
3724 eval "DEFAULT_
$LINE"
3730 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3735 eval "$wx_cv_use_libtiff"
3736 if test "x$cache" = xyes
; then
3737 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3740 if test "$wxUSE_LIBTIFF" = yes; then
3741 { echo "$as_me:$LINENO: result: yes" >&5
3742 echo "${ECHO_T}yes" >&6; }
3743 elif test "$wxUSE_LIBTIFF" = no
; then
3744 { echo "$as_me:$LINENO: result: no" >&5
3745 echo "${ECHO_T}no" >&6; }
3746 elif test "$wxUSE_LIBTIFF" = sys
; then
3747 { echo "$as_me:$LINENO: result: system version" >&5
3748 echo "${ECHO_T}system version" >&6; }
3749 elif test "$wxUSE_LIBTIFF" = builtin; then
3750 { echo "$as_me:$LINENO: result: builtin version" >&5
3751 echo "${ECHO_T}builtin version" >&6; }
3753 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3754 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3755 { (exit 1); exit 1; }; }
3759 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3760 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3762 # Check whether --with-libxpm was given.
3763 if test "${with_libxpm+set}" = set; then
3764 withval
=$with_libxpm;
3765 if test "$withval" = yes; then
3766 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3767 elif test "$withval" = no
; then
3768 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3769 elif test "$withval" = sys
; then
3770 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3771 elif test "$withval" = builtin; then
3772 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3774 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3775 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3776 { (exit 1); exit 1; }; }
3782 LINE
=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3783 if test "x$LINE" != x
; then
3784 eval "DEFAULT_$LINE"
3790 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3795 eval "$wx_cv_use_libxpm"
3796 if test "x$cache" = xyes; then
3797 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3800 if test "$wxUSE_LIBXPM" = yes; then
3801 { echo "$as_me:$LINENO: result: yes" >&5
3802 echo "${ECHO_T}yes" >&6; }
3803 elif test "$wxUSE_LIBXPM" = no; then
3804 { echo "$as_me:$LINENO: result: no" >&5
3805 echo "${ECHO_T}no" >&6; }
3806 elif test "$wxUSE_LIBXPM" = sys; then
3807 { echo "$as_me:$LINENO: result: system version" >&5
3808 echo "${ECHO_T}system version" >&6; }
3809 elif test "$wxUSE_LIBXPM" = builtin; then
3810 { echo "$as_me:$LINENO: result: builtin version" >&5
3811 echo "${ECHO_T}builtin version" >&6; }
3813 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3814 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3815 { (exit 1); exit 1; }; }
3820 defaultval=$wxUSE_ALL_FEATURES
3821 if test -z "$defaultval"; then
3822 if test x"$withstring" = xwithout; then
3828 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3829 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3831 # Check whether --with-libmspack was given.
3832 if test "${with_libmspack+set}" = set; then
3833 withval=$with_libmspack;
3834 if test "$withval" = yes; then
3835 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3837 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3843 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3844 if test "x$LINE" != x ; then
3845 eval "DEFAULT_$LINE"
3851 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3856 eval "$wx_cv_use_libmspack"
3857 if test "x
$cache" = xyes; then
3858 echo "wxUSE_LIBMSPACK
=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3861 if test x"$withstring" = xwithout; then
3862 if test $wxUSE_LIBMSPACK = yes; then
3868 result=$wxUSE_LIBMSPACK
3871 { echo "$as_me:$LINENO: result
: $result" >&5
3872 echo "${ECHO_T}$result" >&6; }
3876 defaultval=$wxUSE_ALL_FEATURES
3877 if test -z "$defaultval"; then
3878 if test x"$withstring" = xwithout; then
3884 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gtkprint" >&5
3885 echo $ECHO_N "checking
for --${withstring:-with}-gtkprint...
$ECHO_C" >&6; }
3887 # Check whether --with-gtkprint was given.
3888 if test "${with_gtkprint+set}" = set; then
3889 withval=$with_gtkprint;
3890 if test "$withval" = yes; then
3891 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3893 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3899 LINE=`grep "^wxUSE_GTKPRINT
=" ${wx_arg_cache_file}`
3900 if test "x
$LINE" != x ; then
3901 eval "DEFAULT_
$LINE"
3907 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3912 eval "$wx_cv_use_gtkprint"
3913 if test "x$cache" = xyes
; then
3914 echo "wxUSE_GTKPRINT=$wxUSE_GTKPRINT" >> ${wx_arg_cache_file}.tmp
3917 if test x
"$withstring" = xwithout
; then
3918 if test $wxUSE_GTKPRINT = yes; then
3924 result
=$wxUSE_GTKPRINT
3927 { echo "$as_me:$LINENO: result: $result" >&5
3928 echo "${ECHO_T}$result" >&6; }
3932 defaultval
=$wxUSE_ALL_FEATURES
3933 if test -z "$defaultval"; then
3934 if test x
"$withstring" = xwithout
; then
3940 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3941 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3943 # Check whether --with-gnomeprint was given.
3944 if test "${with_gnomeprint+set}" = set; then
3945 withval
=$with_gnomeprint;
3946 if test "$withval" = yes; then
3947 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3949 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3955 LINE
=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3956 if test "x$LINE" != x
; then
3957 eval "DEFAULT_$LINE"
3963 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3968 eval "$wx_cv_use_gnomeprint"
3969 if test "x$cache" = xyes; then
3970 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3973 if test x"$withstring" = xwithout; then
3974 if test $wxUSE_LIBGNOMEPRINT = yes; then
3980 result=$wxUSE_LIBGNOMEPRINT
3983 { echo "$as_me:$LINENO: result: $result" >&5
3984 echo "${ECHO_T}$result" >&6; }
3988 defaultval=$wxUSE_ALL_FEATURES
3989 if test -z "$defaultval"; then
3990 if test x"$withstring" = xwithout; then
3996 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3997 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3999 # Check whether --with-gnomevfs was given.
4000 if test "${with_gnomevfs+set}" = set; then
4001 withval=$with_gnomevfs;
4002 if test "$withval" = yes; then
4003 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=yes'
4005 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=no
'
4011 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
4012 if test "x$LINE" != x ; then
4013 eval "DEFAULT_$LINE"
4019 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4024 eval "$wx_cv_use_gnomevfs"
4025 if test "x
$cache" = xyes; then
4026 echo "wxUSE_LIBGNOMEVFS
=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
4029 if test x"$withstring" = xwithout; then
4030 if test $wxUSE_LIBGNOMEVFS = yes; then
4036 result=$wxUSE_LIBGNOMEVFS
4039 { echo "$as_me:$LINENO: result
: $result" >&5
4040 echo "${ECHO_T}$result" >&6; }
4044 defaultval=$wxUSE_ALL_FEATURES
4045 if test -z "$defaultval"; then
4046 if test x"$withstring" = xwithout; then
4052 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-hildon" >&5
4053 echo $ECHO_N "checking
for --${withstring:-with}-hildon...
$ECHO_C" >&6; }
4055 # Check whether --with-hildon was given.
4056 if test "${with_hildon+set}" = set; then
4057 withval=$with_hildon;
4058 if test "$withval" = yes; then
4059 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4061 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4067 LINE=`grep "^wxUSE_LIBHILDON
=" ${wx_arg_cache_file}`
4068 if test "x
$LINE" != x ; then
4069 eval "DEFAULT_
$LINE"
4075 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4080 eval "$wx_cv_use_hildon"
4081 if test "x$cache" = xyes
; then
4082 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
4085 if test x
"$withstring" = xwithout
; then
4086 if test $wxUSE_LIBHILDON = yes; then
4092 result
=$wxUSE_LIBHILDON
4095 { echo "$as_me:$LINENO: result: $result" >&5
4096 echo "${ECHO_T}$result" >&6; }
4100 defaultval
=$wxUSE_ALL_FEATURES
4101 if test -z "$defaultval"; then
4102 if test x
"$withstring" = xwithout
; then
4108 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4109 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4111 # Check whether --with-opengl was given.
4112 if test "${with_opengl+set}" = set; then
4113 withval
=$with_opengl;
4114 if test "$withval" = yes; then
4115 wx_cv_use_opengl
='wxUSE_OPENGL=yes'
4117 wx_cv_use_opengl
='wxUSE_OPENGL=no'
4123 LINE
=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4124 if test "x$LINE" != x
; then
4125 eval "DEFAULT_$LINE"
4131 wx_cv_use_opengl
='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4136 eval "$wx_cv_use_opengl"
4137 if test "x$cache" = xyes; then
4138 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4141 if test x"$withstring" = xwithout; then
4142 if test $wxUSE_OPENGL = yes; then
4148 result=$wxUSE_OPENGL
4151 { echo "$as_me:$LINENO: result: $result" >&5
4152 echo "${ECHO_T}$result" >&6; }
4159 defaultval=$wxUSE_ALL_FEATURES
4160 if test -z "$defaultval"; then
4161 if test x"$withstring" = xwithout; then
4167 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4168 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4170 # Check whether --with-dmalloc was given.
4171 if test "${with_dmalloc+set}" = set; then
4172 withval=$with_dmalloc;
4173 if test "$withval" = yes; then
4174 wx_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
4176 wx_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
4182 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4183 if test "x$LINE" != x ; then
4184 eval "DEFAULT_$LINE"
4190 wx_cv_use_dmalloc='wxUSE_DMALLOC
=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4195 eval "$wx_cv_use_dmalloc"
4196 if test "x
$cache" = xyes; then
4197 echo "wxUSE_DMALLOC
=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4200 if test x"$withstring" = xwithout; then
4201 if test $wxUSE_DMALLOC = yes; then
4207 result=$wxUSE_DMALLOC
4210 { echo "$as_me:$LINENO: result
: $result" >&5
4211 echo "${ECHO_T}$result" >&6; }
4215 defaultval=$wxUSE_ALL_FEATURES
4216 if test -z "$defaultval"; then
4217 if test x"$withstring" = xwithout; then
4223 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-sdl" >&5
4224 echo $ECHO_N "checking
for --${withstring:-with}-sdl...
$ECHO_C" >&6; }
4226 # Check whether --with-sdl was given.
4227 if test "${with_sdl+set}" = set; then
4229 if test "$withval" = yes; then
4230 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4232 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4238 LINE=`grep "^wxUSE_LIBSDL
=" ${wx_arg_cache_file}`
4239 if test "x
$LINE" != x ; then
4240 eval "DEFAULT_
$LINE"
4246 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4251 eval "$wx_cv_use_sdl"
4252 if test "x$cache" = xyes
; then
4253 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4256 if test x
"$withstring" = xwithout
; then
4257 if test $wxUSE_LIBSDL = yes; then
4263 result
=$wxUSE_LIBSDL
4266 { echo "$as_me:$LINENO: result: $result" >&5
4267 echo "${ECHO_T}$result" >&6; }
4270 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4271 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4273 # Check whether --with-regex was given.
4274 if test "${with_regex+set}" = set; then
4275 withval
=$with_regex;
4276 if test "$withval" = yes; then
4277 wx_cv_use_regex
='wxUSE_REGEX=yes'
4278 elif test "$withval" = no
; then
4279 wx_cv_use_regex
='wxUSE_REGEX=no'
4280 elif test "$withval" = sys
; then
4281 wx_cv_use_regex
='wxUSE_REGEX=sys'
4282 elif test "$withval" = builtin; then
4283 wx_cv_use_regex
='wxUSE_REGEX=builtin'
4285 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4286 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4287 { (exit 1); exit 1; }; }
4293 LINE
=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4294 if test "x$LINE" != x
; then
4295 eval "DEFAULT_$LINE"
4301 wx_cv_use_regex
='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4306 eval "$wx_cv_use_regex"
4307 if test "x$cache" = xyes; then
4308 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4311 if test "$wxUSE_REGEX" = yes; then
4312 { echo "$as_me:$LINENO: result: yes" >&5
4313 echo "${ECHO_T}yes" >&6; }
4314 elif test "$wxUSE_REGEX" = no; then
4315 { echo "$as_me:$LINENO: result: no" >&5
4316 echo "${ECHO_T}no" >&6; }
4317 elif test "$wxUSE_REGEX" = sys; then
4318 { echo "$as_me:$LINENO: result: system version" >&5
4319 echo "${ECHO_T}system version" >&6; }
4320 elif test "$wxUSE_REGEX" = builtin; then
4321 { echo "$as_me:$LINENO: result: builtin version" >&5
4322 echo "${ECHO_T}builtin version" >&6; }
4324 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4325 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4326 { (exit 1); exit 1; }; }
4330 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4331 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4333 # Check whether --with-zlib was given.
4334 if test "${with_zlib+set}" = set; then
4336 if test "$withval" = yes; then
4337 wx_cv_use_zlib='wxUSE_ZLIB
=yes'
4338 elif test "$withval" = no; then
4339 wx_cv_use_zlib='wxUSE_ZLIB
=no
'
4340 elif test "$withval" = sys; then
4341 wx_cv_use_zlib='wxUSE_ZLIB
=sys
'
4342 elif test "$withval" = builtin; then
4343 wx_cv_use_zlib='wxUSE_ZLIB
=builtin'
4345 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4346 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4347 { (exit 1); exit 1; }; }
4353 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4354 if test "x$LINE" != x ; then
4355 eval "DEFAULT_$LINE"
4361 wx_cv_use_zlib='wxUSE_ZLIB
=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4366 eval "$wx_cv_use_zlib"
4367 if test "x
$cache" = xyes; then
4368 echo "wxUSE_ZLIB
=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4371 if test "$wxUSE_ZLIB" = yes; then
4372 { echo "$as_me:$LINENO: result
: yes" >&5
4373 echo "${ECHO_T}yes" >&6; }
4374 elif test "$wxUSE_ZLIB" = no; then
4375 { echo "$as_me:$LINENO: result
: no
" >&5
4376 echo "${ECHO_T}no
" >&6; }
4377 elif test "$wxUSE_ZLIB" = sys; then
4378 { echo "$as_me:$LINENO: result
: system version
" >&5
4379 echo "${ECHO_T}system version
" >&6; }
4380 elif test "$wxUSE_ZLIB" = builtin; then
4381 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4382 echo "${ECHO_T}builtin version
" >&6; }
4384 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4385 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4386 { (exit 1); exit 1; }; }
4390 { echo "$as_me:$LINENO: checking
for --with-expat" >&5
4391 echo $ECHO_N "checking
for --with-expat...
$ECHO_C" >&6; }
4393 # Check whether --with-expat was given.
4394 if test "${with_expat+set}" = set; then
4395 withval=$with_expat;
4396 if test "$withval" = yes; then
4397 wx_cv_use_expat='wxUSE_EXPAT=yes'
4398 elif test "$withval" = no; then
4399 wx_cv_use_expat='wxUSE_EXPAT=no'
4400 elif test "$withval" = sys; then
4401 wx_cv_use_expat='wxUSE_EXPAT=sys'
4402 elif test "$withval" = builtin; then
4403 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4405 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-expat: should be
yes, no
, sys
, or
builtin" >&5
4406 echo "$as_me: error
: Invalid value
for --with-expat: should be
yes, no
, sys
, or
builtin" >&2;}
4407 { (exit 1); exit 1; }; }
4413 LINE=`grep "^wxUSE_EXPAT
=" ${wx_arg_cache_file}`
4414 if test "x
$LINE" != x ; then
4415 eval "DEFAULT_
$LINE"
4421 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4426 eval "$wx_cv_use_expat"
4427 if test "x$cache" = xyes
; then
4428 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4431 if test "$wxUSE_EXPAT" = yes; then
4432 { echo "$as_me:$LINENO: result: yes" >&5
4433 echo "${ECHO_T}yes" >&6; }
4434 elif test "$wxUSE_EXPAT" = no
; then
4435 { echo "$as_me:$LINENO: result: no" >&5
4436 echo "${ECHO_T}no" >&6; }
4437 elif test "$wxUSE_EXPAT" = sys
; then
4438 { echo "$as_me:$LINENO: result: system version" >&5
4439 echo "${ECHO_T}system version" >&6; }
4440 elif test "$wxUSE_EXPAT" = builtin; then
4441 { echo "$as_me:$LINENO: result: builtin version" >&5
4442 echo "${ECHO_T}builtin version" >&6; }
4444 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4445 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4446 { (exit 1); exit 1; }; }
4450 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4451 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4453 # Check whether --with-macosx-sdk was given.
4454 if test "${with_macosx_sdk+set}" = set; then
4455 withval
=$with_macosx_sdk;
4456 wxUSE_MACOSX_SDK
=$withval
4457 wx_cv_use_macosx_sdk
="wxUSE_MACOSX_SDK=$withval"
4458 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
4462 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
4463 # will override --enable-universal_binary's automatic SDK usage.
4465 LINE
=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
4466 if test "x$LINE" != x
; then
4468 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4473 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4474 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4476 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4477 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4479 # Check whether --with-macosx-version-min was given.
4480 if test "${with_macosx_version_min+set}" = set; then
4481 withval
=$with_macosx_version_min;
4482 wxUSE_MACOSX_VERSION_MIN
=$withval
4483 wx_cv_use_macosx_version_min
="wxUSE_MACOSX_VERSION_MIN=$withval"
4484 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
4488 # default "yes" because when not using an SDK it means the same as no
4489 # but when using an SDK it means to use the SDK version
4490 wxUSE_MACOSX_VERSION_MIN
=yes
4491 # See if there is a value in the cache
4492 LINE
=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
4493 if test "x$LINE" != x
; then
4495 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4500 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4501 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4505 enablestring
=disable
4507 if test -z "$defaultval"; then
4508 if test x
"$enablestring" = xdisable
; then
4515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4516 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4517 # Check whether --enable-shared was given.
4518 if test "${enable_shared+set}" = set; then
4519 enableval
=$enable_shared;
4520 if test "$enableval" = yes; then
4521 wx_cv_use_shared
='wxUSE_SHARED=yes'
4523 wx_cv_use_shared
='wxUSE_SHARED=no'
4529 LINE
=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4530 if test "x$LINE" != x
; then
4531 eval "DEFAULT_$LINE"
4537 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4542 eval "$wx_cv_use_shared"
4543 if test "x$cache" = xyes; then
4544 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4547 if test x"$enablestring" = xdisable; then
4548 if test $wxUSE_SHARED = yes; then
4554 result=$wxUSE_SHARED
4557 { echo "$as_me:$LINENO: result: $result" >&5
4558 echo "${ECHO_T}$result" >&6; }
4561 enablestring=disable
4563 if test -z "$defaultval"; then
4564 if test x"$enablestring" = xdisable; then
4571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4572 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4573 # Check whether --enable-optimise was given.
4574 if test "${enable_optimise+set}" = set; then
4575 enableval=$enable_optimise;
4576 if test "$enableval" = yes; then
4577 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4579 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4585 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4586 if test "x$LINE" != x ; then
4587 eval "DEFAULT_$LINE"
4593 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4598 eval "$wx_cv_use_optimise"
4599 if test "x
$cache" = xyes; then
4600 echo "wxUSE_OPTIMISE
=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4603 if test x"$enablestring" = xdisable; then
4604 if test $wxUSE_OPTIMISE = yes; then
4610 result=$wxUSE_OPTIMISE
4613 { echo "$as_me:$LINENO: result
: $result" >&5
4614 echo "${ECHO_T}$result" >&6; }
4619 if test -z "$defaultval"; then
4620 if test x"$enablestring" = xdisable; then
4627 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4628 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4629 # Check whether --enable-debug was given.
4630 if test "${enable_debug+set}" = set; then
4631 enableval=$enable_debug;
4632 if test "$enableval" = yes; then
4633 wx_cv_use_debug='wxUSE_DEBUG=yes'
4635 wx_cv_use_debug='wxUSE_DEBUG=no'
4641 LINE=`grep "^wxUSE_DEBUG
=" ${wx_arg_cache_file}`
4642 if test "x
$LINE" != x ; then
4643 eval "DEFAULT_
$LINE"
4649 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4654 eval "$wx_cv_use_debug"
4655 if test "x$cache" = xyes
; then
4656 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4659 if test x
"$enablestring" = xdisable
; then
4660 if test $wxUSE_DEBUG = yes; then
4669 { echo "$as_me:$LINENO: result: $result" >&5
4670 echo "${ECHO_T}$result" >&6; }
4675 if test -z "$defaultval"; then
4676 if test x
"$enablestring" = xdisable
; then
4683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4684 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4685 # Check whether --enable-stl was given.
4686 if test "${enable_stl+set}" = set; then
4687 enableval
=$enable_stl;
4688 if test "$enableval" = yes; then
4689 wx_cv_use_stl
='wxUSE_STL=yes'
4691 wx_cv_use_stl
='wxUSE_STL=no'
4697 LINE
=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4698 if test "x$LINE" != x
; then
4699 eval "DEFAULT_$LINE"
4705 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4710 eval "$wx_cv_use_stl"
4711 if test "x$cache" = xyes; then
4712 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4715 if test x"$enablestring" = xdisable; then
4716 if test $wxUSE_STL = yes; then
4725 { echo "$as_me:$LINENO: result: $result" >&5
4726 echo "${ECHO_T}$result" >&6; }
4731 if test -z "$defaultval"; then
4732 if test x"$enablestring" = xdisable; then
4739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4740 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4741 # Check whether --enable-std_iostreams was given.
4742 if test "${enable_std_iostreams+set}" = set; then
4743 enableval=$enable_std_iostreams;
4744 if test "$enableval" = yes; then
4745 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4747 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4753 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4754 if test "x$LINE" != x ; then
4755 eval "DEFAULT_$LINE"
4761 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4766 eval "$wx_cv_use_std_iostreams"
4767 if test "x
$cache" = xyes; then
4768 echo "wxUSE_STD_IOSTREAM
=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4771 if test x"$enablestring" = xdisable; then
4772 if test $wxUSE_STD_IOSTREAM = yes; then
4778 result=$wxUSE_STD_IOSTREAM
4781 { echo "$as_me:$LINENO: result
: $result" >&5
4782 echo "${ECHO_T}$result" >&6; }
4787 if test -z "$defaultval"; then
4788 if test x"$enablestring" = xdisable; then
4795 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4796 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4797 # Check whether --enable-std_string was given.
4798 if test "${enable_std_string+set}" = set; then
4799 enableval=$enable_std_string;
4800 if test "$enableval" = yes; then
4801 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4803 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4809 LINE=`grep "^wxUSE_STD_STRING
=" ${wx_arg_cache_file}`
4810 if test "x
$LINE" != x ; then
4811 eval "DEFAULT_
$LINE"
4817 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4822 eval "$wx_cv_use_std_string"
4823 if test "x$cache" = xyes
; then
4824 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4827 if test x
"$enablestring" = xdisable
; then
4828 if test $wxUSE_STD_STRING = yes; then
4834 result
=$wxUSE_STD_STRING
4837 { echo "$as_me:$LINENO: result: $result" >&5
4838 echo "${ECHO_T}$result" >&6; }
4841 enablestring
=disable
4843 if test -z "$defaultval"; then
4844 if test x
"$enablestring" = xdisable
; then
4851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4852 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4853 # Check whether --enable-unicode was given.
4854 if test "${enable_unicode+set}" = set; then
4855 enableval
=$enable_unicode;
4856 if test "$enableval" = yes; then
4857 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4859 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4865 LINE
=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4866 if test "x$LINE" != x
; then
4867 eval "DEFAULT_$LINE"
4873 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4878 eval "$wx_cv_use_unicode"
4879 if test "x$cache" = xyes; then
4880 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4883 if test x"$enablestring" = xdisable; then
4884 if test $wxUSE_UNICODE = yes; then
4890 result=$wxUSE_UNICODE
4893 { echo "$as_me:$LINENO: result: $result" >&5
4894 echo "${ECHO_T}$result" >&6; }
4899 if test -z "$defaultval"; then
4900 if test x"$enablestring" = xdisable; then
4907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4908 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4909 # Check whether --enable-mslu was given.
4910 if test "${enable_mslu+set}" = set; then
4911 enableval=$enable_mslu;
4912 if test "$enableval" = yes; then
4913 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4915 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4921 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4922 if test "x$LINE" != x ; then
4923 eval "DEFAULT_$LINE"
4929 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4934 eval "$wx_cv_use_mslu"
4935 if test "x
$cache" = xyes; then
4936 echo "wxUSE_UNICODE_MSLU
=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4939 if test x"$enablestring" = xdisable; then
4940 if test $wxUSE_UNICODE_MSLU = yes; then
4946 result=$wxUSE_UNICODE_MSLU
4949 { echo "$as_me:$LINENO: result
: $result" >&5
4950 echo "${ECHO_T}$result" >&6; }
4954 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4955 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
4956 # Check whether --enable-utf8 was given.
4957 if test "${enable_utf8+set}" = set; then
4958 enableval=$enable_utf8;
4959 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4964 LINE=`grep "^wxUSE_UNICODE_UTF8
=" ${wx_arg_cache_file}`
4965 if test "x
$LINE" != x ; then
4966 eval "DEFAULT_
$LINE"
4972 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4977 eval "$wx_cv_use_utf8"
4978 if test "x
$cache" = xyes; then
4979 echo "wxUSE_UNICODE_UTF8
=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4982 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4983 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4988 if test -z "$defaultval"; then
4989 if test x"$enablestring" = xdisable; then
4996 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
4997 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
4998 # Check whether --enable-utf8only was given.
4999 if test "${enable_utf8only+set}" = set; then
5000 enableval=$enable_utf8only;
5001 if test "$enableval" = yes; then
5002 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5004 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5010 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE
=" ${wx_arg_cache_file}`
5011 if test "x
$LINE" != x ; then
5012 eval "DEFAULT_
$LINE"
5018 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5023 eval "$wx_cv_use_utf8only"
5024 if test "x$cache" = xyes
; then
5025 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
5028 if test x
"$enablestring" = xdisable
; then
5029 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
5035 result
=$wxUSE_UNICODE_UTF8_LOCALE
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}-extended_rtti" >&5
5053 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5054 # Check whether --enable-extended_rtti was given.
5055 if test "${enable_extended_rtti+set}" = set; then
5056 enableval
=$enable_extended_rtti;
5057 if test "$enableval" = yes; then
5058 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
5060 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
5066 LINE
=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5067 if test "x$LINE" != x
; then
5068 eval "DEFAULT_$LINE"
5074 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5079 eval "$wx_cv_use_extended_rtti"
5080 if test "x$cache" = xyes; then
5081 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5084 if test x"$enablestring" = xdisable; then
5085 if test $wxUSE_EXTENDED_RTTI = yes; then
5091 result=$wxUSE_EXTENDED_RTTI
5094 { echo "$as_me:$LINENO: result: $result" >&5
5095 echo "${ECHO_T}$result" >&6; }
5097 if test "$USE_OS2" = 1; then
5098 DEFAULT_wxUSE_OMF=no
5102 if test -z "$defaultval"; then
5103 if test x"$enablestring" = xdisable; then
5110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5111 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5112 # Check whether --enable-omf was given.
5113 if test "${enable_omf+set}" = set; then
5114 enableval=$enable_omf;
5115 if test "$enableval" = yes; then
5116 wx_cv_use_omf='wxUSE_OMF
=yes'
5118 wx_cv_use_omf='wxUSE_OMF
=no
'
5124 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5125 if test "x$LINE" != x ; then
5126 eval "DEFAULT_$LINE"
5132 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5137 eval "$wx_cv_use_omf"
5138 if test "x
$cache" = xyes; then
5139 echo "wxUSE_OMF
=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5142 if test x"$enablestring" = xdisable; then
5143 if test $wxUSE_OMF = yes; then
5152 { echo "$as_me:$LINENO: result
: $result" >&5
5153 echo "${ECHO_T}$result" >&6; }
5157 if test "$wxUSE_DEBUG" = "yes"; then
5158 DEFAULT_wxUSE_DEBUG_FLAG=yes
5159 DEFAULT_wxUSE_DEBUG_INFO=yes
5161 elif test "$wxUSE_DEBUG" = "no
"; then
5162 DEFAULT_wxUSE_DEBUG_FLAG=no
5163 DEFAULT_wxUSE_DEBUG_INFO=no
5170 if test -z "$defaultval"; then
5171 if test x"$enablestring" = xdisable; then
5178 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
5179 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
5180 # Check whether --enable-debug_flag was given.
5181 if test "${enable_debug_flag+set}" = set; then
5182 enableval=$enable_debug_flag;
5183 if test "$enableval" = yes; then
5184 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5186 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5192 LINE=`grep "^wxUSE_DEBUG_FLAG
=" ${wx_arg_cache_file}`
5193 if test "x
$LINE" != x ; then
5194 eval "DEFAULT_
$LINE"
5200 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5205 eval "$wx_cv_use_debug_flag"
5206 if test "x$cache" = xyes
; then
5207 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5210 if test x
"$enablestring" = xdisable
; then
5211 if test $wxUSE_DEBUG_FLAG = yes; then
5217 result
=$wxUSE_DEBUG_FLAG
5220 { echo "$as_me:$LINENO: result: $result" >&5
5221 echo "${ECHO_T}$result" >&6; }
5226 if test -z "$defaultval"; then
5227 if test x
"$enablestring" = xdisable
; then
5234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5235 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5236 # Check whether --enable-debug_info was given.
5237 if test "${enable_debug_info+set}" = set; then
5238 enableval
=$enable_debug_info;
5239 if test "$enableval" = yes; then
5240 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
5242 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
5248 LINE
=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5249 if test "x$LINE" != x
; then
5250 eval "DEFAULT_$LINE"
5256 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5261 eval "$wx_cv_use_debug_info"
5262 if test "x$cache" = xyes; then
5263 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5266 if test x"$enablestring" = xdisable; then
5267 if test $wxUSE_DEBUG_INFO = yes; then
5273 result=$wxUSE_DEBUG_INFO
5276 { echo "$as_me:$LINENO: result: $result" >&5
5277 echo "${ECHO_T}$result" >&6; }
5282 if test -z "$defaultval"; then
5283 if test x"$enablestring" = xdisable; then
5290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5291 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5292 # Check whether --enable-debug_gdb was given.
5293 if test "${enable_debug_gdb+set}" = set; then
5294 enableval=$enable_debug_gdb;
5295 if test "$enableval" = yes; then
5296 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
5298 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
5304 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5305 if test "x$LINE" != x ; then
5306 eval "DEFAULT_$LINE"
5312 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5317 eval "$wx_cv_use_debug_gdb"
5318 if test "x
$cache" = xyes; then
5319 echo "wxUSE_DEBUG_GDB
=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5322 if test x"$enablestring" = xdisable; then
5323 if test $wxUSE_DEBUG_GDB = yes; then
5329 result=$wxUSE_DEBUG_GDB
5332 { echo "$as_me:$LINENO: result
: $result" >&5
5333 echo "${ECHO_T}$result" >&6; }
5338 if test -z "$defaultval"; then
5339 if test x"$enablestring" = xdisable; then
5346 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_cntxt" >&5
5347 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_cntxt...
$ECHO_C" >&6; }
5348 # Check whether --enable-debug_cntxt was given.
5349 if test "${enable_debug_cntxt+set}" = set; then
5350 enableval=$enable_debug_cntxt;
5351 if test "$enableval" = yes; then
5352 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5354 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5360 LINE=`grep "^wxUSE_DEBUG_CONTEXT
=" ${wx_arg_cache_file}`
5361 if test "x
$LINE" != x ; then
5362 eval "DEFAULT_
$LINE"
5368 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5373 eval "$wx_cv_use_debug_cntxt"
5374 if test "x$cache" = xyes
; then
5375 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5378 if test x
"$enablestring" = xdisable
; then
5379 if test $wxUSE_DEBUG_CONTEXT = yes; then
5385 result
=$wxUSE_DEBUG_CONTEXT
5388 { echo "$as_me:$LINENO: result: $result" >&5
5389 echo "${ECHO_T}$result" >&6; }
5394 if test -z "$defaultval"; then
5395 if test x
"$enablestring" = xdisable
; then
5402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5403 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5404 # Check whether --enable-mem_tracing was given.
5405 if test "${enable_mem_tracing+set}" = set; then
5406 enableval
=$enable_mem_tracing;
5407 if test "$enableval" = yes; then
5408 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
5410 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
5416 LINE
=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5417 if test "x$LINE" != x
; then
5418 eval "DEFAULT_$LINE"
5424 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5429 eval "$wx_cv_use_mem_tracing"
5430 if test "x$cache" = xyes; then
5431 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5434 if test x"$enablestring" = xdisable; then
5435 if test $wxUSE_MEM_TRACING = yes; then
5441 result=$wxUSE_MEM_TRACING
5444 { echo "$as_me:$LINENO: result: $result" >&5
5445 echo "${ECHO_T}$result" >&6; }
5450 if test -z "$defaultval"; then
5451 if test x"$enablestring" = xdisable; then
5458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5459 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5460 # Check whether --enable-profile was given.
5461 if test "${enable_profile+set}" = set; then
5462 enableval=$enable_profile;
5463 if test "$enableval" = yes; then
5464 wx_cv_use_profile='wxUSE_PROFILE
=yes'
5466 wx_cv_use_profile='wxUSE_PROFILE
=no
'
5472 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5473 if test "x$LINE" != x ; then
5474 eval "DEFAULT_$LINE"
5480 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5485 eval "$wx_cv_use_profile"
5486 if test "x
$cache" = xyes; then
5487 echo "wxUSE_PROFILE
=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5490 if test x"$enablestring" = xdisable; then
5491 if test $wxUSE_PROFILE = yes; then
5497 result=$wxUSE_PROFILE
5500 { echo "$as_me:$LINENO: result
: $result" >&5
5501 echo "${ECHO_T}$result" >&6; }
5506 if test -z "$defaultval"; then
5507 if test x"$enablestring" = xdisable; then
5514 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
5515 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
5516 # Check whether --enable-no_rtti was given.
5517 if test "${enable_no_rtti+set}" = set; then
5518 enableval=$enable_no_rtti;
5519 if test "$enableval" = yes; then
5520 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5522 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5528 LINE=`grep "^wxUSE_NO_RTTI
=" ${wx_arg_cache_file}`
5529 if test "x
$LINE" != x ; then
5530 eval "DEFAULT_
$LINE"
5536 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5541 eval "$wx_cv_use_no_rtti"
5542 if test "x$cache" = xyes
; then
5543 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5546 if test x
"$enablestring" = xdisable
; then
5547 if test $wxUSE_NO_RTTI = yes; then
5553 result
=$wxUSE_NO_RTTI
5556 { echo "$as_me:$LINENO: result: $result" >&5
5557 echo "${ECHO_T}$result" >&6; }
5562 if test -z "$defaultval"; then
5563 if test x
"$enablestring" = xdisable
; then
5570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5571 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5572 # Check whether --enable-no_exceptions was given.
5573 if test "${enable_no_exceptions+set}" = set; then
5574 enableval
=$enable_no_exceptions;
5575 if test "$enableval" = yes; then
5576 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5578 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5584 LINE
=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5585 if test "x$LINE" != x
; then
5586 eval "DEFAULT_$LINE"
5592 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5597 eval "$wx_cv_use_no_exceptions"
5598 if test "x$cache" = xyes; then
5599 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5602 if test x"$enablestring" = xdisable; then
5603 if test $wxUSE_NO_EXCEPTIONS = yes; then
5609 result=$wxUSE_NO_EXCEPTIONS
5612 { echo "$as_me:$LINENO: result: $result" >&5
5613 echo "${ECHO_T}$result" >&6; }
5618 if test -z "$defaultval"; then
5619 if test x"$enablestring" = xdisable; then
5626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5627 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5628 # Check whether --enable-permissive was given.
5629 if test "${enable_permissive+set}" = set; then
5630 enableval=$enable_permissive;
5631 if test "$enableval" = yes; then
5632 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5634 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5640 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5641 if test "x$LINE" != x ; then
5642 eval "DEFAULT_$LINE"
5648 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5653 eval "$wx_cv_use_permissive"
5654 if test "x
$cache" = xyes; then
5655 echo "wxUSE_PERMISSIVE
=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5658 if test x"$enablestring" = xdisable; then
5659 if test $wxUSE_PERMISSIVE = yes; then
5665 result=$wxUSE_PERMISSIVE
5668 { echo "$as_me:$LINENO: result
: $result" >&5
5669 echo "${ECHO_T}$result" >&6; }
5674 if test -z "$defaultval"; then
5675 if test x"$enablestring" = xdisable; then
5682 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5683 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5684 # Check whether --enable-no_deps was given.
5685 if test "${enable_no_deps+set}" = set; then
5686 enableval=$enable_no_deps;
5687 if test "$enableval" = yes; then
5688 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5690 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5696 LINE=`grep "^wxUSE_NO_DEPS
=" ${wx_arg_cache_file}`
5697 if test "x
$LINE" != x ; then
5698 eval "DEFAULT_
$LINE"
5704 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5709 eval "$wx_cv_use_no_deps"
5710 if test "x$cache" = xyes
; then
5711 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5714 if test x
"$enablestring" = xdisable
; then
5715 if test $wxUSE_NO_DEPS = yes; then
5721 result
=$wxUSE_NO_DEPS
5724 { echo "$as_me:$LINENO: result: $result" >&5
5725 echo "${ECHO_T}$result" >&6; }
5728 enablestring
=disable
5730 if test -z "$defaultval"; then
5731 if test x
"$enablestring" = xdisable
; then
5738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5739 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5740 # Check whether --enable-vararg_macros was given.
5741 if test "${enable_vararg_macros+set}" = set; then
5742 enableval
=$enable_vararg_macros;
5743 if test "$enableval" = yes; then
5744 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5746 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5752 LINE
=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5753 if test "x$LINE" != x
; then
5754 eval "DEFAULT_$LINE"
5760 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5765 eval "$wx_cv_use_vararg_macros"
5766 if test "x$cache" = xyes; then
5767 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5770 if test x"$enablestring" = xdisable; then
5771 if test $wxUSE_VARARG_MACROS = yes; then
5777 result=$wxUSE_VARARG_MACROS
5780 { echo "$as_me:$LINENO: result: $result" >&5
5781 echo "${ECHO_T}$result" >&6; }
5785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5786 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5787 # Check whether --enable-universal_binary was given.
5788 if test "${enable_universal_binary+set}" = set; then
5789 enableval=$enable_universal_binary;
5790 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5795 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5796 if test "x$LINE" != x ; then
5797 eval "DEFAULT_$LINE"
5803 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5808 eval "$wx_cv_use_universal_binary"
5809 if test "x$cache" = xyes; then
5810 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5813 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5814 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5820 if test -z "$defaultval"; then
5821 if test x"$enablestring" = xdisable; then
5828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5829 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5830 # Check whether --enable-compat26 was given.
5831 if test "${enable_compat26+set}" = set; then
5832 enableval=$enable_compat26;
5833 if test "$enableval" = yes; then
5834 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5836 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5842 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5843 if test "x$LINE" != x ; then
5844 eval "DEFAULT_$LINE"
5850 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5855 eval "$wx_cv_use_compat26"
5856 if test "x
$cache" = xyes; then
5857 echo "WXWIN_COMPATIBILITY_2_6
=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5860 if test x"$enablestring" = xdisable; then
5861 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5867 result=$WXWIN_COMPATIBILITY_2_6
5870 { echo "$as_me:$LINENO: result
: $result" >&5
5871 echo "${ECHO_T}$result" >&6; }
5874 enablestring=disable
5876 if test -z "$defaultval"; then
5877 if test x"$enablestring" = xdisable; then
5884 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5885 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5886 # Check whether --enable-compat28 was given.
5887 if test "${enable_compat28+set}" = set; then
5888 enableval=$enable_compat28;
5889 if test "$enableval" = yes; then
5890 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5892 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5898 LINE=`grep "^WXWIN_COMPATIBILITY_2_8
=" ${wx_arg_cache_file}`
5899 if test "x
$LINE" != x ; then
5900 eval "DEFAULT_
$LINE"
5906 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5911 eval "$wx_cv_use_compat28"
5912 if test "x$cache" = xyes
; then
5913 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5916 if test x
"$enablestring" = xdisable
; then
5917 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5923 result
=$WXWIN_COMPATIBILITY_2_8
5926 { echo "$as_me:$LINENO: result: $result" >&5
5927 echo "${ECHO_T}$result" >&6; }
5931 enablestring
=disable
5933 if test -z "$defaultval"; then
5934 if test x
"$enablestring" = xdisable
; then
5941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5942 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5943 # Check whether --enable-rpath was given.
5944 if test "${enable_rpath+set}" = set; then
5945 enableval
=$enable_rpath;
5946 if test "$enableval" = yes; then
5947 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5949 wx_cv_use_rpath
='wxUSE_RPATH=no'
5955 LINE
=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5956 if test "x$LINE" != x
; then
5957 eval "DEFAULT_$LINE"
5963 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5968 eval "$wx_cv_use_rpath"
5969 if test "x$cache" = xyes; then
5970 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5973 if test x"$enablestring" = xdisable; then
5974 if test $wxUSE_RPATH = yes; then
5983 { echo "$as_me:$LINENO: result: $result" >&5
5984 echo "${ECHO_T}$result" >&6; }
5990 if test -z "$defaultval"; then
5991 if test x"$enablestring" = xdisable; then
5998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5999 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
6000 # Check whether --enable-objc_uniquifying was given.
6001 if test "${enable_objc_uniquifying+set}" = set; then
6002 enableval=$enable_objc_uniquifying;
6003 if test "$enableval" = yes; then
6004 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
6006 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
6012 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
6013 if test "x$LINE" != x ; then
6014 eval "DEFAULT_$LINE"
6020 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6025 eval "$wx_cv_use_objc_uniquifying"
6026 if test "x
$cache" = xyes; then
6027 echo "wxUSE_OBJC_UNIQUIFYING
=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
6030 if test x"$enablestring" = xdisable; then
6031 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
6037 result=$wxUSE_OBJC_UNIQUIFYING
6040 { echo "$as_me:$LINENO: result
: $result" >&5
6041 echo "${ECHO_T}$result" >&6; }
6045 enablestring=disable
6047 if test -z "$defaultval"; then
6048 if test x"$enablestring" = xdisable; then
6055 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
6056 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
6057 # Check whether --enable-visibility was given.
6058 if test "${enable_visibility+set}" = set; then
6059 enableval=$enable_visibility;
6060 if test "$enableval" = yes; then
6061 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6063 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6069 LINE=`grep "^wxUSE_VISIBILITY
=" ${wx_arg_cache_file}`
6070 if test "x
$LINE" != x ; then
6071 eval "DEFAULT_
$LINE"
6077 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6082 eval "$wx_cv_use_visibility"
6083 if test "x$cache" = xyes
; then
6084 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
6087 if test x
"$enablestring" = xdisable
; then
6088 if test $wxUSE_VISIBILITY = yes; then
6094 result
=$wxUSE_VISIBILITY
6097 { echo "$as_me:$LINENO: result: $result" >&5
6098 echo "${ECHO_T}$result" >&6; }
6104 defaultval
=$wxUSE_ALL_FEATURES
6105 if test -z "$defaultval"; then
6106 if test x
"$enablestring" = xdisable
; then
6113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6114 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6115 # Check whether --enable-intl was given.
6116 if test "${enable_intl+set}" = set; then
6117 enableval
=$enable_intl;
6118 if test "$enableval" = yes; then
6119 wx_cv_use_intl
='wxUSE_INTL=yes'
6121 wx_cv_use_intl
='wxUSE_INTL=no'
6127 LINE
=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6128 if test "x$LINE" != x
; then
6129 eval "DEFAULT_$LINE"
6135 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6140 eval "$wx_cv_use_intl"
6141 if test "x$cache" = xyes; then
6142 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6145 if test x"$enablestring" = xdisable; then
6146 if test $wxUSE_INTL = yes; then
6155 { echo "$as_me:$LINENO: result: $result" >&5
6156 echo "${ECHO_T}$result" >&6; }
6160 defaultval=$wxUSE_ALL_FEATURES
6161 if test -z "$defaultval"; then
6162 if test x"$enablestring" = xdisable; then
6169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6170 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6171 # Check whether --enable-config was given.
6172 if test "${enable_config+set}" = set; then
6173 enableval=$enable_config;
6174 if test "$enableval" = yes; then
6175 wx_cv_use_config='wxUSE_CONFIG
=yes'
6177 wx_cv_use_config='wxUSE_CONFIG
=no
'
6183 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6184 if test "x$LINE" != x ; then
6185 eval "DEFAULT_$LINE"
6191 wx_cv_use_config='wxUSE_CONFIG
=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6196 eval "$wx_cv_use_config"
6197 if test "x
$cache" = xyes; then
6198 echo "wxUSE_CONFIG
=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6201 if test x"$enablestring" = xdisable; then
6202 if test $wxUSE_CONFIG = yes; then
6208 result=$wxUSE_CONFIG
6211 { echo "$as_me:$LINENO: result
: $result" >&5
6212 echo "${ECHO_T}$result" >&6; }
6217 defaultval=$wxUSE_ALL_FEATURES
6218 if test -z "$defaultval"; then
6219 if test x"$enablestring" = xdisable; then
6226 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocols" >&5
6227 echo $ECHO_N "checking
for --${enablestring:-enable}-protocols...
$ECHO_C" >&6; }
6228 # Check whether --enable-protocols was given.
6229 if test "${enable_protocols+set}" = set; then
6230 enableval=$enable_protocols;
6231 if test "$enableval" = yes; then
6232 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6234 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6240 LINE=`grep "^wxUSE_PROTOCOL
=" ${wx_arg_cache_file}`
6241 if test "x
$LINE" != x ; then
6242 eval "DEFAULT_
$LINE"
6248 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6253 eval "$wx_cv_use_protocols"
6254 if test "x$cache" = xyes
; then
6255 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6258 if test x
"$enablestring" = xdisable
; then
6259 if test $wxUSE_PROTOCOL = yes; then
6265 result
=$wxUSE_PROTOCOL
6268 { echo "$as_me:$LINENO: result: $result" >&5
6269 echo "${ECHO_T}$result" >&6; }
6273 defaultval
=$wxUSE_ALL_FEATURES
6274 if test -z "$defaultval"; then
6275 if test x
"$enablestring" = xdisable
; then
6282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6283 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6284 # Check whether --enable-ftp was given.
6285 if test "${enable_ftp+set}" = set; then
6286 enableval
=$enable_ftp;
6287 if test "$enableval" = yes; then
6288 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
6290 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
6296 LINE
=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6297 if test "x$LINE" != x
; then
6298 eval "DEFAULT_$LINE"
6304 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6309 eval "$wx_cv_use_ftp"
6310 if test "x$cache" = xyes; then
6311 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6314 if test x"$enablestring" = xdisable; then
6315 if test $wxUSE_PROTOCOL_FTP = yes; then
6321 result=$wxUSE_PROTOCOL_FTP
6324 { echo "$as_me:$LINENO: result: $result" >&5
6325 echo "${ECHO_T}$result" >&6; }
6329 defaultval=$wxUSE_ALL_FEATURES
6330 if test -z "$defaultval"; then
6331 if test x"$enablestring" = xdisable; then
6338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6339 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6340 # Check whether --enable-http was given.
6341 if test "${enable_http+set}" = set; then
6342 enableval=$enable_http;
6343 if test "$enableval" = yes; then
6344 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
6346 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
6352 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6353 if test "x$LINE" != x ; then
6354 eval "DEFAULT_$LINE"
6360 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6365 eval "$wx_cv_use_http"
6366 if test "x
$cache" = xyes; then
6367 echo "wxUSE_PROTOCOL_HTTP
=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6370 if test x"$enablestring" = xdisable; then
6371 if test $wxUSE_PROTOCOL_HTTP = yes; then
6377 result=$wxUSE_PROTOCOL_HTTP
6380 { echo "$as_me:$LINENO: result
: $result" >&5
6381 echo "${ECHO_T}$result" >&6; }
6385 defaultval=$wxUSE_ALL_FEATURES
6386 if test -z "$defaultval"; then
6387 if test x"$enablestring" = xdisable; then
6394 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fileproto" >&5
6395 echo $ECHO_N "checking
for --${enablestring:-enable}-fileproto...
$ECHO_C" >&6; }
6396 # Check whether --enable-fileproto was given.
6397 if test "${enable_fileproto+set}" = set; then
6398 enableval=$enable_fileproto;
6399 if test "$enableval" = yes; then
6400 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6402 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6408 LINE=`grep "^wxUSE_PROTOCOL_FILE
=" ${wx_arg_cache_file}`
6409 if test "x
$LINE" != x ; then
6410 eval "DEFAULT_
$LINE"
6416 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6421 eval "$wx_cv_use_fileproto"
6422 if test "x$cache" = xyes
; then
6423 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6426 if test x
"$enablestring" = xdisable
; then
6427 if test $wxUSE_PROTOCOL_FILE = yes; then
6433 result
=$wxUSE_PROTOCOL_FILE
6436 { echo "$as_me:$LINENO: result: $result" >&5
6437 echo "${ECHO_T}$result" >&6; }
6441 defaultval
=$wxUSE_ALL_FEATURES
6442 if test -z "$defaultval"; then
6443 if test x
"$enablestring" = xdisable
; then
6450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6451 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6452 # Check whether --enable-sockets was given.
6453 if test "${enable_sockets+set}" = set; then
6454 enableval
=$enable_sockets;
6455 if test "$enableval" = yes; then
6456 wx_cv_use_sockets
='wxUSE_SOCKETS=yes'
6458 wx_cv_use_sockets
='wxUSE_SOCKETS=no'
6464 LINE
=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6465 if test "x$LINE" != x
; then
6466 eval "DEFAULT_$LINE"
6472 wx_cv_use_sockets
='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6477 eval "$wx_cv_use_sockets"
6478 if test "x$cache" = xyes; then
6479 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6482 if test x"$enablestring" = xdisable; then
6483 if test $wxUSE_SOCKETS = yes; then
6489 result=$wxUSE_SOCKETS
6492 { echo "$as_me:$LINENO: result: $result" >&5
6493 echo "${ECHO_T}$result" >&6; }
6497 defaultval=$wxUSE_ALL_FEATURES
6498 if test -z "$defaultval"; then
6499 if test x"$enablestring" = xdisable; then
6506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6507 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6508 # Check whether --enable-ipv6 was given.
6509 if test "${enable_ipv6+set}" = set; then
6510 enableval=$enable_ipv6;
6511 if test "$enableval" = yes; then
6512 wx_cv_use_ipv6='wxUSE_IPV6
=yes'
6514 wx_cv_use_ipv6='wxUSE_IPV6
=no
'
6520 LINE=`grep "^wxUSE_IPV6=" ${wx_arg_cache_file}`
6521 if test "x$LINE" != x ; then
6522 eval "DEFAULT_$LINE"
6528 wx_cv_use_ipv6='wxUSE_IPV6
=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6533 eval "$wx_cv_use_ipv6"
6534 if test "x
$cache" = xyes; then
6535 echo "wxUSE_IPV6
=$wxUSE_IPV6" >> ${wx_arg_cache_file}.tmp
6538 if test x"$enablestring" = xdisable; then
6539 if test $wxUSE_IPV6 = yes; then
6548 { echo "$as_me:$LINENO: result
: $result" >&5
6549 echo "${ECHO_T}$result" >&6; }
6553 defaultval=$wxUSE_ALL_FEATURES
6554 if test -z "$defaultval"; then
6555 if test x"$enablestring" = xdisable; then
6562 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ole" >&5
6563 echo $ECHO_N "checking
for --${enablestring:-enable}-ole...
$ECHO_C" >&6; }
6564 # Check whether --enable-ole was given.
6565 if test "${enable_ole+set}" = set; then
6566 enableval=$enable_ole;
6567 if test "$enableval" = yes; then
6568 wx_cv_use_ole='wxUSE_OLE=yes'
6570 wx_cv_use_ole='wxUSE_OLE=no'
6576 LINE=`grep "^wxUSE_OLE
=" ${wx_arg_cache_file}`
6577 if test "x
$LINE" != x ; then
6578 eval "DEFAULT_
$LINE"
6584 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6589 eval "$wx_cv_use_ole"
6590 if test "x$cache" = xyes
; then
6591 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6594 if test x
"$enablestring" = xdisable
; then
6595 if test $wxUSE_OLE = yes; then
6604 { echo "$as_me:$LINENO: result: $result" >&5
6605 echo "${ECHO_T}$result" >&6; }
6609 defaultval
=$wxUSE_ALL_FEATURES
6610 if test -z "$defaultval"; then
6611 if test x
"$enablestring" = xdisable
; then
6618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6619 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6620 # Check whether --enable-dataobj was given.
6621 if test "${enable_dataobj+set}" = set; then
6622 enableval
=$enable_dataobj;
6623 if test "$enableval" = yes; then
6624 wx_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
6626 wx_cv_use_dataobj
='wxUSE_DATAOBJ=no'
6632 LINE
=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6633 if test "x$LINE" != x
; then
6634 eval "DEFAULT_$LINE"
6640 wx_cv_use_dataobj
='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6645 eval "$wx_cv_use_dataobj"
6646 if test "x$cache" = xyes; then
6647 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6650 if test x"$enablestring" = xdisable; then
6651 if test $wxUSE_DATAOBJ = yes; then
6657 result=$wxUSE_DATAOBJ
6660 { echo "$as_me:$LINENO: result: $result" >&5
6661 echo "${ECHO_T}$result" >&6; }
6666 defaultval=$wxUSE_ALL_FEATURES
6667 if test -z "$defaultval"; then
6668 if test x"$enablestring" = xdisable; then
6675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6676 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6677 # Check whether --enable-ipc was given.
6678 if test "${enable_ipc+set}" = set; then
6679 enableval=$enable_ipc;
6680 if test "$enableval" = yes; then
6681 wx_cv_use_ipc='wxUSE_IPC
=yes'
6683 wx_cv_use_ipc='wxUSE_IPC
=no
'
6689 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6690 if test "x$LINE" != x ; then
6691 eval "DEFAULT_$LINE"
6697 wx_cv_use_ipc='wxUSE_IPC
=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6702 eval "$wx_cv_use_ipc"
6703 if test "x
$cache" = xyes; then
6704 echo "wxUSE_IPC
=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6707 if test x"$enablestring" = xdisable; then
6708 if test $wxUSE_IPC = yes; then
6717 { echo "$as_me:$LINENO: result
: $result" >&5
6718 echo "${ECHO_T}$result" >&6; }
6723 defaultval=$wxUSE_ALL_FEATURES
6724 if test -z "$defaultval"; then
6725 if test x"$enablestring" = xdisable; then
6732 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-baseevtloop" >&5
6733 echo $ECHO_N "checking
for --${enablestring:-enable}-baseevtloop...
$ECHO_C" >&6; }
6734 # Check whether --enable-baseevtloop was given.
6735 if test "${enable_baseevtloop+set}" = set; then
6736 enableval=$enable_baseevtloop;
6737 if test "$enableval" = yes; then
6738 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6740 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6746 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP
=" ${wx_arg_cache_file}`
6747 if test "x
$LINE" != x ; then
6748 eval "DEFAULT_
$LINE"
6754 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6759 eval "$wx_cv_use_baseevtloop"
6760 if test "x$cache" = xyes
; then
6761 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6764 if test x
"$enablestring" = xdisable
; then
6765 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6771 result
=$wxUSE_CONSOLE_EVENTLOOP
6774 { echo "$as_me:$LINENO: result: $result" >&5
6775 echo "${ECHO_T}$result" >&6; }
6779 defaultval
=$wxUSE_ALL_FEATURES
6780 if test -z "$defaultval"; then
6781 if test x
"$enablestring" = xdisable
; then
6788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6789 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6790 # Check whether --enable-epollloop was given.
6791 if test "${enable_epollloop+set}" = set; then
6792 enableval
=$enable_epollloop;
6793 if test "$enableval" = yes; then
6794 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=yes'
6796 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=no'
6802 LINE
=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6803 if test "x$LINE" != x
; then
6804 eval "DEFAULT_$LINE"
6810 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6815 eval "$wx_cv_use_epollloop"
6816 if test "x$cache" = xyes; then
6817 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6820 if test x"$enablestring" = xdisable; then
6821 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6827 result=$wxUSE_EPOLL_DISPATCHER
6830 { echo "$as_me:$LINENO: result: $result" >&5
6831 echo "${ECHO_T}$result" >&6; }
6835 defaultval=$wxUSE_ALL_FEATURES
6836 if test -z "$defaultval"; then
6837 if test x"$enablestring" = xdisable; then
6844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6845 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6846 # Check whether --enable-selectloop was given.
6847 if test "${enable_selectloop+set}" = set; then
6848 enableval=$enable_selectloop;
6849 if test "$enableval" = yes; then
6850 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=yes'
6852 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=no
'
6858 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6859 if test "x$LINE" != x ; then
6860 eval "DEFAULT_$LINE"
6866 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6871 eval "$wx_cv_use_selectloop"
6872 if test "x
$cache" = xyes; then
6873 echo "wxUSE_SELECT_DISPATCHER
=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6876 if test x"$enablestring" = xdisable; then
6877 if test $wxUSE_SELECT_DISPATCHER = yes; then
6883 result=$wxUSE_SELECT_DISPATCHER
6886 { echo "$as_me:$LINENO: result
: $result" >&5
6887 echo "${ECHO_T}$result" >&6; }
6892 defaultval=$wxUSE_ALL_FEATURES
6893 if test -z "$defaultval"; then
6894 if test x"$enablestring" = xdisable; then
6901 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-apple_ieee" >&5
6902 echo $ECHO_N "checking
for --${enablestring:-enable}-apple_ieee...
$ECHO_C" >&6; }
6903 # Check whether --enable-apple_ieee was given.
6904 if test "${enable_apple_ieee+set}" = set; then
6905 enableval=$enable_apple_ieee;
6906 if test "$enableval" = yes; then
6907 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6909 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6915 LINE=`grep "^wxUSE_APPLE_IEEE
=" ${wx_arg_cache_file}`
6916 if test "x
$LINE" != x ; then
6917 eval "DEFAULT_
$LINE"
6923 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6928 eval "$wx_cv_use_apple_ieee"
6929 if test "x$cache" = xyes
; then
6930 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6933 if test x
"$enablestring" = xdisable
; then
6934 if test $wxUSE_APPLE_IEEE = yes; then
6940 result
=$wxUSE_APPLE_IEEE
6943 { echo "$as_me:$LINENO: result: $result" >&5
6944 echo "${ECHO_T}$result" >&6; }
6948 defaultval
=$wxUSE_ALL_FEATURES
6949 if test -z "$defaultval"; then
6950 if test x
"$enablestring" = xdisable
; then
6957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6958 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6959 # Check whether --enable-arcstream was given.
6960 if test "${enable_arcstream+set}" = set; then
6961 enableval
=$enable_arcstream;
6962 if test "$enableval" = yes; then
6963 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
6965 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
6971 LINE
=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6972 if test "x$LINE" != x
; then
6973 eval "DEFAULT_$LINE"
6979 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6984 eval "$wx_cv_use_arcstream"
6985 if test "x$cache" = xyes; then
6986 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6989 if test x"$enablestring" = xdisable; then
6990 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6996 result=$wxUSE_ARCHIVE_STREAMS
6999 { echo "$as_me:$LINENO: result: $result" >&5
7000 echo "${ECHO_T}$result" >&6; }
7004 defaultval=$wxUSE_ALL_FEATURES
7005 if test -z "$defaultval"; then
7006 if test x"$enablestring" = xdisable; then
7013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
7014 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
7015 # Check whether --enable-base64 was given.
7016 if test "${enable_base64+set}" = set; then
7017 enableval=$enable_base64;
7018 if test "$enableval" = yes; then
7019 wx_cv_use_base64='wxUSE_BASE64
=yes'
7021 wx_cv_use_base64='wxUSE_BASE64
=no
'
7027 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
7028 if test "x$LINE" != x ; then
7029 eval "DEFAULT_$LINE"
7035 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7040 eval "$wx_cv_use_base64"
7041 if test "x
$cache" = xyes; then
7042 echo "wxUSE_BASE64
=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
7045 if test x"$enablestring" = xdisable; then
7046 if test $wxUSE_BASE64 = yes; then
7052 result=$wxUSE_BASE64
7055 { echo "$as_me:$LINENO: result
: $result" >&5
7056 echo "${ECHO_T}$result" >&6; }
7060 defaultval=$wxUSE_ALL_FEATURES
7061 if test -z "$defaultval"; then
7062 if test x"$enablestring" = xdisable; then
7069 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-backtrace" >&5
7070 echo $ECHO_N "checking
for --${enablestring:-enable}-backtrace...
$ECHO_C" >&6; }
7071 # Check whether --enable-backtrace was given.
7072 if test "${enable_backtrace+set}" = set; then
7073 enableval=$enable_backtrace;
7074 if test "$enableval" = yes; then
7075 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7077 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7083 LINE=`grep "^wxUSE_STACKWALKER
=" ${wx_arg_cache_file}`
7084 if test "x
$LINE" != x ; then
7085 eval "DEFAULT_
$LINE"
7091 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7096 eval "$wx_cv_use_backtrace"
7097 if test "x$cache" = xyes
; then
7098 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
7101 if test x
"$enablestring" = xdisable
; then
7102 if test $wxUSE_STACKWALKER = yes; then
7108 result
=$wxUSE_STACKWALKER
7111 { echo "$as_me:$LINENO: result: $result" >&5
7112 echo "${ECHO_T}$result" >&6; }
7116 defaultval
=$wxUSE_ALL_FEATURES
7117 if test -z "$defaultval"; then
7118 if test x
"$enablestring" = xdisable
; then
7125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
7126 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
7127 # Check whether --enable-catch_segvs was given.
7128 if test "${enable_catch_segvs+set}" = set; then
7129 enableval
=$enable_catch_segvs;
7130 if test "$enableval" = yes; then
7131 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
7133 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
7139 LINE
=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
7140 if test "x$LINE" != x
; then
7141 eval "DEFAULT_$LINE"
7147 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7152 eval "$wx_cv_use_catch_segvs"
7153 if test "x$cache" = xyes; then
7154 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
7157 if test x"$enablestring" = xdisable; then
7158 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
7164 result=$wxUSE_ON_FATAL_EXCEPTION
7167 { echo "$as_me:$LINENO: result: $result" >&5
7168 echo "${ECHO_T}$result" >&6; }
7172 defaultval=$wxUSE_ALL_FEATURES
7173 if test -z "$defaultval"; then
7174 if test x"$enablestring" = xdisable; then
7181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
7182 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
7183 # Check whether --enable-cmdline was given.
7184 if test "${enable_cmdline+set}" = set; then
7185 enableval=$enable_cmdline;
7186 if test "$enableval" = yes; then
7187 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
7189 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
7195 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7196 if test "x$LINE" != x ; then
7197 eval "DEFAULT_$LINE"
7203 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7208 eval "$wx_cv_use_cmdline"
7209 if test "x
$cache" = xyes; then
7210 echo "wxUSE_CMDLINE_PARSER
=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7213 if test x"$enablestring" = xdisable; then
7214 if test $wxUSE_CMDLINE_PARSER = yes; then
7220 result=$wxUSE_CMDLINE_PARSER
7223 { echo "$as_me:$LINENO: result
: $result" >&5
7224 echo "${ECHO_T}$result" >&6; }
7228 defaultval=$wxUSE_ALL_FEATURES
7229 if test -z "$defaultval"; then
7230 if test x"$enablestring" = xdisable; then
7237 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datetime" >&5
7238 echo $ECHO_N "checking
for --${enablestring:-enable}-datetime...
$ECHO_C" >&6; }
7239 # Check whether --enable-datetime was given.
7240 if test "${enable_datetime+set}" = set; then
7241 enableval=$enable_datetime;
7242 if test "$enableval" = yes; then
7243 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7245 wx_cv_use_datetime='wxUSE_DATETIME=no'
7251 LINE=`grep "^wxUSE_DATETIME
=" ${wx_arg_cache_file}`
7252 if test "x
$LINE" != x ; then
7253 eval "DEFAULT_
$LINE"
7259 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7264 eval "$wx_cv_use_datetime"
7265 if test "x$cache" = xyes
; then
7266 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7269 if test x
"$enablestring" = xdisable
; then
7270 if test $wxUSE_DATETIME = yes; then
7276 result
=$wxUSE_DATETIME
7279 { echo "$as_me:$LINENO: result: $result" >&5
7280 echo "${ECHO_T}$result" >&6; }
7284 defaultval
=$wxUSE_ALL_FEATURES
7285 if test -z "$defaultval"; then
7286 if test x
"$enablestring" = xdisable
; then
7293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7294 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7295 # Check whether --enable-debugreport was given.
7296 if test "${enable_debugreport+set}" = set; then
7297 enableval
=$enable_debugreport;
7298 if test "$enableval" = yes; then
7299 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
7301 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
7307 LINE
=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7308 if test "x$LINE" != x
; then
7309 eval "DEFAULT_$LINE"
7315 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7320 eval "$wx_cv_use_debugreport"
7321 if test "x$cache" = xyes; then
7322 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7325 if test x"$enablestring" = xdisable; then
7326 if test $wxUSE_DEBUGREPORT = yes; then
7332 result=$wxUSE_DEBUGREPORT
7335 { echo "$as_me:$LINENO: result: $result" >&5
7336 echo "${ECHO_T}$result" >&6; }
7340 defaultval=$wxUSE_ALL_FEATURES
7341 if test -z "$defaultval"; then
7342 if test x"$enablestring" = xdisable; then
7349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7350 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7351 # Check whether --enable-dialupman was given.
7352 if test "${enable_dialupman+set}" = set; then
7353 enableval=$enable_dialupman;
7354 if test "$enableval" = yes; then
7355 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
7357 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
7363 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7364 if test "x$LINE" != x ; then
7365 eval "DEFAULT_$LINE"
7371 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7376 eval "$wx_cv_use_dialupman"
7377 if test "x
$cache" = xyes; then
7378 echo "wxUSE_DIALUP_MANAGER
=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7381 if test x"$enablestring" = xdisable; then
7382 if test $wxUSE_DIALUP_MANAGER = yes; then
7388 result=$wxUSE_DIALUP_MANAGER
7391 { echo "$as_me:$LINENO: result
: $result" >&5
7392 echo "${ECHO_T}$result" >&6; }
7396 defaultval=$wxUSE_ALL_FEATURES
7397 if test -z "$defaultval"; then
7398 if test x"$enablestring" = xdisable; then
7405 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynlib" >&5
7406 echo $ECHO_N "checking
for --${enablestring:-enable}-dynlib...
$ECHO_C" >&6; }
7407 # Check whether --enable-dynlib was given.
7408 if test "${enable_dynlib+set}" = set; then
7409 enableval=$enable_dynlib;
7410 if test "$enableval" = yes; then
7411 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7413 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7419 LINE=`grep "^wxUSE_DYNLIB_CLASS
=" ${wx_arg_cache_file}`
7420 if test "x
$LINE" != x ; then
7421 eval "DEFAULT_
$LINE"
7427 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7432 eval "$wx_cv_use_dynlib"
7433 if test "x$cache" = xyes
; then
7434 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7437 if test x
"$enablestring" = xdisable
; then
7438 if test $wxUSE_DYNLIB_CLASS = yes; then
7444 result
=$wxUSE_DYNLIB_CLASS
7447 { echo "$as_me:$LINENO: result: $result" >&5
7448 echo "${ECHO_T}$result" >&6; }
7452 defaultval
=$wxUSE_ALL_FEATURES
7453 if test -z "$defaultval"; then
7454 if test x
"$enablestring" = xdisable
; then
7461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7462 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7463 # Check whether --enable-dynamicloader was given.
7464 if test "${enable_dynamicloader+set}" = set; then
7465 enableval
=$enable_dynamicloader;
7466 if test "$enableval" = yes; then
7467 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
7469 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
7475 LINE
=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7476 if test "x$LINE" != x
; then
7477 eval "DEFAULT_$LINE"
7483 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7488 eval "$wx_cv_use_dynamicloader"
7489 if test "x$cache" = xyes; then
7490 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7493 if test x"$enablestring" = xdisable; then
7494 if test $wxUSE_DYNAMIC_LOADER = yes; then
7500 result=$wxUSE_DYNAMIC_LOADER
7503 { echo "$as_me:$LINENO: result: $result" >&5
7504 echo "${ECHO_T}$result" >&6; }
7508 defaultval=$wxUSE_ALL_FEATURES
7509 if test -z "$defaultval"; then
7510 if test x"$enablestring" = xdisable; then
7517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7518 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7519 # Check whether --enable-exceptions was given.
7520 if test "${enable_exceptions+set}" = set; then
7521 enableval=$enable_exceptions;
7522 if test "$enableval" = yes; then
7523 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
7525 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
7531 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7532 if test "x$LINE" != x ; then
7533 eval "DEFAULT_$LINE"
7539 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7544 eval "$wx_cv_use_exceptions"
7545 if test "x
$cache" = xyes; then
7546 echo "wxUSE_EXCEPTIONS
=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7549 if test x"$enablestring" = xdisable; then
7550 if test $wxUSE_EXCEPTIONS = yes; then
7556 result=$wxUSE_EXCEPTIONS
7559 { echo "$as_me:$LINENO: result
: $result" >&5
7560 echo "${ECHO_T}$result" >&6; }
7564 defaultval=$wxUSE_ALL_FEATURES
7565 if test -z "$defaultval"; then
7566 if test x"$enablestring" = xdisable; then
7573 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ffile" >&5
7574 echo $ECHO_N "checking
for --${enablestring:-enable}-ffile...
$ECHO_C" >&6; }
7575 # Check whether --enable-ffile was given.
7576 if test "${enable_ffile+set}" = set; then
7577 enableval=$enable_ffile;
7578 if test "$enableval" = yes; then
7579 wx_cv_use_ffile='wxUSE_FFILE=yes'
7581 wx_cv_use_ffile='wxUSE_FFILE=no'
7587 LINE=`grep "^wxUSE_FFILE
=" ${wx_arg_cache_file}`
7588 if test "x
$LINE" != x ; then
7589 eval "DEFAULT_
$LINE"
7595 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7600 eval "$wx_cv_use_ffile"
7601 if test "x$cache" = xyes
; then
7602 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7605 if test x
"$enablestring" = xdisable
; then
7606 if test $wxUSE_FFILE = yes; then
7615 { echo "$as_me:$LINENO: result: $result" >&5
7616 echo "${ECHO_T}$result" >&6; }
7620 defaultval
=$wxUSE_ALL_FEATURES
7621 if test -z "$defaultval"; then
7622 if test x
"$enablestring" = xdisable
; then
7629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7630 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7631 # Check whether --enable-file was given.
7632 if test "${enable_file+set}" = set; then
7633 enableval
=$enable_file;
7634 if test "$enableval" = yes; then
7635 wx_cv_use_file
='wxUSE_FILE=yes'
7637 wx_cv_use_file
='wxUSE_FILE=no'
7643 LINE
=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7644 if test "x$LINE" != x
; then
7645 eval "DEFAULT_$LINE"
7651 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7656 eval "$wx_cv_use_file"
7657 if test "x$cache" = xyes; then
7658 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7661 if test x"$enablestring" = xdisable; then
7662 if test $wxUSE_FILE = yes; then
7671 { echo "$as_me:$LINENO: result: $result" >&5
7672 echo "${ECHO_T}$result" >&6; }
7676 defaultval=$wxUSE_ALL_FEATURES
7677 if test -z "$defaultval"; then
7678 if test x"$enablestring" = xdisable; then
7685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7686 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7687 # Check whether --enable-filesystem was given.
7688 if test "${enable_filesystem+set}" = set; then
7689 enableval=$enable_filesystem;
7690 if test "$enableval" = yes; then
7691 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
7693 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
7699 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7700 if test "x$LINE" != x ; then
7701 eval "DEFAULT_$LINE"
7707 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7712 eval "$wx_cv_use_filesystem"
7713 if test "x
$cache" = xyes; then
7714 echo "wxUSE_FILESYSTEM
=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7717 if test x"$enablestring" = xdisable; then
7718 if test $wxUSE_FILESYSTEM = yes; then
7724 result=$wxUSE_FILESYSTEM
7727 { echo "$as_me:$LINENO: result
: $result" >&5
7728 echo "${ECHO_T}$result" >&6; }
7732 defaultval=$wxUSE_ALL_FEATURES
7733 if test -z "$defaultval"; then
7734 if test x"$enablestring" = xdisable; then
7741 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontenum" >&5
7742 echo $ECHO_N "checking
for --${enablestring:-enable}-fontenum...
$ECHO_C" >&6; }
7743 # Check whether --enable-fontenum was given.
7744 if test "${enable_fontenum+set}" = set; then
7745 enableval=$enable_fontenum;
7746 if test "$enableval" = yes; then
7747 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7749 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7755 LINE=`grep "^wxUSE_FONTENUM
=" ${wx_arg_cache_file}`
7756 if test "x
$LINE" != x ; then
7757 eval "DEFAULT_
$LINE"
7763 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7768 eval "$wx_cv_use_fontenum"
7769 if test "x$cache" = xyes
; then
7770 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7773 if test x
"$enablestring" = xdisable
; then
7774 if test $wxUSE_FONTENUM = yes; then
7780 result
=$wxUSE_FONTENUM
7783 { echo "$as_me:$LINENO: result: $result" >&5
7784 echo "${ECHO_T}$result" >&6; }
7788 defaultval
=$wxUSE_ALL_FEATURES
7789 if test -z "$defaultval"; then
7790 if test x
"$enablestring" = xdisable
; then
7797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7798 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7799 # Check whether --enable-fontmap was given.
7800 if test "${enable_fontmap+set}" = set; then
7801 enableval
=$enable_fontmap;
7802 if test "$enableval" = yes; then
7803 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
7805 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
7811 LINE
=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7812 if test "x$LINE" != x
; then
7813 eval "DEFAULT_$LINE"
7819 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7824 eval "$wx_cv_use_fontmap"
7825 if test "x$cache" = xyes; then
7826 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7829 if test x"$enablestring" = xdisable; then
7830 if test $wxUSE_FONTMAP = yes; then
7836 result=$wxUSE_FONTMAP
7839 { echo "$as_me:$LINENO: result: $result" >&5
7840 echo "${ECHO_T}$result" >&6; }
7844 defaultval=$wxUSE_ALL_FEATURES
7845 if test -z "$defaultval"; then
7846 if test x"$enablestring" = xdisable; then
7853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7854 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7855 # Check whether --enable-fs_archive was given.
7856 if test "${enable_fs_archive+set}" = set; then
7857 enableval=$enable_fs_archive;
7858 if test "$enableval" = yes; then
7859 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
7861 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
7867 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7868 if test "x$LINE" != x ; then
7869 eval "DEFAULT_$LINE"
7875 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7880 eval "$wx_cv_use_fs_archive"
7881 if test "x
$cache" = xyes; then
7882 echo "wxUSE_FS_ARCHIVE
=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7885 if test x"$enablestring" = xdisable; then
7886 if test $wxUSE_FS_ARCHIVE = yes; then
7892 result=$wxUSE_FS_ARCHIVE
7895 { echo "$as_me:$LINENO: result
: $result" >&5
7896 echo "${ECHO_T}$result" >&6; }
7900 defaultval=$wxUSE_ALL_FEATURES
7901 if test -z "$defaultval"; then
7902 if test x"$enablestring" = xdisable; then
7909 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_inet" >&5
7910 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_inet...
$ECHO_C" >&6; }
7911 # Check whether --enable-fs_inet was given.
7912 if test "${enable_fs_inet+set}" = set; then
7913 enableval=$enable_fs_inet;
7914 if test "$enableval" = yes; then
7915 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7917 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7923 LINE=`grep "^wxUSE_FS_INET
=" ${wx_arg_cache_file}`
7924 if test "x
$LINE" != x ; then
7925 eval "DEFAULT_
$LINE"
7931 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7936 eval "$wx_cv_use_fs_inet"
7937 if test "x$cache" = xyes
; then
7938 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7941 if test x
"$enablestring" = xdisable
; then
7942 if test $wxUSE_FS_INET = yes; then
7948 result
=$wxUSE_FS_INET
7951 { echo "$as_me:$LINENO: result: $result" >&5
7952 echo "${ECHO_T}$result" >&6; }
7956 defaultval
=$wxUSE_ALL_FEATURES
7957 if test -z "$defaultval"; then
7958 if test x
"$enablestring" = xdisable
; then
7965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7966 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7967 # Check whether --enable-fs_zip was given.
7968 if test "${enable_fs_zip+set}" = set; then
7969 enableval
=$enable_fs_zip;
7970 if test "$enableval" = yes; then
7971 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
7973 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
7979 LINE
=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7980 if test "x$LINE" != x
; then
7981 eval "DEFAULT_$LINE"
7987 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7992 eval "$wx_cv_use_fs_zip"
7993 if test "x$cache" = xyes; then
7994 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7997 if test x"$enablestring" = xdisable; then
7998 if test $wxUSE_FS_ZIP = yes; then
8004 result=$wxUSE_FS_ZIP
8007 { echo "$as_me:$LINENO: result: $result" >&5
8008 echo "${ECHO_T}$result" >&6; }
8012 defaultval=$wxUSE_ALL_FEATURES
8013 if test -z "$defaultval"; then
8014 if test x"$enablestring" = xdisable; then
8021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
8022 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
8023 # Check whether --enable-geometry was given.
8024 if test "${enable_geometry+set}" = set; then
8025 enableval=$enable_geometry;
8026 if test "$enableval" = yes; then
8027 wx_cv_use_geometry='wxUSE_GEOMETRY
=yes'
8029 wx_cv_use_geometry='wxUSE_GEOMETRY
=no
'
8035 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
8036 if test "x$LINE" != x ; then
8037 eval "DEFAULT_$LINE"
8043 wx_cv_use_geometry='wxUSE_GEOMETRY
=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8048 eval "$wx_cv_use_geometry"
8049 if test "x
$cache" = xyes; then
8050 echo "wxUSE_GEOMETRY
=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
8053 if test x"$enablestring" = xdisable; then
8054 if test $wxUSE_GEOMETRY = yes; then
8060 result=$wxUSE_GEOMETRY
8063 { echo "$as_me:$LINENO: result
: $result" >&5
8064 echo "${ECHO_T}$result" >&6; }
8068 defaultval=$wxUSE_ALL_FEATURES
8069 if test -z "$defaultval"; then
8070 if test x"$enablestring" = xdisable; then
8077 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-log" >&5
8078 echo $ECHO_N "checking
for --${enablestring:-enable}-log...
$ECHO_C" >&6; }
8079 # Check whether --enable-log was given.
8080 if test "${enable_log+set}" = set; then
8081 enableval=$enable_log;
8082 if test "$enableval" = yes; then
8083 wx_cv_use_log='wxUSE_LOG=yes'
8085 wx_cv_use_log='wxUSE_LOG=no'
8091 LINE=`grep "^wxUSE_LOG
=" ${wx_arg_cache_file}`
8092 if test "x
$LINE" != x ; then
8093 eval "DEFAULT_
$LINE"
8099 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8104 eval "$wx_cv_use_log"
8105 if test "x$cache" = xyes
; then
8106 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
8109 if test x
"$enablestring" = xdisable
; then
8110 if test $wxUSE_LOG = yes; then
8119 { echo "$as_me:$LINENO: result: $result" >&5
8120 echo "${ECHO_T}$result" >&6; }
8124 defaultval
=$wxUSE_ALL_FEATURES
8125 if test -z "$defaultval"; then
8126 if test x
"$enablestring" = xdisable
; then
8133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
8134 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
8135 # Check whether --enable-longlong was given.
8136 if test "${enable_longlong+set}" = set; then
8137 enableval
=$enable_longlong;
8138 if test "$enableval" = yes; then
8139 wx_cv_use_longlong
='wxUSE_LONGLONG=yes'
8141 wx_cv_use_longlong
='wxUSE_LONGLONG=no'
8147 LINE
=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
8148 if test "x$LINE" != x
; then
8149 eval "DEFAULT_$LINE"
8155 wx_cv_use_longlong
='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8160 eval "$wx_cv_use_longlong"
8161 if test "x$cache" = xyes; then
8162 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
8165 if test x"$enablestring" = xdisable; then
8166 if test $wxUSE_LONGLONG = yes; then
8172 result=$wxUSE_LONGLONG
8175 { echo "$as_me:$LINENO: result: $result" >&5
8176 echo "${ECHO_T}$result" >&6; }
8180 defaultval=$wxUSE_ALL_FEATURES
8181 if test -z "$defaultval"; then
8182 if test x"$enablestring" = xdisable; then
8189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
8190 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
8191 # Check whether --enable-mimetype was given.
8192 if test "${enable_mimetype+set}" = set; then
8193 enableval=$enable_mimetype;
8194 if test "$enableval" = yes; then
8195 wx_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
8197 wx_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
8203 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
8204 if test "x$LINE" != x ; then
8205 eval "DEFAULT_$LINE"
8211 wx_cv_use_mimetype='wxUSE_MIMETYPE
=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8216 eval "$wx_cv_use_mimetype"
8217 if test "x
$cache" = xyes; then
8218 echo "wxUSE_MIMETYPE
=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
8221 if test x"$enablestring" = xdisable; then
8222 if test $wxUSE_MIMETYPE = yes; then
8228 result=$wxUSE_MIMETYPE
8231 { echo "$as_me:$LINENO: result
: $result" >&5
8232 echo "${ECHO_T}$result" >&6; }
8236 defaultval=$wxUSE_ALL_FEATURES
8237 if test -z "$defaultval"; then
8238 if test x"$enablestring" = xdisable; then
8245 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
8246 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
8247 # Check whether --enable-snglinst was given.
8248 if test "${enable_snglinst+set}" = set; then
8249 enableval=$enable_snglinst;
8250 if test "$enableval" = yes; then
8251 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8253 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8259 LINE=`grep "^wxUSE_SNGLINST_CHECKER
=" ${wx_arg_cache_file}`
8260 if test "x
$LINE" != x ; then
8261 eval "DEFAULT_
$LINE"
8267 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8272 eval "$wx_cv_use_snglinst"
8273 if test "x$cache" = xyes
; then
8274 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8277 if test x
"$enablestring" = xdisable
; then
8278 if test $wxUSE_SNGLINST_CHECKER = yes; then
8284 result
=$wxUSE_SNGLINST_CHECKER
8287 { echo "$as_me:$LINENO: result: $result" >&5
8288 echo "${ECHO_T}$result" >&6; }
8292 defaultval
=$wxUSE_ALL_FEATURES
8293 if test -z "$defaultval"; then
8294 if test x
"$enablestring" = xdisable
; then
8301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8302 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8303 # Check whether --enable-stdpaths was given.
8304 if test "${enable_stdpaths+set}" = set; then
8305 enableval
=$enable_stdpaths;
8306 if test "$enableval" = yes; then
8307 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
8309 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
8315 LINE
=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8316 if test "x$LINE" != x
; then
8317 eval "DEFAULT_$LINE"
8323 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8328 eval "$wx_cv_use_stdpaths"
8329 if test "x$cache" = xyes; then
8330 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8333 if test x"$enablestring" = xdisable; then
8334 if test $wxUSE_STDPATHS = yes; then
8340 result=$wxUSE_STDPATHS
8343 { echo "$as_me:$LINENO: result: $result" >&5
8344 echo "${ECHO_T}$result" >&6; }
8348 defaultval=$wxUSE_ALL_FEATURES
8349 if test -z "$defaultval"; then
8350 if test x"$enablestring" = xdisable; then
8357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8358 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8359 # Check whether --enable-stopwatch was given.
8360 if test "${enable_stopwatch+set}" = set; then
8361 enableval=$enable_stopwatch;
8362 if test "$enableval" = yes; then
8363 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
8365 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
8371 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8372 if test "x$LINE" != x ; then
8373 eval "DEFAULT_$LINE"
8379 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8384 eval "$wx_cv_use_stopwatch"
8385 if test "x
$cache" = xyes; then
8386 echo "wxUSE_STOPWATCH
=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8389 if test x"$enablestring" = xdisable; then
8390 if test $wxUSE_STOPWATCH = yes; then
8396 result=$wxUSE_STOPWATCH
8399 { echo "$as_me:$LINENO: result
: $result" >&5
8400 echo "${ECHO_T}$result" >&6; }
8404 defaultval=$wxUSE_ALL_FEATURES
8405 if test -z "$defaultval"; then
8406 if test x"$enablestring" = xdisable; then
8413 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-streams" >&5
8414 echo $ECHO_N "checking
for --${enablestring:-enable}-streams...
$ECHO_C" >&6; }
8415 # Check whether --enable-streams was given.
8416 if test "${enable_streams+set}" = set; then
8417 enableval=$enable_streams;
8418 if test "$enableval" = yes; then
8419 wx_cv_use_streams='wxUSE_STREAMS=yes'
8421 wx_cv_use_streams='wxUSE_STREAMS=no'
8427 LINE=`grep "^wxUSE_STREAMS
=" ${wx_arg_cache_file}`
8428 if test "x
$LINE" != x ; then
8429 eval "DEFAULT_
$LINE"
8435 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8440 eval "$wx_cv_use_streams"
8441 if test "x$cache" = xyes
; then
8442 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8445 if test x
"$enablestring" = xdisable
; then
8446 if test $wxUSE_STREAMS = yes; then
8452 result
=$wxUSE_STREAMS
8455 { echo "$as_me:$LINENO: result: $result" >&5
8456 echo "${ECHO_T}$result" >&6; }
8460 defaultval
=$wxUSE_ALL_FEATURES
8461 if test -z "$defaultval"; then
8462 if test x
"$enablestring" = xdisable
; then
8469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8470 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8471 # Check whether --enable-system_options was given.
8472 if test "${enable_system_options+set}" = set; then
8473 enableval
=$enable_system_options;
8474 if test "$enableval" = yes; then
8475 wx_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
8477 wx_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
8483 LINE
=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8484 if test "x$LINE" != x
; then
8485 eval "DEFAULT_$LINE"
8491 wx_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8496 eval "$wx_cv_use_system_options"
8497 if test "x$cache" = xyes; then
8498 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8501 if test x"$enablestring" = xdisable; then
8502 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8508 result=$wxUSE_SYSTEM_OPTIONS
8511 { echo "$as_me:$LINENO: result: $result" >&5
8512 echo "${ECHO_T}$result" >&6; }
8516 defaultval=$wxUSE_ALL_FEATURES
8517 if test -z "$defaultval"; then
8518 if test x"$enablestring" = xdisable; then
8525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8526 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8527 # Check whether --enable-tarstream was given.
8528 if test "${enable_tarstream+set}" = set; then
8529 enableval=$enable_tarstream;
8530 if test "$enableval" = yes; then
8531 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
8533 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
8539 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8540 if test "x$LINE" != x ; then
8541 eval "DEFAULT_$LINE"
8547 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8552 eval "$wx_cv_use_tarstream"
8553 if test "x
$cache" = xyes; then
8554 echo "wxUSE_TARSTREAM
=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8557 if test x"$enablestring" = xdisable; then
8558 if test $wxUSE_TARSTREAM = yes; then
8564 result=$wxUSE_TARSTREAM
8567 { echo "$as_me:$LINENO: result
: $result" >&5
8568 echo "${ECHO_T}$result" >&6; }
8572 defaultval=$wxUSE_ALL_FEATURES
8573 if test -z "$defaultval"; then
8574 if test x"$enablestring" = xdisable; then
8581 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textbuf" >&5
8582 echo $ECHO_N "checking
for --${enablestring:-enable}-textbuf...
$ECHO_C" >&6; }
8583 # Check whether --enable-textbuf was given.
8584 if test "${enable_textbuf+set}" = set; then
8585 enableval=$enable_textbuf;
8586 if test "$enableval" = yes; then
8587 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8589 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8595 LINE=`grep "^wxUSE_TEXTBUFFER
=" ${wx_arg_cache_file}`
8596 if test "x
$LINE" != x ; then
8597 eval "DEFAULT_
$LINE"
8603 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8608 eval "$wx_cv_use_textbuf"
8609 if test "x$cache" = xyes
; then
8610 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8613 if test x
"$enablestring" = xdisable
; then
8614 if test $wxUSE_TEXTBUFFER = yes; then
8620 result
=$wxUSE_TEXTBUFFER
8623 { echo "$as_me:$LINENO: result: $result" >&5
8624 echo "${ECHO_T}$result" >&6; }
8628 defaultval
=$wxUSE_ALL_FEATURES
8629 if test -z "$defaultval"; then
8630 if test x
"$enablestring" = xdisable
; then
8637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8638 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8639 # Check whether --enable-textfile was given.
8640 if test "${enable_textfile+set}" = set; then
8641 enableval
=$enable_textfile;
8642 if test "$enableval" = yes; then
8643 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
8645 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
8651 LINE
=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8652 if test "x$LINE" != x
; then
8653 eval "DEFAULT_$LINE"
8659 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8664 eval "$wx_cv_use_textfile"
8665 if test "x$cache" = xyes; then
8666 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8669 if test x"$enablestring" = xdisable; then
8670 if test $wxUSE_TEXTFILE = yes; then
8676 result=$wxUSE_TEXTFILE
8679 { echo "$as_me:$LINENO: result: $result" >&5
8680 echo "${ECHO_T}$result" >&6; }
8684 defaultval=$wxUSE_ALL_FEATURES
8685 if test -z "$defaultval"; then
8686 if test x"$enablestring" = xdisable; then
8693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8694 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8695 # Check whether --enable-timer was given.
8696 if test "${enable_timer+set}" = set; then
8697 enableval=$enable_timer;
8698 if test "$enableval" = yes; then
8699 wx_cv_use_timer='wxUSE_TIMER
=yes'
8701 wx_cv_use_timer='wxUSE_TIMER
=no
'
8707 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8708 if test "x$LINE" != x ; then
8709 eval "DEFAULT_$LINE"
8715 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8720 eval "$wx_cv_use_timer"
8721 if test "x
$cache" = xyes; then
8722 echo "wxUSE_TIMER
=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8725 if test x"$enablestring" = xdisable; then
8726 if test $wxUSE_TIMER = yes; then
8735 { echo "$as_me:$LINENO: result
: $result" >&5
8736 echo "${ECHO_T}$result" >&6; }
8740 defaultval=$wxUSE_ALL_FEATURES
8741 if test -z "$defaultval"; then
8742 if test x"$enablestring" = xdisable; then
8749 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sound" >&5
8750 echo $ECHO_N "checking
for --${enablestring:-enable}-sound...
$ECHO_C" >&6; }
8751 # Check whether --enable-sound was given.
8752 if test "${enable_sound+set}" = set; then
8753 enableval=$enable_sound;
8754 if test "$enableval" = yes; then
8755 wx_cv_use_sound='wxUSE_SOUND=yes'
8757 wx_cv_use_sound='wxUSE_SOUND=no'
8763 LINE=`grep "^wxUSE_SOUND
=" ${wx_arg_cache_file}`
8764 if test "x
$LINE" != x ; then
8765 eval "DEFAULT_
$LINE"
8771 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8776 eval "$wx_cv_use_sound"
8777 if test "x$cache" = xyes
; then
8778 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8781 if test x
"$enablestring" = xdisable
; then
8782 if test $wxUSE_SOUND = yes; then
8791 { echo "$as_me:$LINENO: result: $result" >&5
8792 echo "${ECHO_T}$result" >&6; }
8796 defaultval
=$wxUSE_ALL_FEATURES
8797 if test -z "$defaultval"; then
8798 if test x
"$enablestring" = xdisable
; then
8805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8806 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8807 # Check whether --enable-mediactrl was given.
8808 if test "${enable_mediactrl+set}" = set; then
8809 enableval
=$enable_mediactrl;
8810 if test "$enableval" = yes; then
8811 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
8813 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
8819 LINE
=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8820 if test "x$LINE" != x
; then
8821 eval "DEFAULT_$LINE"
8827 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8832 eval "$wx_cv_use_mediactrl"
8833 if test "x$cache" = xyes; then
8834 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8837 if test x"$enablestring" = xdisable; then
8838 if test $wxUSE_MEDIACTRL = yes; then
8844 result=$wxUSE_MEDIACTRL
8847 { echo "$as_me:$LINENO: result: $result" >&5
8848 echo "${ECHO_T}$result" >&6; }
8852 defaultval=$wxUSE_ALL_FEATURES
8853 if test -z "$defaultval"; then
8854 if test x"$enablestring" = xdisable; then
8861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8862 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8863 # Check whether --enable-gstreamer8 was given.
8864 if test "${enable_gstreamer8+set}" = set; then
8865 enableval=$enable_gstreamer8;
8866 if test "$enableval" = yes; then
8867 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=yes'
8869 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=no
'
8875 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8876 if test "x$LINE" != x ; then
8877 eval "DEFAULT_$LINE"
8883 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8888 eval "$wx_cv_use_gstreamer8"
8889 if test "x
$cache" = xyes; then
8890 echo "wxUSE_GSTREAMER8
=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8893 if test x"$enablestring" = xdisable; then
8894 if test $wxUSE_GSTREAMER8 = yes; then
8900 result=$wxUSE_GSTREAMER8
8903 { echo "$as_me:$LINENO: result
: $result" >&5
8904 echo "${ECHO_T}$result" >&6; }
8908 defaultval=$wxUSE_ALL_FEATURES
8909 if test -z "$defaultval"; then
8910 if test x"$enablestring" = xdisable; then
8917 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-printfposparam" >&5
8918 echo $ECHO_N "checking
for --${enablestring:-enable}-printfposparam...
$ECHO_C" >&6; }
8919 # Check whether --enable-printfposparam was given.
8920 if test "${enable_printfposparam+set}" = set; then
8921 enableval=$enable_printfposparam;
8922 if test "$enableval" = yes; then
8923 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8925 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8931 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS
=" ${wx_arg_cache_file}`
8932 if test "x
$LINE" != x ; then
8933 eval "DEFAULT_
$LINE"
8939 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8944 eval "$wx_cv_use_printfposparam"
8945 if test "x$cache" = xyes
; then
8946 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8949 if test x
"$enablestring" = xdisable
; then
8950 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8956 result
=$wxUSE_PRINTF_POS_PARAMS
8959 { echo "$as_me:$LINENO: result: $result" >&5
8960 echo "${ECHO_T}$result" >&6; }
8964 defaultval
=$wxUSE_ALL_FEATURES
8965 if test -z "$defaultval"; then
8966 if test x
"$enablestring" = xdisable
; then
8973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8974 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8975 # Check whether --enable-zipstream was given.
8976 if test "${enable_zipstream+set}" = set; then
8977 enableval
=$enable_zipstream;
8978 if test "$enableval" = yes; then
8979 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
8981 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
8987 LINE
=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8988 if test "x$LINE" != x
; then
8989 eval "DEFAULT_$LINE"
8995 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9000 eval "$wx_cv_use_zipstream"
9001 if test "x$cache" = xyes; then
9002 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
9005 if test x"$enablestring" = xdisable; then
9006 if test $wxUSE_ZIPSTREAM = yes; then
9012 result=$wxUSE_ZIPSTREAM
9015 { echo "$as_me:$LINENO: result: $result" >&5
9016 echo "${ECHO_T}$result" >&6; }
9021 defaultval=$wxUSE_ALL_FEATURES
9022 if test -z "$defaultval"; then
9023 if test x"$enablestring" = xdisable; then
9030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
9031 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
9032 # Check whether --enable-url was given.
9033 if test "${enable_url+set}" = set; then
9034 enableval=$enable_url;
9035 if test "$enableval" = yes; then
9036 wx_cv_use_url='wxUSE_URL
=yes'
9038 wx_cv_use_url='wxUSE_URL
=no
'
9044 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
9045 if test "x$LINE" != x ; then
9046 eval "DEFAULT_$LINE"
9052 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
9057 eval "$wx_cv_use_url"
9058 if test "x
$cache" = xyes; then
9059 echo "wxUSE_URL
=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
9062 if test x"$enablestring" = xdisable; then
9063 if test $wxUSE_URL = yes; then
9072 { echo "$as_me:$LINENO: result
: $result" >&5
9073 echo "${ECHO_T}$result" >&6; }
9077 defaultval=$wxUSE_ALL_FEATURES
9078 if test -z "$defaultval"; then
9079 if test x"$enablestring" = xdisable; then
9086 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-variant" >&5
9087 echo $ECHO_N "checking
for --${enablestring:-enable}-variant...
$ECHO_C" >&6; }
9088 # Check whether --enable-variant was given.
9089 if test "${enable_variant+set}" = set; then
9090 enableval=$enable_variant;
9091 if test "$enableval" = yes; then
9092 wx_cv_use_variant='wxUSE_VARIANT=yes'
9094 wx_cv_use_variant='wxUSE_VARIANT=no'
9100 LINE=`grep "^wxUSE_VARIANT
=" ${wx_arg_cache_file}`
9101 if test "x
$LINE" != x ; then
9102 eval "DEFAULT_
$LINE"
9108 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9113 eval "$wx_cv_use_variant"
9114 if test "x$cache" = xyes
; then
9115 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
9118 if test x
"$enablestring" = xdisable
; then
9119 if test $wxUSE_VARIANT = yes; then
9125 result
=$wxUSE_VARIANT
9128 { echo "$as_me:$LINENO: result: $result" >&5
9129 echo "${ECHO_T}$result" >&6; }
9133 defaultval
=$wxUSE_ALL_FEATURES
9134 if test -z "$defaultval"; then
9135 if test x
"$enablestring" = xdisable
; then
9142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
9143 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
9144 # Check whether --enable-protocol was given.
9145 if test "${enable_protocol+set}" = set; then
9146 enableval
=$enable_protocol;
9147 if test "$enableval" = yes; then
9148 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
9150 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
9156 LINE
=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
9157 if test "x$LINE" != x
; then
9158 eval "DEFAULT_$LINE"
9164 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9169 eval "$wx_cv_use_protocol"
9170 if test "x$cache" = xyes; then
9171 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
9174 if test x"$enablestring" = xdisable; then
9175 if test $wxUSE_PROTOCOL = yes; then
9181 result=$wxUSE_PROTOCOL
9184 { echo "$as_me:$LINENO: result: $result" >&5
9185 echo "${ECHO_T}$result" >&6; }
9189 defaultval=$wxUSE_ALL_FEATURES
9190 if test -z "$defaultval"; then
9191 if test x"$enablestring" = xdisable; then
9198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
9199 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
9200 # Check whether --enable-protocol_http was given.
9201 if test "${enable_protocol_http+set}" = set; then
9202 enableval=$enable_protocol_http;
9203 if test "$enableval" = yes; then
9204 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
9206 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
9212 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
9213 if test "x$LINE" != x ; then
9214 eval "DEFAULT_$LINE"
9220 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9225 eval "$wx_cv_use_protocol_http"
9226 if test "x
$cache" = xyes; then
9227 echo "wxUSE_PROTOCOL_HTTP
=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
9230 if test x"$enablestring" = xdisable; then
9231 if test $wxUSE_PROTOCOL_HTTP = yes; then
9237 result=$wxUSE_PROTOCOL_HTTP
9240 { echo "$as_me:$LINENO: result
: $result" >&5
9241 echo "${ECHO_T}$result" >&6; }
9245 defaultval=$wxUSE_ALL_FEATURES
9246 if test -z "$defaultval"; then
9247 if test x"$enablestring" = xdisable; then
9254 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
9255 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
9256 # Check whether --enable-protocol_ftp was given.
9257 if test "${enable_protocol_ftp+set}" = set; then
9258 enableval=$enable_protocol_ftp;
9259 if test "$enableval" = yes; then
9260 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9262 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9268 LINE=`grep "^wxUSE_PROTOCOL_FTP
=" ${wx_arg_cache_file}`
9269 if test "x
$LINE" != x ; then
9270 eval "DEFAULT_
$LINE"
9276 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9281 eval "$wx_cv_use_protocol_ftp"
9282 if test "x$cache" = xyes
; then
9283 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9286 if test x
"$enablestring" = xdisable
; then
9287 if test $wxUSE_PROTOCOL_FTP = yes; then
9293 result
=$wxUSE_PROTOCOL_FTP
9296 { echo "$as_me:$LINENO: result: $result" >&5
9297 echo "${ECHO_T}$result" >&6; }
9301 defaultval
=$wxUSE_ALL_FEATURES
9302 if test -z "$defaultval"; then
9303 if test x
"$enablestring" = xdisable
; then
9310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
9311 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
9312 # Check whether --enable-protocol_file was given.
9313 if test "${enable_protocol_file+set}" = set; then
9314 enableval
=$enable_protocol_file;
9315 if test "$enableval" = yes; then
9316 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
9318 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
9324 LINE
=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9325 if test "x$LINE" != x
; then
9326 eval "DEFAULT_$LINE"
9332 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9337 eval "$wx_cv_use_protocol_file"
9338 if test "x$cache" = xyes; then
9339 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9342 if test x"$enablestring" = xdisable; then
9343 if test $wxUSE_PROTOCOL_FILE = yes; then
9349 result=$wxUSE_PROTOCOL_FILE
9352 { echo "$as_me:$LINENO: result: $result" >&5
9353 echo "${ECHO_T}$result" >&6; }
9358 defaultval=$wxUSE_ALL_FEATURES
9359 if test -z "$defaultval"; then
9360 if test x"$enablestring" = xdisable; then
9367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9368 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9369 # Check whether --enable-threads was given.
9370 if test "${enable_threads+set}" = set; then
9371 enableval=$enable_threads;
9372 if test "$enableval" = yes; then
9373 wx_cv_use_threads='wxUSE_THREADS
=yes'
9375 wx_cv_use_threads='wxUSE_THREADS
=no
'
9381 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9382 if test "x$LINE" != x ; then
9383 eval "DEFAULT_$LINE"
9389 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9394 eval "$wx_cv_use_threads"
9395 if test "x
$cache" = xyes; then
9396 echo "wxUSE_THREADS
=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9399 if test x"$enablestring" = xdisable; then
9400 if test $wxUSE_THREADS = yes; then
9406 result=$wxUSE_THREADS
9409 { echo "$as_me:$LINENO: result
: $result" >&5
9410 echo "${ECHO_T}$result" >&6; }
9416 if test -z "$defaultval"; then
9417 if test x"$enablestring" = xdisable; then
9424 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
9425 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
9426 # Check whether --enable-iniconf was given.
9427 if test "${enable_iniconf+set}" = set; then
9428 enableval=$enable_iniconf;
9429 if test "$enableval" = yes; then
9430 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9432 wx_cv_use_iniconf='wxUSE_INICONF=no'
9438 LINE=`grep "^wxUSE_INICONF
=" ${wx_arg_cache_file}`
9439 if test "x
$LINE" != x ; then
9440 eval "DEFAULT_
$LINE"
9446 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9451 eval "$wx_cv_use_iniconf"
9452 if test "x$cache" = xyes
; then
9453 echo "wxUSE_INICONF=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
9456 if test x
"$enablestring" = xdisable
; then
9457 if test $wxUSE_INICONF = yes; then
9463 result
=$wxUSE_INICONF
9466 { echo "$as_me:$LINENO: result: $result" >&5
9467 echo "${ECHO_T}$result" >&6; }
9471 defaultval
=$wxUSE_ALL_FEATURES
9472 if test -z "$defaultval"; then
9473 if test x
"$enablestring" = xdisable
; then
9480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
9481 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
9482 # Check whether --enable-regkey was given.
9483 if test "${enable_regkey+set}" = set; then
9484 enableval
=$enable_regkey;
9485 if test "$enableval" = yes; then
9486 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
9488 wx_cv_use_regkey
='wxUSE_REGKEY=no'
9494 LINE
=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
9495 if test "x$LINE" != x
; then
9496 eval "DEFAULT_$LINE"
9502 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9507 eval "$wx_cv_use_regkey"
9508 if test "x$cache" = xyes; then
9509 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
9512 if test x"$enablestring" = xdisable; then
9513 if test $wxUSE_REGKEY = yes; then
9519 result=$wxUSE_REGKEY
9522 { echo "$as_me:$LINENO: result: $result" >&5
9523 echo "${ECHO_T}$result" >&6; }
9526 if test "$wxUSE_GUI" = "yes"; then
9531 defaultval=$wxUSE_ALL_FEATURES
9532 if test -z "$defaultval"; then
9533 if test x"$enablestring" = xdisable; then
9540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9541 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9542 # Check whether --enable-docview was given.
9543 if test "${enable_docview+set}" = set; then
9544 enableval=$enable_docview;
9545 if test "$enableval" = yes; then
9546 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
9548 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
9554 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9555 if test "x$LINE" != x ; then
9556 eval "DEFAULT_$LINE"
9562 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9567 eval "$wx_cv_use_docview"
9568 if test "x
$cache" = xyes; then
9569 echo "wxUSE_DOC_VIEW_ARCHITECTURE
=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9572 if test x"$enablestring" = xdisable; then
9573 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9579 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9582 { echo "$as_me:$LINENO: result
: $result" >&5
9583 echo "${ECHO_T}$result" >&6; }
9587 defaultval=$wxUSE_ALL_FEATURES
9588 if test -z "$defaultval"; then
9589 if test x"$enablestring" = xdisable; then
9596 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
9597 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
9598 # Check whether --enable-help was given.
9599 if test "${enable_help+set}" = set; then
9600 enableval=$enable_help;
9601 if test "$enableval" = yes; then
9602 wx_cv_use_help='wxUSE_HELP=yes'
9604 wx_cv_use_help='wxUSE_HELP=no'
9610 LINE=`grep "^wxUSE_HELP
=" ${wx_arg_cache_file}`
9611 if test "x
$LINE" != x ; then
9612 eval "DEFAULT_
$LINE"
9618 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9623 eval "$wx_cv_use_help"
9624 if test "x$cache" = xyes
; then
9625 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9628 if test x
"$enablestring" = xdisable
; then
9629 if test $wxUSE_HELP = yes; then
9638 { echo "$as_me:$LINENO: result: $result" >&5
9639 echo "${ECHO_T}$result" >&6; }
9643 defaultval
=$wxUSE_ALL_FEATURES
9644 if test -z "$defaultval"; then
9645 if test x
"$enablestring" = xdisable
; then
9652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9653 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9654 # Check whether --enable-mshtmlhelp was given.
9655 if test "${enable_mshtmlhelp+set}" = set; then
9656 enableval
=$enable_mshtmlhelp;
9657 if test "$enableval" = yes; then
9658 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
9660 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
9666 LINE
=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9667 if test "x$LINE" != x
; then
9668 eval "DEFAULT_$LINE"
9674 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9679 eval "$wx_cv_use_mshtmlhelp"
9680 if test "x$cache" = xyes; then
9681 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9684 if test x"$enablestring" = xdisable; then
9685 if test $wxUSE_MS_HTML_HELP = yes; then
9691 result=$wxUSE_MS_HTML_HELP
9694 { echo "$as_me:$LINENO: result: $result" >&5
9695 echo "${ECHO_T}$result" >&6; }
9699 defaultval=$wxUSE_ALL_FEATURES
9700 if test -z "$defaultval"; then
9701 if test x"$enablestring" = xdisable; then
9708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9709 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9710 # Check whether --enable-html was given.
9711 if test "${enable_html+set}" = set; then
9712 enableval=$enable_html;
9713 if test "$enableval" = yes; then
9714 wx_cv_use_html='wxUSE_HTML
=yes'
9716 wx_cv_use_html='wxUSE_HTML
=no
'
9722 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9723 if test "x$LINE" != x ; then
9724 eval "DEFAULT_$LINE"
9730 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9735 eval "$wx_cv_use_html"
9736 if test "x
$cache" = xyes; then
9737 echo "wxUSE_HTML
=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9740 if test x"$enablestring" = xdisable; then
9741 if test $wxUSE_HTML = yes; then
9750 { echo "$as_me:$LINENO: result
: $result" >&5
9751 echo "${ECHO_T}$result" >&6; }
9755 defaultval=$wxUSE_ALL_FEATURES
9756 if test -z "$defaultval"; then
9757 if test x"$enablestring" = xdisable; then
9764 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
9765 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
9766 # Check whether --enable-htmlhelp was given.
9767 if test "${enable_htmlhelp+set}" = set; then
9768 enableval=$enable_htmlhelp;
9769 if test "$enableval" = yes; then
9770 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9772 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9778 LINE=`grep "^wxUSE_WXHTML_HELP
=" ${wx_arg_cache_file}`
9779 if test "x
$LINE" != x ; then
9780 eval "DEFAULT_
$LINE"
9786 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9791 eval "$wx_cv_use_htmlhelp"
9792 if test "x$cache" = xyes
; then
9793 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9796 if test x
"$enablestring" = xdisable
; then
9797 if test $wxUSE_WXHTML_HELP = yes; then
9803 result
=$wxUSE_WXHTML_HELP
9806 { echo "$as_me:$LINENO: result: $result" >&5
9807 echo "${ECHO_T}$result" >&6; }
9811 defaultval
=$wxUSE_ALL_FEATURES
9812 if test -z "$defaultval"; then
9813 if test x
"$enablestring" = xdisable
; then
9820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9821 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9822 # Check whether --enable-xrc was given.
9823 if test "${enable_xrc+set}" = set; then
9824 enableval
=$enable_xrc;
9825 if test "$enableval" = yes; then
9826 wx_cv_use_xrc
='wxUSE_XRC=yes'
9828 wx_cv_use_xrc
='wxUSE_XRC=no'
9834 LINE
=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9835 if test "x$LINE" != x
; then
9836 eval "DEFAULT_$LINE"
9842 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9847 eval "$wx_cv_use_xrc"
9848 if test "x$cache" = xyes; then
9849 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9852 if test x"$enablestring" = xdisable; then
9853 if test $wxUSE_XRC = yes; then
9862 { echo "$as_me:$LINENO: result: $result" >&5
9863 echo "${ECHO_T}$result" >&6; }
9867 defaultval=$wxUSE_ALL_FEATURES
9868 if test -z "$defaultval"; then
9869 if test x"$enablestring" = xdisable; then
9876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9877 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9878 # Check whether --enable-aui was given.
9879 if test "${enable_aui+set}" = set; then
9880 enableval=$enable_aui;
9881 if test "$enableval" = yes; then
9882 wx_cv_use_aui='wxUSE_AUI
=yes'
9884 wx_cv_use_aui='wxUSE_AUI
=no
'
9890 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9891 if test "x$LINE" != x ; then
9892 eval "DEFAULT_$LINE"
9898 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9903 eval "$wx_cv_use_aui"
9904 if test "x
$cache" = xyes; then
9905 echo "wxUSE_AUI
=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9908 if test x"$enablestring" = xdisable; then
9909 if test $wxUSE_AUI = yes; then
9918 { echo "$as_me:$LINENO: result
: $result" >&5
9919 echo "${ECHO_T}$result" >&6; }
9923 defaultval=$wxUSE_ALL_FEATURES
9924 if test -z "$defaultval"; then
9925 if test x"$enablestring" = xdisable; then
9932 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stc" >&5
9933 echo $ECHO_N "checking
for --${enablestring:-enable}-stc...
$ECHO_C" >&6; }
9934 # Check whether --enable-stc was given.
9935 if test "${enable_stc+set}" = set; then
9936 enableval=$enable_stc;
9937 if test "$enableval" = yes; then
9938 wx_cv_use_stc='wxUSE_STC=yes'
9940 wx_cv_use_stc='wxUSE_STC=no'
9946 LINE=`grep "^wxUSE_STC
=" ${wx_arg_cache_file}`
9947 if test "x
$LINE" != x ; then
9948 eval "DEFAULT_
$LINE"
9954 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9959 eval "$wx_cv_use_stc"
9960 if test "x$cache" = xyes
; then
9961 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9964 if test x
"$enablestring" = xdisable
; then
9965 if test $wxUSE_STC = yes; then
9974 { echo "$as_me:$LINENO: result: $result" >&5
9975 echo "${ECHO_T}$result" >&6; }
9979 defaultval
=$wxUSE_ALL_FEATURES
9980 if test -z "$defaultval"; then
9981 if test x
"$enablestring" = xdisable
; then
9988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9989 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9990 # Check whether --enable-constraints was given.
9991 if test "${enable_constraints+set}" = set; then
9992 enableval
=$enable_constraints;
9993 if test "$enableval" = yes; then
9994 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
9996 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
10002 LINE
=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
10003 if test "x$LINE" != x
; then
10004 eval "DEFAULT_$LINE"
10010 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10015 eval "$wx_cv_use_constraints"
10016 if test "x$cache" = xyes; then
10017 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
10020 if test x"$enablestring" = xdisable; then
10021 if test $wxUSE_CONSTRAINTS = yes; then
10027 result=$wxUSE_CONSTRAINTS
10030 { echo "$as_me:$LINENO: result: $result" >&5
10031 echo "${ECHO_T}$result" >&6; }
10035 defaultval=$wxUSE_ALL_FEATURES
10036 if test -z "$defaultval"; then
10037 if test x"$enablestring" = xdisable; then
10044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
10045 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
10046 # Check whether --enable-printarch was given.
10047 if test "${enable_printarch+set}" = set; then
10048 enableval=$enable_printarch;
10049 if test "$enableval" = yes; then
10050 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
10052 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
10058 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
10059 if test "x$LINE" != x ; then
10060 eval "DEFAULT_$LINE"
10066 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10071 eval "$wx_cv_use_printarch"
10072 if test "x
$cache" = xyes; then
10073 echo "wxUSE_PRINTING_ARCHITECTURE
=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10076 if test x"$enablestring" = xdisable; then
10077 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
10083 result=$wxUSE_PRINTING_ARCHITECTURE
10086 { echo "$as_me:$LINENO: result
: $result" >&5
10087 echo "${ECHO_T}$result" >&6; }
10091 defaultval=$wxUSE_ALL_FEATURES
10092 if test -z "$defaultval"; then
10093 if test x"$enablestring" = xdisable; then
10100 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
10101 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
10102 # Check whether --enable-mdi was given.
10103 if test "${enable_mdi+set}" = set; then
10104 enableval=$enable_mdi;
10105 if test "$enableval" = yes; then
10106 wx_cv_use_mdi='wxUSE_MDI=yes'
10108 wx_cv_use_mdi='wxUSE_MDI=no'
10114 LINE=`grep "^wxUSE_MDI
=" ${wx_arg_cache_file}`
10115 if test "x
$LINE" != x ; then
10116 eval "DEFAULT_
$LINE"
10122 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10127 eval "$wx_cv_use_mdi"
10128 if test "x$cache" = xyes
; then
10129 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
10132 if test x
"$enablestring" = xdisable
; then
10133 if test $wxUSE_MDI = yes; then
10142 { echo "$as_me:$LINENO: result: $result" >&5
10143 echo "${ECHO_T}$result" >&6; }
10147 defaultval
=$wxUSE_ALL_FEATURES
10148 if test -z "$defaultval"; then
10149 if test x
"$enablestring" = xdisable
; then
10156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
10157 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
10158 # Check whether --enable-mdidoc was given.
10159 if test "${enable_mdidoc+set}" = set; then
10160 enableval
=$enable_mdidoc;
10161 if test "$enableval" = yes; then
10162 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
10164 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
10170 LINE
=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
10171 if test "x$LINE" != x
; then
10172 eval "DEFAULT_$LINE"
10178 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10183 eval "$wx_cv_use_mdidoc"
10184 if test "x$cache" = xyes; then
10185 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10188 if test x"$enablestring" = xdisable; then
10189 if test $wxUSE_MDI_ARCHITECTURE = yes; then
10195 result=$wxUSE_MDI_ARCHITECTURE
10198 { echo "$as_me:$LINENO: result: $result" >&5
10199 echo "${ECHO_T}$result" >&6; }
10203 defaultval=$wxUSE_ALL_FEATURES
10204 if test -z "$defaultval"; then
10205 if test x"$enablestring" = xdisable; then
10212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
10213 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
10214 # Check whether --enable-loggui was given.
10215 if test "${enable_loggui+set}" = set; then
10216 enableval=$enable_loggui;
10217 if test "$enableval" = yes; then
10218 wx_cv_use_loggui='wxUSE_LOGGUI
=yes'
10220 wx_cv_use_loggui='wxUSE_LOGGUI
=no
'
10226 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
10227 if test "x$LINE" != x ; then
10228 eval "DEFAULT_$LINE"
10234 wx_cv_use_loggui='wxUSE_LOGGUI
=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10239 eval "$wx_cv_use_loggui"
10240 if test "x
$cache" = xyes; then
10241 echo "wxUSE_LOGGUI
=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
10244 if test x"$enablestring" = xdisable; then
10245 if test $wxUSE_LOGGUI = yes; then
10251 result=$wxUSE_LOGGUI
10254 { echo "$as_me:$LINENO: result
: $result" >&5
10255 echo "${ECHO_T}$result" >&6; }
10259 defaultval=$wxUSE_ALL_FEATURES
10260 if test -z "$defaultval"; then
10261 if test x"$enablestring" = xdisable; then
10268 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logwin" >&5
10269 echo $ECHO_N "checking
for --${enablestring:-enable}-logwin...
$ECHO_C" >&6; }
10270 # Check whether --enable-logwin was given.
10271 if test "${enable_logwin+set}" = set; then
10272 enableval=$enable_logwin;
10273 if test "$enableval" = yes; then
10274 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10276 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10282 LINE=`grep "^wxUSE_LOGWINDOW
=" ${wx_arg_cache_file}`
10283 if test "x
$LINE" != x ; then
10284 eval "DEFAULT_
$LINE"
10290 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10295 eval "$wx_cv_use_logwin"
10296 if test "x$cache" = xyes
; then
10297 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
10300 if test x
"$enablestring" = xdisable
; then
10301 if test $wxUSE_LOGWINDOW = yes; then
10307 result
=$wxUSE_LOGWINDOW
10310 { echo "$as_me:$LINENO: result: $result" >&5
10311 echo "${ECHO_T}$result" >&6; }
10315 defaultval
=$wxUSE_ALL_FEATURES
10316 if test -z "$defaultval"; then
10317 if test x
"$enablestring" = xdisable
; then
10324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
10325 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
10326 # Check whether --enable-logdialog was given.
10327 if test "${enable_logdialog+set}" = set; then
10328 enableval
=$enable_logdialog;
10329 if test "$enableval" = yes; then
10330 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
10332 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
10338 LINE
=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
10339 if test "x$LINE" != x
; then
10340 eval "DEFAULT_$LINE"
10346 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10351 eval "$wx_cv_use_logdialog"
10352 if test "x$cache" = xyes; then
10353 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
10356 if test x"$enablestring" = xdisable; then
10357 if test $wxUSE_LOGDIALOG = yes; then
10363 result=$wxUSE_LOGDIALOG
10366 { echo "$as_me:$LINENO: result: $result" >&5
10367 echo "${ECHO_T}$result" >&6; }
10371 defaultval=$wxUSE_ALL_FEATURES
10372 if test -z "$defaultval"; then
10373 if test x"$enablestring" = xdisable; then
10380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10381 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10382 # Check whether --enable-webkit was given.
10383 if test "${enable_webkit+set}" = set; then
10384 enableval=$enable_webkit;
10385 if test "$enableval" = yes; then
10386 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
10388 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
10394 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10395 if test "x$LINE" != x ; then
10396 eval "DEFAULT_$LINE"
10402 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10407 eval "$wx_cv_use_webkit"
10408 if test "x
$cache" = xyes; then
10409 echo "wxUSE_WEBKIT
=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
10412 if test x"$enablestring" = xdisable; then
10413 if test $wxUSE_WEBKIT = yes; then
10419 result=$wxUSE_WEBKIT
10422 { echo "$as_me:$LINENO: result
: $result" >&5
10423 echo "${ECHO_T}$result" >&6; }
10427 defaultval=$wxUSE_ALL_FEATURES
10428 if test -z "$defaultval"; then
10429 if test x"$enablestring" = xdisable; then
10436 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-richtext" >&5
10437 echo $ECHO_N "checking
for --${enablestring:-enable}-richtext...
$ECHO_C" >&6; }
10438 # Check whether --enable-richtext was given.
10439 if test "${enable_richtext+set}" = set; then
10440 enableval=$enable_richtext;
10441 if test "$enableval" = yes; then
10442 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10444 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10450 LINE=`grep "^wxUSE_RICHTEXT
=" ${wx_arg_cache_file}`
10451 if test "x
$LINE" != x ; then
10452 eval "DEFAULT_
$LINE"
10458 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10463 eval "$wx_cv_use_richtext"
10464 if test "x$cache" = xyes
; then
10465 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10468 if test x
"$enablestring" = xdisable
; then
10469 if test $wxUSE_RICHTEXT = yes; then
10475 result
=$wxUSE_RICHTEXT
10478 { echo "$as_me:$LINENO: result: $result" >&5
10479 echo "${ECHO_T}$result" >&6; }
10483 defaultval
=$wxUSE_ALL_FEATURES
10484 if test -z "$defaultval"; then
10485 if test x
"$enablestring" = xdisable
; then
10492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10493 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10494 # Check whether --enable-graphics_ctx was given.
10495 if test "${enable_graphics_ctx+set}" = set; then
10496 enableval
=$enable_graphics_ctx;
10497 if test "$enableval" = yes; then
10498 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
10500 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
10506 LINE
=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10507 if test "x$LINE" != x
; then
10508 eval "DEFAULT_$LINE"
10514 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10519 eval "$wx_cv_use_graphics_ctx"
10520 if test "x$cache" = xyes; then
10521 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10524 if test x"$enablestring" = xdisable; then
10525 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10531 result=$wxUSE_GRAPHICS_CONTEXT
10534 { echo "$as_me:$LINENO: result: $result" >&5
10535 echo "${ECHO_T}$result" >&6; }
10539 defaultval=$wxUSE_ALL_FEATURES
10540 if test -z "$defaultval"; then
10541 if test x"$enablestring" = xdisable; then
10548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10549 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10550 # Check whether --enable-postscript was given.
10551 if test "${enable_postscript+set}" = set; then
10552 enableval=$enable_postscript;
10553 if test "$enableval" = yes; then
10554 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
10556 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
10562 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10563 if test "x$LINE" != x ; then
10564 eval "DEFAULT_$LINE"
10570 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10575 eval "$wx_cv_use_postscript"
10576 if test "x
$cache" = xyes; then
10577 echo "wxUSE_POSTSCRIPT
=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10580 if test x"$enablestring" = xdisable; then
10581 if test $wxUSE_POSTSCRIPT = yes; then
10587 result=$wxUSE_POSTSCRIPT
10590 { echo "$as_me:$LINENO: result
: $result" >&5
10591 echo "${ECHO_T}$result" >&6; }
10595 defaultval=$wxUSE_ALL_FEATURES
10596 if test -z "$defaultval"; then
10597 if test x"$enablestring" = xdisable; then
10604 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
10605 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
10606 # Check whether --enable-svg was given.
10607 if test "${enable_svg+set}" = set; then
10608 enableval=$enable_svg;
10609 if test "$enableval" = yes; then
10610 wx_cv_use_svg='wxUSE_SVG=yes'
10612 wx_cv_use_svg='wxUSE_SVG=no'
10618 LINE=`grep "^wxUSE_SVG
=" ${wx_arg_cache_file}`
10619 if test "x
$LINE" != x ; then
10620 eval "DEFAULT_
$LINE"
10626 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10631 eval "$wx_cv_use_svg"
10632 if test "x$cache" = xyes
; then
10633 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10636 if test x
"$enablestring" = xdisable
; then
10637 if test $wxUSE_SVG = yes; then
10646 { echo "$as_me:$LINENO: result: $result" >&5
10647 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}-clipboard" >&5
10663 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10664 # Check whether --enable-clipboard was given.
10665 if test "${enable_clipboard+set}" = set; then
10666 enableval
=$enable_clipboard;
10667 if test "$enableval" = yes; then
10668 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
10670 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
10676 LINE
=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10677 if test "x$LINE" != x
; then
10678 eval "DEFAULT_$LINE"
10684 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10689 eval "$wx_cv_use_clipboard"
10690 if test "x$cache" = xyes; then
10691 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10694 if test x"$enablestring" = xdisable; then
10695 if test $wxUSE_CLIPBOARD = yes; then
10701 result=$wxUSE_CLIPBOARD
10704 { echo "$as_me:$LINENO: result: $result" >&5
10705 echo "${ECHO_T}$result" >&6; }
10709 defaultval=$wxUSE_ALL_FEATURES
10710 if test -z "$defaultval"; then
10711 if test x"$enablestring" = xdisable; then
10718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10719 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10720 # Check whether --enable-dnd was given.
10721 if test "${enable_dnd+set}" = set; then
10722 enableval=$enable_dnd;
10723 if test "$enableval" = yes; then
10724 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
10726 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
10732 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10733 if test "x$LINE" != x ; then
10734 eval "DEFAULT_$LINE"
10740 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10745 eval "$wx_cv_use_dnd"
10746 if test "x
$cache" = xyes; then
10747 echo "wxUSE_DRAG_AND_DROP
=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10750 if test x"$enablestring" = xdisable; then
10751 if test $wxUSE_DRAG_AND_DROP = yes; then
10757 result=$wxUSE_DRAG_AND_DROP
10760 { echo "$as_me:$LINENO: result
: $result" >&5
10761 echo "${ECHO_T}$result" >&6; }
10765 defaultval=$wxUSE_ALL_FEATURES
10766 if test -z "$defaultval"; then
10767 if test x"$enablestring" = xdisable; then
10774 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
10775 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
10776 # Check whether --enable-metafile was given.
10777 if test "${enable_metafile+set}" = set; then
10778 enableval=$enable_metafile;
10779 if test "$enableval" = yes; then
10780 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10782 wx_cv_use_metafile='wxUSE_METAFILE=no'
10788 LINE=`grep "^wxUSE_METAFILE
=" ${wx_arg_cache_file}`
10789 if test "x
$LINE" != x ; then
10790 eval "DEFAULT_
$LINE"
10796 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10801 eval "$wx_cv_use_metafile"
10802 if test "x$cache" = xyes
; then
10803 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10806 if test x
"$enablestring" = xdisable
; then
10807 if test $wxUSE_METAFILE = yes; then
10813 result
=$wxUSE_METAFILE
10816 { echo "$as_me:$LINENO: result: $result" >&5
10817 echo "${ECHO_T}$result" >&6; }
10821 DEFAULT_wxUSE_CONTROLS
=none
10823 enablestring
=disable
10825 if test -z "$defaultval"; then
10826 if test x
"$enablestring" = xdisable
; then
10833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10834 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10835 # Check whether --enable-controls was given.
10836 if test "${enable_controls+set}" = set; then
10837 enableval
=$enable_controls;
10838 if test "$enableval" = yes; then
10839 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
10841 wx_cv_use_controls
='wxUSE_CONTROLS=no'
10847 LINE
=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10848 if test "x$LINE" != x
; then
10849 eval "DEFAULT_$LINE"
10855 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10860 eval "$wx_cv_use_controls"
10861 if test "x$cache" = xyes; then
10862 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10865 if test x"$enablestring" = xdisable; then
10866 if test $wxUSE_CONTROLS = yes; then
10872 result=$wxUSE_CONTROLS
10875 { echo "$as_me:$LINENO: result: $result" >&5
10876 echo "${ECHO_T}$result" >&6; }
10879 if test "$wxUSE_CONTROLS" = "yes"; then
10880 DEFAULT_wxUSE_ACCEL=yes
10881 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10882 DEFAULT_wxUSE_BMPBUTTON=yes
10883 DEFAULT_wxUSE_BUTTON=yes
10884 DEFAULT_wxUSE_CALCTRL=yes
10885 DEFAULT_wxUSE_CARET=yes
10886 DEFAULT_wxUSE_COMBOBOX=yes
10887 DEFAULT_wxUSE_CHECKBOX=yes
10888 DEFAULT_wxUSE_CHECKLISTBOX=yes
10889 DEFAULT_wxUSE_CHOICE=yes
10890 DEFAULT_wxUSE_CHOICEBOOK=yes
10891 DEFAULT_wxUSE_COLLPANE=yes
10892 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10893 DEFAULT_wxUSE_COMBOBOX=yes
10894 DEFAULT_wxUSE_DATEPICKCTRL=yes
10895 DEFAULT_wxUSE_DISPLAY=yes
10896 DEFAULT_wxUSE_DETECT_SM=yes
10897 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10898 DEFAULT_wxUSE_FILECTRL=yes
10899 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10900 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10901 DEFAULT_wxUSE_GAUGE=yes
10902 DEFAULT_wxUSE_GRID=yes
10903 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10904 DEFAULT_wxUSE_DATAVIEWCTRL=no
10905 DEFAULT_wxUSE_IMAGLIST=yes
10906 DEFAULT_wxUSE_LISTBOOK=yes
10907 DEFAULT_wxUSE_LISTBOX=yes
10908 DEFAULT_wxUSE_LISTCTRL=yes
10909 DEFAULT_wxUSE_NOTEBOOK=yes
10910 DEFAULT_wxUSE_RADIOBOX=yes
10911 DEFAULT_wxUSE_RADIOBTN=yes
10912 DEFAULT_wxUSE_SASH=yes
10913 DEFAULT_wxUSE_SCROLLBAR=yes
10914 DEFAULT_wxUSE_SEARCHCTRL=yes
10915 DEFAULT_wxUSE_SLIDER=yes
10916 DEFAULT_wxUSE_SPINBTN=yes
10917 DEFAULT_wxUSE_SPINCTRL=yes
10918 DEFAULT_wxUSE_SPLITTER=yes
10919 DEFAULT_wxUSE_STATBMP=yes
10920 DEFAULT_wxUSE_STATBOX=yes
10921 DEFAULT_wxUSE_STATLINE=yes
10922 DEFAULT_wxUSE_STATUSBAR=yes
10923 DEFAULT_wxUSE_TAB_DIALOG=yes
10924 DEFAULT_wxUSE_TOGGLEBTN=yes
10925 DEFAULT_wxUSE_TOOLBAR=yes
10926 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10927 DEFAULT_wxUSE_TOOLTIPS=yes
10928 DEFAULT_wxUSE_TREEBOOK=yes
10929 DEFAULT_wxUSE_TOOLBOOK=yes
10930 DEFAULT_wxUSE_TREECTRL=yes
10931 DEFAULT_wxUSE_POPUPWIN=yes
10932 DEFAULT_wxUSE_TIPWINDOW=yes
10933 elif test "$wxUSE_CONTROLS" = "no"; then
10934 DEFAULT_wxUSE_ACCEL=no
10935 DEFAULT_wxUSE_ANIMATIONCTRL=no
10936 DEFAULT_wxUSE_BMPBUTTON=no
10937 DEFAULT_wxUSE_BUTTON=no
10938 DEFAULT_wxUSE_CALCTRL=no
10939 DEFAULT_wxUSE_CARET=no
10940 DEFAULT_wxUSE_COLLPANE=no
10941 DEFAULT_wxUSE_COMBOBOX=no
10942 DEFAULT_wxUSE_CHECKBOX=no
10943 DEFAULT_wxUSE_CHECKLISTBOX=no
10944 DEFAULT_wxUSE_CHOICE=no
10945 DEFAULT_wxUSE_CHOICEBOOK=no
10946 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10947 DEFAULT_wxUSE_COMBOBOX=no
10948 DEFAULT_wxUSE_DATEPICKCTRL=no
10949 DEFAULT_wxUSE_DISPLAY=no
10950 DEFAULT_wxUSE_DETECT_SM=no
10951 DEFAULT_wxUSE_DIRPICKERCTRL=no
10952 DEFAULT_wxUSE_FILECTRL=no
10953 DEFAULT_wxUSE_FILEPICKERCTRL=no
10954 DEFAULT_wxUSE_FONTPICKERCTRL=no
10955 DEFAULT_wxUSE_GAUGE=no
10956 DEFAULT_wxUSE_GRID=no
10957 DEFAULT_wxUSE_HYPERLINKCTRL=no
10958 DEFAULT_wxUSE_DATAVIEWCTRL=no
10959 DEFAULT_wxUSE_IMAGLIST=no
10960 DEFAULT_wxUSE_LISTBOOK=no
10961 DEFAULT_wxUSE_LISTBOX=no
10962 DEFAULT_wxUSE_LISTCTRL=no
10963 DEFAULT_wxUSE_NOTEBOOK=no
10964 DEFAULT_wxUSE_RADIOBOX=no
10965 DEFAULT_wxUSE_RADIOBTN=no
10966 DEFAULT_wxUSE_SASH=no
10967 DEFAULT_wxUSE_SCROLLBAR=no
10968 DEFAULT_wxUSE_SEARCHCTRL=no
10969 DEFAULT_wxUSE_SLIDER=no
10970 DEFAULT_wxUSE_SPINBTN=no
10971 DEFAULT_wxUSE_SPINCTRL=no
10972 DEFAULT_wxUSE_SPLITTER=no
10973 DEFAULT_wxUSE_STATBMP=no
10974 DEFAULT_wxUSE_STATBOX=no
10975 DEFAULT_wxUSE_STATLINE=no
10976 DEFAULT_wxUSE_STATUSBAR=no
10977 DEFAULT_wxUSE_TAB_DIALOG=no
10978 DEFAULT_wxUSE_TOGGLEBTN=no
10979 DEFAULT_wxUSE_TOOLBAR=no
10980 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10981 DEFAULT_wxUSE_TOOLTIPS=no
10982 DEFAULT_wxUSE_TREEBOOK=no
10983 DEFAULT_wxUSE_TOOLBOOK=no
10984 DEFAULT_wxUSE_TREECTRL=no
10985 DEFAULT_wxUSE_POPUPWIN=no
10986 DEFAULT_wxUSE_TIPWINDOW=no
10991 defaultval=$wxUSE_ALL_FEATURES
10992 if test -z "$defaultval"; then
10993 if test x"$enablestring" = xdisable; then
11000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
11001 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
11002 # Check whether --enable-accel was given.
11003 if test "${enable_accel+set}" = set; then
11004 enableval=$enable_accel;
11005 if test "$enableval" = yes; then
11006 wx_cv_use_accel='wxUSE_ACCEL
=yes'
11008 wx_cv_use_accel='wxUSE_ACCEL
=no
'
11014 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
11015 if test "x$LINE" != x ; then
11016 eval "DEFAULT_$LINE"
11022 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11027 eval "$wx_cv_use_accel"
11028 if test "x
$cache" = xyes; then
11029 echo "wxUSE_ACCEL
=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
11032 if test x"$enablestring" = xdisable; then
11033 if test $wxUSE_ACCEL = yes; then
11039 result=$wxUSE_ACCEL
11042 { echo "$as_me:$LINENO: result
: $result" >&5
11043 echo "${ECHO_T}$result" >&6; }
11047 defaultval=$wxUSE_ALL_FEATURES
11048 if test -z "$defaultval"; then
11049 if test x"$enablestring" = xdisable; then
11056 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-animatectrl" >&5
11057 echo $ECHO_N "checking
for --${enablestring:-enable}-animatectrl...
$ECHO_C" >&6; }
11058 # Check whether --enable-animatectrl was given.
11059 if test "${enable_animatectrl+set}" = set; then
11060 enableval=$enable_animatectrl;
11061 if test "$enableval" = yes; then
11062 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11064 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11070 LINE=`grep "^wxUSE_ANIMATIONCTRL
=" ${wx_arg_cache_file}`
11071 if test "x
$LINE" != x ; then
11072 eval "DEFAULT_
$LINE"
11078 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11083 eval "$wx_cv_use_animatectrl"
11084 if test "x$cache" = xyes
; then
11085 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
11088 if test x
"$enablestring" = xdisable
; then
11089 if test $wxUSE_ANIMATIONCTRL = yes; then
11095 result
=$wxUSE_ANIMATIONCTRL
11098 { echo "$as_me:$LINENO: result: $result" >&5
11099 echo "${ECHO_T}$result" >&6; }
11103 defaultval
=$wxUSE_ALL_FEATURES
11104 if test -z "$defaultval"; then
11105 if test x
"$enablestring" = xdisable
; then
11112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
11113 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
11114 # Check whether --enable-button was given.
11115 if test "${enable_button+set}" = set; then
11116 enableval
=$enable_button;
11117 if test "$enableval" = yes; then
11118 wx_cv_use_button
='wxUSE_BUTTON=yes'
11120 wx_cv_use_button
='wxUSE_BUTTON=no'
11126 LINE
=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
11127 if test "x$LINE" != x
; then
11128 eval "DEFAULT_$LINE"
11134 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11139 eval "$wx_cv_use_button"
11140 if test "x$cache" = xyes; then
11141 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
11144 if test x"$enablestring" = xdisable; then
11145 if test $wxUSE_BUTTON = yes; then
11151 result=$wxUSE_BUTTON
11154 { echo "$as_me:$LINENO: result: $result" >&5
11155 echo "${ECHO_T}$result" >&6; }
11159 defaultval=$wxUSE_ALL_FEATURES
11160 if test -z "$defaultval"; then
11161 if test x"$enablestring" = xdisable; then
11168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
11169 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
11170 # Check whether --enable-bmpbutton was given.
11171 if test "${enable_bmpbutton+set}" = set; then
11172 enableval=$enable_bmpbutton;
11173 if test "$enableval" = yes; then
11174 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
11176 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
11182 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
11183 if test "x$LINE" != x ; then
11184 eval "DEFAULT_$LINE"
11190 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11195 eval "$wx_cv_use_bmpbutton"
11196 if test "x
$cache" = xyes; then
11197 echo "wxUSE_BMPBUTTON
=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
11200 if test x"$enablestring" = xdisable; then
11201 if test $wxUSE_BMPBUTTON = yes; then
11207 result=$wxUSE_BMPBUTTON
11210 { echo "$as_me:$LINENO: result
: $result" >&5
11211 echo "${ECHO_T}$result" >&6; }
11215 defaultval=$wxUSE_ALL_FEATURES
11216 if test -z "$defaultval"; then
11217 if test x"$enablestring" = xdisable; then
11224 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
11225 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
11226 # Check whether --enable-bmpcombobox was given.
11227 if test "${enable_bmpcombobox+set}" = set; then
11228 enableval=$enable_bmpcombobox;
11229 if test "$enableval" = yes; then
11230 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11232 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11238 LINE=`grep "^wxUSE_BITMAPCOMBOBOX
=" ${wx_arg_cache_file}`
11239 if test "x
$LINE" != x ; then
11240 eval "DEFAULT_
$LINE"
11246 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11251 eval "$wx_cv_use_bmpcombobox"
11252 if test "x$cache" = xyes
; then
11253 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
11256 if test x
"$enablestring" = xdisable
; then
11257 if test $wxUSE_BITMAPCOMBOBOX = yes; then
11263 result
=$wxUSE_BITMAPCOMBOBOX
11266 { echo "$as_me:$LINENO: result: $result" >&5
11267 echo "${ECHO_T}$result" >&6; }
11271 defaultval
=$wxUSE_ALL_FEATURES
11272 if test -z "$defaultval"; then
11273 if test x
"$enablestring" = xdisable
; then
11280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
11281 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
11282 # Check whether --enable-calendar was given.
11283 if test "${enable_calendar+set}" = set; then
11284 enableval
=$enable_calendar;
11285 if test "$enableval" = yes; then
11286 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
11288 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
11294 LINE
=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
11295 if test "x$LINE" != x
; then
11296 eval "DEFAULT_$LINE"
11302 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11307 eval "$wx_cv_use_calendar"
11308 if test "x$cache" = xyes; then
11309 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
11312 if test x"$enablestring" = xdisable; then
11313 if test $wxUSE_CALCTRL = yes; then
11319 result=$wxUSE_CALCTRL
11322 { echo "$as_me:$LINENO: result: $result" >&5
11323 echo "${ECHO_T}$result" >&6; }
11327 defaultval=$wxUSE_ALL_FEATURES
11328 if test -z "$defaultval"; then
11329 if test x"$enablestring" = xdisable; then
11336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
11337 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
11338 # Check whether --enable-caret was given.
11339 if test "${enable_caret+set}" = set; then
11340 enableval=$enable_caret;
11341 if test "$enableval" = yes; then
11342 wx_cv_use_caret='wxUSE_CARET
=yes'
11344 wx_cv_use_caret='wxUSE_CARET
=no
'
11350 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
11351 if test "x$LINE" != x ; then
11352 eval "DEFAULT_$LINE"
11358 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11363 eval "$wx_cv_use_caret"
11364 if test "x
$cache" = xyes; then
11365 echo "wxUSE_CARET
=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
11368 if test x"$enablestring" = xdisable; then
11369 if test $wxUSE_CARET = yes; then
11375 result=$wxUSE_CARET
11378 { echo "$as_me:$LINENO: result
: $result" >&5
11379 echo "${ECHO_T}$result" >&6; }
11383 defaultval=$wxUSE_ALL_FEATURES
11384 if test -z "$defaultval"; then
11385 if test x"$enablestring" = xdisable; then
11392 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checkbox" >&5
11393 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
11394 # Check whether --enable-checkbox was given.
11395 if test "${enable_checkbox+set}" = set; then
11396 enableval=$enable_checkbox;
11397 if test "$enableval" = yes; then
11398 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11400 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11406 LINE=`grep "^wxUSE_CHECKBOX
=" ${wx_arg_cache_file}`
11407 if test "x
$LINE" != x ; then
11408 eval "DEFAULT_
$LINE"
11414 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11419 eval "$wx_cv_use_checkbox"
11420 if test "x$cache" = xyes
; then
11421 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
11424 if test x
"$enablestring" = xdisable
; then
11425 if test $wxUSE_CHECKBOX = yes; then
11431 result
=$wxUSE_CHECKBOX
11434 { echo "$as_me:$LINENO: result: $result" >&5
11435 echo "${ECHO_T}$result" >&6; }
11439 defaultval
=$wxUSE_ALL_FEATURES
11440 if test -z "$defaultval"; then
11441 if test x
"$enablestring" = xdisable
; then
11448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
11449 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
11450 # Check whether --enable-checklst was given.
11451 if test "${enable_checklst+set}" = set; then
11452 enableval
=$enable_checklst;
11453 if test "$enableval" = yes; then
11454 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
11456 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
11462 LINE
=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11463 if test "x$LINE" != x
; then
11464 eval "DEFAULT_$LINE"
11470 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11475 eval "$wx_cv_use_checklst"
11476 if test "x$cache" = xyes; then
11477 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11480 if test x"$enablestring" = xdisable; then
11481 if test $wxUSE_CHECKLST = yes; then
11487 result=$wxUSE_CHECKLST
11490 { echo "$as_me:$LINENO: result: $result" >&5
11491 echo "${ECHO_T}$result" >&6; }
11495 defaultval=$wxUSE_ALL_FEATURES
11496 if test -z "$defaultval"; then
11497 if test x"$enablestring" = xdisable; then
11504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11505 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11506 # Check whether --enable-choice was given.
11507 if test "${enable_choice+set}" = set; then
11508 enableval=$enable_choice;
11509 if test "$enableval" = yes; then
11510 wx_cv_use_choice='wxUSE_CHOICE
=yes'
11512 wx_cv_use_choice='wxUSE_CHOICE
=no
'
11518 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11519 if test "x$LINE" != x ; then
11520 eval "DEFAULT_$LINE"
11526 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11531 eval "$wx_cv_use_choice"
11532 if test "x
$cache" = xyes; then
11533 echo "wxUSE_CHOICE
=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11536 if test x"$enablestring" = xdisable; then
11537 if test $wxUSE_CHOICE = yes; then
11543 result=$wxUSE_CHOICE
11546 { echo "$as_me:$LINENO: result
: $result" >&5
11547 echo "${ECHO_T}$result" >&6; }
11551 defaultval=$wxUSE_ALL_FEATURES
11552 if test -z "$defaultval"; then
11553 if test x"$enablestring" = xdisable; then
11560 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicebook" >&5
11561 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
11562 # Check whether --enable-choicebook was given.
11563 if test "${enable_choicebook+set}" = set; then
11564 enableval=$enable_choicebook;
11565 if test "$enableval" = yes; then
11566 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11568 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11574 LINE=`grep "^wxUSE_CHOICEBOOK
=" ${wx_arg_cache_file}`
11575 if test "x
$LINE" != x ; then
11576 eval "DEFAULT_
$LINE"
11582 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11587 eval "$wx_cv_use_choicebook"
11588 if test "x$cache" = xyes
; then
11589 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11592 if test x
"$enablestring" = xdisable
; then
11593 if test $wxUSE_CHOICEBOOK = yes; then
11599 result
=$wxUSE_CHOICEBOOK
11602 { echo "$as_me:$LINENO: result: $result" >&5
11603 echo "${ECHO_T}$result" >&6; }
11607 defaultval
=$wxUSE_ALL_FEATURES
11608 if test -z "$defaultval"; then
11609 if test x
"$enablestring" = xdisable
; then
11616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11617 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11618 # Check whether --enable-collpane was given.
11619 if test "${enable_collpane+set}" = set; then
11620 enableval
=$enable_collpane;
11621 if test "$enableval" = yes; then
11622 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
11624 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
11630 LINE
=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11631 if test "x$LINE" != x
; then
11632 eval "DEFAULT_$LINE"
11638 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11643 eval "$wx_cv_use_collpane"
11644 if test "x$cache" = xyes; then
11645 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11648 if test x"$enablestring" = xdisable; then
11649 if test $wxUSE_COLLPANE = yes; then
11655 result=$wxUSE_COLLPANE
11658 { echo "$as_me:$LINENO: result: $result" >&5
11659 echo "${ECHO_T}$result" >&6; }
11663 defaultval=$wxUSE_ALL_FEATURES
11664 if test -z "$defaultval"; then
11665 if test x"$enablestring" = xdisable; then
11672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11673 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11674 # Check whether --enable-colourpicker was given.
11675 if test "${enable_colourpicker+set}" = set; then
11676 enableval=$enable_colourpicker;
11677 if test "$enableval" = yes; then
11678 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
11680 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
11686 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11687 if test "x$LINE" != x ; then
11688 eval "DEFAULT_$LINE"
11694 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11699 eval "$wx_cv_use_colourpicker"
11700 if test "x
$cache" = xyes; then
11701 echo "wxUSE_COLOURPICKERCTRL
=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11704 if test x"$enablestring" = xdisable; then
11705 if test $wxUSE_COLOURPICKERCTRL = yes; then
11711 result=$wxUSE_COLOURPICKERCTRL
11714 { echo "$as_me:$LINENO: result
: $result" >&5
11715 echo "${ECHO_T}$result" >&6; }
11719 defaultval=$wxUSE_ALL_FEATURES
11720 if test -z "$defaultval"; then
11721 if test x"$enablestring" = xdisable; then
11728 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-combobox" >&5
11729 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
11730 # Check whether --enable-combobox was given.
11731 if test "${enable_combobox+set}" = set; then
11732 enableval=$enable_combobox;
11733 if test "$enableval" = yes; then
11734 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11736 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11742 LINE=`grep "^wxUSE_COMBOBOX
=" ${wx_arg_cache_file}`
11743 if test "x
$LINE" != x ; then
11744 eval "DEFAULT_
$LINE"
11750 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11755 eval "$wx_cv_use_combobox"
11756 if test "x$cache" = xyes
; then
11757 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11760 if test x
"$enablestring" = xdisable
; then
11761 if test $wxUSE_COMBOBOX = yes; then
11767 result
=$wxUSE_COMBOBOX
11770 { echo "$as_me:$LINENO: result: $result" >&5
11771 echo "${ECHO_T}$result" >&6; }
11775 defaultval
=$wxUSE_ALL_FEATURES
11776 if test -z "$defaultval"; then
11777 if test x
"$enablestring" = xdisable
; then
11784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11785 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11786 # Check whether --enable-comboctrl was given.
11787 if test "${enable_comboctrl+set}" = set; then
11788 enableval
=$enable_comboctrl;
11789 if test "$enableval" = yes; then
11790 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
11792 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
11798 LINE
=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11799 if test "x$LINE" != x
; then
11800 eval "DEFAULT_$LINE"
11806 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11811 eval "$wx_cv_use_comboctrl"
11812 if test "x$cache" = xyes; then
11813 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11816 if test x"$enablestring" = xdisable; then
11817 if test $wxUSE_COMBOCTRL = yes; then
11823 result=$wxUSE_COMBOCTRL
11826 { echo "$as_me:$LINENO: result: $result" >&5
11827 echo "${ECHO_T}$result" >&6; }
11831 defaultval=$wxUSE_ALL_FEATURES
11832 if test -z "$defaultval"; then
11833 if test x"$enablestring" = xdisable; then
11840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11841 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11842 # Check whether --enable-datepick was given.
11843 if test "${enable_datepick+set}" = set; then
11844 enableval=$enable_datepick;
11845 if test "$enableval" = yes; then
11846 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
11848 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
11854 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11855 if test "x$LINE" != x ; then
11856 eval "DEFAULT_$LINE"
11862 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11867 eval "$wx_cv_use_datepick"
11868 if test "x
$cache" = xyes; then
11869 echo "wxUSE_DATEPICKCTRL
=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11872 if test x"$enablestring" = xdisable; then
11873 if test $wxUSE_DATEPICKCTRL = yes; then
11879 result=$wxUSE_DATEPICKCTRL
11882 { echo "$as_me:$LINENO: result
: $result" >&5
11883 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}-dirpicker" >&5
11897 echo $ECHO_N "checking
for --${enablestring:-enable}-dirpicker...
$ECHO_C" >&6; }
11898 # Check whether --enable-dirpicker was given.
11899 if test "${enable_dirpicker+set}" = set; then
11900 enableval=$enable_dirpicker;
11901 if test "$enableval" = yes; then
11902 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11904 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11910 LINE=`grep "^wxUSE_DIRPICKERCTRL
=" ${wx_arg_cache_file}`
11911 if test "x
$LINE" != x ; then
11912 eval "DEFAULT_
$LINE"
11918 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11923 eval "$wx_cv_use_dirpicker"
11924 if test "x$cache" = xyes
; then
11925 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11928 if test x
"$enablestring" = xdisable
; then
11929 if test $wxUSE_DIRPICKERCTRL = yes; then
11935 result
=$wxUSE_DIRPICKERCTRL
11938 { echo "$as_me:$LINENO: result: $result" >&5
11939 echo "${ECHO_T}$result" >&6; }
11943 defaultval
=$wxUSE_ALL_FEATURES
11944 if test -z "$defaultval"; then
11945 if test x
"$enablestring" = xdisable
; then
11952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11953 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11954 # Check whether --enable-display was given.
11955 if test "${enable_display+set}" = set; then
11956 enableval
=$enable_display;
11957 if test "$enableval" = yes; then
11958 wx_cv_use_display
='wxUSE_DISPLAY=yes'
11960 wx_cv_use_display
='wxUSE_DISPLAY=no'
11966 LINE
=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11967 if test "x$LINE" != x
; then
11968 eval "DEFAULT_$LINE"
11974 wx_cv_use_display
='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11979 eval "$wx_cv_use_display"
11980 if test "x$cache" = xyes; then
11981 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11984 if test x"$enablestring" = xdisable; then
11985 if test $wxUSE_DISPLAY = yes; then
11991 result=$wxUSE_DISPLAY
11994 { echo "$as_me:$LINENO: result: $result" >&5
11995 echo "${ECHO_T}$result" >&6; }
11999 defaultval=$wxUSE_ALL_FEATURES
12000 if test -z "$defaultval"; then
12001 if test x"$enablestring" = xdisable; then
12008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
12009 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
12010 # Check whether --enable-detect_sm was given.
12011 if test "${enable_detect_sm+set}" = set; then
12012 enableval=$enable_detect_sm;
12013 if test "$enableval" = yes; then
12014 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
12016 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
12022 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
12023 if test "x$LINE" != x ; then
12024 eval "DEFAULT_$LINE"
12030 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12035 eval "$wx_cv_use_detect_sm"
12036 if test "x
$cache" = xyes; then
12037 echo "wxUSE_DETECT_SM
=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
12040 if test x"$enablestring" = xdisable; then
12041 if test $wxUSE_DETECT_SM = yes; then
12047 result=$wxUSE_DETECT_SM
12050 { echo "$as_me:$LINENO: result
: $result" >&5
12051 echo "${ECHO_T}$result" >&6; }
12055 defaultval=$wxUSE_ALL_FEATURES
12056 if test -z "$defaultval"; then
12057 if test x"$enablestring" = xdisable; then
12064 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-editablebox" >&5
12065 echo $ECHO_N "checking
for --${enablestring:-enable}-editablebox...
$ECHO_C" >&6; }
12066 # Check whether --enable-editablebox was given.
12067 if test "${enable_editablebox+set}" = set; then
12068 enableval=$enable_editablebox;
12069 if test "$enableval" = yes; then
12070 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12072 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12078 LINE=`grep "^wxUSE_EDITABLELISTBOX
=" ${wx_arg_cache_file}`
12079 if test "x
$LINE" != x ; then
12080 eval "DEFAULT_
$LINE"
12086 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12091 eval "$wx_cv_use_editablebox"
12092 if test "x$cache" = xyes
; then
12093 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
12096 if test x
"$enablestring" = xdisable
; then
12097 if test $wxUSE_EDITABLELISTBOX = yes; then
12103 result
=$wxUSE_EDITABLELISTBOX
12106 { echo "$as_me:$LINENO: result: $result" >&5
12107 echo "${ECHO_T}$result" >&6; }
12111 defaultval
=$wxUSE_ALL_FEATURES
12112 if test -z "$defaultval"; then
12113 if test x
"$enablestring" = xdisable
; then
12120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
12121 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
12122 # Check whether --enable-filepicker was given.
12123 if test "${enable_filepicker+set}" = set; then
12124 enableval
=$enable_filepicker;
12125 if test "$enableval" = yes; then
12126 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
12128 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
12134 LINE
=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
12135 if test "x$LINE" != x
; then
12136 eval "DEFAULT_$LINE"
12142 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12147 eval "$wx_cv_use_filepicker"
12148 if test "x$cache" = xyes; then
12149 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12152 if test x"$enablestring" = xdisable; then
12153 if test $wxUSE_FILEPICKERCTRL = yes; then
12159 result=$wxUSE_FILEPICKERCTRL
12162 { echo "$as_me:$LINENO: result: $result" >&5
12163 echo "${ECHO_T}$result" >&6; }
12167 defaultval=$wxUSE_ALL_FEATURES
12168 if test -z "$defaultval"; then
12169 if test x"$enablestring" = xdisable; then
12176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
12177 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
12178 # Check whether --enable-filectrl was given.
12179 if test "${enable_filectrl+set}" = set; then
12180 enableval=$enable_filectrl;
12181 if test "$enableval" = yes; then
12182 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
12184 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
12190 LINE=`grep "^wxUSE_FILECTRL=" ${wx_arg_cache_file}`
12191 if test "x$LINE" != x ; then
12192 eval "DEFAULT_$LINE"
12198 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12203 eval "$wx_cv_use_filectrl"
12204 if test "x
$cache" = xyes; then
12205 echo "wxUSE_FILECTRL
=$wxUSE_FILECTRL" >> ${wx_arg_cache_file}.tmp
12208 if test x"$enablestring" = xdisable; then
12209 if test $wxUSE_FILECTRL = yes; then
12215 result=$wxUSE_FILECTRL
12218 { echo "$as_me:$LINENO: result
: $result" >&5
12219 echo "${ECHO_T}$result" >&6; }
12223 defaultval=$wxUSE_ALL_FEATURES
12224 if test -z "$defaultval"; then
12225 if test x"$enablestring" = xdisable; then
12232 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontpicker" >&5
12233 echo $ECHO_N "checking
for --${enablestring:-enable}-fontpicker...
$ECHO_C" >&6; }
12234 # Check whether --enable-fontpicker was given.
12235 if test "${enable_fontpicker+set}" = set; then
12236 enableval=$enable_fontpicker;
12237 if test "$enableval" = yes; then
12238 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12240 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12246 LINE=`grep "^wxUSE_FONTPICKERCTRL
=" ${wx_arg_cache_file}`
12247 if test "x
$LINE" != x ; then
12248 eval "DEFAULT_
$LINE"
12254 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12259 eval "$wx_cv_use_fontpicker"
12260 if test "x$cache" = xyes
; then
12261 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12264 if test x
"$enablestring" = xdisable
; then
12265 if test $wxUSE_FONTPICKERCTRL = yes; then
12271 result
=$wxUSE_FONTPICKERCTRL
12274 { echo "$as_me:$LINENO: result: $result" >&5
12275 echo "${ECHO_T}$result" >&6; }
12279 defaultval
=$wxUSE_ALL_FEATURES
12280 if test -z "$defaultval"; then
12281 if test x
"$enablestring" = xdisable
; then
12288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
12289 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
12290 # Check whether --enable-gauge was given.
12291 if test "${enable_gauge+set}" = set; then
12292 enableval
=$enable_gauge;
12293 if test "$enableval" = yes; then
12294 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
12296 wx_cv_use_gauge
='wxUSE_GAUGE=no'
12302 LINE
=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
12303 if test "x$LINE" != x
; then
12304 eval "DEFAULT_$LINE"
12310 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12315 eval "$wx_cv_use_gauge"
12316 if test "x$cache" = xyes; then
12317 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
12320 if test x"$enablestring" = xdisable; then
12321 if test $wxUSE_GAUGE = yes; then
12327 result=$wxUSE_GAUGE
12330 { echo "$as_me:$LINENO: result: $result" >&5
12331 echo "${ECHO_T}$result" >&6; }
12335 defaultval=$wxUSE_ALL_FEATURES
12336 if test -z "$defaultval"; then
12337 if test x"$enablestring" = xdisable; then
12344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
12345 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
12346 # Check whether --enable-grid was given.
12347 if test "${enable_grid+set}" = set; then
12348 enableval=$enable_grid;
12349 if test "$enableval" = yes; then
12350 wx_cv_use_grid='wxUSE_GRID
=yes'
12352 wx_cv_use_grid='wxUSE_GRID
=no
'
12358 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
12359 if test "x$LINE" != x ; then
12360 eval "DEFAULT_$LINE"
12366 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12371 eval "$wx_cv_use_grid"
12372 if test "x
$cache" = xyes; then
12373 echo "wxUSE_GRID
=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
12376 if test x"$enablestring" = xdisable; then
12377 if test $wxUSE_GRID = yes; then
12386 { echo "$as_me:$LINENO: result
: $result" >&5
12387 echo "${ECHO_T}$result" >&6; }
12391 defaultval=$wxUSE_ALL_FEATURES
12392 if test -z "$defaultval"; then
12393 if test x"$enablestring" = xdisable; then
12400 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataviewctrl" >&5
12401 echo $ECHO_N "checking
for --${enablestring:-enable}-dataviewctrl...
$ECHO_C" >&6; }
12402 # Check whether --enable-dataviewctrl was given.
12403 if test "${enable_dataviewctrl+set}" = set; then
12404 enableval=$enable_dataviewctrl;
12405 if test "$enableval" = yes; then
12406 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12408 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12414 LINE=`grep "^wxUSE_DATAVIEWCTRL
=" ${wx_arg_cache_file}`
12415 if test "x
$LINE" != x ; then
12416 eval "DEFAULT_
$LINE"
12422 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12427 eval "$wx_cv_use_dataviewctrl"
12428 if test "x$cache" = xyes
; then
12429 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
12432 if test x
"$enablestring" = xdisable
; then
12433 if test $wxUSE_DATAVIEWCTRL = yes; then
12439 result
=$wxUSE_DATAVIEWCTRL
12442 { echo "$as_me:$LINENO: result: $result" >&5
12443 echo "${ECHO_T}$result" >&6; }
12447 defaultval
=$wxUSE_ALL_FEATURES
12448 if test -z "$defaultval"; then
12449 if test x
"$enablestring" = xdisable
; then
12456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
12457 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
12458 # Check whether --enable-hyperlink was given.
12459 if test "${enable_hyperlink+set}" = set; then
12460 enableval
=$enable_hyperlink;
12461 if test "$enableval" = yes; then
12462 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
12464 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
12470 LINE
=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
12471 if test "x$LINE" != x
; then
12472 eval "DEFAULT_$LINE"
12478 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12483 eval "$wx_cv_use_hyperlink"
12484 if test "x$cache" = xyes; then
12485 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
12488 if test x"$enablestring" = xdisable; then
12489 if test $wxUSE_HYPERLINKCTRL = yes; then
12495 result=$wxUSE_HYPERLINKCTRL
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}-imaglist" >&5
12513 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12514 # Check whether --enable-imaglist was given.
12515 if test "${enable_imaglist+set}" = set; then
12516 enableval=$enable_imaglist;
12517 if test "$enableval" = yes; then
12518 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
12520 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
12526 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12527 if test "x$LINE" != x ; then
12528 eval "DEFAULT_$LINE"
12534 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12539 eval "$wx_cv_use_imaglist"
12540 if test "x
$cache" = xyes; then
12541 echo "wxUSE_IMAGLIST
=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
12544 if test x"$enablestring" = xdisable; then
12545 if test $wxUSE_IMAGLIST = yes; then
12551 result=$wxUSE_IMAGLIST
12554 { echo "$as_me:$LINENO: result
: $result" >&5
12555 echo "${ECHO_T}$result" >&6; }
12559 defaultval=$wxUSE_ALL_FEATURES
12560 if test -z "$defaultval"; then
12561 if test x"$enablestring" = xdisable; then
12568 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbook" >&5
12569 echo $ECHO_N "checking
for --${enablestring:-enable}-listbook...
$ECHO_C" >&6; }
12570 # Check whether --enable-listbook was given.
12571 if test "${enable_listbook+set}" = set; then
12572 enableval=$enable_listbook;
12573 if test "$enableval" = yes; then
12574 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12576 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12582 LINE=`grep "^wxUSE_LISTBOOK
=" ${wx_arg_cache_file}`
12583 if test "x
$LINE" != x ; then
12584 eval "DEFAULT_
$LINE"
12590 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12595 eval "$wx_cv_use_listbook"
12596 if test "x$cache" = xyes
; then
12597 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12600 if test x
"$enablestring" = xdisable
; then
12601 if test $wxUSE_LISTBOOK = yes; then
12607 result
=$wxUSE_LISTBOOK
12610 { echo "$as_me:$LINENO: result: $result" >&5
12611 echo "${ECHO_T}$result" >&6; }
12615 defaultval
=$wxUSE_ALL_FEATURES
12616 if test -z "$defaultval"; then
12617 if test x
"$enablestring" = xdisable
; then
12624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12625 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12626 # Check whether --enable-listbox was given.
12627 if test "${enable_listbox+set}" = set; then
12628 enableval
=$enable_listbox;
12629 if test "$enableval" = yes; then
12630 wx_cv_use_listbox
='wxUSE_LISTBOX=yes'
12632 wx_cv_use_listbox
='wxUSE_LISTBOX=no'
12638 LINE
=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12639 if test "x$LINE" != x
; then
12640 eval "DEFAULT_$LINE"
12646 wx_cv_use_listbox
='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12651 eval "$wx_cv_use_listbox"
12652 if test "x$cache" = xyes; then
12653 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12656 if test x"$enablestring" = xdisable; then
12657 if test $wxUSE_LISTBOX = yes; then
12663 result=$wxUSE_LISTBOX
12666 { echo "$as_me:$LINENO: result: $result" >&5
12667 echo "${ECHO_T}$result" >&6; }
12671 defaultval=$wxUSE_ALL_FEATURES
12672 if test -z "$defaultval"; then
12673 if test x"$enablestring" = xdisable; then
12680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12681 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12682 # Check whether --enable-listctrl was given.
12683 if test "${enable_listctrl+set}" = set; then
12684 enableval=$enable_listctrl;
12685 if test "$enableval" = yes; then
12686 wx_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
12688 wx_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
12694 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12695 if test "x$LINE" != x ; then
12696 eval "DEFAULT_$LINE"
12702 wx_cv_use_listctrl='wxUSE_LISTCTRL
=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12707 eval "$wx_cv_use_listctrl"
12708 if test "x
$cache" = xyes; then
12709 echo "wxUSE_LISTCTRL
=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12712 if test x"$enablestring" = xdisable; then
12713 if test $wxUSE_LISTCTRL = yes; then
12719 result=$wxUSE_LISTCTRL
12722 { echo "$as_me:$LINENO: result
: $result" >&5
12723 echo "${ECHO_T}$result" >&6; }
12727 defaultval=$wxUSE_ALL_FEATURES
12728 if test -z "$defaultval"; then
12729 if test x"$enablestring" = xdisable; then
12736 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notebook" >&5
12737 echo $ECHO_N "checking
for --${enablestring:-enable}-notebook...
$ECHO_C" >&6; }
12738 # Check whether --enable-notebook was given.
12739 if test "${enable_notebook+set}" = set; then
12740 enableval=$enable_notebook;
12741 if test "$enableval" = yes; then
12742 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12744 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12750 LINE=`grep "^wxUSE_NOTEBOOK
=" ${wx_arg_cache_file}`
12751 if test "x
$LINE" != x ; then
12752 eval "DEFAULT_
$LINE"
12758 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12763 eval "$wx_cv_use_notebook"
12764 if test "x$cache" = xyes
; then
12765 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12768 if test x
"$enablestring" = xdisable
; then
12769 if test $wxUSE_NOTEBOOK = yes; then
12775 result
=$wxUSE_NOTEBOOK
12778 { echo "$as_me:$LINENO: result: $result" >&5
12779 echo "${ECHO_T}$result" >&6; }
12783 defaultval
=$wxUSE_ALL_FEATURES
12784 if test -z "$defaultval"; then
12785 if test x
"$enablestring" = xdisable
; then
12792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12793 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12794 # Check whether --enable-odcombobox was given.
12795 if test "${enable_odcombobox+set}" = set; then
12796 enableval
=$enable_odcombobox;
12797 if test "$enableval" = yes; then
12798 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
12800 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
12806 LINE
=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12807 if test "x$LINE" != x
; then
12808 eval "DEFAULT_$LINE"
12814 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12819 eval "$wx_cv_use_odcombobox"
12820 if test "x$cache" = xyes; then
12821 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12824 if test x"$enablestring" = xdisable; then
12825 if test $wxUSE_ODCOMBOBOX = yes; then
12831 result=$wxUSE_ODCOMBOBOX
12834 { echo "$as_me:$LINENO: result: $result" >&5
12835 echo "${ECHO_T}$result" >&6; }
12839 defaultval=$wxUSE_ALL_FEATURES
12840 if test -z "$defaultval"; then
12841 if test x"$enablestring" = xdisable; then
12848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12849 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12850 # Check whether --enable-radiobox was given.
12851 if test "${enable_radiobox+set}" = set; then
12852 enableval=$enable_radiobox;
12853 if test "$enableval" = yes; then
12854 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
12856 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
12862 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12863 if test "x$LINE" != x ; then
12864 eval "DEFAULT_$LINE"
12870 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12875 eval "$wx_cv_use_radiobox"
12876 if test "x
$cache" = xyes; then
12877 echo "wxUSE_RADIOBOX
=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12880 if test x"$enablestring" = xdisable; then
12881 if test $wxUSE_RADIOBOX = yes; then
12887 result=$wxUSE_RADIOBOX
12890 { echo "$as_me:$LINENO: result
: $result" >&5
12891 echo "${ECHO_T}$result" >&6; }
12895 defaultval=$wxUSE_ALL_FEATURES
12896 if test -z "$defaultval"; then
12897 if test x"$enablestring" = xdisable; then
12904 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobtn" >&5
12905 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobtn...
$ECHO_C" >&6; }
12906 # Check whether --enable-radiobtn was given.
12907 if test "${enable_radiobtn+set}" = set; then
12908 enableval=$enable_radiobtn;
12909 if test "$enableval" = yes; then
12910 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12912 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12918 LINE=`grep "^wxUSE_RADIOBTN
=" ${wx_arg_cache_file}`
12919 if test "x
$LINE" != x ; then
12920 eval "DEFAULT_
$LINE"
12926 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12931 eval "$wx_cv_use_radiobtn"
12932 if test "x$cache" = xyes
; then
12933 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12936 if test x
"$enablestring" = xdisable
; then
12937 if test $wxUSE_RADIOBTN = yes; then
12943 result
=$wxUSE_RADIOBTN
12946 { echo "$as_me:$LINENO: result: $result" >&5
12947 echo "${ECHO_T}$result" >&6; }
12951 defaultval
=$wxUSE_ALL_FEATURES
12952 if test -z "$defaultval"; then
12953 if test x
"$enablestring" = xdisable
; then
12960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12961 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12962 # Check whether --enable-sash was given.
12963 if test "${enable_sash+set}" = set; then
12964 enableval
=$enable_sash;
12965 if test "$enableval" = yes; then
12966 wx_cv_use_sash
='wxUSE_SASH=yes'
12968 wx_cv_use_sash
='wxUSE_SASH=no'
12974 LINE
=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12975 if test "x$LINE" != x
; then
12976 eval "DEFAULT_$LINE"
12982 wx_cv_use_sash
='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12987 eval "$wx_cv_use_sash"
12988 if test "x$cache" = xyes; then
12989 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12992 if test x"$enablestring" = xdisable; then
12993 if test $wxUSE_SASH = yes; then
13002 { echo "$as_me:$LINENO: result: $result" >&5
13003 echo "${ECHO_T}$result" >&6; }
13007 defaultval=$wxUSE_ALL_FEATURES
13008 if test -z "$defaultval"; then
13009 if test x"$enablestring" = xdisable; then
13016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
13017 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
13018 # Check whether --enable-scrollbar was given.
13019 if test "${enable_scrollbar+set}" = set; then
13020 enableval=$enable_scrollbar;
13021 if test "$enableval" = yes; then
13022 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
13024 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
13030 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
13031 if test "x$LINE" != x ; then
13032 eval "DEFAULT_$LINE"
13038 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13043 eval "$wx_cv_use_scrollbar"
13044 if test "x
$cache" = xyes; then
13045 echo "wxUSE_SCROLLBAR
=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
13048 if test x"$enablestring" = xdisable; then
13049 if test $wxUSE_SCROLLBAR = yes; then
13055 result=$wxUSE_SCROLLBAR
13058 { echo "$as_me:$LINENO: result
: $result" >&5
13059 echo "${ECHO_T}$result" >&6; }
13063 defaultval=$wxUSE_ALL_FEATURES
13064 if test -z "$defaultval"; then
13065 if test x"$enablestring" = xdisable; then
13072 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-searchctrl" >&5
13073 echo $ECHO_N "checking
for --${enablestring:-enable}-searchctrl...
$ECHO_C" >&6; }
13074 # Check whether --enable-searchctrl was given.
13075 if test "${enable_searchctrl+set}" = set; then
13076 enableval=$enable_searchctrl;
13077 if test "$enableval" = yes; then
13078 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13080 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13086 LINE=`grep "^wxUSE_SEARCHCTRL
=" ${wx_arg_cache_file}`
13087 if test "x
$LINE" != x ; then
13088 eval "DEFAULT_
$LINE"
13094 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13099 eval "$wx_cv_use_searchctrl"
13100 if test "x$cache" = xyes
; then
13101 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
13104 if test x
"$enablestring" = xdisable
; then
13105 if test $wxUSE_SEARCHCTRL = yes; then
13111 result
=$wxUSE_SEARCHCTRL
13114 { echo "$as_me:$LINENO: result: $result" >&5
13115 echo "${ECHO_T}$result" >&6; }
13119 defaultval
=$wxUSE_ALL_FEATURES
13120 if test -z "$defaultval"; then
13121 if test x
"$enablestring" = xdisable
; then
13128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
13129 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
13130 # Check whether --enable-slider was given.
13131 if test "${enable_slider+set}" = set; then
13132 enableval
=$enable_slider;
13133 if test "$enableval" = yes; then
13134 wx_cv_use_slider
='wxUSE_SLIDER=yes'
13136 wx_cv_use_slider
='wxUSE_SLIDER=no'
13142 LINE
=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
13143 if test "x$LINE" != x
; then
13144 eval "DEFAULT_$LINE"
13150 wx_cv_use_slider
='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13155 eval "$wx_cv_use_slider"
13156 if test "x$cache" = xyes; then
13157 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
13160 if test x"$enablestring" = xdisable; then
13161 if test $wxUSE_SLIDER = yes; then
13167 result=$wxUSE_SLIDER
13170 { echo "$as_me:$LINENO: result: $result" >&5
13171 echo "${ECHO_T}$result" >&6; }
13175 defaultval=$wxUSE_ALL_FEATURES
13176 if test -z "$defaultval"; then
13177 if test x"$enablestring" = xdisable; then
13184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
13185 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
13186 # Check whether --enable-spinbtn was given.
13187 if test "${enable_spinbtn+set}" = set; then
13188 enableval=$enable_spinbtn;
13189 if test "$enableval" = yes; then
13190 wx_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
13192 wx_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
13198 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
13199 if test "x$LINE" != x ; then
13200 eval "DEFAULT_$LINE"
13206 wx_cv_use_spinbtn='wxUSE_SPINBTN
=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13211 eval "$wx_cv_use_spinbtn"
13212 if test "x
$cache" = xyes; then
13213 echo "wxUSE_SPINBTN
=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
13216 if test x"$enablestring" = xdisable; then
13217 if test $wxUSE_SPINBTN = yes; then
13223 result=$wxUSE_SPINBTN
13226 { echo "$as_me:$LINENO: result
: $result" >&5
13227 echo "${ECHO_T}$result" >&6; }
13231 defaultval=$wxUSE_ALL_FEATURES
13232 if test -z "$defaultval"; then
13233 if test x"$enablestring" = xdisable; then
13240 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinctrl" >&5
13241 echo $ECHO_N "checking
for --${enablestring:-enable}-spinctrl...
$ECHO_C" >&6; }
13242 # Check whether --enable-spinctrl was given.
13243 if test "${enable_spinctrl+set}" = set; then
13244 enableval=$enable_spinctrl;
13245 if test "$enableval" = yes; then
13246 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13248 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13254 LINE=`grep "^wxUSE_SPINCTRL
=" ${wx_arg_cache_file}`
13255 if test "x
$LINE" != x ; then
13256 eval "DEFAULT_
$LINE"
13262 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13267 eval "$wx_cv_use_spinctrl"
13268 if test "x$cache" = xyes
; then
13269 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
13272 if test x
"$enablestring" = xdisable
; then
13273 if test $wxUSE_SPINCTRL = yes; then
13279 result
=$wxUSE_SPINCTRL
13282 { echo "$as_me:$LINENO: result: $result" >&5
13283 echo "${ECHO_T}$result" >&6; }
13287 defaultval
=$wxUSE_ALL_FEATURES
13288 if test -z "$defaultval"; then
13289 if test x
"$enablestring" = xdisable
; then
13296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
13297 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
13298 # Check whether --enable-splitter was given.
13299 if test "${enable_splitter+set}" = set; then
13300 enableval
=$enable_splitter;
13301 if test "$enableval" = yes; then
13302 wx_cv_use_splitter
='wxUSE_SPLITTER=yes'
13304 wx_cv_use_splitter
='wxUSE_SPLITTER=no'
13310 LINE
=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
13311 if test "x$LINE" != x
; then
13312 eval "DEFAULT_$LINE"
13318 wx_cv_use_splitter
='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13323 eval "$wx_cv_use_splitter"
13324 if test "x$cache" = xyes; then
13325 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
13328 if test x"$enablestring" = xdisable; then
13329 if test $wxUSE_SPLITTER = yes; then
13335 result=$wxUSE_SPLITTER
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}-statbmp" >&5
13353 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
13354 # Check whether --enable-statbmp was given.
13355 if test "${enable_statbmp+set}" = set; then
13356 enableval=$enable_statbmp;
13357 if test "$enableval" = yes; then
13358 wx_cv_use_statbmp='wxUSE_STATBMP
=yes'
13360 wx_cv_use_statbmp='wxUSE_STATBMP
=no
'
13366 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
13367 if test "x$LINE" != x ; then
13368 eval "DEFAULT_$LINE"
13374 wx_cv_use_statbmp='wxUSE_STATBMP
=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13379 eval "$wx_cv_use_statbmp"
13380 if test "x
$cache" = xyes; then
13381 echo "wxUSE_STATBMP
=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
13384 if test x"$enablestring" = xdisable; then
13385 if test $wxUSE_STATBMP = yes; then
13391 result=$wxUSE_STATBMP
13394 { echo "$as_me:$LINENO: result
: $result" >&5
13395 echo "${ECHO_T}$result" >&6; }
13399 defaultval=$wxUSE_ALL_FEATURES
13400 if test -z "$defaultval"; then
13401 if test x"$enablestring" = xdisable; then
13408 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbox" >&5
13409 echo $ECHO_N "checking
for --${enablestring:-enable}-statbox...
$ECHO_C" >&6; }
13410 # Check whether --enable-statbox was given.
13411 if test "${enable_statbox+set}" = set; then
13412 enableval=$enable_statbox;
13413 if test "$enableval" = yes; then
13414 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13416 wx_cv_use_statbox='wxUSE_STATBOX=no'
13422 LINE=`grep "^wxUSE_STATBOX
=" ${wx_arg_cache_file}`
13423 if test "x
$LINE" != x ; then
13424 eval "DEFAULT_
$LINE"
13430 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13435 eval "$wx_cv_use_statbox"
13436 if test "x$cache" = xyes
; then
13437 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
13440 if test x
"$enablestring" = xdisable
; then
13441 if test $wxUSE_STATBOX = yes; then
13447 result
=$wxUSE_STATBOX
13450 { echo "$as_me:$LINENO: result: $result" >&5
13451 echo "${ECHO_T}$result" >&6; }
13455 defaultval
=$wxUSE_ALL_FEATURES
13456 if test -z "$defaultval"; then
13457 if test x
"$enablestring" = xdisable
; then
13464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
13465 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
13466 # Check whether --enable-statline was given.
13467 if test "${enable_statline+set}" = set; then
13468 enableval
=$enable_statline;
13469 if test "$enableval" = yes; then
13470 wx_cv_use_statline
='wxUSE_STATLINE=yes'
13472 wx_cv_use_statline
='wxUSE_STATLINE=no'
13478 LINE
=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
13479 if test "x$LINE" != x
; then
13480 eval "DEFAULT_$LINE"
13486 wx_cv_use_statline
='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13491 eval "$wx_cv_use_statline"
13492 if test "x$cache" = xyes; then
13493 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
13496 if test x"$enablestring" = xdisable; then
13497 if test $wxUSE_STATLINE = yes; then
13503 result=$wxUSE_STATLINE
13506 { echo "$as_me:$LINENO: result: $result" >&5
13507 echo "${ECHO_T}$result" >&6; }
13511 defaultval=$wxUSE_ALL_FEATURES
13512 if test -z "$defaultval"; then
13513 if test x"$enablestring" = xdisable; then
13520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13521 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13522 # Check whether --enable-stattext was given.
13523 if test "${enable_stattext+set}" = set; then
13524 enableval=$enable_stattext;
13525 if test "$enableval" = yes; then
13526 wx_cv_use_stattext='wxUSE_STATTEXT
=yes'
13528 wx_cv_use_stattext='wxUSE_STATTEXT
=no
'
13534 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13535 if test "x$LINE" != x ; then
13536 eval "DEFAULT_$LINE"
13542 wx_cv_use_stattext='wxUSE_STATTEXT
=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13547 eval "$wx_cv_use_stattext"
13548 if test "x
$cache" = xyes; then
13549 echo "wxUSE_STATTEXT
=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
13552 if test x"$enablestring" = xdisable; then
13553 if test $wxUSE_STATTEXT = yes; then
13559 result=$wxUSE_STATTEXT
13562 { echo "$as_me:$LINENO: result
: $result" >&5
13563 echo "${ECHO_T}$result" >&6; }
13567 defaultval=$wxUSE_ALL_FEATURES
13568 if test -z "$defaultval"; then
13569 if test x"$enablestring" = xdisable; then
13576 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statusbar" >&5
13577 echo $ECHO_N "checking
for --${enablestring:-enable}-statusbar...
$ECHO_C" >&6; }
13578 # Check whether --enable-statusbar was given.
13579 if test "${enable_statusbar+set}" = set; then
13580 enableval=$enable_statusbar;
13581 if test "$enableval" = yes; then
13582 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13584 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13590 LINE=`grep "^wxUSE_STATUSBAR
=" ${wx_arg_cache_file}`
13591 if test "x
$LINE" != x ; then
13592 eval "DEFAULT_
$LINE"
13598 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13603 eval "$wx_cv_use_statusbar"
13604 if test "x$cache" = xyes
; then
13605 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13608 if test x
"$enablestring" = xdisable
; then
13609 if test $wxUSE_STATUSBAR = yes; then
13615 result
=$wxUSE_STATUSBAR
13618 { echo "$as_me:$LINENO: result: $result" >&5
13619 echo "${ECHO_T}$result" >&6; }
13623 defaultval
=$wxUSE_ALL_FEATURES
13624 if test -z "$defaultval"; then
13625 if test x
"$enablestring" = xdisable
; then
13632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13633 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13634 # Check whether --enable-tabdialog was given.
13635 if test "${enable_tabdialog+set}" = set; then
13636 enableval
=$enable_tabdialog;
13637 if test "$enableval" = yes; then
13638 wx_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
13640 wx_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
13646 LINE
=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13647 if test "x$LINE" != x
; then
13648 eval "DEFAULT_$LINE"
13654 wx_cv_use_tabdialog
='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13659 eval "$wx_cv_use_tabdialog"
13660 if test "x$cache" = xyes; then
13661 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13664 if test x"$enablestring" = xdisable; then
13665 if test $wxUSE_TAB_DIALOG = yes; then
13671 result=$wxUSE_TAB_DIALOG
13674 { echo "$as_me:$LINENO: result: $result" >&5
13675 echo "${ECHO_T}$result" >&6; }
13679 defaultval=$wxUSE_ALL_FEATURES
13680 if test -z "$defaultval"; then
13681 if test x"$enablestring" = xdisable; then
13688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13689 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13690 # Check whether --enable-taskbaricon was given.
13691 if test "${enable_taskbaricon+set}" = set; then
13692 enableval=$enable_taskbaricon;
13693 if test "$enableval" = yes; then
13694 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=yes'
13696 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=no
'
13702 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13703 if test "x$LINE" != x ; then
13704 eval "DEFAULT_$LINE"
13710 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13715 eval "$wx_cv_use_taskbaricon"
13716 if test "x
$cache" = xyes; then
13717 echo "wxUSE_TASKBARICON
=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13720 if test x"$enablestring" = xdisable; then
13721 if test $wxUSE_TASKBARICON = yes; then
13727 result=$wxUSE_TASKBARICON
13730 { echo "$as_me:$LINENO: result
: $result" >&5
13731 echo "${ECHO_T}$result" >&6; }
13735 defaultval=$wxUSE_ALL_FEATURES
13736 if test -z "$defaultval"; then
13737 if test x"$enablestring" = xdisable; then
13744 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textctrl" >&5
13745 echo $ECHO_N "checking
for --${enablestring:-enable}-textctrl...
$ECHO_C" >&6; }
13746 # Check whether --enable-textctrl was given.
13747 if test "${enable_textctrl+set}" = set; then
13748 enableval=$enable_textctrl;
13749 if test "$enableval" = yes; then
13750 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13752 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13758 LINE=`grep "^wxUSE_TEXTCTRL
=" ${wx_arg_cache_file}`
13759 if test "x
$LINE" != x ; then
13760 eval "DEFAULT_
$LINE"
13766 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13771 eval "$wx_cv_use_textctrl"
13772 if test "x$cache" = xyes
; then
13773 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13776 if test x
"$enablestring" = xdisable
; then
13777 if test $wxUSE_TEXTCTRL = yes; then
13783 result
=$wxUSE_TEXTCTRL
13786 { echo "$as_me:$LINENO: result: $result" >&5
13787 echo "${ECHO_T}$result" >&6; }
13791 defaultval
=$wxUSE_ALL_FEATURES
13792 if test -z "$defaultval"; then
13793 if test x
"$enablestring" = xdisable
; then
13800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13801 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13802 # Check whether --enable-togglebtn was given.
13803 if test "${enable_togglebtn+set}" = set; then
13804 enableval
=$enable_togglebtn;
13805 if test "$enableval" = yes; then
13806 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
13808 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
13814 LINE
=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13815 if test "x$LINE" != x
; then
13816 eval "DEFAULT_$LINE"
13822 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13827 eval "$wx_cv_use_togglebtn"
13828 if test "x$cache" = xyes; then
13829 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13832 if test x"$enablestring" = xdisable; then
13833 if test $wxUSE_TOGGLEBTN = yes; then
13839 result=$wxUSE_TOGGLEBTN
13842 { echo "$as_me:$LINENO: result: $result" >&5
13843 echo "${ECHO_T}$result" >&6; }
13847 defaultval=$wxUSE_ALL_FEATURES
13848 if test -z "$defaultval"; then
13849 if test x"$enablestring" = xdisable; then
13856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13857 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13858 # Check whether --enable-toolbar was given.
13859 if test "${enable_toolbar+set}" = set; then
13860 enableval=$enable_toolbar;
13861 if test "$enableval" = yes; then
13862 wx_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
13864 wx_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
13870 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13871 if test "x$LINE" != x ; then
13872 eval "DEFAULT_$LINE"
13878 wx_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13883 eval "$wx_cv_use_toolbar"
13884 if test "x
$cache" = xyes; then
13885 echo "wxUSE_TOOLBAR
=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13888 if test x"$enablestring" = xdisable; then
13889 if test $wxUSE_TOOLBAR = yes; then
13895 result=$wxUSE_TOOLBAR
13898 { echo "$as_me:$LINENO: result
: $result" >&5
13899 echo "${ECHO_T}$result" >&6; }
13903 defaultval=$wxUSE_ALL_FEATURES
13904 if test -z "$defaultval"; then
13905 if test x"$enablestring" = xdisable; then
13912 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tbarnative" >&5
13913 echo $ECHO_N "checking
for --${enablestring:-enable}-tbarnative...
$ECHO_C" >&6; }
13914 # Check whether --enable-tbarnative was given.
13915 if test "${enable_tbarnative+set}" = set; then
13916 enableval=$enable_tbarnative;
13917 if test "$enableval" = yes; then
13918 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13920 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13926 LINE=`grep "^wxUSE_TOOLBAR_NATIVE
=" ${wx_arg_cache_file}`
13927 if test "x
$LINE" != x ; then
13928 eval "DEFAULT_
$LINE"
13934 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13939 eval "$wx_cv_use_tbarnative"
13940 if test "x$cache" = xyes
; then
13941 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13944 if test x
"$enablestring" = xdisable
; then
13945 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13951 result
=$wxUSE_TOOLBAR_NATIVE
13954 { echo "$as_me:$LINENO: result: $result" >&5
13955 echo "${ECHO_T}$result" >&6; }
13959 defaultval
=$wxUSE_ALL_FEATURES
13960 if test -z "$defaultval"; then
13961 if test x
"$enablestring" = xdisable
; then
13968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13969 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13970 # Check whether --enable-treebook was given.
13971 if test "${enable_treebook+set}" = set; then
13972 enableval
=$enable_treebook;
13973 if test "$enableval" = yes; then
13974 wx_cv_use_treebook
='wxUSE_TREEBOOK=yes'
13976 wx_cv_use_treebook
='wxUSE_TREEBOOK=no'
13982 LINE
=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13983 if test "x$LINE" != x
; then
13984 eval "DEFAULT_$LINE"
13990 wx_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13995 eval "$wx_cv_use_treebook"
13996 if test "x$cache" = xyes; then
13997 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
14000 if test x"$enablestring" = xdisable; then
14001 if test $wxUSE_TREEBOOK = yes; then
14007 result=$wxUSE_TREEBOOK
14010 { echo "$as_me:$LINENO: result: $result" >&5
14011 echo "${ECHO_T}$result" >&6; }
14015 defaultval=$wxUSE_ALL_FEATURES
14016 if test -z "$defaultval"; then
14017 if test x"$enablestring" = xdisable; then
14024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
14025 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
14026 # Check whether --enable-toolbook was given.
14027 if test "${enable_toolbook+set}" = set; then
14028 enableval=$enable_toolbook;
14029 if test "$enableval" = yes; then
14030 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
14032 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
14038 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
14039 if test "x$LINE" != x ; then
14040 eval "DEFAULT_$LINE"
14046 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14051 eval "$wx_cv_use_toolbook"
14052 if test "x
$cache" = xyes; then
14053 echo "wxUSE_TOOLBOOK
=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
14056 if test x"$enablestring" = xdisable; then
14057 if test $wxUSE_TOOLBOOK = yes; then
14063 result=$wxUSE_TOOLBOOK
14066 { echo "$as_me:$LINENO: result
: $result" >&5
14067 echo "${ECHO_T}$result" >&6; }
14071 defaultval=$wxUSE_ALL_FEATURES
14072 if test -z "$defaultval"; then
14073 if test x"$enablestring" = xdisable; then
14080 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treectrl" >&5
14081 echo $ECHO_N "checking
for --${enablestring:-enable}-treectrl...
$ECHO_C" >&6; }
14082 # Check whether --enable-treectrl was given.
14083 if test "${enable_treectrl+set}" = set; then
14084 enableval=$enable_treectrl;
14085 if test "$enableval" = yes; then
14086 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14088 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14094 LINE=`grep "^wxUSE_TREECTRL
=" ${wx_arg_cache_file}`
14095 if test "x
$LINE" != x ; then
14096 eval "DEFAULT_
$LINE"
14102 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14107 eval "$wx_cv_use_treectrl"
14108 if test "x$cache" = xyes
; then
14109 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
14112 if test x
"$enablestring" = xdisable
; then
14113 if test $wxUSE_TREECTRL = yes; then
14119 result
=$wxUSE_TREECTRL
14122 { echo "$as_me:$LINENO: result: $result" >&5
14123 echo "${ECHO_T}$result" >&6; }
14127 defaultval
=$wxUSE_ALL_FEATURES
14128 if test -z "$defaultval"; then
14129 if test x
"$enablestring" = xdisable
; then
14136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
14137 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
14138 # Check whether --enable-tipwindow was given.
14139 if test "${enable_tipwindow+set}" = set; then
14140 enableval
=$enable_tipwindow;
14141 if test "$enableval" = yes; then
14142 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
14144 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
14150 LINE
=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
14151 if test "x$LINE" != x
; then
14152 eval "DEFAULT_$LINE"
14158 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14163 eval "$wx_cv_use_tipwindow"
14164 if test "x$cache" = xyes; then
14165 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
14168 if test x"$enablestring" = xdisable; then
14169 if test $wxUSE_TIPWINDOW = yes; then
14175 result=$wxUSE_TIPWINDOW
14178 { echo "$as_me:$LINENO: result: $result" >&5
14179 echo "${ECHO_T}$result" >&6; }
14183 defaultval=$wxUSE_ALL_FEATURES
14184 if test -z "$defaultval"; then
14185 if test x"$enablestring" = xdisable; then
14192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
14193 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
14194 # Check whether --enable-popupwin was given.
14195 if test "${enable_popupwin+set}" = set; then
14196 enableval=$enable_popupwin;
14197 if test "$enableval" = yes; then
14198 wx_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
14200 wx_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
14206 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
14207 if test "x$LINE" != x ; then
14208 eval "DEFAULT_$LINE"
14214 wx_cv_use_popupwin='wxUSE_POPUPWIN
=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
14219 eval "$wx_cv_use_popupwin"
14220 if test "x
$cache" = xyes; then
14221 echo "wxUSE_POPUPWIN
=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
14224 if test x"$enablestring" = xdisable; then
14225 if test $wxUSE_POPUPWIN = yes; then
14231 result=$wxUSE_POPUPWIN
14234 { echo "$as_me:$LINENO: result
: $result" >&5
14235 echo "${ECHO_T}$result" >&6; }
14241 defaultval=$wxUSE_ALL_FEATURES
14242 if test -z "$defaultval"; then
14243 if test x"$enablestring" = xdisable; then
14250 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commondlg" >&5
14251 echo $ECHO_N "checking
for --${enablestring:-enable}-commondlg...
$ECHO_C" >&6; }
14252 # Check whether --enable-commondlg was given.
14253 if test "${enable_commondlg+set}" = set; then
14254 enableval=$enable_commondlg;
14255 if test "$enableval" = yes; then
14256 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14258 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14264 LINE=`grep "^wxUSE_COMMONDLGS
=" ${wx_arg_cache_file}`
14265 if test "x
$LINE" != x ; then
14266 eval "DEFAULT_
$LINE"
14272 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14277 eval "$wx_cv_use_commondlg"
14278 if test "x$cache" = xyes
; then
14279 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
14282 if test x
"$enablestring" = xdisable
; then
14283 if test $wxUSE_COMMONDLGS = yes; then
14289 result
=$wxUSE_COMMONDLGS
14292 { echo "$as_me:$LINENO: result: $result" >&5
14293 echo "${ECHO_T}$result" >&6; }
14297 defaultval
=$wxUSE_ALL_FEATURES
14298 if test -z "$defaultval"; then
14299 if test x
"$enablestring" = xdisable
; then
14306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
14307 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
14308 # Check whether --enable-aboutdlg was given.
14309 if test "${enable_aboutdlg+set}" = set; then
14310 enableval
=$enable_aboutdlg;
14311 if test "$enableval" = yes; then
14312 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
14314 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
14320 LINE
=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
14321 if test "x$LINE" != x
; then
14322 eval "DEFAULT_$LINE"
14328 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14333 eval "$wx_cv_use_aboutdlg"
14334 if test "x$cache" = xyes; then
14335 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
14338 if test x"$enablestring" = xdisable; then
14339 if test $wxUSE_ABOUTDLG = yes; then
14345 result=$wxUSE_ABOUTDLG
14348 { echo "$as_me:$LINENO: result: $result" >&5
14349 echo "${ECHO_T}$result" >&6; }
14353 defaultval=$wxUSE_ALL_FEATURES
14354 if test -z "$defaultval"; then
14355 if test x"$enablestring" = xdisable; then
14362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
14363 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
14364 # Check whether --enable-choicedlg was given.
14365 if test "${enable_choicedlg+set}" = set; then
14366 enableval=$enable_choicedlg;
14367 if test "$enableval" = yes; then
14368 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
14370 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
14376 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
14377 if test "x$LINE" != x ; then
14378 eval "DEFAULT_$LINE"
14384 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14389 eval "$wx_cv_use_choicedlg"
14390 if test "x
$cache" = xyes; then
14391 echo "wxUSE_CHOICEDLG
=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
14394 if test x"$enablestring" = xdisable; then
14395 if test $wxUSE_CHOICEDLG = yes; then
14401 result=$wxUSE_CHOICEDLG
14404 { echo "$as_me:$LINENO: result
: $result" >&5
14405 echo "${ECHO_T}$result" >&6; }
14409 defaultval=$wxUSE_ALL_FEATURES
14410 if test -z "$defaultval"; then
14411 if test x"$enablestring" = xdisable; then
14418 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-coldlg" >&5
14419 echo $ECHO_N "checking
for --${enablestring:-enable}-coldlg...
$ECHO_C" >&6; }
14420 # Check whether --enable-coldlg was given.
14421 if test "${enable_coldlg+set}" = set; then
14422 enableval=$enable_coldlg;
14423 if test "$enableval" = yes; then
14424 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14426 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14432 LINE=`grep "^wxUSE_COLOURDLG
=" ${wx_arg_cache_file}`
14433 if test "x
$LINE" != x ; then
14434 eval "DEFAULT_
$LINE"
14440 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14445 eval "$wx_cv_use_coldlg"
14446 if test "x$cache" = xyes
; then
14447 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
14450 if test x
"$enablestring" = xdisable
; then
14451 if test $wxUSE_COLOURDLG = yes; then
14457 result
=$wxUSE_COLOURDLG
14460 { echo "$as_me:$LINENO: result: $result" >&5
14461 echo "${ECHO_T}$result" >&6; }
14465 defaultval
=$wxUSE_ALL_FEATURES
14466 if test -z "$defaultval"; then
14467 if test x
"$enablestring" = xdisable
; then
14474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
14475 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
14476 # Check whether --enable-filedlg was given.
14477 if test "${enable_filedlg+set}" = set; then
14478 enableval
=$enable_filedlg;
14479 if test "$enableval" = yes; then
14480 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
14482 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
14488 LINE
=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
14489 if test "x$LINE" != x
; then
14490 eval "DEFAULT_$LINE"
14496 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14501 eval "$wx_cv_use_filedlg"
14502 if test "x$cache" = xyes; then
14503 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
14506 if test x"$enablestring" = xdisable; then
14507 if test $wxUSE_FILEDLG = yes; then
14513 result=$wxUSE_FILEDLG
14516 { echo "$as_me:$LINENO: result: $result" >&5
14517 echo "${ECHO_T}$result" >&6; }
14521 defaultval=$wxUSE_ALL_FEATURES
14522 if test -z "$defaultval"; then
14523 if test x"$enablestring" = xdisable; then
14530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
14531 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
14532 # Check whether --enable-finddlg was given.
14533 if test "${enable_finddlg+set}" = set; then
14534 enableval=$enable_finddlg;
14535 if test "$enableval" = yes; then
14536 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
14538 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
14544 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14545 if test "x$LINE" != x ; then
14546 eval "DEFAULT_$LINE"
14552 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14557 eval "$wx_cv_use_finddlg"
14558 if test "x
$cache" = xyes; then
14559 echo "wxUSE_FINDREPLDLG
=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
14562 if test x"$enablestring" = xdisable; then
14563 if test $wxUSE_FINDREPLDLG = yes; then
14569 result=$wxUSE_FINDREPLDLG
14572 { echo "$as_me:$LINENO: result
: $result" >&5
14573 echo "${ECHO_T}$result" >&6; }
14577 defaultval=$wxUSE_ALL_FEATURES
14578 if test -z "$defaultval"; then
14579 if test x"$enablestring" = xdisable; then
14586 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontdlg" >&5
14587 echo $ECHO_N "checking
for --${enablestring:-enable}-fontdlg...
$ECHO_C" >&6; }
14588 # Check whether --enable-fontdlg was given.
14589 if test "${enable_fontdlg+set}" = set; then
14590 enableval=$enable_fontdlg;
14591 if test "$enableval" = yes; then
14592 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14594 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14600 LINE=`grep "^wxUSE_FONTDLG
=" ${wx_arg_cache_file}`
14601 if test "x
$LINE" != x ; then
14602 eval "DEFAULT_
$LINE"
14608 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14613 eval "$wx_cv_use_fontdlg"
14614 if test "x$cache" = xyes
; then
14615 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
14618 if test x
"$enablestring" = xdisable
; then
14619 if test $wxUSE_FONTDLG = yes; then
14625 result
=$wxUSE_FONTDLG
14628 { echo "$as_me:$LINENO: result: $result" >&5
14629 echo "${ECHO_T}$result" >&6; }
14633 defaultval
=$wxUSE_ALL_FEATURES
14634 if test -z "$defaultval"; then
14635 if test x
"$enablestring" = xdisable
; then
14642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14643 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14644 # Check whether --enable-dirdlg was given.
14645 if test "${enable_dirdlg+set}" = set; then
14646 enableval
=$enable_dirdlg;
14647 if test "$enableval" = yes; then
14648 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
14650 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
14656 LINE
=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14657 if test "x$LINE" != x
; then
14658 eval "DEFAULT_$LINE"
14664 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14669 eval "$wx_cv_use_dirdlg"
14670 if test "x$cache" = xyes; then
14671 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14674 if test x"$enablestring" = xdisable; then
14675 if test $wxUSE_DIRDLG = yes; then
14681 result=$wxUSE_DIRDLG
14684 { echo "$as_me:$LINENO: result: $result" >&5
14685 echo "${ECHO_T}$result" >&6; }
14689 defaultval=$wxUSE_ALL_FEATURES
14690 if test -z "$defaultval"; then
14691 if test x"$enablestring" = xdisable; then
14698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14699 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14700 # Check whether --enable-msgdlg was given.
14701 if test "${enable_msgdlg+set}" = set; then
14702 enableval=$enable_msgdlg;
14703 if test "$enableval" = yes; then
14704 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
14706 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
14712 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14713 if test "x$LINE" != x ; then
14714 eval "DEFAULT_$LINE"
14720 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14725 eval "$wx_cv_use_msgdlg"
14726 if test "x
$cache" = xyes; then
14727 echo "wxUSE_MSGDLG
=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14730 if test x"$enablestring" = xdisable; then
14731 if test $wxUSE_MSGDLG = yes; then
14737 result=$wxUSE_MSGDLG
14740 { echo "$as_me:$LINENO: result
: $result" >&5
14741 echo "${ECHO_T}$result" >&6; }
14745 defaultval=$wxUSE_ALL_FEATURES
14746 if test -z "$defaultval"; then
14747 if test x"$enablestring" = xdisable; then
14754 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-numberdlg" >&5
14755 echo $ECHO_N "checking
for --${enablestring:-enable}-numberdlg...
$ECHO_C" >&6; }
14756 # Check whether --enable-numberdlg was given.
14757 if test "${enable_numberdlg+set}" = set; then
14758 enableval=$enable_numberdlg;
14759 if test "$enableval" = yes; then
14760 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14762 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14768 LINE=`grep "^wxUSE_NUMBERDLG
=" ${wx_arg_cache_file}`
14769 if test "x
$LINE" != x ; then
14770 eval "DEFAULT_
$LINE"
14776 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14781 eval "$wx_cv_use_numberdlg"
14782 if test "x$cache" = xyes
; then
14783 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14786 if test x
"$enablestring" = xdisable
; then
14787 if test $wxUSE_NUMBERDLG = yes; then
14793 result
=$wxUSE_NUMBERDLG
14796 { echo "$as_me:$LINENO: result: $result" >&5
14797 echo "${ECHO_T}$result" >&6; }
14801 defaultval
=$wxUSE_ALL_FEATURES
14802 if test -z "$defaultval"; then
14803 if test x
"$enablestring" = xdisable
; then
14810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14811 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14812 # Check whether --enable-splash was given.
14813 if test "${enable_splash+set}" = set; then
14814 enableval
=$enable_splash;
14815 if test "$enableval" = yes; then
14816 wx_cv_use_splash
='wxUSE_SPLASH=yes'
14818 wx_cv_use_splash
='wxUSE_SPLASH=no'
14824 LINE
=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14825 if test "x$LINE" != x
; then
14826 eval "DEFAULT_$LINE"
14832 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14837 eval "$wx_cv_use_splash"
14838 if test "x$cache" = xyes; then
14839 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14842 if test x"$enablestring" = xdisable; then
14843 if test $wxUSE_SPLASH = yes; then
14849 result=$wxUSE_SPLASH
14852 { echo "$as_me:$LINENO: result: $result" >&5
14853 echo "${ECHO_T}$result" >&6; }
14857 defaultval=$wxUSE_ALL_FEATURES
14858 if test -z "$defaultval"; then
14859 if test x"$enablestring" = xdisable; then
14866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14867 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14868 # Check whether --enable-textdlg was given.
14869 if test "${enable_textdlg+set}" = set; then
14870 enableval=$enable_textdlg;
14871 if test "$enableval" = yes; then
14872 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
14874 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
14880 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14881 if test "x$LINE" != x ; then
14882 eval "DEFAULT_$LINE"
14888 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14893 eval "$wx_cv_use_textdlg"
14894 if test "x
$cache" = xyes; then
14895 echo "wxUSE_TEXTDLG
=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14898 if test x"$enablestring" = xdisable; then
14899 if test $wxUSE_TEXTDLG = yes; then
14905 result=$wxUSE_TEXTDLG
14908 { echo "$as_me:$LINENO: result
: $result" >&5
14909 echo "${ECHO_T}$result" >&6; }
14913 defaultval=$wxUSE_ALL_FEATURES
14914 if test -z "$defaultval"; then
14915 if test x"$enablestring" = xdisable; then
14922 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipdlg" >&5
14923 echo $ECHO_N "checking
for --${enablestring:-enable}-tipdlg...
$ECHO_C" >&6; }
14924 # Check whether --enable-tipdlg was given.
14925 if test "${enable_tipdlg+set}" = set; then
14926 enableval=$enable_tipdlg;
14927 if test "$enableval" = yes; then
14928 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14930 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14936 LINE=`grep "^wxUSE_STARTUP_TIPS
=" ${wx_arg_cache_file}`
14937 if test "x
$LINE" != x ; then
14938 eval "DEFAULT_
$LINE"
14944 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14949 eval "$wx_cv_use_tipdlg"
14950 if test "x$cache" = xyes
; then
14951 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14954 if test x
"$enablestring" = xdisable
; then
14955 if test $wxUSE_STARTUP_TIPS = yes; then
14961 result
=$wxUSE_STARTUP_TIPS
14964 { echo "$as_me:$LINENO: result: $result" >&5
14965 echo "${ECHO_T}$result" >&6; }
14969 defaultval
=$wxUSE_ALL_FEATURES
14970 if test -z "$defaultval"; then
14971 if test x
"$enablestring" = xdisable
; then
14978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14979 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14980 # Check whether --enable-progressdlg was given.
14981 if test "${enable_progressdlg+set}" = set; then
14982 enableval
=$enable_progressdlg;
14983 if test "$enableval" = yes; then
14984 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
14986 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
14992 LINE
=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14993 if test "x$LINE" != x
; then
14994 eval "DEFAULT_$LINE"
15000 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
15005 eval "$wx_cv_use_progressdlg"
15006 if test "x$cache" = xyes; then
15007 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
15010 if test x"$enablestring" = xdisable; then
15011 if test $wxUSE_PROGRESSDLG = yes; then
15017 result=$wxUSE_PROGRESSDLG
15020 { echo "$as_me:$LINENO: result: $result" >&5
15021 echo "${ECHO_T}$result" >&6; }
15025 defaultval=$wxUSE_ALL_FEATURES
15026 if test -z "$defaultval"; then
15027 if test x"$enablestring" = xdisable; then
15034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
15035 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
15036 # Check whether --enable-wizarddlg was given.
15037 if test "${enable_wizarddlg+set}" = set; then
15038 enableval=$enable_wizarddlg;
15039 if test "$enableval" = yes; then
15040 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
15042 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
15048 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
15049 if test "x$LINE" != x ; then
15050 eval "DEFAULT_$LINE"
15056 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
15061 eval "$wx_cv_use_wizarddlg"
15062 if test "x
$cache" = xyes; then
15063 echo "wxUSE_WIZARDDLG
=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
15066 if test x"$enablestring" = xdisable; then
15067 if test $wxUSE_WIZARDDLG = yes; then
15073 result=$wxUSE_WIZARDDLG
15076 { echo "$as_me:$LINENO: result
: $result" >&5
15077 echo "${ECHO_T}$result" >&6; }
15083 defaultval=$wxUSE_ALL_FEATURES
15084 if test -z "$defaultval"; then
15085 if test x"$enablestring" = xdisable; then
15092 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-menus" >&5
15093 echo $ECHO_N "checking
for --${enablestring:-enable}-menus...
$ECHO_C" >&6; }
15094 # Check whether --enable-menus was given.
15095 if test "${enable_menus+set}" = set; then
15096 enableval=$enable_menus;
15097 if test "$enableval" = yes; then
15098 wx_cv_use_menus='wxUSE_MENUS=yes'
15100 wx_cv_use_menus='wxUSE_MENUS=no'
15106 LINE=`grep "^wxUSE_MENUS
=" ${wx_arg_cache_file}`
15107 if test "x
$LINE" != x ; then
15108 eval "DEFAULT_
$LINE"
15114 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15119 eval "$wx_cv_use_menus"
15120 if test "x$cache" = xyes
; then
15121 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
15124 if test x
"$enablestring" = xdisable
; then
15125 if test $wxUSE_MENUS = yes; then
15131 result
=$wxUSE_MENUS
15134 { echo "$as_me:$LINENO: result: $result" >&5
15135 echo "${ECHO_T}$result" >&6; }
15139 defaultval
=$wxUSE_ALL_FEATURES
15140 if test -z "$defaultval"; then
15141 if test x
"$enablestring" = xdisable
; then
15148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
15149 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
15150 # Check whether --enable-miniframe was given.
15151 if test "${enable_miniframe+set}" = set; then
15152 enableval
=$enable_miniframe;
15153 if test "$enableval" = yes; then
15154 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
15156 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
15162 LINE
=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
15163 if test "x$LINE" != x
; then
15164 eval "DEFAULT_$LINE"
15170 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15175 eval "$wx_cv_use_miniframe"
15176 if test "x$cache" = xyes; then
15177 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
15180 if test x"$enablestring" = xdisable; then
15181 if test $wxUSE_MINIFRAME = yes; then
15187 result=$wxUSE_MINIFRAME
15190 { echo "$as_me:$LINENO: result: $result" >&5
15191 echo "${ECHO_T}$result" >&6; }
15195 defaultval=$wxUSE_ALL_FEATURES
15196 if test -z "$defaultval"; then
15197 if test x"$enablestring" = xdisable; then
15204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
15205 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
15206 # Check whether --enable-tooltips was given.
15207 if test "${enable_tooltips+set}" = set; then
15208 enableval=$enable_tooltips;
15209 if test "$enableval" = yes; then
15210 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
15212 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
15218 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
15219 if test "x$LINE" != x ; then
15220 eval "DEFAULT_$LINE"
15226 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15231 eval "$wx_cv_use_tooltips"
15232 if test "x
$cache" = xyes; then
15233 echo "wxUSE_TOOLTIPS
=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
15236 if test x"$enablestring" = xdisable; then
15237 if test $wxUSE_TOOLTIPS = yes; then
15243 result=$wxUSE_TOOLTIPS
15246 { echo "$as_me:$LINENO: result
: $result" >&5
15247 echo "${ECHO_T}$result" >&6; }
15251 defaultval=$wxUSE_ALL_FEATURES
15252 if test -z "$defaultval"; then
15253 if test x"$enablestring" = xdisable; then
15260 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splines" >&5
15261 echo $ECHO_N "checking
for --${enablestring:-enable}-splines...
$ECHO_C" >&6; }
15262 # Check whether --enable-splines was given.
15263 if test "${enable_splines+set}" = set; then
15264 enableval=$enable_splines;
15265 if test "$enableval" = yes; then
15266 wx_cv_use_splines='wxUSE_SPLINES=yes'
15268 wx_cv_use_splines='wxUSE_SPLINES=no'
15274 LINE=`grep "^wxUSE_SPLINES
=" ${wx_arg_cache_file}`
15275 if test "x
$LINE" != x ; then
15276 eval "DEFAULT_
$LINE"
15282 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15287 eval "$wx_cv_use_splines"
15288 if test "x$cache" = xyes
; then
15289 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
15292 if test x
"$enablestring" = xdisable
; then
15293 if test $wxUSE_SPLINES = yes; then
15299 result
=$wxUSE_SPLINES
15302 { echo "$as_me:$LINENO: result: $result" >&5
15303 echo "${ECHO_T}$result" >&6; }
15307 defaultval
=$wxUSE_ALL_FEATURES
15308 if test -z "$defaultval"; then
15309 if test x
"$enablestring" = xdisable
; then
15316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
15317 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
15318 # Check whether --enable-mousewheel was given.
15319 if test "${enable_mousewheel+set}" = set; then
15320 enableval
=$enable_mousewheel;
15321 if test "$enableval" = yes; then
15322 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
15324 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
15330 LINE
=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
15331 if test "x$LINE" != x
; then
15332 eval "DEFAULT_$LINE"
15338 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15343 eval "$wx_cv_use_mousewheel"
15344 if test "x$cache" = xyes; then
15345 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
15348 if test x"$enablestring" = xdisable; then
15349 if test $wxUSE_MOUSEWHEEL = yes; then
15355 result=$wxUSE_MOUSEWHEEL
15358 { echo "$as_me:$LINENO: result: $result" >&5
15359 echo "${ECHO_T}$result" >&6; }
15363 defaultval=$wxUSE_ALL_FEATURES
15364 if test -z "$defaultval"; then
15365 if test x"$enablestring" = xdisable; then
15372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
15373 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
15374 # Check whether --enable-validators was given.
15375 if test "${enable_validators+set}" = set; then
15376 enableval=$enable_validators;
15377 if test "$enableval" = yes; then
15378 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
15380 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
15386 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
15387 if test "x$LINE" != x ; then
15388 eval "DEFAULT_$LINE"
15394 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15399 eval "$wx_cv_use_validators"
15400 if test "x
$cache" = xyes; then
15401 echo "wxUSE_VALIDATORS
=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
15404 if test x"$enablestring" = xdisable; then
15405 if test $wxUSE_VALIDATORS = yes; then
15411 result=$wxUSE_VALIDATORS
15414 { echo "$as_me:$LINENO: result
: $result" >&5
15415 echo "${ECHO_T}$result" >&6; }
15419 defaultval=$wxUSE_ALL_FEATURES
15420 if test -z "$defaultval"; then
15421 if test x"$enablestring" = xdisable; then
15428 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-busyinfo" >&5
15429 echo $ECHO_N "checking
for --${enablestring:-enable}-busyinfo...
$ECHO_C" >&6; }
15430 # Check whether --enable-busyinfo was given.
15431 if test "${enable_busyinfo+set}" = set; then
15432 enableval=$enable_busyinfo;
15433 if test "$enableval" = yes; then
15434 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15436 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15442 LINE=`grep "^wxUSE_BUSYINFO
=" ${wx_arg_cache_file}`
15443 if test "x
$LINE" != x ; then
15444 eval "DEFAULT_
$LINE"
15450 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15455 eval "$wx_cv_use_busyinfo"
15456 if test "x$cache" = xyes
; then
15457 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
15460 if test x
"$enablestring" = xdisable
; then
15461 if test $wxUSE_BUSYINFO = yes; then
15467 result
=$wxUSE_BUSYINFO
15470 { echo "$as_me:$LINENO: result: $result" >&5
15471 echo "${ECHO_T}$result" >&6; }
15475 defaultval
=$wxUSE_ALL_FEATURES
15476 if test -z "$defaultval"; then
15477 if test x
"$enablestring" = xdisable
; then
15484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
15485 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
15486 # Check whether --enable-joystick was given.
15487 if test "${enable_joystick+set}" = set; then
15488 enableval
=$enable_joystick;
15489 if test "$enableval" = yes; then
15490 wx_cv_use_joystick
='wxUSE_JOYSTICK=yes'
15492 wx_cv_use_joystick
='wxUSE_JOYSTICK=no'
15498 LINE
=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
15499 if test "x$LINE" != x
; then
15500 eval "DEFAULT_$LINE"
15506 wx_cv_use_joystick
='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15511 eval "$wx_cv_use_joystick"
15512 if test "x$cache" = xyes; then
15513 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
15516 if test x"$enablestring" = xdisable; then
15517 if test $wxUSE_JOYSTICK = yes; then
15523 result=$wxUSE_JOYSTICK
15526 { echo "$as_me:$LINENO: result: $result" >&5
15527 echo "${ECHO_T}$result" >&6; }
15531 defaultval=$wxUSE_ALL_FEATURES
15532 if test -z "$defaultval"; then
15533 if test x"$enablestring" = xdisable; then
15540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
15541 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
15542 # Check whether --enable-metafile was given.
15543 if test "${enable_metafile+set}" = set; then
15544 enableval=$enable_metafile;
15545 if test "$enableval" = yes; then
15546 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
15548 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
15554 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15555 if test "x$LINE" != x ; then
15556 eval "DEFAULT_$LINE"
15562 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15567 eval "$wx_cv_use_metafile"
15568 if test "x
$cache" = xyes; then
15569 echo "wxUSE_METAFILE
=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
15572 if test x"$enablestring" = xdisable; then
15573 if test $wxUSE_METAFILE = yes; then
15579 result=$wxUSE_METAFILE
15582 { echo "$as_me:$LINENO: result
: $result" >&5
15583 echo "${ECHO_T}$result" >&6; }
15587 defaultval=$wxUSE_ALL_FEATURES
15588 if test -z "$defaultval"; then
15589 if test x"$enablestring" = xdisable; then
15596 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dragimage" >&5
15597 echo $ECHO_N "checking
for --${enablestring:-enable}-dragimage...
$ECHO_C" >&6; }
15598 # Check whether --enable-dragimage was given.
15599 if test "${enable_dragimage+set}" = set; then
15600 enableval=$enable_dragimage;
15601 if test "$enableval" = yes; then
15602 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15604 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15610 LINE=`grep "^wxUSE_DRAGIMAGE
=" ${wx_arg_cache_file}`
15611 if test "x
$LINE" != x ; then
15612 eval "DEFAULT_
$LINE"
15618 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15623 eval "$wx_cv_use_dragimage"
15624 if test "x$cache" = xyes
; then
15625 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
15628 if test x
"$enablestring" = xdisable
; then
15629 if test $wxUSE_DRAGIMAGE = yes; then
15635 result
=$wxUSE_DRAGIMAGE
15638 { echo "$as_me:$LINENO: result: $result" >&5
15639 echo "${ECHO_T}$result" >&6; }
15643 defaultval
=$wxUSE_ALL_FEATURES
15644 if test -z "$defaultval"; then
15645 if test x
"$enablestring" = xdisable
; then
15652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
15653 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
15654 # Check whether --enable-accessibility was given.
15655 if test "${enable_accessibility+set}" = set; then
15656 enableval
=$enable_accessibility;
15657 if test "$enableval" = yes; then
15658 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
15660 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
15666 LINE
=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15667 if test "x$LINE" != x
; then
15668 eval "DEFAULT_$LINE"
15674 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15679 eval "$wx_cv_use_accessibility"
15680 if test "x$cache" = xyes; then
15681 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15684 if test x"$enablestring" = xdisable; then
15685 if test $wxUSE_ACCESSIBILITY = yes; then
15691 result=$wxUSE_ACCESSIBILITY
15694 { echo "$as_me:$LINENO: result: $result" >&5
15695 echo "${ECHO_T}$result" >&6; }
15701 defaultval=$wxUSE_ALL_FEATURES
15702 if test -z "$defaultval"; then
15703 if test x"$enablestring" = xdisable; then
15710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15711 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15712 # Check whether --enable-palette was given.
15713 if test "${enable_palette+set}" = set; then
15714 enableval=$enable_palette;
15715 if test "$enableval" = yes; then
15716 wx_cv_use_palette='wxUSE_PALETTE
=yes'
15718 wx_cv_use_palette='wxUSE_PALETTE
=no
'
15724 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15725 if test "x$LINE" != x ; then
15726 eval "DEFAULT_$LINE"
15732 wx_cv_use_palette='wxUSE_PALETTE
=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15737 eval "$wx_cv_use_palette"
15738 if test "x
$cache" = xyes; then
15739 echo "wxUSE_PALETTE
=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15742 if test x"$enablestring" = xdisable; then
15743 if test $wxUSE_PALETTE = yes; then
15749 result=$wxUSE_PALETTE
15752 { echo "$as_me:$LINENO: result
: $result" >&5
15753 echo "${ECHO_T}$result" >&6; }
15757 defaultval=$wxUSE_ALL_FEATURES
15758 if test -z "$defaultval"; then
15759 if test x"$enablestring" = xdisable; then
15766 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-image" >&5
15767 echo $ECHO_N "checking
for --${enablestring:-enable}-image...
$ECHO_C" >&6; }
15768 # Check whether --enable-image was given.
15769 if test "${enable_image+set}" = set; then
15770 enableval=$enable_image;
15771 if test "$enableval" = yes; then
15772 wx_cv_use_image='wxUSE_IMAGE=yes'
15774 wx_cv_use_image='wxUSE_IMAGE=no'
15780 LINE=`grep "^wxUSE_IMAGE
=" ${wx_arg_cache_file}`
15781 if test "x
$LINE" != x ; then
15782 eval "DEFAULT_
$LINE"
15788 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15793 eval "$wx_cv_use_image"
15794 if test "x$cache" = xyes
; then
15795 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15798 if test x
"$enablestring" = xdisable
; then
15799 if test $wxUSE_IMAGE = yes; then
15805 result
=$wxUSE_IMAGE
15808 { echo "$as_me:$LINENO: result: $result" >&5
15809 echo "${ECHO_T}$result" >&6; }
15813 defaultval
=$wxUSE_ALL_FEATURES
15814 if test -z "$defaultval"; then
15815 if test x
"$enablestring" = xdisable
; then
15822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15823 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15824 # Check whether --enable-gif was given.
15825 if test "${enable_gif+set}" = set; then
15826 enableval
=$enable_gif;
15827 if test "$enableval" = yes; then
15828 wx_cv_use_gif
='wxUSE_GIF=yes'
15830 wx_cv_use_gif
='wxUSE_GIF=no'
15836 LINE
=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15837 if test "x$LINE" != x
; then
15838 eval "DEFAULT_$LINE"
15844 wx_cv_use_gif
='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15849 eval "$wx_cv_use_gif"
15850 if test "x$cache" = xyes; then
15851 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15854 if test x"$enablestring" = xdisable; then
15855 if test $wxUSE_GIF = yes; then
15864 { echo "$as_me:$LINENO: result: $result" >&5
15865 echo "${ECHO_T}$result" >&6; }
15869 defaultval=$wxUSE_ALL_FEATURES
15870 if test -z "$defaultval"; then
15871 if test x"$enablestring" = xdisable; then
15878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15879 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15880 # Check whether --enable-pcx was given.
15881 if test "${enable_pcx+set}" = set; then
15882 enableval=$enable_pcx;
15883 if test "$enableval" = yes; then
15884 wx_cv_use_pcx='wxUSE_PCX
=yes'
15886 wx_cv_use_pcx='wxUSE_PCX
=no
'
15892 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15893 if test "x$LINE" != x ; then
15894 eval "DEFAULT_$LINE"
15900 wx_cv_use_pcx='wxUSE_PCX
=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15905 eval "$wx_cv_use_pcx"
15906 if test "x
$cache" = xyes; then
15907 echo "wxUSE_PCX
=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15910 if test x"$enablestring" = xdisable; then
15911 if test $wxUSE_PCX = yes; then
15920 { echo "$as_me:$LINENO: result
: $result" >&5
15921 echo "${ECHO_T}$result" >&6; }
15925 defaultval=$wxUSE_ALL_FEATURES
15926 if test -z "$defaultval"; then
15927 if test x"$enablestring" = xdisable; then
15934 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tga" >&5
15935 echo $ECHO_N "checking
for --${enablestring:-enable}-tga...
$ECHO_C" >&6; }
15936 # Check whether --enable-tga was given.
15937 if test "${enable_tga+set}" = set; then
15938 enableval=$enable_tga;
15939 if test "$enableval" = yes; then
15940 wx_cv_use_tga='wxUSE_TGA=yes'
15942 wx_cv_use_tga='wxUSE_TGA=no'
15948 LINE=`grep "^wxUSE_TGA
=" ${wx_arg_cache_file}`
15949 if test "x
$LINE" != x ; then
15950 eval "DEFAULT_
$LINE"
15956 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15961 eval "$wx_cv_use_tga"
15962 if test "x$cache" = xyes
; then
15963 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15966 if test x
"$enablestring" = xdisable
; then
15967 if test $wxUSE_TGA = yes; then
15976 { echo "$as_me:$LINENO: result: $result" >&5
15977 echo "${ECHO_T}$result" >&6; }
15981 defaultval
=$wxUSE_ALL_FEATURES
15982 if test -z "$defaultval"; then
15983 if test x
"$enablestring" = xdisable
; then
15990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15991 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15992 # Check whether --enable-iff was given.
15993 if test "${enable_iff+set}" = set; then
15994 enableval
=$enable_iff;
15995 if test "$enableval" = yes; then
15996 wx_cv_use_iff
='wxUSE_IFF=yes'
15998 wx_cv_use_iff
='wxUSE_IFF=no'
16004 LINE
=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
16005 if test "x$LINE" != x
; then
16006 eval "DEFAULT_$LINE"
16012 wx_cv_use_iff
='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
16017 eval "$wx_cv_use_iff"
16018 if test "x$cache" = xyes; then
16019 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
16022 if test x"$enablestring" = xdisable; then
16023 if test $wxUSE_IFF = yes; then
16032 { echo "$as_me:$LINENO: result: $result" >&5
16033 echo "${ECHO_T}$result" >&6; }
16037 defaultval=$wxUSE_ALL_FEATURES
16038 if test -z "$defaultval"; then
16039 if test x"$enablestring" = xdisable; then
16046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
16047 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
16048 # Check whether --enable-pnm was given.
16049 if test "${enable_pnm+set}" = set; then
16050 enableval=$enable_pnm;
16051 if test "$enableval" = yes; then
16052 wx_cv_use_pnm='wxUSE_PNM
=yes'
16054 wx_cv_use_pnm='wxUSE_PNM
=no
'
16060 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
16061 if test "x$LINE" != x ; then
16062 eval "DEFAULT_$LINE"
16068 wx_cv_use_pnm='wxUSE_PNM
=${'DEFAULT_wxUSE_PNM":-$defaultval}"
16073 eval "$wx_cv_use_pnm"
16074 if test "x
$cache" = xyes; then
16075 echo "wxUSE_PNM
=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
16078 if test x"$enablestring" = xdisable; then
16079 if test $wxUSE_PNM = yes; then
16088 { echo "$as_me:$LINENO: result
: $result" >&5
16089 echo "${ECHO_T}$result" >&6; }
16093 defaultval=$wxUSE_ALL_FEATURES
16094 if test -z "$defaultval"; then
16095 if test x"$enablestring" = xdisable; then
16102 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xpm" >&5
16103 echo $ECHO_N "checking
for --${enablestring:-enable}-xpm...
$ECHO_C" >&6; }
16104 # Check whether --enable-xpm was given.
16105 if test "${enable_xpm+set}" = set; then
16106 enableval=$enable_xpm;
16107 if test "$enableval" = yes; then
16108 wx_cv_use_xpm='wxUSE_XPM=yes'
16110 wx_cv_use_xpm='wxUSE_XPM=no'
16116 LINE=`grep "^wxUSE_XPM
=" ${wx_arg_cache_file}`
16117 if test "x
$LINE" != x ; then
16118 eval "DEFAULT_
$LINE"
16124 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
16129 eval "$wx_cv_use_xpm"
16130 if test "x$cache" = xyes
; then
16131 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
16134 if test x
"$enablestring" = xdisable
; then
16135 if test $wxUSE_XPM = yes; then
16144 { echo "$as_me:$LINENO: result: $result" >&5
16145 echo "${ECHO_T}$result" >&6; }
16149 defaultval
=$wxUSE_ALL_FEATURES
16150 if test -z "$defaultval"; then
16151 if test x
"$enablestring" = xdisable
; then
16158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
16159 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
16160 # Check whether --enable-ico_cur was given.
16161 if test "${enable_ico_cur+set}" = set; then
16162 enableval
=$enable_ico_cur;
16163 if test "$enableval" = yes; then
16164 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
16166 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
16172 LINE
=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
16173 if test "x$LINE" != x
; then
16174 eval "DEFAULT_$LINE"
16180 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16185 eval "$wx_cv_use_ico_cur"
16186 if test "x$cache" = xyes; then
16187 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
16190 if test x"$enablestring" = xdisable; then
16191 if test $wxUSE_ICO_CUR = yes; then
16197 result=$wxUSE_ICO_CUR
16200 { echo "$as_me:$LINENO: result: $result" >&5
16201 echo "${ECHO_T}$result" >&6; }
16207 defaultval=$wxUSE_ALL_FEATURES
16208 if test -z "$defaultval"; then
16209 if test x"$enablestring" = xdisable; then
16216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
16217 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
16218 # Check whether --enable-dccache was given.
16219 if test "${enable_dccache+set}" = set; then
16220 enableval=$enable_dccache;
16221 if test "$enableval" = yes; then
16222 wx_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
16224 wx_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
16230 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
16231 if test "x$LINE" != x ; then
16232 eval "DEFAULT_$LINE"
16238 wx_cv_use_dccache='wxUSE_DC_CACHEING
=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16243 eval "$wx_cv_use_dccache"
16244 if test "x
$cache" = xyes; then
16245 echo "wxUSE_DC_CACHEING
=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
16248 if test x"$enablestring" = xdisable; then
16249 if test $wxUSE_DC_CACHEING = yes; then
16255 result=$wxUSE_DC_CACHEING
16258 { echo "$as_me:$LINENO: result
: $result" >&5
16259 echo "${ECHO_T}$result" >&6; }
16263 defaultval=$wxUSE_ALL_FEATURES
16264 if test -z "$defaultval"; then
16265 if test x"$enablestring" = xdisable; then
16272 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ps-in-msw" >&5
16273 echo $ECHO_N "checking
for --${enablestring:-enable}-ps-in-msw...
$ECHO_C" >&6; }
16274 # Check whether --enable-ps-in-msw was given.
16275 if test "${enable_ps_in_msw+set}" = set; then
16276 enableval=$enable_ps_in_msw;
16277 if test "$enableval" = yes; then
16278 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16280 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16286 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=" ${wx_arg_cache_file}`
16287 if test "x
$LINE" != x ; then
16288 eval "DEFAULT_
$LINE"
16294 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16299 eval "$wx_cv_use_ps_in_msw"
16300 if test "x$cache" = xyes
; then
16301 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
16304 if test x
"$enablestring" = xdisable
; then
16305 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
16311 result
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16314 { echo "$as_me:$LINENO: result: $result" >&5
16315 echo "${ECHO_T}$result" >&6; }
16319 defaultval
=$wxUSE_ALL_FEATURES
16320 if test -z "$defaultval"; then
16321 if test x
"$enablestring" = xdisable
; then
16328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
16329 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
16330 # Check whether --enable-ownerdrawn was given.
16331 if test "${enable_ownerdrawn+set}" = set; then
16332 enableval
=$enable_ownerdrawn;
16333 if test "$enableval" = yes; then
16334 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=yes'
16336 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=no'
16342 LINE
=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
16343 if test "x$LINE" != x
; then
16344 eval "DEFAULT_$LINE"
16350 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16355 eval "$wx_cv_use_ownerdrawn"
16356 if test "x$cache" = xyes; then
16357 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
16360 if test x"$enablestring" = xdisable; then
16361 if test $wxUSE_OWNER_DRAWN = yes; then
16367 result=$wxUSE_OWNER_DRAWN
16370 { echo "$as_me:$LINENO: result: $result" >&5
16371 echo "${ECHO_T}$result" >&6; }
16375 defaultval=$wxUSE_ALL_FEATURES
16376 if test -z "$defaultval"; then
16377 if test x"$enablestring" = xdisable; then
16384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
16385 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
16386 # Check whether --enable-uxtheme was given.
16387 if test "${enable_uxtheme+set}" = set; then
16388 enableval=$enable_uxtheme;
16389 if test "$enableval" = yes; then
16390 wx_cv_use_uxtheme='wxUSE_UXTHEME
=yes'
16392 wx_cv_use_uxtheme='wxUSE_UXTHEME
=no
'
16398 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
16399 if test "x$LINE" != x ; then
16400 eval "DEFAULT_$LINE"
16406 wx_cv_use_uxtheme='wxUSE_UXTHEME
=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16411 eval "$wx_cv_use_uxtheme"
16412 if test "x
$cache" = xyes; then
16413 echo "wxUSE_UXTHEME
=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
16416 if test x"$enablestring" = xdisable; then
16417 if test $wxUSE_UXTHEME = yes; then
16423 result=$wxUSE_UXTHEME
16426 { echo "$as_me:$LINENO: result
: $result" >&5
16427 echo "${ECHO_T}$result" >&6; }
16431 defaultval=$wxUSE_ALL_FEATURES
16432 if test -z "$defaultval"; then
16433 if test x"$enablestring" = xdisable; then
16440 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wxdib" >&5
16441 echo $ECHO_N "checking
for --${enablestring:-enable}-wxdib...
$ECHO_C" >&6; }
16442 # Check whether --enable-wxdib was given.
16443 if test "${enable_wxdib+set}" = set; then
16444 enableval=$enable_wxdib;
16445 if test "$enableval" = yes; then
16446 wx_cv_use_wxdib='wxUSE_DIB=yes'
16448 wx_cv_use_wxdib='wxUSE_DIB=no'
16454 LINE=`grep "^wxUSE_DIB
=" ${wx_arg_cache_file}`
16455 if test "x
$LINE" != x ; then
16456 eval "DEFAULT_
$LINE"
16462 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16467 eval "$wx_cv_use_wxdib"
16468 if test "x$cache" = xyes
; then
16469 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
16472 if test x
"$enablestring" = xdisable
; then
16473 if test $wxUSE_DIB = yes; then
16482 { echo "$as_me:$LINENO: result: $result" >&5
16483 echo "${ECHO_T}$result" >&6; }
16489 echo "saving argument cache $wx_arg_cache_file"
16490 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
16494 { echo "$as_me:$LINENO: checking for toolkit" >&5
16495 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
16497 # In Wine, we need to default to MSW, not GTK or MOTIF
16498 if test "$wxUSE_WINE" = "yes"; then
16499 DEFAULT_DEFAULT_wxUSE_GTK
=0
16500 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
16501 DEFAULT_DEFAULT_wxUSE_MSW
=1
16504 CXX
=${CXX:-wineg++}
16508 if test "$wxUSE_GUI" = "yes"; then
16510 if test "$USE_BEOS" = 1; then
16511 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
16512 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
16513 { (exit 1); exit 1; }; }
16516 if test "$TOOLKIT_GIVEN" = 1; then
16517 for toolkit
in $ALL_TOOLKITS; do
16519 eval "value=\$${var}"
16520 if test "x$value" = "xno"; then
16522 elif test "x$value" != "x"; then
16526 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
16527 eval "wx${toolkit}_VERSION=$value"
16531 for toolkit
in $ALL_TOOLKITS; do
16532 if test "$has_toolkit_in_cache" != 1; then
16533 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
16535 var
=DEFAULT_wxUSE_
$toolkit
16537 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
16538 if test "x$version" != "x"; then
16539 eval "wx${toolkit}_VERSION=$version"
16542 eval "wxUSE_$toolkit=\$${var}"
16546 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
16547 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
16548 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
16551 *-pc-os2_emx | *-pc-os2-emx )
16552 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
16555 case "$NUM_TOOLKITS" in
16559 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
16560 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
16561 { (exit 1); exit 1; }; }
16564 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
16565 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
16566 { (exit 1); exit 1; }; }
16569 # to be removed when --disable-gtk2 isn't needed
16570 if test "x$wxUSE_GTK2" = "xyes"; then
16572 elif test "x$wxUSE_GTK2" = "xno"; then
16576 for toolkit
in $ALL_TOOLKITS; do
16578 eval "value=\$${var}"
16579 if test "x$value" != x
; then
16580 cache_var
=CACHE_
$toolkit
16581 eval "cache=\$${cache_var}"
16582 if test "$cache" = 1; then
16583 echo "$var=$value" >> ${wx_arg_cache_file}
16584 eval "version=\$wx${toolkit}_VERSION"
16585 if test "x$version" != "x"; then
16586 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
16589 if test "$value" = 1; then
16590 toolkit_echo
=`echo $toolkit | tr A-Z a-z`
16591 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
16592 echo "${ECHO_T}$toolkit_echo" >&6; }
16597 if test "x$host_alias" != "x"; then
16598 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
16599 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
16601 { echo "$as_me:$LINENO: result: base only" >&5
16602 echo "${ECHO_T}base only" >&6; }
16607 cat >confcache
<<\_ACEOF
16608 # This file is a shell script that caches the results of configure
16609 # tests run on this system so they can be shared between configure
16610 # scripts and configure runs, see configure's option --config-cache.
16611 # It is not useful on other systems. If it contains results you don't
16612 # want to keep, you may remove or edit it.
16614 # config.status only pays attention to the cache file if you give it
16615 # the --recheck option to rerun configure.
16617 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16618 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16619 # following values.
16623 # The following way of writing the cache mishandles newlines in values,
16624 # but we know of no workaround that is simple, portable, and efficient.
16625 # So, we kill variables containing newlines.
16626 # Ultrix sh set writes to stderr and can't be redirected directly,
16627 # and sets the high bit in the cache file unless we assign to the vars.
16629 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16630 eval ac_val
=\$
$ac_var
16634 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16635 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16638 _
| IFS
| as_nl
) ;; #(
16639 *) $as_unset $ac_var ;;
16645 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16646 *${as_nl}ac_space
=\
*)
16647 # `set' does not quote correctly, so add quotes (double-quote
16648 # substitution turns \\\\ into \\, and sed turns \\ into \).
16651 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16654 # `set' quotes correctly as required by POSIX, so do not add quotes.
16655 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16664 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16666 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16668 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16669 if test -w "$cache_file"; then
16670 test "x$cache_file" != "x/dev/null" &&
16671 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
16672 echo "$as_me: updating cache $cache_file" >&6;}
16673 cat confcache
>$cache_file
16675 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16676 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16686 ac_cpp
='$CPP $CPPFLAGS'
16687 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16688 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16689 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16690 if test -n "$ac_tool_prefix"; then
16691 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16692 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
16693 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16695 if test "${ac_cv_prog_CC+set}" = set; then
16696 echo $ECHO_N "(cached) $ECHO_C" >&6
16698 if test -n "$CC"; then
16699 ac_cv_prog_CC
="$CC" # Let the user override the test.
16701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16702 for as_dir
in $PATH
16705 test -z "$as_dir" && as_dir
=.
16706 for ac_exec_ext
in '' $ac_executable_extensions; do
16707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16708 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
16709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16719 if test -n "$CC"; then
16720 { echo "$as_me:$LINENO: result: $CC" >&5
16721 echo "${ECHO_T}$CC" >&6; }
16723 { echo "$as_me:$LINENO: result: no" >&5
16724 echo "${ECHO_T}no" >&6; }
16729 if test -z "$ac_cv_prog_CC"; then
16731 # Extract the first word of "gcc", so it can be a program name with args.
16732 set dummy gcc
; ac_word
=$2
16733 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16735 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16736 echo $ECHO_N "(cached) $ECHO_C" >&6
16738 if test -n "$ac_ct_CC"; then
16739 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16742 for as_dir
in $PATH
16745 test -z "$as_dir" && as_dir
=.
16746 for ac_exec_ext
in '' $ac_executable_extensions; do
16747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16748 ac_cv_prog_ac_ct_CC
="gcc"
16749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16758 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16759 if test -n "$ac_ct_CC"; then
16760 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16761 echo "${ECHO_T}$ac_ct_CC" >&6; }
16763 { echo "$as_me:$LINENO: result: no" >&5
16764 echo "${ECHO_T}no" >&6; }
16767 if test "x$ac_ct_CC" = x
; then
16770 case $cross_compiling:$ac_tool_warned in
16772 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16773 whose name does not start with the host triplet. If you think this
16774 configuration is useful to you, please write to autoconf@gnu.org." >&5
16775 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16776 whose name does not start with the host triplet. If you think this
16777 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16778 ac_tool_warned
=yes ;;
16783 CC
="$ac_cv_prog_CC"
16786 if test -z "$CC"; then
16787 if test -n "$ac_tool_prefix"; then
16788 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16789 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
16790 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16792 if test "${ac_cv_prog_CC+set}" = set; then
16793 echo $ECHO_N "(cached) $ECHO_C" >&6
16795 if test -n "$CC"; then
16796 ac_cv_prog_CC
="$CC" # Let the user override the test.
16798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16799 for as_dir
in $PATH
16802 test -z "$as_dir" && as_dir
=.
16803 for ac_exec_ext
in '' $ac_executable_extensions; do
16804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16805 ac_cv_prog_CC
="${ac_tool_prefix}cc"
16806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16816 if test -n "$CC"; then
16817 { echo "$as_me:$LINENO: result: $CC" >&5
16818 echo "${ECHO_T}$CC" >&6; }
16820 { echo "$as_me:$LINENO: result: no" >&5
16821 echo "${ECHO_T}no" >&6; }
16827 if test -z "$CC"; then
16828 # Extract the first word of "cc", so it can be a program name with args.
16829 set dummy cc
; ac_word
=$2
16830 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16832 if test "${ac_cv_prog_CC+set}" = set; then
16833 echo $ECHO_N "(cached) $ECHO_C" >&6
16835 if test -n "$CC"; then
16836 ac_cv_prog_CC
="$CC" # Let the user override the test.
16838 ac_prog_rejected
=no
16839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16840 for as_dir
in $PATH
16843 test -z "$as_dir" && as_dir
=.
16844 for ac_exec_ext
in '' $ac_executable_extensions; do
16845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16846 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16847 ac_prog_rejected
=yes
16851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16858 if test $ac_prog_rejected = yes; then
16859 # We found a bogon in the path, so make sure we never use it.
16860 set dummy
$ac_cv_prog_CC
16862 if test $# != 0; then
16863 # We chose a different compiler from the bogus one.
16864 # However, it has the same basename, so the bogon will be chosen
16865 # first if we set CC to just the basename; use the full file name.
16867 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
16873 if test -n "$CC"; then
16874 { echo "$as_me:$LINENO: result: $CC" >&5
16875 echo "${ECHO_T}$CC" >&6; }
16877 { echo "$as_me:$LINENO: result: no" >&5
16878 echo "${ECHO_T}no" >&6; }
16883 if test -z "$CC"; then
16884 if test -n "$ac_tool_prefix"; then
16885 for ac_prog
in cl.exe
16887 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16888 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16889 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16891 if test "${ac_cv_prog_CC+set}" = set; then
16892 echo $ECHO_N "(cached) $ECHO_C" >&6
16894 if test -n "$CC"; then
16895 ac_cv_prog_CC
="$CC" # Let the user override the test.
16897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16898 for as_dir
in $PATH
16901 test -z "$as_dir" && as_dir
=.
16902 for ac_exec_ext
in '' $ac_executable_extensions; do
16903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16904 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
16905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16915 if test -n "$CC"; then
16916 { echo "$as_me:$LINENO: result: $CC" >&5
16917 echo "${ECHO_T}$CC" >&6; }
16919 { echo "$as_me:$LINENO: result: no" >&5
16920 echo "${ECHO_T}no" >&6; }
16924 test -n "$CC" && break
16927 if test -z "$CC"; then
16929 for ac_prog
in cl.exe
16931 # Extract the first word of "$ac_prog", so it can be a program name with args.
16932 set dummy
$ac_prog; ac_word
=$2
16933 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16935 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16936 echo $ECHO_N "(cached) $ECHO_C" >&6
16938 if test -n "$ac_ct_CC"; then
16939 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16942 for as_dir
in $PATH
16945 test -z "$as_dir" && as_dir
=.
16946 for ac_exec_ext
in '' $ac_executable_extensions; do
16947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16948 ac_cv_prog_ac_ct_CC
="$ac_prog"
16949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16958 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16959 if test -n "$ac_ct_CC"; then
16960 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16961 echo "${ECHO_T}$ac_ct_CC" >&6; }
16963 { echo "$as_me:$LINENO: result: no" >&5
16964 echo "${ECHO_T}no" >&6; }
16968 test -n "$ac_ct_CC" && break
16971 if test "x$ac_ct_CC" = x
; then
16974 case $cross_compiling:$ac_tool_warned in
16976 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16977 whose name does not start with the host triplet. If you think this
16978 configuration is useful to you, please write to autoconf@gnu.org." >&5
16979 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16980 whose name does not start with the host triplet. If you think this
16981 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16982 ac_tool_warned
=yes ;;
16991 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16992 See \`config.log' for more details." >&5
16993 echo "$as_me: error: no acceptable C compiler found in \$PATH
16994 See \`config.log' for more details." >&2;}
16995 { (exit 1); exit 1; }; }
16997 # Provide some information about the compiler.
16998 echo "$as_me:$LINENO: checking for C compiler version" >&5
16999 ac_compiler
=`set X $ac_compile; echo $2`
17000 { (ac_try
="$ac_compiler --version >&5"
17001 case "(($ac_try" in
17002 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17003 *) ac_try_echo=$ac_try;;
17005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17006 (eval "$ac_compiler --version >&5") 2>&5
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); }
17010 { (ac_try="$ac_compiler -v >&5"
17011 case "(($ac_try" in
17012 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17013 *) ac_try_echo
=$ac_try;;
17015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17016 (eval "$ac_compiler -v >&5") 2>&5
17018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17019 (exit $ac_status); }
17020 { (ac_try
="$ac_compiler -V >&5"
17021 case "(($ac_try" in
17022 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17023 *) ac_try_echo=$ac_try;;
17025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17026 (eval "$ac_compiler -V >&5") 2>&5
17028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17029 (exit $ac_status); }
17031 cat >conftest.$ac_ext <<_ACEOF
17034 cat confdefs.h >>conftest.$ac_ext
17035 cat >>conftest.$ac_ext <<_ACEOF
17036 /* end confdefs.h. */
17046 ac_clean_files_save=$ac_clean_files
17047 ac_clean_files="$ac_clean_files a.out a.exe b.out"
17048 # Try to create an executable without -o first, disregard a.out.
17049 # It will help us diagnose broken compilers, and finding out an intuition
17051 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
17052 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
17053 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
17055 # List of possible output files, starting from the most likely.
17056 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
17057 # only as a last resort. b.out is created by i960 compilers.
17058 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
17060 # The IRIX 6 linker writes into existing files which may not be
17061 # executable, retaining their permissions. Remove them first so a
17062 # subsequent execution test works.
17064 for ac_file in $ac_files
17067 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17068 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
17073 if { (ac_try="$ac_link_default"
17074 case "(($ac_try" in
17075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17076 *) ac_try_echo=$ac_try;;
17078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17079 (eval "$ac_link_default") 2>&5
17081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082 (exit $ac_status); }; then
17083 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
17084 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
17085 # in a Makefile. We should not override ac_cv_exeext if it was cached,
17086 # so that the user can short-circuit this test for compilers unknown to
17088 for ac_file
in $ac_files ''
17090 test -f "$ac_file" || continue
17092 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
17095 # We found the default executable, but exeext='' is most
17099 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
17101 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
17103 # We set ac_cv_exeext here because the later test for it is not
17104 # safe: cross compilers may not add the suffix if given an `-o'
17105 # argument, so we may need to know it at that point already.
17106 # Even if this section looks crufty: it has the advantage of
17107 # actually working.
17113 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
17119 { echo "$as_me:$LINENO: result: $ac_file" >&5
17120 echo "${ECHO_T}$ac_file" >&6; }
17121 if test -z "$ac_file"; then
17122 echo "$as_me: failed program was:" >&5
17123 sed 's/^/| /' conftest.
$ac_ext >&5
17125 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
17126 See \`config.log' for more details." >&5
17127 echo "$as_me: error: C compiler cannot create executables
17128 See \`config.log' for more details." >&2;}
17129 { (exit 77); exit 77; }; }
17132 ac_exeext
=$ac_cv_exeext
17134 # Check that the compiler produces executables we can run. If not, either
17135 # the compiler is broken, or we cross compile.
17136 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17137 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
17138 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17139 # If not cross compiling, check that we can run a simple program.
17140 if test "$cross_compiling" != yes; then
17141 if { ac_try
='./$ac_file'
17142 { (case "(($ac_try" in
17143 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17144 *) ac_try_echo=$ac_try;;
17146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17147 (eval "$ac_try") 2>&5
17149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150 (exit $ac_status); }; }; then
17153 if test "$cross_compiling" = maybe; then
17154 cross_compiling=yes
17156 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17157 If you meant to cross compile, use \`--host'.
17158 See \`config.log' for more details.
" >&5
17159 echo "$as_me: error
: cannot run C compiled programs.
17160 If you meant to cross compile
, use \
`--host'.
17161 See \`config.log
' for more details." >&2;}
17162 { (exit 1); exit 1; }; }
17166 { echo "$as_me:$LINENO: result: yes" >&5
17167 echo "${ECHO_T}yes" >&6; }
17169 rm -f a.out a.exe conftest$ac_cv_exeext b.out
17170 ac_clean_files=$ac_clean_files_save
17171 # Check that the compiler produces executables we can run. If not, either
17172 # the compiler is broken, or we cross compile.
17173 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17174 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
17175 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
17176 echo "${ECHO_T}$cross_compiling" >&6; }
17178 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
17179 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
17180 if { (ac_try="$ac_link"
17181 case "(($ac_try" in
17182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17183 *) ac_try_echo=$ac_try;;
17185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17186 (eval "$ac_link") 2>&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); }; then
17190 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
17191 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
17192 # work properly (i.e., refer to `conftest.exe
'), while it won't with
17194 for ac_file
in conftest.exe conftest conftest.
*; do
17195 test -f "$ac_file" || continue
17197 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
17198 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
17204 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17205 See \`config.log' for more details." >&5
17206 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17207 See \`config.log' for more details." >&2;}
17208 { (exit 1); exit 1; }; }
17211 rm -f conftest
$ac_cv_exeext
17212 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17213 echo "${ECHO_T}$ac_cv_exeext" >&6; }
17215 rm -f conftest.
$ac_ext
17216 EXEEXT
=$ac_cv_exeext
17218 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
17219 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
17220 if test "${ac_cv_objext+set}" = set; then
17221 echo $ECHO_N "(cached) $ECHO_C" >&6
17223 cat >conftest.
$ac_ext <<_ACEOF
17226 cat confdefs.h
>>conftest.
$ac_ext
17227 cat >>conftest.
$ac_ext <<_ACEOF
17228 /* end confdefs.h. */
17238 rm -f conftest.o conftest.obj
17239 if { (ac_try
="$ac_compile"
17240 case "(($ac_try" in
17241 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17242 *) ac_try_echo=$ac_try;;
17244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17245 (eval "$ac_compile") 2>&5
17247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17248 (exit $ac_status); }; then
17249 for ac_file in conftest.o conftest.obj conftest.*; do
17250 test -f "$ac_file" || continue;
17252 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
17253 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17258 echo "$as_me: failed program was:" >&5
17259 sed 's/^/| /' conftest.$ac_ext >&5
17261 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17262 See \`config.log
' for more details." >&5
17263 echo "$as_me: error: cannot compute suffix of object files: cannot compile
17264 See \`config.log' for more details.
" >&2;}
17265 { (exit 1); exit 1; }; }
17268 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17270 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
17271 echo "${ECHO_T}$ac_cv_objext" >&6; }
17272 OBJEXT=$ac_cv_objext
17274 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
17275 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
17276 if test "${ac_cv_c_compiler_gnu+set}" = set; then
17277 echo $ECHO_N "(cached
) $ECHO_C" >&6
17279 cat >conftest.$ac_ext <<_ACEOF
17282 cat confdefs.h >>conftest.$ac_ext
17283 cat >>conftest.$ac_ext <<_ACEOF
17284 /* end confdefs.h. */
17297 rm -f conftest.$ac_objext
17298 if { (ac_try="$ac_compile"
17299 case "(($ac_try" in
17300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17301 *) ac_try_echo=$ac_try;;
17303 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17304 (eval "$ac_compile") 2>conftest.er1
17306 grep -v '^ *+' conftest.er1 >conftest.err
17308 cat conftest.err >&5
17309 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17310 (exit $ac_status); } && {
17311 test -z "$ac_c_werror_flag" ||
17312 test ! -s conftest.err
17313 } && test -s conftest.$ac_objext; then
17314 ac_compiler_gnu=yes
17316 echo "$as_me: failed program was
:" >&5
17317 sed 's/^/| /' conftest.$ac_ext >&5
17322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17323 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17326 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
17327 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
17328 GCC=`test $ac_compiler_gnu = yes && echo yes`
17329 ac_test_CFLAGS=${CFLAGS+set}
17330 ac_save_CFLAGS=$CFLAGS
17331 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
17332 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
17333 if test "${ac_cv_prog_cc_g+set}" = set; then
17334 echo $ECHO_N "(cached
) $ECHO_C" >&6
17336 ac_save_c_werror_flag=$ac_c_werror_flag
17337 ac_c_werror_flag=yes
17340 cat >conftest.$ac_ext <<_ACEOF
17343 cat confdefs.h >>conftest.$ac_ext
17344 cat >>conftest.$ac_ext <<_ACEOF
17345 /* end confdefs.h. */
17355 rm -f conftest.$ac_objext
17356 if { (ac_try="$ac_compile"
17357 case "(($ac_try" in
17358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17359 *) ac_try_echo=$ac_try;;
17361 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17362 (eval "$ac_compile") 2>conftest.er1
17364 grep -v '^ *+' conftest.er1 >conftest.err
17366 cat conftest.err >&5
17367 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17368 (exit $ac_status); } && {
17369 test -z "$ac_c_werror_flag" ||
17370 test ! -s conftest.err
17371 } && test -s conftest.$ac_objext; then
17372 ac_cv_prog_cc_g=yes
17374 echo "$as_me: failed program was
:" >&5
17375 sed 's/^/| /' conftest.$ac_ext >&5
17378 cat >conftest.$ac_ext <<_ACEOF
17381 cat confdefs.h >>conftest.$ac_ext
17382 cat >>conftest.$ac_ext <<_ACEOF
17383 /* end confdefs.h. */
17393 rm -f conftest.$ac_objext
17394 if { (ac_try="$ac_compile"
17395 case "(($ac_try" in
17396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17397 *) ac_try_echo=$ac_try;;
17399 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17400 (eval "$ac_compile") 2>conftest.er1
17402 grep -v '^ *+' conftest.er1 >conftest.err
17404 cat conftest.err >&5
17405 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17406 (exit $ac_status); } && {
17407 test -z "$ac_c_werror_flag" ||
17408 test ! -s conftest.err
17409 } && test -s conftest.$ac_objext; then
17412 echo "$as_me: failed program was
:" >&5
17413 sed 's/^/| /' conftest.$ac_ext >&5
17415 ac_c_werror_flag=$ac_save_c_werror_flag
17417 cat >conftest.$ac_ext <<_ACEOF
17420 cat confdefs.h >>conftest.$ac_ext
17421 cat >>conftest.$ac_ext <<_ACEOF
17422 /* end confdefs.h. */
17432 rm -f conftest.$ac_objext
17433 if { (ac_try="$ac_compile"
17434 case "(($ac_try" in
17435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17436 *) ac_try_echo=$ac_try;;
17438 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17439 (eval "$ac_compile") 2>conftest.er1
17441 grep -v '^ *+' conftest.er1 >conftest.err
17443 cat conftest.err >&5
17444 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17445 (exit $ac_status); } && {
17446 test -z "$ac_c_werror_flag" ||
17447 test ! -s conftest.err
17448 } && test -s conftest.$ac_objext; then
17449 ac_cv_prog_cc_g=yes
17451 echo "$as_me: failed program was
:" >&5
17452 sed 's/^/| /' conftest.$ac_ext >&5
17457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17464 ac_c_werror_flag=$ac_save_c_werror_flag
17466 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
17467 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17468 if test "$ac_test_CFLAGS" = set; then
17469 CFLAGS=$ac_save_CFLAGS
17470 elif test $ac_cv_prog_cc_g = yes; then
17471 if test "$GCC" = yes; then
17477 if test "$GCC" = yes; then
17483 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
17484 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
17485 if test "${ac_cv_prog_cc_c89+set}" = set; then
17486 echo $ECHO_N "(cached
) $ECHO_C" >&6
17488 ac_cv_prog_cc_c89=no
17490 cat >conftest.$ac_ext <<_ACEOF
17493 cat confdefs.h >>conftest.$ac_ext
17494 cat >>conftest.$ac_ext <<_ACEOF
17495 /* end confdefs.h. */
17496 #include <stdarg.h>
17498 #include <sys/types.h>
17499 #include <sys/stat.h>
17500 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17501 struct buf { int x; };
17502 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17503 static char *e (p, i)
17509 static char *f (char * (*g) (char **, int), char **p, ...)
17514 s = g (p, va_arg (v,int));
17519 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17520 function prototypes and stuff, but not '\xHH' hex character constants.
17521 These don't provoke an error unfortunately, instead are silently treated
17522 as 'x'. The following induces an error, until -std is added to get
17523 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17524 array size at least. It's necessary to write '\x00'==0 to get something
17525 that's true only with -std. */
17526 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17528 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17529 inside strings and character constants. */
17531 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17533 int test (int i, double x);
17534 struct s1 {int (*f) (int a);};
17535 struct s2 {int (*f) (double a);};
17536 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17542 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17547 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17548 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17550 CC="$ac_save_CC $ac_arg"
17551 rm -f conftest.$ac_objext
17552 if { (ac_try="$ac_compile"
17553 case "(($ac_try" in
17554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17555 *) ac_try_echo=$ac_try;;
17557 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17558 (eval "$ac_compile") 2>conftest.er1
17560 grep -v '^ *+' conftest.er1 >conftest.err
17562 cat conftest.err >&5
17563 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17564 (exit $ac_status); } && {
17565 test -z "$ac_c_werror_flag" ||
17566 test ! -s conftest.err
17567 } && test -s conftest.$ac_objext; then
17568 ac_cv_prog_cc_c89=$ac_arg
17570 echo "$as_me: failed program was
:" >&5
17571 sed 's/^/| /' conftest.$ac_ext >&5
17576 rm -f core conftest.err conftest.$ac_objext
17577 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
17579 rm -f conftest.$ac_ext
17584 case "x
$ac_cv_prog_cc_c89" in
17586 { echo "$as_me:$LINENO: result
: none needed
" >&5
17587 echo "${ECHO_T}none needed
" >&6; } ;;
17589 { echo "$as_me:$LINENO: result
: unsupported
" >&5
17590 echo "${ECHO_T}unsupported
" >&6; } ;;
17592 CC="$CC $ac_cv_prog_cc_c89"
17593 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
17594 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17599 ac_cpp='$CPP $CPPFLAGS'
17600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17608 ac_cpp='$CPP $CPPFLAGS'
17609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17613 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
17614 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
17615 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17616 echo $ECHO_N "(cached
) $ECHO_C" >&6
17618 cat >conftest.$ac_ext <<_ACEOF
17621 cat confdefs.h >>conftest.$ac_ext
17622 cat >>conftest.$ac_ext <<_ACEOF
17623 /* end confdefs.h. */
17629 #ifndef __INTEL_COMPILER
17637 rm -f conftest.$ac_objext
17638 if { (ac_try="$ac_compile"
17639 case "(($ac_try" in
17640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17641 *) ac_try_echo=$ac_try;;
17643 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17644 (eval "$ac_compile") 2>conftest.er1
17646 grep -v '^ *+' conftest.er1 >conftest.err
17648 cat conftest.err >&5
17649 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17650 (exit $ac_status); } && {
17651 test -z "$ac_c_werror_flag" ||
17652 test ! -s conftest.err
17653 } && test -s conftest.$ac_objext; then
17654 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17656 echo "$as_me: failed program was
:" >&5
17657 sed 's/^/| /' conftest.$ac_ext >&5
17659 bakefile_cv_c_compiler___INTEL_COMPILER=no
17663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17667 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17668 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17669 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
17675 ac_cpp='$CPP $CPPFLAGS'
17676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17683 if test "x
$GCC" != "xyes
"; then
17684 if test "xCC
" = "xC
"; then
17685 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
17686 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
17687 if test "${bakefile_cv_c_exto+set}" = set; then
17688 echo $ECHO_N "(cached
) $ECHO_C" >&6
17690 cat >conftest.$ac_ext <<_ACEOF
17693 cat confdefs.h >>conftest.$ac_ext
17694 cat >>conftest.$ac_ext <<_ACEOF
17695 /* end confdefs.h. */
17705 rm -f conftest.$ac_objext conftest.$ac_ext.o
17706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17707 (eval $ac_compile) 2>&5
17709 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17710 (exit $ac_status); }; then
17711 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17713 conftest.$ac_ext.o)
17714 bakefile_cv_c_exto="-ext o
"
17721 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
17722 See \
`config.log' for more details." >&5
17723 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17724 See \`config.log
' for more details." >&2;}
17725 { (exit 1); exit 1; }; }
17729 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17732 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17733 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17734 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17735 if test "c" = "c"; then
17736 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17738 if test "c" = "cxx"; then
17739 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17743 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17744 unset ac_cv_prog_cc_g
17745 ac_test_CFLAGS=${CFLAGS+set}
17746 ac_save_CFLAGS=$CFLAGS
17747 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17748 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17749 if test "${ac_cv_prog_cc_g+set}" = set; then
17750 echo $ECHO_N "(cached) $ECHO_C" >&6
17752 ac_save_c_werror_flag=$ac_c_werror_flag
17753 ac_c_werror_flag=yes
17756 cat >conftest.$ac_ext <<_ACEOF
17759 cat confdefs.h >>conftest.$ac_ext
17760 cat >>conftest.$ac_ext <<_ACEOF
17761 /* end confdefs.h. */
17771 rm -f conftest.$ac_objext
17772 if { (ac_try="$ac_compile"
17773 case "(($ac_try" in
17774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17775 *) ac_try_echo=$ac_try;;
17777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17778 (eval "$ac_compile") 2>conftest.er1
17780 grep -v '^
*+' conftest.er1 >conftest.err
17782 cat conftest.err >&5
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); } && {
17785 test -z "$ac_c_werror_flag" ||
17786 test ! -s conftest.err
17787 } && test -s conftest.$ac_objext; then
17788 ac_cv_prog_cc_g=yes
17790 echo "$as_me: failed program was:" >&5
17791 sed 's
/^
/| /' conftest.$ac_ext >&5
17794 cat >conftest.$ac_ext <<_ACEOF
17797 cat confdefs.h >>conftest.$ac_ext
17798 cat >>conftest.$ac_ext <<_ACEOF
17799 /* end confdefs.h. */
17809 rm -f conftest.$ac_objext
17810 if { (ac_try="$ac_compile"
17811 case "(($ac_try" in
17812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17813 *) ac_try_echo=$ac_try;;
17815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17816 (eval "$ac_compile") 2>conftest.er1
17818 grep -v '^
*+' conftest.er1 >conftest.err
17820 cat conftest.err >&5
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); } && {
17823 test -z "$ac_c_werror_flag" ||
17824 test ! -s conftest.err
17825 } && test -s conftest.$ac_objext; then
17828 echo "$as_me: failed program was:" >&5
17829 sed 's
/^
/| /' conftest.$ac_ext >&5
17831 ac_c_werror_flag=$ac_save_c_werror_flag
17833 cat >conftest.$ac_ext <<_ACEOF
17836 cat confdefs.h >>conftest.$ac_ext
17837 cat >>conftest.$ac_ext <<_ACEOF
17838 /* end confdefs.h. */
17848 rm -f conftest.$ac_objext
17849 if { (ac_try="$ac_compile"
17850 case "(($ac_try" in
17851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17852 *) ac_try_echo=$ac_try;;
17854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17855 (eval "$ac_compile") 2>conftest.er1
17857 grep -v '^
*+' conftest.er1 >conftest.err
17859 cat conftest.err >&5
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); } && {
17862 test -z "$ac_c_werror_flag" ||
17863 test ! -s conftest.err
17864 } && test -s conftest.$ac_objext; then
17865 ac_cv_prog_cc_g=yes
17867 echo "$as_me: failed program was:" >&5
17868 sed 's
/^
/| /' conftest.$ac_ext >&5
17873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17880 ac_c_werror_flag=$ac_save_c_werror_flag
17882 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17883 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17884 if test "$ac_test_CFLAGS" = set; then
17885 CFLAGS=$ac_save_CFLAGS
17886 elif test $ac_cv_prog_cc_g = yes; then
17887 if test "$GCC" = yes; then
17893 if test "$GCC" = yes; then
17907 ac_cpp='$CPP $CPPFLAGS'
17908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17909 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17912 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17913 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17914 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17915 echo $ECHO_N "(cached) $ECHO_C" >&6
17917 cat >conftest.$ac_ext <<_ACEOF
17920 cat confdefs.h >>conftest.$ac_ext
17921 cat >>conftest.$ac_ext <<_ACEOF
17922 /* end confdefs.h. */
17936 rm -f conftest.$ac_objext
17937 if { (ac_try="$ac_compile"
17938 case "(($ac_try" in
17939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17940 *) ac_try_echo=$ac_try;;
17942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17943 (eval "$ac_compile") 2>conftest.er1
17945 grep -v '^
*+' conftest.er1 >conftest.err
17947 cat conftest.err >&5
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); } && {
17950 test -z "$ac_c_werror_flag" ||
17951 test ! -s conftest.err
17952 } && test -s conftest.$ac_objext; then
17953 bakefile_cv_c_compiler___xlC__=yes
17955 echo "$as_me: failed program was:" >&5
17956 sed 's
/^
/| /' conftest.$ac_ext >&5
17958 bakefile_cv_c_compiler___xlC__=no
17962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17966 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17967 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17968 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17974 ac_cpp='$CPP $CPPFLAGS'
17975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17976 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17987 ac_cpp='$CPP $CPPFLAGS'
17988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17989 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17992 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17993 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17994 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17995 echo $ECHO_N "(cached) $ECHO_C" >&6
17997 cat >conftest.$ac_ext <<_ACEOF
18000 cat confdefs.h >>conftest.$ac_ext
18001 cat >>conftest.$ac_ext <<_ACEOF
18002 /* end confdefs.h. */
18016 rm -f conftest.$ac_objext
18017 if { (ac_try="$ac_compile"
18018 case "(($ac_try" in
18019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18020 *) ac_try_echo=$ac_try;;
18022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18023 (eval "$ac_compile") 2>conftest.er1
18025 grep -v '^
*+' conftest.er1 >conftest.err
18027 cat conftest.err >&5
18028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18029 (exit $ac_status); } && {
18030 test -z "$ac_c_werror_flag" ||
18031 test ! -s conftest.err
18032 } && test -s conftest.$ac_objext; then
18033 bakefile_cv_c_compiler___MWERKS__=yes
18035 echo "$as_me: failed program was:" >&5
18036 sed 's
/^
/| /' conftest.$ac_ext >&5
18038 bakefile_cv_c_compiler___MWERKS__=no
18042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18046 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
18047 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
18048 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
18054 ac_cpp='$CPP $CPPFLAGS'
18055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18056 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18064 ac_cpp='$CPP $CPPFLAGS'
18065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18066 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18069 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
18070 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
18071 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
18072 echo $ECHO_N "(cached) $ECHO_C" >&6
18074 cat >conftest.$ac_ext <<_ACEOF
18077 cat confdefs.h >>conftest.$ac_ext
18078 cat >>conftest.$ac_ext <<_ACEOF
18079 /* end confdefs.h. */
18093 rm -f conftest.$ac_objext
18094 if { (ac_try="$ac_compile"
18095 case "(($ac_try" in
18096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18097 *) ac_try_echo=$ac_try;;
18099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18100 (eval "$ac_compile") 2>conftest.er1
18102 grep -v '^
*+' conftest.er1 >conftest.err
18104 cat conftest.err >&5
18105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18106 (exit $ac_status); } && {
18107 test -z "$ac_c_werror_flag" ||
18108 test ! -s conftest.err
18109 } && test -s conftest.$ac_objext; then
18110 bakefile_cv_c_compiler___xlC__=yes
18112 echo "$as_me: failed program was:" >&5
18113 sed 's
/^
/| /' conftest.$ac_ext >&5
18115 bakefile_cv_c_compiler___xlC__=no
18119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18123 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
18124 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
18125 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
18131 ac_cpp='$CPP $CPPFLAGS'
18132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18133 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18144 ac_cpp='$CPP $CPPFLAGS'
18145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18146 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18149 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
18150 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
18151 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
18152 echo $ECHO_N "(cached) $ECHO_C" >&6
18154 cat >conftest.$ac_ext <<_ACEOF
18157 cat confdefs.h >>conftest.$ac_ext
18158 cat >>conftest.$ac_ext <<_ACEOF
18159 /* end confdefs.h. */
18165 #ifndef _SGI_COMPILER_VERSION
18173 rm -f conftest.$ac_objext
18174 if { (ac_try="$ac_compile"
18175 case "(($ac_try" in
18176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18177 *) ac_try_echo=$ac_try;;
18179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18180 (eval "$ac_compile") 2>conftest.er1
18182 grep -v '^
*+' conftest.er1 >conftest.err
18184 cat conftest.err >&5
18185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18186 (exit $ac_status); } && {
18187 test -z "$ac_c_werror_flag" ||
18188 test ! -s conftest.err
18189 } && test -s conftest.$ac_objext; then
18190 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
18192 echo "$as_me: failed program was:" >&5
18193 sed 's
/^
/| /' conftest.$ac_ext >&5
18195 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
18199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18203 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
18204 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
18205 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18211 ac_cpp='$CPP $CPPFLAGS'
18212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18213 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18224 ac_cpp='$CPP $CPPFLAGS'
18225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18226 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18229 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18230 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18231 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18232 echo $ECHO_N "(cached) $ECHO_C" >&6
18234 cat >conftest.$ac_ext <<_ACEOF
18237 cat confdefs.h >>conftest.$ac_ext
18238 cat >>conftest.$ac_ext <<_ACEOF
18239 /* end confdefs.h. */
18253 rm -f conftest.$ac_objext
18254 if { (ac_try="$ac_compile"
18255 case "(($ac_try" in
18256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18257 *) ac_try_echo=$ac_try;;
18259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18260 (eval "$ac_compile") 2>conftest.er1
18262 grep -v '^
*+' conftest.er1 >conftest.err
18264 cat conftest.err >&5
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); } && {
18267 test -z "$ac_c_werror_flag" ||
18268 test ! -s conftest.err
18269 } && test -s conftest.$ac_objext; then
18270 bakefile_cv_c_compiler___SUNPRO_C=yes
18272 echo "$as_me: failed program was:" >&5
18273 sed 's
/^
/| /' conftest.$ac_ext >&5
18275 bakefile_cv_c_compiler___SUNPRO_C=no
18279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18283 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18284 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18285 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18291 ac_cpp='$CPP $CPPFLAGS'
18292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18293 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18304 ac_cpp='$CPP $CPPFLAGS'
18305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18306 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18309 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
18310 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
18311 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
18312 echo $ECHO_N "(cached) $ECHO_C" >&6
18314 cat >conftest.$ac_ext <<_ACEOF
18317 cat confdefs.h >>conftest.$ac_ext
18318 cat >>conftest.$ac_ext <<_ACEOF
18319 /* end confdefs.h. */
18333 rm -f conftest.$ac_objext
18334 if { (ac_try="$ac_compile"
18335 case "(($ac_try" in
18336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18337 *) ac_try_echo=$ac_try;;
18339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18340 (eval "$ac_compile") 2>conftest.er1
18342 grep -v '^
*+' conftest.er1 >conftest.err
18344 cat conftest.err >&5
18345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18346 (exit $ac_status); } && {
18347 test -z "$ac_c_werror_flag" ||
18348 test ! -s conftest.err
18349 } && test -s conftest.$ac_objext; then
18350 bakefile_cv_c_compiler___HP_cc=yes
18352 echo "$as_me: failed program was:" >&5
18353 sed 's
/^
/| /' conftest.$ac_ext >&5
18355 bakefile_cv_c_compiler___HP_cc=no
18359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18363 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
18364 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
18365 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
18371 ac_cpp='$CPP $CPPFLAGS'
18372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18373 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18384 ac_cpp='$CPP $CPPFLAGS'
18385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18386 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18389 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
18390 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
18391 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
18392 echo $ECHO_N "(cached) $ECHO_C" >&6
18394 cat >conftest.$ac_ext <<_ACEOF
18397 cat confdefs.h >>conftest.$ac_ext
18398 cat >>conftest.$ac_ext <<_ACEOF
18399 /* end confdefs.h. */
18413 rm -f conftest.$ac_objext
18414 if { (ac_try="$ac_compile"
18415 case "(($ac_try" in
18416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18417 *) ac_try_echo=$ac_try;;
18419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18420 (eval "$ac_compile") 2>conftest.er1
18422 grep -v '^
*+' conftest.er1 >conftest.err
18424 cat conftest.err >&5
18425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18426 (exit $ac_status); } && {
18427 test -z "$ac_c_werror_flag" ||
18428 test ! -s conftest.err
18429 } && test -s conftest.$ac_objext; then
18430 bakefile_cv_c_compiler___DECC=yes
18432 echo "$as_me: failed program was:" >&5
18433 sed 's
/^
/| /' conftest.$ac_ext >&5
18435 bakefile_cv_c_compiler___DECC=no
18439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18443 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
18444 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
18445 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
18451 ac_cpp='$CPP $CPPFLAGS'
18452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18453 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18464 ac_cpp='$CPP $CPPFLAGS'
18465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18466 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18469 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18470 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18471 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18472 echo $ECHO_N "(cached) $ECHO_C" >&6
18474 cat >conftest.$ac_ext <<_ACEOF
18477 cat confdefs.h >>conftest.$ac_ext
18478 cat >>conftest.$ac_ext <<_ACEOF
18479 /* end confdefs.h. */
18493 rm -f conftest.$ac_objext
18494 if { (ac_try="$ac_compile"
18495 case "(($ac_try" in
18496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18497 *) ac_try_echo=$ac_try;;
18499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18500 (eval "$ac_compile") 2>conftest.er1
18502 grep -v '^
*+' conftest.er1 >conftest.err
18504 cat conftest.err >&5
18505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18506 (exit $ac_status); } && {
18507 test -z "$ac_c_werror_flag" ||
18508 test ! -s conftest.err
18509 } && test -s conftest.$ac_objext; then
18510 bakefile_cv_c_compiler___SUNPRO_C=yes
18512 echo "$as_me: failed program was:" >&5
18513 sed 's
/^
/| /' conftest.$ac_ext >&5
18515 bakefile_cv_c_compiler___SUNPRO_C=no
18519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18523 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18524 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18525 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18531 ac_cpp='$CPP $CPPFLAGS'
18532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18533 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18545 ac_cpp='$CPP $CPPFLAGS'
18546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18547 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18549 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18550 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
18551 # On Suns, sometimes $CPP names a directory.
18552 if test -n "$CPP" && test -d "$CPP"; then
18555 if test -z "$CPP"; then
18556 if test "${ac_cv_prog_CPP+set}" = set; then
18557 echo $ECHO_N "(cached) $ECHO_C" >&6
18559 # Double quotes because CPP needs to be expanded
18560 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18562 ac_preproc_ok=false
18563 for ac_c_preproc_warn_flag in '' yes
18565 # Use a header file that comes with gcc, so configuring glibc
18566 # with a fresh cross-compiler works.
18567 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18568 # <limits.h> exists even on freestanding compilers.
18569 # On the NeXT, cc -E runs the code through the compiler's parser
,
18570 # not just through cpp. "Syntax error" is here to catch this case.
18571 cat >conftest.
$ac_ext <<_ACEOF
18574 cat confdefs.h
>>conftest.
$ac_ext
18575 cat >>conftest.
$ac_ext <<_ACEOF
18576 /* end confdefs.h. */
18578 # include <limits.h>
18580 # include <assert.h>
18584 if { (ac_try
="$ac_cpp conftest.$ac_ext"
18585 case "(($ac_try" in
18586 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18587 *) ac_try_echo=$ac_try;;
18589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18590 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18592 grep -v '^ *+' conftest.er1 >conftest.err
18594 cat conftest.err >&5
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); } >/dev/null && {
18597 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18598 test ! -s conftest.err
18602 echo "$as_me: failed program was:" >&5
18603 sed 's/^/| /' conftest.$ac_ext >&5
18605 # Broken: fails on valid input.
18609 rm -f conftest.err conftest.$ac_ext
18611 # OK, works on sane cases. Now check whether nonexistent headers
18612 # can be detected and how.
18613 cat >conftest.$ac_ext <<_ACEOF
18616 cat confdefs.h >>conftest.$ac_ext
18617 cat >>conftest.$ac_ext <<_ACEOF
18618 /* end confdefs.h. */
18619 #include <ac_nonexistent.h>
18621 if { (ac_try="$ac_cpp conftest.$ac_ext"
18622 case "(($ac_try" in
18623 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18624 *) ac_try_echo
=$ac_try;;
18626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18627 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18629 grep -v '^ *+' conftest.er1
>conftest.err
18631 cat conftest.err
>&5
18632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18633 (exit $ac_status); } >/dev
/null
&& {
18634 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18635 test ! -s conftest.err
18637 # Broken: success on invalid input.
18640 echo "$as_me: failed program was:" >&5
18641 sed 's/^/| /' conftest.
$ac_ext >&5
18643 # Passes both tests.
18648 rm -f conftest.err conftest.
$ac_ext
18651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18652 rm -f conftest.err conftest.
$ac_ext
18653 if $ac_preproc_ok; then
18658 ac_cv_prog_CPP
=$CPP
18661 CPP
=$ac_cv_prog_CPP
18663 ac_cv_prog_CPP
=$CPP
18665 { echo "$as_me:$LINENO: result: $CPP" >&5
18666 echo "${ECHO_T}$CPP" >&6; }
18667 ac_preproc_ok
=false
18668 for ac_c_preproc_warn_flag
in '' yes
18670 # Use a header file that comes with gcc, so configuring glibc
18671 # with a fresh cross-compiler works.
18672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18673 # <limits.h> exists even on freestanding compilers.
18674 # On the NeXT, cc -E runs the code through the compiler's parser,
18675 # not just through cpp. "Syntax error" is here to catch this case.
18676 cat >conftest.
$ac_ext <<_ACEOF
18679 cat confdefs.h
>>conftest.
$ac_ext
18680 cat >>conftest.
$ac_ext <<_ACEOF
18681 /* end confdefs.h. */
18683 # include <limits.h>
18685 # include <assert.h>
18689 if { (ac_try
="$ac_cpp conftest.$ac_ext"
18690 case "(($ac_try" in
18691 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18692 *) ac_try_echo=$ac_try;;
18694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18695 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18697 grep -v '^ *+' conftest.er1 >conftest.err
18699 cat conftest.err >&5
18700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18701 (exit $ac_status); } >/dev/null && {
18702 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18703 test ! -s conftest.err
18707 echo "$as_me: failed program was:" >&5
18708 sed 's/^/| /' conftest.$ac_ext >&5
18710 # Broken: fails on valid input.
18714 rm -f conftest.err conftest.$ac_ext
18716 # OK, works on sane cases. Now check whether nonexistent headers
18717 # can be detected and how.
18718 cat >conftest.$ac_ext <<_ACEOF
18721 cat confdefs.h >>conftest.$ac_ext
18722 cat >>conftest.$ac_ext <<_ACEOF
18723 /* end confdefs.h. */
18724 #include <ac_nonexistent.h>
18726 if { (ac_try="$ac_cpp conftest.$ac_ext"
18727 case "(($ac_try" in
18728 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18729 *) ac_try_echo
=$ac_try;;
18731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18732 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18734 grep -v '^ *+' conftest.er1
>conftest.err
18736 cat conftest.err
>&5
18737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738 (exit $ac_status); } >/dev
/null
&& {
18739 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18740 test ! -s conftest.err
18742 # Broken: success on invalid input.
18745 echo "$as_me: failed program was:" >&5
18746 sed 's/^/| /' conftest.
$ac_ext >&5
18748 # Passes both tests.
18753 rm -f conftest.err conftest.
$ac_ext
18756 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18757 rm -f conftest.err conftest.
$ac_ext
18758 if $ac_preproc_ok; then
18761 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18762 See \`config.log' for more details." >&5
18763 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18764 See \`config.log' for more details." >&2;}
18765 { (exit 1); exit 1; }; }
18769 ac_cpp
='$CPP $CPPFLAGS'
18770 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18771 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18772 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18775 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18776 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18777 if test "${ac_cv_path_GREP+set}" = set; then
18778 echo $ECHO_N "(cached) $ECHO_C" >&6
18780 # Extract the first word of "grep ggrep" to use in msg output
18781 if test -z "$GREP"; then
18782 set dummy
grep ggrep
; ac_prog_name
=$2
18783 if test "${ac_cv_path_GREP+set}" = set; then
18784 echo $ECHO_N "(cached) $ECHO_C" >&6
18786 ac_path_GREP_found
=false
18787 # Loop through the user's path and test for each of PROGNAME-LIST
18788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18789 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18792 test -z "$as_dir" && as_dir
=.
18793 for ac_prog
in grep ggrep
; do
18794 for ac_exec_ext
in '' $ac_executable_extensions; do
18795 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
18796 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18797 # Check for GNU ac_path_GREP and select it if it is found.
18798 # Check for GNU $ac_path_GREP
18799 case `"$ac_path_GREP" --version 2>&1` in
18801 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
18804 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18807 cat "conftest.in" "conftest.in" >"conftest.tmp"
18808 mv "conftest.tmp" "conftest.in"
18809 cp "conftest.in" "conftest.nl"
18810 echo 'GREP' >> "conftest.nl"
18811 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18812 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18813 ac_count
=`expr $ac_count + 1`
18814 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18815 # Best one so far, save it but keep looking for a better one
18816 ac_cv_path_GREP
="$ac_path_GREP"
18817 ac_path_GREP_max
=$ac_count
18819 # 10*(2^10) chars as input seems more than enough
18820 test $ac_count -gt 10 && break
18822 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18826 $ac_path_GREP_found && break 3
18836 GREP
="$ac_cv_path_GREP"
18837 if test -z "$GREP"; then
18838 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18839 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18840 { (exit 1); exit 1; }; }
18844 ac_cv_path_GREP
=$GREP
18849 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18850 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18851 GREP
="$ac_cv_path_GREP"
18854 { echo "$as_me:$LINENO: checking for egrep" >&5
18855 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18856 if test "${ac_cv_path_EGREP+set}" = set; then
18857 echo $ECHO_N "(cached) $ECHO_C" >&6
18859 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
18860 then ac_cv_path_EGREP
="$GREP -E"
18862 # Extract the first word of "egrep" to use in msg output
18863 if test -z "$EGREP"; then
18864 set dummy
egrep; ac_prog_name
=$2
18865 if test "${ac_cv_path_EGREP+set}" = set; then
18866 echo $ECHO_N "(cached) $ECHO_C" >&6
18868 ac_path_EGREP_found
=false
18869 # Loop through the user's path and test for each of PROGNAME-LIST
18870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18871 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18874 test -z "$as_dir" && as_dir
=.
18875 for ac_prog
in egrep; do
18876 for ac_exec_ext
in '' $ac_executable_extensions; do
18877 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
18878 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18879 # Check for GNU ac_path_EGREP and select it if it is found.
18880 # Check for GNU $ac_path_EGREP
18881 case `"$ac_path_EGREP" --version 2>&1` in
18883 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
18886 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18889 cat "conftest.in" "conftest.in" >"conftest.tmp"
18890 mv "conftest.tmp" "conftest.in"
18891 cp "conftest.in" "conftest.nl"
18892 echo 'EGREP' >> "conftest.nl"
18893 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18894 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18895 ac_count
=`expr $ac_count + 1`
18896 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18897 # Best one so far, save it but keep looking for a better one
18898 ac_cv_path_EGREP
="$ac_path_EGREP"
18899 ac_path_EGREP_max
=$ac_count
18901 # 10*(2^10) chars as input seems more than enough
18902 test $ac_count -gt 10 && break
18904 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18908 $ac_path_EGREP_found && break 3
18918 EGREP
="$ac_cv_path_EGREP"
18919 if test -z "$EGREP"; then
18920 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18921 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18922 { (exit 1); exit 1; }; }
18926 ac_cv_path_EGREP
=$EGREP
18932 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18933 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18934 EGREP
="$ac_cv_path_EGREP"
18937 if test $ac_cv_c_compiler_gnu = yes; then
18938 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18939 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18940 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18941 echo $ECHO_N "(cached) $ECHO_C" >&6
18943 ac_pattern
="Autoconf.*'x'"
18944 cat >conftest.
$ac_ext <<_ACEOF
18947 cat confdefs.h
>>conftest.
$ac_ext
18948 cat >>conftest.
$ac_ext <<_ACEOF
18949 /* end confdefs.h. */
18953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18954 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18955 ac_cv_prog_gcc_traditional
=yes
18957 ac_cv_prog_gcc_traditional
=no
18962 if test $ac_cv_prog_gcc_traditional = no
; then
18963 cat >conftest.
$ac_ext <<_ACEOF
18966 cat confdefs.h
>>conftest.
$ac_ext
18967 cat >>conftest.
$ac_ext <<_ACEOF
18968 /* end confdefs.h. */
18969 #include <termio.h>
18972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18973 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18974 ac_cv_prog_gcc_traditional
=yes
18980 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18981 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18982 if test $ac_cv_prog_gcc_traditional = yes; then
18983 CC
="$CC -traditional"
18988 CXXFLAGS
=${CXXFLAGS:=}
18993 ac_cpp
='$CXXCPP $CPPFLAGS'
18994 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18995 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18996 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18997 if test -z "$CXX"; then
18998 if test -n "$CCC"; then
19001 if test -n "$ac_tool_prefix"; then
19002 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
19004 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19005 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
19006 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19008 if test "${ac_cv_prog_CXX+set}" = set; then
19009 echo $ECHO_N "(cached) $ECHO_C" >&6
19011 if test -n "$CXX"; then
19012 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
19014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19015 for as_dir
in $PATH
19018 test -z "$as_dir" && as_dir
=.
19019 for ac_exec_ext
in '' $ac_executable_extensions; do
19020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19021 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
19022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19031 CXX
=$ac_cv_prog_CXX
19032 if test -n "$CXX"; then
19033 { echo "$as_me:$LINENO: result: $CXX" >&5
19034 echo "${ECHO_T}$CXX" >&6; }
19036 { echo "$as_me:$LINENO: result: no" >&5
19037 echo "${ECHO_T}no" >&6; }
19041 test -n "$CXX" && break
19044 if test -z "$CXX"; then
19046 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
19048 # Extract the first word of "$ac_prog", so it can be a program name with args.
19049 set dummy
$ac_prog; ac_word
=$2
19050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19052 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
19053 echo $ECHO_N "(cached) $ECHO_C" >&6
19055 if test -n "$ac_ct_CXX"; then
19056 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
19058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19059 for as_dir
in $PATH
19062 test -z "$as_dir" && as_dir
=.
19063 for ac_exec_ext
in '' $ac_executable_extensions; do
19064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19065 ac_cv_prog_ac_ct_CXX
="$ac_prog"
19066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19075 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
19076 if test -n "$ac_ct_CXX"; then
19077 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
19078 echo "${ECHO_T}$ac_ct_CXX" >&6; }
19080 { echo "$as_me:$LINENO: result: no" >&5
19081 echo "${ECHO_T}no" >&6; }
19085 test -n "$ac_ct_CXX" && break
19088 if test "x$ac_ct_CXX" = x
; then
19091 case $cross_compiling:$ac_tool_warned in
19093 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19094 whose name does not start with the host triplet. If you think this
19095 configuration is useful to you, please write to autoconf@gnu.org." >&5
19096 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19097 whose name does not start with the host triplet. If you think this
19098 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19099 ac_tool_warned
=yes ;;
19107 # Provide some information about the compiler.
19108 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19109 ac_compiler
=`set X $ac_compile; echo $2`
19110 { (ac_try
="$ac_compiler --version >&5"
19111 case "(($ac_try" in
19112 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19113 *) ac_try_echo=$ac_try;;
19115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19116 (eval "$ac_compiler --version >&5") 2>&5
19118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119 (exit $ac_status); }
19120 { (ac_try="$ac_compiler -v >&5"
19121 case "(($ac_try" in
19122 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19123 *) ac_try_echo
=$ac_try;;
19125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19126 (eval "$ac_compiler -v >&5") 2>&5
19128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19129 (exit $ac_status); }
19130 { (ac_try
="$ac_compiler -V >&5"
19131 case "(($ac_try" in
19132 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19133 *) ac_try_echo=$ac_try;;
19135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19136 (eval "$ac_compiler -V >&5") 2>&5
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); }
19141 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19142 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19143 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19144 echo $ECHO_N "(cached) $ECHO_C" >&6
19146 cat >conftest.$ac_ext <<_ACEOF
19149 cat confdefs.h >>conftest.$ac_ext
19150 cat >>conftest.$ac_ext <<_ACEOF
19151 /* end confdefs.h. */
19164 rm -f conftest.$ac_objext
19165 if { (ac_try="$ac_compile"
19166 case "(($ac_try" in
19167 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19168 *) ac_try_echo
=$ac_try;;
19170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19171 (eval "$ac_compile") 2>conftest.er1
19173 grep -v '^ *+' conftest.er1
>conftest.err
19175 cat conftest.err
>&5
19176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19177 (exit $ac_status); } && {
19178 test -z "$ac_cxx_werror_flag" ||
19179 test ! -s conftest.err
19180 } && test -s conftest.
$ac_objext; then
19181 ac_compiler_gnu
=yes
19183 echo "$as_me: failed program was:" >&5
19184 sed 's/^/| /' conftest.
$ac_ext >&5
19189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19190 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
19193 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19194 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19195 GXX
=`test $ac_compiler_gnu = yes && echo yes`
19196 ac_test_CXXFLAGS
=${CXXFLAGS+set}
19197 ac_save_CXXFLAGS
=$CXXFLAGS
19198 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19199 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19200 if test "${ac_cv_prog_cxx_g+set}" = set; then
19201 echo $ECHO_N "(cached) $ECHO_C" >&6
19203 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
19204 ac_cxx_werror_flag
=yes
19205 ac_cv_prog_cxx_g
=no
19207 cat >conftest.
$ac_ext <<_ACEOF
19210 cat confdefs.h
>>conftest.
$ac_ext
19211 cat >>conftest.
$ac_ext <<_ACEOF
19212 /* end confdefs.h. */
19222 rm -f conftest.
$ac_objext
19223 if { (ac_try
="$ac_compile"
19224 case "(($ac_try" in
19225 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19226 *) ac_try_echo=$ac_try;;
19228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19229 (eval "$ac_compile") 2>conftest.er1
19231 grep -v '^ *+' conftest.er1 >conftest.err
19233 cat conftest.err >&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); } && {
19236 test -z "$ac_cxx_werror_flag" ||
19237 test ! -s conftest.err
19238 } && test -s conftest.$ac_objext; then
19239 ac_cv_prog_cxx_g=yes
19241 echo "$as_me: failed program was:" >&5
19242 sed 's/^/| /' conftest.$ac_ext >&5
19245 cat >conftest.$ac_ext <<_ACEOF
19248 cat confdefs.h >>conftest.$ac_ext
19249 cat >>conftest.$ac_ext <<_ACEOF
19250 /* end confdefs.h. */
19260 rm -f conftest.$ac_objext
19261 if { (ac_try="$ac_compile"
19262 case "(($ac_try" in
19263 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19264 *) ac_try_echo
=$ac_try;;
19266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19267 (eval "$ac_compile") 2>conftest.er1
19269 grep -v '^ *+' conftest.er1
>conftest.err
19271 cat conftest.err
>&5
19272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19273 (exit $ac_status); } && {
19274 test -z "$ac_cxx_werror_flag" ||
19275 test ! -s conftest.err
19276 } && test -s conftest.
$ac_objext; then
19279 echo "$as_me: failed program was:" >&5
19280 sed 's/^/| /' conftest.
$ac_ext >&5
19282 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
19284 cat >conftest.
$ac_ext <<_ACEOF
19287 cat confdefs.h
>>conftest.
$ac_ext
19288 cat >>conftest.
$ac_ext <<_ACEOF
19289 /* end confdefs.h. */
19299 rm -f conftest.
$ac_objext
19300 if { (ac_try
="$ac_compile"
19301 case "(($ac_try" in
19302 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19303 *) ac_try_echo=$ac_try;;
19305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19306 (eval "$ac_compile") 2>conftest.er1
19308 grep -v '^ *+' conftest.er1 >conftest.err
19310 cat conftest.err >&5
19311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19312 (exit $ac_status); } && {
19313 test -z "$ac_cxx_werror_flag" ||
19314 test ! -s conftest.err
19315 } && test -s conftest.$ac_objext; then
19316 ac_cv_prog_cxx_g=yes
19318 echo "$as_me: failed program was:" >&5
19319 sed 's/^/| /' conftest.$ac_ext >&5
19324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19331 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19333 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19334 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19335 if test "$ac_test_CXXFLAGS" = set; then
19336 CXXFLAGS=$ac_save_CXXFLAGS
19337 elif test $ac_cv_prog_cxx_g = yes; then
19338 if test "$GXX" = yes; then
19344 if test "$GXX" = yes; then
19351 ac_cpp='$CPP $CPPFLAGS'
19352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19360 ac_cpp='$CXXCPP $CPPFLAGS'
19361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19365 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
19366 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
19367 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
19368 echo $ECHO_N "(cached) $ECHO_C" >&6
19370 cat >conftest.$ac_ext <<_ACEOF
19373 cat confdefs.h >>conftest.$ac_ext
19374 cat >>conftest.$ac_ext <<_ACEOF
19375 /* end confdefs.h. */
19381 #ifndef __INTEL_COMPILER
19389 rm -f conftest.$ac_objext
19390 if { (ac_try="$ac_compile"
19391 case "(($ac_try" in
19392 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19393 *) ac_try_echo
=$ac_try;;
19395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19396 (eval "$ac_compile") 2>conftest.er1
19398 grep -v '^ *+' conftest.er1
>conftest.err
19400 cat conftest.err
>&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); } && {
19403 test -z "$ac_cxx_werror_flag" ||
19404 test ! -s conftest.err
19405 } && test -s conftest.
$ac_objext; then
19406 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
19408 echo "$as_me: failed program was:" >&5
19409 sed 's/^/| /' conftest.
$ac_ext >&5
19411 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
19415 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19419 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
19420 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
19421 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
19427 ac_cpp
='$CPP $CPPFLAGS'
19428 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19429 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19430 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19435 if test "x$GCXX" != "xyes"; then
19436 if test "xCXX" = "xC"; then
19437 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
19438 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
19439 if test "${bakefile_cv_c_exto+set}" = set; then
19440 echo $ECHO_N "(cached) $ECHO_C" >&6
19442 cat >conftest.
$ac_ext <<_ACEOF
19445 cat confdefs.h
>>conftest.
$ac_ext
19446 cat >>conftest.
$ac_ext <<_ACEOF
19447 /* end confdefs.h. */
19457 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
19458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19459 (eval $ac_compile) 2>&5
19461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19462 (exit $ac_status); }; then
19463 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
19465 conftest.
$ac_ext.o
)
19466 bakefile_cv_c_exto
="-ext o"
19473 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
19474 See \`config.log' for more details." >&5
19475 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
19476 See \`config.log' for more details." >&2;}
19477 { (exit 1); exit 1; }; }
19481 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
19484 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
19485 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
19486 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19487 if test "c" = "c"; then
19488 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
19490 if test "c" = "cxx"; then
19491 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
19495 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19496 unset ac_cv_prog_cc_g
19497 ac_test_CFLAGS
=${CFLAGS+set}
19498 ac_save_CFLAGS
=$CFLAGS
19499 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19500 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19501 if test "${ac_cv_prog_cc_g+set}" = set; then
19502 echo $ECHO_N "(cached) $ECHO_C" >&6
19504 ac_save_c_werror_flag
=$ac_c_werror_flag
19505 ac_c_werror_flag
=yes
19508 cat >conftest.
$ac_ext <<_ACEOF
19511 cat confdefs.h
>>conftest.
$ac_ext
19512 cat >>conftest.
$ac_ext <<_ACEOF
19513 /* end confdefs.h. */
19523 rm -f conftest.
$ac_objext
19524 if { (ac_try
="$ac_compile"
19525 case "(($ac_try" in
19526 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19527 *) ac_try_echo=$ac_try;;
19529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19530 (eval "$ac_compile") 2>conftest.er1
19532 grep -v '^ *+' conftest.er1 >conftest.err
19534 cat conftest.err >&5
19535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19536 (exit $ac_status); } && {
19537 test -z "$ac_c_werror_flag" ||
19538 test ! -s conftest.err
19539 } && test -s conftest.$ac_objext; then
19540 ac_cv_prog_cc_g=yes
19542 echo "$as_me: failed program was:" >&5
19543 sed 's/^/| /' conftest.$ac_ext >&5
19546 cat >conftest.$ac_ext <<_ACEOF
19549 cat confdefs.h >>conftest.$ac_ext
19550 cat >>conftest.$ac_ext <<_ACEOF
19551 /* end confdefs.h. */
19561 rm -f conftest.$ac_objext
19562 if { (ac_try="$ac_compile"
19563 case "(($ac_try" in
19564 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19565 *) ac_try_echo
=$ac_try;;
19567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19568 (eval "$ac_compile") 2>conftest.er1
19570 grep -v '^ *+' conftest.er1
>conftest.err
19572 cat conftest.err
>&5
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); } && {
19575 test -z "$ac_c_werror_flag" ||
19576 test ! -s conftest.err
19577 } && test -s conftest.
$ac_objext; then
19580 echo "$as_me: failed program was:" >&5
19581 sed 's/^/| /' conftest.
$ac_ext >&5
19583 ac_c_werror_flag
=$ac_save_c_werror_flag
19585 cat >conftest.
$ac_ext <<_ACEOF
19588 cat confdefs.h
>>conftest.
$ac_ext
19589 cat >>conftest.
$ac_ext <<_ACEOF
19590 /* end confdefs.h. */
19600 rm -f conftest.
$ac_objext
19601 if { (ac_try
="$ac_compile"
19602 case "(($ac_try" in
19603 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19604 *) ac_try_echo=$ac_try;;
19606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19607 (eval "$ac_compile") 2>conftest.er1
19609 grep -v '^ *+' conftest.er1 >conftest.err
19611 cat conftest.err >&5
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); } && {
19614 test -z "$ac_c_werror_flag" ||
19615 test ! -s conftest.err
19616 } && test -s conftest.$ac_objext; then
19617 ac_cv_prog_cc_g=yes
19619 echo "$as_me: failed program was:" >&5
19620 sed 's/^/| /' conftest.$ac_ext >&5
19625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19632 ac_c_werror_flag=$ac_save_c_werror_flag
19634 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19635 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19636 if test "$ac_test_CFLAGS" = set; then
19637 CFLAGS=$ac_save_CFLAGS
19638 elif test $ac_cv_prog_cc_g = yes; then
19639 if test "$GCC" = yes; then
19645 if test "$GCC" = yes; then
19659 ac_cpp='$CXXCPP $CPPFLAGS'
19660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19664 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19665 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19666 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19667 echo $ECHO_N "(cached) $ECHO_C" >&6
19669 cat >conftest.$ac_ext <<_ACEOF
19672 cat confdefs.h >>conftest.$ac_ext
19673 cat >>conftest.$ac_ext <<_ACEOF
19674 /* end confdefs.h. */
19688 rm -f conftest.$ac_objext
19689 if { (ac_try="$ac_compile"
19690 case "(($ac_try" in
19691 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19692 *) ac_try_echo
=$ac_try;;
19694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19695 (eval "$ac_compile") 2>conftest.er1
19697 grep -v '^ *+' conftest.er1
>conftest.err
19699 cat conftest.err
>&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); } && {
19702 test -z "$ac_cxx_werror_flag" ||
19703 test ! -s conftest.err
19704 } && test -s conftest.
$ac_objext; then
19705 bakefile_cv_cxx_compiler___xlC__
=yes
19707 echo "$as_me: failed program was:" >&5
19708 sed 's/^/| /' conftest.
$ac_ext >&5
19710 bakefile_cv_cxx_compiler___xlC__
=no
19714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19718 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19719 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19720 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19726 ac_cpp
='$CPP $CPPFLAGS'
19727 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19728 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19729 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19739 ac_cpp
='$CXXCPP $CPPFLAGS'
19740 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19741 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19742 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19744 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19745 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19746 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19747 echo $ECHO_N "(cached) $ECHO_C" >&6
19749 cat >conftest.
$ac_ext <<_ACEOF
19752 cat confdefs.h
>>conftest.
$ac_ext
19753 cat >>conftest.
$ac_ext <<_ACEOF
19754 /* end confdefs.h. */
19768 rm -f conftest.
$ac_objext
19769 if { (ac_try
="$ac_compile"
19770 case "(($ac_try" in
19771 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19772 *) ac_try_echo=$ac_try;;
19774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19775 (eval "$ac_compile") 2>conftest.er1
19777 grep -v '^ *+' conftest.er1 >conftest.err
19779 cat conftest.err >&5
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); } && {
19782 test -z "$ac_cxx_werror_flag" ||
19783 test ! -s conftest.err
19784 } && test -s conftest.$ac_objext; then
19785 bakefile_cv_cxx_compiler___MWERKS__=yes
19787 echo "$as_me: failed program was:" >&5
19788 sed 's/^/| /' conftest.$ac_ext >&5
19790 bakefile_cv_cxx_compiler___MWERKS__=no
19794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19798 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19799 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19800 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19806 ac_cpp='$CPP $CPPFLAGS'
19807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19816 ac_cpp='$CXXCPP $CPPFLAGS'
19817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19821 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19822 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19823 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19824 echo $ECHO_N "(cached) $ECHO_C" >&6
19826 cat >conftest.$ac_ext <<_ACEOF
19829 cat confdefs.h >>conftest.$ac_ext
19830 cat >>conftest.$ac_ext <<_ACEOF
19831 /* end confdefs.h. */
19845 rm -f conftest.$ac_objext
19846 if { (ac_try="$ac_compile"
19847 case "(($ac_try" in
19848 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19849 *) ac_try_echo
=$ac_try;;
19851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19852 (eval "$ac_compile") 2>conftest.er1
19854 grep -v '^ *+' conftest.er1
>conftest.err
19856 cat conftest.err
>&5
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); } && {
19859 test -z "$ac_cxx_werror_flag" ||
19860 test ! -s conftest.err
19861 } && test -s conftest.
$ac_objext; then
19862 bakefile_cv_cxx_compiler___xlC__
=yes
19864 echo "$as_me: failed program was:" >&5
19865 sed 's/^/| /' conftest.
$ac_ext >&5
19867 bakefile_cv_cxx_compiler___xlC__
=no
19871 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19875 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19876 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19877 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19883 ac_cpp
='$CPP $CPPFLAGS'
19884 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19885 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19886 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19896 ac_cpp
='$CXXCPP $CPPFLAGS'
19897 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19898 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19899 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19901 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19902 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19903 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19904 echo $ECHO_N "(cached) $ECHO_C" >&6
19906 cat >conftest.
$ac_ext <<_ACEOF
19909 cat confdefs.h
>>conftest.
$ac_ext
19910 cat >>conftest.
$ac_ext <<_ACEOF
19911 /* end confdefs.h. */
19917 #ifndef _SGI_COMPILER_VERSION
19925 rm -f conftest.
$ac_objext
19926 if { (ac_try
="$ac_compile"
19927 case "(($ac_try" in
19928 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19929 *) ac_try_echo=$ac_try;;
19931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19932 (eval "$ac_compile") 2>conftest.er1
19934 grep -v '^ *+' conftest.er1 >conftest.err
19936 cat conftest.err >&5
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); } && {
19939 test -z "$ac_cxx_werror_flag" ||
19940 test ! -s conftest.err
19941 } && test -s conftest.$ac_objext; then
19942 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19944 echo "$as_me: failed program was:" >&5
19945 sed 's/^/| /' conftest.$ac_ext >&5
19947 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19955 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19956 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19957 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19963 ac_cpp='$CPP $CPPFLAGS'
19964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19976 ac_cpp='$CXXCPP $CPPFLAGS'
19977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19981 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19982 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19983 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19984 echo $ECHO_N "(cached) $ECHO_C" >&6
19986 cat >conftest.$ac_ext <<_ACEOF
19989 cat confdefs.h >>conftest.$ac_ext
19990 cat >>conftest.$ac_ext <<_ACEOF
19991 /* end confdefs.h. */
19997 #ifndef __SUNPRO_CC
20005 rm -f conftest.$ac_objext
20006 if { (ac_try="$ac_compile"
20007 case "(($ac_try" in
20008 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20009 *) ac_try_echo
=$ac_try;;
20011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20012 (eval "$ac_compile") 2>conftest.er1
20014 grep -v '^ *+' conftest.er1
>conftest.err
20016 cat conftest.err
>&5
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); } && {
20019 test -z "$ac_cxx_werror_flag" ||
20020 test ! -s conftest.err
20021 } && test -s conftest.
$ac_objext; then
20022 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
20024 echo "$as_me: failed program was:" >&5
20025 sed 's/^/| /' conftest.
$ac_ext >&5
20027 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
20031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20035 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20036 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20037 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20043 ac_cpp
='$CPP $CPPFLAGS'
20044 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20045 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20046 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20056 ac_cpp
='$CXXCPP $CPPFLAGS'
20057 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20058 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20059 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20061 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
20062 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
20063 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
20064 echo $ECHO_N "(cached) $ECHO_C" >&6
20066 cat >conftest.
$ac_ext <<_ACEOF
20069 cat confdefs.h
>>conftest.
$ac_ext
20070 cat >>conftest.
$ac_ext <<_ACEOF
20071 /* end confdefs.h. */
20085 rm -f conftest.
$ac_objext
20086 if { (ac_try
="$ac_compile"
20087 case "(($ac_try" in
20088 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20089 *) ac_try_echo=$ac_try;;
20091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20092 (eval "$ac_compile") 2>conftest.er1
20094 grep -v '^ *+' conftest.er1 >conftest.err
20096 cat conftest.err >&5
20097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20098 (exit $ac_status); } && {
20099 test -z "$ac_cxx_werror_flag" ||
20100 test ! -s conftest.err
20101 } && test -s conftest.$ac_objext; then
20102 bakefile_cv_cxx_compiler___HP_aCC=yes
20104 echo "$as_me: failed program was:" >&5
20105 sed 's/^/| /' conftest.$ac_ext >&5
20107 bakefile_cv_cxx_compiler___HP_aCC=no
20111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20115 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
20116 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
20117 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
20123 ac_cpp='$CPP $CPPFLAGS'
20124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20136 ac_cpp='$CXXCPP $CPPFLAGS'
20137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20141 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
20142 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
20143 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
20144 echo $ECHO_N "(cached) $ECHO_C" >&6
20146 cat >conftest.$ac_ext <<_ACEOF
20149 cat confdefs.h >>conftest.$ac_ext
20150 cat >>conftest.$ac_ext <<_ACEOF
20151 /* end confdefs.h. */
20165 rm -f conftest.$ac_objext
20166 if { (ac_try="$ac_compile"
20167 case "(($ac_try" in
20168 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20169 *) ac_try_echo
=$ac_try;;
20171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20172 (eval "$ac_compile") 2>conftest.er1
20174 grep -v '^ *+' conftest.er1
>conftest.err
20176 cat conftest.err
>&5
20177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20178 (exit $ac_status); } && {
20179 test -z "$ac_cxx_werror_flag" ||
20180 test ! -s conftest.err
20181 } && test -s conftest.
$ac_objext; then
20182 bakefile_cv_cxx_compiler___DECCXX
=yes
20184 echo "$as_me: failed program was:" >&5
20185 sed 's/^/| /' conftest.
$ac_ext >&5
20187 bakefile_cv_cxx_compiler___DECCXX
=no
20191 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20195 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
20196 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
20197 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
20203 ac_cpp
='$CPP $CPPFLAGS'
20204 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20205 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20206 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20216 ac_cpp
='$CXXCPP $CPPFLAGS'
20217 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20218 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20219 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20221 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20222 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20223 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20224 echo $ECHO_N "(cached) $ECHO_C" >&6
20226 cat >conftest.
$ac_ext <<_ACEOF
20229 cat confdefs.h
>>conftest.
$ac_ext
20230 cat >>conftest.
$ac_ext <<_ACEOF
20231 /* end confdefs.h. */
20237 #ifndef __SUNPRO_CC
20245 rm -f conftest.
$ac_objext
20246 if { (ac_try
="$ac_compile"
20247 case "(($ac_try" in
20248 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20249 *) ac_try_echo=$ac_try;;
20251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20252 (eval "$ac_compile") 2>conftest.er1
20254 grep -v '^ *+' conftest.er1 >conftest.err
20256 cat conftest.err >&5
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); } && {
20259 test -z "$ac_cxx_werror_flag" ||
20260 test ! -s conftest.err
20261 } && test -s conftest.$ac_objext; then
20262 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20264 echo "$as_me: failed program was:" >&5
20265 sed 's/^/| /' conftest.$ac_ext >&5
20267 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20275 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20276 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20277 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20283 ac_cpp='$CPP $CPPFLAGS'
20284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20296 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
20297 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
20298 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
20299 { (exit 1); exit 1; }; }
20302 if test "x$SUNCXX" != xyes; then
20303 if test -n "$ac_tool_prefix"; then
20304 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20305 set dummy ${ac_tool_prefix}ar; ac_word=$2
20306 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20308 if test "${ac_cv_prog_AR+set}" = set; then
20309 echo $ECHO_N "(cached) $ECHO_C" >&6
20311 if test -n "$AR"; then
20312 ac_cv_prog_AR="$AR" # Let the user override the test.
20314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20315 for as_dir in $PATH
20318 test -z "$as_dir" && as_dir=.
20319 for ac_exec_ext in '' $ac_executable_extensions; do
20320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20321 ac_cv_prog_AR="${ac_tool_prefix}ar"
20322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20332 if test -n "$AR"; then
20333 { echo "$as_me:$LINENO: result: $AR" >&5
20334 echo "${ECHO_T}$AR" >&6; }
20336 { echo "$as_me:$LINENO: result: no" >&5
20337 echo "${ECHO_T}no" >&6; }
20342 if test -z "$ac_cv_prog_AR"; then
20344 # Extract the first word of "ar", so it can be a program name with args.
20345 set dummy ar; ac_word=$2
20346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20348 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20349 echo $ECHO_N "(cached) $ECHO_C" >&6
20351 if test -n "$ac_ct_AR"; then
20352 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20355 for as_dir in $PATH
20358 test -z "$as_dir" && as_dir=.
20359 for ac_exec_ext in '' $ac_executable_extensions; do
20360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20361 ac_cv_prog_ac_ct_AR="ar"
20362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20371 ac_ct_AR=$ac_cv_prog_ac_ct_AR
20372 if test -n "$ac_ct_AR"; then
20373 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20374 echo "${ECHO_T}$ac_ct_AR" >&6; }
20376 { echo "$as_me:$LINENO: result: no" >&5
20377 echo "${ECHO_T}no" >&6; }
20380 if test "x$ac_ct_AR" = x; then
20383 case $cross_compiling:$ac_tool_warned in
20385 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20386 whose name does not start with the host triplet. If you think this
20387 configuration is useful to you, please write to autoconf@gnu.org." >&5
20388 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20389 whose name does not start with the host triplet. If you think this
20390 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20391 ac_tool_warned=yes ;;
20396 AR="$ac_cv_prog_AR"
20399 if test "x$AR" = "x" ; then
20400 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
20401 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
20402 { (exit 1); exit 1; }; }
20406 retest_macosx_linking=no
20408 #if test "$wxUSE_MAC" = 1; then
20409 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20410 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20411 # Implicitly turn on the new --with-macosx-sdk using the default
20412 # SDK which provides the behavior this option has always had.
20413 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20414 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20415 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20416 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20417 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20418 wxUSE_MACOSX_SDK=yes
20421 # Complain to user if he specified an argument to --enable-universal_binary
20422 # and also 1) specified --with-macosx-sdk using the default (yes) or
20423 # 2) specified --with-macosx-sdk using a path or 3) specified
20424 # --without-macosx-sdk (no).
20425 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20426 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20427 See \`config.log
' for more details." >&5
20428 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20429 See \`config.log' for more details.
" >&2;}
20430 { (exit 1); exit 1; }; }
20432 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20433 # special-case the empty string because the below test simply
20434 # converts "no
" to the empty string anyway.
20435 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20436 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
20437 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
20440 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
20441 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20442 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20443 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20444 retest_macosx_linking=yes
20446 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
20447 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
20452 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
20454 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
20455 # TODO: Search for most recent SDK and use it.
20456 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
20460 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
20461 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
20462 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
20463 if ! test -d "$wxUSE_MACOSX_SDK"; then
20464 { { echo "$as_me:$LINENO: error
: not found
20465 See \
`config.log' for more details." >&5
20466 echo "$as_me: error: not found
20467 See \`config.log
' for more details." >&2;}
20468 { (exit 1); exit 1; }; }
20470 { echo "$as_me:$LINENO: result: exists" >&5
20471 echo "${ECHO_T}exists" >&6; }
20473 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20474 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20475 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20476 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20477 retest_macosx_linking=yes
20480 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20481 wxUSE_MACOSX_VERSION_MIN=
20482 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20483 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20484 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20485 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20487 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/'`
20489 # If that failed, try again with the new key
20490 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
20492 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/'`
20496 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20497 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20498 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20499 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20501 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20502 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20503 wxUSE_MACOSX_VERSION_MIN=
20506 wxUSE_MACOSX_VERSION_MIN=
20510 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20511 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20512 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20513 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20514 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20515 retest_macosx_linking=yes
20518 if test "x$retest_macosx_linking" = "xyes"; then
20520 ac_cpp='$CPP $CPPFLAGS'
20521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
20522 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
20523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20525 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20526 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20527 cat >conftest.$ac_ext <<_ACEOF
20530 cat confdefs.h >>conftest.$ac_ext
20531 cat >>conftest.$ac_ext <<_ACEOF
20532 /* end confdefs.h. */
20542 rm -f conftest.$ac_objext conftest$ac_exeext
20543 if { (ac_try="$ac_link"
20544 case "(($ac_try" in
20545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20546 *) ac_try_echo=$ac_try;;
20548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20549 (eval "$ac_link") 2>conftest.er1
20551 grep -v '^
*+' conftest.er1 >conftest.err
20553 cat conftest.err >&5
20554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20555 (exit $ac_status); } && {
20556 test -z "$ac_c_werror_flag" ||
20557 test ! -s conftest.err
20558 } && test -s conftest$ac_exeext &&
20559 $as_test_x conftest$ac_exeext; then
20560 { echo "$as_me:$LINENO: result: yes" >&5
20561 echo "${ECHO_T}yes" >&6; }
20563 echo "$as_me: failed program was:" >&5
20564 sed 's
/^
/| /' conftest.$ac_ext >&5
20566 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20567 See \`config.log' for more details.
" >&5
20568 echo "$as_me: error
: no. Try a different SDK
20569 See \
`config.log' for more details." >&2;}
20570 { (exit 1); exit 1; }; }; exit 1
20573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20574 conftest$ac_exeext conftest.$ac_ext
20576 ac_cpp='$CPP $CPPFLAGS'
20577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20583 ac_cpp='$CXXCPP $CPPFLAGS'
20584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20588 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20589 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20590 cat >conftest.$ac_ext <<_ACEOF
20593 cat confdefs.h >>conftest.$ac_ext
20594 cat >>conftest.$ac_ext <<_ACEOF
20595 /* end confdefs.h. */
20605 rm -f conftest.$ac_objext conftest$ac_exeext
20606 if { (ac_try="$ac_link"
20607 case "(($ac_try" in
20608 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20609 *) ac_try_echo
=$ac_try;;
20611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20612 (eval "$ac_link") 2>conftest.er1
20614 grep -v '^ *+' conftest.er1
>conftest.err
20616 cat conftest.err
>&5
20617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618 (exit $ac_status); } && {
20619 test -z "$ac_cxx_werror_flag" ||
20620 test ! -s conftest.err
20621 } && test -s conftest
$ac_exeext &&
20622 $as_test_x conftest
$ac_exeext; then
20623 { echo "$as_me:$LINENO: result: yes" >&5
20624 echo "${ECHO_T}yes" >&6; }
20626 echo "$as_me: failed program was:" >&5
20627 sed 's/^/| /' conftest.
$ac_ext >&5
20629 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20630 See \`config.log' for more details." >&5
20631 echo "$as_me: error: no. Try a different SDK
20632 See \`config.log' for more details." >&2;}
20633 { (exit 1); exit 1; }; }; exit 1
20636 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20637 conftest
$ac_exeext conftest.
$ac_ext
20639 ac_cpp
='$CPP $CPPFLAGS'
20640 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20641 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20642 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20650 INSTALL_PROGRAM
="cp -fp"
20651 INSTALL_DATA
="cp -fp"
20658 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20659 CXXFLAGS
="-qunique $CXXFLAGS"
20663 powerpc
-*-darwin* )
20664 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20665 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20666 cat >conftest.
$ac_ext <<_ACEOF
20669 cat confdefs.h
>>conftest.
$ac_ext
20670 cat >>conftest.
$ac_ext <<_ACEOF
20671 /* end confdefs.h. */
20676 #ifndef __POWERPC__
20677 choke me for lack of PowerPC
20684 rm -f conftest.
$ac_objext
20685 if { (ac_try
="$ac_compile"
20686 case "(($ac_try" in
20687 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20688 *) ac_try_echo=$ac_try;;
20690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20691 (eval "$ac_compile") 2>conftest.er1
20693 grep -v '^ *+' conftest.er1 >conftest.err
20695 cat conftest.err >&5
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); } && {
20698 test -z "$ac_c_werror_flag" ||
20699 test ! -s conftest.err
20700 } && test -s conftest.$ac_objext; then
20701 { echo "$as_me:$LINENO: result: yes" >&5
20702 echo "${ECHO_T}yes" >&6; }
20704 echo "$as_me: failed program was:" >&5
20705 sed 's/^/| /' conftest.$ac_ext >&5
20707 { echo "$as_me:$LINENO: result: no" >&5
20708 echo "${ECHO_T}no" >&6; }
20709 cat >>confdefs.h <<\_ACEOF
20710 #define __POWERPC__ 1
20716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20722 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20723 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20724 cat >conftest.$ac_ext <<_ACEOF
20727 cat confdefs.h >>conftest.$ac_ext
20728 cat >>conftest.$ac_ext <<_ACEOF
20729 /* end confdefs.h. */
20730 #include <CoreFoundation/CFBase.h>
20740 rm -f conftest.$ac_objext
20741 if { (ac_try="$ac_compile"
20742 case "(($ac_try" in
20743 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20744 *) ac_try_echo
=$ac_try;;
20746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20747 (eval "$ac_compile") 2>conftest.er1
20749 grep -v '^ *+' conftest.er1
>conftest.err
20751 cat conftest.err
>&5
20752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753 (exit $ac_status); } && {
20754 test -z "$ac_c_werror_flag" ||
20755 test ! -s conftest.err
20756 } && test -s conftest.
$ac_objext; then
20757 { echo "$as_me:$LINENO: result: yes" >&5
20758 echo "${ECHO_T}yes" >&6; }
20760 echo "$as_me: failed program was:" >&5
20761 sed 's/^/| /' conftest.
$ac_ext >&5
20763 { echo "$as_me:$LINENO: result: no" >&5
20764 echo "${ECHO_T}no" >&6; }
20765 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20766 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20767 cat >conftest.
$ac_ext <<_ACEOF
20770 cat confdefs.h
>>conftest.
$ac_ext
20771 cat >>conftest.
$ac_ext <<_ACEOF
20772 /* end confdefs.h. */
20773 #define __CF_USE_FRAMEWORK_INCLUDES__
20774 #include <CoreFoundation/CFBase.h>
20784 rm -f conftest.
$ac_objext
20785 if { (ac_try
="$ac_compile"
20786 case "(($ac_try" in
20787 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20788 *) ac_try_echo=$ac_try;;
20790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20791 (eval "$ac_compile") 2>conftest.er1
20793 grep -v '^ *+' conftest.er1 >conftest.err
20795 cat conftest.err >&5
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); } && {
20798 test -z "$ac_c_werror_flag" ||
20799 test ! -s conftest.err
20800 } && test -s conftest.$ac_objext; then
20801 { echo "$as_me:$LINENO: result: yes" >&5
20802 echo "${ECHO_T}yes" >&6; }
20803 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20805 echo "$as_me: failed program was:" >&5
20806 sed 's/^/| /' conftest.$ac_ext >&5
20808 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20809 See \`config.log
' for more details." >&5
20810 echo "$as_me: error: no. CoreFoundation not available.
20811 See \`config.log' for more details.
" >&2;}
20812 { (exit 1); exit 1; }; }
20816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20826 doesnt_want_win32=0
20829 if test "$wxUSE_MSW" = 1 ; then
20832 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
20833 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
20834 if test "${wx_cv_nocygwin+set}" = set; then
20835 echo $ECHO_N "(cached
) $ECHO_C" >&6
20838 cat >conftest.$ac_ext <<_ACEOF
20841 cat confdefs.h >>conftest.$ac_ext
20842 cat >>conftest.$ac_ext <<_ACEOF
20843 /* end confdefs.h. */
20857 rm -f conftest.$ac_objext
20858 if { (ac_try="$ac_compile"
20859 case "(($ac_try" in
20860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20861 *) ac_try_echo=$ac_try;;
20863 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20864 (eval "$ac_compile") 2>conftest.er1
20866 grep -v '^ *+' conftest.er1 >conftest.err
20868 cat conftest.err >&5
20869 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20870 (exit $ac_status); } && {
20871 test -z "$ac_c_werror_flag" ||
20872 test ! -s conftest.err
20873 } && test -s conftest.$ac_objext; then
20876 echo "$as_me: failed program was
:" >&5
20877 sed 's/^/| /' conftest.$ac_ext >&5
20883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20887 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
20888 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20890 if test "$wx_cv_nocygwin" = "yes"; then
20893 doesnt_want_win32=1
20896 if test "$wants_win32" = 1 ; then
20897 BAKEFILE_FORCE_PLATFORM=win32
20905 if test "$wxUSE_WINE" = "yes"; then
20907 LDFLAGS_GUI="-mwindows"
20910 if test "$wants_win32" = 1 ; then
20913 cat >>confdefs.h <<\_ACEOF
20914 #define __WIN32__ 1
20917 cat >>confdefs.h <<\_ACEOF
20918 #define __WIN95__ 1
20921 cat >>confdefs.h <<\_ACEOF
20922 #define __WINDOWS__ 1
20925 cat >>confdefs.h <<\_ACEOF
20926 #define __GNUWIN32__ 1
20929 cat >>confdefs.h <<\_ACEOF
20934 if test "$doesnt_want_win32" = 1 ; then
20939 if test "$USE_UNIX" = 1 ; then
20941 cat >>confdefs.h <<\_ACEOF
20948 *-pc-os2_emx | *-pc-os2-emx )
20949 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20950 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
20951 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
20952 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20953 echo $ECHO_N "(cached
) $ECHO_C" >&6
20955 ac_check_lib_save_LIBS=$LIBS
20956 LIBS="-lcExt $LIBS"
20957 cat >conftest.$ac_ext <<_ACEOF
20960 cat confdefs.h >>conftest.$ac_ext
20961 cat >>conftest.$ac_ext <<_ACEOF
20962 /* end confdefs.h. */
20964 /* Override any GCC internal prototype to avoid an error.
20965 Use char because int might match the return type of a GCC
20966 builtin and then its argument prototype would still apply. */
20979 rm -f conftest.$ac_objext conftest$ac_exeext
20980 if { (ac_try="$ac_link"
20981 case "(($ac_try" in
20982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20983 *) ac_try_echo=$ac_try;;
20985 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20986 (eval "$ac_link") 2>conftest.er1
20988 grep -v '^ *+' conftest.er1 >conftest.err
20990 cat conftest.err >&5
20991 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20992 (exit $ac_status); } && {
20993 test -z "$ac_c_werror_flag" ||
20994 test ! -s conftest.err
20995 } && test -s conftest$ac_exeext &&
20996 $as_test_x conftest$ac_exeext; then
20997 ac_cv_lib_cExt_drand48=yes
20999 echo "$as_me: failed program was
:" >&5
21000 sed 's/^/| /' conftest.$ac_ext >&5
21002 ac_cv_lib_cExt_drand48=no
21005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21006 conftest$ac_exeext conftest.$ac_ext
21007 LIBS=$ac_check_lib_save_LIBS
21009 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
21010 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
21011 if test $ac_cv_lib_cExt_drand48 = yes; then
21012 LIBS="$LIBS -lcExt"
21016 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
21018 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
21019 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
21020 if test "${wx_cv_gccversion+set}" = set; then
21021 echo $ECHO_N "(cached
) $ECHO_C" >&6
21024 if test "$cross_compiling" = yes; then
21025 wx_cv_gccversion="EMX2
"
21028 cat >conftest.$ac_ext <<_ACEOF
21031 cat confdefs.h >>conftest.$ac_ext
21032 cat >>conftest.$ac_ext <<_ACEOF
21033 /* end confdefs.h. */
21039 FILE *f=fopen("conftestval
", "w
");
21044 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
21046 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
21056 rm -f conftest$ac_exeext
21057 if { (ac_try="$ac_link"
21058 case "(($ac_try" in
21059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21060 *) ac_try_echo=$ac_try;;
21062 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21063 (eval "$ac_link") 2>&5
21065 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21066 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21067 { (case "(($ac_try" in
21068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21069 *) ac_try_echo=$ac_try;;
21071 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21072 (eval "$ac_try") 2>&5
21074 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21075 (exit $ac_status); }; }; then
21076 wx_cv_gccversion=`cat conftestval`
21078 echo "$as_me: program exited with status
$ac_status" >&5
21079 echo "$as_me: failed program was
:" >&5
21080 sed 's/^/| /' conftest.$ac_ext >&5
21082 ( exit $ac_status )
21083 wx_cv_gccversion="EMX2
"
21085 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21091 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
21092 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
21093 if test "$wx_cv_gccversion" = "EMX2
"; then
21094 LIBS="$LIBS -lstdcpp"
21095 LDFLAGS="$LDFLAGS -Zsysv-signals"
21097 if test "$wx_cv_gccversion" = "EMX3
"; then
21098 LIBS="$LIBS -lstdcxx -lgcc"
21099 LDFLAGS="$LDFLAGS -Zsysv-signals"
21101 LIBS="$LIBS -lstdc++"
21104 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
21105 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
21106 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
21113 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
21114 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
21115 if test "${ac_cv_string_strcasecmp+set}" = set; then
21116 echo $ECHO_N "(cached
) $ECHO_C" >&6
21119 cat >conftest.$ac_ext <<_ACEOF
21122 cat confdefs.h >>conftest.$ac_ext
21123 cat >>conftest.$ac_ext <<_ACEOF
21124 /* end confdefs.h. */
21126 #include <string.h>
21132 strcasecmp("foo
", "bar
");
21138 rm -f conftest.$ac_objext conftest$ac_exeext
21139 if { (ac_try="$ac_link"
21140 case "(($ac_try" in
21141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21142 *) ac_try_echo=$ac_try;;
21144 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21145 (eval "$ac_link") 2>conftest.er1
21147 grep -v '^ *+' conftest.er1 >conftest.err
21149 cat conftest.err >&5
21150 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21151 (exit $ac_status); } && {
21152 test -z "$ac_c_werror_flag" ||
21153 test ! -s conftest.err
21154 } && test -s conftest$ac_exeext &&
21155 $as_test_x conftest$ac_exeext; then
21156 ac_cv_string_strcasecmp=yes
21158 echo "$as_me: failed program was
:" >&5
21159 sed 's/^/| /' conftest.$ac_ext >&5
21161 ac_cv_string_strcasecmp=no
21165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21166 conftest$ac_exeext conftest.$ac_ext
21169 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
21170 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21172 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
21173 cat >>confdefs.h <<\_ACEOF
21174 #define HAVE_STRCASECMP_IN_STRING_H 1
21178 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
21179 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
21180 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21181 echo $ECHO_N "(cached
) $ECHO_C" >&6
21184 cat >conftest.$ac_ext <<_ACEOF
21187 cat confdefs.h >>conftest.$ac_ext
21188 cat >>conftest.$ac_ext <<_ACEOF
21189 /* end confdefs.h. */
21191 #include <strings.h>
21197 strcasecmp("foo
", "bar
");
21203 rm -f conftest.$ac_objext conftest$ac_exeext
21204 if { (ac_try="$ac_link"
21205 case "(($ac_try" in
21206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21207 *) ac_try_echo=$ac_try;;
21209 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21210 (eval "$ac_link") 2>conftest.er1
21212 grep -v '^ *+' conftest.er1 >conftest.err
21214 cat conftest.err >&5
21215 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21216 (exit $ac_status); } && {
21217 test -z "$ac_c_werror_flag" ||
21218 test ! -s conftest.err
21219 } && test -s conftest$ac_exeext &&
21220 $as_test_x conftest$ac_exeext; then
21221 ac_cv_strings_strcasecmp=yes
21223 echo "$as_me: failed program was
:" >&5
21224 sed 's/^/| /' conftest.$ac_ext >&5
21226 ac_cv_strings_strcasecmp=no
21230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21231 conftest$ac_exeext conftest.$ac_ext
21234 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
21235 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21237 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
21238 cat >>confdefs.h <<\_ACEOF
21239 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21243 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
21244 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
21245 { (exit 1); exit 1; }; }
21253 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
21254 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
21255 if test "${ac_cv_header_stdc+set}" = set; then
21256 echo $ECHO_N "(cached
) $ECHO_C" >&6
21258 cat >conftest.$ac_ext <<_ACEOF
21261 cat confdefs.h >>conftest.$ac_ext
21262 cat >>conftest.$ac_ext <<_ACEOF
21263 /* end confdefs.h. */
21264 #include <stdlib.h>
21265 #include <stdarg.h>
21266 #include <string.h>
21277 rm -f conftest.$ac_objext
21278 if { (ac_try="$ac_compile"
21279 case "(($ac_try" in
21280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21281 *) ac_try_echo=$ac_try;;
21283 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21284 (eval "$ac_compile") 2>conftest.er1
21286 grep -v '^ *+' conftest.er1 >conftest.err
21288 cat conftest.err >&5
21289 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21290 (exit $ac_status); } && {
21291 test -z "$ac_c_werror_flag" ||
21292 test ! -s conftest.err
21293 } && test -s conftest.$ac_objext; then
21294 ac_cv_header_stdc=yes
21296 echo "$as_me: failed program was
:" >&5
21297 sed 's/^/| /' conftest.$ac_ext >&5
21299 ac_cv_header_stdc=no
21302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21304 if test $ac_cv_header_stdc = yes; then
21305 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21306 cat >conftest.$ac_ext <<_ACEOF
21309 cat confdefs.h >>conftest.$ac_ext
21310 cat >>conftest.$ac_ext <<_ACEOF
21311 /* end confdefs.h. */
21312 #include <string.h>
21315 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21316 $EGREP "memchr
" >/dev/null 2>&1; then
21319 ac_cv_header_stdc=no
21325 if test $ac_cv_header_stdc = yes; then
21326 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21327 cat >conftest.$ac_ext <<_ACEOF
21330 cat confdefs.h >>conftest.$ac_ext
21331 cat >>conftest.$ac_ext <<_ACEOF
21332 /* end confdefs.h. */
21333 #include <stdlib.h>
21336 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21337 $EGREP "free
" >/dev/null 2>&1; then
21340 ac_cv_header_stdc=no
21346 if test $ac_cv_header_stdc = yes; then
21347 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21348 if test "$cross_compiling" = yes; then
21351 cat >conftest.$ac_ext <<_ACEOF
21354 cat confdefs.h >>conftest.$ac_ext
21355 cat >>conftest.$ac_ext <<_ACEOF
21356 /* end confdefs.h. */
21358 #include <stdlib.h>
21359 #if ((' ' & 0x0FF) == 0x020)
21360 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21361 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21363 # define ISLOWER(c) \
21364 (('a' <= (c) && (c) <= 'i') \
21365 || ('j' <= (c) && (c) <= 'r') \
21366 || ('s' <= (c) && (c) <= 'z'))
21367 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21370 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21375 for (i = 0; i < 256; i++)
21376 if (XOR (islower (i), ISLOWER (i))
21377 || toupper (i) != TOUPPER (i))
21382 rm -f conftest$ac_exeext
21383 if { (ac_try="$ac_link"
21384 case "(($ac_try" in
21385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21386 *) ac_try_echo=$ac_try;;
21388 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21389 (eval "$ac_link") 2>&5
21391 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21392 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21393 { (case "(($ac_try" in
21394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21395 *) ac_try_echo=$ac_try;;
21397 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21398 (eval "$ac_try") 2>&5
21400 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21401 (exit $ac_status); }; }; then
21404 echo "$as_me: program exited with status
$ac_status" >&5
21405 echo "$as_me: failed program was
:" >&5
21406 sed 's/^/| /' conftest.$ac_ext >&5
21408 ( exit $ac_status )
21409 ac_cv_header_stdc=no
21411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21417 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
21418 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21419 if test $ac_cv_header_stdc = yes; then
21421 cat >>confdefs.h <<\_ACEOF
21422 #define STDC_HEADERS 1
21427 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21437 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21438 inttypes.h stdint.h unistd.h
21440 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21441 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21442 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21443 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21444 echo $ECHO_N "(cached
) $ECHO_C" >&6
21446 cat >conftest.$ac_ext <<_ACEOF
21449 cat confdefs.h >>conftest.$ac_ext
21450 cat >>conftest.$ac_ext <<_ACEOF
21451 /* end confdefs.h. */
21452 $ac_includes_default
21454 #include <$ac_header>
21456 rm -f conftest.$ac_objext
21457 if { (ac_try="$ac_compile"
21458 case "(($ac_try" in
21459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21460 *) ac_try_echo=$ac_try;;
21462 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21463 (eval "$ac_compile") 2>conftest.er1
21465 grep -v '^ *+' conftest.er1 >conftest.err
21467 cat conftest.err >&5
21468 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21469 (exit $ac_status); } && {
21470 test -z "$ac_c_werror_flag" ||
21471 test ! -s conftest.err
21472 } && test -s conftest.$ac_objext; then
21473 eval "$as_ac_Header=yes"
21475 echo "$as_me: failed program was
:" >&5
21476 sed 's/^/| /' conftest.$ac_ext >&5
21478 eval "$as_ac_Header=no
"
21481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21483 ac_res=`eval echo '${'$as_ac_Header'}'`
21484 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21485 echo "${ECHO_T}$ac_res" >&6; }
21486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21487 cat >>confdefs.h <<_ACEOF
21488 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21498 for ac_header in langinfo.h wchar.h
21500 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21501 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21502 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21503 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21504 echo $ECHO_N "(cached
) $ECHO_C" >&6
21506 cat >conftest.$ac_ext <<_ACEOF
21509 cat confdefs.h >>conftest.$ac_ext
21510 cat >>conftest.$ac_ext <<_ACEOF
21511 /* end confdefs.h. */
21512 $ac_includes_default
21514 #include <$ac_header>
21516 rm -f conftest.$ac_objext
21517 if { (ac_try="$ac_compile"
21518 case "(($ac_try" in
21519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21520 *) ac_try_echo=$ac_try;;
21522 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21523 (eval "$ac_compile") 2>conftest.er1
21525 grep -v '^ *+' conftest.er1 >conftest.err
21527 cat conftest.err >&5
21528 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21529 (exit $ac_status); } && {
21530 test -z "$ac_c_werror_flag" ||
21531 test ! -s conftest.err
21532 } && test -s conftest.$ac_objext; then
21533 eval "$as_ac_Header=yes"
21535 echo "$as_me: failed program was
:" >&5
21536 sed 's/^/| /' conftest.$ac_ext >&5
21538 eval "$as_ac_Header=no
"
21541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21543 ac_res=`eval echo '${'$as_ac_Header'}'`
21544 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21545 echo "${ECHO_T}$ac_res" >&6; }
21546 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21547 cat >>confdefs.h <<_ACEOF
21548 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21556 if test "$ac_cv_header_wchar_h" != "yes"; then
21558 for ac_header in wcstr.h
21560 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21561 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21562 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21563 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21564 echo $ECHO_N "(cached
) $ECHO_C" >&6
21566 cat >conftest.$ac_ext <<_ACEOF
21569 cat confdefs.h >>conftest.$ac_ext
21570 cat >>conftest.$ac_ext <<_ACEOF
21571 /* end confdefs.h. */
21572 $ac_includes_default
21574 #include <$ac_header>
21576 rm -f conftest.$ac_objext
21577 if { (ac_try="$ac_compile"
21578 case "(($ac_try" in
21579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21580 *) ac_try_echo=$ac_try;;
21582 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21583 (eval "$ac_compile") 2>conftest.er1
21585 grep -v '^ *+' conftest.er1 >conftest.err
21587 cat conftest.err >&5
21588 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21589 (exit $ac_status); } && {
21590 test -z "$ac_c_werror_flag" ||
21591 test ! -s conftest.err
21592 } && test -s conftest.$ac_objext; then
21593 eval "$as_ac_Header=yes"
21595 echo "$as_me: failed program was
:" >&5
21596 sed 's/^/| /' conftest.$ac_ext >&5
21598 eval "$as_ac_Header=no
"
21601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21603 ac_res=`eval echo '${'$as_ac_Header'}'`
21604 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21605 echo "${ECHO_T}$ac_res" >&6; }
21606 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21607 cat >>confdefs.h <<_ACEOF
21608 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21618 *-pc-os2_emx | *-pc-os2-emx )
21619 if test $ac_cv_header_langinfo_h = "yes" \
21620 -a \( "$wx_cv_gccversion" = "EMX2
" \
21621 -o "$wx_cv_gccversion" = "EMX3
" \
21622 -o "$wx_cv_gccversion" = "Innotek5
" \); then
21623 LIBS="$LIBS -lintl"
21628 if test "$USE_UNIX" = 1 ; then
21630 for ac_header in sys/select.h
21632 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21633 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21634 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21635 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21636 echo $ECHO_N "(cached
) $ECHO_C" >&6
21638 cat >conftest.$ac_ext <<_ACEOF
21641 cat confdefs.h >>conftest.$ac_ext
21642 cat >>conftest.$ac_ext <<_ACEOF
21643 /* end confdefs.h. */
21644 $ac_includes_default
21646 #include <$ac_header>
21648 rm -f conftest.$ac_objext
21649 if { (ac_try="$ac_compile"
21650 case "(($ac_try" in
21651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21652 *) ac_try_echo=$ac_try;;
21654 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21655 (eval "$ac_compile") 2>conftest.er1
21657 grep -v '^ *+' conftest.er1 >conftest.err
21659 cat conftest.err >&5
21660 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21661 (exit $ac_status); } && {
21662 test -z "$ac_c_werror_flag" ||
21663 test ! -s conftest.err
21664 } && test -s conftest.$ac_objext; then
21665 eval "$as_ac_Header=yes"
21667 echo "$as_me: failed program was
:" >&5
21668 sed 's/^/| /' conftest.$ac_ext >&5
21670 eval "$as_ac_Header=no
"
21673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21675 ac_res=`eval echo '${'$as_ac_Header'}'`
21676 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21677 echo "${ECHO_T}$ac_res" >&6; }
21678 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21679 cat >>confdefs.h <<_ACEOF
21680 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21690 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
21691 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
21692 if test "${ac_cv_c_const+set}" = set; then
21693 echo $ECHO_N "(cached
) $ECHO_C" >&6
21695 cat >conftest.$ac_ext <<_ACEOF
21698 cat confdefs.h >>conftest.$ac_ext
21699 cat >>conftest.$ac_ext <<_ACEOF
21700 /* end confdefs.h. */
21705 /* FIXME: Include the comments suggested by Paul. */
21706 #ifndef __cplusplus
21707 /* Ultrix mips cc rejects this. */
21708 typedef int charset[2];
21710 /* SunOS 4.1.1 cc rejects this. */
21711 char const *const *pcpcc;
21713 /* NEC SVR4.0.2 mips cc rejects this. */
21714 struct point {int x, y;};
21715 static struct point const zero = {0,0};
21716 /* AIX XL C 1.02.0.0 rejects this.
21717 It does not let you subtract one const X* pointer from another in
21718 an arm of an if-expression whose if-part is not a constant
21720 const char *g = "string
";
21721 pcpcc = &g + (g ? g-g : 0);
21722 /* HPUX 7.0 cc rejects these. */
21724 ppc = (char**) pcpcc;
21725 pcpcc = (char const *const *) ppc;
21726 { /* SCO 3.2v4 cc rejects this. */
21728 char const *s = 0 ? (char *) 0 : (char const *) 0;
21733 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21734 int x[] = {25, 17};
21735 const int *foo = &x[0];
21738 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21739 typedef const int *iptr;
21743 { /* AIX XL C 1.02.0.0 rejects this saying
21744 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21745 struct s { int j; const int *ap[3]; };
21746 struct s *b; b->j = 5;
21748 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21749 const int foo = 10;
21750 if (!foo) return 0;
21752 return !cs[0] && !zero.x;
21759 rm -f conftest.$ac_objext
21760 if { (ac_try="$ac_compile"
21761 case "(($ac_try" in
21762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21763 *) ac_try_echo=$ac_try;;
21765 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21766 (eval "$ac_compile") 2>conftest.er1
21768 grep -v '^ *+' conftest.er1 >conftest.err
21770 cat conftest.err >&5
21771 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21772 (exit $ac_status); } && {
21773 test -z "$ac_c_werror_flag" ||
21774 test ! -s conftest.err
21775 } && test -s conftest.$ac_objext; then
21778 echo "$as_me: failed program was
:" >&5
21779 sed 's/^/| /' conftest.$ac_ext >&5
21784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21786 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
21787 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21788 if test $ac_cv_c_const = no; then
21790 cat >>confdefs.h <<\_ACEOF
21796 { echo "$as_me:$LINENO: checking
for inline
" >&5
21797 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
21798 if test "${ac_cv_c_inline+set}" = set; then
21799 echo $ECHO_N "(cached
) $ECHO_C" >&6
21802 for ac_kw in inline __inline__ __inline; do
21803 cat >conftest.$ac_ext <<_ACEOF
21806 cat confdefs.h >>conftest.$ac_ext
21807 cat >>conftest.$ac_ext <<_ACEOF
21808 /* end confdefs.h. */
21809 #ifndef __cplusplus
21811 static $ac_kw foo_t static_foo () {return 0; }
21812 $ac_kw foo_t foo () {return 0; }
21816 rm -f conftest.$ac_objext
21817 if { (ac_try="$ac_compile"
21818 case "(($ac_try" in
21819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21820 *) ac_try_echo=$ac_try;;
21822 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21823 (eval "$ac_compile") 2>conftest.er1
21825 grep -v '^ *+' conftest.er1 >conftest.err
21827 cat conftest.err >&5
21828 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21829 (exit $ac_status); } && {
21830 test -z "$ac_c_werror_flag" ||
21831 test ! -s conftest.err
21832 } && test -s conftest.$ac_objext; then
21833 ac_cv_c_inline=$ac_kw
21835 echo "$as_me: failed program was
:" >&5
21836 sed 's/^/| /' conftest.$ac_ext >&5
21841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21842 test "$ac_cv_c_inline" != no && break
21846 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
21847 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21850 case $ac_cv_c_inline in
21853 case $ac_cv_c_inline in
21855 *) ac_val=$ac_cv_c_inline;;
21857 cat >>confdefs.h <<_ACEOF
21858 #ifndef __cplusplus
21859 #define inline $ac_val
21866 { echo "$as_me:$LINENO: checking
for short
" >&5
21867 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
21868 if test "${ac_cv_type_short+set}" = set; then
21869 echo $ECHO_N "(cached
) $ECHO_C" >&6
21871 cat >conftest.$ac_ext <<_ACEOF
21874 cat confdefs.h >>conftest.$ac_ext
21875 cat >>conftest.$ac_ext <<_ACEOF
21876 /* end confdefs.h. */
21877 $ac_includes_default
21878 typedef short ac__type_new_;
21882 if ((ac__type_new_ *) 0)
21884 if (sizeof (ac__type_new_))
21890 rm -f conftest.$ac_objext
21891 if { (ac_try="$ac_compile"
21892 case "(($ac_try" in
21893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21894 *) ac_try_echo=$ac_try;;
21896 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21897 (eval "$ac_compile") 2>conftest.er1
21899 grep -v '^ *+' conftest.er1 >conftest.err
21901 cat conftest.err >&5
21902 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21903 (exit $ac_status); } && {
21904 test -z "$ac_c_werror_flag" ||
21905 test ! -s conftest.err
21906 } && test -s conftest.$ac_objext; then
21907 ac_cv_type_short=yes
21909 echo "$as_me: failed program was
:" >&5
21910 sed 's/^/| /' conftest.$ac_ext >&5
21912 ac_cv_type_short=no
21915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21917 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
21918 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21920 # The cast to long int works around a bug in the HP C Compiler
21921 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21922 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21923 # This bug is HP SR number 8606223364.
21924 { echo "$as_me:$LINENO: checking size of short
" >&5
21925 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
21926 if test "${ac_cv_sizeof_short+set}" = set; then
21927 echo $ECHO_N "(cached
) $ECHO_C" >&6
21929 if test "$cross_compiling" = yes; then
21930 # Depending upon the size, compute the lo and hi bounds.
21931 cat >conftest.$ac_ext <<_ACEOF
21934 cat confdefs.h >>conftest.$ac_ext
21935 cat >>conftest.$ac_ext <<_ACEOF
21936 /* end confdefs.h. */
21937 $ac_includes_default
21938 typedef short ac__type_sizeof_;
21942 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21949 rm -f conftest.$ac_objext
21950 if { (ac_try="$ac_compile"
21951 case "(($ac_try" in
21952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21953 *) ac_try_echo=$ac_try;;
21955 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21956 (eval "$ac_compile") 2>conftest.er1
21958 grep -v '^ *+' conftest.er1 >conftest.err
21960 cat conftest.err >&5
21961 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21962 (exit $ac_status); } && {
21963 test -z "$ac_c_werror_flag" ||
21964 test ! -s conftest.err
21965 } && test -s conftest.$ac_objext; then
21968 cat >conftest.$ac_ext <<_ACEOF
21971 cat confdefs.h >>conftest.$ac_ext
21972 cat >>conftest.$ac_ext <<_ACEOF
21973 /* end confdefs.h. */
21974 $ac_includes_default
21975 typedef short ac__type_sizeof_;
21979 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21986 rm -f conftest.$ac_objext
21987 if { (ac_try="$ac_compile"
21988 case "(($ac_try" in
21989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21990 *) ac_try_echo=$ac_try;;
21992 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21993 (eval "$ac_compile") 2>conftest.er1
21995 grep -v '^ *+' conftest.er1 >conftest.err
21997 cat conftest.err >&5
21998 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21999 (exit $ac_status); } && {
22000 test -z "$ac_c_werror_flag" ||
22001 test ! -s conftest.err
22002 } && test -s conftest.$ac_objext; then
22003 ac_hi=$ac_mid; break
22005 echo "$as_me: failed program was
:" >&5
22006 sed 's/^/| /' conftest.$ac_ext >&5
22008 ac_lo=`expr $ac_mid + 1`
22009 if test $ac_lo -le $ac_mid; then
22013 ac_mid=`expr 2 '*' $ac_mid + 1`
22016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22019 echo "$as_me: failed program was
:" >&5
22020 sed 's/^/| /' conftest.$ac_ext >&5
22022 cat >conftest.$ac_ext <<_ACEOF
22025 cat confdefs.h >>conftest.$ac_ext
22026 cat >>conftest.$ac_ext <<_ACEOF
22027 /* end confdefs.h. */
22028 $ac_includes_default
22029 typedef short ac__type_sizeof_;
22033 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22040 rm -f conftest.$ac_objext
22041 if { (ac_try="$ac_compile"
22042 case "(($ac_try" in
22043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22044 *) ac_try_echo=$ac_try;;
22046 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22047 (eval "$ac_compile") 2>conftest.er1
22049 grep -v '^ *+' conftest.er1 >conftest.err
22051 cat conftest.err >&5
22052 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22053 (exit $ac_status); } && {
22054 test -z "$ac_c_werror_flag" ||
22055 test ! -s conftest.err
22056 } && test -s conftest.$ac_objext; then
22059 cat >conftest.$ac_ext <<_ACEOF
22062 cat confdefs.h >>conftest.$ac_ext
22063 cat >>conftest.$ac_ext <<_ACEOF
22064 /* end confdefs.h. */
22065 $ac_includes_default
22066 typedef short ac__type_sizeof_;
22070 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22077 rm -f conftest.$ac_objext
22078 if { (ac_try="$ac_compile"
22079 case "(($ac_try" in
22080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22081 *) ac_try_echo=$ac_try;;
22083 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22084 (eval "$ac_compile") 2>conftest.er1
22086 grep -v '^ *+' conftest.er1 >conftest.err
22088 cat conftest.err >&5
22089 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22090 (exit $ac_status); } && {
22091 test -z "$ac_c_werror_flag" ||
22092 test ! -s conftest.err
22093 } && test -s conftest.$ac_objext; then
22094 ac_lo=$ac_mid; break
22096 echo "$as_me: failed program was
:" >&5
22097 sed 's/^/| /' conftest.$ac_ext >&5
22099 ac_hi=`expr '(' $ac_mid ')' - 1`
22100 if test $ac_mid -le $ac_hi; then
22104 ac_mid=`expr 2 '*' $ac_mid`
22107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22110 echo "$as_me: failed program was
:" >&5
22111 sed 's/^/| /' conftest.$ac_ext >&5
22116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22120 # Binary search between lo and hi bounds.
22121 while test "x
$ac_lo" != "x
$ac_hi"; do
22122 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22123 cat >conftest.$ac_ext <<_ACEOF
22126 cat confdefs.h >>conftest.$ac_ext
22127 cat >>conftest.$ac_ext <<_ACEOF
22128 /* end confdefs.h. */
22129 $ac_includes_default
22130 typedef short ac__type_sizeof_;
22134 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22141 rm -f conftest.$ac_objext
22142 if { (ac_try="$ac_compile"
22143 case "(($ac_try" in
22144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22145 *) ac_try_echo=$ac_try;;
22147 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22148 (eval "$ac_compile") 2>conftest.er1
22150 grep -v '^ *+' conftest.er1 >conftest.err
22152 cat conftest.err >&5
22153 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22154 (exit $ac_status); } && {
22155 test -z "$ac_c_werror_flag" ||
22156 test ! -s conftest.err
22157 } && test -s conftest.$ac_objext; then
22160 echo "$as_me: failed program was
:" >&5
22161 sed 's/^/| /' conftest.$ac_ext >&5
22163 ac_lo=`expr '(' $ac_mid ')' + 1`
22166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22169 ?*) ac_cv_sizeof_short=$ac_lo;;
22170 '') if test "$ac_cv_type_short" = yes; then
22171 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
22172 See \
`config.log' for more details." >&5
22173 echo "$as_me: error: cannot compute sizeof (short)
22174 See \`config.log
' for more details." >&2;}
22175 { (exit 77); exit 77; }; }
22177 ac_cv_sizeof_short=0
22181 cat >conftest.$ac_ext <<_ACEOF
22184 cat confdefs.h >>conftest.$ac_ext
22185 cat >>conftest.$ac_ext <<_ACEOF
22186 /* end confdefs.h. */
22187 $ac_includes_default
22188 typedef short ac__type_sizeof_;
22189 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22190 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22192 #include <stdlib.h>
22197 FILE *f = fopen ("conftest.val", "w");
22200 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22202 long int i = longval ();
22203 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22205 fprintf (f, "%ld\n", i);
22209 unsigned long int i = ulongval ();
22210 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22212 fprintf (f, "%lu\n", i);
22214 return ferror (f) || fclose (f) != 0;
22220 rm -f conftest$ac_exeext
22221 if { (ac_try="$ac_link"
22222 case "(($ac_try" in
22223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22224 *) ac_try_echo=$ac_try;;
22226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22227 (eval "$ac_link") 2>&5
22229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22230 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22231 { (case "(($ac_try" in
22232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22233 *) ac_try_echo=$ac_try;;
22235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22236 (eval "$ac_try") 2>&5
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); }; }; then
22240 ac_cv_sizeof_short=`cat conftest.val`
22242 echo "$as_me: program exited with status $ac_status" >&5
22243 echo "$as_me: failed program was:" >&5
22244 sed 's
/^
/| /' conftest.$ac_ext >&5
22246 ( exit $ac_status )
22247 if test "$ac_cv_type_short" = yes; then
22248 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22249 See \`config.log' for more details.
" >&5
22250 echo "$as_me: error
: cannot compute sizeof
(short
)
22251 See \
`config.log' for more details." >&2;}
22252 { (exit 77); exit 77; }; }
22254 ac_cv_sizeof_short=0
22257 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22261 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22262 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22266 cat >>confdefs.h <<_ACEOF
22267 #define SIZEOF_SHORT $ac_cv_sizeof_short
22271 { echo "$as_me:$LINENO: checking for void *" >&5
22272 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22273 if test "${ac_cv_type_void_p+set}" = set; then
22274 echo $ECHO_N "(cached) $ECHO_C" >&6
22276 cat >conftest.$ac_ext <<_ACEOF
22279 cat confdefs.h >>conftest.$ac_ext
22280 cat >>conftest.$ac_ext <<_ACEOF
22281 /* end confdefs.h. */
22282 $ac_includes_default
22283 typedef void * ac__type_new_;
22287 if ((ac__type_new_ *) 0)
22289 if (sizeof (ac__type_new_))
22295 rm -f conftest.$ac_objext
22296 if { (ac_try="$ac_compile"
22297 case "(($ac_try" in
22298 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22299 *) ac_try_echo
=$ac_try;;
22301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22302 (eval "$ac_compile") 2>conftest.er1
22304 grep -v '^ *+' conftest.er1
>conftest.err
22306 cat conftest.err
>&5
22307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22308 (exit $ac_status); } && {
22309 test -z "$ac_c_werror_flag" ||
22310 test ! -s conftest.err
22311 } && test -s conftest.
$ac_objext; then
22312 ac_cv_type_void_p
=yes
22314 echo "$as_me: failed program was:" >&5
22315 sed 's/^/| /' conftest.
$ac_ext >&5
22317 ac_cv_type_void_p
=no
22320 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22322 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22323 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22325 # The cast to long int works around a bug in the HP C Compiler
22326 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22327 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22328 # This bug is HP SR number 8606223364.
22329 { echo "$as_me:$LINENO: checking size of void *" >&5
22330 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22331 if test "${ac_cv_sizeof_void_p+set}" = set; then
22332 echo $ECHO_N "(cached) $ECHO_C" >&6
22334 if test "$cross_compiling" = yes; then
22335 # Depending upon the size, compute the lo and hi bounds.
22336 cat >conftest.
$ac_ext <<_ACEOF
22339 cat confdefs.h
>>conftest.
$ac_ext
22340 cat >>conftest.
$ac_ext <<_ACEOF
22341 /* end confdefs.h. */
22342 $ac_includes_default
22343 typedef void * ac__type_sizeof_;
22347 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22354 rm -f conftest.
$ac_objext
22355 if { (ac_try
="$ac_compile"
22356 case "(($ac_try" in
22357 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22358 *) ac_try_echo=$ac_try;;
22360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22361 (eval "$ac_compile") 2>conftest.er1
22363 grep -v '^ *+' conftest.er1 >conftest.err
22365 cat conftest.err >&5
22366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22367 (exit $ac_status); } && {
22368 test -z "$ac_c_werror_flag" ||
22369 test ! -s conftest.err
22370 } && test -s conftest.$ac_objext; then
22373 cat >conftest.$ac_ext <<_ACEOF
22376 cat confdefs.h >>conftest.$ac_ext
22377 cat >>conftest.$ac_ext <<_ACEOF
22378 /* end confdefs.h. */
22379 $ac_includes_default
22380 typedef void * ac__type_sizeof_;
22384 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22391 rm -f conftest.$ac_objext
22392 if { (ac_try="$ac_compile"
22393 case "(($ac_try" in
22394 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22395 *) ac_try_echo
=$ac_try;;
22397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22398 (eval "$ac_compile") 2>conftest.er1
22400 grep -v '^ *+' conftest.er1
>conftest.err
22402 cat conftest.err
>&5
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); } && {
22405 test -z "$ac_c_werror_flag" ||
22406 test ! -s conftest.err
22407 } && test -s conftest.
$ac_objext; then
22408 ac_hi
=$ac_mid; break
22410 echo "$as_me: failed program was:" >&5
22411 sed 's/^/| /' conftest.
$ac_ext >&5
22413 ac_lo
=`expr $ac_mid + 1`
22414 if test $ac_lo -le $ac_mid; then
22418 ac_mid
=`expr 2 '*' $ac_mid + 1`
22421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22424 echo "$as_me: failed program was:" >&5
22425 sed 's/^/| /' conftest.
$ac_ext >&5
22427 cat >conftest.
$ac_ext <<_ACEOF
22430 cat confdefs.h
>>conftest.
$ac_ext
22431 cat >>conftest.
$ac_ext <<_ACEOF
22432 /* end confdefs.h. */
22433 $ac_includes_default
22434 typedef void * ac__type_sizeof_;
22438 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22445 rm -f conftest.
$ac_objext
22446 if { (ac_try
="$ac_compile"
22447 case "(($ac_try" in
22448 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22449 *) ac_try_echo=$ac_try;;
22451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22452 (eval "$ac_compile") 2>conftest.er1
22454 grep -v '^ *+' conftest.er1 >conftest.err
22456 cat conftest.err >&5
22457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22458 (exit $ac_status); } && {
22459 test -z "$ac_c_werror_flag" ||
22460 test ! -s conftest.err
22461 } && test -s conftest.$ac_objext; then
22464 cat >conftest.$ac_ext <<_ACEOF
22467 cat confdefs.h >>conftest.$ac_ext
22468 cat >>conftest.$ac_ext <<_ACEOF
22469 /* end confdefs.h. */
22470 $ac_includes_default
22471 typedef void * ac__type_sizeof_;
22475 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22482 rm -f conftest.$ac_objext
22483 if { (ac_try="$ac_compile"
22484 case "(($ac_try" in
22485 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22486 *) ac_try_echo
=$ac_try;;
22488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22489 (eval "$ac_compile") 2>conftest.er1
22491 grep -v '^ *+' conftest.er1
>conftest.err
22493 cat conftest.err
>&5
22494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22495 (exit $ac_status); } && {
22496 test -z "$ac_c_werror_flag" ||
22497 test ! -s conftest.err
22498 } && test -s conftest.
$ac_objext; then
22499 ac_lo
=$ac_mid; break
22501 echo "$as_me: failed program was:" >&5
22502 sed 's/^/| /' conftest.
$ac_ext >&5
22504 ac_hi
=`expr '(' $ac_mid ')' - 1`
22505 if test $ac_mid -le $ac_hi; then
22509 ac_mid
=`expr 2 '*' $ac_mid`
22512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22515 echo "$as_me: failed program was:" >&5
22516 sed 's/^/| /' conftest.
$ac_ext >&5
22521 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22524 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22525 # Binary search between lo and hi bounds.
22526 while test "x$ac_lo" != "x$ac_hi"; do
22527 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22528 cat >conftest.
$ac_ext <<_ACEOF
22531 cat confdefs.h
>>conftest.
$ac_ext
22532 cat >>conftest.
$ac_ext <<_ACEOF
22533 /* end confdefs.h. */
22534 $ac_includes_default
22535 typedef void * ac__type_sizeof_;
22539 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22546 rm -f conftest.
$ac_objext
22547 if { (ac_try
="$ac_compile"
22548 case "(($ac_try" in
22549 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22550 *) ac_try_echo=$ac_try;;
22552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22553 (eval "$ac_compile") 2>conftest.er1
22555 grep -v '^ *+' conftest.er1 >conftest.err
22557 cat conftest.err >&5
22558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22559 (exit $ac_status); } && {
22560 test -z "$ac_c_werror_flag" ||
22561 test ! -s conftest.err
22562 } && test -s conftest.$ac_objext; then
22565 echo "$as_me: failed program was:" >&5
22566 sed 's/^/| /' conftest.$ac_ext >&5
22568 ac_lo=`expr '(' $ac_mid ')' + 1`
22571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22574 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22575 '') if test "$ac_cv_type_void_p" = yes; then
22576 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22577 See \`config.log
' for more details." >&5
22578 echo "$as_me: error: cannot compute sizeof (void *)
22579 See \`config.log' for more details.
" >&2;}
22580 { (exit 77); exit 77; }; }
22582 ac_cv_sizeof_void_p=0
22586 cat >conftest.$ac_ext <<_ACEOF
22589 cat confdefs.h >>conftest.$ac_ext
22590 cat >>conftest.$ac_ext <<_ACEOF
22591 /* end confdefs.h. */
22592 $ac_includes_default
22593 typedef void * ac__type_sizeof_;
22594 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22595 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22597 #include <stdlib.h>
22602 FILE *f = fopen ("conftest.val
", "w
");
22605 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22607 long int i = longval ();
22608 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22610 fprintf (f, "%ld
\n", i);
22614 unsigned long int i = ulongval ();
22615 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22617 fprintf (f, "%lu
\n", i);
22619 return ferror (f) || fclose (f) != 0;
22625 rm -f conftest$ac_exeext
22626 if { (ac_try="$ac_link"
22627 case "(($ac_try" in
22628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22629 *) ac_try_echo=$ac_try;;
22631 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22632 (eval "$ac_link") 2>&5
22634 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22635 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22636 { (case "(($ac_try" in
22637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22638 *) ac_try_echo=$ac_try;;
22640 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22641 (eval "$ac_try") 2>&5
22643 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22644 (exit $ac_status); }; }; then
22645 ac_cv_sizeof_void_p=`cat conftest.val`
22647 echo "$as_me: program exited with status
$ac_status" >&5
22648 echo "$as_me: failed program was
:" >&5
22649 sed 's/^/| /' conftest.$ac_ext >&5
22651 ( exit $ac_status )
22652 if test "$ac_cv_type_void_p" = yes; then
22653 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
22654 See \
`config.log' for more details." >&5
22655 echo "$as_me: error: cannot compute sizeof (void *)
22656 See \`config.log
' for more details." >&2;}
22657 { (exit 77); exit 77; }; }
22659 ac_cv_sizeof_void_p=0
22662 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22666 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22667 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22671 cat >>confdefs.h <<_ACEOF
22672 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22676 { echo "$as_me:$LINENO: checking for int" >&5
22677 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22678 if test "${ac_cv_type_int+set}" = set; then
22679 echo $ECHO_N "(cached) $ECHO_C" >&6
22681 cat >conftest.$ac_ext <<_ACEOF
22684 cat confdefs.h >>conftest.$ac_ext
22685 cat >>conftest.$ac_ext <<_ACEOF
22686 /* end confdefs.h. */
22687 $ac_includes_default
22688 typedef int ac__type_new_;
22692 if ((ac__type_new_ *) 0)
22694 if (sizeof (ac__type_new_))
22700 rm -f conftest.$ac_objext
22701 if { (ac_try="$ac_compile"
22702 case "(($ac_try" in
22703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22704 *) ac_try_echo=$ac_try;;
22706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22707 (eval "$ac_compile") 2>conftest.er1
22709 grep -v '^
*+' conftest.er1 >conftest.err
22711 cat conftest.err >&5
22712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22713 (exit $ac_status); } && {
22714 test -z "$ac_c_werror_flag" ||
22715 test ! -s conftest.err
22716 } && test -s conftest.$ac_objext; then
22719 echo "$as_me: failed program was:" >&5
22720 sed 's
/^
/| /' conftest.$ac_ext >&5
22725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22727 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22728 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22730 # The cast to long int works around a bug in the HP C Compiler
22731 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22732 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22733 # This bug is HP SR number 8606223364.
22734 { echo "$as_me:$LINENO: checking size of int" >&5
22735 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22736 if test "${ac_cv_sizeof_int+set}" = set; then
22737 echo $ECHO_N "(cached) $ECHO_C" >&6
22739 if test "$cross_compiling" = yes; then
22740 # Depending upon the size, compute the lo and hi bounds.
22741 cat >conftest.
$ac_ext <<_ACEOF
22744 cat confdefs.h
>>conftest.
$ac_ext
22745 cat >>conftest.
$ac_ext <<_ACEOF
22746 /* end confdefs.h. */
22747 $ac_includes_default
22748 typedef int ac__type_sizeof_;
22752 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22759 rm -f conftest.
$ac_objext
22760 if { (ac_try
="$ac_compile"
22761 case "(($ac_try" in
22762 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22763 *) ac_try_echo=$ac_try;;
22765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22766 (eval "$ac_compile") 2>conftest.er1
22768 grep -v '^ *+' conftest.er1 >conftest.err
22770 cat conftest.err >&5
22771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22772 (exit $ac_status); } && {
22773 test -z "$ac_c_werror_flag" ||
22774 test ! -s conftest.err
22775 } && test -s conftest.$ac_objext; then
22778 cat >conftest.$ac_ext <<_ACEOF
22781 cat confdefs.h >>conftest.$ac_ext
22782 cat >>conftest.$ac_ext <<_ACEOF
22783 /* end confdefs.h. */
22784 $ac_includes_default
22785 typedef int ac__type_sizeof_;
22789 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22796 rm -f conftest.$ac_objext
22797 if { (ac_try="$ac_compile"
22798 case "(($ac_try" in
22799 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22800 *) ac_try_echo
=$ac_try;;
22802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22803 (eval "$ac_compile") 2>conftest.er1
22805 grep -v '^ *+' conftest.er1
>conftest.err
22807 cat conftest.err
>&5
22808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22809 (exit $ac_status); } && {
22810 test -z "$ac_c_werror_flag" ||
22811 test ! -s conftest.err
22812 } && test -s conftest.
$ac_objext; then
22813 ac_hi
=$ac_mid; break
22815 echo "$as_me: failed program was:" >&5
22816 sed 's/^/| /' conftest.
$ac_ext >&5
22818 ac_lo
=`expr $ac_mid + 1`
22819 if test $ac_lo -le $ac_mid; then
22823 ac_mid
=`expr 2 '*' $ac_mid + 1`
22826 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22829 echo "$as_me: failed program was:" >&5
22830 sed 's/^/| /' conftest.
$ac_ext >&5
22832 cat >conftest.
$ac_ext <<_ACEOF
22835 cat confdefs.h
>>conftest.
$ac_ext
22836 cat >>conftest.
$ac_ext <<_ACEOF
22837 /* end confdefs.h. */
22838 $ac_includes_default
22839 typedef int ac__type_sizeof_;
22843 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22850 rm -f conftest.
$ac_objext
22851 if { (ac_try
="$ac_compile"
22852 case "(($ac_try" in
22853 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22854 *) ac_try_echo=$ac_try;;
22856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22857 (eval "$ac_compile") 2>conftest.er1
22859 grep -v '^ *+' conftest.er1 >conftest.err
22861 cat conftest.err >&5
22862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22863 (exit $ac_status); } && {
22864 test -z "$ac_c_werror_flag" ||
22865 test ! -s conftest.err
22866 } && test -s conftest.$ac_objext; then
22869 cat >conftest.$ac_ext <<_ACEOF
22872 cat confdefs.h >>conftest.$ac_ext
22873 cat >>conftest.$ac_ext <<_ACEOF
22874 /* end confdefs.h. */
22875 $ac_includes_default
22876 typedef int ac__type_sizeof_;
22880 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22887 rm -f conftest.$ac_objext
22888 if { (ac_try="$ac_compile"
22889 case "(($ac_try" in
22890 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22891 *) ac_try_echo
=$ac_try;;
22893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22894 (eval "$ac_compile") 2>conftest.er1
22896 grep -v '^ *+' conftest.er1
>conftest.err
22898 cat conftest.err
>&5
22899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22900 (exit $ac_status); } && {
22901 test -z "$ac_c_werror_flag" ||
22902 test ! -s conftest.err
22903 } && test -s conftest.
$ac_objext; then
22904 ac_lo
=$ac_mid; break
22906 echo "$as_me: failed program was:" >&5
22907 sed 's/^/| /' conftest.
$ac_ext >&5
22909 ac_hi
=`expr '(' $ac_mid ')' - 1`
22910 if test $ac_mid -le $ac_hi; then
22914 ac_mid
=`expr 2 '*' $ac_mid`
22917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22920 echo "$as_me: failed program was:" >&5
22921 sed 's/^/| /' conftest.
$ac_ext >&5
22926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22930 # Binary search between lo and hi bounds.
22931 while test "x$ac_lo" != "x$ac_hi"; do
22932 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22933 cat >conftest.
$ac_ext <<_ACEOF
22936 cat confdefs.h
>>conftest.
$ac_ext
22937 cat >>conftest.
$ac_ext <<_ACEOF
22938 /* end confdefs.h. */
22939 $ac_includes_default
22940 typedef int ac__type_sizeof_;
22944 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22951 rm -f conftest.
$ac_objext
22952 if { (ac_try
="$ac_compile"
22953 case "(($ac_try" in
22954 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22955 *) ac_try_echo=$ac_try;;
22957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22958 (eval "$ac_compile") 2>conftest.er1
22960 grep -v '^ *+' conftest.er1 >conftest.err
22962 cat conftest.err >&5
22963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22964 (exit $ac_status); } && {
22965 test -z "$ac_c_werror_flag" ||
22966 test ! -s conftest.err
22967 } && test -s conftest.$ac_objext; then
22970 echo "$as_me: failed program was:" >&5
22971 sed 's/^/| /' conftest.$ac_ext >&5
22973 ac_lo=`expr '(' $ac_mid ')' + 1`
22976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22979 ?*) ac_cv_sizeof_int=$ac_lo;;
22980 '') if test "$ac_cv_type_int" = yes; then
22981 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22982 See \`config.log
' for more details." >&5
22983 echo "$as_me: error: cannot compute sizeof (int)
22984 See \`config.log' for more details.
" >&2;}
22985 { (exit 77); exit 77; }; }
22991 cat >conftest.$ac_ext <<_ACEOF
22994 cat confdefs.h >>conftest.$ac_ext
22995 cat >>conftest.$ac_ext <<_ACEOF
22996 /* end confdefs.h. */
22997 $ac_includes_default
22998 typedef int ac__type_sizeof_;
22999 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23000 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23002 #include <stdlib.h>
23007 FILE *f = fopen ("conftest.val
", "w
");
23010 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23012 long int i = longval ();
23013 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23015 fprintf (f, "%ld
\n", i);
23019 unsigned long int i = ulongval ();
23020 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23022 fprintf (f, "%lu
\n", i);
23024 return ferror (f) || fclose (f) != 0;
23030 rm -f conftest$ac_exeext
23031 if { (ac_try="$ac_link"
23032 case "(($ac_try" in
23033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23034 *) ac_try_echo=$ac_try;;
23036 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23037 (eval "$ac_link") 2>&5
23039 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23040 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23041 { (case "(($ac_try" in
23042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23043 *) ac_try_echo=$ac_try;;
23045 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23046 (eval "$ac_try") 2>&5
23048 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23049 (exit $ac_status); }; }; then
23050 ac_cv_sizeof_int=`cat conftest.val`
23052 echo "$as_me: program exited with status
$ac_status" >&5
23053 echo "$as_me: failed program was
:" >&5
23054 sed 's/^/| /' conftest.$ac_ext >&5
23056 ( exit $ac_status )
23057 if test "$ac_cv_type_int" = yes; then
23058 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
23059 See \
`config.log' for more details." >&5
23060 echo "$as_me: error: cannot compute sizeof (int)
23061 See \`config.log
' for more details." >&2;}
23062 { (exit 77); exit 77; }; }
23067 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23071 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
23072 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
23076 cat >>confdefs.h <<_ACEOF
23077 #define SIZEOF_INT $ac_cv_sizeof_int
23081 { echo "$as_me:$LINENO: checking for long" >&5
23082 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
23083 if test "${ac_cv_type_long+set}" = set; then
23084 echo $ECHO_N "(cached) $ECHO_C" >&6
23086 cat >conftest.$ac_ext <<_ACEOF
23089 cat confdefs.h >>conftest.$ac_ext
23090 cat >>conftest.$ac_ext <<_ACEOF
23091 /* end confdefs.h. */
23092 $ac_includes_default
23093 typedef long ac__type_new_;
23097 if ((ac__type_new_ *) 0)
23099 if (sizeof (ac__type_new_))
23105 rm -f conftest.$ac_objext
23106 if { (ac_try="$ac_compile"
23107 case "(($ac_try" in
23108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23109 *) ac_try_echo=$ac_try;;
23111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23112 (eval "$ac_compile") 2>conftest.er1
23114 grep -v '^
*+' conftest.er1 >conftest.err
23116 cat conftest.err >&5
23117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23118 (exit $ac_status); } && {
23119 test -z "$ac_c_werror_flag" ||
23120 test ! -s conftest.err
23121 } && test -s conftest.$ac_objext; then
23122 ac_cv_type_long=yes
23124 echo "$as_me: failed program was:" >&5
23125 sed 's
/^
/| /' conftest.$ac_ext >&5
23130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23132 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23133 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23135 # The cast to long int works around a bug in the HP C Compiler
23136 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23137 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23138 # This bug is HP SR number 8606223364.
23139 { echo "$as_me:$LINENO: checking size of long" >&5
23140 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23141 if test "${ac_cv_sizeof_long+set}" = set; then
23142 echo $ECHO_N "(cached) $ECHO_C" >&6
23144 if test "$cross_compiling" = yes; then
23145 # Depending upon the size, compute the lo and hi bounds.
23146 cat >conftest.
$ac_ext <<_ACEOF
23149 cat confdefs.h
>>conftest.
$ac_ext
23150 cat >>conftest.
$ac_ext <<_ACEOF
23151 /* end confdefs.h. */
23152 $ac_includes_default
23153 typedef long ac__type_sizeof_;
23157 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23164 rm -f conftest.
$ac_objext
23165 if { (ac_try
="$ac_compile"
23166 case "(($ac_try" in
23167 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23168 *) ac_try_echo=$ac_try;;
23170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23171 (eval "$ac_compile") 2>conftest.er1
23173 grep -v '^ *+' conftest.er1 >conftest.err
23175 cat conftest.err >&5
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); } && {
23178 test -z "$ac_c_werror_flag" ||
23179 test ! -s conftest.err
23180 } && test -s conftest.$ac_objext; then
23183 cat >conftest.$ac_ext <<_ACEOF
23186 cat confdefs.h >>conftest.$ac_ext
23187 cat >>conftest.$ac_ext <<_ACEOF
23188 /* end confdefs.h. */
23189 $ac_includes_default
23190 typedef long ac__type_sizeof_;
23194 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23201 rm -f conftest.$ac_objext
23202 if { (ac_try="$ac_compile"
23203 case "(($ac_try" in
23204 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23205 *) ac_try_echo
=$ac_try;;
23207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23208 (eval "$ac_compile") 2>conftest.er1
23210 grep -v '^ *+' conftest.er1
>conftest.err
23212 cat conftest.err
>&5
23213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23214 (exit $ac_status); } && {
23215 test -z "$ac_c_werror_flag" ||
23216 test ! -s conftest.err
23217 } && test -s conftest.
$ac_objext; then
23218 ac_hi
=$ac_mid; break
23220 echo "$as_me: failed program was:" >&5
23221 sed 's/^/| /' conftest.
$ac_ext >&5
23223 ac_lo
=`expr $ac_mid + 1`
23224 if test $ac_lo -le $ac_mid; then
23228 ac_mid
=`expr 2 '*' $ac_mid + 1`
23231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23234 echo "$as_me: failed program was:" >&5
23235 sed 's/^/| /' conftest.
$ac_ext >&5
23237 cat >conftest.
$ac_ext <<_ACEOF
23240 cat confdefs.h
>>conftest.
$ac_ext
23241 cat >>conftest.
$ac_ext <<_ACEOF
23242 /* end confdefs.h. */
23243 $ac_includes_default
23244 typedef long ac__type_sizeof_;
23248 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23255 rm -f conftest.
$ac_objext
23256 if { (ac_try
="$ac_compile"
23257 case "(($ac_try" in
23258 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23259 *) ac_try_echo=$ac_try;;
23261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23262 (eval "$ac_compile") 2>conftest.er1
23264 grep -v '^ *+' conftest.er1 >conftest.err
23266 cat conftest.err >&5
23267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23268 (exit $ac_status); } && {
23269 test -z "$ac_c_werror_flag" ||
23270 test ! -s conftest.err
23271 } && test -s conftest.$ac_objext; then
23274 cat >conftest.$ac_ext <<_ACEOF
23277 cat confdefs.h >>conftest.$ac_ext
23278 cat >>conftest.$ac_ext <<_ACEOF
23279 /* end confdefs.h. */
23280 $ac_includes_default
23281 typedef long ac__type_sizeof_;
23285 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23292 rm -f conftest.$ac_objext
23293 if { (ac_try="$ac_compile"
23294 case "(($ac_try" in
23295 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23296 *) ac_try_echo
=$ac_try;;
23298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23299 (eval "$ac_compile") 2>conftest.er1
23301 grep -v '^ *+' conftest.er1
>conftest.err
23303 cat conftest.err
>&5
23304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23305 (exit $ac_status); } && {
23306 test -z "$ac_c_werror_flag" ||
23307 test ! -s conftest.err
23308 } && test -s conftest.
$ac_objext; then
23309 ac_lo
=$ac_mid; break
23311 echo "$as_me: failed program was:" >&5
23312 sed 's/^/| /' conftest.
$ac_ext >&5
23314 ac_hi
=`expr '(' $ac_mid ')' - 1`
23315 if test $ac_mid -le $ac_hi; then
23319 ac_mid
=`expr 2 '*' $ac_mid`
23322 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23325 echo "$as_me: failed program was:" >&5
23326 sed 's/^/| /' conftest.
$ac_ext >&5
23331 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23334 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23335 # Binary search between lo and hi bounds.
23336 while test "x$ac_lo" != "x$ac_hi"; do
23337 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23338 cat >conftest.
$ac_ext <<_ACEOF
23341 cat confdefs.h
>>conftest.
$ac_ext
23342 cat >>conftest.
$ac_ext <<_ACEOF
23343 /* end confdefs.h. */
23344 $ac_includes_default
23345 typedef long ac__type_sizeof_;
23349 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23356 rm -f conftest.
$ac_objext
23357 if { (ac_try
="$ac_compile"
23358 case "(($ac_try" in
23359 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23360 *) ac_try_echo=$ac_try;;
23362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23363 (eval "$ac_compile") 2>conftest.er1
23365 grep -v '^ *+' conftest.er1 >conftest.err
23367 cat conftest.err >&5
23368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23369 (exit $ac_status); } && {
23370 test -z "$ac_c_werror_flag" ||
23371 test ! -s conftest.err
23372 } && test -s conftest.$ac_objext; then
23375 echo "$as_me: failed program was:" >&5
23376 sed 's/^/| /' conftest.$ac_ext >&5
23378 ac_lo=`expr '(' $ac_mid ')' + 1`
23381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23384 ?*) ac_cv_sizeof_long=$ac_lo;;
23385 '') if test "$ac_cv_type_long" = yes; then
23386 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23387 See \`config.log
' for more details." >&5
23388 echo "$as_me: error: cannot compute sizeof (long)
23389 See \`config.log' for more details.
" >&2;}
23390 { (exit 77); exit 77; }; }
23392 ac_cv_sizeof_long=0
23396 cat >conftest.$ac_ext <<_ACEOF
23399 cat confdefs.h >>conftest.$ac_ext
23400 cat >>conftest.$ac_ext <<_ACEOF
23401 /* end confdefs.h. */
23402 $ac_includes_default
23403 typedef long ac__type_sizeof_;
23404 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23405 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23407 #include <stdlib.h>
23412 FILE *f = fopen ("conftest.val
", "w
");
23415 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23417 long int i = longval ();
23418 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23420 fprintf (f, "%ld
\n", i);
23424 unsigned long int i = ulongval ();
23425 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23427 fprintf (f, "%lu
\n", i);
23429 return ferror (f) || fclose (f) != 0;
23435 rm -f conftest$ac_exeext
23436 if { (ac_try="$ac_link"
23437 case "(($ac_try" in
23438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23439 *) ac_try_echo=$ac_try;;
23441 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23442 (eval "$ac_link") 2>&5
23444 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23445 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23446 { (case "(($ac_try" in
23447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23448 *) ac_try_echo=$ac_try;;
23450 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23451 (eval "$ac_try") 2>&5
23453 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23454 (exit $ac_status); }; }; then
23455 ac_cv_sizeof_long=`cat conftest.val`
23457 echo "$as_me: program exited with status
$ac_status" >&5
23458 echo "$as_me: failed program was
:" >&5
23459 sed 's/^/| /' conftest.$ac_ext >&5
23461 ( exit $ac_status )
23462 if test "$ac_cv_type_long" = yes; then
23463 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
23464 See \
`config.log' for more details." >&5
23465 echo "$as_me: error: cannot compute sizeof (long)
23466 See \`config.log
' for more details." >&2;}
23467 { (exit 77); exit 77; }; }
23469 ac_cv_sizeof_long=0
23472 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23476 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23477 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23481 cat >>confdefs.h <<_ACEOF
23482 #define SIZEOF_LONG $ac_cv_sizeof_long
23486 { echo "$as_me:$LINENO: checking for size_t" >&5
23487 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23488 if test "${ac_cv_type_size_t+set}" = set; then
23489 echo $ECHO_N "(cached) $ECHO_C" >&6
23491 cat >conftest.$ac_ext <<_ACEOF
23494 cat confdefs.h >>conftest.$ac_ext
23495 cat >>conftest.$ac_ext <<_ACEOF
23496 /* end confdefs.h. */
23497 $ac_includes_default
23498 typedef size_t ac__type_new_;
23502 if ((ac__type_new_ *) 0)
23504 if (sizeof (ac__type_new_))
23510 rm -f conftest.$ac_objext
23511 if { (ac_try="$ac_compile"
23512 case "(($ac_try" in
23513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23514 *) ac_try_echo=$ac_try;;
23516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23517 (eval "$ac_compile") 2>conftest.er1
23519 grep -v '^
*+' conftest.er1 >conftest.err
23521 cat conftest.err >&5
23522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23523 (exit $ac_status); } && {
23524 test -z "$ac_c_werror_flag" ||
23525 test ! -s conftest.err
23526 } && test -s conftest.$ac_objext; then
23527 ac_cv_type_size_t=yes
23529 echo "$as_me: failed program was:" >&5
23530 sed 's
/^
/| /' conftest.$ac_ext >&5
23532 ac_cv_type_size_t=no
23535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23537 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23538 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23540 # The cast to long int works around a bug in the HP C Compiler
23541 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23542 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23543 # This bug is HP SR number 8606223364.
23544 { echo "$as_me:$LINENO: checking size of size_t" >&5
23545 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23546 if test "${ac_cv_sizeof_size_t+set}" = set; then
23547 echo $ECHO_N "(cached) $ECHO_C" >&6
23549 if test "$cross_compiling" = yes; then
23550 # Depending upon the size, compute the lo and hi bounds.
23551 cat >conftest.
$ac_ext <<_ACEOF
23554 cat confdefs.h
>>conftest.
$ac_ext
23555 cat >>conftest.
$ac_ext <<_ACEOF
23556 /* end confdefs.h. */
23557 $ac_includes_default
23558 typedef size_t ac__type_sizeof_;
23562 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23569 rm -f conftest.
$ac_objext
23570 if { (ac_try
="$ac_compile"
23571 case "(($ac_try" in
23572 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23573 *) ac_try_echo=$ac_try;;
23575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23576 (eval "$ac_compile") 2>conftest.er1
23578 grep -v '^ *+' conftest.er1 >conftest.err
23580 cat conftest.err >&5
23581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23582 (exit $ac_status); } && {
23583 test -z "$ac_c_werror_flag" ||
23584 test ! -s conftest.err
23585 } && test -s conftest.$ac_objext; then
23588 cat >conftest.$ac_ext <<_ACEOF
23591 cat confdefs.h >>conftest.$ac_ext
23592 cat >>conftest.$ac_ext <<_ACEOF
23593 /* end confdefs.h. */
23594 $ac_includes_default
23595 typedef size_t ac__type_sizeof_;
23599 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23606 rm -f conftest.$ac_objext
23607 if { (ac_try="$ac_compile"
23608 case "(($ac_try" in
23609 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23610 *) ac_try_echo
=$ac_try;;
23612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23613 (eval "$ac_compile") 2>conftest.er1
23615 grep -v '^ *+' conftest.er1
>conftest.err
23617 cat conftest.err
>&5
23618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23619 (exit $ac_status); } && {
23620 test -z "$ac_c_werror_flag" ||
23621 test ! -s conftest.err
23622 } && test -s conftest.
$ac_objext; then
23623 ac_hi
=$ac_mid; break
23625 echo "$as_me: failed program was:" >&5
23626 sed 's/^/| /' conftest.
$ac_ext >&5
23628 ac_lo
=`expr $ac_mid + 1`
23629 if test $ac_lo -le $ac_mid; then
23633 ac_mid
=`expr 2 '*' $ac_mid + 1`
23636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23639 echo "$as_me: failed program was:" >&5
23640 sed 's/^/| /' conftest.
$ac_ext >&5
23642 cat >conftest.
$ac_ext <<_ACEOF
23645 cat confdefs.h
>>conftest.
$ac_ext
23646 cat >>conftest.
$ac_ext <<_ACEOF
23647 /* end confdefs.h. */
23648 $ac_includes_default
23649 typedef size_t ac__type_sizeof_;
23653 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23660 rm -f conftest.
$ac_objext
23661 if { (ac_try
="$ac_compile"
23662 case "(($ac_try" in
23663 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23664 *) ac_try_echo=$ac_try;;
23666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23667 (eval "$ac_compile") 2>conftest.er1
23669 grep -v '^ *+' conftest.er1 >conftest.err
23671 cat conftest.err >&5
23672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23673 (exit $ac_status); } && {
23674 test -z "$ac_c_werror_flag" ||
23675 test ! -s conftest.err
23676 } && test -s conftest.$ac_objext; then
23679 cat >conftest.$ac_ext <<_ACEOF
23682 cat confdefs.h >>conftest.$ac_ext
23683 cat >>conftest.$ac_ext <<_ACEOF
23684 /* end confdefs.h. */
23685 $ac_includes_default
23686 typedef size_t ac__type_sizeof_;
23690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23697 rm -f conftest.$ac_objext
23698 if { (ac_try="$ac_compile"
23699 case "(($ac_try" in
23700 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23701 *) ac_try_echo
=$ac_try;;
23703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23704 (eval "$ac_compile") 2>conftest.er1
23706 grep -v '^ *+' conftest.er1
>conftest.err
23708 cat conftest.err
>&5
23709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23710 (exit $ac_status); } && {
23711 test -z "$ac_c_werror_flag" ||
23712 test ! -s conftest.err
23713 } && test -s conftest.
$ac_objext; then
23714 ac_lo
=$ac_mid; break
23716 echo "$as_me: failed program was:" >&5
23717 sed 's/^/| /' conftest.
$ac_ext >&5
23719 ac_hi
=`expr '(' $ac_mid ')' - 1`
23720 if test $ac_mid -le $ac_hi; then
23724 ac_mid
=`expr 2 '*' $ac_mid`
23727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23730 echo "$as_me: failed program was:" >&5
23731 sed 's/^/| /' conftest.
$ac_ext >&5
23736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23740 # Binary search between lo and hi bounds.
23741 while test "x$ac_lo" != "x$ac_hi"; do
23742 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23743 cat >conftest.
$ac_ext <<_ACEOF
23746 cat confdefs.h
>>conftest.
$ac_ext
23747 cat >>conftest.
$ac_ext <<_ACEOF
23748 /* end confdefs.h. */
23749 $ac_includes_default
23750 typedef size_t ac__type_sizeof_;
23754 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23761 rm -f conftest.
$ac_objext
23762 if { (ac_try
="$ac_compile"
23763 case "(($ac_try" in
23764 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23765 *) ac_try_echo=$ac_try;;
23767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23768 (eval "$ac_compile") 2>conftest.er1
23770 grep -v '^ *+' conftest.er1 >conftest.err
23772 cat conftest.err >&5
23773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23774 (exit $ac_status); } && {
23775 test -z "$ac_c_werror_flag" ||
23776 test ! -s conftest.err
23777 } && test -s conftest.$ac_objext; then
23780 echo "$as_me: failed program was:" >&5
23781 sed 's/^/| /' conftest.$ac_ext >&5
23783 ac_lo=`expr '(' $ac_mid ')' + 1`
23786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23789 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23790 '') if test "$ac_cv_type_size_t" = yes; then
23791 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23792 See \`config.log
' for more details." >&5
23793 echo "$as_me: error: cannot compute sizeof (size_t)
23794 See \`config.log' for more details.
" >&2;}
23795 { (exit 77); exit 77; }; }
23797 ac_cv_sizeof_size_t=0
23801 cat >conftest.$ac_ext <<_ACEOF
23804 cat confdefs.h >>conftest.$ac_ext
23805 cat >>conftest.$ac_ext <<_ACEOF
23806 /* end confdefs.h. */
23807 $ac_includes_default
23808 typedef size_t ac__type_sizeof_;
23809 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23810 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23812 #include <stdlib.h>
23817 FILE *f = fopen ("conftest.val
", "w
");
23820 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23822 long int i = longval ();
23823 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23825 fprintf (f, "%ld
\n", i);
23829 unsigned long int i = ulongval ();
23830 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23832 fprintf (f, "%lu
\n", i);
23834 return ferror (f) || fclose (f) != 0;
23840 rm -f conftest$ac_exeext
23841 if { (ac_try="$ac_link"
23842 case "(($ac_try" in
23843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23844 *) ac_try_echo=$ac_try;;
23846 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23847 (eval "$ac_link") 2>&5
23849 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23850 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23851 { (case "(($ac_try" in
23852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23853 *) ac_try_echo=$ac_try;;
23855 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23856 (eval "$ac_try") 2>&5
23858 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23859 (exit $ac_status); }; }; then
23860 ac_cv_sizeof_size_t=`cat conftest.val`
23862 echo "$as_me: program exited with status
$ac_status" >&5
23863 echo "$as_me: failed program was
:" >&5
23864 sed 's/^/| /' conftest.$ac_ext >&5
23866 ( exit $ac_status )
23867 if test "$ac_cv_type_size_t" = yes; then
23868 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
23869 See \
`config.log' for more details." >&5
23870 echo "$as_me: error: cannot compute sizeof (size_t)
23871 See \`config.log
' for more details." >&2;}
23872 { (exit 77); exit 77; }; }
23874 ac_cv_sizeof_size_t=0
23877 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23881 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23882 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23886 cat >>confdefs.h <<_ACEOF
23887 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23894 { echo "$as_me:$LINENO: checking for long long" >&5
23895 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23896 if test "${ac_cv_type_long_long+set}" = set; then
23897 echo $ECHO_N "(cached) $ECHO_C" >&6
23899 cat >conftest.$ac_ext <<_ACEOF
23902 cat confdefs.h >>conftest.$ac_ext
23903 cat >>conftest.$ac_ext <<_ACEOF
23904 /* end confdefs.h. */
23905 $ac_includes_default
23906 typedef long long ac__type_new_;
23910 if ((ac__type_new_ *) 0)
23912 if (sizeof (ac__type_new_))
23918 rm -f conftest.$ac_objext
23919 if { (ac_try="$ac_compile"
23920 case "(($ac_try" in
23921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23922 *) ac_try_echo=$ac_try;;
23924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23925 (eval "$ac_compile") 2>conftest.er1
23927 grep -v '^
*+' conftest.er1 >conftest.err
23929 cat conftest.err >&5
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); } && {
23932 test -z "$ac_c_werror_flag" ||
23933 test ! -s conftest.err
23934 } && test -s conftest.$ac_objext; then
23935 ac_cv_type_long_long=yes
23937 echo "$as_me: failed program was:" >&5
23938 sed 's
/^
/| /' conftest.$ac_ext >&5
23940 ac_cv_type_long_long=no
23943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23945 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23946 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23948 # The cast to long int works around a bug in the HP C Compiler
23949 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23950 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23951 # This bug is HP SR number 8606223364.
23952 { echo "$as_me:$LINENO: checking size of long long" >&5
23953 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23954 if test "${ac_cv_sizeof_long_long+set}" = set; then
23955 echo $ECHO_N "(cached) $ECHO_C" >&6
23957 if test "$cross_compiling" = yes; then
23958 # Depending upon the size, compute the lo and hi bounds.
23959 cat >conftest.
$ac_ext <<_ACEOF
23962 cat confdefs.h
>>conftest.
$ac_ext
23963 cat >>conftest.
$ac_ext <<_ACEOF
23964 /* end confdefs.h. */
23965 $ac_includes_default
23966 typedef long long ac__type_sizeof_;
23970 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23977 rm -f conftest.
$ac_objext
23978 if { (ac_try
="$ac_compile"
23979 case "(($ac_try" in
23980 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23981 *) ac_try_echo=$ac_try;;
23983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23984 (eval "$ac_compile") 2>conftest.er1
23986 grep -v '^ *+' conftest.er1 >conftest.err
23988 cat conftest.err >&5
23989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23990 (exit $ac_status); } && {
23991 test -z "$ac_c_werror_flag" ||
23992 test ! -s conftest.err
23993 } && test -s conftest.$ac_objext; then
23996 cat >conftest.$ac_ext <<_ACEOF
23999 cat confdefs.h >>conftest.$ac_ext
24000 cat >>conftest.$ac_ext <<_ACEOF
24001 /* end confdefs.h. */
24002 $ac_includes_default
24003 typedef long long ac__type_sizeof_;
24007 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24014 rm -f conftest.$ac_objext
24015 if { (ac_try="$ac_compile"
24016 case "(($ac_try" in
24017 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24018 *) ac_try_echo
=$ac_try;;
24020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24021 (eval "$ac_compile") 2>conftest.er1
24023 grep -v '^ *+' conftest.er1
>conftest.err
24025 cat conftest.err
>&5
24026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24027 (exit $ac_status); } && {
24028 test -z "$ac_c_werror_flag" ||
24029 test ! -s conftest.err
24030 } && test -s conftest.
$ac_objext; then
24031 ac_hi
=$ac_mid; break
24033 echo "$as_me: failed program was:" >&5
24034 sed 's/^/| /' conftest.
$ac_ext >&5
24036 ac_lo
=`expr $ac_mid + 1`
24037 if test $ac_lo -le $ac_mid; then
24041 ac_mid
=`expr 2 '*' $ac_mid + 1`
24044 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24047 echo "$as_me: failed program was:" >&5
24048 sed 's/^/| /' conftest.
$ac_ext >&5
24050 cat >conftest.
$ac_ext <<_ACEOF
24053 cat confdefs.h
>>conftest.
$ac_ext
24054 cat >>conftest.
$ac_ext <<_ACEOF
24055 /* end confdefs.h. */
24056 $ac_includes_default
24057 typedef long long ac__type_sizeof_;
24061 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24068 rm -f conftest.
$ac_objext
24069 if { (ac_try
="$ac_compile"
24070 case "(($ac_try" in
24071 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24072 *) ac_try_echo=$ac_try;;
24074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24075 (eval "$ac_compile") 2>conftest.er1
24077 grep -v '^ *+' conftest.er1 >conftest.err
24079 cat conftest.err >&5
24080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24081 (exit $ac_status); } && {
24082 test -z "$ac_c_werror_flag" ||
24083 test ! -s conftest.err
24084 } && test -s conftest.$ac_objext; then
24087 cat >conftest.$ac_ext <<_ACEOF
24090 cat confdefs.h >>conftest.$ac_ext
24091 cat >>conftest.$ac_ext <<_ACEOF
24092 /* end confdefs.h. */
24093 $ac_includes_default
24094 typedef long long ac__type_sizeof_;
24098 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24105 rm -f conftest.$ac_objext
24106 if { (ac_try="$ac_compile"
24107 case "(($ac_try" in
24108 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24109 *) ac_try_echo
=$ac_try;;
24111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24112 (eval "$ac_compile") 2>conftest.er1
24114 grep -v '^ *+' conftest.er1
>conftest.err
24116 cat conftest.err
>&5
24117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118 (exit $ac_status); } && {
24119 test -z "$ac_c_werror_flag" ||
24120 test ! -s conftest.err
24121 } && test -s conftest.
$ac_objext; then
24122 ac_lo
=$ac_mid; break
24124 echo "$as_me: failed program was:" >&5
24125 sed 's/^/| /' conftest.
$ac_ext >&5
24127 ac_hi
=`expr '(' $ac_mid ')' - 1`
24128 if test $ac_mid -le $ac_hi; then
24132 ac_mid
=`expr 2 '*' $ac_mid`
24135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24138 echo "$as_me: failed program was:" >&5
24139 sed 's/^/| /' conftest.
$ac_ext >&5
24144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24147 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24148 # Binary search between lo and hi bounds.
24149 while test "x$ac_lo" != "x$ac_hi"; do
24150 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24151 cat >conftest.
$ac_ext <<_ACEOF
24154 cat confdefs.h
>>conftest.
$ac_ext
24155 cat >>conftest.
$ac_ext <<_ACEOF
24156 /* end confdefs.h. */
24157 $ac_includes_default
24158 typedef long long ac__type_sizeof_;
24162 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24169 rm -f conftest.
$ac_objext
24170 if { (ac_try
="$ac_compile"
24171 case "(($ac_try" in
24172 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24173 *) ac_try_echo=$ac_try;;
24175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24176 (eval "$ac_compile") 2>conftest.er1
24178 grep -v '^ *+' conftest.er1 >conftest.err
24180 cat conftest.err >&5
24181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24182 (exit $ac_status); } && {
24183 test -z "$ac_c_werror_flag" ||
24184 test ! -s conftest.err
24185 } && test -s conftest.$ac_objext; then
24188 echo "$as_me: failed program was:" >&5
24189 sed 's/^/| /' conftest.$ac_ext >&5
24191 ac_lo=`expr '(' $ac_mid ')' + 1`
24194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24197 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24198 '') if test "$ac_cv_type_long_long" = yes; then
24199 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24200 See \`config.log
' for more details." >&5
24201 echo "$as_me: error: cannot compute sizeof (long long)
24202 See \`config.log' for more details.
" >&2;}
24203 { (exit 77); exit 77; }; }
24205 ac_cv_sizeof_long_long=0
24209 cat >conftest.$ac_ext <<_ACEOF
24212 cat confdefs.h >>conftest.$ac_ext
24213 cat >>conftest.$ac_ext <<_ACEOF
24214 /* end confdefs.h. */
24215 $ac_includes_default
24216 typedef long long ac__type_sizeof_;
24217 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24218 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24220 #include <stdlib.h>
24225 FILE *f = fopen ("conftest.val
", "w
");
24228 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24230 long int i = longval ();
24231 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24233 fprintf (f, "%ld
\n", i);
24237 unsigned long int i = ulongval ();
24238 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24240 fprintf (f, "%lu
\n", i);
24242 return ferror (f) || fclose (f) != 0;
24248 rm -f conftest$ac_exeext
24249 if { (ac_try="$ac_link"
24250 case "(($ac_try" in
24251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24252 *) ac_try_echo=$ac_try;;
24254 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24255 (eval "$ac_link") 2>&5
24257 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24258 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24259 { (case "(($ac_try" in
24260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24261 *) ac_try_echo=$ac_try;;
24263 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24264 (eval "$ac_try") 2>&5
24266 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24267 (exit $ac_status); }; }; then
24268 ac_cv_sizeof_long_long=`cat conftest.val`
24270 echo "$as_me: program exited with status
$ac_status" >&5
24271 echo "$as_me: failed program was
:" >&5
24272 sed 's/^/| /' conftest.$ac_ext >&5
24274 ( exit $ac_status )
24275 if test "$ac_cv_type_long_long" = yes; then
24276 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24277 See \
`config.log' for more details." >&5
24278 echo "$as_me: error: cannot compute sizeof (long long)
24279 See \`config.log
' for more details." >&2;}
24280 { (exit 77); exit 77; }; }
24282 ac_cv_sizeof_long_long=0
24285 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24289 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24290 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24294 cat >>confdefs.h <<_ACEOF
24295 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24301 { echo "$as_me:$LINENO: checking for long long" >&5
24302 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24303 if test "${ac_cv_type_long_long+set}" = set; then
24304 echo $ECHO_N "(cached) $ECHO_C" >&6
24306 cat >conftest.$ac_ext <<_ACEOF
24309 cat confdefs.h >>conftest.$ac_ext
24310 cat >>conftest.$ac_ext <<_ACEOF
24311 /* end confdefs.h. */
24312 $ac_includes_default
24313 typedef long long ac__type_new_;
24317 if ((ac__type_new_ *) 0)
24319 if (sizeof (ac__type_new_))
24325 rm -f conftest.$ac_objext
24326 if { (ac_try="$ac_compile"
24327 case "(($ac_try" in
24328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24329 *) ac_try_echo=$ac_try;;
24331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24332 (eval "$ac_compile") 2>conftest.er1
24334 grep -v '^
*+' conftest.er1 >conftest.err
24336 cat conftest.err >&5
24337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24338 (exit $ac_status); } && {
24339 test -z "$ac_c_werror_flag" ||
24340 test ! -s conftest.err
24341 } && test -s conftest.$ac_objext; then
24342 ac_cv_type_long_long=yes
24344 echo "$as_me: failed program was:" >&5
24345 sed 's
/^
/| /' conftest.$ac_ext >&5
24347 ac_cv_type_long_long=no
24350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24352 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24353 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24355 # The cast to long int works around a bug in the HP C Compiler
24356 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24357 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24358 # This bug is HP SR number 8606223364.
24359 { echo "$as_me:$LINENO: checking size of long long" >&5
24360 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24361 if test "${ac_cv_sizeof_long_long+set}" = set; then
24362 echo $ECHO_N "(cached) $ECHO_C" >&6
24364 if test "$cross_compiling" = yes; then
24365 # Depending upon the size, compute the lo and hi bounds.
24366 cat >conftest.
$ac_ext <<_ACEOF
24369 cat confdefs.h
>>conftest.
$ac_ext
24370 cat >>conftest.
$ac_ext <<_ACEOF
24371 /* end confdefs.h. */
24372 $ac_includes_default
24373 typedef long long ac__type_sizeof_;
24377 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24384 rm -f conftest.
$ac_objext
24385 if { (ac_try
="$ac_compile"
24386 case "(($ac_try" in
24387 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24388 *) ac_try_echo=$ac_try;;
24390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24391 (eval "$ac_compile") 2>conftest.er1
24393 grep -v '^ *+' conftest.er1 >conftest.err
24395 cat conftest.err >&5
24396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24397 (exit $ac_status); } && {
24398 test -z "$ac_c_werror_flag" ||
24399 test ! -s conftest.err
24400 } && test -s conftest.$ac_objext; then
24403 cat >conftest.$ac_ext <<_ACEOF
24406 cat confdefs.h >>conftest.$ac_ext
24407 cat >>conftest.$ac_ext <<_ACEOF
24408 /* end confdefs.h. */
24409 $ac_includes_default
24410 typedef long long ac__type_sizeof_;
24414 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24421 rm -f conftest.$ac_objext
24422 if { (ac_try="$ac_compile"
24423 case "(($ac_try" in
24424 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24425 *) ac_try_echo
=$ac_try;;
24427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24428 (eval "$ac_compile") 2>conftest.er1
24430 grep -v '^ *+' conftest.er1
>conftest.err
24432 cat conftest.err
>&5
24433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24434 (exit $ac_status); } && {
24435 test -z "$ac_c_werror_flag" ||
24436 test ! -s conftest.err
24437 } && test -s conftest.
$ac_objext; then
24438 ac_hi
=$ac_mid; break
24440 echo "$as_me: failed program was:" >&5
24441 sed 's/^/| /' conftest.
$ac_ext >&5
24443 ac_lo
=`expr $ac_mid + 1`
24444 if test $ac_lo -le $ac_mid; then
24448 ac_mid
=`expr 2 '*' $ac_mid + 1`
24451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24454 echo "$as_me: failed program was:" >&5
24455 sed 's/^/| /' conftest.
$ac_ext >&5
24457 cat >conftest.
$ac_ext <<_ACEOF
24460 cat confdefs.h
>>conftest.
$ac_ext
24461 cat >>conftest.
$ac_ext <<_ACEOF
24462 /* end confdefs.h. */
24463 $ac_includes_default
24464 typedef long long ac__type_sizeof_;
24468 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24475 rm -f conftest.
$ac_objext
24476 if { (ac_try
="$ac_compile"
24477 case "(($ac_try" in
24478 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24479 *) ac_try_echo=$ac_try;;
24481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24482 (eval "$ac_compile") 2>conftest.er1
24484 grep -v '^ *+' conftest.er1 >conftest.err
24486 cat conftest.err >&5
24487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24488 (exit $ac_status); } && {
24489 test -z "$ac_c_werror_flag" ||
24490 test ! -s conftest.err
24491 } && test -s conftest.$ac_objext; then
24494 cat >conftest.$ac_ext <<_ACEOF
24497 cat confdefs.h >>conftest.$ac_ext
24498 cat >>conftest.$ac_ext <<_ACEOF
24499 /* end confdefs.h. */
24500 $ac_includes_default
24501 typedef long long ac__type_sizeof_;
24505 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24512 rm -f conftest.$ac_objext
24513 if { (ac_try="$ac_compile"
24514 case "(($ac_try" in
24515 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24516 *) ac_try_echo
=$ac_try;;
24518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24519 (eval "$ac_compile") 2>conftest.er1
24521 grep -v '^ *+' conftest.er1
>conftest.err
24523 cat conftest.err
>&5
24524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24525 (exit $ac_status); } && {
24526 test -z "$ac_c_werror_flag" ||
24527 test ! -s conftest.err
24528 } && test -s conftest.
$ac_objext; then
24529 ac_lo
=$ac_mid; break
24531 echo "$as_me: failed program was:" >&5
24532 sed 's/^/| /' conftest.
$ac_ext >&5
24534 ac_hi
=`expr '(' $ac_mid ')' - 1`
24535 if test $ac_mid -le $ac_hi; then
24539 ac_mid
=`expr 2 '*' $ac_mid`
24542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24545 echo "$as_me: failed program was:" >&5
24546 sed 's/^/| /' conftest.
$ac_ext >&5
24551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24554 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24555 # Binary search between lo and hi bounds.
24556 while test "x$ac_lo" != "x$ac_hi"; do
24557 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24558 cat >conftest.
$ac_ext <<_ACEOF
24561 cat confdefs.h
>>conftest.
$ac_ext
24562 cat >>conftest.
$ac_ext <<_ACEOF
24563 /* end confdefs.h. */
24564 $ac_includes_default
24565 typedef long long ac__type_sizeof_;
24569 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24576 rm -f conftest.
$ac_objext
24577 if { (ac_try
="$ac_compile"
24578 case "(($ac_try" in
24579 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24580 *) ac_try_echo=$ac_try;;
24582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24583 (eval "$ac_compile") 2>conftest.er1
24585 grep -v '^ *+' conftest.er1 >conftest.err
24587 cat conftest.err >&5
24588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24589 (exit $ac_status); } && {
24590 test -z "$ac_c_werror_flag" ||
24591 test ! -s conftest.err
24592 } && test -s conftest.$ac_objext; then
24595 echo "$as_me: failed program was:" >&5
24596 sed 's/^/| /' conftest.$ac_ext >&5
24598 ac_lo=`expr '(' $ac_mid ')' + 1`
24601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24604 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24605 '') if test "$ac_cv_type_long_long" = yes; then
24606 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24607 See \`config.log
' for more details." >&5
24608 echo "$as_me: error: cannot compute sizeof (long long)
24609 See \`config.log' for more details.
" >&2;}
24610 { (exit 77); exit 77; }; }
24612 ac_cv_sizeof_long_long=0
24616 cat >conftest.$ac_ext <<_ACEOF
24619 cat confdefs.h >>conftest.$ac_ext
24620 cat >>conftest.$ac_ext <<_ACEOF
24621 /* end confdefs.h. */
24622 $ac_includes_default
24623 typedef long long ac__type_sizeof_;
24624 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24625 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24627 #include <stdlib.h>
24632 FILE *f = fopen ("conftest.val
", "w
");
24635 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24637 long int i = longval ();
24638 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24640 fprintf (f, "%ld
\n", i);
24644 unsigned long int i = ulongval ();
24645 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24647 fprintf (f, "%lu
\n", i);
24649 return ferror (f) || fclose (f) != 0;
24655 rm -f conftest$ac_exeext
24656 if { (ac_try="$ac_link"
24657 case "(($ac_try" in
24658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24659 *) ac_try_echo=$ac_try;;
24661 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24662 (eval "$ac_link") 2>&5
24664 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24665 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24666 { (case "(($ac_try" in
24667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24668 *) ac_try_echo=$ac_try;;
24670 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24671 (eval "$ac_try") 2>&5
24673 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24674 (exit $ac_status); }; }; then
24675 ac_cv_sizeof_long_long=`cat conftest.val`
24677 echo "$as_me: program exited with status
$ac_status" >&5
24678 echo "$as_me: failed program was
:" >&5
24679 sed 's/^/| /' conftest.$ac_ext >&5
24681 ( exit $ac_status )
24682 if test "$ac_cv_type_long_long" = yes; then
24683 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24684 See \
`config.log' for more details." >&5
24685 echo "$as_me: error: cannot compute sizeof (long long)
24686 See \`config.log
' for more details." >&2;}
24687 { (exit 77); exit 77; }; }
24689 ac_cv_sizeof_long_long=0
24692 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24696 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24697 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24701 cat >>confdefs.h <<_ACEOF
24702 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24706 if test "$ac_cv_sizeof_long_long" != 0; then
24707 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24711 { echo "$as_me:$LINENO: checking for long long" >&5
24712 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24713 if test "${ac_cv_type_long_long+set}" = set; then
24714 echo $ECHO_N "(cached) $ECHO_C" >&6
24716 cat >conftest.$ac_ext <<_ACEOF
24719 cat confdefs.h >>conftest.$ac_ext
24720 cat >>conftest.$ac_ext <<_ACEOF
24721 /* end confdefs.h. */
24722 $ac_includes_default
24723 typedef long long ac__type_new_;
24727 if ((ac__type_new_ *) 0)
24729 if (sizeof (ac__type_new_))
24735 rm -f conftest.$ac_objext
24736 if { (ac_try="$ac_compile"
24737 case "(($ac_try" in
24738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24739 *) ac_try_echo=$ac_try;;
24741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24742 (eval "$ac_compile") 2>conftest.er1
24744 grep -v '^
*+' conftest.er1 >conftest.err
24746 cat conftest.err >&5
24747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24748 (exit $ac_status); } && {
24749 test -z "$ac_c_werror_flag" ||
24750 test ! -s conftest.err
24751 } && test -s conftest.$ac_objext; then
24752 ac_cv_type_long_long=yes
24754 echo "$as_me: failed program was:" >&5
24755 sed 's
/^
/| /' conftest.$ac_ext >&5
24757 ac_cv_type_long_long=no
24760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24762 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24763 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24765 # The cast to long int works around a bug in the HP C Compiler
24766 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24767 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24768 # This bug is HP SR number 8606223364.
24769 { echo "$as_me:$LINENO: checking size of long long" >&5
24770 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24771 if test "${ac_cv_sizeof_long_long+set}" = set; then
24772 echo $ECHO_N "(cached) $ECHO_C" >&6
24774 if test "$cross_compiling" = yes; then
24775 # Depending upon the size, compute the lo and hi bounds.
24776 cat >conftest.
$ac_ext <<_ACEOF
24779 cat confdefs.h
>>conftest.
$ac_ext
24780 cat >>conftest.
$ac_ext <<_ACEOF
24781 /* end confdefs.h. */
24782 $ac_includes_default
24783 typedef long long ac__type_sizeof_;
24787 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24794 rm -f conftest.
$ac_objext
24795 if { (ac_try
="$ac_compile"
24796 case "(($ac_try" in
24797 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24798 *) ac_try_echo=$ac_try;;
24800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24801 (eval "$ac_compile") 2>conftest.er1
24803 grep -v '^ *+' conftest.er1 >conftest.err
24805 cat conftest.err >&5
24806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24807 (exit $ac_status); } && {
24808 test -z "$ac_c_werror_flag" ||
24809 test ! -s conftest.err
24810 } && test -s conftest.$ac_objext; then
24813 cat >conftest.$ac_ext <<_ACEOF
24816 cat confdefs.h >>conftest.$ac_ext
24817 cat >>conftest.$ac_ext <<_ACEOF
24818 /* end confdefs.h. */
24819 $ac_includes_default
24820 typedef long long ac__type_sizeof_;
24824 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24831 rm -f conftest.$ac_objext
24832 if { (ac_try="$ac_compile"
24833 case "(($ac_try" in
24834 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24835 *) ac_try_echo
=$ac_try;;
24837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24838 (eval "$ac_compile") 2>conftest.er1
24840 grep -v '^ *+' conftest.er1
>conftest.err
24842 cat conftest.err
>&5
24843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24844 (exit $ac_status); } && {
24845 test -z "$ac_c_werror_flag" ||
24846 test ! -s conftest.err
24847 } && test -s conftest.
$ac_objext; then
24848 ac_hi
=$ac_mid; break
24850 echo "$as_me: failed program was:" >&5
24851 sed 's/^/| /' conftest.
$ac_ext >&5
24853 ac_lo
=`expr $ac_mid + 1`
24854 if test $ac_lo -le $ac_mid; then
24858 ac_mid
=`expr 2 '*' $ac_mid + 1`
24861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24864 echo "$as_me: failed program was:" >&5
24865 sed 's/^/| /' conftest.
$ac_ext >&5
24867 cat >conftest.
$ac_ext <<_ACEOF
24870 cat confdefs.h
>>conftest.
$ac_ext
24871 cat >>conftest.
$ac_ext <<_ACEOF
24872 /* end confdefs.h. */
24873 $ac_includes_default
24874 typedef long long ac__type_sizeof_;
24878 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24885 rm -f conftest.
$ac_objext
24886 if { (ac_try
="$ac_compile"
24887 case "(($ac_try" in
24888 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24889 *) ac_try_echo=$ac_try;;
24891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24892 (eval "$ac_compile") 2>conftest.er1
24894 grep -v '^ *+' conftest.er1 >conftest.err
24896 cat conftest.err >&5
24897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24898 (exit $ac_status); } && {
24899 test -z "$ac_c_werror_flag" ||
24900 test ! -s conftest.err
24901 } && test -s conftest.$ac_objext; then
24904 cat >conftest.$ac_ext <<_ACEOF
24907 cat confdefs.h >>conftest.$ac_ext
24908 cat >>conftest.$ac_ext <<_ACEOF
24909 /* end confdefs.h. */
24910 $ac_includes_default
24911 typedef long long ac__type_sizeof_;
24915 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24922 rm -f conftest.$ac_objext
24923 if { (ac_try="$ac_compile"
24924 case "(($ac_try" in
24925 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24926 *) ac_try_echo
=$ac_try;;
24928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24929 (eval "$ac_compile") 2>conftest.er1
24931 grep -v '^ *+' conftest.er1
>conftest.err
24933 cat conftest.err
>&5
24934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24935 (exit $ac_status); } && {
24936 test -z "$ac_c_werror_flag" ||
24937 test ! -s conftest.err
24938 } && test -s conftest.
$ac_objext; then
24939 ac_lo
=$ac_mid; break
24941 echo "$as_me: failed program was:" >&5
24942 sed 's/^/| /' conftest.
$ac_ext >&5
24944 ac_hi
=`expr '(' $ac_mid ')' - 1`
24945 if test $ac_mid -le $ac_hi; then
24949 ac_mid
=`expr 2 '*' $ac_mid`
24952 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24955 echo "$as_me: failed program was:" >&5
24956 sed 's/^/| /' conftest.
$ac_ext >&5
24961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24965 # Binary search between lo and hi bounds.
24966 while test "x$ac_lo" != "x$ac_hi"; do
24967 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24968 cat >conftest.
$ac_ext <<_ACEOF
24971 cat confdefs.h
>>conftest.
$ac_ext
24972 cat >>conftest.
$ac_ext <<_ACEOF
24973 /* end confdefs.h. */
24974 $ac_includes_default
24975 typedef long long ac__type_sizeof_;
24979 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24986 rm -f conftest.
$ac_objext
24987 if { (ac_try
="$ac_compile"
24988 case "(($ac_try" in
24989 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24990 *) ac_try_echo=$ac_try;;
24992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24993 (eval "$ac_compile") 2>conftest.er1
24995 grep -v '^ *+' conftest.er1 >conftest.err
24997 cat conftest.err >&5
24998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24999 (exit $ac_status); } && {
25000 test -z "$ac_c_werror_flag" ||
25001 test ! -s conftest.err
25002 } && test -s conftest.$ac_objext; then
25005 echo "$as_me: failed program was:" >&5
25006 sed 's/^/| /' conftest.$ac_ext >&5
25008 ac_lo=`expr '(' $ac_mid ')' + 1`
25011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25014 ?*) ac_cv_sizeof_long_long=$ac_lo;;
25015 '') if test "$ac_cv_type_long_long" = yes; then
25016 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25017 See \`config.log
' for more details." >&5
25018 echo "$as_me: error: cannot compute sizeof (long long)
25019 See \`config.log' for more details.
" >&2;}
25020 { (exit 77); exit 77; }; }
25022 ac_cv_sizeof_long_long=0
25026 cat >conftest.$ac_ext <<_ACEOF
25029 cat confdefs.h >>conftest.$ac_ext
25030 cat >>conftest.$ac_ext <<_ACEOF
25031 /* end confdefs.h. */
25032 $ac_includes_default
25033 typedef long long ac__type_sizeof_;
25034 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25035 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25037 #include <stdlib.h>
25042 FILE *f = fopen ("conftest.val
", "w
");
25045 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25047 long int i = longval ();
25048 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25050 fprintf (f, "%ld
\n", i);
25054 unsigned long int i = ulongval ();
25055 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25057 fprintf (f, "%lu
\n", i);
25059 return ferror (f) || fclose (f) != 0;
25065 rm -f conftest$ac_exeext
25066 if { (ac_try="$ac_link"
25067 case "(($ac_try" in
25068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25069 *) ac_try_echo=$ac_try;;
25071 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25072 (eval "$ac_link") 2>&5
25074 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25075 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25076 { (case "(($ac_try" in
25077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25078 *) ac_try_echo=$ac_try;;
25080 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25081 (eval "$ac_try") 2>&5
25083 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25084 (exit $ac_status); }; }; then
25085 ac_cv_sizeof_long_long=`cat conftest.val`
25087 echo "$as_me: program exited with status
$ac_status" >&5
25088 echo "$as_me: failed program was
:" >&5
25089 sed 's/^/| /' conftest.$ac_ext >&5
25091 ( exit $ac_status )
25092 if test "$ac_cv_type_long_long" = yes; then
25093 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
25094 See \
`config.log' for more details." >&5
25095 echo "$as_me: error: cannot compute sizeof (long long)
25096 See \`config.log
' for more details." >&2;}
25097 { (exit 77); exit 77; }; }
25099 ac_cv_sizeof_long_long=0
25102 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25106 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25107 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25111 cat >>confdefs.h <<_ACEOF
25112 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25118 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25119 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25120 if test "${ac_cv_type_wchar_t+set}" = set; then
25121 echo $ECHO_N "(cached) $ECHO_C" >&6
25123 cat >conftest.$ac_ext <<_ACEOF
25126 cat confdefs.h >>conftest.$ac_ext
25127 cat >>conftest.$ac_ext <<_ACEOF
25128 /* end confdefs.h. */
25130 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
25131 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25132 # error "fake wchar_t"
25134 #ifdef HAVE_WCHAR_H
25136 # include <stddef.h>
25138 # include <wchar.h>
25140 #ifdef HAVE_STDLIB_H
25141 # include <stdlib.h>
25147 typedef wchar_t ac__type_new_
;
25151 if ((ac__type_new_
*) 0)
25153 if (sizeof
(ac__type_new_
))
25159 rm -f conftest.
$ac_objext
25160 if { (ac_try
="$ac_compile"
25161 case "(($ac_try" in
25162 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25163 *) ac_try_echo=$ac_try;;
25165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25166 (eval "$ac_compile") 2>conftest.er1
25168 grep -v '^ *+' conftest.er1 >conftest.err
25170 cat conftest.err >&5
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); } && {
25173 test -z "$ac_c_werror_flag" ||
25174 test ! -s conftest.err
25175 } && test -s conftest.$ac_objext; then
25176 ac_cv_type_wchar_t=yes
25178 echo "$as_me: failed program was:" >&5
25179 sed 's/^/| /' conftest.$ac_ext >&5
25181 ac_cv_type_wchar_t=no
25184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25186 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25187 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25189 # The cast to long int works around a bug in the HP C Compiler
25190 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25191 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
25192 # This bug is HP SR number 8606223364.
25193 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25194 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25195 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25196 echo $ECHO_N "(cached) $ECHO_C" >&6
25198 if test "$cross_compiling" = yes; then
25199 # Depending upon the size, compute the lo and hi bounds.
25200 cat >conftest.$ac_ext <<_ACEOF
25203 cat confdefs.h >>conftest.$ac_ext
25204 cat >>conftest.$ac_ext <<_ACEOF
25205 /* end confdefs.h. */
25207 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
25208 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25209 # error "fake wchar_t"
25211 #ifdef HAVE_WCHAR_H
25213 # include <stddef.h>
25215 # include <wchar.h>
25217 #ifdef HAVE_STDLIB_H
25218 # include <stdlib.h>
25224 typedef wchar_t ac__type_sizeof_
;
25228 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
25235 rm -f conftest.
$ac_objext
25236 if { (ac_try
="$ac_compile"
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_compile") 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_objext; then
25254 cat >conftest.$ac_ext <<_ACEOF
25257 cat confdefs.h >>conftest.$ac_ext
25258 cat >>conftest.$ac_ext <<_ACEOF
25259 /* end confdefs.h. */
25261 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25262 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25263 # error "fake wchar_t"
25265 #ifdef HAVE_WCHAR_H
25267 # include <stddef.h>
25269 # include <wchar.h>
25271 #ifdef HAVE_STDLIB_H
25272 # include <stdlib.h>
25278 typedef wchar_t ac__type_sizeof_;
25282 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25289 rm -f conftest.$ac_objext
25290 if { (ac_try="$ac_compile"
25291 case "(($ac_try" in
25292 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25293 *) ac_try_echo
=$ac_try;;
25295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25296 (eval "$ac_compile") 2>conftest.er1
25298 grep -v '^ *+' conftest.er1
>conftest.err
25300 cat conftest.err
>&5
25301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302 (exit $ac_status); } && {
25303 test -z "$ac_c_werror_flag" ||
25304 test ! -s conftest.err
25305 } && test -s conftest.
$ac_objext; then
25306 ac_hi
=$ac_mid; break
25308 echo "$as_me: failed program was:" >&5
25309 sed 's/^/| /' conftest.
$ac_ext >&5
25311 ac_lo
=`expr $ac_mid + 1`
25312 if test $ac_lo -le $ac_mid; then
25316 ac_mid
=`expr 2 '*' $ac_mid + 1`
25319 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25322 echo "$as_me: failed program was:" >&5
25323 sed 's/^/| /' conftest.
$ac_ext >&5
25325 cat >conftest.
$ac_ext <<_ACEOF
25328 cat confdefs.h
>>conftest.
$ac_ext
25329 cat >>conftest.
$ac_ext <<_ACEOF
25330 /* end confdefs.h. */
25332 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25333 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25334 # error "fake wchar_t"
25336 #ifdef HAVE_WCHAR_H
25338 # include <stddef.h>
25340 # include <wchar.h>
25342 #ifdef HAVE_STDLIB_H
25343 # include <stdlib.h>
25349 typedef wchar_t ac__type_sizeof_;
25353 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25360 rm -f conftest.
$ac_objext
25361 if { (ac_try
="$ac_compile"
25362 case "(($ac_try" in
25363 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25364 *) ac_try_echo=$ac_try;;
25366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25367 (eval "$ac_compile") 2>conftest.er1
25369 grep -v '^ *+' conftest.er1 >conftest.err
25371 cat conftest.err >&5
25372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25373 (exit $ac_status); } && {
25374 test -z "$ac_c_werror_flag" ||
25375 test ! -s conftest.err
25376 } && test -s conftest.$ac_objext; then
25379 cat >conftest.$ac_ext <<_ACEOF
25382 cat confdefs.h >>conftest.$ac_ext
25383 cat >>conftest.$ac_ext <<_ACEOF
25384 /* end confdefs.h. */
25386 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25387 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25388 # error "fake wchar_t"
25390 #ifdef HAVE_WCHAR_H
25392 # include <stddef.h>
25394 # include <wchar.h>
25396 #ifdef HAVE_STDLIB_H
25397 # include <stdlib.h>
25403 typedef wchar_t ac__type_sizeof_;
25407 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25414 rm -f conftest.$ac_objext
25415 if { (ac_try="$ac_compile"
25416 case "(($ac_try" in
25417 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25418 *) ac_try_echo
=$ac_try;;
25420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25421 (eval "$ac_compile") 2>conftest.er1
25423 grep -v '^ *+' conftest.er1
>conftest.err
25425 cat conftest.err
>&5
25426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25427 (exit $ac_status); } && {
25428 test -z "$ac_c_werror_flag" ||
25429 test ! -s conftest.err
25430 } && test -s conftest.
$ac_objext; then
25431 ac_lo
=$ac_mid; break
25433 echo "$as_me: failed program was:" >&5
25434 sed 's/^/| /' conftest.
$ac_ext >&5
25436 ac_hi
=`expr '(' $ac_mid ')' - 1`
25437 if test $ac_mid -le $ac_hi; then
25441 ac_mid
=`expr 2 '*' $ac_mid`
25444 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25447 echo "$as_me: failed program was:" >&5
25448 sed 's/^/| /' conftest.
$ac_ext >&5
25453 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25457 # Binary search between lo and hi bounds.
25458 while test "x$ac_lo" != "x$ac_hi"; do
25459 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25460 cat >conftest.
$ac_ext <<_ACEOF
25463 cat confdefs.h
>>conftest.
$ac_ext
25464 cat >>conftest.
$ac_ext <<_ACEOF
25465 /* end confdefs.h. */
25467 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25468 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25469 # error "fake wchar_t"
25471 #ifdef HAVE_WCHAR_H
25473 # include <stddef.h>
25475 # include <wchar.h>
25477 #ifdef HAVE_STDLIB_H
25478 # include <stdlib.h>
25484 typedef wchar_t ac__type_sizeof_;
25488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25495 rm -f conftest.
$ac_objext
25496 if { (ac_try
="$ac_compile"
25497 case "(($ac_try" in
25498 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25499 *) ac_try_echo=$ac_try;;
25501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25502 (eval "$ac_compile") 2>conftest.er1
25504 grep -v '^ *+' conftest.er1 >conftest.err
25506 cat conftest.err >&5
25507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25508 (exit $ac_status); } && {
25509 test -z "$ac_c_werror_flag" ||
25510 test ! -s conftest.err
25511 } && test -s conftest.$ac_objext; then
25514 echo "$as_me: failed program was:" >&5
25515 sed 's/^/| /' conftest.$ac_ext >&5
25517 ac_lo=`expr '(' $ac_mid ')' + 1`
25520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25523 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25524 '') if test "$ac_cv_type_wchar_t" = yes; then
25525 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25526 See \`config.log
' for more details." >&5
25527 echo "$as_me: error: cannot compute sizeof (wchar_t)
25528 See \`config.log' for more details.
" >&2;}
25529 { (exit 77); exit 77; }; }
25531 ac_cv_sizeof_wchar_t=0
25535 cat >conftest.$ac_ext <<_ACEOF
25538 cat confdefs.h >>conftest.$ac_ext
25539 cat >>conftest.$ac_ext <<_ACEOF
25540 /* end confdefs.h. */
25542 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25543 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25544 # error "fake wchar_t
"
25546 #ifdef HAVE_WCHAR_H
25548 # include <stddef.h>
25550 # include <wchar.h>
25552 #ifdef HAVE_STDLIB_H
25553 # include <stdlib.h>
25559 typedef wchar_t ac__type_sizeof_;
25560 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25561 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25563 #include <stdlib.h>
25568 FILE *f = fopen ("conftest.val
", "w
");
25571 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25573 long int i = longval ();
25574 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25576 fprintf (f, "%ld
\n", i);
25580 unsigned long int i = ulongval ();
25581 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25583 fprintf (f, "%lu
\n", i);
25585 return ferror (f) || fclose (f) != 0;
25591 rm -f conftest$ac_exeext
25592 if { (ac_try="$ac_link"
25593 case "(($ac_try" in
25594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25595 *) ac_try_echo=$ac_try;;
25597 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25598 (eval "$ac_link") 2>&5
25600 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25601 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25602 { (case "(($ac_try" in
25603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25604 *) ac_try_echo=$ac_try;;
25606 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25607 (eval "$ac_try") 2>&5
25609 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25610 (exit $ac_status); }; }; then
25611 ac_cv_sizeof_wchar_t=`cat conftest.val`
25613 echo "$as_me: program exited with status
$ac_status" >&5
25614 echo "$as_me: failed program was
:" >&5
25615 sed 's/^/| /' conftest.$ac_ext >&5
25617 ( exit $ac_status )
25618 if test "$ac_cv_type_wchar_t" = yes; then
25619 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
25620 See \
`config.log' for more details." >&5
25621 echo "$as_me: error: cannot compute sizeof (wchar_t)
25622 See \`config.log
' for more details." >&2;}
25623 { (exit 77); exit 77; }; }
25625 ac_cv_sizeof_wchar_t=0
25628 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25632 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25633 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25637 cat >>confdefs.h <<_ACEOF
25638 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25642 if test "$ac_cv_sizeof_wchar_t" != 0; then
25648 { echo "$as_me:$LINENO: checking for va_copy" >&5
25649 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25650 if test "${wx_cv_func_va_copy+set}" = set; then
25651 echo $ECHO_N "(cached) $ECHO_C" >&6
25655 ac_cpp='$CXXCPP $CPPFLAGS'
25656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25657 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25660 cat >conftest.$ac_ext <<_ACEOF
25662 #include <stdarg.h>
25663 void foo(char *f, ...)
25677 rm -f conftest.$ac_objext conftest$ac_exeext
25678 if { (ac_try="$ac_link"
25679 case "(($ac_try" in
25680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25681 *) ac_try_echo=$ac_try;;
25683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25684 (eval "$ac_link") 2>conftest.er1
25686 grep -v '^
*+' conftest.er1 >conftest.err
25688 cat conftest.err >&5
25689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25690 (exit $ac_status); } && {
25691 test -z "$ac_cxx_werror_flag" ||
25692 test ! -s conftest.err
25693 } && test -s conftest$ac_exeext &&
25694 $as_test_x conftest$ac_exeext; then
25695 wx_cv_func_va_copy=yes
25697 echo "$as_me: failed program was:" >&5
25698 sed 's
/^
/| /' conftest.$ac_ext >&5
25700 wx_cv_func_va_copy=no
25704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25705 conftest$ac_exeext conftest.$ac_ext
25707 ac_cpp='$CPP $CPPFLAGS'
25708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25709 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25715 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25716 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25718 if test $wx_cv_func_va_copy = "yes"; then
25719 cat >>confdefs.h <<\_ACEOF
25720 #define HAVE_VA_COPY 1
25724 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25725 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25726 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25727 echo $ECHO_N "(cached) $ECHO_C" >&6
25730 if test "$cross_compiling" = yes; then
25731 wx_cv_type_va_list_lvalue=yes
25734 cat >conftest.$ac_ext <<_ACEOF
25736 #include <stdarg.h>
25737 int foo(char *f, ...)
25742 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25750 return foo("hi", 17);
25753 rm -f conftest$ac_exeext
25754 if { (ac_try="$ac_link"
25755 case "(($ac_try" in
25756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25757 *) ac_try_echo=$ac_try;;
25759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25760 (eval "$ac_link") 2>&5
25762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25763 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25764 { (case "(($ac_try" in
25765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25766 *) ac_try_echo=$ac_try;;
25768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25769 (eval "$ac_try") 2>&5
25771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25772 (exit $ac_status); }; }; then
25773 wx_cv_type_va_list_lvalue=yes
25775 echo "$as_me: program exited with status $ac_status" >&5
25776 echo "$as_me: failed program was:" >&5
25777 sed 's
/^
/| /' conftest.$ac_ext >&5
25779 ( exit $ac_status )
25780 wx_cv_type_va_list_lvalue=no
25782 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25789 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25790 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25792 if test $wx_cv_type_va_list_lvalue != "yes"; then
25793 cat >>confdefs.h <<\_ACEOF
25794 #define VA_LIST_IS_ARRAY 1
25800 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25802 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25803 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25804 if test "${wx_cv_have_variadic_macros+set}" = set; then
25805 echo $ECHO_N "(cached) $ECHO_C" >&6
25809 ac_cpp='$CXXCPP $CPPFLAGS'
25810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25811 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25814 cat >conftest.$ac_ext <<_ACEOF
25817 cat confdefs.h >>conftest.$ac_ext
25818 cat >>conftest.$ac_ext <<_ACEOF
25819 /* end confdefs.h. */
25822 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25828 test("%s %d %p", "test", 1, 0);
25835 rm -f conftest.$ac_objext
25836 if { (ac_try="$ac_compile"
25837 case "(($ac_try" in
25838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25839 *) ac_try_echo=$ac_try;;
25841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25842 (eval "$ac_compile") 2>conftest.er1
25844 grep -v '^
*+' conftest.er1 >conftest.err
25846 cat conftest.err >&5
25847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25848 (exit $ac_status); } && {
25849 test -z "$ac_cxx_werror_flag" ||
25850 test ! -s conftest.err
25851 } && test -s conftest.$ac_objext; then
25852 wx_cv_have_variadic_macros=yes
25854 echo "$as_me: failed program was:" >&5
25855 sed 's
/^
/| /' conftest.$ac_ext >&5
25857 wx_cv_have_variadic_macros=no
25861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25863 ac_cpp='$CPP $CPPFLAGS'
25864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25865 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25871 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25872 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25874 if test $wx_cv_have_variadic_macros = "yes"; then
25875 cat >>confdefs.h <<\_ACEOF
25876 #define HAVE_VARIADIC_MACROS 1
25882 # Check whether --enable-largefile was given.
25883 if test "${enable_largefile+set}" = set; then
25884 enableval=$enable_largefile;
25887 if test "$enable_largefile" != no; then
25890 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25891 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25892 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25893 echo $ECHO_N "(cached) $ECHO_C" >&6
25896 cat >conftest.$ac_ext <<_ACEOF
25899 cat confdefs.h >>conftest.$ac_ext
25900 cat >>conftest.$ac_ext <<_ACEOF
25901 /* end confdefs.h. */
25902 #define _FILE_OFFSET_BITS 64
25903 #include <sys/types.h>
25908 unsigned int field: sizeof(off_t) == 8;
25915 rm -f conftest.$ac_objext
25916 if { (ac_try="$ac_compile"
25917 case "(($ac_try" in
25918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25919 *) ac_try_echo=$ac_try;;
25921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25922 (eval "$ac_compile") 2>conftest.er1
25924 grep -v '^
*+' conftest.er1 >conftest.err
25926 cat conftest.err >&5
25927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928 (exit $ac_status); } && {
25929 test -z "$ac_c_werror_flag" ||
25930 test ! -s conftest.err
25931 } && test -s conftest.$ac_objext; then
25932 ac_cv_sys_file_offset_bits=64
25934 echo "$as_me: failed program was:" >&5
25935 sed 's
/^
/| /' conftest.$ac_ext >&5
25937 ac_cv_sys_file_offset_bits=no
25940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25944 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25945 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25947 if test "$ac_cv_sys_file_offset_bits" != no; then
25949 cat >>confdefs.h <<_ACEOF
25950 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25955 if test "x$wx_largefile" != "xyes"; then
25957 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25958 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25959 if test "${ac_cv_sys_large_files+set}" = set; then
25960 echo $ECHO_N "(cached) $ECHO_C" >&6
25963 cat >conftest.$ac_ext <<_ACEOF
25966 cat confdefs.h >>conftest.$ac_ext
25967 cat >>conftest.$ac_ext <<_ACEOF
25968 /* end confdefs.h. */
25969 #define _LARGE_FILES 1
25970 #include <sys/types.h>
25975 unsigned int field: sizeof(off_t) == 8;
25982 rm -f conftest.$ac_objext
25983 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
25991 grep -v '^
*+' conftest.er1 >conftest.err
25993 cat conftest.err >&5
25994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25995 (exit $ac_status); } && {
25996 test -z "$ac_c_werror_flag" ||
25997 test ! -s conftest.err
25998 } && test -s conftest.$ac_objext; then
25999 ac_cv_sys_large_files=1
26001 echo "$as_me: failed program was:" >&5
26002 sed 's
/^
/| /' conftest.$ac_ext >&5
26004 ac_cv_sys_large_files=no
26007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26011 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
26012 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
26014 if test "$ac_cv_sys_large_files" != no; then
26016 cat >>confdefs.h <<_ACEOF
26017 #define _LARGE_FILES $ac_cv_sys_large_files
26024 { echo "$as_me:$LINENO: checking if large file support is available" >&5
26025 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
26026 if test "x$wx_largefile" = "xyes"; then
26027 cat >>confdefs.h <<\_ACEOF
26028 #define HAVE_LARGEFILE_SUPPORT 1
26032 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
26033 echo "${ECHO_T}$wx_largefile" >&6; }
26037 if test "x$wx_largefile" = "xyes"; then
26038 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
26039 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
26041 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
26042 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
26043 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
26044 if test "${wx_cv_STDC_EXT_required+set}" = set; then
26045 echo $ECHO_N "(cached) $ECHO_C" >&6
26049 ac_cpp='$CXXCPP $CPPFLAGS'
26050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26051 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26054 cat >conftest.$ac_ext <<_ACEOF
26057 cat confdefs.h >>conftest.$ac_ext
26058 cat >>conftest.$ac_ext <<_ACEOF
26059 /* end confdefs.h. */
26065 #ifndef __STDC_EXT__
26073 rm -f conftest.$ac_objext
26074 if { (ac_try="$ac_compile"
26075 case "(($ac_try" in
26076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26077 *) ac_try_echo=$ac_try;;
26079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26080 (eval "$ac_compile") 2>conftest.er1
26082 grep -v '^
*+' conftest.er1 >conftest.err
26084 cat conftest.err >&5
26085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26086 (exit $ac_status); } && {
26087 test -z "$ac_cxx_werror_flag" ||
26088 test ! -s conftest.err
26089 } && test -s conftest.$ac_objext; then
26090 wx_cv_STDC_EXT_required=no
26092 echo "$as_me: failed program was:" >&5
26093 sed 's
/^
/| /' conftest.$ac_ext >&5
26095 wx_cv_STDC_EXT_required=yes
26099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26101 ac_cpp='$CPP $CPPFLAGS'
26102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26103 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26109 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
26110 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
26111 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26112 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26116 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26118 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26119 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26120 if test "${ac_cv_sys_largefile_source+set}" = set; then
26121 echo $ECHO_N "(cached) $ECHO_C" >&6
26124 cat >conftest.$ac_ext <<_ACEOF
26127 cat confdefs.h >>conftest.$ac_ext
26128 cat >>conftest.$ac_ext <<_ACEOF
26129 /* end confdefs.h. */
26130 #include <sys/types.h> /* for off_t */
26135 int (*fp) (FILE *, off_t, int) = fseeko;
26136 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26141 rm -f conftest.$ac_objext conftest$ac_exeext
26142 if { (ac_try="$ac_link"
26143 case "(($ac_try" in
26144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26145 *) ac_try_echo=$ac_try;;
26147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26148 (eval "$ac_link") 2>conftest.er1
26150 grep -v '^
*+' conftest.er1 >conftest.err
26152 cat conftest.err >&5
26153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26154 (exit $ac_status); } && {
26155 test -z "$ac_c_werror_flag" ||
26156 test ! -s conftest.err
26157 } && test -s conftest$ac_exeext &&
26158 $as_test_x conftest$ac_exeext; then
26159 ac_cv_sys_largefile_source=no; break
26161 echo "$as_me: failed program was:" >&5
26162 sed 's
/^
/| /' conftest.$ac_ext >&5
26167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26168 conftest$ac_exeext conftest.$ac_ext
26169 cat >conftest.$ac_ext <<_ACEOF
26172 cat confdefs.h >>conftest.$ac_ext
26173 cat >>conftest.$ac_ext <<_ACEOF
26174 /* end confdefs.h. */
26175 #define _LARGEFILE_SOURCE 1
26176 #include <sys/types.h> /* for off_t */
26181 int (*fp) (FILE *, off_t, int) = fseeko;
26182 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26187 rm -f conftest.$ac_objext conftest$ac_exeext
26188 if { (ac_try="$ac_link"
26189 case "(($ac_try" in
26190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26191 *) ac_try_echo=$ac_try;;
26193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26194 (eval "$ac_link") 2>conftest.er1
26196 grep -v '^
*+' conftest.er1 >conftest.err
26198 cat conftest.err >&5
26199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26200 (exit $ac_status); } && {
26201 test -z "$ac_c_werror_flag" ||
26202 test ! -s conftest.err
26203 } && test -s conftest$ac_exeext &&
26204 $as_test_x conftest$ac_exeext; then
26205 ac_cv_sys_largefile_source=1; break
26207 echo "$as_me: failed program was:" >&5
26208 sed 's
/^
/| /' conftest.$ac_ext >&5
26213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26214 conftest$ac_exeext conftest.$ac_ext
26215 ac_cv_sys_largefile_source=unknown
26219 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26220 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26221 case $ac_cv_sys_largefile_source in #(
26224 cat >>confdefs.h <<_ACEOF
26225 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26231 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26232 # in glibc 2.1.3, but that breaks too many other things.
26233 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26234 if test $ac_cv_sys_largefile_source != unknown; then
26236 cat >>confdefs.h <<\_ACEOF
26237 #define HAVE_FSEEKO 1
26242 if test "$ac_cv_sys_largefile_source" != no; then
26243 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26247 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26248 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26249 if test "${ac_cv_c_bigendian+set}" = set; then
26250 echo $ECHO_N "(cached) $ECHO_C" >&6
26252 ac_cv_c_bigendian=unknown
26253 # See if sys/param.h defines the BYTE_ORDER macro.
26254 cat >conftest.$ac_ext <<_ACEOF
26257 cat confdefs.h >>conftest.$ac_ext
26258 cat >>conftest.$ac_ext <<_ACEOF
26259 /* end confdefs.h. */
26260 #include <sys/types.h>
26261 #include <sys/param.h>
26266 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26267 bogus endian macros
26273 rm -f conftest.$ac_objext
26274 if { (ac_try="$ac_compile"
26275 case "(($ac_try" in
26276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26277 *) ac_try_echo=$ac_try;;
26279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26280 (eval "$ac_compile") 2>conftest.er1
26282 grep -v '^
*+' conftest.er1 >conftest.err
26284 cat conftest.err >&5
26285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26286 (exit $ac_status); } && {
26287 test -z "$ac_c_werror_flag" ||
26288 test ! -s conftest.err
26289 } && test -s conftest.$ac_objext; then
26290 # It does; now see whether it defined to BIG_ENDIAN or not.
26291 cat >conftest.$ac_ext <<_ACEOF
26294 cat confdefs.h >>conftest.$ac_ext
26295 cat >>conftest.$ac_ext <<_ACEOF
26296 /* end confdefs.h. */
26297 #include <sys/types.h>
26298 #include <sys/param.h>
26303 #if BYTE_ORDER != BIG_ENDIAN
26310 rm -f conftest.$ac_objext
26311 if { (ac_try="$ac_compile"
26312 case "(($ac_try" in
26313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26314 *) ac_try_echo=$ac_try;;
26316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26317 (eval "$ac_compile") 2>conftest.er1
26319 grep -v '^
*+' conftest.er1 >conftest.err
26321 cat conftest.err >&5
26322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26323 (exit $ac_status); } && {
26324 test -z "$ac_c_werror_flag" ||
26325 test ! -s conftest.err
26326 } && test -s conftest.$ac_objext; then
26327 ac_cv_c_bigendian=yes
26329 echo "$as_me: failed program was:" >&5
26330 sed 's
/^
/| /' conftest.$ac_ext >&5
26332 ac_cv_c_bigendian=no
26335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26337 echo "$as_me: failed program was:" >&5
26338 sed 's
/^
/| /' conftest.$ac_ext >&5
26343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26344 if test $ac_cv_c_bigendian = unknown; then
26345 if test "$cross_compiling" = yes; then
26346 ac_cv_c_bigendian=unknown
26348 cat >conftest.$ac_ext <<_ACEOF
26351 cat confdefs.h >>conftest.$ac_ext
26352 cat >>conftest.$ac_ext <<_ACEOF
26353 /* end confdefs.h. */
26355 /* Are we little or big endian? From Harbison&Steele. */
26359 char c[sizeof (long)];
26362 exit (u.c[sizeof (long) - 1] == 1);
26365 rm -f conftest$ac_exeext
26366 if { (ac_try="$ac_link"
26367 case "(($ac_try" in
26368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26369 *) ac_try_echo=$ac_try;;
26371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26372 (eval "$ac_link") 2>&5
26374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26375 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
26376 { (case "(($ac_try" in
26377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26378 *) ac_try_echo=$ac_try;;
26380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26381 (eval "$ac_try") 2>&5
26383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26384 (exit $ac_status); }; }; then
26385 ac_cv_c_bigendian=no
26387 echo "$as_me: program exited with status $ac_status" >&5
26388 echo "$as_me: failed program was:" >&5
26389 sed 's
/^
/| /' conftest.$ac_ext >&5
26391 ( exit $ac_status )
26392 ac_cv_c_bigendian=yes
26394 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26400 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26401 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26402 if test $ac_cv_c_bigendian = unknown; then
26403 { 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
26404 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;}
26406 if test $ac_cv_c_bigendian = yes; then
26407 cat >>confdefs.h <<\_ACEOF
26408 #define WORDS_BIGENDIAN 1
26417 ac_cpp='$CXXCPP $CPPFLAGS'
26418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26419 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26424 for ac_header in iostream
26426 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26427 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26429 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26430 echo $ECHO_N "(cached) $ECHO_C" >&6
26432 cat >conftest.$ac_ext <<_ACEOF
26435 cat confdefs.h >>conftest.$ac_ext
26436 cat >>conftest.$ac_ext <<_ACEOF
26437 /* end confdefs.h. */
26440 #include <$ac_header>
26442 rm -f conftest.$ac_objext
26443 if { (ac_try="$ac_compile"
26444 case "(($ac_try" in
26445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26446 *) ac_try_echo=$ac_try;;
26448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26449 (eval "$ac_compile") 2>conftest.er1
26451 grep -v '^
*+' conftest.er1 >conftest.err
26453 cat conftest.err >&5
26454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26455 (exit $ac_status); } && {
26456 test -z "$ac_cxx_werror_flag" ||
26457 test ! -s conftest.err
26458 } && test -s conftest.$ac_objext; then
26459 eval "$as_ac_Header=yes"
26461 echo "$as_me: failed program was:" >&5
26462 sed 's
/^
/| /' conftest.$ac_ext >&5
26464 eval "$as_ac_Header=no"
26467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26469 ac_res=`eval echo '${'$as_ac_Header'}'`
26470 { echo "$as_me:$LINENO: result: $ac_res" >&5
26471 echo "${ECHO_T}$ac_res" >&6; }
26472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26473 cat >>confdefs.h <<_ACEOF
26474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26482 if test "$ac_cv_header_iostream" = "yes" ; then
26485 cat >>confdefs.h <<\_ACEOF
26486 #define wxUSE_IOSTREAMH 1
26492 ac_cpp='$CPP $CPPFLAGS'
26493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26494 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26500 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26501 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26502 if test "${wx_cv_cpp_bool+set}" = set; then
26503 echo $ECHO_N "(cached) $ECHO_C" >&6
26508 ac_cpp='$CXXCPP $CPPFLAGS'
26509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26510 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26514 cat >conftest.$ac_ext <<_ACEOF
26517 cat confdefs.h >>conftest.$ac_ext
26518 cat >>conftest.$ac_ext <<_ACEOF
26519 /* end confdefs.h. */
26534 rm -f conftest.$ac_objext
26535 if { (ac_try="$ac_compile"
26536 case "(($ac_try" in
26537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26538 *) ac_try_echo=$ac_try;;
26540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26541 (eval "$ac_compile") 2>conftest.er1
26543 grep -v '^
*+' conftest.er1 >conftest.err
26545 cat conftest.err >&5
26546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26547 (exit $ac_status); } && {
26548 test -z "$ac_cxx_werror_flag" ||
26549 test ! -s conftest.err
26550 } && test -s conftest.$ac_objext; then
26555 echo "$as_me: failed program was:" >&5
26556 sed 's
/^
/| /' conftest.$ac_ext >&5
26564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26567 ac_cpp='$CPP $CPPFLAGS'
26568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26569 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26574 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26575 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26577 if test "$wx_cv_cpp_bool" = "yes"; then
26578 cat >>confdefs.h <<\_ACEOF
26579 #define HAVE_BOOL 1
26586 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26587 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26588 if test "${wx_cv_explicit+set}" = set; then
26589 echo $ECHO_N "(cached) $ECHO_C" >&6
26594 ac_cpp='$CXXCPP $CPPFLAGS'
26595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26596 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26600 cat >conftest.$ac_ext <<_ACEOF
26603 cat confdefs.h >>conftest.$ac_ext
26604 cat >>conftest.$ac_ext <<_ACEOF
26605 /* end confdefs.h. */
26607 class Foo { public: explicit Foo(int) {} };
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_cxx_werror_flag" ||
26634 test ! -s conftest.err
26635 } && test -s conftest.$ac_objext; then
26637 cat >conftest.$ac_ext <<_ACEOF
26640 cat confdefs.h >>conftest.$ac_ext
26641 cat >>conftest.$ac_ext <<_ACEOF
26642 /* end confdefs.h. */
26644 class Foo { public: explicit Foo(int) {} };
26645 static void TakeFoo(const Foo& foo) { }
26658 rm -f conftest.$ac_objext
26659 if { (ac_try="$ac_compile"
26660 case "(($ac_try" in
26661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26662 *) ac_try_echo=$ac_try;;
26664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26665 (eval "$ac_compile") 2>conftest.er1
26667 grep -v '^
*+' conftest.er1 >conftest.err
26669 cat conftest.err >&5
26670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26671 (exit $ac_status); } && {
26672 test -z "$ac_cxx_werror_flag" ||
26673 test ! -s conftest.err
26674 } && test -s conftest.$ac_objext; then
26677 echo "$as_me: failed program was:" >&5
26678 sed 's
/^
/| /' conftest.$ac_ext >&5
26684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26687 echo "$as_me: failed program was:" >&5
26688 sed 's
/^
/| /' conftest.$ac_ext >&5
26694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26697 ac_cpp='$CPP $CPPFLAGS'
26698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26699 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26704 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26705 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26707 if test "$wx_cv_explicit" = "yes"; then
26708 cat >>confdefs.h <<\_ACEOF
26709 #define HAVE_EXPLICIT 1
26715 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26716 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26717 if test "${ac_cv_cxx_const_cast+set}" = set; then
26718 echo $ECHO_N "(cached) $ECHO_C" >&6
26722 ac_cpp='$CXXCPP $CPPFLAGS'
26723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26724 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26727 cat >conftest.$ac_ext <<_ACEOF
26730 cat confdefs.h >>conftest.$ac_ext
26731 cat >>conftest.$ac_ext <<_ACEOF
26732 /* end confdefs.h. */
26737 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26742 rm -f conftest.$ac_objext
26743 if { (ac_try="$ac_compile"
26744 case "(($ac_try" in
26745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26746 *) ac_try_echo=$ac_try;;
26748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26749 (eval "$ac_compile") 2>conftest.er1
26751 grep -v '^
*+' conftest.er1 >conftest.err
26753 cat conftest.err >&5
26754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26755 (exit $ac_status); } && {
26756 test -z "$ac_cxx_werror_flag" ||
26757 test ! -s conftest.err
26758 } && test -s conftest.$ac_objext; then
26759 ac_cv_cxx_const_cast=yes
26761 echo "$as_me: failed program was:" >&5
26762 sed 's
/^
/| /' conftest.$ac_ext >&5
26764 ac_cv_cxx_const_cast=no
26767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26769 ac_cpp='$CPP $CPPFLAGS'
26770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26771 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26776 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26777 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26778 if test "$ac_cv_cxx_const_cast" = yes; then
26780 cat >>confdefs.h <<\_ACEOF
26781 #define HAVE_CONST_CAST
26786 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26787 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26788 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26789 echo $ECHO_N "(cached) $ECHO_C" >&6
26793 ac_cpp='$CXXCPP $CPPFLAGS'
26794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26795 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26798 cat >conftest.$ac_ext <<_ACEOF
26801 cat confdefs.h >>conftest.$ac_ext
26802 cat >>conftest.$ac_ext <<_ACEOF
26803 /* end confdefs.h. */
26804 #include <typeinfo>
26805 class Base { public : Base () {} virtual void f () = 0;};
26806 class Derived : public Base { public : Derived () {} virtual void f () {} };
26807 class Unrelated { public : Unrelated () {} };
26808 int g (Unrelated&) { return 0; }
26813 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26818 rm -f conftest.$ac_objext
26819 if { (ac_try="$ac_compile"
26820 case "(($ac_try" in
26821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26822 *) ac_try_echo=$ac_try;;
26824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26825 (eval "$ac_compile") 2>conftest.er1
26827 grep -v '^
*+' conftest.er1 >conftest.err
26829 cat conftest.err >&5
26830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26831 (exit $ac_status); } && {
26832 test -z "$ac_cxx_werror_flag" ||
26833 test ! -s conftest.err
26834 } && test -s conftest.$ac_objext; then
26835 ac_cv_cxx_reinterpret_cast=yes
26837 echo "$as_me: failed program was:" >&5
26838 sed 's
/^
/| /' conftest.$ac_ext >&5
26840 ac_cv_cxx_reinterpret_cast=no
26843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26845 ac_cpp='$CPP $CPPFLAGS'
26846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26847 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26852 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26853 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26854 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26856 cat >>confdefs.h <<\_ACEOF
26857 #define HAVE_REINTERPRET_CAST
26862 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26863 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26864 if test "${ac_cv_cxx_static_cast+set}" = set; then
26865 echo $ECHO_N "(cached) $ECHO_C" >&6
26869 ac_cpp='$CXXCPP $CPPFLAGS'
26870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26871 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26874 cat >conftest.$ac_ext <<_ACEOF
26877 cat confdefs.h >>conftest.$ac_ext
26878 cat >>conftest.$ac_ext <<_ACEOF
26879 /* end confdefs.h. */
26880 #include <typeinfo>
26881 class Base { public : Base () {} virtual void f () = 0; };
26882 class Derived : public Base { public : Derived () {} virtual void f () {} };
26883 int g (Derived&) { return 0; }
26888 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26893 rm -f conftest.$ac_objext
26894 if { (ac_try="$ac_compile"
26895 case "(($ac_try" in
26896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26897 *) ac_try_echo=$ac_try;;
26899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26900 (eval "$ac_compile") 2>conftest.er1
26902 grep -v '^
*+' conftest.er1 >conftest.err
26904 cat conftest.err >&5
26905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26906 (exit $ac_status); } && {
26907 test -z "$ac_cxx_werror_flag" ||
26908 test ! -s conftest.err
26909 } && test -s conftest.$ac_objext; then
26910 ac_cv_cxx_static_cast=yes
26912 echo "$as_me: failed program was:" >&5
26913 sed 's
/^
/| /' conftest.$ac_ext >&5
26915 ac_cv_cxx_static_cast=no
26918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26920 ac_cpp='$CPP $CPPFLAGS'
26921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26922 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26927 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26928 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26929 if test "$ac_cv_cxx_static_cast" = yes; then
26931 cat >>confdefs.h <<\_ACEOF
26932 #define HAVE_STATIC_CAST
26938 if test "x$SUNCXX" = xyes; then
26939 CXXFLAGS="-features=tmplife $CXXFLAGS"
26942 if test "x$SUNCC" = xyes; then
26943 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26946 if test "x$SGICC" = "xyes"; then
26947 CFLAGS="-woff 3970 $CFLAGS"
26949 if test "x$SGICXX" = "xyes"; then
26950 CXXFLAGS="-woff 3970 $CXXFLAGS"
26953 if test "x$HPCC" = "xyes"; then
26954 CFLAGS="+W 2011,2450 $CFLAGS"
26956 if test "x$HPCXX" = "xyes"; then
26957 CXXFLAGS="+W 2340 $CXXFLAGS"
26960 if test "x$COMPAQCXX" = "xyes"; then
26961 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26965 ac_cpp='$CXXCPP $CPPFLAGS'
26966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26967 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26971 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26972 if test "$wxUSE_UNICODE" = "yes"; then
26973 std_string="std::wstring"
26974 char_type="wchar_t"
26976 std_string="std::string"
26980 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26981 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26982 if test "${wx_cv_class_stdstring+set}" = set; then
26983 echo $ECHO_N "(cached) $ECHO_C" >&6
26986 cat >conftest.$ac_ext <<_ACEOF
26989 cat confdefs.h >>conftest.$ac_ext
26990 cat >>conftest.$ac_ext <<_ACEOF
26991 /* end confdefs.h. */
27001 rm -f conftest.$ac_objext
27002 if { (ac_try="$ac_compile"
27003 case "(($ac_try" in
27004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27005 *) ac_try_echo=$ac_try;;
27007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27008 (eval "$ac_compile") 2>conftest.er1
27010 grep -v '^
*+' conftest.er1 >conftest.err
27012 cat conftest.err >&5
27013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27014 (exit $ac_status); } && {
27015 test -z "$ac_cxx_werror_flag" ||
27016 test ! -s conftest.err
27017 } && test -s conftest.$ac_objext; then
27018 wx_cv_class_stdstring=yes
27020 echo "$as_me: failed program was:" >&5
27021 sed 's
/^
/| /' conftest.$ac_ext >&5
27023 wx_cv_class_stdstring=no
27027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27031 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
27032 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
27034 if test "$wx_cv_class_stdstring" = yes; then
27035 if test "$wxUSE_UNICODE" = "yes"; then
27036 cat >>confdefs.h <<\_ACEOF
27037 #define HAVE_STD_WSTRING 1
27042 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
27043 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
27044 if test "${wx_cv_class_stdbasicstring+set}" = set; then
27045 echo $ECHO_N "(cached) $ECHO_C" >&6
27048 cat >conftest.$ac_ext <<_ACEOF
27051 cat confdefs.h >>conftest.$ac_ext
27052 cat >>conftest.$ac_ext <<_ACEOF
27053 /* end confdefs.h. */
27055 #ifdef HAVE_WCHAR_H
27057 # include <stddef.h>
27059 # include <wchar.h>
27061 #ifdef HAVE_STDLIB_H
27062 # include <stdlib.h>
27070 std::basic_string<$char_type> foo;
27071 const $char_type* dummy = foo.c_str();
27076 rm -f conftest.$ac_objext
27077 if { (ac_try="$ac_compile"
27078 case "(($ac_try" in
27079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27080 *) ac_try_echo=$ac_try;;
27082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27083 (eval "$ac_compile") 2>conftest.er1
27085 grep -v '^
*+' conftest.er1 >conftest.err
27087 cat conftest.err >&5
27088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27089 (exit $ac_status); } && {
27090 test -z "$ac_cxx_werror_flag" ||
27091 test ! -s conftest.err
27092 } && test -s conftest.$ac_objext; then
27093 wx_cv_class_stdbasicstring=yes
27095 echo "$as_me: failed program was:" >&5
27096 sed 's
/^
/| /' conftest.$ac_ext >&5
27098 wx_cv_class_stdbasicstring=no
27102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27106 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
27107 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
27109 if test "$wx_cv_class_stdbasicstring" != yes; then
27110 if test "$wxUSE_STL" = "yes"; then
27111 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
27112 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27113 { (exit 1); exit 1; }; }
27114 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27115 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
27116 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27117 { (exit 1); exit 1; }; }
27119 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27120 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27121 wxUSE_STD_STRING=no
27127 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27128 { echo "$as_me:$LINENO: checking for std::istream" >&5
27129 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27130 if test "${ac_cv_type_std__istream+set}" = set; then
27131 echo $ECHO_N "(cached) $ECHO_C" >&6
27133 cat >conftest.$ac_ext <<_ACEOF
27136 cat confdefs.h >>conftest.$ac_ext
27137 cat >>conftest.$ac_ext <<_ACEOF
27138 /* end confdefs.h. */
27139 #include <iostream>
27141 typedef std::istream ac__type_new_;
27145 if ((ac__type_new_ *) 0)
27147 if (sizeof (ac__type_new_))
27153 rm -f conftest.$ac_objext
27154 if { (ac_try="$ac_compile"
27155 case "(($ac_try" in
27156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27157 *) ac_try_echo=$ac_try;;
27159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27160 (eval "$ac_compile") 2>conftest.er1
27162 grep -v '^
*+' conftest.er1 >conftest.err
27164 cat conftest.err >&5
27165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27166 (exit $ac_status); } && {
27167 test -z "$ac_cxx_werror_flag" ||
27168 test ! -s conftest.err
27169 } && test -s conftest.$ac_objext; then
27170 ac_cv_type_std__istream=yes
27172 echo "$as_me: failed program was:" >&5
27173 sed 's
/^
/| /' conftest.$ac_ext >&5
27175 ac_cv_type_std__istream=no
27178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27180 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27181 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27182 if test $ac_cv_type_std__istream = yes; then
27184 cat >>confdefs.h <<_ACEOF
27185 #define HAVE_STD__ISTREAM 1
27190 wxUSE_STD_IOSTREAM=no
27192 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27193 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27194 if test "${ac_cv_type_std__ostream+set}" = set; then
27195 echo $ECHO_N "(cached) $ECHO_C" >&6
27197 cat >conftest.$ac_ext <<_ACEOF
27200 cat confdefs.h >>conftest.$ac_ext
27201 cat >>conftest.$ac_ext <<_ACEOF
27202 /* end confdefs.h. */
27203 #include <iostream>
27205 typedef std::ostream ac__type_new_;
27209 if ((ac__type_new_ *) 0)
27211 if (sizeof (ac__type_new_))
27217 rm -f conftest.$ac_objext
27218 if { (ac_try="$ac_compile"
27219 case "(($ac_try" in
27220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27221 *) ac_try_echo=$ac_try;;
27223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27224 (eval "$ac_compile") 2>conftest.er1
27226 grep -v '^
*+' conftest.er1 >conftest.err
27228 cat conftest.err >&5
27229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27230 (exit $ac_status); } && {
27231 test -z "$ac_cxx_werror_flag" ||
27232 test ! -s conftest.err
27233 } && test -s conftest.$ac_objext; then
27234 ac_cv_type_std__ostream=yes
27236 echo "$as_me: failed program was:" >&5
27237 sed 's
/^
/| /' conftest.$ac_ext >&5
27239 ac_cv_type_std__ostream=no
27242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27244 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27245 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27246 if test $ac_cv_type_std__ostream = yes; then
27248 cat >>confdefs.h <<_ACEOF
27249 #define HAVE_STD__OSTREAM 1
27254 wxUSE_STD_IOSTREAM=no
27258 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27259 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27260 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
27261 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27262 { (exit 1); exit 1; }; }
27264 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27265 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27270 if test "$wxUSE_STL" = "yes"; then
27271 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27272 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27273 if test "${wx_cv_lib_stl+set}" = set; then
27274 echo $ECHO_N "(cached) $ECHO_C" >&6
27276 cat >conftest.$ac_ext <<_ACEOF
27279 cat confdefs.h >>conftest.$ac_ext
27280 cat >>conftest.$ac_ext <<_ACEOF
27281 /* end confdefs.h. */
27283 #include <functional>
27284 #include <algorithm>
27290 std::vector<int> moo;
27291 std::list<int> foo;
27292 std::vector<int>::iterator it =
27293 std::find_if(moo.begin(), moo.end(),
27294 std::bind2nd(std::less<int>(), 3));
27299 rm -f conftest.$ac_objext
27300 if { (ac_try="$ac_compile"
27301 case "(($ac_try" in
27302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27303 *) ac_try_echo=$ac_try;;
27305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27306 (eval "$ac_compile") 2>conftest.er1
27308 grep -v '^
*+' conftest.er1 >conftest.err
27310 cat conftest.err >&5
27311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27312 (exit $ac_status); } && {
27313 test -z "$ac_cxx_werror_flag" ||
27314 test ! -s conftest.err
27315 } && test -s conftest.$ac_objext; then
27318 echo "$as_me: failed program was:" >&5
27319 sed 's
/^
/| /' conftest.$ac_ext >&5
27325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27328 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27329 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27331 if test "$wx_cv_lib_stl" != yes; then
27332 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
27333 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
27334 { (exit 1); exit 1; }; }
27337 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27338 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27339 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27340 echo $ECHO_N "(cached) $ECHO_C" >&6
27342 cat >conftest.$ac_ext <<_ACEOF
27345 cat confdefs.h >>conftest.$ac_ext
27346 cat >>conftest.$ac_ext <<_ACEOF
27347 /* end confdefs.h. */
27352 std::string foo, bar;
27354 foo.compare(1, 1, bar);
27355 foo.compare(1, 1, bar, 1, 1);
27357 foo.compare(1, 1, "");
27358 foo.compare(1, 1, "", 2);
27363 rm -f conftest.$ac_objext
27364 if { (ac_try="$ac_compile"
27365 case "(($ac_try" in
27366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27367 *) ac_try_echo=$ac_try;;
27369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27370 (eval "$ac_compile") 2>conftest.er1
27372 grep -v '^
*+' conftest.er1 >conftest.err
27374 cat conftest.err >&5
27375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27376 (exit $ac_status); } && {
27377 test -z "$ac_cxx_werror_flag" ||
27378 test ! -s conftest.err
27379 } && test -s conftest.$ac_objext; then
27380 wx_cv_func_stdstring_compare=yes
27382 echo "$as_me: failed program was:" >&5
27383 sed 's
/^
/| /' conftest.$ac_ext >&5
27385 wx_cv_func_stdstring_compare=no
27389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27392 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27393 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27395 if test "$wx_cv_func_stdstring_compare" = yes; then
27396 cat >>confdefs.h <<\_ACEOF
27397 #define HAVE_STD_STRING_COMPARE 1
27402 { echo "$as_me:$LINENO: checking for hash_map" >&5
27403 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27404 if test "${ac_cv_header_hash_map+set}" = set; then
27405 echo $ECHO_N "(cached) $ECHO_C" >&6
27407 cat >conftest.$ac_ext <<_ACEOF
27410 cat confdefs.h >>conftest.$ac_ext
27411 cat >>conftest.$ac_ext <<_ACEOF
27412 /* end confdefs.h. */
27416 #include <hash_map>
27418 rm -f conftest.$ac_objext
27419 if { (ac_try="$ac_compile"
27420 case "(($ac_try" in
27421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27422 *) ac_try_echo=$ac_try;;
27424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27425 (eval "$ac_compile") 2>conftest.er1
27427 grep -v '^
*+' conftest.er1 >conftest.err
27429 cat conftest.err >&5
27430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27431 (exit $ac_status); } && {
27432 test -z "$ac_cxx_werror_flag" ||
27433 test ! -s conftest.err
27434 } && test -s conftest.$ac_objext; then
27435 ac_cv_header_hash_map=yes
27437 echo "$as_me: failed program was:" >&5
27438 sed 's
/^
/| /' conftest.$ac_ext >&5
27440 ac_cv_header_hash_map=no
27443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27445 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27446 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27447 if test $ac_cv_header_hash_map = yes; then
27448 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27449 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27450 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27451 echo $ECHO_N "(cached) $ECHO_C" >&6
27453 cat >conftest.$ac_ext <<_ACEOF
27456 cat confdefs.h >>conftest.$ac_ext
27457 cat >>conftest.$ac_ext <<_ACEOF
27458 /* end confdefs.h. */
27459 #include <hash_map>
27460 #include <hash_set>
27464 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27465 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27470 rm -f conftest.$ac_objext
27471 if { (ac_try="$ac_compile"
27472 case "(($ac_try" in
27473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27474 *) ac_try_echo=$ac_try;;
27476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27477 (eval "$ac_compile") 2>conftest.er1
27479 grep -v '^
*+' conftest.er1 >conftest.err
27481 cat conftest.err >&5
27482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27483 (exit $ac_status); } && {
27484 test -z "$ac_cxx_werror_flag" ||
27485 test ! -s conftest.err
27486 } && test -s conftest.$ac_objext; then
27487 wx_cv_class_stdhashmapset=yes
27489 echo "$as_me: failed program was:" >&5
27490 sed 's
/^
/| /' conftest.$ac_ext >&5
27492 wx_cv_class_stdhashmapset=no
27495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27499 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27500 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27505 if test "$wx_cv_class_stdhashmapset" = yes; then
27506 cat >>confdefs.h <<\_ACEOF
27507 #define HAVE_HASH_MAP 1
27510 cat >>confdefs.h <<\_ACEOF
27511 #define HAVE_STD_HASH_MAP 1
27516 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27517 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27518 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27519 echo $ECHO_N "(cached) $ECHO_C" >&6
27521 cat >conftest.$ac_ext <<_ACEOF
27524 cat confdefs.h >>conftest.$ac_ext
27525 cat >>conftest.$ac_ext <<_ACEOF
27526 /* end confdefs.h. */
27530 #include <ext/hash_map>
27532 rm -f conftest.$ac_objext
27533 if { (ac_try="$ac_compile"
27534 case "(($ac_try" in
27535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27536 *) ac_try_echo=$ac_try;;
27538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27539 (eval "$ac_compile") 2>conftest.er1
27541 grep -v '^
*+' conftest.er1 >conftest.err
27543 cat conftest.err >&5
27544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27545 (exit $ac_status); } && {
27546 test -z "$ac_cxx_werror_flag" ||
27547 test ! -s conftest.err
27548 } && test -s conftest.$ac_objext; then
27549 ac_cv_header_ext_hash_map=yes
27551 echo "$as_me: failed program was:" >&5
27552 sed 's
/^
/| /' conftest.$ac_ext >&5
27554 ac_cv_header_ext_hash_map=no
27557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27559 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27560 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27561 if test $ac_cv_header_ext_hash_map = yes; then
27562 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27563 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27564 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27565 echo $ECHO_N "(cached) $ECHO_C" >&6
27567 cat >conftest.$ac_ext <<_ACEOF
27570 cat confdefs.h >>conftest.$ac_ext
27571 cat >>conftest.$ac_ext <<_ACEOF
27572 /* end confdefs.h. */
27573 #include <ext/hash_map>
27574 #include <ext/hash_set>
27578 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27579 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27584 rm -f conftest.$ac_objext
27585 if { (ac_try="$ac_compile"
27586 case "(($ac_try" in
27587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27588 *) ac_try_echo=$ac_try;;
27590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27591 (eval "$ac_compile") 2>conftest.er1
27593 grep -v '^
*+' conftest.er1 >conftest.err
27595 cat conftest.err >&5
27596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27597 (exit $ac_status); } && {
27598 test -z "$ac_cxx_werror_flag" ||
27599 test ! -s conftest.err
27600 } && test -s conftest.$ac_objext; then
27601 wx_cv_class_gnuhashmapset=yes
27603 echo "$as_me: failed program was:" >&5
27604 sed 's
/^
/| /' conftest.$ac_ext >&5
27606 wx_cv_class_gnuhashmapset=no
27609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27613 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27614 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27619 if test "$wx_cv_class_gnuhashmapset" = yes; then
27620 cat >>confdefs.h <<\_ACEOF
27621 #define HAVE_EXT_HASH_MAP 1
27624 cat >>confdefs.h <<\_ACEOF
27625 #define HAVE_GNU_CXX_HASH_MAP 1
27633 if test -n "$GCC"; then
27634 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
27635 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
27636 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27637 echo $ECHO_N "(cached) $ECHO_C" >&6
27640 cat >conftest.$ac_ext <<_ACEOF
27643 cat confdefs.h >>conftest.$ac_ext
27644 cat >>conftest.$ac_ext <<_ACEOF
27645 /* end confdefs.h. */
27652 __sync_fetch_and_add(&value, 1);
27653 __sync_sub_and_fetch(&value, 1);
27659 rm -f conftest.$ac_objext
27660 if { (ac_try="$ac_compile"
27661 case "(($ac_try" in
27662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27663 *) ac_try_echo=$ac_try;;
27665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27666 (eval "$ac_compile") 2>conftest.er1
27668 grep -v '^
*+' conftest.er1 >conftest.err
27670 cat conftest.err >&5
27671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27672 (exit $ac_status); } && {
27673 test -z "$ac_cxx_werror_flag" ||
27674 test ! -s conftest.err
27675 } && test -s conftest.$ac_objext; then
27676 wx_cv_cc_gcc_atomic_builtins=yes
27678 echo "$as_me: failed program was:" >&5
27679 sed 's
/^
/| /' conftest.$ac_ext >&5
27681 wx_cv_cc_gcc_atomic_builtins=no
27684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27688 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27689 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27690 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27691 cat >>confdefs.h <<\_ACEOF
27692 #define HAVE_GCC_ATOMIC_BUILTINS 1
27700 ac_cpp='$CPP $CPPFLAGS'
27701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27702 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27708 /usr/local/include \
27710 /usr/Motif-2.1/include \
27711 /usr/Motif-1.2/include \
27712 /usr/include/Motif1.2 \
27715 /usr/openwin/include \
27719 /usr/X11R6/include \
27720 /usr/X11R6.4/include \
27721 /usr/X11R5/include \
27722 /usr/X11R4/include \
27724 /usr/include/X11R6 \
27725 /usr/include/X11R5 \
27726 /usr/include/X11R4 \
27728 /usr/local/X11R6/include \
27729 /usr/local/X11R5/include \
27730 /usr/local/X11R4/include \
27732 /usr/local/include/X11R6 \
27733 /usr/local/include/X11R5 \
27734 /usr/local/include/X11R4 \
27738 /usr/local/X11/include \
27739 /usr/local/include/X11 \
27741 /usr/XFree86/include/X11 \
27744 /usr/openwin/share/include"
27746 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27747 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27751 if test "${wx_cv_std_libpath+set}" = set; then
27752 echo $ECHO_N "(cached) $ECHO_C" >&6
27755 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27756 for e in a so sl dylib dll.a; do
27758 if test -f $libc; then
27761 cat >conftest.$ac_ext <<_ACEOF
27762 int main() { return 0; }
27764 rm -f conftest.$ac_objext conftest$ac_exeext
27765 if { (ac_try="$ac_link"
27766 case "(($ac_try" in
27767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27768 *) ac_try_echo=$ac_try;;
27770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27771 (eval "$ac_link") 2>conftest.er1
27773 grep -v '^
*+' conftest.er1 >conftest.err
27775 cat conftest.err >&5
27776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27777 (exit $ac_status); } && {
27778 test -z "$ac_c_werror_flag" ||
27779 test ! -s conftest.err
27780 } && test -s conftest$ac_exeext &&
27781 $as_test_x conftest$ac_exeext; then
27782 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27784 echo "$as_me: failed program was:" >&5
27785 sed 's
/^
/| /' conftest.$ac_ext >&5
27790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27791 conftest$ac_exeext conftest.$ac_ext
27793 if test "x$wx_cv_std_libpath" != "x"; then
27799 if test "x$wx_cv_std_libpath" = "x"; then
27800 wx_cv_std_libpath="lib"
27809 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27810 wx_cv_std_libpath="lib/64"
27812 wx_cv_std_libpath="lib"
27817 if test "$ac_cv_sizeof_void_p" = 8 -a \
27818 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27819 wx_cv_std_libpath="lib64"
27821 wx_cv_std_libpath="lib"
27826 wx_cv_std_libpath="lib";
27830 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27831 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27833 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27835 if test "$build" != "$host" -a "$GCC" = yes; then
27836 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27837 cross_root=`dirname $cross_root`
27838 cross_root=`dirname $cross_root`
27840 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27841 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27842 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27844 if test -z "$PKG_CONFIG_PATH"; then
27845 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27846 export PKG_CONFIG_PATH
27849 if test -z "$x_includes" -o "$x_includes" = NONE; then
27852 for ac_dir in $SEARCH_INCLUDE /usr/include;
27854 if test -f "$ac_dir/X11/Intrinsic.h"; then
27855 ac_find_includes=$ac_dir
27860 x_includes=$ac_find_includes
27862 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27865 for ac_dir in $SEARCH_LIB;
27867 for ac_extension in a so sl dylib dll.a; do
27868 if test -f "$ac_dir/libXt.$ac_extension"; then
27869 ac_find_libraries=$ac_dir
27875 x_libraries=$ac_find_libraries
27881 cat >confcache <<\_ACEOF
27882 # This file is a shell script that caches the results of configure
27883 # tests run on this system so they can be shared between configure
27884 # scripts and configure runs, see configure's option
--config-cache.
27885 # It is not useful on other systems. If it contains results you don't
27886 # want to keep, you may remove or edit it.
27888 # config.status only pays attention to the cache file if you give it
27889 # the --recheck option to rerun configure.
27891 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27892 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27893 # following values.
27897 # The following way of writing the cache mishandles newlines in values,
27898 # but we know of no workaround that is simple, portable, and efficient.
27899 # So, we kill variables containing newlines.
27900 # Ultrix sh set writes to stderr and can't be redirected directly,
27901 # and sets the high bit in the cache file unless we assign to the vars.
27903 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27904 eval ac_val
=\$
$ac_var
27908 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27909 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27912 _
| IFS
| as_nl
) ;; #(
27913 *) $as_unset $ac_var ;;
27919 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27920 *${as_nl}ac_space
=\
*)
27921 # `set' does not quote correctly, so add quotes (double-quote
27922 # substitution turns \\\\ into \\, and sed turns \\ into \).
27925 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27928 # `set' quotes correctly as required by POSIX, so do not add quotes.
27929 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27938 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27940 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27942 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27943 if test -w "$cache_file"; then
27944 test "x$cache_file" != "x/dev/null" &&
27945 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27946 echo "$as_me: updating cache $cache_file" >&6;}
27947 cat confcache
>$cache_file
27949 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27950 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27955 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27956 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27957 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27958 if test "${wx_cv_lib_glibc21+set}" = set; then
27959 echo $ECHO_N "(cached) $ECHO_C" >&6
27962 cat >conftest.
$ac_ext <<_ACEOF
27965 cat confdefs.h
>>conftest.
$ac_ext
27966 cat >>conftest.
$ac_ext <<_ACEOF
27967 /* end confdefs.h. */
27968 #include <features.h>
27973 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27981 rm -f conftest.
$ac_objext
27982 if { (ac_try
="$ac_compile"
27983 case "(($ac_try" in
27984 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27985 *) ac_try_echo=$ac_try;;
27987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27988 (eval "$ac_compile") 2>conftest.er1
27990 grep -v '^ *+' conftest.er1 >conftest.err
27992 cat conftest.err >&5
27993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27994 (exit $ac_status); } && {
27995 test -z "$ac_c_werror_flag" ||
27996 test ! -s conftest.err
27997 } && test -s conftest.$ac_objext; then
27999 wx_cv_lib_glibc21=yes
28002 echo "$as_me: failed program was:" >&5
28003 sed 's/^/| /' conftest.$ac_ext >&5
28006 wx_cv_lib_glibc21=no
28011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28014 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
28015 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
28016 if test "$wx_cv_lib_glibc21" = "yes"; then
28017 cat >>confdefs.h <<\_ACEOF
28018 #define wxHAVE_GLIBC2 1
28024 if test "x$wx_cv_lib_glibc21" = "xyes"; then
28025 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
28026 cat >>confdefs.h <<\_ACEOF
28027 #define _GNU_SOURCE 1
28038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28039 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28041 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28042 echo $ECHO_N "(cached) $ECHO_C" >&6
28044 cat >conftest.$ac_ext <<_ACEOF
28047 cat confdefs.h >>conftest.$ac_ext
28048 cat >>conftest.$ac_ext <<_ACEOF
28049 /* end confdefs.h. */
28050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28052 #define $ac_func innocuous_$ac_func
28054 /* System header to define __stub macros and hopefully few prototypes,
28055 which can conflict with char $ac_func (); below.
28056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28057 <limits.h> exists even on freestanding compilers. */
28060 # include <limits.h>
28062 # include <assert.h>
28067 /* Override any GCC internal prototype to avoid an error.
28068 Use char because int might match the return type of a GCC
28069 builtin and then its argument prototype would still apply. */
28074 /* The GNU C library defines this for functions which it implements
28075 to always fail with ENOSYS. Some functions are actually named
28076 something starting with __ and the normal name is an alias. */
28077 #if defined __stub_$ac_func || defined __stub___$ac_func
28084 return $ac_func ();
28089 rm -f conftest.$ac_objext conftest$ac_exeext
28090 if { (ac_try="$ac_link"
28091 case "(($ac_try" in
28092 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28093 *) ac_try_echo
=$ac_try;;
28095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28096 (eval "$ac_link") 2>conftest.er1
28098 grep -v '^ *+' conftest.er1
>conftest.err
28100 cat conftest.err
>&5
28101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28102 (exit $ac_status); } && {
28103 test -z "$ac_c_werror_flag" ||
28104 test ! -s conftest.err
28105 } && test -s conftest
$ac_exeext &&
28106 $as_test_x conftest
$ac_exeext; then
28107 eval "$as_ac_var=yes"
28109 echo "$as_me: failed program was:" >&5
28110 sed 's/^/| /' conftest.
$ac_ext >&5
28112 eval "$as_ac_var=no"
28115 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28116 conftest
$ac_exeext conftest.
$ac_ext
28118 ac_res
=`eval echo '${'$as_ac_var'}'`
28119 { echo "$as_me:$LINENO: result: $ac_res" >&5
28120 echo "${ECHO_T}$ac_res" >&6; }
28121 if test `eval echo '${'$as_ac_var'}'` = yes; then
28122 cat >>confdefs.h
<<_ACEOF
28123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28130 for ac_func
in floor
28132 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28133 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28135 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28136 echo $ECHO_N "(cached) $ECHO_C" >&6
28138 cat >conftest.
$ac_ext <<_ACEOF
28141 cat confdefs.h
>>conftest.
$ac_ext
28142 cat >>conftest.
$ac_ext <<_ACEOF
28143 /* end confdefs.h. */
28144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28146 #define $ac_func innocuous_$ac_func
28148 /* System header to define __stub macros and hopefully few prototypes,
28149 which can conflict with char $ac_func (); below.
28150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28151 <limits.h> exists even on freestanding compilers. */
28154 # include <limits.h>
28156 # include <assert.h>
28161 /* Override any GCC internal prototype to avoid an error.
28162 Use char because int might match the return type of a GCC
28163 builtin and then its argument prototype would still apply. */
28168 /* The GNU C library defines this for functions which it implements
28169 to always fail with ENOSYS. Some functions are actually named
28170 something starting with __ and the normal name is an alias. */
28171 #if defined __stub_$ac_func || defined __stub___$ac_func
28178 return $ac_func ();
28183 rm -f conftest.
$ac_objext conftest
$ac_exeext
28184 if { (ac_try
="$ac_link"
28185 case "(($ac_try" in
28186 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28187 *) ac_try_echo=$ac_try;;
28189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28190 (eval "$ac_link") 2>conftest.er1
28192 grep -v '^ *+' conftest.er1 >conftest.err
28194 cat conftest.err >&5
28195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28196 (exit $ac_status); } && {
28197 test -z "$ac_c_werror_flag" ||
28198 test ! -s conftest.err
28199 } && test -s conftest$ac_exeext &&
28200 $as_test_x conftest$ac_exeext; then
28201 eval "$as_ac_var=yes"
28203 echo "$as_me: failed program was:" >&5
28204 sed 's/^/| /' conftest.$ac_ext >&5
28206 eval "$as_ac_var=no"
28209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28210 conftest$ac_exeext conftest.$ac_ext
28212 ac_res=`eval echo '${'$as_ac_var'}'`
28213 { echo "$as_me:$LINENO: result: $ac_res" >&5
28214 echo "${ECHO_T}$ac_res" >&6; }
28215 if test `eval echo '${'$as_ac_var'}'` = yes; then
28216 cat >>confdefs.h <<_ACEOF
28217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28223 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28224 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28225 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28226 { echo "$as_me:$LINENO: result: yes" >&5
28227 echo "${ECHO_T}yes" >&6; }
28229 { echo "$as_me:$LINENO: result: no" >&5
28230 echo "${ECHO_T}no" >&6; }
28232 # use different functions to avoid configure caching
28238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28239 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28241 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28242 echo $ECHO_N "(cached) $ECHO_C" >&6
28244 cat >conftest.$ac_ext <<_ACEOF
28247 cat confdefs.h >>conftest.$ac_ext
28248 cat >>conftest.$ac_ext <<_ACEOF
28249 /* end confdefs.h. */
28250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28252 #define $ac_func innocuous_$ac_func
28254 /* System header to define __stub macros and hopefully few prototypes,
28255 which can conflict with char $ac_func (); below.
28256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28257 <limits.h> exists even on freestanding compilers. */
28260 # include <limits.h>
28262 # include <assert.h>
28267 /* Override any GCC internal prototype to avoid an error.
28268 Use char because int might match the return type of a GCC
28269 builtin and then its argument prototype would still apply. */
28274 /* The GNU C library defines this for functions which it implements
28275 to always fail with ENOSYS. Some functions are actually named
28276 something starting with __ and the normal name is an alias. */
28277 #if defined __stub_$ac_func || defined __stub___$ac_func
28284 return $ac_func ();
28289 rm -f conftest.$ac_objext conftest$ac_exeext
28290 if { (ac_try="$ac_link"
28291 case "(($ac_try" in
28292 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28293 *) ac_try_echo
=$ac_try;;
28295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28296 (eval "$ac_link") 2>conftest.er1
28298 grep -v '^ *+' conftest.er1
>conftest.err
28300 cat conftest.err
>&5
28301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28302 (exit $ac_status); } && {
28303 test -z "$ac_c_werror_flag" ||
28304 test ! -s conftest.err
28305 } && test -s conftest
$ac_exeext &&
28306 $as_test_x conftest
$ac_exeext; then
28307 eval "$as_ac_var=yes"
28309 echo "$as_me: failed program was:" >&5
28310 sed 's/^/| /' conftest.
$ac_ext >&5
28312 eval "$as_ac_var=no"
28315 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28316 conftest
$ac_exeext conftest.
$ac_ext
28318 ac_res
=`eval echo '${'$as_ac_var'}'`
28319 { echo "$as_me:$LINENO: result: $ac_res" >&5
28320 echo "${ECHO_T}$ac_res" >&6; }
28321 if test `eval echo '${'$as_ac_var'}'` = yes; then
28322 cat >>confdefs.h
<<_ACEOF
28323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28330 for ac_func
in ceil
28332 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28333 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28335 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28336 echo $ECHO_N "(cached) $ECHO_C" >&6
28338 cat >conftest.
$ac_ext <<_ACEOF
28341 cat confdefs.h
>>conftest.
$ac_ext
28342 cat >>conftest.
$ac_ext <<_ACEOF
28343 /* end confdefs.h. */
28344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28346 #define $ac_func innocuous_$ac_func
28348 /* System header to define __stub macros and hopefully few prototypes,
28349 which can conflict with char $ac_func (); below.
28350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28351 <limits.h> exists even on freestanding compilers. */
28354 # include <limits.h>
28356 # include <assert.h>
28361 /* Override any GCC internal prototype to avoid an error.
28362 Use char because int might match the return type of a GCC
28363 builtin and then its argument prototype would still apply. */
28368 /* The GNU C library defines this for functions which it implements
28369 to always fail with ENOSYS. Some functions are actually named
28370 something starting with __ and the normal name is an alias. */
28371 #if defined __stub_$ac_func || defined __stub___$ac_func
28378 return $ac_func ();
28383 rm -f conftest.
$ac_objext conftest
$ac_exeext
28384 if { (ac_try
="$ac_link"
28385 case "(($ac_try" in
28386 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28387 *) ac_try_echo=$ac_try;;
28389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28390 (eval "$ac_link") 2>conftest.er1
28392 grep -v '^ *+' conftest.er1 >conftest.err
28394 cat conftest.err >&5
28395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28396 (exit $ac_status); } && {
28397 test -z "$ac_c_werror_flag" ||
28398 test ! -s conftest.err
28399 } && test -s conftest$ac_exeext &&
28400 $as_test_x conftest$ac_exeext; then
28401 eval "$as_ac_var=yes"
28403 echo "$as_me: failed program was:" >&5
28404 sed 's/^/| /' conftest.$ac_ext >&5
28406 eval "$as_ac_var=no"
28409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28410 conftest$ac_exeext conftest.$ac_ext
28412 ac_res=`eval echo '${'$as_ac_var'}'`
28413 { echo "$as_me:$LINENO: result: $ac_res" >&5
28414 echo "${ECHO_T}$ac_res" >&6; }
28415 if test `eval echo '${'$as_ac_var'}'` = yes; then
28416 cat >>confdefs.h <<_ACEOF
28417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28423 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28424 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28425 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28426 { echo "$as_me:$LINENO: result: yes" >&5
28427 echo "${ECHO_T}yes" >&6; }
28429 { echo "$as_me:$LINENO: result: no" >&5
28430 echo "${ECHO_T}no" >&6; }
28431 # not sure we should warn the user, crash, etc.
28436 ac_cpp='$CXXCPP $CPPFLAGS'
28437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28441 if test "wxUSE_UNICODE" = "yes"; then
28443 for wx_func in wcstoull
28445 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28446 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28447 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28448 echo $ECHO_N "(cached) $ECHO_C" >&6
28451 cat >conftest.$ac_ext <<_ACEOF
28455 cat confdefs.h >>conftest.$ac_ext
28456 cat >>conftest.$ac_ext <<_ACEOF
28457 /* end confdefs.h. */
28460 $ac_includes_default
28476 rm -f conftest.$ac_objext conftest$ac_exeext
28477 if { (ac_try="$ac_link"
28478 case "(($ac_try" in
28479 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28480 *) ac_try_echo
=$ac_try;;
28482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28483 (eval "$ac_link") 2>conftest.er1
28485 grep -v '^ *+' conftest.er1
>conftest.err
28487 cat conftest.err
>&5
28488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28489 (exit $ac_status); } && {
28490 test -z "$ac_cxx_werror_flag" ||
28491 test ! -s conftest.err
28492 } && test -s conftest
$ac_exeext &&
28493 $as_test_x conftest
$ac_exeext; then
28494 eval wx_cv_func_
$wx_func=yes
28496 echo "$as_me: failed program was:" >&5
28497 sed 's/^/| /' conftest.
$ac_ext >&5
28499 eval wx_cv_func_
$wx_func=no
28502 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28503 conftest
$ac_exeext conftest.
$ac_ext
28506 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
28507 { echo "$as_me:$LINENO: result: $ac_res" >&5
28508 echo "${ECHO_T}$ac_res" >&6; }
28510 if eval test \
$wx_cv_func_$wx_func = yes
28512 cat >>confdefs.h
<<_ACEOF
28513 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28525 for wx_func
in strtoull
28527 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28528 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28529 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28530 echo $ECHO_N "(cached) $ECHO_C" >&6
28533 cat >conftest.
$ac_ext <<_ACEOF
28537 cat confdefs.h
>>conftest.
$ac_ext
28538 cat >>conftest.
$ac_ext <<_ACEOF
28539 /* end confdefs.h. */
28542 $ac_includes_default
28558 rm -f conftest.
$ac_objext conftest
$ac_exeext
28559 if { (ac_try
="$ac_link"
28560 case "(($ac_try" in
28561 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28562 *) ac_try_echo=$ac_try;;
28564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28565 (eval "$ac_link") 2>conftest.er1
28567 grep -v '^ *+' conftest.er1 >conftest.err
28569 cat conftest.err >&5
28570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28571 (exit $ac_status); } && {
28572 test -z "$ac_cxx_werror_flag" ||
28573 test ! -s conftest.err
28574 } && test -s conftest$ac_exeext &&
28575 $as_test_x conftest$ac_exeext; then
28576 eval wx_cv_func_$wx_func=yes
28578 echo "$as_me: failed program was:" >&5
28579 sed 's/^/| /' conftest.$ac_ext >&5
28581 eval wx_cv_func_$wx_func=no
28584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28585 conftest$ac_exeext conftest.$ac_ext
28588 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28589 { echo "$as_me:$LINENO: result: $ac_res" >&5
28590 echo "${ECHO_T}$ac_res" >&6; }
28592 if eval test \$wx_cv_func_$wx_func = yes
28594 cat >>confdefs.h <<_ACEOF
28595 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28607 ac_cpp='$CPP $CPPFLAGS'
28608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28615 if test "$wxUSE_REGEX" != "no"; then
28616 cat >>confdefs.h <<\_ACEOF
28617 #define wxUSE_REGEX 1
28621 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28622 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28623 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28624 wxUSE_REGEX=builtin
28627 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28628 { echo "$as_me:$LINENO: checking for regex.h" >&5
28629 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28630 if test "${ac_cv_header_regex_h+set}" = set; then
28631 echo $ECHO_N "(cached) $ECHO_C" >&6
28633 cat >conftest.$ac_ext <<_ACEOF
28636 cat confdefs.h >>conftest.$ac_ext
28637 cat >>conftest.$ac_ext <<_ACEOF
28638 /* end confdefs.h. */
28643 rm -f conftest.$ac_objext
28644 if { (ac_try="$ac_compile"
28645 case "(($ac_try" in
28646 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28647 *) ac_try_echo
=$ac_try;;
28649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28650 (eval "$ac_compile") 2>conftest.er1
28652 grep -v '^ *+' conftest.er1
>conftest.err
28654 cat conftest.err
>&5
28655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28656 (exit $ac_status); } && {
28657 test -z "$ac_c_werror_flag" ||
28658 test ! -s conftest.err
28659 } && test -s conftest.
$ac_objext; then
28660 ac_cv_header_regex_h
=yes
28662 echo "$as_me: failed program was:" >&5
28663 sed 's/^/| /' conftest.
$ac_ext >&5
28665 ac_cv_header_regex_h
=no
28668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28670 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28671 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28672 if test $ac_cv_header_regex_h = yes; then
28675 for ac_func
in regcomp re_search
28677 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28678 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28680 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28681 echo $ECHO_N "(cached) $ECHO_C" >&6
28683 cat >conftest.
$ac_ext <<_ACEOF
28686 cat confdefs.h
>>conftest.
$ac_ext
28687 cat >>conftest.
$ac_ext <<_ACEOF
28688 /* end confdefs.h. */
28689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28691 #define $ac_func innocuous_$ac_func
28693 /* System header to define __stub macros and hopefully few prototypes,
28694 which can conflict with char $ac_func (); below.
28695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28696 <limits.h> exists even on freestanding compilers. */
28699 # include <limits.h>
28701 # include <assert.h>
28706 /* Override any GCC internal prototype to avoid an error.
28707 Use char because int might match the return type of a GCC
28708 builtin and then its argument prototype would still apply. */
28713 /* The GNU C library defines this for functions which it implements
28714 to always fail with ENOSYS. Some functions are actually named
28715 something starting with __ and the normal name is an alias. */
28716 #if defined __stub_$ac_func || defined __stub___$ac_func
28723 return $ac_func ();
28728 rm -f conftest.
$ac_objext conftest
$ac_exeext
28729 if { (ac_try
="$ac_link"
28730 case "(($ac_try" in
28731 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28732 *) ac_try_echo=$ac_try;;
28734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28735 (eval "$ac_link") 2>conftest.er1
28737 grep -v '^ *+' conftest.er1 >conftest.err
28739 cat conftest.err >&5
28740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28741 (exit $ac_status); } && {
28742 test -z "$ac_c_werror_flag" ||
28743 test ! -s conftest.err
28744 } && test -s conftest$ac_exeext &&
28745 $as_test_x conftest$ac_exeext; then
28746 eval "$as_ac_var=yes"
28748 echo "$as_me: failed program was:" >&5
28749 sed 's/^/| /' conftest.$ac_ext >&5
28751 eval "$as_ac_var=no"
28754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28755 conftest$ac_exeext conftest.$ac_ext
28757 ac_res=`eval echo '${'$as_ac_var'}'`
28758 { echo "$as_me:$LINENO: result: $ac_res" >&5
28759 echo "${ECHO_T}$ac_res" >&6; }
28760 if test `eval echo '${'$as_ac_var'}'` = yes; then
28761 cat >>confdefs.h <<_ACEOF
28762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28772 if test "x$ac_cv_func_regcomp" != "xyes"; then
28773 if test "$wxUSE_REGEX" = "sys" ; then
28774 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28775 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28776 { (exit 1); exit 1; }; }
28778 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28779 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28780 wxUSE_REGEX=builtin
28784 cat >>confdefs.h <<\_ACEOF
28785 #define WX_NO_REGEX_ADVANCED 1
28794 if test "$wxUSE_ZLIB" != "no" ; then
28795 cat >>confdefs.h <<\_ACEOF
28796 #define wxUSE_ZLIB 1
28800 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28801 if test "$USE_DARWIN" = 1; then
28802 system_zlib_h_ok="yes"
28804 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28805 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28806 if test "${ac_cv_header_zlib_h+set}" = set; then
28807 echo $ECHO_N "(cached) $ECHO_C" >&6
28809 if test "$cross_compiling" = yes; then
28810 unset ac_cv_header_zlib_h
28813 cat >conftest.$ac_ext <<_ACEOF
28816 cat confdefs.h >>conftest.$ac_ext
28817 cat >>conftest.$ac_ext <<_ACEOF
28818 /* end confdefs.h. */
28825 FILE *f=fopen("conftestval", "w");
28828 ZLIB_VERSION[0] == '1' &&
28829 (ZLIB_VERSION[2] > '1' ||
28830 (ZLIB_VERSION[2] == '1' &&
28831 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28836 rm -f conftest$ac_exeext
28837 if { (ac_try="$ac_link"
28838 case "(($ac_try" in
28839 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28840 *) ac_try_echo
=$ac_try;;
28842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28843 (eval "$ac_link") 2>&5
28845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28846 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28847 { (case "(($ac_try" in
28848 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28849 *) ac_try_echo=$ac_try;;
28851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28852 (eval "$ac_try") 2>&5
28854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28855 (exit $ac_status); }; }; then
28856 ac_cv_header_zlib_h=`cat conftestval
`
28858 echo "$as_me: program exited with status $ac_status" >&5
28859 echo "$as_me: failed program was:" >&5
28860 sed 's/^/| /' conftest.$ac_ext >&5
28862 ( exit $ac_status )
28863 ac_cv_header_zlib_h=no
28865 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28871 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28872 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28873 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28874 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28875 if test "${ac_cv_header_zlib_h+set}" = set; then
28876 echo $ECHO_N "(cached) $ECHO_C" >&6
28878 cat >conftest.$ac_ext <<_ACEOF
28881 cat confdefs.h >>conftest.$ac_ext
28882 cat >>conftest.$ac_ext <<_ACEOF
28883 /* end confdefs.h. */
28888 rm -f conftest.$ac_objext
28889 if { (ac_try="$ac_compile"
28890 case "(($ac_try" in
28891 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28892 *) ac_try_echo
=$ac_try;;
28894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28895 (eval "$ac_compile") 2>conftest.er1
28897 grep -v '^ *+' conftest.er1
>conftest.err
28899 cat conftest.err
>&5
28900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28901 (exit $ac_status); } && {
28902 test -z "$ac_c_werror_flag" ||
28903 test ! -s conftest.err
28904 } && test -s conftest.
$ac_objext; then
28905 ac_cv_header_zlib_h
=yes
28907 echo "$as_me: failed program was:" >&5
28908 sed 's/^/| /' conftest.
$ac_ext >&5
28910 ac_cv_header_zlib_h
=no
28913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28915 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28916 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28920 system_zlib_h_ok
=$ac_cv_header_zlib_h
28923 if test "$system_zlib_h_ok" = "yes"; then
28924 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28925 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28926 if test "${ac_cv_lib_z_deflate+set}" = set; then
28927 echo $ECHO_N "(cached) $ECHO_C" >&6
28929 ac_check_lib_save_LIBS
=$LIBS
28931 cat >conftest.
$ac_ext <<_ACEOF
28934 cat confdefs.h
>>conftest.
$ac_ext
28935 cat >>conftest.
$ac_ext <<_ACEOF
28936 /* end confdefs.h. */
28938 /* Override any GCC internal prototype to avoid an error.
28939 Use char because int might match the return type of a GCC
28940 builtin and then its argument prototype would still apply. */
28953 rm -f conftest.
$ac_objext conftest
$ac_exeext
28954 if { (ac_try
="$ac_link"
28955 case "(($ac_try" in
28956 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28957 *) ac_try_echo=$ac_try;;
28959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28960 (eval "$ac_link") 2>conftest.er1
28962 grep -v '^ *+' conftest.er1 >conftest.err
28964 cat conftest.err >&5
28965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28966 (exit $ac_status); } && {
28967 test -z "$ac_c_werror_flag" ||
28968 test ! -s conftest.err
28969 } && test -s conftest$ac_exeext &&
28970 $as_test_x conftest$ac_exeext; then
28971 ac_cv_lib_z_deflate=yes
28973 echo "$as_me: failed program was:" >&5
28974 sed 's/^/| /' conftest.$ac_ext >&5
28976 ac_cv_lib_z_deflate=no
28979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28980 conftest$ac_exeext conftest.$ac_ext
28981 LIBS=$ac_check_lib_save_LIBS
28983 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28984 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28985 if test $ac_cv_lib_z_deflate = yes; then
28991 if test "x$ZLIB_LINK" = "x" ; then
28992 if test "$wxUSE_ZLIB" = "sys" ; then
28993 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28994 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28995 { (exit 1); exit 1; }; }
28997 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28998 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
29009 if test "$wxUSE_LIBPNG" != "no" ; then
29010 cat >>confdefs.h <<\_ACEOF
29011 #define wxUSE_LIBPNG 1
29015 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
29016 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
29017 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
29021 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
29022 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
29023 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
29024 wxUSE_LIBPNG=builtin
29027 if test "$wxUSE_MGL" != 1 ; then
29028 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
29029 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
29030 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
29031 if test "${ac_cv_header_png_h+set}" = set; then
29032 echo $ECHO_N "(cached) $ECHO_C" >&6
29034 if test "$cross_compiling" = yes; then
29035 unset ac_cv_header_png_h
29038 cat >conftest.$ac_ext <<_ACEOF
29041 cat confdefs.h >>conftest.$ac_ext
29042 cat >>conftest.$ac_ext <<_ACEOF
29043 /* end confdefs.h. */
29050 FILE *f=fopen("conftestval", "w");
29053 PNG_LIBPNG_VER > 90 ? "yes" : "no");
29058 rm -f conftest$ac_exeext
29059 if { (ac_try="$ac_link"
29060 case "(($ac_try" in
29061 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29062 *) ac_try_echo
=$ac_try;;
29064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29065 (eval "$ac_link") 2>&5
29067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29068 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29069 { (case "(($ac_try" in
29070 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29071 *) ac_try_echo=$ac_try;;
29073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29074 (eval "$ac_try") 2>&5
29076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29077 (exit $ac_status); }; }; then
29078 ac_cv_header_png_h=`cat conftestval
`
29080 echo "$as_me: program exited with status $ac_status" >&5
29081 echo "$as_me: failed program was:" >&5
29082 sed 's/^/| /' conftest.$ac_ext >&5
29084 ( exit $ac_status )
29085 ac_cv_header_png_h=no
29087 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29093 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29094 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29095 { echo "$as_me:$LINENO: checking for png.h" >&5
29096 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29097 if test "${ac_cv_header_png_h+set}" = set; then
29098 echo $ECHO_N "(cached) $ECHO_C" >&6
29100 cat >conftest.$ac_ext <<_ACEOF
29103 cat confdefs.h >>conftest.$ac_ext
29104 cat >>conftest.$ac_ext <<_ACEOF
29105 /* end confdefs.h. */
29110 rm -f conftest.$ac_objext
29111 if { (ac_try="$ac_compile"
29112 case "(($ac_try" in
29113 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29114 *) ac_try_echo
=$ac_try;;
29116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29117 (eval "$ac_compile") 2>conftest.er1
29119 grep -v '^ *+' conftest.er1
>conftest.err
29121 cat conftest.err
>&5
29122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29123 (exit $ac_status); } && {
29124 test -z "$ac_c_werror_flag" ||
29125 test ! -s conftest.err
29126 } && test -s conftest.
$ac_objext; then
29127 ac_cv_header_png_h
=yes
29129 echo "$as_me: failed program was:" >&5
29130 sed 's/^/| /' conftest.
$ac_ext >&5
29132 ac_cv_header_png_h
=no
29135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29137 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29138 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29142 if test "$ac_cv_header_png_h" = "yes"; then
29143 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
29144 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
29145 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
29146 echo $ECHO_N "(cached) $ECHO_C" >&6
29148 ac_check_lib_save_LIBS
=$LIBS
29149 LIBS
="-lpng -lz -lm $LIBS"
29150 cat >conftest.
$ac_ext <<_ACEOF
29153 cat confdefs.h
>>conftest.
$ac_ext
29154 cat >>conftest.
$ac_ext <<_ACEOF
29155 /* end confdefs.h. */
29157 /* Override any GCC internal prototype to avoid an error.
29158 Use char because int might match the return type of a GCC
29159 builtin and then its argument prototype would still apply. */
29163 char png_check_sig ();
29167 return png_check_sig ();
29172 rm -f conftest.
$ac_objext conftest
$ac_exeext
29173 if { (ac_try
="$ac_link"
29174 case "(($ac_try" in
29175 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29176 *) ac_try_echo=$ac_try;;
29178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29179 (eval "$ac_link") 2>conftest.er1
29181 grep -v '^ *+' conftest.er1 >conftest.err
29183 cat conftest.err >&5
29184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29185 (exit $ac_status); } && {
29186 test -z "$ac_c_werror_flag" ||
29187 test ! -s conftest.err
29188 } && test -s conftest$ac_exeext &&
29189 $as_test_x conftest$ac_exeext; then
29190 ac_cv_lib_png_png_check_sig=yes
29192 echo "$as_me: failed program was:" >&5
29193 sed 's/^/| /' conftest.$ac_ext >&5
29195 ac_cv_lib_png_png_check_sig=no
29198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29199 conftest$ac_exeext conftest.$ac_ext
29200 LIBS=$ac_check_lib_save_LIBS
29202 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29203 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29204 if test $ac_cv_lib_png_png_check_sig = yes; then
29205 PNG_LINK=" -lpng -lz"
29210 if test "x$PNG_LINK" = "x" ; then
29211 if test "$wxUSE_LIBPNG" = "sys" ; then
29212 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29213 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29214 { (exit 1); exit 1; }; }
29216 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29217 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29218 wxUSE_LIBPNG=builtin
29229 if test "$wxUSE_LIBJPEG" != "no" ; then
29230 cat >>confdefs.h <<\_ACEOF
29231 #define wxUSE_LIBJPEG 1
29235 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29236 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29237 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29241 if test "$wxUSE_MGL" != 1 ; then
29242 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29243 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29244 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29245 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29246 echo $ECHO_N "(cached) $ECHO_C" >&6
29248 cat >conftest.$ac_ext <<_ACEOF
29251 cat confdefs.h >>conftest.$ac_ext
29252 cat >>conftest.$ac_ext <<_ACEOF
29253 /* end confdefs.h. */
29255 #undef HAVE_STDLIB_H
29257 #include <jpeglib.h>
29268 rm -f conftest.$ac_objext
29269 if { (ac_try="$ac_compile"
29270 case "(($ac_try" in
29271 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29272 *) ac_try_echo
=$ac_try;;
29274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29275 (eval "$ac_compile") 2>conftest.er1
29277 grep -v '^ *+' conftest.er1
>conftest.err
29279 cat conftest.err
>&5
29280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29281 (exit $ac_status); } && {
29282 test -z "$ac_c_werror_flag" ||
29283 test ! -s conftest.err
29284 } && test -s conftest.
$ac_objext; then
29285 ac_cv_header_jpeglib_h
=yes
29287 echo "$as_me: failed program was:" >&5
29288 sed 's/^/| /' conftest.
$ac_ext >&5
29290 ac_cv_header_jpeglib_h
=no
29294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29298 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29299 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29301 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29302 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29303 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29304 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29305 echo $ECHO_N "(cached) $ECHO_C" >&6
29307 ac_check_lib_save_LIBS
=$LIBS
29308 LIBS
="-ljpeg $LIBS"
29309 cat >conftest.
$ac_ext <<_ACEOF
29312 cat confdefs.h
>>conftest.
$ac_ext
29313 cat >>conftest.
$ac_ext <<_ACEOF
29314 /* end confdefs.h. */
29316 /* Override any GCC internal prototype to avoid an error.
29317 Use char because int might match the return type of a GCC
29318 builtin and then its argument prototype would still apply. */
29322 char jpeg_read_header ();
29326 return jpeg_read_header ();
29331 rm -f conftest.
$ac_objext conftest
$ac_exeext
29332 if { (ac_try
="$ac_link"
29333 case "(($ac_try" in
29334 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29335 *) ac_try_echo=$ac_try;;
29337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29338 (eval "$ac_link") 2>conftest.er1
29340 grep -v '^ *+' conftest.er1 >conftest.err
29342 cat conftest.err >&5
29343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29344 (exit $ac_status); } && {
29345 test -z "$ac_c_werror_flag" ||
29346 test ! -s conftest.err
29347 } && test -s conftest$ac_exeext &&
29348 $as_test_x conftest$ac_exeext; then
29349 ac_cv_lib_jpeg_jpeg_read_header=yes
29351 echo "$as_me: failed program was:" >&5
29352 sed 's/^/| /' conftest.$ac_ext >&5
29354 ac_cv_lib_jpeg_jpeg_read_header=no
29357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29358 conftest$ac_exeext conftest.$ac_ext
29359 LIBS=$ac_check_lib_save_LIBS
29361 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29362 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29363 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29364 JPEG_LINK=" -ljpeg"
29369 if test "x$JPEG_LINK" = "x" ; then
29370 if test "$wxUSE_LIBJPEG" = "sys" ; then
29371 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29372 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29373 { (exit 1); exit 1; }; }
29375 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29376 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29377 wxUSE_LIBJPEG=builtin
29382 if test "$wxUSE_MSW" = 1; then
29383 { echo "$as_me:$LINENO: checking for boolean" >&5
29384 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29385 if test "${ac_cv_type_boolean+set}" = set; then
29386 echo $ECHO_N "(cached) $ECHO_C" >&6
29388 cat >conftest.$ac_ext <<_ACEOF
29391 cat confdefs.h >>conftest.$ac_ext
29392 cat >>conftest.$ac_ext <<_ACEOF
29393 /* end confdefs.h. */
29394 #include <windows.h>
29396 typedef boolean ac__type_new_;
29400 if ((ac__type_new_ *) 0)
29402 if (sizeof (ac__type_new_))
29408 rm -f conftest.$ac_objext
29409 if { (ac_try="$ac_compile"
29410 case "(($ac_try" in
29411 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29412 *) ac_try_echo
=$ac_try;;
29414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29415 (eval "$ac_compile") 2>conftest.er1
29417 grep -v '^ *+' conftest.er1
>conftest.err
29419 cat conftest.err
>&5
29420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29421 (exit $ac_status); } && {
29422 test -z "$ac_c_werror_flag" ||
29423 test ! -s conftest.err
29424 } && test -s conftest.
$ac_objext; then
29425 ac_cv_type_boolean
=yes
29427 echo "$as_me: failed program was:" >&5
29428 sed 's/^/| /' conftest.
$ac_ext >&5
29430 ac_cv_type_boolean
=no
29433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29435 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29436 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29437 if test $ac_cv_type_boolean = yes; then
29439 cat >>confdefs.h
<<_ACEOF
29440 #define HAVE_BOOLEAN 1
29444 { echo "$as_me:$LINENO: checking for boolean" >&5
29445 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29446 if test "${ac_cv_type_boolean+set}" = set; then
29447 echo $ECHO_N "(cached) $ECHO_C" >&6
29449 cat >conftest.
$ac_ext <<_ACEOF
29452 cat confdefs.h
>>conftest.
$ac_ext
29453 cat >>conftest.
$ac_ext <<_ACEOF
29454 /* end confdefs.h. */
29456 #undef HAVE_BOOLEAN
29458 #include <jpeglib.h>
29461 typedef boolean ac__type_new_;
29465 if ((ac__type_new_ *) 0)
29467 if (sizeof (ac__type_new_))
29473 rm -f conftest.
$ac_objext
29474 if { (ac_try
="$ac_compile"
29475 case "(($ac_try" in
29476 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29477 *) ac_try_echo=$ac_try;;
29479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29480 (eval "$ac_compile") 2>conftest.er1
29482 grep -v '^ *+' conftest.er1 >conftest.err
29484 cat conftest.err >&5
29485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29486 (exit $ac_status); } && {
29487 test -z "$ac_c_werror_flag" ||
29488 test ! -s conftest.err
29489 } && test -s conftest.$ac_objext; then
29490 ac_cv_type_boolean=yes
29492 echo "$as_me: failed program was:" >&5
29493 sed 's/^/| /' conftest.$ac_ext >&5
29495 ac_cv_type_boolean=no
29498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29500 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29501 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29503 # The cast to long int works around a bug in the HP C Compiler
29504 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29505 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
29506 # This bug is HP SR number 8606223364.
29507 { echo "$as_me:$LINENO: checking size of boolean" >&5
29508 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29509 if test "${ac_cv_sizeof_boolean+set}" = set; then
29510 echo $ECHO_N "(cached) $ECHO_C" >&6
29512 if test "$cross_compiling" = yes; then
29513 # Depending upon the size, compute the lo and hi bounds.
29514 cat >conftest.$ac_ext <<_ACEOF
29517 cat confdefs.h >>conftest.$ac_ext
29518 cat >>conftest.$ac_ext <<_ACEOF
29519 /* end confdefs.h. */
29521 #undef HAVE_BOOLEAN
29523 #include <jpeglib.h>
29526 typedef boolean ac__type_sizeof_;
29530 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29537 rm -f conftest.$ac_objext
29538 if { (ac_try="$ac_compile"
29539 case "(($ac_try" in
29540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29541 *) ac_try_echo=$ac_try;;
29543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29544 (eval "$ac_compile") 2>conftest.er1
29546 grep -v '^
*+' conftest.er1 >conftest.err
29548 cat conftest.err >&5
29549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29550 (exit $ac_status); } && {
29551 test -z "$ac_c_werror_flag" ||
29552 test ! -s conftest.err
29553 } && test -s conftest.$ac_objext; then
29556 cat >conftest.$ac_ext <<_ACEOF
29559 cat confdefs.h >>conftest.$ac_ext
29560 cat >>conftest.$ac_ext <<_ACEOF
29561 /* end confdefs.h. */
29563 #undef HAVE_BOOLEAN
29565 #include <jpeglib.h>
29568 typedef boolean ac__type_sizeof_;
29572 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29579 rm -f conftest.$ac_objext
29580 if { (ac_try="$ac_compile"
29581 case "(($ac_try" in
29582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29583 *) ac_try_echo=$ac_try;;
29585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29586 (eval "$ac_compile") 2>conftest.er1
29588 grep -v '^
*+' conftest.er1 >conftest.err
29590 cat conftest.err >&5
29591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29592 (exit $ac_status); } && {
29593 test -z "$ac_c_werror_flag" ||
29594 test ! -s conftest.err
29595 } && test -s conftest.$ac_objext; then
29596 ac_hi=$ac_mid; break
29598 echo "$as_me: failed program was:" >&5
29599 sed 's
/^
/| /' conftest.$ac_ext >&5
29601 ac_lo=`expr $ac_mid + 1`
29602 if test $ac_lo -le $ac_mid; then
29606 ac_mid=`expr 2 '*' $ac_mid + 1`
29609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29612 echo "$as_me: failed program was:" >&5
29613 sed 's
/^
/| /' conftest.$ac_ext >&5
29615 cat >conftest.$ac_ext <<_ACEOF
29618 cat confdefs.h >>conftest.$ac_ext
29619 cat >>conftest.$ac_ext <<_ACEOF
29620 /* end confdefs.h. */
29622 #undef HAVE_BOOLEAN
29624 #include <jpeglib.h>
29627 typedef boolean ac__type_sizeof_;
29631 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29638 rm -f conftest.$ac_objext
29639 if { (ac_try="$ac_compile"
29640 case "(($ac_try" in
29641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29642 *) ac_try_echo=$ac_try;;
29644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29645 (eval "$ac_compile") 2>conftest.er1
29647 grep -v '^
*+' conftest.er1 >conftest.err
29649 cat conftest.err >&5
29650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29651 (exit $ac_status); } && {
29652 test -z "$ac_c_werror_flag" ||
29653 test ! -s conftest.err
29654 } && test -s conftest.$ac_objext; then
29657 cat >conftest.$ac_ext <<_ACEOF
29660 cat confdefs.h >>conftest.$ac_ext
29661 cat >>conftest.$ac_ext <<_ACEOF
29662 /* end confdefs.h. */
29664 #undef HAVE_BOOLEAN
29666 #include <jpeglib.h>
29669 typedef boolean ac__type_sizeof_;
29673 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29680 rm -f conftest.$ac_objext
29681 if { (ac_try="$ac_compile"
29682 case "(($ac_try" in
29683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29684 *) ac_try_echo=$ac_try;;
29686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29687 (eval "$ac_compile") 2>conftest.er1
29689 grep -v '^
*+' conftest.er1 >conftest.err
29691 cat conftest.err >&5
29692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29693 (exit $ac_status); } && {
29694 test -z "$ac_c_werror_flag" ||
29695 test ! -s conftest.err
29696 } && test -s conftest.$ac_objext; then
29697 ac_lo=$ac_mid; break
29699 echo "$as_me: failed program was:" >&5
29700 sed 's
/^
/| /' conftest.$ac_ext >&5
29702 ac_hi=`expr '(' $ac_mid ')' - 1`
29703 if test $ac_mid -le $ac_hi; then
29707 ac_mid=`expr 2 '*' $ac_mid`
29710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29713 echo "$as_me: failed program was:" >&5
29714 sed 's
/^
/| /' conftest.$ac_ext >&5
29719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29723 # Binary search between lo and hi bounds.
29724 while test "x$ac_lo" != "x$ac_hi"; do
29725 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29726 cat >conftest.$ac_ext <<_ACEOF
29729 cat confdefs.h >>conftest.$ac_ext
29730 cat >>conftest.$ac_ext <<_ACEOF
29731 /* end confdefs.h. */
29733 #undef HAVE_BOOLEAN
29735 #include <jpeglib.h>
29738 typedef boolean ac__type_sizeof_;
29742 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29749 rm -f conftest.$ac_objext
29750 if { (ac_try="$ac_compile"
29751 case "(($ac_try" in
29752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29753 *) ac_try_echo=$ac_try;;
29755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29756 (eval "$ac_compile") 2>conftest.er1
29758 grep -v '^
*+' conftest.er1 >conftest.err
29760 cat conftest.err >&5
29761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29762 (exit $ac_status); } && {
29763 test -z "$ac_c_werror_flag" ||
29764 test ! -s conftest.err
29765 } && test -s conftest.$ac_objext; then
29768 echo "$as_me: failed program was:" >&5
29769 sed 's
/^
/| /' conftest.$ac_ext >&5
29771 ac_lo=`expr '(' $ac_mid ')' + 1`
29774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29777 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29778 '') if test "$ac_cv_type_boolean" = yes; then
29779 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29780 See \`config.log' for more details.
" >&5
29781 echo "$as_me: error
: cannot compute sizeof
(boolean
)
29782 See \
`config.log' for more details." >&2;}
29783 { (exit 77); exit 77; }; }
29785 ac_cv_sizeof_boolean=0
29789 cat >conftest.$ac_ext <<_ACEOF
29792 cat confdefs.h >>conftest.$ac_ext
29793 cat >>conftest.$ac_ext <<_ACEOF
29794 /* end confdefs.h. */
29796 #undef HAVE_BOOLEAN
29798 #include <jpeglib.h>
29801 typedef boolean ac__type_sizeof_;
29802 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29803 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29805 #include <stdlib.h>
29810 FILE *f = fopen ("conftest.val", "w");
29813 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29815 long int i = longval ();
29816 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29818 fprintf (f, "%ld\n", i);
29822 unsigned long int i = ulongval ();
29823 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29825 fprintf (f, "%lu\n", i);
29827 return ferror (f) || fclose (f) != 0;
29833 rm -f conftest$ac_exeext
29834 if { (ac_try="$ac_link"
29835 case "(($ac_try" in
29836 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29837 *) ac_try_echo
=$ac_try;;
29839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29840 (eval "$ac_link") 2>&5
29842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29843 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29844 { (case "(($ac_try" in
29845 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29846 *) ac_try_echo=$ac_try;;
29848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29849 (eval "$ac_try") 2>&5
29851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29852 (exit $ac_status); }; }; then
29853 ac_cv_sizeof_boolean=`cat conftest.val
`
29855 echo "$as_me: program exited with status $ac_status" >&5
29856 echo "$as_me: failed program was:" >&5
29857 sed 's/^/| /' conftest.$ac_ext >&5
29859 ( exit $ac_status )
29860 if test "$ac_cv_type_boolean" = yes; then
29861 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29862 See \`config.log
' for more details." >&5
29863 echo "$as_me: error: cannot compute sizeof (boolean)
29864 See \`config.log' for more details.
" >&2;}
29865 { (exit 77); exit 77; }; }
29867 ac_cv_sizeof_boolean=0
29870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29874 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
29875 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29879 cat >>confdefs.h <<_ACEOF
29880 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29884 cat >>confdefs.h <<_ACEOF
29885 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29899 TIFF_PREREQ_LINKS=-lm
29900 if test "$wxUSE_LIBTIFF" != "no
" ; then
29901 cat >>confdefs.h <<\_ACEOF
29902 #define wxUSE_LIBTIFF 1
29906 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
29907 if test "$wxUSE_LIBJPEG" = "sys
"; then
29908 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29910 if test "$wxUSE_ZLIB" = "sys
"; then
29911 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29913 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
29914 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
29915 if test "${ac_cv_header_tiffio_h+set}" = set; then
29916 echo $ECHO_N "(cached
) $ECHO_C" >&6
29918 cat >conftest.$ac_ext <<_ACEOF
29921 cat confdefs.h >>conftest.$ac_ext
29922 cat >>conftest.$ac_ext <<_ACEOF
29923 /* end confdefs.h. */
29927 #include <tiffio.h>
29929 rm -f conftest.$ac_objext
29930 if { (ac_try="$ac_compile"
29931 case "(($ac_try" in
29932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29933 *) ac_try_echo=$ac_try;;
29935 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29936 (eval "$ac_compile") 2>conftest.er1
29938 grep -v '^ *+' conftest.er1 >conftest.err
29940 cat conftest.err >&5
29941 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29942 (exit $ac_status); } && {
29943 test -z "$ac_c_werror_flag" ||
29944 test ! -s conftest.err
29945 } && test -s conftest.$ac_objext; then
29946 ac_cv_header_tiffio_h=yes
29948 echo "$as_me: failed program was
:" >&5
29949 sed 's/^/| /' conftest.$ac_ext >&5
29951 ac_cv_header_tiffio_h=no
29954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29956 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
29957 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29958 if test $ac_cv_header_tiffio_h = yes; then
29960 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
29961 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
29962 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29963 echo $ECHO_N "(cached
) $ECHO_C" >&6
29965 ac_check_lib_save_LIBS=$LIBS
29966 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29967 cat >conftest.$ac_ext <<_ACEOF
29970 cat confdefs.h >>conftest.$ac_ext
29971 cat >>conftest.$ac_ext <<_ACEOF
29972 /* end confdefs.h. */
29974 /* Override any GCC internal prototype to avoid an error.
29975 Use char because int might match the return type of a GCC
29976 builtin and then its argument prototype would still apply. */
29984 return TIFFError ();
29989 rm -f conftest.$ac_objext conftest$ac_exeext
29990 if { (ac_try="$ac_link"
29991 case "(($ac_try" in
29992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29993 *) ac_try_echo=$ac_try;;
29995 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29996 (eval "$ac_link") 2>conftest.er1
29998 grep -v '^ *+' conftest.er1 >conftest.err
30000 cat conftest.err >&5
30001 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30002 (exit $ac_status); } && {
30003 test -z "$ac_c_werror_flag" ||
30004 test ! -s conftest.err
30005 } && test -s conftest$ac_exeext &&
30006 $as_test_x conftest$ac_exeext; then
30007 ac_cv_lib_tiff_TIFFError=yes
30009 echo "$as_me: failed program was
:" >&5
30010 sed 's/^/| /' conftest.$ac_ext >&5
30012 ac_cv_lib_tiff_TIFFError=no
30015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30016 conftest$ac_exeext conftest.$ac_ext
30017 LIBS=$ac_check_lib_save_LIBS
30019 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
30020 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
30021 if test $ac_cv_lib_tiff_TIFFError = yes; then
30022 TIFF_LINK=" -ltiff"
30030 if test "x
$TIFF_LINK" = "x
" ; then
30031 if test "$wxUSE_LIBTIFF" = "sys
" ; then
30032 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
30033 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
30034 { (exit 1); exit 1; }; }
30036 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
30037 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
30038 wxUSE_LIBTIFF=builtin
30044 if test "$wxUSE_LIBTIFF" = "builtin" ; then
30045 if test "$wxUSE_LIBJPEG" = "no
"; then
30046 ac_configure_args="$ac_configure_args --disable-jpeg"
30048 subdirs="$subdirs src
/tiff
"
30054 if test "$wxUSE_WCHAR_T" != "yes"; then
30055 if test "$wxUSE_EXPAT" != "no
"; then
30056 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
30057 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
30060 if test "$wxUSE_XML" != "no
"; then
30061 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
30062 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
30067 if test "$wxUSE_EXPAT" != "no
"; then
30069 cat >>confdefs.h <<\_ACEOF
30070 #define wxUSE_EXPAT 1
30073 cat >>confdefs.h <<\_ACEOF
30074 #define wxUSE_XML 1
30078 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
30079 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
30080 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
30081 if test "${ac_cv_header_expat_h+set}" = set; then
30082 echo $ECHO_N "(cached
) $ECHO_C" >&6
30084 cat >conftest.$ac_ext <<_ACEOF
30087 cat confdefs.h >>conftest.$ac_ext
30088 cat >>conftest.$ac_ext <<_ACEOF
30089 /* end confdefs.h. */
30094 rm -f conftest.$ac_objext
30095 if { (ac_try="$ac_compile"
30096 case "(($ac_try" in
30097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30098 *) ac_try_echo=$ac_try;;
30100 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30101 (eval "$ac_compile") 2>conftest.er1
30103 grep -v '^ *+' conftest.er1 >conftest.err
30105 cat conftest.err >&5
30106 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30107 (exit $ac_status); } && {
30108 test -z "$ac_c_werror_flag" ||
30109 test ! -s conftest.err
30110 } && test -s conftest.$ac_objext; then
30111 ac_cv_header_expat_h=yes
30113 echo "$as_me: failed program was
:" >&5
30114 sed 's/^/| /' conftest.$ac_ext >&5
30116 ac_cv_header_expat_h=no
30119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30121 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
30122 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30123 if test $ac_cv_header_expat_h = yes; then
30128 if test "x
$found_expat_h" = "x1
"; then
30129 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
30130 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
30131 if test "${wx_cv_expat_is_not_broken+set}" = set; then
30132 echo $ECHO_N "(cached
) $ECHO_C" >&6
30136 ac_cpp='$CXXCPP $CPPFLAGS'
30137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30141 cat >conftest.$ac_ext <<_ACEOF
30144 cat confdefs.h >>conftest.$ac_ext
30145 cat >>conftest.$ac_ext <<_ACEOF
30146 /* end confdefs.h. */
30156 rm -f conftest.$ac_objext
30157 if { (ac_try="$ac_compile"
30158 case "(($ac_try" in
30159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30160 *) ac_try_echo=$ac_try;;
30162 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30163 (eval "$ac_compile") 2>conftest.er1
30165 grep -v '^ *+' conftest.er1 >conftest.err
30167 cat conftest.err >&5
30168 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30169 (exit $ac_status); } && {
30170 test -z "$ac_cxx_werror_flag" ||
30171 test ! -s conftest.err
30172 } && test -s conftest.$ac_objext; then
30173 wx_cv_expat_is_not_broken=yes
30175 echo "$as_me: failed program was
:" >&5
30176 sed 's/^/| /' conftest.$ac_ext >&5
30178 wx_cv_expat_is_not_broken=no
30182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30184 ac_cpp='$CPP $CPPFLAGS'
30185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30192 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
30193 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30194 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30195 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
30196 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
30197 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30198 echo $ECHO_N "(cached
) $ECHO_C" >&6
30200 ac_check_lib_save_LIBS=$LIBS
30201 LIBS="-lexpat $LIBS"
30202 cat >conftest.$ac_ext <<_ACEOF
30205 cat confdefs.h >>conftest.$ac_ext
30206 cat >>conftest.$ac_ext <<_ACEOF
30207 /* end confdefs.h. */
30209 /* Override any GCC internal prototype to avoid an error.
30210 Use char because int might match the return type of a GCC
30211 builtin and then its argument prototype would still apply. */
30215 char XML_ParserCreate ();
30219 return XML_ParserCreate ();
30224 rm -f conftest.$ac_objext conftest$ac_exeext
30225 if { (ac_try="$ac_link"
30226 case "(($ac_try" in
30227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30228 *) ac_try_echo=$ac_try;;
30230 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30231 (eval "$ac_link") 2>conftest.er1
30233 grep -v '^ *+' conftest.er1 >conftest.err
30235 cat conftest.err >&5
30236 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30237 (exit $ac_status); } && {
30238 test -z "$ac_c_werror_flag" ||
30239 test ! -s conftest.err
30240 } && test -s conftest$ac_exeext &&
30241 $as_test_x conftest$ac_exeext; then
30242 ac_cv_lib_expat_XML_ParserCreate=yes
30244 echo "$as_me: failed program was
:" >&5
30245 sed 's/^/| /' conftest.$ac_ext >&5
30247 ac_cv_lib_expat_XML_ParserCreate=no
30250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30251 conftest$ac_exeext conftest.$ac_ext
30252 LIBS=$ac_check_lib_save_LIBS
30254 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
30255 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30256 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30257 EXPAT_LINK=" -lexpat"
30262 if test "x
$EXPAT_LINK" = "x
" ; then
30263 if test "$wxUSE_EXPAT" = "sys
" ; then
30264 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
30265 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
30266 { (exit 1); exit 1; }; }
30268 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
30269 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
30270 wxUSE_EXPAT=builtin
30276 if test "$wxUSE_EXPAT" = "builtin" ; then
30277 subdirs="$subdirs src
/expat
"
30284 if test "$wxUSE_LIBMSPACK" != "no
"; then
30285 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
30286 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
30287 if test "${ac_cv_header_mspack_h+set}" = set; then
30288 echo $ECHO_N "(cached
) $ECHO_C" >&6
30290 cat >conftest.$ac_ext <<_ACEOF
30293 cat confdefs.h >>conftest.$ac_ext
30294 cat >>conftest.$ac_ext <<_ACEOF
30295 /* end confdefs.h. */
30298 #include <mspack.h>
30300 rm -f conftest.$ac_objext
30301 if { (ac_try="$ac_compile"
30302 case "(($ac_try" in
30303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30304 *) ac_try_echo=$ac_try;;
30306 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30307 (eval "$ac_compile") 2>conftest.er1
30309 grep -v '^ *+' conftest.er1 >conftest.err
30311 cat conftest.err >&5
30312 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30313 (exit $ac_status); } && {
30314 test -z "$ac_c_werror_flag" ||
30315 test ! -s conftest.err
30316 } && test -s conftest.$ac_objext; then
30317 ac_cv_header_mspack_h=yes
30319 echo "$as_me: failed program was
:" >&5
30320 sed 's/^/| /' conftest.$ac_ext >&5
30322 ac_cv_header_mspack_h=no
30325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30327 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
30328 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30329 if test $ac_cv_header_mspack_h = yes; then
30334 if test "x
$found_mspack_h" = "x1
"; then
30335 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
30336 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
30337 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30338 echo $ECHO_N "(cached
) $ECHO_C" >&6
30340 ac_check_lib_save_LIBS=$LIBS
30341 LIBS="-lmspack $LIBS"
30342 cat >conftest.$ac_ext <<_ACEOF
30345 cat confdefs.h >>conftest.$ac_ext
30346 cat >>conftest.$ac_ext <<_ACEOF
30347 /* end confdefs.h. */
30349 /* Override any GCC internal prototype to avoid an error.
30350 Use char because int might match the return type of a GCC
30351 builtin and then its argument prototype would still apply. */
30355 char mspack_create_chm_decompressor ();
30359 return mspack_create_chm_decompressor ();
30364 rm -f conftest.$ac_objext conftest$ac_exeext
30365 if { (ac_try="$ac_link"
30366 case "(($ac_try" in
30367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30368 *) ac_try_echo=$ac_try;;
30370 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30371 (eval "$ac_link") 2>conftest.er1
30373 grep -v '^ *+' conftest.er1 >conftest.err
30375 cat conftest.err >&5
30376 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30377 (exit $ac_status); } && {
30378 test -z "$ac_c_werror_flag" ||
30379 test ! -s conftest.err
30380 } && test -s conftest$ac_exeext &&
30381 $as_test_x conftest$ac_exeext; then
30382 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30384 echo "$as_me: failed program was
:" >&5
30385 sed 's/^/| /' conftest.$ac_ext >&5
30387 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30391 conftest$ac_exeext conftest.$ac_ext
30392 LIBS=$ac_check_lib_save_LIBS
30394 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30395 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30396 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30397 MSPACK_LINK=" -lmspack"
30401 if test "x
$MSPACK_LINK" = "x
" ; then
30406 if test "$wxUSE_LIBMSPACK" != "no
"; then
30407 cat >>confdefs.h <<\_ACEOF
30408 #define wxUSE_LIBMSPACK 1
30422 if test "$USE_WIN32" = 1 ; then
30424 for ac_header in w32api.h
30426 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
30427 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
30428 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
30429 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
30430 echo $ECHO_N "(cached
) $ECHO_C" >&6
30432 cat >conftest.$ac_ext <<_ACEOF
30435 cat confdefs.h >>conftest.$ac_ext
30436 cat >>conftest.$ac_ext <<_ACEOF
30437 /* end confdefs.h. */
30440 #include <$ac_header>
30442 rm -f conftest.$ac_objext
30443 if { (ac_try="$ac_compile"
30444 case "(($ac_try" in
30445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30446 *) ac_try_echo=$ac_try;;
30448 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30449 (eval "$ac_compile") 2>conftest.er1
30451 grep -v '^ *+' conftest.er1 >conftest.err
30453 cat conftest.err >&5
30454 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30455 (exit $ac_status); } && {
30456 test -z "$ac_c_werror_flag" ||
30457 test ! -s conftest.err
30458 } && test -s conftest.$ac_objext; then
30459 eval "$as_ac_Header=yes"
30461 echo "$as_me: failed program was
:" >&5
30462 sed 's/^/| /' conftest.$ac_ext >&5
30464 eval "$as_ac_Header=no
"
30467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30469 ac_res=`eval echo '${'$as_ac_Header'}'`
30470 { echo "$as_me:$LINENO: result
: $ac_res" >&5
30471 echo "${ECHO_T}$ac_res" >&6; }
30472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30473 cat >>confdefs.h <<_ACEOF
30474 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
30481 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
30482 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
30483 if test "${ac_cv_header_windows_h+set}" = set; then
30484 echo $ECHO_N "(cached
) $ECHO_C" >&6
30486 cat >conftest.$ac_ext <<_ACEOF
30489 cat confdefs.h >>conftest.$ac_ext
30490 cat >>conftest.$ac_ext <<_ACEOF
30491 /* end confdefs.h. */
30494 #include <windows.h>
30496 rm -f conftest.$ac_objext
30497 if { (ac_try="$ac_compile"
30498 case "(($ac_try" in
30499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30500 *) ac_try_echo=$ac_try;;
30502 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30503 (eval "$ac_compile") 2>conftest.er1
30505 grep -v '^ *+' conftest.er1 >conftest.err
30507 cat conftest.err >&5
30508 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30509 (exit $ac_status); } && {
30510 test -z "$ac_c_werror_flag" ||
30511 test ! -s conftest.err
30512 } && test -s conftest.$ac_objext; then
30513 ac_cv_header_windows_h=yes
30515 echo "$as_me: failed program was
:" >&5
30516 sed 's/^/| /' conftest.$ac_ext >&5
30518 ac_cv_header_windows_h=no
30521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30523 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
30524 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30525 if test $ac_cv_header_windows_h = yes; then
30529 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
30530 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
30531 { (exit 1); exit 1; }; }
30537 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30539 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30540 LIBS="$LIBS -loleacc"
30545 LIBS="$LIBS -lkernel32 -luser32"
30548 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
30549 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
30551 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
30553 WIN32INSTALL=win32install
30555 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
30556 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
30557 if test "${ac_cv_header_pbt_h+set}" = set; then
30558 echo $ECHO_N "(cached
) $ECHO_C" >&6
30560 cat >conftest.$ac_ext <<_ACEOF
30563 cat confdefs.h >>conftest.$ac_ext
30564 cat >>conftest.$ac_ext <<_ACEOF
30565 /* end confdefs.h. */
30570 rm -f conftest.$ac_objext
30571 if { (ac_try="$ac_compile"
30572 case "(($ac_try" in
30573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30574 *) ac_try_echo=$ac_try;;
30576 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30577 (eval "$ac_compile") 2>conftest.er1
30579 grep -v '^ *+' conftest.er1 >conftest.err
30581 cat conftest.err >&5
30582 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30583 (exit $ac_status); } && {
30584 test -z "$ac_c_werror_flag" ||
30585 test ! -s conftest.err
30586 } && test -s conftest.$ac_objext; then
30587 ac_cv_header_pbt_h=yes
30589 echo "$as_me: failed program was
:" >&5
30590 sed 's/^/| /' conftest.$ac_ext >&5
30592 ac_cv_header_pbt_h=no
30595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30597 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
30598 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30599 if test $ac_cv_header_pbt_h = yes; then
30602 cat >>confdefs.h <<\_ACEOF
30603 #define NEED_PBT_H 1
30611 if test "$wxUSE_GUI" = "yes"; then
30621 if test "$wxUSE_COCOA" = 1 ; then
30622 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30623 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
30624 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
30625 wxUSE_PRINTING_ARCHITECTURE=no
30627 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30628 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
30629 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
30630 wxUSE_DRAG_AND_DROP=no
30632 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30633 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
30634 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
30639 if test "$wxUSE_MSW" = 1 ; then
30645 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
30649 if test "$wxUSE_GTK" = 1; then
30650 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
30651 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
30653 gtk_version_cached=1
30654 if test "${wx_cv_lib_gtk+set}" = set; then
30655 echo $ECHO_N "(cached
) $ECHO_C" >&6
30658 gtk_version_cached=0
30659 { echo "$as_me:$LINENO: result
: " >&5
30660 echo "${ECHO_T}" >&6; }
30663 if test "$wxUSE_THREADS" = "yes"; then
30664 GTK_MODULES=gthread
30668 if test "x
$wxGTK_VERSION" != "x1
"
30672 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30677 # Check whether --enable-gtktest was given.
30678 if test "${enable_gtktest+set}" = set; then
30679 enableval=$enable_gtktest;
30685 pkg_config_args=gtk+-2.0
30686 for module in . $GTK_MODULES
30690 pkg_config_args="$pkg_config_args gthread
-2.0
"
30697 # Extract the first word of "pkg
-config", so it can be a program name with args.
30698 set dummy pkg-config; ac_word=$2
30699 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30700 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30701 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30702 echo $ECHO_N "(cached
) $ECHO_C" >&6
30704 case $PKG_CONFIG in
30706 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30710 for as_dir in $PATH
30713 test -z "$as_dir" && as_dir=.
30714 for ac_exec_ext in '' $ac_executable_extensions; do
30715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30716 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30717 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30724 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
30728 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30729 if test -n "$PKG_CONFIG"; then
30730 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
30731 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30733 { echo "$as_me:$LINENO: result
: no
" >&5
30734 echo "${ECHO_T}no
" >&6; }
30739 if test x$PKG_CONFIG != xno ; then
30740 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30743 echo "*** pkg
-config too old
; version
0.7 or better required.
"
30751 min_gtk_version=2.4.0
30752 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
30753 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
30755 if test x$PKG_CONFIG != xno ; then
30756 ## don't try to run the test against uninstalled libtool libs
30757 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30758 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
30762 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30769 if test x"$no_gtk" = x ; then
30770 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30771 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30772 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30773 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30774 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30775 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30776 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30777 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30778 if test "x
$enable_gtktest" = "xyes
" ; then
30779 ac_save_CFLAGS="$CFLAGS"
30780 ac_save_LIBS="$LIBS"
30781 CFLAGS="$CFLAGS $GTK_CFLAGS"
30782 LIBS="$GTK_LIBS $LIBS"
30784 if test "$cross_compiling" = yes; then
30785 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30787 cat >conftest.$ac_ext <<_ACEOF
30790 cat confdefs.h >>conftest.$ac_ext
30791 cat >>conftest.$ac_ext <<_ACEOF
30792 /* end confdefs.h. */
30794 #include <gtk/gtk.h>
30796 #include <stdlib.h>
30801 int major, minor, micro;
30804 system ("touch conf.gtktest
");
30806 /* HP/UX 9 (%@#!) writes to sscanf strings */
30807 tmp_version = g_strdup("$min_gtk_version");
30808 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30809 printf("%s
, bad version string
\n", "$min_gtk_version");
30813 if ((gtk_major_version != $gtk_config_major_version) ||
30814 (gtk_minor_version != $gtk_config_minor_version) ||
30815 (gtk_micro_version != $gtk_config_micro_version))
30817 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30818 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30819 gtk_major_version, gtk_minor_version, gtk_micro_version);
30820 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
30821 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30822 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30823 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30824 printf("*** required on your system.
\n");
30825 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
30826 printf("*** to point to the correct configuration files
\n");
30828 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30829 (gtk_minor_version != GTK_MINOR_VERSION) ||
30830 (gtk_micro_version != GTK_MICRO_VERSION))
30832 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30833 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30834 printf("*** library
(version
%d.
%d.
%d
)\n",
30835 gtk_major_version, gtk_minor_version, gtk_micro_version);
30839 if ((gtk_major_version > major) ||
30840 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30841 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30847 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30848 gtk_major_version, gtk_minor_version, gtk_micro_version);
30849 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30850 major, minor, micro);
30851 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30853 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30854 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
30855 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30856 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
30857 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
30858 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30859 printf("*** so that the correct libraries are found
at run
-time))\n");
30866 rm -f conftest$ac_exeext
30867 if { (ac_try="$ac_link"
30868 case "(($ac_try" in
30869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30870 *) ac_try_echo=$ac_try;;
30872 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30873 (eval "$ac_link") 2>&5
30875 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30876 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30877 { (case "(($ac_try" in
30878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30879 *) ac_try_echo=$ac_try;;
30881 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30882 (eval "$ac_try") 2>&5
30884 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30885 (exit $ac_status); }; }; then
30888 echo "$as_me: program exited with status
$ac_status" >&5
30889 echo "$as_me: failed program was
:" >&5
30890 sed 's/^/| /' conftest.$ac_ext >&5
30892 ( exit $ac_status )
30895 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30899 CFLAGS="$ac_save_CFLAGS"
30900 LIBS="$ac_save_LIBS"
30903 if test "x
$no_gtk" = x ; then
30904 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
30905 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
30908 { echo "$as_me:$LINENO: result
: no
" >&5
30909 echo "${ECHO_T}no
" >&6; }
30910 if test "$PKG_CONFIG" = "no
" ; then
30911 echo "*** A new enough version of pkg
-config was not found.
"
30912 echo "*** See http
://pkgconfig.sourceforge.net
"
30914 if test -f conf.gtktest ; then
30917 echo "*** Could not run GTK
+ test program
, checking why...
"
30918 ac_save_CFLAGS="$CFLAGS"
30919 ac_save_LIBS="$LIBS"
30920 CFLAGS="$CFLAGS $GTK_CFLAGS"
30921 LIBS="$LIBS $GTK_LIBS"
30922 cat >conftest.$ac_ext <<_ACEOF
30925 cat confdefs.h >>conftest.$ac_ext
30926 cat >>conftest.$ac_ext <<_ACEOF
30927 /* end confdefs.h. */
30929 #include <gtk/gtk.h>
30935 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30940 rm -f conftest.$ac_objext conftest$ac_exeext
30941 if { (ac_try="$ac_link"
30942 case "(($ac_try" in
30943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30944 *) ac_try_echo=$ac_try;;
30946 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30947 (eval "$ac_link") 2>conftest.er1
30949 grep -v '^ *+' conftest.er1 >conftest.err
30951 cat conftest.err >&5
30952 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30953 (exit $ac_status); } && {
30954 test -z "$ac_c_werror_flag" ||
30955 test ! -s conftest.err
30956 } && test -s conftest$ac_exeext &&
30957 $as_test_x conftest$ac_exeext; then
30958 echo "*** The
test program compiled
, but did not run. This usually means
"
30959 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
30960 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
30961 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30962 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30963 echo "*** is required on your system"
30965 echo "*** If you have an old version installed, it is best to remove it, although"
30966 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30968 echo "$as_me: failed program was:" >&5
30969 sed 's
/^
/| /' conftest.$ac_ext >&5
30971 echo "*** The test program failed to compile or link. See the file config.log for the"
30972 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30976 conftest$ac_exeext conftest.$ac_ext
30977 CFLAGS="$ac_save_CFLAGS"
30978 LIBS="$ac_save_LIBS"
30992 if test "$wxUSE_SHARED" != "yes"; then
30993 GTK_LIBS="$GTK_LIBS -lX11"
30998 if test -z "$wx_cv_lib_gtk"; then
30999 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
31001 # Check whether --with-gtk-prefix was given.
31002 if test "${with_gtk_prefix+set}" = set; then
31003 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31005 gtk_config_prefix=""
31009 # Check whether --with-gtk-exec-prefix was given.
31010 if test "${with_gtk_exec_prefix+set}" = set; then
31011 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31013 gtk_config_exec_prefix=""
31016 # Check whether --enable-gtktest was given.
31017 if test "${enable_gtktest+set}" = set; then
31018 enableval=$enable_gtktest;
31024 for module in . $GTK_MODULES
31028 gtk_config_args="$gtk_config_args gthread"
31033 if test x$gtk_config_exec_prefix != x ; then
31034 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31035 if test x${GTK_CONFIG+set} != xset ; then
31036 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31039 if test x$gtk_config_prefix != x ; then
31040 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31041 if test x${GTK_CONFIG+set} != xset ; then
31042 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31046 # Extract the first word of "gtk-config", so it can be a program name with args.
31047 set dummy gtk-config; ac_word=$2
31048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31050 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31051 echo $ECHO_N "(cached) $ECHO_C" >&6
31053 case $GTK_CONFIG in
31055 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31059 for as_dir in $PATH
31062 test -z "$as_dir" && as_dir=.
31063 for ac_exec_ext in '' $ac_executable_extensions; do
31064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31065 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31073 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31077 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31078 if test -n "$GTK_CONFIG"; then
31079 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31080 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31082 { echo "$as_me:$LINENO: result: no" >&5
31083 echo "${ECHO_T}no" >&6; }
31087 min_gtk_version=1.2.7
31088 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31089 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31091 if test "$GTK_CONFIG" = "no" ; then
31094 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31095 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31096 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31097 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
31098 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31099 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
31100 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31101 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
31102 if test "x$enable_gtktest" = "xyes" ; then
31103 ac_save_CFLAGS="$CFLAGS"
31104 ac_save_LIBS="$LIBS"
31105 CFLAGS="$CFLAGS $GTK_CFLAGS"
31106 LIBS="$GTK_LIBS $LIBS"
31108 if test "$cross_compiling" = yes; then
31109 echo $ac_n "cross compiling; assumed OK... $ac_c"
31111 cat >conftest.$ac_ext <<_ACEOF
31114 cat confdefs.h >>conftest.$ac_ext
31115 cat >>conftest.$ac_ext <<_ACEOF
31116 /* end confdefs.h. */
31118 #include <gtk/gtk.h>
31120 #include <stdlib.h>
31125 int major, minor, micro;
31128 system ("touch conf.gtktest");
31130 /* HP/UX 9 (%@#!) writes to sscanf strings */
31131 tmp_version = g_strdup("$min_gtk_version");
31132 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31133 printf("%s, bad version string\n", "$min_gtk_version");
31137 if ((gtk_major_version != $gtk_config_major_version) ||
31138 (gtk_minor_version != $gtk_config_minor_version) ||
31139 (gtk_micro_version != $gtk_config_micro_version))
31141 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31142 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31143 gtk_major_version, gtk_minor_version, gtk_micro_version);
31144 printf ("*** was found! If gtk-config was correct, then it is best\n");
31145 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31146 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31147 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31148 printf("*** required on your system.\n");
31149 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31150 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31151 printf("*** before re-running configure\n");
31153 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31154 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31155 (gtk_minor_version != GTK_MINOR_VERSION) ||
31156 (gtk_micro_version != GTK_MICRO_VERSION))
31158 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31159 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31160 printf("*** library (version %d.%d.%d)\n",
31161 gtk_major_version, gtk_minor_version, gtk_micro_version);
31163 #endif /* defined (GTK_MAJOR_VERSION) ... */
31166 if ((gtk_major_version > major) ||
31167 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31168 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31174 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31175 gtk_major_version, gtk_minor_version, gtk_micro_version);
31176 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31177 major, minor, micro);
31178 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31180 printf("*** If you have already installed a sufficiently new version, this error\n");
31181 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31182 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31183 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31184 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31185 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31186 printf("*** so that the correct libraries are found at run-time))\n");
31193 rm -f conftest$ac_exeext
31194 if { (ac_try="$ac_link"
31195 case "(($ac_try" in
31196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31197 *) ac_try_echo=$ac_try;;
31199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31200 (eval "$ac_link") 2>&5
31202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31203 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
31204 { (case "(($ac_try" in
31205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31206 *) ac_try_echo=$ac_try;;
31208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31209 (eval "$ac_try") 2>&5
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); }; }; then
31215 echo "$as_me: program exited with status $ac_status" >&5
31216 echo "$as_me: failed program was:" >&5
31217 sed 's
/^
/| /' conftest.$ac_ext >&5
31219 ( exit $ac_status )
31222 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31226 CFLAGS="$ac_save_CFLAGS"
31227 LIBS="$ac_save_LIBS"
31230 if test "x$no_gtk" = x ; then
31231 { echo "$as_me:$LINENO: result: yes" >&5
31232 echo "${ECHO_T}yes" >&6; }
31233 wx_cv_lib_gtk=1.2.7
31235 { echo "$as_me:$LINENO: result: no" >&5
31236 echo "${ECHO_T}no" >&6; }
31237 if test "$GTK_CONFIG" = "no" ; then
31238 echo "*** The gtk-config script installed by GTK could not be found"
31239 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31240 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31241 echo "*** full path to gtk-config."
31243 if test -f conf.gtktest ; then
31246 echo "*** Could not run GTK test program, checking why..."
31247 CFLAGS="$CFLAGS $GTK_CFLAGS"
31248 LIBS="$LIBS $GTK_LIBS"
31249 cat >conftest.$ac_ext <<_ACEOF
31252 cat confdefs.h >>conftest.$ac_ext
31253 cat >>conftest.$ac_ext <<_ACEOF
31254 /* end confdefs.h. */
31256 #include <gtk/gtk.h>
31262 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31267 rm -f conftest.$ac_objext conftest$ac_exeext
31268 if { (ac_try="$ac_link"
31269 case "(($ac_try" in
31270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31271 *) ac_try_echo=$ac_try;;
31273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31274 (eval "$ac_link") 2>conftest.er1
31276 grep -v '^
*+' conftest.er1 >conftest.err
31278 cat conftest.err >&5
31279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31280 (exit $ac_status); } && {
31281 test -z "$ac_c_werror_flag" ||
31282 test ! -s conftest.err
31283 } && test -s conftest$ac_exeext &&
31284 $as_test_x conftest$ac_exeext; then
31285 echo "*** The test program compiled, but did not run. This usually means"
31286 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31287 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
31288 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
31289 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
31290 echo "*** is required on your system
"
31292 echo "*** If you have an old version installed
, it is best to remove it
, although
"
31293 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
31295 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
31296 echo "*** came with the system with the
command"
31298 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
31300 echo "$as_me: failed program was
:" >&5
31301 sed 's/^/| /' conftest.$ac_ext >&5
31303 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
31304 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
31305 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
31306 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
31309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31310 conftest$ac_exeext conftest.$ac_ext
31311 CFLAGS="$ac_save_CFLAGS"
31312 LIBS="$ac_save_LIBS"
31324 if test -z "$wx_cv_lib_gtk"; then
31326 # Check whether --with-gtk-prefix was given.
31327 if test "${with_gtk_prefix+set}" = set; then
31328 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31330 gtk_config_prefix=""
31334 # Check whether --with-gtk-exec-prefix was given.
31335 if test "${with_gtk_exec_prefix+set}" = set; then
31336 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31338 gtk_config_exec_prefix=""
31341 # Check whether --enable-gtktest was given.
31342 if test "${enable_gtktest+set}" = set; then
31343 enableval=$enable_gtktest;
31349 for module in . $GTK_MODULES
31353 gtk_config_args="$gtk_config_args gthread
"
31358 if test x$gtk_config_exec_prefix != x ; then
31359 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31360 if test x${GTK_CONFIG+set} != xset ; then
31361 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31364 if test x$gtk_config_prefix != x ; then
31365 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31366 if test x${GTK_CONFIG+set} != xset ; then
31367 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31371 # Extract the first word of "gtk
-config", so it can be a program name with args.
31372 set dummy gtk-config; ac_word=$2
31373 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
31374 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
31375 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31376 echo $ECHO_N "(cached
) $ECHO_C" >&6
31378 case $GTK_CONFIG in
31380 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31384 for as_dir in $PATH
31387 test -z "$as_dir" && as_dir=.
31388 for ac_exec_ext in '' $ac_executable_extensions; do
31389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31390 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31391 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
31398 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
31402 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31403 if test -n "$GTK_CONFIG"; then
31404 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
31405 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31407 { echo "$as_me:$LINENO: result
: no
" >&5
31408 echo "${ECHO_T}no
" >&6; }
31412 min_gtk_version=1.2.3
31413 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
31414 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
31416 if test "$GTK_CONFIG" = "no
" ; then
31419 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31420 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31421 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31422 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31423 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31424 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31425 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31426 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31427 if test "x
$enable_gtktest" = "xyes
" ; then
31428 ac_save_CFLAGS="$CFLAGS"
31429 ac_save_LIBS="$LIBS"
31430 CFLAGS="$CFLAGS $GTK_CFLAGS"
31431 LIBS="$GTK_LIBS $LIBS"
31433 if test "$cross_compiling" = yes; then
31434 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
31436 cat >conftest.$ac_ext <<_ACEOF
31439 cat confdefs.h >>conftest.$ac_ext
31440 cat >>conftest.$ac_ext <<_ACEOF
31441 /* end confdefs.h. */
31443 #include <gtk/gtk.h>
31445 #include <stdlib.h>
31450 int major, minor, micro;
31453 system ("touch conf.gtktest
");
31455 /* HP/UX 9 (%@#!) writes to sscanf strings */
31456 tmp_version = g_strdup("$min_gtk_version");
31457 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
31458 printf("%s
, bad version string
\n", "$min_gtk_version");
31462 if ((gtk_major_version != $gtk_config_major_version) ||
31463 (gtk_minor_version != $gtk_config_minor_version) ||
31464 (gtk_micro_version != $gtk_config_micro_version))
31466 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
31467 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31468 gtk_major_version, gtk_minor_version, gtk_micro_version);
31469 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
31470 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
31471 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
31472 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
31473 printf("*** required on your system.
\n");
31474 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
31475 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
31476 printf("*** before re
-running configure
\n");
31478 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31479 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31480 (gtk_minor_version != GTK_MINOR_VERSION) ||
31481 (gtk_micro_version != GTK_MICRO_VERSION))
31483 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
31484 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31485 printf("*** library
(version
%d.
%d.
%d
)\n",
31486 gtk_major_version, gtk_minor_version, gtk_micro_version);
31488 #endif /* defined (GTK_MAJOR_VERSION) ... */
31491 if ((gtk_major_version > major) ||
31492 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31493 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31499 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
31500 gtk_major_version, gtk_minor_version, gtk_micro_version);
31501 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
31502 major, minor, micro);
31503 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
31505 printf("*** If you have already installed a sufficiently new version
, this error
\n");
31506 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
31507 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
31508 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
31509 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
31510 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
31511 printf("*** so that the correct libraries are found
at run
-time))\n");
31518 rm -f conftest$ac_exeext
31519 if { (ac_try="$ac_link"
31520 case "(($ac_try" in
31521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31522 *) ac_try_echo=$ac_try;;
31524 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31525 (eval "$ac_link") 2>&5
31527 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31528 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31529 { (case "(($ac_try" in
31530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31531 *) ac_try_echo=$ac_try;;
31533 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31534 (eval "$ac_try") 2>&5
31536 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31537 (exit $ac_status); }; }; then
31540 echo "$as_me: program exited with status
$ac_status" >&5
31541 echo "$as_me: failed program was
:" >&5
31542 sed 's/^/| /' conftest.$ac_ext >&5
31544 ( exit $ac_status )
31547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31551 CFLAGS="$ac_save_CFLAGS"
31552 LIBS="$ac_save_LIBS"
31555 if test "x
$no_gtk" = x ; then
31556 { echo "$as_me:$LINENO: result
: yes" >&5
31557 echo "${ECHO_T}yes" >&6; }
31558 wx_cv_lib_gtk=1.2.3
31560 { echo "$as_me:$LINENO: result
: no
" >&5
31561 echo "${ECHO_T}no
" >&6; }
31562 if test "$GTK_CONFIG" = "no
" ; then
31563 echo "*** The gtk
-config script installed by GTK could not be found
"
31564 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
31565 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
31566 echo "*** full path to gtk
-config.
"
31568 if test -f conf.gtktest ; then
31571 echo "*** Could not run GTK
test program
, checking why...
"
31572 CFLAGS="$CFLAGS $GTK_CFLAGS"
31573 LIBS="$LIBS $GTK_LIBS"
31574 cat >conftest.$ac_ext <<_ACEOF
31577 cat confdefs.h >>conftest.$ac_ext
31578 cat >>conftest.$ac_ext <<_ACEOF
31579 /* end confdefs.h. */
31581 #include <gtk/gtk.h>
31587 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31592 rm -f conftest.$ac_objext conftest$ac_exeext
31593 if { (ac_try="$ac_link"
31594 case "(($ac_try" in
31595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31596 *) ac_try_echo=$ac_try;;
31598 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31599 (eval "$ac_link") 2>conftest.er1
31601 grep -v '^ *+' conftest.er1 >conftest.err
31603 cat conftest.err >&5
31604 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31605 (exit $ac_status); } && {
31606 test -z "$ac_c_werror_flag" ||
31607 test ! -s conftest.err
31608 } && test -s conftest$ac_exeext &&
31609 $as_test_x conftest$ac_exeext; then
31610 echo "*** The
test program compiled
, but did not run. This usually means
"
31611 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
31612 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
31613 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31614 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31615 echo "*** is required on your system"
31617 echo "*** If you have an old version installed, it is best to remove it, although"
31618 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31620 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31621 echo "*** came with the system with the command"
31623 echo "*** rpm --erase --nodeps gtk gtk-devel"
31625 echo "$as_me: failed program was:" >&5
31626 sed 's
/^
/| /' conftest.$ac_ext >&5
31628 echo "*** The test program failed to compile or link. See the file config.log for the"
31629 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31630 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31631 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31635 conftest$ac_exeext conftest.$ac_ext
31636 CFLAGS="$ac_save_CFLAGS"
31637 LIBS="$ac_save_LIBS"
31652 if test -z "$wx_cv_lib_gtk"; then
31655 wx_cv_cflags_gtk=$GTK_CFLAGS
31656 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
31663 if test "$gtk_version_cached" = 1; then
31664 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31665 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31668 case "$wx_cv_lib_gtk" in
31677 *) { { echo "$as_me:$LINENO: error:
31678 The development files for GTK+ were not found. For GTK+ 2, please
31679 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31680 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31681 and that the version is 1.2.3 or above. Also check that the
31682 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31683 --libs' are in the LD_LIBRARY_PATH or equivalent.
31685 echo "$as_me: error:
31686 The development files for GTK+ were not found. For GTK+ 2, please
31687 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31688 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31689 and that the version is 1.2.3 or above. Also check that the
31690 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31691 --libs' are in the LD_LIBRARY_PATH or equivalent.
31693 { (exit 1); exit 1; }; }
31697 if test "$WXGTK2" = 1; then
31698 save_CFLAGS="$CFLAGS"
31700 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31701 LIBS="$LIBS $wx_cv_libs_gtk"
31703 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31704 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31705 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31706 echo $ECHO_N "(cached) $ECHO_C" >&6
31708 cat >conftest.$ac_ext <<_ACEOF
31711 cat confdefs.h >>conftest.$ac_ext
31712 cat >>conftest.$ac_ext <<_ACEOF
31713 /* end confdefs.h. */
31714 #include <gtk/gtk.h>
31719 #ifndef gtk_icon_size_lookup
31720 (void) gtk_icon_size_lookup;
31727 rm -f conftest.$ac_objext
31728 if { (ac_try="$ac_compile"
31729 case "(($ac_try" in
31730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31731 *) ac_try_echo=$ac_try;;
31733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31734 (eval "$ac_compile") 2>conftest.er1
31736 grep -v '^
*+' conftest.er1 >conftest.err
31738 cat conftest.err >&5
31739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31740 (exit $ac_status); } && {
31741 test -z "$ac_c_werror_flag" ||
31742 test ! -s conftest.err
31743 } && test -s conftest.$ac_objext; then
31744 ac_cv_have_decl_gtk_icon_size_lookup=yes
31746 echo "$as_me: failed program was:" >&5
31747 sed 's
/^
/| /' conftest.$ac_ext >&5
31749 ac_cv_have_decl_gtk_icon_size_lookup=no
31752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31754 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31755 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31756 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31758 cat >>confdefs.h <<_ACEOF
31759 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31764 cat >>confdefs.h <<_ACEOF
31765 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31768 cat >>confdefs.h <<\_ACEOF
31769 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31777 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31778 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31779 cat >conftest.$ac_ext <<_ACEOF
31782 cat confdefs.h >>conftest.$ac_ext
31783 cat >>conftest.$ac_ext <<_ACEOF
31784 /* end confdefs.h. */
31786 #include <gtk/gtk.h>
31792 #if !GTK_CHECK_VERSION(2,10,0)
31800 rm -f conftest.$ac_objext
31801 if { (ac_try="$ac_compile"
31802 case "(($ac_try" in
31803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31804 *) ac_try_echo=$ac_try;;
31806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31807 (eval "$ac_compile") 2>conftest.er1
31809 grep -v '^
*+' conftest.er1 >conftest.err
31811 cat conftest.err >&5
31812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31813 (exit $ac_status); } && {
31814 test -z "$ac_c_werror_flag" ||
31815 test ! -s conftest.err
31816 } && test -s conftest.$ac_objext; then
31818 cat >>confdefs.h <<\_ACEOF
31819 #define __WXGTK210__ 1
31822 cat >>confdefs.h <<\_ACEOF
31823 #define __WXGTK26__ 1
31826 { echo "$as_me:$LINENO: result: yes" >&5
31827 echo "${ECHO_T}yes" >&6; }
31831 echo "$as_me: failed program was:" >&5
31832 sed 's
/^
/| /' conftest.$ac_ext >&5
31835 { echo "$as_me:$LINENO: result: no" >&5
31836 echo "${ECHO_T}no" >&6; }
31841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31843 if test "$ac_wxgtk210" = 0; then
31844 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31845 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31846 cat >conftest.$ac_ext <<_ACEOF
31849 cat confdefs.h >>conftest.$ac_ext
31850 cat >>conftest.$ac_ext <<_ACEOF
31851 /* end confdefs.h. */
31853 #include <gtk/gtk.h>
31859 #if !GTK_CHECK_VERSION(2,6,0)
31867 rm -f conftest.$ac_objext
31868 if { (ac_try="$ac_compile"
31869 case "(($ac_try" in
31870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31871 *) ac_try_echo=$ac_try;;
31873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31874 (eval "$ac_compile") 2>conftest.er1
31876 grep -v '^
*+' conftest.er1 >conftest.err
31878 cat conftest.err >&5
31879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31880 (exit $ac_status); } && {
31881 test -z "$ac_c_werror_flag" ||
31882 test ! -s conftest.err
31883 } && test -s conftest.$ac_objext; then
31885 cat >>confdefs.h <<\_ACEOF
31886 #define __WXGTK26__ 1
31889 { echo "$as_me:$LINENO: result: yes" >&5
31890 echo "${ECHO_T}yes" >&6; }
31894 echo "$as_me: failed program was:" >&5
31895 sed 's
/^
/| /' conftest.$ac_ext >&5
31898 { echo "$as_me:$LINENO: result: no" >&5
31899 echo "${ECHO_T}no" >&6; }
31904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31907 CFLAGS="$save_CFLAGS"
31910 if test "$wxUSE_UNICODE" = "yes"; then
31911 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31912 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31916 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31917 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31918 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31919 echo $ECHO_N "(cached) $ECHO_C" >&6
31921 ac_check_lib_save_LIBS=$LIBS
31923 cat >conftest.$ac_ext <<_ACEOF
31926 cat confdefs.h >>conftest.$ac_ext
31927 cat >>conftest.$ac_ext <<_ACEOF
31928 /* end confdefs.h. */
31930 /* Override any GCC internal prototype to avoid an error.
31931 Use char because int might match the return type of a GCC
31932 builtin and then its argument prototype would still apply. */
31936 char gdk_im_open ();
31940 return gdk_im_open ();
31945 rm -f conftest.$ac_objext conftest$ac_exeext
31946 if { (ac_try="$ac_link"
31947 case "(($ac_try" in
31948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31949 *) ac_try_echo=$ac_try;;
31951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31952 (eval "$ac_link") 2>conftest.er1
31954 grep -v '^
*+' conftest.er1 >conftest.err
31956 cat conftest.err >&5
31957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31958 (exit $ac_status); } && {
31959 test -z "$ac_c_werror_flag" ||
31960 test ! -s conftest.err
31961 } && test -s conftest$ac_exeext &&
31962 $as_test_x conftest$ac_exeext; then
31963 ac_cv_lib_gdk_gdk_im_open=yes
31965 echo "$as_me: failed program was:" >&5
31966 sed 's
/^
/| /' conftest.$ac_ext >&5
31968 ac_cv_lib_gdk_gdk_im_open=no
31971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31972 conftest$ac_exeext conftest.$ac_ext
31973 LIBS=$ac_check_lib_save_LIBS
31975 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31976 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31977 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31978 cat >>confdefs.h <<\_ACEOF
31985 if test "$USE_DARWIN" != 1; then
31987 for ac_func in poll
31989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31990 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31992 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31993 echo $ECHO_N "(cached) $ECHO_C" >&6
31995 cat >conftest.$ac_ext <<_ACEOF
31998 cat confdefs.h >>conftest.$ac_ext
31999 cat >>conftest.$ac_ext <<_ACEOF
32000 /* end confdefs.h. */
32001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32003 #define $ac_func innocuous_$ac_func
32005 /* System header to define __stub macros and hopefully few prototypes,
32006 which can conflict with char $ac_func (); below.
32007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32008 <limits.h> exists even on freestanding compilers. */
32011 # include <limits.h>
32013 # include <assert.h>
32018 /* Override any GCC internal prototype to avoid an error.
32019 Use char because int might match the return type of a GCC
32020 builtin and then its argument prototype would still apply. */
32025 /* The GNU C library defines this for functions which it implements
32026 to always fail with ENOSYS. Some functions are actually named
32027 something starting with __ and the normal name is an alias. */
32028 #if defined __stub_$ac_func || defined __stub___$ac_func
32035 return $ac_func ();
32040 rm -f conftest.$ac_objext conftest$ac_exeext
32041 if { (ac_try="$ac_link"
32042 case "(($ac_try" in
32043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32044 *) ac_try_echo=$ac_try;;
32046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32047 (eval "$ac_link") 2>conftest.er1
32049 grep -v '^
*+' conftest.er1 >conftest.err
32051 cat conftest.err >&5
32052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32053 (exit $ac_status); } && {
32054 test -z "$ac_c_werror_flag" ||
32055 test ! -s conftest.err
32056 } && test -s conftest$ac_exeext &&
32057 $as_test_x conftest$ac_exeext; then
32058 eval "$as_ac_var=yes"
32060 echo "$as_me: failed program was:" >&5
32061 sed 's
/^
/| /' conftest.$ac_ext >&5
32063 eval "$as_ac_var=no"
32066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32067 conftest$ac_exeext conftest.$ac_ext
32069 ac_res=`eval echo '${'$as_ac_var'}'`
32070 { echo "$as_me:$LINENO: result: $ac_res" >&5
32071 echo "${ECHO_T}$ac_res" >&6; }
32072 if test `eval echo '${'$as_ac_var'}'` = yes; then
32073 cat >>confdefs.h <<_ACEOF
32074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32083 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
32084 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
32086 AFMINSTALL=afminstall
32090 if test "$wxUSE_GPE" = "yes"; then
32091 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
32092 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
32095 for ac_dir in $SEARCH_LIB;
32097 for ac_extension in a so sl dylib dll.a; do
32098 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
32099 ac_find_libraries=$ac_dir
32105 if test "$ac_find_libraries" != "" ; then
32107 if test "$ac_find_libraries" = "default location"; then
32110 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32112 if test $result = 0; then
32115 ac_path_to_link=" -L$ac_find_libraries"
32119 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32121 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32122 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32124 { echo "$as_me:$LINENO: result: not found" >&5
32125 echo "${ECHO_T}not found" >&6; }
32131 if test "$wxUSE_MGL" = 1; then
32132 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32133 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32134 if test "x$MGL_ROOT" = x ; then
32135 { echo "$as_me:$LINENO: result: not found" >&5
32136 echo "${ECHO_T}not found" >&6; }
32137 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32138 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32139 { (exit 1); exit 1; }; }
32141 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32142 echo "${ECHO_T}$MGL_ROOT" >&6; }
32145 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32146 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32149 if test "x$wxUSE_SHARED" = xyes ; then
32150 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32152 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32156 mgl_os_candidates="dos32/dj2"
32159 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32160 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32161 { (exit 1); exit 1; }; }
32167 for mgl_os_i in $mgl_os_candidates ; do
32168 if test "x$mgl_os" = x ; then
32169 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32170 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32171 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32176 if test "x$mgl_lib_type" = x ; then
32177 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32178 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32179 mgl_lib_type=release
32186 if test "x$mgl_os" = x ; then
32187 { echo "$as_me:$LINENO: result: not found" >&5
32188 echo "${ECHO_T}not found" >&6; }
32189 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32190 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32191 { (exit 1); exit 1; }; }
32193 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32194 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32196 wxUSE_UNIVERSAL="yes"
32198 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32199 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32201 AFMINSTALL=afminstall
32206 if test "$wxUSE_DFB" = 1; then
32209 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32210 if test -n "$ac_tool_prefix"; then
32211 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32212 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32213 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32215 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32216 echo $ECHO_N "(cached) $ECHO_C" >&6
32218 case $PKG_CONFIG in
32220 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32224 for as_dir in $PATH
32227 test -z "$as_dir" && as_dir=.
32228 for ac_exec_ext in '' $ac_executable_extensions; do
32229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32230 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32241 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32242 if test -n "$PKG_CONFIG"; then
32243 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32244 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32246 { echo "$as_me:$LINENO: result: no" >&5
32247 echo "${ECHO_T}no" >&6; }
32252 if test -z "$ac_cv_path_PKG_CONFIG"; then
32253 ac_pt_PKG_CONFIG=$PKG_CONFIG
32254 # Extract the first word of "pkg-config", so it can be a program name with args.
32255 set dummy pkg-config; ac_word=$2
32256 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32258 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32259 echo $ECHO_N "(cached) $ECHO_C" >&6
32261 case $ac_pt_PKG_CONFIG in
32263 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32267 for as_dir in $PATH
32270 test -z "$as_dir" && as_dir=.
32271 for ac_exec_ext in '' $ac_executable_extensions; do
32272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32273 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32284 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32285 if test -n "$ac_pt_PKG_CONFIG"; then
32286 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32287 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32289 { echo "$as_me:$LINENO: result: no" >&5
32290 echo "${ECHO_T}no" >&6; }
32293 if test "x$ac_pt_PKG_CONFIG" = x; then
32296 case $cross_compiling:$ac_tool_warned in
32298 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32299 whose name does not start with the host triplet. If you think this
32300 configuration is useful to you, please write to autoconf@gnu.org." >&5
32301 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32302 whose name does not start with the host triplet. If you think this
32303 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32304 ac_tool_warned=yes ;;
32306 PKG_CONFIG=$ac_pt_PKG_CONFIG
32309 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32313 if test -n "$PKG_CONFIG"; then
32314 _pkg_min_version=0.9.0
32315 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32316 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32317 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32318 { echo "$as_me:$LINENO: result: yes" >&5
32319 echo "${ECHO_T}yes" >&6; }
32321 { echo "$as_me:$LINENO: result: no" >&5
32322 echo "${ECHO_T}no" >&6; }
32330 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32331 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32333 if test -n "$PKG_CONFIG"; then
32334 if test -n "$DIRECTFB_CFLAGS"; then
32335 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32337 if test -n "$PKG_CONFIG" && \
32338 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32339 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32342 (exit $ac_status); }; then
32343 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32351 if test -n "$PKG_CONFIG"; then
32352 if test -n "$DIRECTFB_LIBS"; then
32353 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32355 if test -n "$PKG_CONFIG" && \
32356 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32357 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32360 (exit $ac_status); }; then
32361 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32372 if test $pkg_failed = yes; then
32374 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32375 _pkg_short_errors_supported=yes
32377 _pkg_short_errors_supported=no
32379 if test $_pkg_short_errors_supported = yes; then
32380 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32382 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32384 # Put the nasty error message in config.log where it belongs
32385 echo "$DIRECTFB_PKG_ERRORS" >&5
32388 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32389 echo "$as_me: error: DirectFB not found." >&2;}
32390 { (exit 1); exit 1; }; }
32393 elif test $pkg_failed = untried; then
32395 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32396 echo "$as_me: error: DirectFB not found." >&2;}
32397 { (exit 1); exit 1; }; }
32401 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32402 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32403 { echo "$as_me:$LINENO: result: yes" >&5
32404 echo "${ECHO_T}yes" >&6; }
32406 wxUSE_UNIVERSAL="yes"
32407 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32408 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32415 if test "$wxUSE_MICROWIN" = 1; then
32416 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32417 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32418 if test "x$MICROWINDOWS" = x ; then
32419 { echo "$as_me:$LINENO: result: not found" >&5
32420 echo "${ECHO_T}not found" >&6; }
32421 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32422 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32423 { (exit 1); exit 1; }; }
32425 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32426 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32429 if test -f $MICROWINDOWS/lib/libmwin.a; then
32430 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
32431 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
32433 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32434 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32435 { (exit 1); exit 1; }; }
32438 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32439 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32441 wxUSE_UNIVERSAL="yes"
32443 AFMINSTALL=afminstall
32445 GUIDIST=MICROWIN_DIST
32447 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32450 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32451 { echo "$as_me:$LINENO: checking for X" >&5
32452 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32455 # Check whether --with-x was given.
32456 if test "${with_x+set}" = set; then
32460 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
32461 if test "x$with_x" = xno; then
32462 # The user explicitly disabled X.
32465 case $x_includes,$x_libraries in #(
32466 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32467 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
32468 { (exit 1); exit 1; }; };; #(
32469 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32470 echo $ECHO_N "(cached) $ECHO_C" >&6
32472 # One or both of the vars are not set, and there is no cached value.
32473 ac_x_includes=no ac_x_libraries=no
32474 rm -f -r conftest.dir
32475 if mkdir conftest.dir; then
32477 cat >Imakefile <<'_ACEOF'
32479 @echo incroot='${INCROOT}'
32481 @echo usrlibdir='${USRLIBDIR}'
32483 @echo libdir='${LIBDIR}'
32485 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32486 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32487 for ac_var in incroot usrlibdir libdir; do
32488 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
32490 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32491 for ac_extension in a so sl; do
32492 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32493 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32494 ac_im_usrlibdir=$ac_im_libdir; break
32497 # Screen out bogus values from the imake configuration. They are
32498 # bogus both because they are the default anyway, and because
32499 # using them would break gcc on systems where it needs fixed includes.
32500 case $ac_im_incroot in
32501 /usr/include) ac_x_includes= ;;
32502 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32504 case $ac_im_usrlibdir in
32505 /usr/lib | /lib) ;;
32506 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32510 rm -f -r conftest.dir
32513 # Standard set of common directories for X headers.
32514 # Check X11 before X11Rn because it is often a symlink to the current release.
32526 /usr
/local
/X
11/include
32527 /usr
/local
/X
11R
6/include
32528 /usr
/local
/X
11R
5/include
32529 /usr
/local
/X
11R
4/include
32531 /usr
/local
/include
/X11
32532 /usr
/local
/include
/X11R6
32533 /usr
/local
/include
/X11R5
32534 /usr
/local
/include
/X11R4
32538 /usr
/XFree
86/include
/X11
32542 /usr
/unsupported
/include
32543 /usr
/athena
/include
32544 /usr
/local
/x
11r
5/include
32545 /usr
/lpp
/Xamples
/include
32547 /usr
/openwin
/include
32548 /usr
/openwin
/share
/include
'
32550 if test "$ac_x_includes" = no; then
32551 # Guess where to find include files, by looking for Xlib.h.
32552 # First, try using that file with no special directory specified.
32553 cat >conftest.$ac_ext <<_ACEOF
32556 cat confdefs.h >>conftest.$ac_ext
32557 cat >>conftest.$ac_ext <<_ACEOF
32558 /* end confdefs.h. */
32559 #include <X11/Xlib.h>
32561 if { (ac_try="$ac_cpp conftest.$ac_ext"
32562 case "(($ac_try" in
32563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32564 *) ac_try_echo=$ac_try;;
32566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32567 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32569 grep -v '^
*+' conftest.er1 >conftest.err
32571 cat conftest.err >&5
32572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32573 (exit $ac_status); } >/dev/null && {
32574 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32575 test ! -s conftest.err
32577 # We can compile using X headers with no special include directory.
32580 echo "$as_me: failed program was:" >&5
32581 sed 's
/^
/| /' conftest.$ac_ext >&5
32583 for ac_dir in $ac_x_header_dirs; do
32584 if test -r "$ac_dir/X11/Xlib.h"; then
32585 ac_x_includes=$ac_dir
32591 rm -f conftest.err conftest.$ac_ext
32592 fi # $ac_x_includes = no
32594 if test "$ac_x_libraries" = no; then
32595 # Check for the libraries.
32596 # See if we find them without any special options.
32597 # Don't add to
$LIBS permanently.
32600 cat >conftest.
$ac_ext <<_ACEOF
32603 cat confdefs.h
>>conftest.
$ac_ext
32604 cat >>conftest.
$ac_ext <<_ACEOF
32605 /* end confdefs.h. */
32606 #include <X11/Xlib.h>
32615 rm -f conftest.
$ac_objext conftest
$ac_exeext
32616 if { (ac_try
="$ac_link"
32617 case "(($ac_try" in
32618 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32619 *) ac_try_echo=$ac_try;;
32621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32622 (eval "$ac_link") 2>conftest.er1
32624 grep -v '^ *+' conftest.er1 >conftest.err
32626 cat conftest.err >&5
32627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32628 (exit $ac_status); } && {
32629 test -z "$ac_c_werror_flag" ||
32630 test ! -s conftest.err
32631 } && test -s conftest$ac_exeext &&
32632 $as_test_x conftest$ac_exeext; then
32634 # We can link X programs with no special library path.
32637 echo "$as_me: failed program was:" >&5
32638 sed 's/^/| /' conftest.$ac_ext >&5
32641 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
32643 # Don't even attempt the hair of trying to link an X program!
32644 for ac_extension in a so sl; do
32645 if test -r "$ac_dir/libX11.$ac_extension"; then
32646 ac_x_libraries=$ac_dir
32653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32654 conftest$ac_exeext conftest.$ac_ext
32655 fi # $ac_x_libraries = no
32657 case $ac_x_includes,$ac_x_libraries in #(
32658 no,* | *,no | *\'*)
32659 # Didn't find X, or a directory has "'" in its name.
32660 ac_cv_have_x="have_x=no";; #(
32662 # Record where we found X for the cache.
32663 ac_cv_have_x="have_x=yes\
32664 ac_x_includes='$ac_x_includes'\
32665 ac_x_libraries='$ac_x_libraries'"
32671 eval "$ac_cv_have_x"
32674 if test "$have_x" != yes; then
32675 { echo "$as_me:$LINENO: result: $have_x" >&5
32676 echo "${ECHO_T}$have_x" >&6; }
32679 # If each of the values was on the command line, it overrides each guess.
32680 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32681 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32682 # Update the cache value to reflect the command line values.
32683 ac_cv_have_x="have_x=yes\
32684 ac_x_includes='$x_includes'\
32685 ac_x_libraries='$x_libraries'"
32686 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32687 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32690 if test "$no_x" = yes; then
32691 # Not all programs may use this symbol, but it does not hurt to define it.
32693 cat >>confdefs.h <<\_ACEOF
32694 #define X_DISPLAY_MISSING 1
32697 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32699 if test -n "$x_includes"; then
32700 X_CFLAGS="$X_CFLAGS -I$x_includes"
32703 # It would also be nice to do this for all -L options, not just this one.
32704 if test -n "$x_libraries"; then
32705 X_LIBS="$X_LIBS -L$x_libraries"
32706 # For Solaris; some versions of Sun CC require a space after -R and
32707 # others require no space. Words are not sufficient . . . .
32708 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32709 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32710 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32711 ac_xsave_c_werror_flag=$ac_c_werror_flag
32712 ac_c_werror_flag=yes
32713 cat >conftest.$ac_ext <<_ACEOF
32716 cat confdefs.h >>conftest.$ac_ext
32717 cat >>conftest.$ac_ext <<_ACEOF
32718 /* end confdefs.h. */
32728 rm -f conftest.$ac_objext conftest$ac_exeext
32729 if { (ac_try="$ac_link"
32730 case "(($ac_try" in
32731 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32732 *) ac_try_echo
=$ac_try;;
32734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32735 (eval "$ac_link") 2>conftest.er1
32737 grep -v '^ *+' conftest.er1
>conftest.err
32739 cat conftest.err
>&5
32740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32741 (exit $ac_status); } && {
32742 test -z "$ac_c_werror_flag" ||
32743 test ! -s conftest.err
32744 } && test -s conftest
$ac_exeext &&
32745 $as_test_x conftest
$ac_exeext; then
32746 { echo "$as_me:$LINENO: result: no" >&5
32747 echo "${ECHO_T}no" >&6; }
32748 X_LIBS
="$X_LIBS -R$x_libraries"
32750 echo "$as_me: failed program was:" >&5
32751 sed 's/^/| /' conftest.
$ac_ext >&5
32753 LIBS
="$ac_xsave_LIBS -R $x_libraries"
32754 cat >conftest.
$ac_ext <<_ACEOF
32757 cat confdefs.h
>>conftest.
$ac_ext
32758 cat >>conftest.
$ac_ext <<_ACEOF
32759 /* end confdefs.h. */
32769 rm -f conftest.
$ac_objext conftest
$ac_exeext
32770 if { (ac_try
="$ac_link"
32771 case "(($ac_try" in
32772 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32773 *) ac_try_echo=$ac_try;;
32775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32776 (eval "$ac_link") 2>conftest.er1
32778 grep -v '^ *+' conftest.er1 >conftest.err
32780 cat conftest.err >&5
32781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32782 (exit $ac_status); } && {
32783 test -z "$ac_c_werror_flag" ||
32784 test ! -s conftest.err
32785 } && test -s conftest$ac_exeext &&
32786 $as_test_x conftest$ac_exeext; then
32787 { echo "$as_me:$LINENO: result: yes" >&5
32788 echo "${ECHO_T}yes" >&6; }
32789 X_LIBS="$X_LIBS -R $x_libraries"
32791 echo "$as_me: failed program was:" >&5
32792 sed 's/^/| /' conftest.$ac_ext >&5
32794 { echo "$as_me:$LINENO: result: neither works" >&5
32795 echo "${ECHO_T}neither works" >&6; }
32798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32799 conftest$ac_exeext conftest.$ac_ext
32802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32803 conftest$ac_exeext conftest.$ac_ext
32804 ac_c_werror_flag=$ac_xsave_c_werror_flag
32805 LIBS=$ac_xsave_LIBS
32808 # Check for system-dependent libraries X programs must link with.
32809 # Do this before checking for the system-independent R6 libraries
32810 # (-lICE), since we may need -lsocket or whatever for X linking.
32812 if test "$ISC" = yes; then
32813 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32815 # Martyn Johnson says this is needed for Ultrix, if the X
32816 # libraries were built with DECnet support. And Karl Berry says
32817 # the Alpha needs dnet_stub (dnet does not exist).
32818 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32819 cat >conftest.$ac_ext <<_ACEOF
32822 cat confdefs.h >>conftest.$ac_ext
32823 cat >>conftest.$ac_ext <<_ACEOF
32824 /* end confdefs.h. */
32826 /* Override any GCC internal prototype to avoid an error.
32827 Use char because int might match the return type of a GCC
32828 builtin and then its argument prototype would still apply. */
32832 char XOpenDisplay ();
32836 return XOpenDisplay ();
32841 rm -f conftest.$ac_objext conftest$ac_exeext
32842 if { (ac_try="$ac_link"
32843 case "(($ac_try" in
32844 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32845 *) ac_try_echo
=$ac_try;;
32847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32848 (eval "$ac_link") 2>conftest.er1
32850 grep -v '^ *+' conftest.er1
>conftest.err
32852 cat conftest.err
>&5
32853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32854 (exit $ac_status); } && {
32855 test -z "$ac_c_werror_flag" ||
32856 test ! -s conftest.err
32857 } && test -s conftest
$ac_exeext &&
32858 $as_test_x conftest
$ac_exeext; then
32861 echo "$as_me: failed program was:" >&5
32862 sed 's/^/| /' conftest.
$ac_ext >&5
32864 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32865 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32866 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32867 echo $ECHO_N "(cached) $ECHO_C" >&6
32869 ac_check_lib_save_LIBS
=$LIBS
32870 LIBS
="-ldnet $LIBS"
32871 cat >conftest.
$ac_ext <<_ACEOF
32874 cat confdefs.h
>>conftest.
$ac_ext
32875 cat >>conftest.
$ac_ext <<_ACEOF
32876 /* end confdefs.h. */
32878 /* Override any GCC internal prototype to avoid an error.
32879 Use char because int might match the return type of a GCC
32880 builtin and then its argument prototype would still apply. */
32888 return dnet_ntoa ();
32893 rm -f conftest.
$ac_objext conftest
$ac_exeext
32894 if { (ac_try
="$ac_link"
32895 case "(($ac_try" in
32896 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32897 *) ac_try_echo=$ac_try;;
32899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32900 (eval "$ac_link") 2>conftest.er1
32902 grep -v '^ *+' conftest.er1 >conftest.err
32904 cat conftest.err >&5
32905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32906 (exit $ac_status); } && {
32907 test -z "$ac_c_werror_flag" ||
32908 test ! -s conftest.err
32909 } && test -s conftest$ac_exeext &&
32910 $as_test_x conftest$ac_exeext; then
32911 ac_cv_lib_dnet_dnet_ntoa=yes
32913 echo "$as_me: failed program was:" >&5
32914 sed 's/^/| /' conftest.$ac_ext >&5
32916 ac_cv_lib_dnet_dnet_ntoa=no
32919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32920 conftest$ac_exeext conftest.$ac_ext
32921 LIBS=$ac_check_lib_save_LIBS
32923 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32924 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32925 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32926 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32929 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32930 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32931 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32932 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32933 echo $ECHO_N "(cached) $ECHO_C" >&6
32935 ac_check_lib_save_LIBS=$LIBS
32936 LIBS="-ldnet_stub $LIBS"
32937 cat >conftest.$ac_ext <<_ACEOF
32940 cat confdefs.h >>conftest.$ac_ext
32941 cat >>conftest.$ac_ext <<_ACEOF
32942 /* end confdefs.h. */
32944 /* Override any GCC internal prototype to avoid an error.
32945 Use char because int might match the return type of a GCC
32946 builtin and then its argument prototype would still apply. */
32954 return dnet_ntoa ();
32959 rm -f conftest.$ac_objext conftest$ac_exeext
32960 if { (ac_try="$ac_link"
32961 case "(($ac_try" in
32962 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32963 *) ac_try_echo
=$ac_try;;
32965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32966 (eval "$ac_link") 2>conftest.er1
32968 grep -v '^ *+' conftest.er1
>conftest.err
32970 cat conftest.err
>&5
32971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32972 (exit $ac_status); } && {
32973 test -z "$ac_c_werror_flag" ||
32974 test ! -s conftest.err
32975 } && test -s conftest
$ac_exeext &&
32976 $as_test_x conftest
$ac_exeext; then
32977 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
32979 echo "$as_me: failed program was:" >&5
32980 sed 's/^/| /' conftest.
$ac_ext >&5
32982 ac_cv_lib_dnet_stub_dnet_ntoa
=no
32985 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32986 conftest
$ac_exeext conftest.
$ac_ext
32987 LIBS
=$ac_check_lib_save_LIBS
32989 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32990 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32991 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32992 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
32998 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32999 conftest
$ac_exeext conftest.
$ac_ext
33000 LIBS
="$ac_xsave_LIBS"
33002 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
33003 # to get the SysV transport functions.
33004 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
33006 # The nsl library prevents programs from opening the X display
33007 # on Irix 5.2, according to T.E. Dickey.
33008 # The functions gethostbyname, getservbyname, and inet_addr are
33009 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
33010 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
33011 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
33012 if test "${ac_cv_func_gethostbyname+set}" = set; then
33013 echo $ECHO_N "(cached) $ECHO_C" >&6
33015 cat >conftest.
$ac_ext <<_ACEOF
33018 cat confdefs.h
>>conftest.
$ac_ext
33019 cat >>conftest.
$ac_ext <<_ACEOF
33020 /* end confdefs.h. */
33021 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
33022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33023 #define gethostbyname innocuous_gethostbyname
33025 /* System header to define __stub macros and hopefully few prototypes,
33026 which can conflict with char gethostbyname (); below.
33027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33028 <limits.h> exists even on freestanding compilers. */
33031 # include <limits.h>
33033 # include <assert.h>
33036 #undef gethostbyname
33038 /* Override any GCC internal prototype to avoid an error.
33039 Use char because int might match the return type of a GCC
33040 builtin and then its argument prototype would still apply. */
33044 char gethostbyname ();
33045 /* The GNU C library defines this for functions which it implements
33046 to always fail with ENOSYS. Some functions are actually named
33047 something starting with __ and the normal name is an alias. */
33048 #if defined __stub_gethostbyname || defined __stub___gethostbyname
33055 return gethostbyname ();
33060 rm -f conftest.
$ac_objext conftest
$ac_exeext
33061 if { (ac_try
="$ac_link"
33062 case "(($ac_try" in
33063 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33064 *) ac_try_echo=$ac_try;;
33066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33067 (eval "$ac_link") 2>conftest.er1
33069 grep -v '^ *+' conftest.er1 >conftest.err
33071 cat conftest.err >&5
33072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33073 (exit $ac_status); } && {
33074 test -z "$ac_c_werror_flag" ||
33075 test ! -s conftest.err
33076 } && test -s conftest$ac_exeext &&
33077 $as_test_x conftest$ac_exeext; then
33078 ac_cv_func_gethostbyname=yes
33080 echo "$as_me: failed program was:" >&5
33081 sed 's/^/| /' conftest.$ac_ext >&5
33083 ac_cv_func_gethostbyname=no
33086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33087 conftest$ac_exeext conftest.$ac_ext
33089 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
33090 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
33092 if test $ac_cv_func_gethostbyname = no; then
33093 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
33094 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
33095 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
33096 echo $ECHO_N "(cached) $ECHO_C" >&6
33098 ac_check_lib_save_LIBS=$LIBS
33100 cat >conftest.$ac_ext <<_ACEOF
33103 cat confdefs.h >>conftest.$ac_ext
33104 cat >>conftest.$ac_ext <<_ACEOF
33105 /* end confdefs.h. */
33107 /* Override any GCC internal prototype to avoid an error.
33108 Use char because int might match the return type of a GCC
33109 builtin and then its argument prototype would still apply. */
33113 char gethostbyname ();
33117 return gethostbyname ();
33122 rm -f conftest.$ac_objext conftest$ac_exeext
33123 if { (ac_try="$ac_link"
33124 case "(($ac_try" in
33125 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33126 *) ac_try_echo
=$ac_try;;
33128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33129 (eval "$ac_link") 2>conftest.er1
33131 grep -v '^ *+' conftest.er1
>conftest.err
33133 cat conftest.err
>&5
33134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33135 (exit $ac_status); } && {
33136 test -z "$ac_c_werror_flag" ||
33137 test ! -s conftest.err
33138 } && test -s conftest
$ac_exeext &&
33139 $as_test_x conftest
$ac_exeext; then
33140 ac_cv_lib_nsl_gethostbyname
=yes
33142 echo "$as_me: failed program was:" >&5
33143 sed 's/^/| /' conftest.
$ac_ext >&5
33145 ac_cv_lib_nsl_gethostbyname
=no
33148 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33149 conftest
$ac_exeext conftest.
$ac_ext
33150 LIBS
=$ac_check_lib_save_LIBS
33152 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33153 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33154 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33155 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
33158 if test $ac_cv_lib_nsl_gethostbyname = no
; then
33159 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33160 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33161 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33162 echo $ECHO_N "(cached) $ECHO_C" >&6
33164 ac_check_lib_save_LIBS
=$LIBS
33166 cat >conftest.
$ac_ext <<_ACEOF
33169 cat confdefs.h
>>conftest.
$ac_ext
33170 cat >>conftest.
$ac_ext <<_ACEOF
33171 /* end confdefs.h. */
33173 /* Override any GCC internal prototype to avoid an error.
33174 Use char because int might match the return type of a GCC
33175 builtin and then its argument prototype would still apply. */
33179 char gethostbyname ();
33183 return gethostbyname ();
33188 rm -f conftest.
$ac_objext conftest
$ac_exeext
33189 if { (ac_try
="$ac_link"
33190 case "(($ac_try" in
33191 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33192 *) ac_try_echo=$ac_try;;
33194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33195 (eval "$ac_link") 2>conftest.er1
33197 grep -v '^ *+' conftest.er1 >conftest.err
33199 cat conftest.err >&5
33200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33201 (exit $ac_status); } && {
33202 test -z "$ac_c_werror_flag" ||
33203 test ! -s conftest.err
33204 } && test -s conftest$ac_exeext &&
33205 $as_test_x conftest$ac_exeext; then
33206 ac_cv_lib_bsd_gethostbyname=yes
33208 echo "$as_me: failed program was:" >&5
33209 sed 's/^/| /' conftest.$ac_ext >&5
33211 ac_cv_lib_bsd_gethostbyname=no
33214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33215 conftest$ac_exeext conftest.$ac_ext
33216 LIBS=$ac_check_lib_save_LIBS
33218 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33219 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33220 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33221 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33227 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33228 # socket/setsockopt and other routines are undefined under SCO ODT
33229 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33230 # on later versions), says Simon Leinen: it contains gethostby*
33231 # variants that don't use the name server (or something). -lsocket
33232 # must be given before -lnsl if both are needed. We assume that
33233 # if connect needs -lnsl, so does gethostbyname.
33234 { echo "$as_me:$LINENO: checking for connect" >&5
33235 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33236 if test "${ac_cv_func_connect+set}" = set; then
33237 echo $ECHO_N "(cached) $ECHO_C" >&6
33239 cat >conftest.$ac_ext <<_ACEOF
33242 cat confdefs.h >>conftest.$ac_ext
33243 cat >>conftest.$ac_ext <<_ACEOF
33244 /* end confdefs.h. */
33245 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33247 #define connect innocuous_connect
33249 /* System header to define __stub macros and hopefully few prototypes,
33250 which can conflict with char connect (); below.
33251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33252 <limits.h> exists even on freestanding compilers. */
33255 # include <limits.h>
33257 # include <assert.h>
33262 /* Override any GCC internal prototype to avoid an error.
33263 Use char because int might match the return type of a GCC
33264 builtin and then its argument prototype would still apply. */
33269 /* The GNU C library defines this for functions which it implements
33270 to always fail with ENOSYS. Some functions are actually named
33271 something starting with __ and the normal name is an alias. */
33272 #if defined __stub_connect || defined __stub___connect
33284 rm -f conftest.$ac_objext conftest$ac_exeext
33285 if { (ac_try="$ac_link"
33286 case "(($ac_try" in
33287 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33288 *) ac_try_echo
=$ac_try;;
33290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33291 (eval "$ac_link") 2>conftest.er1
33293 grep -v '^ *+' conftest.er1
>conftest.err
33295 cat conftest.err
>&5
33296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33297 (exit $ac_status); } && {
33298 test -z "$ac_c_werror_flag" ||
33299 test ! -s conftest.err
33300 } && test -s conftest
$ac_exeext &&
33301 $as_test_x conftest
$ac_exeext; then
33302 ac_cv_func_connect
=yes
33304 echo "$as_me: failed program was:" >&5
33305 sed 's/^/| /' conftest.
$ac_ext >&5
33307 ac_cv_func_connect
=no
33310 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33311 conftest
$ac_exeext conftest.
$ac_ext
33313 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33314 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33316 if test $ac_cv_func_connect = no
; then
33317 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33318 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33319 if test "${ac_cv_lib_socket_connect+set}" = set; then
33320 echo $ECHO_N "(cached) $ECHO_C" >&6
33322 ac_check_lib_save_LIBS
=$LIBS
33323 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
33324 cat >conftest.
$ac_ext <<_ACEOF
33327 cat confdefs.h
>>conftest.
$ac_ext
33328 cat >>conftest.
$ac_ext <<_ACEOF
33329 /* end confdefs.h. */
33331 /* Override any GCC internal prototype to avoid an error.
33332 Use char because int might match the return type of a GCC
33333 builtin and then its argument prototype would still apply. */
33346 rm -f conftest.
$ac_objext conftest
$ac_exeext
33347 if { (ac_try
="$ac_link"
33348 case "(($ac_try" in
33349 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33350 *) ac_try_echo=$ac_try;;
33352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33353 (eval "$ac_link") 2>conftest.er1
33355 grep -v '^ *+' conftest.er1 >conftest.err
33357 cat conftest.err >&5
33358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33359 (exit $ac_status); } && {
33360 test -z "$ac_c_werror_flag" ||
33361 test ! -s conftest.err
33362 } && test -s conftest$ac_exeext &&
33363 $as_test_x conftest$ac_exeext; then
33364 ac_cv_lib_socket_connect=yes
33366 echo "$as_me: failed program was:" >&5
33367 sed 's/^/| /' conftest.$ac_ext >&5
33369 ac_cv_lib_socket_connect=no
33372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33373 conftest$ac_exeext conftest.$ac_ext
33374 LIBS=$ac_check_lib_save_LIBS
33376 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33377 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33378 if test $ac_cv_lib_socket_connect = yes; then
33379 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33384 # Guillermo Gomez says -lposix is necessary on A/UX.
33385 { echo "$as_me:$LINENO: checking for remove" >&5
33386 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33387 if test "${ac_cv_func_remove+set}" = set; then
33388 echo $ECHO_N "(cached) $ECHO_C" >&6
33390 cat >conftest.$ac_ext <<_ACEOF
33393 cat confdefs.h >>conftest.$ac_ext
33394 cat >>conftest.$ac_ext <<_ACEOF
33395 /* end confdefs.h. */
33396 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33398 #define remove innocuous_remove
33400 /* System header to define __stub macros and hopefully few prototypes,
33401 which can conflict with char remove (); below.
33402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33403 <limits.h> exists even on freestanding compilers. */
33406 # include <limits.h>
33408 # include <assert.h>
33413 /* Override any GCC internal prototype to avoid an error.
33414 Use char because int might match the return type of a GCC
33415 builtin and then its argument prototype would still apply. */
33420 /* The GNU C library defines this for functions which it implements
33421 to always fail with ENOSYS. Some functions are actually named
33422 something starting with __ and the normal name is an alias. */
33423 #if defined __stub_remove || defined __stub___remove
33435 rm -f conftest.$ac_objext conftest$ac_exeext
33436 if { (ac_try="$ac_link"
33437 case "(($ac_try" in
33438 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33439 *) ac_try_echo
=$ac_try;;
33441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33442 (eval "$ac_link") 2>conftest.er1
33444 grep -v '^ *+' conftest.er1
>conftest.err
33446 cat conftest.err
>&5
33447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33448 (exit $ac_status); } && {
33449 test -z "$ac_c_werror_flag" ||
33450 test ! -s conftest.err
33451 } && test -s conftest
$ac_exeext &&
33452 $as_test_x conftest
$ac_exeext; then
33453 ac_cv_func_remove
=yes
33455 echo "$as_me: failed program was:" >&5
33456 sed 's/^/| /' conftest.
$ac_ext >&5
33458 ac_cv_func_remove
=no
33461 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33462 conftest
$ac_exeext conftest.
$ac_ext
33464 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33465 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33467 if test $ac_cv_func_remove = no
; then
33468 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33469 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33470 if test "${ac_cv_lib_posix_remove+set}" = set; then
33471 echo $ECHO_N "(cached) $ECHO_C" >&6
33473 ac_check_lib_save_LIBS
=$LIBS
33474 LIBS
="-lposix $LIBS"
33475 cat >conftest.
$ac_ext <<_ACEOF
33478 cat confdefs.h
>>conftest.
$ac_ext
33479 cat >>conftest.
$ac_ext <<_ACEOF
33480 /* end confdefs.h. */
33482 /* Override any GCC internal prototype to avoid an error.
33483 Use char because int might match the return type of a GCC
33484 builtin and then its argument prototype would still apply. */
33497 rm -f conftest.
$ac_objext conftest
$ac_exeext
33498 if { (ac_try
="$ac_link"
33499 case "(($ac_try" in
33500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33501 *) ac_try_echo=$ac_try;;
33503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33504 (eval "$ac_link") 2>conftest.er1
33506 grep -v '^ *+' conftest.er1 >conftest.err
33508 cat conftest.err >&5
33509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33510 (exit $ac_status); } && {
33511 test -z "$ac_c_werror_flag" ||
33512 test ! -s conftest.err
33513 } && test -s conftest$ac_exeext &&
33514 $as_test_x conftest$ac_exeext; then
33515 ac_cv_lib_posix_remove=yes
33517 echo "$as_me: failed program was:" >&5
33518 sed 's/^/| /' conftest.$ac_ext >&5
33520 ac_cv_lib_posix_remove=no
33523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33524 conftest$ac_exeext conftest.$ac_ext
33525 LIBS=$ac_check_lib_save_LIBS
33527 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33528 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33529 if test $ac_cv_lib_posix_remove = yes; then
33530 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33535 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33536 { echo "$as_me:$LINENO: checking for shmat" >&5
33537 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33538 if test "${ac_cv_func_shmat+set}" = set; then
33539 echo $ECHO_N "(cached) $ECHO_C" >&6
33541 cat >conftest.$ac_ext <<_ACEOF
33544 cat confdefs.h >>conftest.$ac_ext
33545 cat >>conftest.$ac_ext <<_ACEOF
33546 /* end confdefs.h. */
33547 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33549 #define shmat innocuous_shmat
33551 /* System header to define __stub macros and hopefully few prototypes,
33552 which can conflict with char shmat (); below.
33553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33554 <limits.h> exists even on freestanding compilers. */
33557 # include <limits.h>
33559 # include <assert.h>
33564 /* Override any GCC internal prototype to avoid an error.
33565 Use char because int might match the return type of a GCC
33566 builtin and then its argument prototype would still apply. */
33571 /* The GNU C library defines this for functions which it implements
33572 to always fail with ENOSYS. Some functions are actually named
33573 something starting with __ and the normal name is an alias. */
33574 #if defined __stub_shmat || defined __stub___shmat
33586 rm -f conftest.$ac_objext conftest$ac_exeext
33587 if { (ac_try="$ac_link"
33588 case "(($ac_try" in
33589 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33590 *) ac_try_echo
=$ac_try;;
33592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33593 (eval "$ac_link") 2>conftest.er1
33595 grep -v '^ *+' conftest.er1
>conftest.err
33597 cat conftest.err
>&5
33598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33599 (exit $ac_status); } && {
33600 test -z "$ac_c_werror_flag" ||
33601 test ! -s conftest.err
33602 } && test -s conftest
$ac_exeext &&
33603 $as_test_x conftest
$ac_exeext; then
33604 ac_cv_func_shmat
=yes
33606 echo "$as_me: failed program was:" >&5
33607 sed 's/^/| /' conftest.
$ac_ext >&5
33609 ac_cv_func_shmat
=no
33612 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33613 conftest
$ac_exeext conftest.
$ac_ext
33615 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33616 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33618 if test $ac_cv_func_shmat = no
; then
33619 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33620 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33621 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33622 echo $ECHO_N "(cached) $ECHO_C" >&6
33624 ac_check_lib_save_LIBS
=$LIBS
33626 cat >conftest.
$ac_ext <<_ACEOF
33629 cat confdefs.h
>>conftest.
$ac_ext
33630 cat >>conftest.
$ac_ext <<_ACEOF
33631 /* end confdefs.h. */
33633 /* Override any GCC internal prototype to avoid an error.
33634 Use char because int might match the return type of a GCC
33635 builtin and then its argument prototype would still apply. */
33648 rm -f conftest.
$ac_objext conftest
$ac_exeext
33649 if { (ac_try
="$ac_link"
33650 case "(($ac_try" in
33651 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33652 *) ac_try_echo=$ac_try;;
33654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33655 (eval "$ac_link") 2>conftest.er1
33657 grep -v '^ *+' conftest.er1 >conftest.err
33659 cat conftest.err >&5
33660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33661 (exit $ac_status); } && {
33662 test -z "$ac_c_werror_flag" ||
33663 test ! -s conftest.err
33664 } && test -s conftest$ac_exeext &&
33665 $as_test_x conftest$ac_exeext; then
33666 ac_cv_lib_ipc_shmat=yes
33668 echo "$as_me: failed program was:" >&5
33669 sed 's/^/| /' conftest.$ac_ext >&5
33671 ac_cv_lib_ipc_shmat=no
33674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33675 conftest$ac_exeext conftest.$ac_ext
33676 LIBS=$ac_check_lib_save_LIBS
33678 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33679 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33680 if test $ac_cv_lib_ipc_shmat = yes; then
33681 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33687 # Check for libraries that X11R6 Xt/Xaw programs need.
33688 ac_save_LDFLAGS=$LDFLAGS
33689 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33690 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33691 # check for ICE first), but we must link in the order -lSM -lICE or
33692 # we get undefined symbols. So assume we have SM if we have ICE.
33693 # These have to be linked with before -lX11, unlike the other
33694 # libraries we check for below, so use a different variable.
33695 # John Interrante, Karl Berry
33696 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33697 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33698 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33699 echo $ECHO_N "(cached) $ECHO_C" >&6
33701 ac_check_lib_save_LIBS=$LIBS
33702 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33703 cat >conftest.$ac_ext <<_ACEOF
33706 cat confdefs.h >>conftest.$ac_ext
33707 cat >>conftest.$ac_ext <<_ACEOF
33708 /* end confdefs.h. */
33710 /* Override any GCC internal prototype to avoid an error.
33711 Use char because int might match the return type of a GCC
33712 builtin and then its argument prototype would still apply. */
33716 char IceConnectionNumber ();
33720 return IceConnectionNumber ();
33725 rm -f conftest.$ac_objext conftest$ac_exeext
33726 if { (ac_try="$ac_link"
33727 case "(($ac_try" in
33728 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33729 *) ac_try_echo
=$ac_try;;
33731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33732 (eval "$ac_link") 2>conftest.er1
33734 grep -v '^ *+' conftest.er1
>conftest.err
33736 cat conftest.err
>&5
33737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33738 (exit $ac_status); } && {
33739 test -z "$ac_c_werror_flag" ||
33740 test ! -s conftest.err
33741 } && test -s conftest
$ac_exeext &&
33742 $as_test_x conftest
$ac_exeext; then
33743 ac_cv_lib_ICE_IceConnectionNumber
=yes
33745 echo "$as_me: failed program was:" >&5
33746 sed 's/^/| /' conftest.
$ac_ext >&5
33748 ac_cv_lib_ICE_IceConnectionNumber
=no
33751 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33752 conftest
$ac_exeext conftest.
$ac_ext
33753 LIBS
=$ac_check_lib_save_LIBS
33755 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33756 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33757 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33758 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
33761 LDFLAGS
=$ac_save_LDFLAGS
33766 if test "$no_x" = "yes"; then
33767 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33768 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33769 { (exit 1); exit 1; }; }
33772 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33773 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
33774 AFMINSTALL
=afminstall
33775 COMPILED_X_PROGRAM
=0
33779 if test "$wxUSE_X11" = 1; then
33780 if test "$wxUSE_NANOX" = "yes"; then
33781 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33782 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33783 if test "x$MICROWIN" = x
; then
33784 { echo "$as_me:$LINENO: result: not found" >&5
33785 echo "${ECHO_T}not found" >&6; }
33786 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33787 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33788 { (exit 1); exit 1; }; }
33790 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33791 echo "${ECHO_T}$MICROWIN" >&6; }
33792 cat >>confdefs.h
<<\_ACEOF
33793 #define wxUSE_NANOX 1
33799 if test "$wxUSE_UNICODE" = "yes"; then
33802 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33803 if test -n "$ac_tool_prefix"; then
33804 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33805 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33806 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33808 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33809 echo $ECHO_N "(cached) $ECHO_C" >&6
33811 case $PKG_CONFIG in
33813 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33817 for as_dir
in $PATH
33820 test -z "$as_dir" && as_dir
=.
33821 for ac_exec_ext
in '' $ac_executable_extensions; do
33822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33823 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33834 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33835 if test -n "$PKG_CONFIG"; then
33836 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33837 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33839 { echo "$as_me:$LINENO: result: no" >&5
33840 echo "${ECHO_T}no" >&6; }
33845 if test -z "$ac_cv_path_PKG_CONFIG"; then
33846 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33847 # Extract the first word of "pkg-config", so it can be a program name with args.
33848 set dummy pkg
-config; ac_word
=$2
33849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33851 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33852 echo $ECHO_N "(cached) $ECHO_C" >&6
33854 case $ac_pt_PKG_CONFIG in
33856 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33860 for as_dir
in $PATH
33863 test -z "$as_dir" && as_dir
=.
33864 for ac_exec_ext
in '' $ac_executable_extensions; do
33865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33866 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33877 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33878 if test -n "$ac_pt_PKG_CONFIG"; then
33879 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33880 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33882 { echo "$as_me:$LINENO: result: no" >&5
33883 echo "${ECHO_T}no" >&6; }
33886 if test "x$ac_pt_PKG_CONFIG" = x
; then
33889 case $cross_compiling:$ac_tool_warned in
33891 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33892 whose name does not start with the host triplet. If you think this
33893 configuration is useful to you, please write to autoconf@gnu.org." >&5
33894 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33895 whose name does not start with the host triplet. If you think this
33896 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33897 ac_tool_warned
=yes ;;
33899 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33902 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33906 if test -n "$PKG_CONFIG"; then
33907 _pkg_min_version
=0.9.0
33908 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33909 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33910 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33911 { echo "$as_me:$LINENO: result: yes" >&5
33912 echo "${ECHO_T}yes" >&6; }
33914 { echo "$as_me:$LINENO: result: no" >&5
33915 echo "${ECHO_T}no" >&6; }
33923 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33924 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33926 if test -n "$PKG_CONFIG"; then
33927 if test -n "$PANGOX_CFLAGS"; then
33928 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
33930 if test -n "$PKG_CONFIG" && \
33931 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33932 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33935 (exit $ac_status); }; then
33936 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33944 if test -n "$PKG_CONFIG"; then
33945 if test -n "$PANGOX_LIBS"; then
33946 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
33948 if test -n "$PKG_CONFIG" && \
33949 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33950 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33953 (exit $ac_status); }; then
33954 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33965 if test $pkg_failed = yes; then
33967 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33968 _pkg_short_errors_supported
=yes
33970 _pkg_short_errors_supported
=no
33972 if test $_pkg_short_errors_supported = yes; then
33973 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33975 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33977 # Put the nasty error message in config.log where it belongs
33978 echo "$PANGOX_PKG_ERRORS" >&5
33981 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33982 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33983 { (exit 1); exit 1; }; }
33986 elif test $pkg_failed = untried
; then
33988 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33989 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33990 { (exit 1); exit 1; }; }
33994 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
33995 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
33996 { echo "$as_me:$LINENO: result: yes" >&5
33997 echo "${ECHO_T}yes" >&6; }
33999 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
34000 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
34001 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
34006 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
34007 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
34009 if test -n "$PKG_CONFIG"; then
34010 if test -n "$PANGOFT2_CFLAGS"; then
34011 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
34013 if test -n "$PKG_CONFIG" && \
34014 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34015 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34018 (exit $ac_status); }; then
34019 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
34027 if test -n "$PKG_CONFIG"; then
34028 if test -n "$PANGOFT2_LIBS"; then
34029 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
34031 if test -n "$PKG_CONFIG" && \
34032 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34033 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34036 (exit $ac_status); }; then
34037 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
34048 if test $pkg_failed = yes; then
34050 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34051 _pkg_short_errors_supported
=yes
34053 _pkg_short_errors_supported
=no
34055 if test $_pkg_short_errors_supported = yes; then
34056 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
34058 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
34060 # Put the nasty error message in config.log where it belongs
34061 echo "$PANGOFT2_PKG_ERRORS" >&5
34064 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34065 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34066 wxUSE_PRINTING_ARCHITECTURE
="no"
34069 elif test $pkg_failed = untried
; then
34071 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34072 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34073 wxUSE_PRINTING_ARCHITECTURE
="no"
34077 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
34078 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
34079 { echo "$as_me:$LINENO: result: yes" >&5
34080 echo "${ECHO_T}yes" >&6; }
34082 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
34083 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
34084 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
34089 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
34090 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
34092 if test -n "$PKG_CONFIG"; then
34093 if test -n "$PANGOXFT_CFLAGS"; then
34094 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
34096 if test -n "$PKG_CONFIG" && \
34097 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34098 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34101 (exit $ac_status); }; then
34102 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
34110 if test -n "$PKG_CONFIG"; then
34111 if test -n "$PANGOXFT_LIBS"; then
34112 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
34114 if test -n "$PKG_CONFIG" && \
34115 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34116 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34119 (exit $ac_status); }; then
34120 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34131 if test $pkg_failed = yes; then
34133 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34134 _pkg_short_errors_supported
=yes
34136 _pkg_short_errors_supported
=no
34138 if test $_pkg_short_errors_supported = yes; then
34139 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34141 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34143 # Put the nasty error message in config.log where it belongs
34144 echo "$PANGOXFT_PKG_ERRORS" >&5
34147 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34148 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34151 elif test $pkg_failed = untried
; then
34153 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34154 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34158 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
34159 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
34160 { echo "$as_me:$LINENO: result: yes" >&5
34161 echo "${ECHO_T}yes" >&6; }
34163 cat >>confdefs.h
<<\_ACEOF
34164 #define HAVE_PANGO_XFT 1
34167 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
34168 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
34169 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34173 LIBS
="$LIBS $PANGOX_LIBS"
34175 for ac_func
in pango_font_family_is_monospace
34177 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34178 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34180 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34181 echo $ECHO_N "(cached) $ECHO_C" >&6
34183 cat >conftest.
$ac_ext <<_ACEOF
34186 cat confdefs.h
>>conftest.
$ac_ext
34187 cat >>conftest.
$ac_ext <<_ACEOF
34188 /* end confdefs.h. */
34189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34191 #define $ac_func innocuous_$ac_func
34193 /* System header to define __stub macros and hopefully few prototypes,
34194 which can conflict with char $ac_func (); below.
34195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34196 <limits.h> exists even on freestanding compilers. */
34199 # include <limits.h>
34201 # include <assert.h>
34206 /* Override any GCC internal prototype to avoid an error.
34207 Use char because int might match the return type of a GCC
34208 builtin and then its argument prototype would still apply. */
34213 /* The GNU C library defines this for functions which it implements
34214 to always fail with ENOSYS. Some functions are actually named
34215 something starting with __ and the normal name is an alias. */
34216 #if defined __stub_$ac_func || defined __stub___$ac_func
34223 return $ac_func ();
34228 rm -f conftest.
$ac_objext conftest
$ac_exeext
34229 if { (ac_try
="$ac_link"
34230 case "(($ac_try" in
34231 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34232 *) ac_try_echo=$ac_try;;
34234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34235 (eval "$ac_link") 2>conftest.er1
34237 grep -v '^ *+' conftest.er1 >conftest.err
34239 cat conftest.err >&5
34240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34241 (exit $ac_status); } && {
34242 test -z "$ac_c_werror_flag" ||
34243 test ! -s conftest.err
34244 } && test -s conftest$ac_exeext &&
34245 $as_test_x conftest$ac_exeext; then
34246 eval "$as_ac_var=yes"
34248 echo "$as_me: failed program was:" >&5
34249 sed 's/^/| /' conftest.$ac_ext >&5
34251 eval "$as_ac_var=no"
34254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34255 conftest$ac_exeext conftest.$ac_ext
34257 ac_res=`eval echo '${'$as_ac_var'}'`
34258 { echo "$as_me:$LINENO: result: $ac_res" >&5
34259 echo "${ECHO_T}$ac_res" >&6; }
34260 if test `eval echo '${'$as_ac_var'}'` = yes; then
34261 cat >>confdefs.h <<_ACEOF
34262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34271 wxUSE_UNIVERSAL="yes"
34273 if test "$wxUSE_NANOX" = "yes"; then
34274 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34275 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"
34276 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34278 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34285 if test "$wxUSE_MOTIF" = 1; then
34286 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34287 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34290 for ac_dir in $SEARCH_INCLUDE /usr/include;
34292 if test -f "$ac_dir/Xm/Xm.h"; then
34293 ac_find_includes=$ac_dir
34298 if test "$ac_find_includes" != "" ; then
34299 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34300 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34302 if test "x$ac_find_includes" = "x/usr/include"; then
34303 ac_path_to_include=""
34305 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34307 if test $result = 0; then
34308 ac_path_to_include=""
34310 ac_path_to_include=" -I$ac_find_includes"
34314 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34316 save_CFLAGS=$CFLAGS
34317 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34319 cat >conftest.$ac_ext <<_ACEOF
34322 cat confdefs.h >>conftest.$ac_ext
34323 cat >>conftest.$ac_ext <<_ACEOF
34324 /* end confdefs.h. */
34333 version = xmUseVersion;
34339 rm -f conftest.$ac_objext
34340 if { (ac_try="$ac_compile"
34341 case "(($ac_try" in
34342 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34343 *) ac_try_echo
=$ac_try;;
34345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34346 (eval "$ac_compile") 2>conftest.er1
34348 grep -v '^ *+' conftest.er1
>conftest.err
34350 cat conftest.err
>&5
34351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34352 (exit $ac_status); } && {
34353 test -z "$ac_c_werror_flag" ||
34354 test ! -s conftest.err
34355 } && test -s conftest.
$ac_objext; then
34357 { echo "$as_me:$LINENO: result: found in default search path" >&5
34358 echo "${ECHO_T}found in default search path" >&6; }
34359 COMPILED_X_PROGRAM
=1
34362 echo "$as_me: failed program was:" >&5
34363 sed 's/^/| /' conftest.
$ac_ext >&5
34366 { echo "$as_me:$LINENO: result: no" >&5
34367 echo "${ECHO_T}no" >&6; }
34368 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34369 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34370 { (exit 1); exit 1; }; }
34375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34377 CFLAGS
=$save_CFLAGS
34381 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34382 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34385 for ac_dir
in $SEARCH_LIB;
34387 for ac_extension
in a so sl dylib dll.a
; do
34388 if test -f "$ac_dir/libXm.$ac_extension"; then
34389 ac_find_libraries
=$ac_dir
34396 if test "x$ac_find_libraries" != "x" ; then
34397 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34398 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34401 if test "$ac_find_libraries" = "default location"; then
34404 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
34406 if test $result = 0; then
34409 ac_path_to_link
=" -L$ac_find_libraries"
34413 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
34415 save_CFLAGS
=$CFLAGS
34416 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
34418 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34420 cat >conftest.
$ac_ext <<_ACEOF
34423 cat confdefs.h
>>conftest.
$ac_ext
34424 cat >>conftest.
$ac_ext <<_ACEOF
34425 /* end confdefs.h. */
34434 version = xmUseVersion;
34440 rm -f conftest.
$ac_objext conftest
$ac_exeext
34441 if { (ac_try
="$ac_link"
34442 case "(($ac_try" in
34443 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34444 *) ac_try_echo=$ac_try;;
34446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34447 (eval "$ac_link") 2>conftest.er1
34449 grep -v '^ *+' conftest.er1 >conftest.err
34451 cat conftest.err >&5
34452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34453 (exit $ac_status); } && {
34454 test -z "$ac_c_werror_flag" ||
34455 test ! -s conftest.err
34456 } && test -s conftest$ac_exeext &&
34457 $as_test_x conftest$ac_exeext; then
34459 { echo "$as_me:$LINENO: result: found in default search path" >&5
34460 echo "${ECHO_T}found in default search path" >&6; }
34461 COMPILED_X_PROGRAM=1
34464 echo "$as_me: failed program was:" >&5
34465 sed 's/^/| /' conftest.$ac_ext >&5
34468 { echo "$as_me:$LINENO: result: no" >&5
34469 echo "${ECHO_T}no" >&6; }
34470 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34471 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34472 { (exit 1); exit 1; }; }
34477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34478 conftest$ac_exeext conftest.$ac_ext
34480 CFLAGS=$save_CFLAGS
34484 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34485 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34489 for libp in "" " -lXp"; do
34490 if test "$libs_found" = 0; then
34491 for libsm_ice in "" " -lSM -lICE"; do
34492 if test "$libs_found" = 0; then
34494 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34495 save_CFLAGS=$CFLAGS
34496 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34498 cat >conftest.$ac_ext <<_ACEOF
34501 cat confdefs.h >>conftest.$ac_ext
34502 cat >>conftest.$ac_ext <<_ACEOF
34503 /* end confdefs.h. */
34506 #include <Xm/List.h>
34512 XmString string = NULL;
34515 XmListAddItem(w, string, position);
34521 rm -f conftest.$ac_objext conftest$ac_exeext
34522 if { (ac_try="$ac_link"
34523 case "(($ac_try" in
34524 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34525 *) ac_try_echo
=$ac_try;;
34527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34528 (eval "$ac_link") 2>conftest.er1
34530 grep -v '^ *+' conftest.er1
>conftest.err
34532 cat conftest.err
>&5
34533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34534 (exit $ac_status); } && {
34535 test -z "$ac_c_werror_flag" ||
34536 test ! -s conftest.err
34537 } && test -s conftest
$ac_exeext &&
34538 $as_test_x conftest
$ac_exeext; then
34541 libsm_ice_link
="$libsm_ice"
34542 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34543 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34547 echo "$as_me: failed program was:" >&5
34548 sed 's/^/| /' conftest.
$ac_ext >&5
34554 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34555 conftest
$ac_exeext conftest.
$ac_ext
34558 CFLAGS
=$save_CFLAGS
34564 if test "$libs_found" = 0; then
34565 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34566 echo "${ECHO_T}can't find the right libraries" >&6; }
34567 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34568 echo "$as_me: error: can't link a simple motif program" >&2;}
34569 { (exit 1); exit 1; }; }
34572 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34573 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34574 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34575 echo $ECHO_N "(cached) $ECHO_C" >&6
34577 ac_check_lib_save_LIBS
=$LIBS
34579 cat >conftest.
$ac_ext <<_ACEOF
34582 cat confdefs.h
>>conftest.
$ac_ext
34583 cat >>conftest.
$ac_ext <<_ACEOF
34584 /* end confdefs.h. */
34586 /* Override any GCC internal prototype to avoid an error.
34587 Use char because int might match the return type of a GCC
34588 builtin and then its argument prototype would still apply. */
34592 char SgCreateList ();
34596 return SgCreateList ();
34601 rm -f conftest.
$ac_objext conftest
$ac_exeext
34602 if { (ac_try
="$ac_link"
34603 case "(($ac_try" in
34604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34605 *) ac_try_echo=$ac_try;;
34607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34608 (eval "$ac_link") 2>conftest.er1
34610 grep -v '^ *+' conftest.er1 >conftest.err
34612 cat conftest.err >&5
34613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34614 (exit $ac_status); } && {
34615 test -z "$ac_c_werror_flag" ||
34616 test ! -s conftest.err
34617 } && test -s conftest$ac_exeext &&
34618 $as_test_x conftest$ac_exeext; then
34619 ac_cv_lib_Sgm_SgCreateList=yes
34621 echo "$as_me: failed program was:" >&5
34622 sed 's/^/| /' conftest.$ac_ext >&5
34624 ac_cv_lib_Sgm_SgCreateList=no
34627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34628 conftest$ac_exeext conftest.$ac_ext
34629 LIBS=$ac_check_lib_save_LIBS
34631 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34632 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34633 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34634 libsgm_link=" -lSgm"
34638 save_CFLAGS=$CFLAGS
34639 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34641 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34642 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34643 if test "${wx_cv_lib_motif2+set}" = set; then
34644 echo $ECHO_N "(cached) $ECHO_C" >&6
34646 cat >conftest.$ac_ext <<_ACEOF
34649 cat confdefs.h >>conftest.$ac_ext
34650 cat >>conftest.$ac_ext <<_ACEOF
34651 /* end confdefs.h. */
34659 #if XmVersion < 2000
34667 rm -f conftest.$ac_objext
34668 if { (ac_try="$ac_compile"
34669 case "(($ac_try" in
34670 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34671 *) ac_try_echo
=$ac_try;;
34673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34674 (eval "$ac_compile") 2>conftest.er1
34676 grep -v '^ *+' conftest.er1
>conftest.err
34678 cat conftest.err
>&5
34679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34680 (exit $ac_status); } && {
34681 test -z "$ac_c_werror_flag" ||
34682 test ! -s conftest.err
34683 } && test -s conftest.
$ac_objext; then
34684 wx_cv_lib_motif2
="yes"
34686 echo "$as_me: failed program was:" >&5
34687 sed 's/^/| /' conftest.
$ac_ext >&5
34689 wx_cv_lib_motif2
="no"
34692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34694 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34695 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34696 if test "$wx_cv_lib_motif2" = "yes"; then
34697 cat >>confdefs.h
<<\_ACEOF
34698 #define __WXMOTIF20__ 1
34702 cat >>confdefs.h
<<\_ACEOF
34703 #define __WXMOTIF20__ 0
34708 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34709 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34710 if test "${wx_cv_lib_lesstif+set}" = set; then
34711 echo $ECHO_N "(cached) $ECHO_C" >&6
34713 cat >conftest.
$ac_ext <<_ACEOF
34716 cat confdefs.h
>>conftest.
$ac_ext
34717 cat >>conftest.
$ac_ext <<_ACEOF
34718 /* end confdefs.h. */
34726 #if !defined(LesstifVersion) || LesstifVersion <= 0
34734 rm -f conftest.
$ac_objext
34735 if { (ac_try
="$ac_compile"
34736 case "(($ac_try" in
34737 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34738 *) ac_try_echo=$ac_try;;
34740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34741 (eval "$ac_compile") 2>conftest.er1
34743 grep -v '^ *+' conftest.er1 >conftest.err
34745 cat conftest.err >&5
34746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34747 (exit $ac_status); } && {
34748 test -z "$ac_c_werror_flag" ||
34749 test ! -s conftest.err
34750 } && test -s conftest.$ac_objext; then
34751 wx_cv_lib_lesstif="yes"
34753 echo "$as_me: failed program was:" >&5
34754 sed 's/^/| /' conftest.$ac_ext >&5
34756 wx_cv_lib_lesstif="no"
34759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34762 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34763 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34764 if test "$wx_cv_lib_lesstif" = "yes"; then
34765 cat >>confdefs.h <<\_ACEOF
34766 #define __WXLESSTIF__ 1
34770 cat >>confdefs.h <<\_ACEOF
34771 #define __WXLESSTIF__ 0
34776 CFLAGS=$save_CFLAGS
34778 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34783 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34784 if test "$wxUSE_LIBXPM" = "sys"; then
34785 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34786 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34789 for ac_dir in $SEARCH_LIB;
34791 for ac_extension in a so sl dylib dll.a; do
34792 if test -f "$ac_dir/libXpm.$ac_extension"; then
34793 ac_find_libraries=$ac_dir
34799 if test "$ac_find_libraries" != "" ; then
34801 if test "$ac_find_libraries" = "default location"; then
34804 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34806 if test $result = 0; then
34809 ac_path_to_link=" -L$ac_find_libraries"
34813 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34814 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34815 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34817 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34818 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34819 if test "${wx_cv_x11_xpm_h+set}" = set; then
34820 echo $ECHO_N "(cached) $ECHO_C" >&6
34823 save_CFLAGS=$CFLAGS
34824 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34826 cat >conftest.$ac_ext <<_ACEOF
34829 cat confdefs.h >>conftest.$ac_ext
34830 cat >>conftest.$ac_ext <<_ACEOF
34831 /* end confdefs.h. */
34833 #include <X11/xpm.h>
34840 version = XpmLibraryVersion();
34846 rm -f conftest.$ac_objext
34847 if { (ac_try="$ac_compile"
34848 case "(($ac_try" in
34849 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34850 *) ac_try_echo
=$ac_try;;
34852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34853 (eval "$ac_compile") 2>conftest.er1
34855 grep -v '^ *+' conftest.er1
>conftest.err
34857 cat conftest.err
>&5
34858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34859 (exit $ac_status); } && {
34860 test -z "$ac_c_werror_flag" ||
34861 test ! -s conftest.err
34862 } && test -s conftest.
$ac_objext; then
34863 wx_cv_x11_xpm_h
=yes
34865 echo "$as_me: failed program was:" >&5
34866 sed 's/^/| /' conftest.
$ac_ext >&5
34872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34874 CFLAGS
=$save_CFLAGS
34878 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34879 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34881 if test $wx_cv_x11_xpm_h = "yes"; then
34882 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
34883 cat >>confdefs.h
<<\_ACEOF
34884 #define wxHAVE_LIB_XPM 1
34888 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34889 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34895 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34896 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34897 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34898 echo $ECHO_N "(cached) $ECHO_C" >&6
34900 ac_check_lib_save_LIBS
=$LIBS
34901 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34902 cat >conftest.
$ac_ext <<_ACEOF
34905 cat confdefs.h
>>conftest.
$ac_ext
34906 cat >>conftest.
$ac_ext <<_ACEOF
34907 /* end confdefs.h. */
34909 /* Override any GCC internal prototype to avoid an error.
34910 Use char because int might match the return type of a GCC
34911 builtin and then its argument prototype would still apply. */
34915 char XShapeQueryExtension ();
34919 return XShapeQueryExtension ();
34924 rm -f conftest.
$ac_objext conftest
$ac_exeext
34925 if { (ac_try
="$ac_link"
34926 case "(($ac_try" in
34927 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34928 *) ac_try_echo=$ac_try;;
34930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34931 (eval "$ac_link") 2>conftest.er1
34933 grep -v '^ *+' conftest.er1 >conftest.err
34935 cat conftest.err >&5
34936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34937 (exit $ac_status); } && {
34938 test -z "$ac_c_werror_flag" ||
34939 test ! -s conftest.err
34940 } && test -s conftest$ac_exeext &&
34941 $as_test_x conftest$ac_exeext; then
34942 ac_cv_lib_Xext_XShapeQueryExtension=yes
34944 echo "$as_me: failed program was:" >&5
34945 sed 's/^/| /' conftest.$ac_ext >&5
34947 ac_cv_lib_Xext_XShapeQueryExtension=no
34950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34951 conftest$ac_exeext conftest.$ac_ext
34952 LIBS=$ac_check_lib_save_LIBS
34954 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34955 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34956 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34958 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34964 if test "$wxHAVE_XEXT_LIB" = 1; then
34965 save_CFLAGS="$CFLAGS"
34966 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34968 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34969 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34970 cat >conftest.$ac_ext <<_ACEOF
34973 cat confdefs.h >>conftest.$ac_ext
34974 cat >>conftest.$ac_ext <<_ACEOF
34975 /* end confdefs.h. */
34977 #include <X11/Xlib.h>
34978 #include <X11/extensions/shape.h>
34984 int dummy1, dummy2;
34985 XShapeQueryExtension((Display*)NULL,
34986 (int*)NULL, (int*)NULL);
34992 rm -f conftest.$ac_objext
34993 if { (ac_try="$ac_compile"
34994 case "(($ac_try" in
34995 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34996 *) ac_try_echo
=$ac_try;;
34998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34999 (eval "$ac_compile") 2>conftest.er1
35001 grep -v '^ *+' conftest.er1
>conftest.err
35003 cat conftest.err
>&5
35004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35005 (exit $ac_status); } && {
35006 test -z "$ac_c_werror_flag" ||
35007 test ! -s conftest.err
35008 } && test -s conftest.
$ac_objext; then
35010 cat >>confdefs.h
<<\_ACEOF
35011 #define HAVE_XSHAPE 1
35014 { echo "$as_me:$LINENO: result: found" >&5
35015 echo "${ECHO_T}found" >&6; }
35018 echo "$as_me: failed program was:" >&5
35019 sed 's/^/| /' conftest.
$ac_ext >&5
35022 { echo "$as_me:$LINENO: result: not found" >&5
35023 echo "${ECHO_T}not found" >&6; }
35027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35028 CFLAGS
="$save_CFLAGS"
35033 if test "$wxUSE_MAC" = 1; then
35034 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
35035 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
35036 if test "$GCC" = yes; then
35037 { echo "$as_me:$LINENO: result: gcc" >&5
35038 echo "${ECHO_T}gcc" >&6; }
35039 CPPFLAGS_PASCAL
="-fpascal-strings"
35040 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
35041 { echo "$as_me:$LINENO: result: xlc" >&5
35042 echo "${ECHO_T}xlc" >&6; }
35043 CPPFLAGS_PASCAL
="-qmacpstr"
35045 { echo "$as_me:$LINENO: result: none" >&5
35046 echo "${ECHO_T}none" >&6; }
35049 if test "x$wxUSE_UNIX" = "xyes"; then
35050 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
35052 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
35057 WXBASEPORT
="_carbon"
35060 if test "$wxUSE_COCOA" = 1; then
35065 if test "$wxUSE_PM" = 1; then
35068 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
35069 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
35070 if test "${wx_cv_spbcdata+set}" = set; then
35071 echo $ECHO_N "(cached) $ECHO_C" >&6
35074 cat >conftest.
$ac_ext <<_ACEOF
35077 cat confdefs.h
>>conftest.
$ac_ext
35078 cat >>conftest.
$ac_ext <<_ACEOF
35079 /* end confdefs.h. */
35094 rm -f conftest.
$ac_objext
35095 if { (ac_try
="$ac_compile"
35096 case "(($ac_try" in
35097 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35098 *) ac_try_echo=$ac_try;;
35100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35101 (eval "$ac_compile") 2>conftest.er1
35103 grep -v '^ *+' conftest.er1 >conftest.err
35105 cat conftest.err >&5
35106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35107 (exit $ac_status); } && {
35108 test -z "$ac_c_werror_flag" ||
35109 test ! -s conftest.err
35110 } && test -s conftest.$ac_objext; then
35113 echo "$as_me: failed program was:" >&5
35114 sed 's/^/| /' conftest.$ac_ext >&5
35120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35124 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35125 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35127 if test $wx_cv_spbcdata = "yes"; then
35128 cat >>confdefs.h <<\_ACEOF
35129 #define HAVE_SPBCDATA 1
35135 if test "$TOOLKIT" = "PM" ; then
35138 TOOLKIT_DIR=`echo ${TOOLKIT} | tr A
-Z a
-z`
35141 if test "$wxUSE_UNIVERSAL" = "yes"; then
35142 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35146 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35147 DISTDIR="wx\$(TOOLKIT)"
35153 if test "$USE_WIN32" = 1 ; then
35157 GUIDIST="BASE_DIST"
35163 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35164 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
35165 wxUSE_UNICODE_UTF8=yes
35166 elif test "$USE_OS2" = 1 ; then
35167 wxUSE_UNICODE_UTF8=yes
35169 wxUSE_UNICODE_UTF8=no
35174 if test "$wxUSE_GUI" = "yes"; then
35175 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35177 for ac_header in X11/Xlib.h
35179 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35180 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35182 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35183 echo $ECHO_N "(cached) $ECHO_C" >&6
35185 cat >conftest.$ac_ext <<_ACEOF
35188 cat confdefs.h >>conftest.$ac_ext
35189 cat >>conftest.$ac_ext <<_ACEOF
35190 /* end confdefs.h. */
35193 #include <$ac_header>
35195 rm -f conftest.$ac_objext
35196 if { (ac_try="$ac_compile"
35197 case "(($ac_try" in
35198 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35199 *) ac_try_echo
=$ac_try;;
35201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35202 (eval "$ac_compile") 2>conftest.er1
35204 grep -v '^ *+' conftest.er1
>conftest.err
35206 cat conftest.err
>&5
35207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35208 (exit $ac_status); } && {
35209 test -z "$ac_c_werror_flag" ||
35210 test ! -s conftest.err
35211 } && test -s conftest.
$ac_objext; then
35212 eval "$as_ac_Header=yes"
35214 echo "$as_me: failed program was:" >&5
35215 sed 's/^/| /' conftest.
$ac_ext >&5
35217 eval "$as_ac_Header=no"
35220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35222 ac_res
=`eval echo '${'$as_ac_Header'}'`
35223 { echo "$as_me:$LINENO: result: $ac_res" >&5
35224 echo "${ECHO_T}$ac_res" >&6; }
35225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35226 cat >>confdefs.h
<<_ACEOF
35227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35235 for ac_header
in X
11/XKBlib.h
35237 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35238 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35240 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35241 echo $ECHO_N "(cached) $ECHO_C" >&6
35243 cat >conftest.
$ac_ext <<_ACEOF
35246 cat confdefs.h
>>conftest.
$ac_ext
35247 cat >>conftest.
$ac_ext <<_ACEOF
35248 /* end confdefs.h. */
35250 #if HAVE_X11_XLIB_H
35251 #include <X11/Xlib.h>
35255 #include <$ac_header>
35257 rm -f conftest.
$ac_objext
35258 if { (ac_try
="$ac_compile"
35259 case "(($ac_try" in
35260 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35261 *) ac_try_echo=$ac_try;;
35263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35264 (eval "$ac_compile") 2>conftest.er1
35266 grep -v '^ *+' conftest.er1 >conftest.err
35268 cat conftest.err >&5
35269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35270 (exit $ac_status); } && {
35271 test -z "$ac_c_werror_flag" ||
35272 test ! -s conftest.err
35273 } && test -s conftest.$ac_objext; then
35274 eval "$as_ac_Header=yes"
35276 echo "$as_me: failed program was:" >&5
35277 sed 's/^/| /' conftest.$ac_ext >&5
35279 eval "$as_ac_Header=no"
35282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35284 ac_res=`eval echo '${'$as_ac_Header'}'`
35285 { echo "$as_me:$LINENO: result: $ac_res" >&5
35286 echo "${ECHO_T}$ac_res" >&6; }
35287 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35288 cat >>confdefs.h <<_ACEOF
35289 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35301 if test "$wxUSE_DISPLAY" = "yes"; then
35302 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35303 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35304 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35307 for ac_dir in $SEARCH_LIB;
35309 for ac_extension in a so sl dylib dll.a; do
35310 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35311 ac_find_libraries=$ac_dir
35317 if test "$ac_find_libraries" != "" ; then
35319 if test "$ac_find_libraries" = "default location"; then
35322 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35324 if test $result = 0; then
35327 ac_path_to_link=" -L$ac_find_libraries"
35331 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35332 LDFLAGS="$LDFLAGS $ac_path_to_link"
35334 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35335 { echo "$as_me:$LINENO: result: yes" >&5
35336 echo "${ECHO_T}yes" >&6; }
35338 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35339 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35342 for ac_dir in $SEARCH_LIB;
35344 for ac_extension in a so sl dylib dll.a; do
35345 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35346 ac_find_libraries=$ac_dir
35352 if test "$ac_find_libraries" != "" ; then
35353 { echo "$as_me:$LINENO: result: yes" >&5
35354 echo "${ECHO_T}yes" >&6; }
35356 for ac_header in X11/extensions/xf86vmode.h
35358 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35359 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35362 echo $ECHO_N "(cached) $ECHO_C" >&6
35364 cat >conftest.$ac_ext <<_ACEOF
35367 cat confdefs.h >>conftest.$ac_ext
35368 cat >>conftest.$ac_ext <<_ACEOF
35369 /* end confdefs.h. */
35371 #if HAVE_X11_XLIB_H
35372 #include <X11/Xlib.h>
35376 #include <$ac_header>
35378 rm -f conftest.$ac_objext
35379 if { (ac_try="$ac_compile"
35380 case "(($ac_try" in
35381 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35382 *) ac_try_echo
=$ac_try;;
35384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35385 (eval "$ac_compile") 2>conftest.er1
35387 grep -v '^ *+' conftest.er1
>conftest.err
35389 cat conftest.err
>&5
35390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35391 (exit $ac_status); } && {
35392 test -z "$ac_c_werror_flag" ||
35393 test ! -s conftest.err
35394 } && test -s conftest.
$ac_objext; then
35395 eval "$as_ac_Header=yes"
35397 echo "$as_me: failed program was:" >&5
35398 sed 's/^/| /' conftest.
$ac_ext >&5
35400 eval "$as_ac_Header=no"
35403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35405 ac_res
=`eval echo '${'$as_ac_Header'}'`
35406 { echo "$as_me:$LINENO: result: $ac_res" >&5
35407 echo "${ECHO_T}$ac_res" >&6; }
35408 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35409 cat >>confdefs.h
<<_ACEOF
35410 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35413 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
35420 { echo "$as_me:$LINENO: result: no" >&5
35421 echo "${ECHO_T}no" >&6; }
35425 { echo "$as_me:$LINENO: result: no" >&5
35426 echo "${ECHO_T}no" >&6; }
35427 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35428 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35431 elif test "$wxUSE_MSW" = 1; then
35432 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35433 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35434 if test "${ac_cv_header_ddraw_h+set}" = set; then
35435 echo $ECHO_N "(cached) $ECHO_C" >&6
35437 cat >conftest.
$ac_ext <<_ACEOF
35440 cat confdefs.h
>>conftest.
$ac_ext
35441 cat >>conftest.
$ac_ext <<_ACEOF
35442 /* end confdefs.h. */
35443 #include <windows.h>
35447 rm -f conftest.
$ac_objext
35448 if { (ac_try
="$ac_compile"
35449 case "(($ac_try" in
35450 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35451 *) ac_try_echo=$ac_try;;
35453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35454 (eval "$ac_compile") 2>conftest.er1
35456 grep -v '^ *+' conftest.er1 >conftest.err
35458 cat conftest.err >&5
35459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35460 (exit $ac_status); } && {
35461 test -z "$ac_c_werror_flag" ||
35462 test ! -s conftest.err
35463 } && test -s conftest.$ac_objext; then
35464 ac_cv_header_ddraw_h=yes
35466 echo "$as_me: failed program was:" >&5
35467 sed 's/^/| /' conftest.$ac_ext >&5
35469 ac_cv_header_ddraw_h=no
35472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35474 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35475 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35481 if test "$wxUSE_DETECT_SM" = "yes"; then
35482 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35483 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35484 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35487 for ac_dir in $SEARCH_LIB;
35489 for ac_extension in a so sl dylib dll.a; do
35490 if test -f "$ac_dir/libSM.$ac_extension"; then
35491 ac_find_libraries=$ac_dir
35497 if test "$ac_find_libraries" != "" ; then
35499 if test "$ac_find_libraries" = "default location"; then
35502 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35504 if test $result = 0; then
35507 ac_path_to_link=" -L$ac_find_libraries"
35511 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35512 LDFLAGS="$LDFLAGS $ac_path_to_link"
35514 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35515 { echo "$as_me:$LINENO: result: yes" >&5
35516 echo "${ECHO_T}yes" >&6; }
35518 { echo "$as_me:$LINENO: result: no" >&5
35519 echo "${ECHO_T}no" >&6; }
35520 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35521 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35522 wxUSE_DETECT_SM="no"
35525 wxUSE_DETECT_SM="no"
35532 if test "$wxUSE_OPENGL" = "yes"; then
35533 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
35534 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35535 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35537 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
35538 OPENGL_LIBS="-framework OpenGL -framework AGL"
35539 elif test "$wxUSE_MSW" = 1; then
35540 OPENGL_LIBS="-lopengl32 -lglu32"
35542 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35543 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35546 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35548 if test -f "$ac_dir/GL/gl.h"; then
35549 ac_find_includes=$ac_dir
35554 if test "$ac_find_includes" != "" ; then
35555 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35556 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35558 if test "x$ac_find_includes" = "x/usr/include"; then
35559 ac_path_to_include=""
35561 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35563 if test $result = 0; then
35564 ac_path_to_include=""
35566 ac_path_to_include=" -I$ac_find_includes"
35570 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35572 { echo "$as_me:$LINENO: result: not found" >&5
35573 echo "${ECHO_T}not found" >&6; }
35576 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35577 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35578 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35579 echo $ECHO_N "(cached) $ECHO_C" >&6
35581 cat >conftest.$ac_ext <<_ACEOF
35584 cat confdefs.h >>conftest.$ac_ext
35585 cat >>conftest.$ac_ext <<_ACEOF
35586 /* end confdefs.h. */
35591 rm -f conftest.$ac_objext
35592 if { (ac_try="$ac_compile"
35593 case "(($ac_try" in
35594 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35595 *) ac_try_echo
=$ac_try;;
35597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35598 (eval "$ac_compile") 2>conftest.er1
35600 grep -v '^ *+' conftest.er1
>conftest.err
35602 cat conftest.err
>&5
35603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35604 (exit $ac_status); } && {
35605 test -z "$ac_c_werror_flag" ||
35606 test ! -s conftest.err
35607 } && test -s conftest.
$ac_objext; then
35608 ac_cv_header_GL_gl_h
=yes
35610 echo "$as_me: failed program was:" >&5
35611 sed 's/^/| /' conftest.
$ac_ext >&5
35613 ac_cv_header_GL_gl_h
=no
35616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35618 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35619 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35620 if test $ac_cv_header_GL_gl_h = yes; then
35622 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35623 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35624 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35625 echo $ECHO_N "(cached) $ECHO_C" >&6
35627 cat >conftest.
$ac_ext <<_ACEOF
35630 cat confdefs.h
>>conftest.
$ac_ext
35631 cat >>conftest.
$ac_ext <<_ACEOF
35632 /* end confdefs.h. */
35635 #include <GL/glu.h>
35637 rm -f conftest.
$ac_objext
35638 if { (ac_try
="$ac_compile"
35639 case "(($ac_try" in
35640 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35641 *) ac_try_echo=$ac_try;;
35643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35644 (eval "$ac_compile") 2>conftest.er1
35646 grep -v '^ *+' conftest.er1 >conftest.err
35648 cat conftest.err >&5
35649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35650 (exit $ac_status); } && {
35651 test -z "$ac_c_werror_flag" ||
35652 test ! -s conftest.err
35653 } && test -s conftest.$ac_objext; then
35654 ac_cv_header_GL_glu_h=yes
35656 echo "$as_me: failed program was:" >&5
35657 sed 's/^/| /' conftest.$ac_ext >&5
35659 ac_cv_header_GL_glu_h=no
35662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35664 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35665 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35666 if test $ac_cv_header_GL_glu_h = yes; then
35670 { echo "$as_me:$LINENO: checking for -lGL" >&5
35671 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35674 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35676 for ac_extension in a so sl dylib dll.a; do
35677 if test -f "$ac_dir/libGL.$ac_extension"; then
35678 ac_find_libraries=$ac_dir
35684 if test "$ac_find_libraries" != "" ; then
35685 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35686 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35689 if test "$ac_find_libraries" = "default location"; then
35692 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35694 if test $result = 0; then
35697 ac_path_to_link=" -L$ac_find_libraries"
35701 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35702 LDFLAGS_GL="$ac_path_to_link"
35705 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35706 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35709 for ac_dir in $SEARCH_LIB;
35711 for ac_extension in a so sl dylib dll.a; do
35712 if test -f "$ac_dir/libGLU.$ac_extension"; then
35713 ac_find_libraries=$ac_dir
35719 if test "$ac_find_libraries" != "" ; then
35721 if test "$ac_find_libraries" = "default location"; then
35724 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35726 if test $result = 0; then
35729 ac_path_to_link=" -L$ac_find_libraries"
35733 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35734 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35735 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35739 OPENGL_LIBS="-lGL -lGLU"
35740 { echo "$as_me:$LINENO: result: yes" >&5
35741 echo "${ECHO_T}yes" >&6; }
35743 { echo "$as_me:$LINENO: result: no" >&5
35744 echo "${ECHO_T}no" >&6; }
35747 { echo "$as_me:$LINENO: result: no" >&5
35748 echo "${ECHO_T}no" >&6; }
35751 if test "$found_gl" != 1; then
35752 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35753 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35756 for ac_dir in $SEARCH_LIB;
35758 for ac_extension in a so sl dylib dll.a; do
35759 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35760 ac_find_libraries=$ac_dir
35766 if test "$ac_find_libraries" != "" ; then
35768 if test "$ac_find_libraries" = "default location"; then
35771 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35773 if test $result = 0; then
35776 ac_path_to_link=" -L$ac_find_libraries"
35780 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35781 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35782 { echo "$as_me:$LINENO: result: yes" >&5
35783 echo "${ECHO_T}yes" >&6; }
35785 { echo "$as_me:$LINENO: result: no" >&5
35786 echo "${ECHO_T}no" >&6; }
35798 if test "x$OPENGL_LIBS" = "x"; then
35799 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35800 echo "$as_me: error: OpenGL libraries not available" >&2;}
35801 { (exit 1); exit 1; }; }
35805 if test "$wxUSE_OPENGL" = "yes"; then
35807 cat >>confdefs.h <<\_ACEOF
35808 #define wxUSE_OPENGL 1
35811 cat >>confdefs.h <<\_ACEOF
35812 #define wxUSE_GLCANVAS 1
35815 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35820 if test -n "$TOOLKIT" ; then
35821 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35826 if test "$wxUSE_SHARED" = "yes"; then
35830 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35831 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35836 if test "$wxUSE_SHARED" = "yes"; then
35840 *-*-cygwin* | *-*-mingw* )
35841 wx_cv_version_script=no
35845 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35846 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35847 if test "${wx_cv_version_script+set}" = set; then
35848 echo $ECHO_N "(cached) $ECHO_C" >&6
35851 echo "VER_1 { *; };" >conftest.sym
35852 echo "int main() { return 0; }" >conftest.cpp
35855 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35856 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35858 (eval $ac_try) 2>&5
35860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35861 (exit $ac_status); }; } ; then
35862 if test -s conftest.stderr ; then
35863 wx_cv_version_script=no
35865 wx_cv_version_script=yes
35868 wx_cv_version_script=no
35871 if test $wx_cv_version_script = yes
35873 echo "struct B { virtual ~B() { } }; \
35874 struct D : public B { }; \
35875 void F() { D d; }" > conftest.cpp
35878 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35879 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35881 (eval $ac_try) 2>&5
35883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35884 (exit $ac_status); }; } &&
35886 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35887 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35889 (eval $ac_try) 2>&5
35891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35892 (exit $ac_status); }; }
35895 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35896 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35898 (eval $ac_try) 2>&5
35900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35901 (exit $ac_status); }; }
35903 wx_cv_version_script=yes
35905 wx_cv_version_script=no
35910 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35911 rm -f conftest1.output conftest2.output conftest3.output
35914 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35915 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35917 if test $wx_cv_version_script = yes ; then
35918 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35924 if test "$wxUSE_VISIBILITY" != "no"; then
35927 if test -n "$GCC"; then
35928 CFLAGS_VISIBILITY="-fvisibility=hidden"
35929 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35930 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35931 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35932 if test "${wx_cv_cc_visibility+set}" = set; then
35933 echo $ECHO_N "(cached) $ECHO_C" >&6
35936 wx_save_CXXFLAGS="$CXXFLAGS"
35937 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35939 ac_cpp='$CXXCPP $CPPFLAGS'
35940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35944 cat >conftest.$ac_ext <<_ACEOF
35947 cat confdefs.h >>conftest.$ac_ext
35948 cat >>conftest.$ac_ext <<_ACEOF
35949 /* end confdefs.h. */
35951 /* we need gcc >= 4.0, older versions with visibility support
35952 didn't have class visibility: */
35953 #if defined(__GNUC__) && __GNUC__ < 4
35954 error this gcc is too old;
35957 /* visibility only makes sense for ELF shared libs: */
35958 #if !defined(__ELF__) && !defined(__APPLE__)
35959 error this platform has no visibility;
35962 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35963 extern __attribute__((__visibility__("default"))) int exportedvar;
35964 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35965 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35966 class __attribute__((__visibility__("default"))) Foo {
35978 rm -f conftest.$ac_objext
35979 if { (ac_try="$ac_compile"
35980 case "(($ac_try" in
35981 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35982 *) ac_try_echo
=$ac_try;;
35984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35985 (eval "$ac_compile") 2>conftest.er1
35987 grep -v '^ *+' conftest.er1
>conftest.err
35989 cat conftest.err
>&5
35990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35991 (exit $ac_status); } && {
35992 test -z "$ac_cxx_werror_flag" ||
35993 test ! -s conftest.err
35994 } && test -s conftest.
$ac_objext; then
35995 wx_cv_cc_visibility
=yes
35997 echo "$as_me: failed program was:" >&5
35998 sed 's/^/| /' conftest.
$ac_ext >&5
36000 wx_cv_cc_visibility
=no
36003 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36005 ac_cpp
='$CPP $CPPFLAGS'
36006 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36007 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36008 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36010 CXXFLAGS
="$wx_save_CXXFLAGS"
36013 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36014 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36015 if test $wx_cv_cc_visibility = yes; then
36016 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36017 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36018 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36019 echo $ECHO_N "(cached) $ECHO_C" >&6
36022 wx_save_CXXFLAGS
="$CXXFLAGS"
36023 wx_save_LDFLAGS
="$LDFLAGS"
36024 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36025 LDFLAGS
="$LDFLAGS -shared -fPIC"
36027 ac_cpp
='$CXXCPP $CPPFLAGS'
36028 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36029 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36030 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36032 cat >conftest.
$ac_ext <<_ACEOF
36035 cat confdefs.h
>>conftest.
$ac_ext
36036 cat >>conftest.
$ac_ext <<_ACEOF
36037 /* end confdefs.h. */
36045 std::string s("hello");
36052 rm -f conftest.
$ac_objext conftest
$ac_exeext
36053 if { (ac_try
="$ac_link"
36054 case "(($ac_try" in
36055 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36056 *) ac_try_echo=$ac_try;;
36058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36059 (eval "$ac_link") 2>conftest.er1
36061 grep -v '^ *+' conftest.er1 >conftest.err
36063 cat conftest.err >&5
36064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36065 (exit $ac_status); } && {
36066 test -z "$ac_cxx_werror_flag" ||
36067 test ! -s conftest.err
36068 } && test -s conftest$ac_exeext &&
36069 $as_test_x conftest$ac_exeext; then
36070 wx_cv_cc_broken_libstdcxx_visibility=no
36072 echo "$as_me: failed program was:" >&5
36073 sed 's/^/| /' conftest.$ac_ext >&5
36075 wx_cv_cc_broken_libstdcxx_visibility=yes
36078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36079 conftest$ac_exeext conftest.$ac_ext
36081 ac_cpp='$CPP $CPPFLAGS'
36082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36086 CXXFLAGS="$wx_save_CXXFLAGS"
36087 LDFLAGS="$wx_save_LDFLAGS"
36090 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36091 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36093 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36094 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
36095 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
36096 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
36097 echo $ECHO_N "(cached) $ECHO_C" >&6
36101 ac_cpp='$CXXCPP $CPPFLAGS'
36102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36106 cat >conftest.$ac_ext <<_ACEOF
36109 cat confdefs.h >>conftest.$ac_ext
36110 cat >>conftest.$ac_ext <<_ACEOF
36111 /* end confdefs.h. */
36113 #pragma GCC visibility push(default)
36115 #pragma GCC visibility pop
36121 std::string s("hello");
36128 rm -f conftest.$ac_objext conftest$ac_exeext
36129 if { (ac_try="$ac_link"
36130 case "(($ac_try" in
36131 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36132 *) ac_try_echo
=$ac_try;;
36134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36135 (eval "$ac_link") 2>conftest.er1
36137 grep -v '^ *+' conftest.er1
>conftest.err
36139 cat conftest.err
>&5
36140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36141 (exit $ac_status); } && {
36142 test -z "$ac_cxx_werror_flag" ||
36143 test ! -s conftest.err
36144 } && test -s conftest
$ac_exeext &&
36145 $as_test_x conftest
$ac_exeext; then
36146 wx_cv_cc_visibility_workaround
=no
36148 echo "$as_me: failed program was:" >&5
36149 sed 's/^/| /' conftest.
$ac_ext >&5
36151 wx_cv_cc_visibility_workaround
=yes
36154 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36155 conftest
$ac_exeext conftest.
$ac_ext
36157 ac_cpp
='$CPP $CPPFLAGS'
36158 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36159 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36160 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36165 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
36166 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
36168 if test $wx_cv_cc_visibility_workaround = no
; then
36169 wx_cv_cc_visibility
=no
36174 if test $wx_cv_cc_visibility = yes; then
36175 cat >>confdefs.h
<<\_ACEOF
36176 #define HAVE_VISIBILITY 1
36179 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36180 cat >>confdefs.h
<<\_ACEOF
36181 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36186 CFLAGS_VISIBILITY
=""
36187 CXXFLAGS_VISIBILITY
=""
36195 if test "x$SUNCXX" = xyes
; then
36196 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
36197 WXCONFIG_RPATH
="-R\$libdir"
36200 *-*-linux* | *-*-gnu* )
36201 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
36202 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
36207 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
36209 saveLdflags
="$LDFLAGS"
36210 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
36211 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36212 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36213 cat >conftest.
$ac_ext <<_ACEOF
36216 cat confdefs.h
>>conftest.
$ac_ext
36217 cat >>conftest.
$ac_ext <<_ACEOF
36218 /* end confdefs.h. */
36228 rm -f conftest.
$ac_objext conftest
$ac_exeext
36229 if { (ac_try
="$ac_link"
36230 case "(($ac_try" in
36231 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36232 *) ac_try_echo=$ac_try;;
36234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36235 (eval "$ac_link") 2>conftest.er1
36237 grep -v '^ *+' conftest.er1 >conftest.err
36239 cat conftest.err >&5
36240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36241 (exit $ac_status); } && {
36242 test -z "$ac_c_werror_flag" ||
36243 test ! -s conftest.err
36244 } && test -s conftest$ac_exeext &&
36245 $as_test_x conftest$ac_exeext; then
36247 { echo "$as_me:$LINENO: result: yes" >&5
36248 echo "${ECHO_T}yes" >&6; }
36249 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36250 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36253 echo "$as_me: failed program was:" >&5
36254 sed 's/^/| /' conftest.$ac_ext >&5
36257 { echo "$as_me:$LINENO: result: no" >&5
36258 echo "${ECHO_T}no" >&6; }
36259 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36260 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36261 LDFLAGS="$saveLdflags -Wl,-R,/"
36262 cat >conftest.$ac_ext <<_ACEOF
36265 cat confdefs.h >>conftest.$ac_ext
36266 cat >>conftest.$ac_ext <<_ACEOF
36267 /* end confdefs.h. */
36277 rm -f conftest.$ac_objext conftest$ac_exeext
36278 if { (ac_try="$ac_link"
36279 case "(($ac_try" in
36280 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36281 *) ac_try_echo
=$ac_try;;
36283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36284 (eval "$ac_link") 2>conftest.er1
36286 grep -v '^ *+' conftest.er1
>conftest.err
36288 cat conftest.err
>&5
36289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36290 (exit $ac_status); } && {
36291 test -z "$ac_c_werror_flag" ||
36292 test ! -s conftest.err
36293 } && test -s conftest
$ac_exeext &&
36294 $as_test_x conftest
$ac_exeext; then
36296 { echo "$as_me:$LINENO: result: yes" >&5
36297 echo "${ECHO_T}yes" >&6; }
36298 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
36299 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
36302 echo "$as_me: failed program was:" >&5
36303 sed 's/^/| /' conftest.
$ac_ext >&5
36306 { echo "$as_me:$LINENO: result: no" >&5
36307 echo "${ECHO_T}no" >&6; }
36311 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36312 conftest
$ac_exeext conftest.
$ac_ext
36316 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36317 conftest
$ac_exeext conftest.
$ac_ext
36318 LDFLAGS
="$saveLdflags"
36322 install_name_tool
=`which install_name_tool`
36323 if test "$install_name_tool" -a -x "$install_name_tool"; then
36324 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36325 cat <<EOF >change-install-names
36327 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36328 inst_cmd="install_name_tool "
36329 for i in \${libnames} ; do
36330 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36334 chmod +x change
-install-names
36338 *-*-cygwin* | *-*-mingw32* )
36342 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
36343 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
36349 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36351 if test $wxUSE_RPATH = "no"; then
36352 SAMPLES_RPATH_FLAG
=''
36353 SAMPLES_RPATH_POSTLINK
=''
36361 config_linkage_component
="-static"
36368 lib_unicode_suffix
=
36370 if test "$wxUSE_UNICODE" = "yes"; then
36371 lib_unicode_suffix
=u
36372 WX_CHARTYPE
="unicode"
36377 WX_DEBUGTYPE
="release"
36379 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36381 WX_DEBUGTYPE
="debug"
36385 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
36386 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
36389 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36393 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr a-z A-Z`
36395 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36397 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36399 if test "$cross_compiling" = "yes"; then
36400 HOST_SUFFIX
="-$host_alias"
36401 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
36402 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
36405 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36406 if test "${TOOLKIT_DIR}" = "os2"; then
36407 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36409 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36414 if test "$wxUSE_COCOA" = 1; then
36417 ac_cpp
='$CPP $CPPFLAGS'
36418 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36419 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36420 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36424 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36425 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36426 cat >conftest.
$ac_ext <<_ACEOF
36429 cat confdefs.h
>>conftest.
$ac_ext
36430 cat >>conftest.
$ac_ext <<_ACEOF
36431 /* end confdefs.h. */
36432 #include <AppKit/NSEvent.h>
36433 #include <CoreFoundation/CoreFoundation.h>
36443 rm -f conftest.
$ac_objext
36444 if { (ac_try
="$ac_compile"
36445 case "(($ac_try" in
36446 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36447 *) ac_try_echo=$ac_try;;
36449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36450 (eval "$ac_compile") 2>conftest.er1
36452 grep -v '^ *+' conftest.er1 >conftest.err
36454 cat conftest.err >&5
36455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36456 (exit $ac_status); } && {
36457 test -z "$ac_c_werror_flag" ||
36458 test ! -s conftest.err
36459 } && test -s conftest.$ac_objext; then
36460 { echo "$as_me:$LINENO: result: no" >&5
36461 echo "${ECHO_T}no" >&6; }
36463 echo "$as_me: failed program was:" >&5
36464 sed 's/^/| /' conftest.$ac_ext >&5
36466 { echo "$as_me:$LINENO: result: yes" >&5
36467 echo "${ECHO_T}yes" >&6; }
36468 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36469 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36470 cat >conftest.$ac_ext <<_ACEOF
36473 cat confdefs.h >>conftest.$ac_ext
36474 cat >>conftest.$ac_ext <<_ACEOF
36475 /* end confdefs.h. */
36476 #define __Point__ 1
36477 #include <AppKit/NSEvent.h>
36478 #include <CoreFoundation/CoreFoundation.h>
36488 rm -f conftest.$ac_objext
36489 if { (ac_try="$ac_compile"
36490 case "(($ac_try" in
36491 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36492 *) ac_try_echo
=$ac_try;;
36494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36495 (eval "$ac_compile") 2>conftest.er1
36497 grep -v '^ *+' conftest.er1
>conftest.err
36499 cat conftest.err
>&5
36500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36501 (exit $ac_status); } && {
36502 test -z "$ac_c_werror_flag" ||
36503 test ! -s conftest.err
36504 } && test -s conftest.
$ac_objext; then
36505 { echo "$as_me:$LINENO: result: yes" >&5
36506 echo "${ECHO_T}yes" >&6; }
36507 cat >>confdefs.h
<<\_ACEOF
36508 #define __Point__ 1
36513 echo "$as_me: failed program was:" >&5
36514 sed 's/^/| /' conftest.
$ac_ext >&5
36516 { { echo "$as_me:$LINENO: error: no
36517 See \`config.log' for more details." >&5
36518 echo "$as_me: error: no
36519 See \`config.log' for more details." >&2;}
36520 { (exit 1); exit 1; }; }
36524 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36530 ac_cpp
='$CPP $CPPFLAGS'
36531 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36532 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36533 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36538 { echo "$as_me:$LINENO: checking for mode_t" >&5
36539 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36540 if test "${ac_cv_type_mode_t+set}" = set; then
36541 echo $ECHO_N "(cached) $ECHO_C" >&6
36543 cat >conftest.
$ac_ext <<_ACEOF
36546 cat confdefs.h
>>conftest.
$ac_ext
36547 cat >>conftest.
$ac_ext <<_ACEOF
36548 /* end confdefs.h. */
36549 $ac_includes_default
36550 typedef mode_t ac__type_new_;
36554 if ((ac__type_new_ *) 0)
36556 if (sizeof (ac__type_new_))
36562 rm -f conftest.
$ac_objext
36563 if { (ac_try
="$ac_compile"
36564 case "(($ac_try" in
36565 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36566 *) ac_try_echo=$ac_try;;
36568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36569 (eval "$ac_compile") 2>conftest.er1
36571 grep -v '^ *+' conftest.er1 >conftest.err
36573 cat conftest.err >&5
36574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36575 (exit $ac_status); } && {
36576 test -z "$ac_c_werror_flag" ||
36577 test ! -s conftest.err
36578 } && test -s conftest.$ac_objext; then
36579 ac_cv_type_mode_t=yes
36581 echo "$as_me: failed program was:" >&5
36582 sed 's/^/| /' conftest.$ac_ext >&5
36584 ac_cv_type_mode_t=no
36587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36589 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36590 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36591 if test $ac_cv_type_mode_t = yes; then
36595 cat >>confdefs.h <<_ACEOF
36601 { echo "$as_me:$LINENO: checking for off_t" >&5
36602 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36603 if test "${ac_cv_type_off_t+set}" = set; then
36604 echo $ECHO_N "(cached) $ECHO_C" >&6
36606 cat >conftest.$ac_ext <<_ACEOF
36609 cat confdefs.h >>conftest.$ac_ext
36610 cat >>conftest.$ac_ext <<_ACEOF
36611 /* end confdefs.h. */
36612 $ac_includes_default
36613 typedef off_t ac__type_new_;
36617 if ((ac__type_new_ *) 0)
36619 if (sizeof (ac__type_new_))
36625 rm -f conftest.$ac_objext
36626 if { (ac_try="$ac_compile"
36627 case "(($ac_try" in
36628 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36629 *) ac_try_echo
=$ac_try;;
36631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36632 (eval "$ac_compile") 2>conftest.er1
36634 grep -v '^ *+' conftest.er1
>conftest.err
36636 cat conftest.err
>&5
36637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36638 (exit $ac_status); } && {
36639 test -z "$ac_c_werror_flag" ||
36640 test ! -s conftest.err
36641 } && test -s conftest.
$ac_objext; then
36642 ac_cv_type_off_t
=yes
36644 echo "$as_me: failed program was:" >&5
36645 sed 's/^/| /' conftest.
$ac_ext >&5
36647 ac_cv_type_off_t
=no
36650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36652 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36653 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36654 if test $ac_cv_type_off_t = yes; then
36658 cat >>confdefs.h
<<_ACEOF
36659 #define off_t long int
36664 { echo "$as_me:$LINENO: checking for pid_t" >&5
36665 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36666 if test "${ac_cv_type_pid_t+set}" = set; then
36667 echo $ECHO_N "(cached) $ECHO_C" >&6
36669 cat >conftest.
$ac_ext <<_ACEOF
36672 cat confdefs.h
>>conftest.
$ac_ext
36673 cat >>conftest.
$ac_ext <<_ACEOF
36674 /* end confdefs.h. */
36675 $ac_includes_default
36676 typedef pid_t ac__type_new_;
36680 if ((ac__type_new_ *) 0)
36682 if (sizeof (ac__type_new_))
36688 rm -f conftest.
$ac_objext
36689 if { (ac_try
="$ac_compile"
36690 case "(($ac_try" in
36691 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36692 *) ac_try_echo=$ac_try;;
36694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36695 (eval "$ac_compile") 2>conftest.er1
36697 grep -v '^ *+' conftest.er1 >conftest.err
36699 cat conftest.err >&5
36700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36701 (exit $ac_status); } && {
36702 test -z "$ac_c_werror_flag" ||
36703 test ! -s conftest.err
36704 } && test -s conftest.$ac_objext; then
36705 ac_cv_type_pid_t=yes
36707 echo "$as_me: failed program was:" >&5
36708 sed 's/^/| /' conftest.$ac_ext >&5
36710 ac_cv_type_pid_t=no
36713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36715 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36716 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36717 if test $ac_cv_type_pid_t = yes; then
36721 cat >>confdefs.h <<_ACEOF
36727 { echo "$as_me:$LINENO: checking for size_t" >&5
36728 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36729 if test "${ac_cv_type_size_t+set}" = set; then
36730 echo $ECHO_N "(cached) $ECHO_C" >&6
36732 cat >conftest.$ac_ext <<_ACEOF
36735 cat confdefs.h >>conftest.$ac_ext
36736 cat >>conftest.$ac_ext <<_ACEOF
36737 /* end confdefs.h. */
36738 $ac_includes_default
36739 typedef size_t ac__type_new_;
36743 if ((ac__type_new_ *) 0)
36745 if (sizeof (ac__type_new_))
36751 rm -f conftest.$ac_objext
36752 if { (ac_try="$ac_compile"
36753 case "(($ac_try" in
36754 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36755 *) ac_try_echo
=$ac_try;;
36757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36758 (eval "$ac_compile") 2>conftest.er1
36760 grep -v '^ *+' conftest.er1
>conftest.err
36762 cat conftest.err
>&5
36763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36764 (exit $ac_status); } && {
36765 test -z "$ac_c_werror_flag" ||
36766 test ! -s conftest.err
36767 } && test -s conftest.
$ac_objext; then
36768 ac_cv_type_size_t
=yes
36770 echo "$as_me: failed program was:" >&5
36771 sed 's/^/| /' conftest.
$ac_ext >&5
36773 ac_cv_type_size_t
=no
36776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36778 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36779 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36780 if test $ac_cv_type_size_t = yes; then
36784 cat >>confdefs.h
<<_ACEOF
36785 #define size_t unsigned int
36790 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36791 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36792 if test "${ac_cv_type_uid_t+set}" = set; then
36793 echo $ECHO_N "(cached) $ECHO_C" >&6
36795 cat >conftest.
$ac_ext <<_ACEOF
36798 cat confdefs.h
>>conftest.
$ac_ext
36799 cat >>conftest.
$ac_ext <<_ACEOF
36800 /* end confdefs.h. */
36801 #include <sys/types.h>
36804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36805 $EGREP "uid_t" >/dev
/null
2>&1; then
36806 ac_cv_type_uid_t
=yes
36808 ac_cv_type_uid_t
=no
36813 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36814 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36815 if test $ac_cv_type_uid_t = no
; then
36817 cat >>confdefs.h
<<\_ACEOF
36822 cat >>confdefs.h
<<\_ACEOF
36829 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36830 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36831 if test "${ac_cv_type_ssize_t+set}" = set; then
36832 echo $ECHO_N "(cached) $ECHO_C" >&6
36834 cat >conftest.
$ac_ext <<_ACEOF
36837 cat confdefs.h
>>conftest.
$ac_ext
36838 cat >>conftest.
$ac_ext <<_ACEOF
36839 /* end confdefs.h. */
36840 $ac_includes_default
36841 typedef ssize_t ac__type_new_;
36845 if ((ac__type_new_ *) 0)
36847 if (sizeof (ac__type_new_))
36853 rm -f conftest.
$ac_objext
36854 if { (ac_try
="$ac_compile"
36855 case "(($ac_try" in
36856 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36857 *) ac_try_echo=$ac_try;;
36859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36860 (eval "$ac_compile") 2>conftest.er1
36862 grep -v '^ *+' conftest.er1 >conftest.err
36864 cat conftest.err >&5
36865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36866 (exit $ac_status); } && {
36867 test -z "$ac_c_werror_flag" ||
36868 test ! -s conftest.err
36869 } && test -s conftest.$ac_objext; then
36870 ac_cv_type_ssize_t=yes
36872 echo "$as_me: failed program was:" >&5
36873 sed 's/^/| /' conftest.$ac_ext >&5
36875 ac_cv_type_ssize_t=no
36878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36880 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36881 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36882 if test $ac_cv_type_ssize_t = yes; then
36884 cat >>confdefs.h <<_ACEOF
36885 #define HAVE_SSIZE_T 1
36893 ac_cpp='$CXXCPP $CPPFLAGS'
36894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36897 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36898 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36899 if test "${wx_cv_size_t_is_uint+set}" = set; then
36900 echo $ECHO_N "(cached) $ECHO_C" >&6
36903 cat >conftest.$ac_ext <<_ACEOF
36906 cat confdefs.h >>conftest.$ac_ext
36907 cat >>conftest.$ac_ext <<_ACEOF
36908 /* end confdefs.h. */
36909 #include <stddef.h>
36916 struct Foo { void foo(size_t); void foo(unsigned int); };
36924 rm -f conftest.$ac_objext
36925 if { (ac_try="$ac_compile"
36926 case "(($ac_try" in
36927 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36928 *) ac_try_echo
=$ac_try;;
36930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36931 (eval "$ac_compile") 2>conftest.er1
36933 grep -v '^ *+' conftest.er1
>conftest.err
36935 cat conftest.err
>&5
36936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36937 (exit $ac_status); } && {
36938 test -z "$ac_cxx_werror_flag" ||
36939 test ! -s conftest.err
36940 } && test -s conftest.
$ac_objext; then
36941 wx_cv_size_t_is_uint
=no
36943 echo "$as_me: failed program was:" >&5
36944 sed 's/^/| /' conftest.
$ac_ext >&5
36946 wx_cv_size_t_is_uint
=yes
36950 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36954 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36955 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36957 if test "$wx_cv_size_t_is_uint" = "yes"; then
36958 cat >>confdefs.h
<<\_ACEOF
36959 #define wxSIZE_T_IS_UINT 1
36963 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36964 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36965 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36966 echo $ECHO_N "(cached) $ECHO_C" >&6
36968 cat >conftest.
$ac_ext <<_ACEOF
36971 cat confdefs.h
>>conftest.
$ac_ext
36972 cat >>conftest.
$ac_ext <<_ACEOF
36973 /* end confdefs.h. */
36974 #include <stddef.h>
36981 struct Foo { void foo(size_t); void foo(unsigned long); };
36989 rm -f conftest.
$ac_objext
36990 if { (ac_try
="$ac_compile"
36991 case "(($ac_try" in
36992 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36993 *) ac_try_echo=$ac_try;;
36995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36996 (eval "$ac_compile") 2>conftest.er1
36998 grep -v '^ *+' conftest.er1 >conftest.err
37000 cat conftest.err >&5
37001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37002 (exit $ac_status); } && {
37003 test -z "$ac_cxx_werror_flag" ||
37004 test ! -s conftest.err
37005 } && test -s conftest.$ac_objext; then
37006 wx_cv_size_t_is_ulong=no
37008 echo "$as_me: failed program was:" >&5
37009 sed 's/^/| /' conftest.$ac_ext >&5
37011 wx_cv_size_t_is_ulong=yes
37015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37018 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37019 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37021 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37022 cat >>confdefs.h <<\_ACEOF
37023 #define wxSIZE_T_IS_ULONG 1
37029 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
37030 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
37031 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37032 echo $ECHO_N "(cached) $ECHO_C" >&6
37034 cat >conftest.$ac_ext <<_ACEOF
37037 cat confdefs.h >>conftest.$ac_ext
37038 cat >>conftest.$ac_ext <<_ACEOF
37039 /* end confdefs.h. */
37047 struct Foo { void foo(wchar_t);
37048 void foo(unsigned short);
37049 void foo(unsigned int);
37050 void foo(unsigned long); };
37058 rm -f conftest.$ac_objext
37059 if { (ac_try="$ac_compile"
37060 case "(($ac_try" in
37061 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37062 *) ac_try_echo
=$ac_try;;
37064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37065 (eval "$ac_compile") 2>conftest.er1
37067 grep -v '^ *+' conftest.er1
>conftest.err
37069 cat conftest.err
>&5
37070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37071 (exit $ac_status); } && {
37072 test -z "$ac_cxx_werror_flag" ||
37073 test ! -s conftest.err
37074 } && test -s conftest.
$ac_objext; then
37075 wx_cv_wchar_t_is_separate_type
=yes
37077 echo "$as_me: failed program was:" >&5
37078 sed 's/^/| /' conftest.
$ac_ext >&5
37080 wx_cv_wchar_t_is_separate_type
=no
37084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37087 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37088 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37090 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37091 cat >>confdefs.h
<<\_ACEOF
37092 #define wxWCHAR_T_IS_REAL_TYPE 1
37096 cat >>confdefs.h
<<\_ACEOF
37097 #define wxWCHAR_T_IS_REAL_TYPE 0
37103 ac_cpp
='$CPP $CPPFLAGS'
37104 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37105 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37106 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37109 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37110 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37111 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37112 echo $ECHO_N "(cached) $ECHO_C" >&6
37115 cat >conftest.
$ac_ext <<_ACEOF
37118 cat confdefs.h
>>conftest.
$ac_ext
37119 cat >>conftest.
$ac_ext <<_ACEOF
37120 /* end confdefs.h. */
37134 rm -f conftest.
$ac_objext
37135 if { (ac_try
="$ac_compile"
37136 case "(($ac_try" in
37137 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37138 *) ac_try_echo=$ac_try;;
37140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37141 (eval "$ac_compile") 2>conftest.er1
37143 grep -v '^ *+' conftest.er1 >conftest.err
37145 cat conftest.err >&5
37146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37147 (exit $ac_status); } && {
37148 test -z "$ac_c_werror_flag" ||
37149 test ! -s conftest.err
37150 } && test -s conftest.$ac_objext; then
37152 wx_cv_struct_pw_gecos=yes
37155 echo "$as_me: failed program was:" >&5
37156 sed 's/^/| /' conftest.$ac_ext >&5
37159 wx_cv_struct_pw_gecos=no
37164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37168 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37169 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37171 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37172 cat >>confdefs.h <<\_ACEOF
37173 #define HAVE_PW_GECOS 1
37179 if test "$wxUSE_WCHAR_T" = "yes"; then
37180 cat >>confdefs.h <<\_ACEOF
37181 #define wxUSE_WCHAR_T 1
37188 for ac_func in wcslen
37190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37191 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37193 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37194 echo $ECHO_N "(cached) $ECHO_C" >&6
37196 cat >conftest.$ac_ext <<_ACEOF
37199 cat confdefs.h >>conftest.$ac_ext
37200 cat >>conftest.$ac_ext <<_ACEOF
37201 /* end confdefs.h. */
37202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37204 #define $ac_func innocuous_$ac_func
37206 /* System header to define __stub macros and hopefully few prototypes,
37207 which can conflict with char $ac_func (); below.
37208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37209 <limits.h> exists even on freestanding compilers. */
37212 # include <limits.h>
37214 # include <assert.h>
37219 /* Override any GCC internal prototype to avoid an error.
37220 Use char because int might match the return type of a GCC
37221 builtin and then its argument prototype would still apply. */
37226 /* The GNU C library defines this for functions which it implements
37227 to always fail with ENOSYS. Some functions are actually named
37228 something starting with __ and the normal name is an alias. */
37229 #if defined __stub_$ac_func || defined __stub___$ac_func
37236 return $ac_func ();
37241 rm -f conftest.$ac_objext conftest$ac_exeext
37242 if { (ac_try="$ac_link"
37243 case "(($ac_try" in
37244 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37245 *) ac_try_echo
=$ac_try;;
37247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37248 (eval "$ac_link") 2>conftest.er1
37250 grep -v '^ *+' conftest.er1
>conftest.err
37252 cat conftest.err
>&5
37253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37254 (exit $ac_status); } && {
37255 test -z "$ac_c_werror_flag" ||
37256 test ! -s conftest.err
37257 } && test -s conftest
$ac_exeext &&
37258 $as_test_x conftest
$ac_exeext; then
37259 eval "$as_ac_var=yes"
37261 echo "$as_me: failed program was:" >&5
37262 sed 's/^/| /' conftest.
$ac_ext >&5
37264 eval "$as_ac_var=no"
37267 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37268 conftest
$ac_exeext conftest.
$ac_ext
37270 ac_res
=`eval echo '${'$as_ac_var'}'`
37271 { echo "$as_me:$LINENO: result: $ac_res" >&5
37272 echo "${ECHO_T}$ac_res" >&6; }
37273 if test `eval echo '${'$as_ac_var'}'` = yes; then
37274 cat >>confdefs.h
<<_ACEOF
37275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37282 if test "$WCSLEN_FOUND" = 0; then
37283 if test "$TOOLKIT" = "MSW"; then
37284 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37285 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37286 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37287 echo $ECHO_N "(cached) $ECHO_C" >&6
37289 ac_check_lib_save_LIBS
=$LIBS
37290 LIBS
="-lmsvcrt $LIBS"
37291 cat >conftest.
$ac_ext <<_ACEOF
37294 cat confdefs.h
>>conftest.
$ac_ext
37295 cat >>conftest.
$ac_ext <<_ACEOF
37296 /* end confdefs.h. */
37298 /* Override any GCC internal prototype to avoid an error.
37299 Use char because int might match the return type of a GCC
37300 builtin and then its argument prototype would still apply. */
37313 rm -f conftest.
$ac_objext conftest
$ac_exeext
37314 if { (ac_try
="$ac_link"
37315 case "(($ac_try" in
37316 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37317 *) ac_try_echo=$ac_try;;
37319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37320 (eval "$ac_link") 2>conftest.er1
37322 grep -v '^ *+' conftest.er1 >conftest.err
37324 cat conftest.err >&5
37325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37326 (exit $ac_status); } && {
37327 test -z "$ac_c_werror_flag" ||
37328 test ! -s conftest.err
37329 } && test -s conftest$ac_exeext &&
37330 $as_test_x conftest$ac_exeext; then
37331 ac_cv_lib_msvcrt_wcslen=yes
37333 echo "$as_me: failed program was:" >&5
37334 sed 's/^/| /' conftest.$ac_ext >&5
37336 ac_cv_lib_msvcrt_wcslen=no
37339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37340 conftest$ac_exeext conftest.$ac_ext
37341 LIBS=$ac_check_lib_save_LIBS
37343 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37344 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37345 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37350 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37351 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37352 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37353 echo $ECHO_N "(cached) $ECHO_C" >&6
37355 ac_check_lib_save_LIBS=$LIBS
37357 cat >conftest.$ac_ext <<_ACEOF
37360 cat confdefs.h >>conftest.$ac_ext
37361 cat >>conftest.$ac_ext <<_ACEOF
37362 /* end confdefs.h. */
37364 /* Override any GCC internal prototype to avoid an error.
37365 Use char because int might match the return type of a GCC
37366 builtin and then its argument prototype would still apply. */
37379 rm -f conftest.$ac_objext conftest$ac_exeext
37380 if { (ac_try="$ac_link"
37381 case "(($ac_try" in
37382 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37383 *) ac_try_echo
=$ac_try;;
37385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37386 (eval "$ac_link") 2>conftest.er1
37388 grep -v '^ *+' conftest.er1
>conftest.err
37390 cat conftest.err
>&5
37391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37392 (exit $ac_status); } && {
37393 test -z "$ac_c_werror_flag" ||
37394 test ! -s conftest.err
37395 } && test -s conftest
$ac_exeext &&
37396 $as_test_x conftest
$ac_exeext; then
37397 ac_cv_lib_w_wcslen
=yes
37399 echo "$as_me: failed program was:" >&5
37400 sed 's/^/| /' conftest.
$ac_ext >&5
37402 ac_cv_lib_w_wcslen
=no
37405 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37406 conftest
$ac_exeext conftest.
$ac_ext
37407 LIBS
=$ac_check_lib_save_LIBS
37409 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37410 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37411 if test $ac_cv_lib_w_wcslen = yes; then
37421 if test "$WCSLEN_FOUND" = 1; then
37422 cat >>confdefs.h
<<\_ACEOF
37423 #define HAVE_WCSLEN 1
37429 for ac_func
in wcsdup
37431 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37432 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37434 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37435 echo $ECHO_N "(cached) $ECHO_C" >&6
37437 cat >conftest.
$ac_ext <<_ACEOF
37440 cat confdefs.h
>>conftest.
$ac_ext
37441 cat >>conftest.
$ac_ext <<_ACEOF
37442 /* end confdefs.h. */
37443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37445 #define $ac_func innocuous_$ac_func
37447 /* System header to define __stub macros and hopefully few prototypes,
37448 which can conflict with char $ac_func (); below.
37449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37450 <limits.h> exists even on freestanding compilers. */
37453 # include <limits.h>
37455 # include <assert.h>
37460 /* Override any GCC internal prototype to avoid an error.
37461 Use char because int might match the return type of a GCC
37462 builtin and then its argument prototype would still apply. */
37467 /* The GNU C library defines this for functions which it implements
37468 to always fail with ENOSYS. Some functions are actually named
37469 something starting with __ and the normal name is an alias. */
37470 #if defined __stub_$ac_func || defined __stub___$ac_func
37477 return $ac_func ();
37482 rm -f conftest.
$ac_objext conftest
$ac_exeext
37483 if { (ac_try
="$ac_link"
37484 case "(($ac_try" in
37485 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37486 *) ac_try_echo=$ac_try;;
37488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37489 (eval "$ac_link") 2>conftest.er1
37491 grep -v '^ *+' conftest.er1 >conftest.err
37493 cat conftest.err >&5
37494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37495 (exit $ac_status); } && {
37496 test -z "$ac_c_werror_flag" ||
37497 test ! -s conftest.err
37498 } && test -s conftest$ac_exeext &&
37499 $as_test_x conftest$ac_exeext; then
37500 eval "$as_ac_var=yes"
37502 echo "$as_me: failed program was:" >&5
37503 sed 's/^/| /' conftest.$ac_ext >&5
37505 eval "$as_ac_var=no"
37508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37509 conftest$ac_exeext conftest.$ac_ext
37511 ac_res=`eval echo '${'$as_ac_var'}'`
37512 { echo "$as_me:$LINENO: result: $ac_res" >&5
37513 echo "${ECHO_T}$ac_res" >&6; }
37514 if test `eval echo '${'$as_ac_var'}'` = yes; then
37515 cat >>confdefs.h <<_ACEOF
37516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37523 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37524 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37527 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37528 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37529 if test "${ac_cv_type_mbstate_t+set}" = set; then
37530 echo $ECHO_N "(cached) $ECHO_C" >&6
37532 cat >conftest.$ac_ext <<_ACEOF
37535 cat confdefs.h >>conftest.$ac_ext
37536 cat >>conftest.$ac_ext <<_ACEOF
37537 /* end confdefs.h. */
37540 typedef mbstate_t ac__type_new_;
37544 if ((ac__type_new_ *) 0)
37546 if (sizeof (ac__type_new_))
37552 rm -f conftest.$ac_objext
37553 if { (ac_try="$ac_compile"
37554 case "(($ac_try" in
37555 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37556 *) ac_try_echo
=$ac_try;;
37558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37559 (eval "$ac_compile") 2>conftest.er1
37561 grep -v '^ *+' conftest.er1
>conftest.err
37563 cat conftest.err
>&5
37564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37565 (exit $ac_status); } && {
37566 test -z "$ac_c_werror_flag" ||
37567 test ! -s conftest.err
37568 } && test -s conftest.
$ac_objext; then
37569 ac_cv_type_mbstate_t
=yes
37571 echo "$as_me: failed program was:" >&5
37572 sed 's/^/| /' conftest.
$ac_ext >&5
37574 ac_cv_type_mbstate_t
=no
37577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37579 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37580 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37581 if test $ac_cv_type_mbstate_t = yes; then
37583 cat >>confdefs.h
<<_ACEOF
37584 #define HAVE_MBSTATE_T 1
37588 for ac_func
in wcsrtombs
37590 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37591 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37593 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37594 echo $ECHO_N "(cached) $ECHO_C" >&6
37596 cat >conftest.
$ac_ext <<_ACEOF
37599 cat confdefs.h
>>conftest.
$ac_ext
37600 cat >>conftest.
$ac_ext <<_ACEOF
37601 /* end confdefs.h. */
37602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37604 #define $ac_func innocuous_$ac_func
37606 /* System header to define __stub macros and hopefully few prototypes,
37607 which can conflict with char $ac_func (); below.
37608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37609 <limits.h> exists even on freestanding compilers. */
37612 # include <limits.h>
37614 # include <assert.h>
37619 /* Override any GCC internal prototype to avoid an error.
37620 Use char because int might match the return type of a GCC
37621 builtin and then its argument prototype would still apply. */
37626 /* The GNU C library defines this for functions which it implements
37627 to always fail with ENOSYS. Some functions are actually named
37628 something starting with __ and the normal name is an alias. */
37629 #if defined __stub_$ac_func || defined __stub___$ac_func
37636 return $ac_func ();
37641 rm -f conftest.
$ac_objext conftest
$ac_exeext
37642 if { (ac_try
="$ac_link"
37643 case "(($ac_try" in
37644 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37645 *) ac_try_echo=$ac_try;;
37647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37648 (eval "$ac_link") 2>conftest.er1
37650 grep -v '^ *+' conftest.er1 >conftest.err
37652 cat conftest.err >&5
37653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37654 (exit $ac_status); } && {
37655 test -z "$ac_c_werror_flag" ||
37656 test ! -s conftest.err
37657 } && test -s conftest$ac_exeext &&
37658 $as_test_x conftest$ac_exeext; then
37659 eval "$as_ac_var=yes"
37661 echo "$as_me: failed program was:" >&5
37662 sed 's/^/| /' conftest.$ac_ext >&5
37664 eval "$as_ac_var=no"
37667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37668 conftest$ac_exeext conftest.$ac_ext
37670 ac_res=`eval echo '${'$as_ac_var'}'`
37671 { echo "$as_me:$LINENO: result: $ac_res" >&5
37672 echo "${ECHO_T}$ac_res" >&6; }
37673 if test `eval echo '${'$as_ac_var'}'` = yes; then
37674 cat >>confdefs.h <<_ACEOF
37675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37684 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37685 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37690 for ac_func in snprintf vsnprintf
37692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37693 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37695 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37696 echo $ECHO_N "(cached) $ECHO_C" >&6
37698 cat >conftest.$ac_ext <<_ACEOF
37701 cat confdefs.h >>conftest.$ac_ext
37702 cat >>conftest.$ac_ext <<_ACEOF
37703 /* end confdefs.h. */
37704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37706 #define $ac_func innocuous_$ac_func
37708 /* System header to define __stub macros and hopefully few prototypes,
37709 which can conflict with char $ac_func (); below.
37710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37711 <limits.h> exists even on freestanding compilers. */
37714 # include <limits.h>
37716 # include <assert.h>
37721 /* Override any GCC internal prototype to avoid an error.
37722 Use char because int might match the return type of a GCC
37723 builtin and then its argument prototype would still apply. */
37728 /* The GNU C library defines this for functions which it implements
37729 to always fail with ENOSYS. Some functions are actually named
37730 something starting with __ and the normal name is an alias. */
37731 #if defined __stub_$ac_func || defined __stub___$ac_func
37738 return $ac_func ();
37743 rm -f conftest.$ac_objext conftest$ac_exeext
37744 if { (ac_try="$ac_link"
37745 case "(($ac_try" in
37746 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37747 *) ac_try_echo
=$ac_try;;
37749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37750 (eval "$ac_link") 2>conftest.er1
37752 grep -v '^ *+' conftest.er1
>conftest.err
37754 cat conftest.err
>&5
37755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37756 (exit $ac_status); } && {
37757 test -z "$ac_c_werror_flag" ||
37758 test ! -s conftest.err
37759 } && test -s conftest
$ac_exeext &&
37760 $as_test_x conftest
$ac_exeext; then
37761 eval "$as_ac_var=yes"
37763 echo "$as_me: failed program was:" >&5
37764 sed 's/^/| /' conftest.
$ac_ext >&5
37766 eval "$as_ac_var=no"
37769 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37770 conftest
$ac_exeext conftest.
$ac_ext
37772 ac_res
=`eval echo '${'$as_ac_var'}'`
37773 { echo "$as_me:$LINENO: result: $ac_res" >&5
37774 echo "${ECHO_T}$ac_res" >&6; }
37775 if test `eval echo '${'$as_ac_var'}'` = yes; then
37776 cat >>confdefs.h
<<_ACEOF
37777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37784 if test "$ac_cv_func_vsnprintf" = "yes"; then
37785 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37786 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37787 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37788 echo $ECHO_N "(cached) $ECHO_C" >&6
37791 cat >conftest.
$ac_ext <<_ACEOF
37794 cat confdefs.h
>>conftest.
$ac_ext
37795 cat >>conftest.
$ac_ext <<_ACEOF
37796 /* end confdefs.h. */
37799 #include <stdarg.h>
37801 #if __MSL__ >= 0x6000
37803 using namespace std;
37813 vsnprintf(buf, 10u, "%s", ap);
37819 rm -f conftest.
$ac_objext
37820 if { (ac_try
="$ac_compile"
37821 case "(($ac_try" in
37822 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37823 *) ac_try_echo=$ac_try;;
37825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37826 (eval "$ac_compile") 2>conftest.er1
37828 grep -v '^ *+' conftest.er1 >conftest.err
37830 cat conftest.err >&5
37831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37832 (exit $ac_status); } && {
37833 test -z "$ac_c_werror_flag" ||
37834 test ! -s conftest.err
37835 } && test -s conftest.$ac_objext; then
37836 wx_cv_func_vsnprintf_decl=yes
37838 echo "$as_me: failed program was:" >&5
37839 sed 's/^/| /' conftest.$ac_ext >&5
37841 wx_cv_func_vsnprintf_decl=no
37845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37849 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37850 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37852 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37853 cat >>confdefs.h <<\_ACEOF
37854 #define HAVE_VSNPRINTF_DECL 1
37858 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37859 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37860 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37861 echo $ECHO_N "(cached) $ECHO_C" >&6
37864 cat >conftest.$ac_ext <<_ACEOF
37867 cat confdefs.h >>conftest.$ac_ext
37868 cat >>conftest.$ac_ext <<_ACEOF
37869 /* end confdefs.h. */
37872 #include <stdarg.h>
37874 #if __MSL__ >= 0x6000
37876 using namespace std;
37886 const char *fmt = "%s";
37887 vsnprintf(buf, 10u, fmt, ap);
37893 rm -f conftest.$ac_objext
37894 if { (ac_try="$ac_compile"
37895 case "(($ac_try" in
37896 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37897 *) ac_try_echo
=$ac_try;;
37899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37900 (eval "$ac_compile") 2>conftest.er1
37902 grep -v '^ *+' conftest.er1
>conftest.err
37904 cat conftest.err
>&5
37905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37906 (exit $ac_status); } && {
37907 test -z "$ac_c_werror_flag" ||
37908 test ! -s conftest.err
37909 } && test -s conftest.
$ac_objext; then
37910 wx_cv_func_broken_vsnprintf_decl
=no
37912 echo "$as_me: failed program was:" >&5
37913 sed 's/^/| /' conftest.
$ac_ext >&5
37915 wx_cv_func_broken_vsnprintf_decl
=yes
37919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37923 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37924 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37926 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37927 cat >>confdefs.h
<<\_ACEOF
37928 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37935 if test "$ac_cv_func_snprintf" = "yes"; then
37936 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37937 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37938 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37939 echo $ECHO_N "(cached) $ECHO_C" >&6
37942 cat >conftest.
$ac_ext <<_ACEOF
37945 cat confdefs.h
>>conftest.
$ac_ext
37946 cat >>conftest.
$ac_ext <<_ACEOF
37947 /* end confdefs.h. */
37950 #include <stdarg.h>
37952 #if __MSL__ >= 0x6000
37954 using namespace std;
37963 snprintf(buf, 10u, "%s", "wx");
37969 rm -f conftest.
$ac_objext
37970 if { (ac_try
="$ac_compile"
37971 case "(($ac_try" in
37972 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37973 *) ac_try_echo=$ac_try;;
37975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37976 (eval "$ac_compile") 2>conftest.er1
37978 grep -v '^ *+' conftest.er1 >conftest.err
37980 cat conftest.err >&5
37981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37982 (exit $ac_status); } && {
37983 test -z "$ac_c_werror_flag" ||
37984 test ! -s conftest.err
37985 } && test -s conftest.$ac_objext; then
37986 wx_cv_func_snprintf_decl=yes
37988 echo "$as_me: failed program was:" >&5
37989 sed 's/^/| /' conftest.$ac_ext >&5
37991 wx_cv_func_snprintf_decl=no
37995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37999 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38000 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38002 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38003 cat >>confdefs.h <<\_ACEOF
38004 #define HAVE_SNPRINTF_DECL 1
38009 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38011 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38012 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38013 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38014 echo $ECHO_N "(cached) $ECHO_C" >&6
38017 if test "$cross_compiling" = yes; then
38019 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38020 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38021 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38022 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38023 wx_cv_func_snprintf_pos_params=no
38027 cat >conftest.$ac_ext <<_ACEOF
38030 cat confdefs.h >>conftest.$ac_ext
38031 cat >>conftest.$ac_ext <<_ACEOF
38032 /* end confdefs.h. */
38039 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38040 if (strcmp ("2 3 1", buffer) == 0)
38046 rm -f conftest$ac_exeext
38047 if { (ac_try="$ac_link"
38048 case "(($ac_try" in
38049 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38050 *) ac_try_echo
=$ac_try;;
38052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38053 (eval "$ac_link") 2>&5
38055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38056 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
38057 { (case "(($ac_try" in
38058 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38059 *) ac_try_echo=$ac_try;;
38061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38062 (eval "$ac_try") 2>&5
38064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38065 (exit $ac_status); }; }; then
38066 wx_cv_func_snprintf_pos_params=no
38068 echo "$as_me: program exited with status $ac_status" >&5
38069 echo "$as_me: failed program was:" >&5
38070 sed 's/^/| /' conftest.$ac_ext >&5
38072 ( exit $ac_status )
38073 wx_cv_func_snprintf_pos_params=yes
38075 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38082 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38083 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38085 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38086 cat >>confdefs.h <<\_ACEOF
38087 #define HAVE_UNIX98_PRINTF 1
38094 if test "$wxUSE_UNICODE" = yes; then
38096 wchar_headers="#include <stdio.h>
38097 #include <wchar.h>"
38101 for ac_header in widec.h
38103 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38104 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38106 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38107 echo $ECHO_N "(cached) $ECHO_C" >&6
38109 cat >conftest.$ac_ext <<_ACEOF
38112 cat confdefs.h >>conftest.$ac_ext
38113 cat >>conftest.$ac_ext <<_ACEOF
38114 /* end confdefs.h. */
38115 $ac_includes_default
38117 #include <$ac_header>
38119 rm -f conftest.$ac_objext
38120 if { (ac_try="$ac_compile"
38121 case "(($ac_try" in
38122 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38123 *) ac_try_echo
=$ac_try;;
38125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38126 (eval "$ac_compile") 2>conftest.er1
38128 grep -v '^ *+' conftest.er1
>conftest.err
38130 cat conftest.err
>&5
38131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38132 (exit $ac_status); } && {
38133 test -z "$ac_c_werror_flag" ||
38134 test ! -s conftest.err
38135 } && test -s conftest.
$ac_objext; then
38136 eval "$as_ac_Header=yes"
38138 echo "$as_me: failed program was:" >&5
38139 sed 's/^/| /' conftest.
$ac_ext >&5
38141 eval "$as_ac_Header=no"
38144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38146 ac_res
=`eval echo '${'$as_ac_Header'}'`
38147 { echo "$as_me:$LINENO: result: $ac_res" >&5
38148 echo "${ECHO_T}$ac_res" >&6; }
38149 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38150 cat >>confdefs.h
<<_ACEOF
38151 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38158 if test "$ac_cv_header_widec_h" = "yes"; then
38159 wchar_headers
="$wchar_headers
38160 #include <widec.h>"
38165 for wx_func
in putws fputws wprintf vswprintf
38167 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38168 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38169 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38170 echo $ECHO_N "(cached) $ECHO_C" >&6
38173 cat >conftest.
$ac_ext <<_ACEOF
38177 cat confdefs.h
>>conftest.
$ac_ext
38178 cat >>conftest.
$ac_ext <<_ACEOF
38179 /* end confdefs.h. */
38182 $ac_includes_default
38198 rm -f conftest.
$ac_objext conftest
$ac_exeext
38199 if { (ac_try
="$ac_link"
38200 case "(($ac_try" in
38201 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38202 *) ac_try_echo=$ac_try;;
38204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38205 (eval "$ac_link") 2>conftest.er1
38207 grep -v '^ *+' conftest.er1 >conftest.err
38209 cat conftest.err >&5
38210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38211 (exit $ac_status); } && {
38212 test -z "$ac_c_werror_flag" ||
38213 test ! -s conftest.err
38214 } && test -s conftest$ac_exeext &&
38215 $as_test_x conftest$ac_exeext; then
38216 eval wx_cv_func_$wx_func=yes
38218 echo "$as_me: failed program was:" >&5
38219 sed 's/^/| /' conftest.$ac_ext >&5
38221 eval wx_cv_func_$wx_func=no
38224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38225 conftest$ac_exeext conftest.$ac_ext
38228 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38229 { echo "$as_me:$LINENO: result: $ac_res" >&5
38230 echo "${ECHO_T}$ac_res" >&6; }
38232 if eval test \$wx_cv_func_$wx_func = yes
38234 cat >>confdefs.h <<_ACEOF
38235 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38246 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38247 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38248 cat >conftest.$ac_ext <<_ACEOF
38251 cat confdefs.h >>conftest.$ac_ext
38252 cat >>conftest.$ac_ext <<_ACEOF
38253 /* end confdefs.h. */
38263 rm -f conftest.$ac_objext
38264 if { (ac_try="$ac_compile"
38265 case "(($ac_try" in
38266 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38267 *) ac_try_echo
=$ac_try;;
38269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38270 (eval "$ac_compile") 2>conftest.er1
38272 grep -v '^ *+' conftest.er1
>conftest.err
38274 cat conftest.err
>&5
38275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38276 (exit $ac_status); } && {
38277 test -z "$ac_c_werror_flag" ||
38278 test ! -s conftest.err
38279 } && test -s conftest.
$ac_objext; then
38280 { echo "$as_me:$LINENO: result: yes" >&5
38281 echo "${ECHO_T}yes" >&6; }
38282 cat >>confdefs.h
<<\_ACEOF
38283 #define HAVE__VSNWPRINTF 1
38287 echo "$as_me: failed program was:" >&5
38288 sed 's/^/| /' conftest.
$ac_ext >&5
38290 { echo "$as_me:$LINENO: result: no" >&5
38291 echo "${ECHO_T}no" >&6; }
38294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
38297 if test "$wxUSE_FILE" = "yes"; then
38299 for wx_func
in fsync
38301 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38302 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38303 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38304 echo $ECHO_N "(cached) $ECHO_C" >&6
38307 cat >conftest.
$ac_ext <<_ACEOF
38311 cat confdefs.h
>>conftest.
$ac_ext
38312 cat >>conftest.
$ac_ext <<_ACEOF
38313 /* end confdefs.h. */
38316 $ac_includes_default
38332 rm -f conftest.
$ac_objext conftest
$ac_exeext
38333 if { (ac_try
="$ac_link"
38334 case "(($ac_try" in
38335 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38336 *) ac_try_echo=$ac_try;;
38338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38339 (eval "$ac_link") 2>conftest.er1
38341 grep -v '^ *+' conftest.er1 >conftest.err
38343 cat conftest.err >&5
38344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38345 (exit $ac_status); } && {
38346 test -z "$ac_c_werror_flag" ||
38347 test ! -s conftest.err
38348 } && test -s conftest$ac_exeext &&
38349 $as_test_x conftest$ac_exeext; then
38350 eval wx_cv_func_$wx_func=yes
38352 echo "$as_me: failed program was:" >&5
38353 sed 's/^/| /' conftest.$ac_ext >&5
38355 eval wx_cv_func_$wx_func=no
38358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38359 conftest$ac_exeext conftest.$ac_ext
38362 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38363 { echo "$as_me:$LINENO: result: $ac_res" >&5
38364 echo "${ECHO_T}$ac_res" >&6; }
38366 if eval test \$wx_cv_func_$wx_func = yes
38368 cat >>confdefs.h <<_ACEOF
38369 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38382 ac_cpp='$CXXCPP $CPPFLAGS'
38383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38388 for wx_func in round
38390 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38391 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38392 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38393 echo $ECHO_N "(cached) $ECHO_C" >&6
38396 cat >conftest.$ac_ext <<_ACEOF
38400 cat confdefs.h >>conftest.$ac_ext
38401 cat >>conftest.$ac_ext <<_ACEOF
38402 /* end confdefs.h. */
38405 $ac_includes_default
38421 rm -f conftest.$ac_objext conftest$ac_exeext
38422 if { (ac_try="$ac_link"
38423 case "(($ac_try" in
38424 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38425 *) ac_try_echo
=$ac_try;;
38427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38428 (eval "$ac_link") 2>conftest.er1
38430 grep -v '^ *+' conftest.er1
>conftest.err
38432 cat conftest.err
>&5
38433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38434 (exit $ac_status); } && {
38435 test -z "$ac_cxx_werror_flag" ||
38436 test ! -s conftest.err
38437 } && test -s conftest
$ac_exeext &&
38438 $as_test_x conftest
$ac_exeext; then
38439 eval wx_cv_func_
$wx_func=yes
38441 echo "$as_me: failed program was:" >&5
38442 sed 's/^/| /' conftest.
$ac_ext >&5
38444 eval wx_cv_func_
$wx_func=no
38447 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38448 conftest
$ac_exeext conftest.
$ac_ext
38451 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38452 { echo "$as_me:$LINENO: result: $ac_res" >&5
38453 echo "${ECHO_T}$ac_res" >&6; }
38455 if eval test \
$wx_cv_func_$wx_func = yes
38457 cat >>confdefs.h
<<_ACEOF
38458 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38469 ac_cpp
='$CPP $CPPFLAGS'
38470 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38471 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38472 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38475 if test "$TOOLKIT" != "MSW"; then
38481 # Check whether --with-libiconv-prefix was given.
38482 if test "${with_libiconv_prefix+set}" = set; then
38483 withval
=$with_libiconv_prefix;
38484 for dir
in `echo "$withval" | tr : ' '`; do
38485 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
38486 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
38492 { echo "$as_me:$LINENO: checking for iconv" >&5
38493 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38494 if test "${am_cv_func_iconv+set}" = set; then
38495 echo $ECHO_N "(cached) $ECHO_C" >&6
38498 am_cv_func_iconv
="no, consider installing GNU libiconv"
38500 cat >conftest.
$ac_ext <<_ACEOF
38503 cat confdefs.h
>>conftest.
$ac_ext
38504 cat >>conftest.
$ac_ext <<_ACEOF
38505 /* end confdefs.h. */
38506 #include <stdlib.h>
38511 iconv_t cd = iconv_open("","");
38512 iconv(cd,NULL,NULL,NULL,NULL);
38518 rm -f conftest.
$ac_objext conftest
$ac_exeext
38519 if { (ac_try
="$ac_link"
38520 case "(($ac_try" in
38521 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38522 *) ac_try_echo=$ac_try;;
38524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38525 (eval "$ac_link") 2>conftest.er1
38527 grep -v '^ *+' conftest.er1 >conftest.err
38529 cat conftest.err >&5
38530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38531 (exit $ac_status); } && {
38532 test -z "$ac_c_werror_flag" ||
38533 test ! -s conftest.err
38534 } && test -s conftest$ac_exeext &&
38535 $as_test_x conftest$ac_exeext; then
38536 am_cv_func_iconv=yes
38538 echo "$as_me: failed program was:" >&5
38539 sed 's/^/| /' conftest.$ac_ext >&5
38544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38545 conftest$ac_exeext conftest.$ac_ext
38546 if test "$am_cv_func_iconv" != yes; then
38547 am_save_LIBS="$LIBS"
38548 LIBS="$LIBS -liconv"
38549 cat >conftest.$ac_ext <<_ACEOF
38552 cat confdefs.h >>conftest.$ac_ext
38553 cat >>conftest.$ac_ext <<_ACEOF
38554 /* end confdefs.h. */
38555 #include <stdlib.h>
38560 iconv_t cd = iconv_open("","");
38561 iconv(cd,NULL,NULL,NULL,NULL);
38567 rm -f conftest.$ac_objext conftest$ac_exeext
38568 if { (ac_try="$ac_link"
38569 case "(($ac_try" in
38570 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38571 *) ac_try_echo
=$ac_try;;
38573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38574 (eval "$ac_link") 2>conftest.er1
38576 grep -v '^ *+' conftest.er1
>conftest.err
38578 cat conftest.err
>&5
38579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38580 (exit $ac_status); } && {
38581 test -z "$ac_c_werror_flag" ||
38582 test ! -s conftest.err
38583 } && test -s conftest
$ac_exeext &&
38584 $as_test_x conftest
$ac_exeext; then
38585 am_cv_lib_iconv
=yes
38586 am_cv_func_iconv
=yes
38588 echo "$as_me: failed program was:" >&5
38589 sed 's/^/| /' conftest.
$ac_ext >&5
38594 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38595 conftest
$ac_exeext conftest.
$ac_ext
38596 LIBS
="$am_save_LIBS"
38600 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38601 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38602 if test "$am_cv_func_iconv" = yes; then
38604 cat >>confdefs.h
<<\_ACEOF
38605 #define HAVE_ICONV 1
38608 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38609 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38610 if test "${wx_cv_func_iconv_const+set}" = set; then
38611 echo $ECHO_N "(cached) $ECHO_C" >&6
38613 cat >conftest.
$ac_ext <<_ACEOF
38616 cat confdefs.h
>>conftest.
$ac_ext
38617 cat >>conftest.
$ac_ext <<_ACEOF
38618 /* end confdefs.h. */
38620 #include <stdlib.h>
38626 #if defined(__STDC__) || defined(__cplusplus)
38627 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38640 rm -f conftest.
$ac_objext
38641 if { (ac_try
="$ac_compile"
38642 case "(($ac_try" in
38643 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38644 *) ac_try_echo=$ac_try;;
38646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38647 (eval "$ac_compile") 2>conftest.er1
38649 grep -v '^ *+' conftest.er1 >conftest.err
38651 cat conftest.err >&5
38652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38653 (exit $ac_status); } && {
38654 test -z "$ac_c_werror_flag" ||
38655 test ! -s conftest.err
38656 } && test -s conftest.$ac_objext; then
38657 wx_cv_func_iconv_const="no"
38659 echo "$as_me: failed program was:" >&5
38660 sed 's/^/| /' conftest.$ac_ext >&5
38662 wx_cv_func_iconv_const="yes"
38666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38669 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38670 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38673 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38674 iconv_const="const"
38678 cat >>confdefs.h <<_ACEOF
38679 #define ICONV_CONST $iconv_const
38684 if test "$am_cv_lib_iconv" = yes; then
38689 LIBS="$LIBICONV $LIBS"
38691 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38693 for ac_func in sigaction
38695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38696 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38698 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38699 echo $ECHO_N "(cached) $ECHO_C" >&6
38701 cat >conftest.$ac_ext <<_ACEOF
38704 cat confdefs.h >>conftest.$ac_ext
38705 cat >>conftest.$ac_ext <<_ACEOF
38706 /* end confdefs.h. */
38707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38709 #define $ac_func innocuous_$ac_func
38711 /* System header to define __stub macros and hopefully few prototypes,
38712 which can conflict with char $ac_func (); below.
38713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38714 <limits.h> exists even on freestanding compilers. */
38717 # include <limits.h>
38719 # include <assert.h>
38724 /* Override any GCC internal prototype to avoid an error.
38725 Use char because int might match the return type of a GCC
38726 builtin and then its argument prototype would still apply. */
38731 /* The GNU C library defines this for functions which it implements
38732 to always fail with ENOSYS. Some functions are actually named
38733 something starting with __ and the normal name is an alias. */
38734 #if defined __stub_$ac_func || defined __stub___$ac_func
38741 return $ac_func ();
38746 rm -f conftest.$ac_objext conftest$ac_exeext
38747 if { (ac_try="$ac_link"
38748 case "(($ac_try" in
38749 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38750 *) ac_try_echo
=$ac_try;;
38752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38753 (eval "$ac_link") 2>conftest.er1
38755 grep -v '^ *+' conftest.er1
>conftest.err
38757 cat conftest.err
>&5
38758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38759 (exit $ac_status); } && {
38760 test -z "$ac_c_werror_flag" ||
38761 test ! -s conftest.err
38762 } && test -s conftest
$ac_exeext &&
38763 $as_test_x conftest
$ac_exeext; then
38764 eval "$as_ac_var=yes"
38766 echo "$as_me: failed program was:" >&5
38767 sed 's/^/| /' conftest.
$ac_ext >&5
38769 eval "$as_ac_var=no"
38772 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38773 conftest
$ac_exeext conftest.
$ac_ext
38775 ac_res
=`eval echo '${'$as_ac_var'}'`
38776 { echo "$as_me:$LINENO: result: $ac_res" >&5
38777 echo "${ECHO_T}$ac_res" >&6; }
38778 if test `eval echo '${'$as_ac_var'}'` = yes; then
38779 cat >>confdefs.h
<<_ACEOF
38780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38787 if test "$ac_cv_func_sigaction" = "no"; then
38788 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38789 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38790 wxUSE_ON_FATAL_EXCEPTION
=no
38793 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38794 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38795 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38796 if test "${wx_cv_type_sa_handler+set}" = set; then
38797 echo $ECHO_N "(cached) $ECHO_C" >&6
38801 ac_cpp
='$CXXCPP $CPPFLAGS'
38802 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38803 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38804 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38806 cat >conftest.
$ac_ext <<_ACEOF
38809 cat confdefs.h
>>conftest.
$ac_ext
38810 cat >>conftest.
$ac_ext <<_ACEOF
38811 /* end confdefs.h. */
38812 #include <signal.h>
38817 extern void testSigHandler(int);
38819 struct sigaction sa;
38820 sa.sa_handler = testSigHandler;
38826 rm -f conftest.
$ac_objext
38827 if { (ac_try
="$ac_compile"
38828 case "(($ac_try" in
38829 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38830 *) ac_try_echo=$ac_try;;
38832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38833 (eval "$ac_compile") 2>conftest.er1
38835 grep -v '^ *+' conftest.er1 >conftest.err
38837 cat conftest.err >&5
38838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38839 (exit $ac_status); } && {
38840 test -z "$ac_cxx_werror_flag" ||
38841 test ! -s conftest.err
38842 } && test -s conftest.$ac_objext; then
38844 wx_cv_type_sa_handler=int
38847 echo "$as_me: failed program was:" >&5
38848 sed 's/^/| /' conftest.$ac_ext >&5
38851 wx_cv_type_sa_handler=void
38855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38857 ac_cpp='$CPP $CPPFLAGS'
38858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38864 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38865 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38867 cat >>confdefs.h <<_ACEOF
38868 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38874 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38875 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38876 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38877 if test "${wx_cv_func_backtrace+set}" = set; then
38878 echo $ECHO_N "(cached) $ECHO_C" >&6
38882 ac_cpp='$CXXCPP $CPPFLAGS'
38883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38887 cat >conftest.$ac_ext <<_ACEOF
38890 cat confdefs.h >>conftest.$ac_ext
38891 cat >>conftest.$ac_ext <<_ACEOF
38892 /* end confdefs.h. */
38893 #include <execinfo.h>
38901 backtrace(trace, 1);
38902 messages = backtrace_symbols(trace, 1);
38908 rm -f conftest.$ac_objext
38909 if { (ac_try="$ac_compile"
38910 case "(($ac_try" in
38911 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38912 *) ac_try_echo
=$ac_try;;
38914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38915 (eval "$ac_compile") 2>conftest.er1
38917 grep -v '^ *+' conftest.er1
>conftest.err
38919 cat conftest.err
>&5
38920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38921 (exit $ac_status); } && {
38922 test -z "$ac_cxx_werror_flag" ||
38923 test ! -s conftest.err
38924 } && test -s conftest.
$ac_objext; then
38925 wx_cv_func_backtrace
=yes
38927 echo "$as_me: failed program was:" >&5
38928 sed 's/^/| /' conftest.
$ac_ext >&5
38930 wx_cv_func_backtrace
=no
38934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38936 ac_cpp
='$CPP $CPPFLAGS'
38937 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38938 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38939 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38944 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38945 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38948 if test "$wx_cv_func_backtrace" = "no"; then
38949 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38950 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38951 wxUSE_STACKWALKER
=no
38953 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38954 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38955 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38956 echo $ECHO_N "(cached) $ECHO_C" >&6
38960 ac_cpp
='$CXXCPP $CPPFLAGS'
38961 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38962 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38963 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38965 cat >conftest.
$ac_ext <<_ACEOF
38968 cat confdefs.h
>>conftest.
$ac_ext
38969 cat >>conftest.
$ac_ext <<_ACEOF
38970 /* end confdefs.h. */
38971 #include <cxxabi.h>
38977 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38983 rm -f conftest.
$ac_objext conftest
$ac_exeext
38984 if { (ac_try
="$ac_link"
38985 case "(($ac_try" in
38986 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38987 *) ac_try_echo=$ac_try;;
38989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38990 (eval "$ac_link") 2>conftest.er1
38992 grep -v '^ *+' conftest.er1 >conftest.err
38994 cat conftest.err >&5
38995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38996 (exit $ac_status); } && {
38997 test -z "$ac_cxx_werror_flag" ||
38998 test ! -s conftest.err
38999 } && test -s conftest$ac_exeext &&
39000 $as_test_x conftest$ac_exeext; then
39001 wx_cv_func_cxa_demangle=yes
39003 echo "$as_me: failed program was:" >&5
39004 sed 's/^/| /' conftest.$ac_ext >&5
39006 wx_cv_func_cxa_demangle=no
39010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39011 conftest$ac_exeext conftest.$ac_ext
39013 ac_cpp='$CPP $CPPFLAGS'
39014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39021 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39022 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39024 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39025 cat >>confdefs.h <<\_ACEOF
39026 #define HAVE_CXA_DEMANGLE 1
39033 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
39034 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39035 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39036 wxUSE_STACKWALKER=no
39042 for ac_func in mkstemp mktemp
39044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39045 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39047 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39048 echo $ECHO_N "(cached) $ECHO_C" >&6
39050 cat >conftest.$ac_ext <<_ACEOF
39053 cat confdefs.h >>conftest.$ac_ext
39054 cat >>conftest.$ac_ext <<_ACEOF
39055 /* end confdefs.h. */
39056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39058 #define $ac_func innocuous_$ac_func
39060 /* System header to define __stub macros and hopefully few prototypes,
39061 which can conflict with char $ac_func (); below.
39062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39063 <limits.h> exists even on freestanding compilers. */
39066 # include <limits.h>
39068 # include <assert.h>
39073 /* Override any GCC internal prototype to avoid an error.
39074 Use char because int might match the return type of a GCC
39075 builtin and then its argument prototype would still apply. */
39080 /* The GNU C library defines this for functions which it implements
39081 to always fail with ENOSYS. Some functions are actually named
39082 something starting with __ and the normal name is an alias. */
39083 #if defined __stub_$ac_func || defined __stub___$ac_func
39090 return $ac_func ();
39095 rm -f conftest.$ac_objext conftest$ac_exeext
39096 if { (ac_try="$ac_link"
39097 case "(($ac_try" in
39098 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39099 *) ac_try_echo
=$ac_try;;
39101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39102 (eval "$ac_link") 2>conftest.er1
39104 grep -v '^ *+' conftest.er1
>conftest.err
39106 cat conftest.err
>&5
39107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39108 (exit $ac_status); } && {
39109 test -z "$ac_c_werror_flag" ||
39110 test ! -s conftest.err
39111 } && test -s conftest
$ac_exeext &&
39112 $as_test_x conftest
$ac_exeext; then
39113 eval "$as_ac_var=yes"
39115 echo "$as_me: failed program was:" >&5
39116 sed 's/^/| /' conftest.
$ac_ext >&5
39118 eval "$as_ac_var=no"
39121 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39122 conftest
$ac_exeext conftest.
$ac_ext
39124 ac_res
=`eval echo '${'$as_ac_var'}'`
39125 { echo "$as_me:$LINENO: result: $ac_res" >&5
39126 echo "${ECHO_T}$ac_res" >&6; }
39127 if test `eval echo '${'$as_ac_var'}'` = yes; then
39128 cat >>confdefs.h
<<_ACEOF
39129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39136 { echo "$as_me:$LINENO: checking for statfs" >&5
39137 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39138 if test "${wx_cv_func_statfs+set}" = set; then
39139 echo $ECHO_N "(cached) $ECHO_C" >&6
39141 cat >conftest.
$ac_ext <<_ACEOF
39144 cat confdefs.h
>>conftest.
$ac_ext
39145 cat >>conftest.
$ac_ext <<_ACEOF
39146 /* end confdefs.h. */
39148 #if defined(__BSD__)
39149 #include <sys/param.h>
39150 #include <sys/mount.h>
39152 #include <sys/vfs.h>
39170 rm -f conftest.
$ac_objext
39171 if { (ac_try
="$ac_compile"
39172 case "(($ac_try" in
39173 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39174 *) ac_try_echo=$ac_try;;
39176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39177 (eval "$ac_compile") 2>conftest.er1
39179 grep -v '^ *+' conftest.er1 >conftest.err
39181 cat conftest.err >&5
39182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39183 (exit $ac_status); } && {
39184 test -z "$ac_c_werror_flag" ||
39185 test ! -s conftest.err
39186 } && test -s conftest.$ac_objext; then
39187 wx_cv_func_statfs=yes
39189 echo "$as_me: failed program was:" >&5
39190 sed 's/^/| /' conftest.$ac_ext >&5
39192 wx_cv_func_statfs=no
39196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39199 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39200 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39202 if test "$wx_cv_func_statfs" = "yes"; then
39203 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39204 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39205 if test "${wx_cv_func_statfs_decl+set}" = set; then
39206 echo $ECHO_N "(cached) $ECHO_C" >&6
39209 ac_cpp='$CXXCPP $CPPFLAGS'
39210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39214 cat >conftest.$ac_ext <<_ACEOF
39217 cat confdefs.h >>conftest.$ac_ext
39218 cat >>conftest.$ac_ext <<_ACEOF
39219 /* end confdefs.h. */
39221 #if defined(__BSD__)
39222 #include <sys/param.h>
39223 #include <sys/mount.h>
39225 #include <sys/vfs.h>
39239 rm -f conftest.$ac_objext
39240 if { (ac_try="$ac_compile"
39241 case "(($ac_try" in
39242 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39243 *) ac_try_echo
=$ac_try;;
39245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39246 (eval "$ac_compile") 2>conftest.er1
39248 grep -v '^ *+' conftest.er1
>conftest.err
39250 cat conftest.err
>&5
39251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39252 (exit $ac_status); } && {
39253 test -z "$ac_cxx_werror_flag" ||
39254 test ! -s conftest.err
39255 } && test -s conftest.
$ac_objext; then
39256 wx_cv_func_statfs_decl
=yes
39258 echo "$as_me: failed program was:" >&5
39259 sed 's/^/| /' conftest.
$ac_ext >&5
39261 wx_cv_func_statfs_decl
=no
39265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39267 ac_cpp
='$CPP $CPPFLAGS'
39268 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39269 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39270 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39274 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39275 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39277 if test "$wx_cv_func_statfs_decl" = "yes"; then
39278 cat >>confdefs.h
<<\_ACEOF
39279 #define HAVE_STATFS_DECL 1
39284 wx_cv_type_statvfs_t
="struct statfs"
39285 cat >>confdefs.h
<<\_ACEOF
39286 #define HAVE_STATFS 1
39290 { echo "$as_me:$LINENO: checking for statvfs" >&5
39291 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39292 if test "${wx_cv_func_statvfs+set}" = set; then
39293 echo $ECHO_N "(cached) $ECHO_C" >&6
39295 cat >conftest.
$ac_ext <<_ACEOF
39298 cat confdefs.h
>>conftest.
$ac_ext
39299 cat >>conftest.
$ac_ext <<_ACEOF
39300 /* end confdefs.h. */
39302 #include <stddef.h>
39303 #include <sys/statvfs.h>
39309 statvfs("/", NULL);
39315 rm -f conftest.
$ac_objext
39316 if { (ac_try
="$ac_compile"
39317 case "(($ac_try" in
39318 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39319 *) ac_try_echo=$ac_try;;
39321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39322 (eval "$ac_compile") 2>conftest.er1
39324 grep -v '^ *+' conftest.er1 >conftest.err
39326 cat conftest.err >&5
39327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39328 (exit $ac_status); } && {
39329 test -z "$ac_c_werror_flag" ||
39330 test ! -s conftest.err
39331 } && test -s conftest.$ac_objext; then
39332 wx_cv_func_statvfs=yes
39334 echo "$as_me: failed program was:" >&5
39335 sed 's/^/| /' conftest.$ac_ext >&5
39337 wx_cv_func_statvfs=no
39341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39344 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39345 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39347 if test "$wx_cv_func_statvfs" = "yes"; then
39348 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39349 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39350 if test "${wx_cv_type_statvfs_t+set}" = set; then
39351 echo $ECHO_N "(cached) $ECHO_C" >&6
39354 ac_cpp='$CXXCPP $CPPFLAGS'
39355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39359 cat >conftest.$ac_ext <<_ACEOF
39362 cat confdefs.h >>conftest.$ac_ext
39363 cat >>conftest.$ac_ext <<_ACEOF
39364 /* end confdefs.h. */
39366 #include <sys/statvfs.h>
39383 rm -f conftest.$ac_objext
39384 if { (ac_try="$ac_compile"
39385 case "(($ac_try" in
39386 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39387 *) ac_try_echo
=$ac_try;;
39389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39390 (eval "$ac_compile") 2>conftest.er1
39392 grep -v '^ *+' conftest.er1
>conftest.err
39394 cat conftest.err
>&5
39395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39396 (exit $ac_status); } && {
39397 test -z "$ac_cxx_werror_flag" ||
39398 test ! -s conftest.err
39399 } && test -s conftest.
$ac_objext; then
39400 wx_cv_type_statvfs_t
=statvfs_t
39402 echo "$as_me: failed program was:" >&5
39403 sed 's/^/| /' conftest.
$ac_ext >&5
39406 cat >conftest.
$ac_ext <<_ACEOF
39409 cat confdefs.h
>>conftest.
$ac_ext
39410 cat >>conftest.
$ac_ext <<_ACEOF
39411 /* end confdefs.h. */
39413 #include <sys/statvfs.h>
39430 rm -f conftest.
$ac_objext
39431 if { (ac_try
="$ac_compile"
39432 case "(($ac_try" in
39433 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39434 *) ac_try_echo=$ac_try;;
39436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39437 (eval "$ac_compile") 2>conftest.er1
39439 grep -v '^ *+' conftest.er1 >conftest.err
39441 cat conftest.err >&5
39442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39443 (exit $ac_status); } && {
39444 test -z "$ac_cxx_werror_flag" ||
39445 test ! -s conftest.err
39446 } && test -s conftest.$ac_objext; then
39447 wx_cv_type_statvfs_t="struct statvfs"
39449 echo "$as_me: failed program was:" >&5
39450 sed 's/^/| /' conftest.$ac_ext >&5
39452 wx_cv_type_statvfs_t="unknown"
39456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39463 ac_cpp='$CPP $CPPFLAGS'
39464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39470 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39471 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39473 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39474 cat >>confdefs.h <<\_ACEOF
39475 #define HAVE_STATVFS 1
39480 wx_cv_type_statvfs_t="unknown"
39484 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39485 cat >>confdefs.h <<_ACEOF
39486 #define WX_STATFS_T $wx_cv_type_statvfs_t
39490 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39491 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39494 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39497 for ac_func in fcntl flock
39499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39500 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39502 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39503 echo $ECHO_N "(cached) $ECHO_C" >&6
39505 cat >conftest.$ac_ext <<_ACEOF
39508 cat confdefs.h >>conftest.$ac_ext
39509 cat >>conftest.$ac_ext <<_ACEOF
39510 /* end confdefs.h. */
39511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39513 #define $ac_func innocuous_$ac_func
39515 /* System header to define __stub macros and hopefully few prototypes,
39516 which can conflict with char $ac_func (); below.
39517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39518 <limits.h> exists even on freestanding compilers. */
39521 # include <limits.h>
39523 # include <assert.h>
39528 /* Override any GCC internal prototype to avoid an error.
39529 Use char because int might match the return type of a GCC
39530 builtin and then its argument prototype would still apply. */
39535 /* The GNU C library defines this for functions which it implements
39536 to always fail with ENOSYS. Some functions are actually named
39537 something starting with __ and the normal name is an alias. */
39538 #if defined __stub_$ac_func || defined __stub___$ac_func
39545 return $ac_func ();
39550 rm -f conftest.$ac_objext conftest$ac_exeext
39551 if { (ac_try="$ac_link"
39552 case "(($ac_try" in
39553 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39554 *) ac_try_echo
=$ac_try;;
39556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39557 (eval "$ac_link") 2>conftest.er1
39559 grep -v '^ *+' conftest.er1
>conftest.err
39561 cat conftest.err
>&5
39562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39563 (exit $ac_status); } && {
39564 test -z "$ac_c_werror_flag" ||
39565 test ! -s conftest.err
39566 } && test -s conftest
$ac_exeext &&
39567 $as_test_x conftest
$ac_exeext; then
39568 eval "$as_ac_var=yes"
39570 echo "$as_me: failed program was:" >&5
39571 sed 's/^/| /' conftest.
$ac_ext >&5
39573 eval "$as_ac_var=no"
39576 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39577 conftest
$ac_exeext conftest.
$ac_ext
39579 ac_res
=`eval echo '${'$as_ac_var'}'`
39580 { echo "$as_me:$LINENO: result: $ac_res" >&5
39581 echo "${ECHO_T}$ac_res" >&6; }
39582 if test `eval echo '${'$as_ac_var'}'` = yes; then
39583 cat >>confdefs.h
<<_ACEOF
39584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39591 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39592 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39593 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39594 wxUSE_SNGLINST_CHECKER
=no
39600 for ac_func
in setenv putenv
39602 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39603 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39605 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39606 echo $ECHO_N "(cached) $ECHO_C" >&6
39608 cat >conftest.
$ac_ext <<_ACEOF
39611 cat confdefs.h
>>conftest.
$ac_ext
39612 cat >>conftest.
$ac_ext <<_ACEOF
39613 /* end confdefs.h. */
39614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39616 #define $ac_func innocuous_$ac_func
39618 /* System header to define __stub macros and hopefully few prototypes,
39619 which can conflict with char $ac_func (); below.
39620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39621 <limits.h> exists even on freestanding compilers. */
39624 # include <limits.h>
39626 # include <assert.h>
39631 /* Override any GCC internal prototype to avoid an error.
39632 Use char because int might match the return type of a GCC
39633 builtin and then its argument prototype would still apply. */
39638 /* The GNU C library defines this for functions which it implements
39639 to always fail with ENOSYS. Some functions are actually named
39640 something starting with __ and the normal name is an alias. */
39641 #if defined __stub_$ac_func || defined __stub___$ac_func
39648 return $ac_func ();
39653 rm -f conftest.
$ac_objext conftest
$ac_exeext
39654 if { (ac_try
="$ac_link"
39655 case "(($ac_try" in
39656 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39657 *) ac_try_echo=$ac_try;;
39659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39660 (eval "$ac_link") 2>conftest.er1
39662 grep -v '^ *+' conftest.er1 >conftest.err
39664 cat conftest.err >&5
39665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39666 (exit $ac_status); } && {
39667 test -z "$ac_c_werror_flag" ||
39668 test ! -s conftest.err
39669 } && test -s conftest$ac_exeext &&
39670 $as_test_x conftest$ac_exeext; then
39671 eval "$as_ac_var=yes"
39673 echo "$as_me: failed program was:" >&5
39674 sed 's/^/| /' conftest.$ac_ext >&5
39676 eval "$as_ac_var=no"
39679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39680 conftest$ac_exeext conftest.$ac_ext
39682 ac_res=`eval echo '${'$as_ac_var'}'`
39683 { echo "$as_me:$LINENO: result: $ac_res" >&5
39684 echo "${ECHO_T}$ac_res" >&6; }
39685 if test `eval echo '${'$as_ac_var'}'` = yes; then
39686 cat >>confdefs.h <<_ACEOF
39687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39693 if test "$ac_cv_func_setenv" = "yes"; then
39695 for ac_func in unsetenv
39697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39698 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39700 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39701 echo $ECHO_N "(cached) $ECHO_C" >&6
39703 cat >conftest.$ac_ext <<_ACEOF
39706 cat confdefs.h >>conftest.$ac_ext
39707 cat >>conftest.$ac_ext <<_ACEOF
39708 /* end confdefs.h. */
39709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39711 #define $ac_func innocuous_$ac_func
39713 /* System header to define __stub macros and hopefully few prototypes,
39714 which can conflict with char $ac_func (); below.
39715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39716 <limits.h> exists even on freestanding compilers. */
39719 # include <limits.h>
39721 # include <assert.h>
39726 /* Override any GCC internal prototype to avoid an error.
39727 Use char because int might match the return type of a GCC
39728 builtin and then its argument prototype would still apply. */
39733 /* The GNU C library defines this for functions which it implements
39734 to always fail with ENOSYS. Some functions are actually named
39735 something starting with __ and the normal name is an alias. */
39736 #if defined __stub_$ac_func || defined __stub___$ac_func
39743 return $ac_func ();
39748 rm -f conftest.$ac_objext conftest$ac_exeext
39749 if { (ac_try="$ac_link"
39750 case "(($ac_try" in
39751 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39752 *) ac_try_echo
=$ac_try;;
39754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39755 (eval "$ac_link") 2>conftest.er1
39757 grep -v '^ *+' conftest.er1
>conftest.err
39759 cat conftest.err
>&5
39760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39761 (exit $ac_status); } && {
39762 test -z "$ac_c_werror_flag" ||
39763 test ! -s conftest.err
39764 } && test -s conftest
$ac_exeext &&
39765 $as_test_x conftest
$ac_exeext; then
39766 eval "$as_ac_var=yes"
39768 echo "$as_me: failed program was:" >&5
39769 sed 's/^/| /' conftest.
$ac_ext >&5
39771 eval "$as_ac_var=no"
39774 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39775 conftest
$ac_exeext conftest.
$ac_ext
39777 ac_res
=`eval echo '${'$as_ac_var'}'`
39778 { echo "$as_me:$LINENO: result: $ac_res" >&5
39779 echo "${ECHO_T}$ac_res" >&6; }
39780 if test `eval echo '${'$as_ac_var'}'` = yes; then
39781 cat >>confdefs.h
<<_ACEOF
39782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39790 HAVE_SOME_SLEEP_FUNC
=0
39791 if test "$USE_BEOS" = 1; then
39792 cat >>confdefs.h
<<\_ACEOF
39793 #define HAVE_SLEEP 1
39796 HAVE_SOME_SLEEP_FUNC
=1
39799 if test "$USE_DARWIN" = 1; then
39800 cat >>confdefs.h
<<\_ACEOF
39801 #define HAVE_USLEEP 1
39804 HAVE_SOME_SLEEP_FUNC
=1
39807 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39810 for ac_func
in nanosleep
39812 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39813 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39815 if { as_var
=$as_ac_var; eval "test \"\${$as_var+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 $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39826 #define $ac_func innocuous_$ac_func
39828 /* System header to define __stub macros and hopefully few prototypes,
39829 which can conflict with char $ac_func (); 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_$ac_func || defined __stub___$ac_func
39858 return $ac_func ();
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 eval "$as_ac_var=yes"
39883 echo "$as_me: failed program was:" >&5
39884 sed 's/^/| /' conftest.$ac_ext >&5
39886 eval "$as_ac_var=no"
39889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39890 conftest$ac_exeext conftest.$ac_ext
39892 ac_res=`eval echo '${'$as_ac_var'}'`
39893 { echo "$as_me:$LINENO: result: $ac_res" >&5
39894 echo "${ECHO_T}$ac_res" >&6; }
39895 if test `eval echo '${'$as_ac_var'}'` = yes; then
39896 cat >>confdefs.h <<_ACEOF
39897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39899 cat >>confdefs.h <<\_ACEOF
39900 #define HAVE_NANOSLEEP 1
39905 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39906 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39907 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39908 echo $ECHO_N "(cached) $ECHO_C" >&6
39910 ac_check_lib_save_LIBS=$LIBS
39911 LIBS="-lposix4 $LIBS"
39912 cat >conftest.$ac_ext <<_ACEOF
39915 cat confdefs.h >>conftest.$ac_ext
39916 cat >>conftest.$ac_ext <<_ACEOF
39917 /* end confdefs.h. */
39919 /* Override any GCC internal prototype to avoid an error.
39920 Use char because int might match the return type of a GCC
39921 builtin and then its argument prototype would still apply. */
39929 return nanosleep ();
39934 rm -f conftest.$ac_objext conftest$ac_exeext
39935 if { (ac_try="$ac_link"
39936 case "(($ac_try" in
39937 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39938 *) ac_try_echo
=$ac_try;;
39940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39941 (eval "$ac_link") 2>conftest.er1
39943 grep -v '^ *+' conftest.er1
>conftest.err
39945 cat conftest.err
>&5
39946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39947 (exit $ac_status); } && {
39948 test -z "$ac_c_werror_flag" ||
39949 test ! -s conftest.err
39950 } && test -s conftest
$ac_exeext &&
39951 $as_test_x conftest
$ac_exeext; then
39952 ac_cv_lib_posix4_nanosleep
=yes
39954 echo "$as_me: failed program was:" >&5
39955 sed 's/^/| /' conftest.
$ac_ext >&5
39957 ac_cv_lib_posix4_nanosleep
=no
39960 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39961 conftest
$ac_exeext conftest.
$ac_ext
39962 LIBS
=$ac_check_lib_save_LIBS
39964 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39965 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39966 if test $ac_cv_lib_posix4_nanosleep = yes; then
39968 cat >>confdefs.h
<<\_ACEOF
39969 #define HAVE_NANOSLEEP 1
39972 POSIX4_LINK
=" -lposix4"
39977 for wx_func
in usleep
39979 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39980 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39981 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39982 echo $ECHO_N "(cached) $ECHO_C" >&6
39985 cat >conftest.
$ac_ext <<_ACEOF
39989 cat confdefs.h
>>conftest.
$ac_ext
39990 cat >>conftest.
$ac_ext <<_ACEOF
39991 /* end confdefs.h. */
39994 $ac_includes_default
40010 rm -f conftest.
$ac_objext conftest
$ac_exeext
40011 if { (ac_try
="$ac_link"
40012 case "(($ac_try" in
40013 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40014 *) ac_try_echo=$ac_try;;
40016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40017 (eval "$ac_link") 2>conftest.er1
40019 grep -v '^ *+' conftest.er1 >conftest.err
40021 cat conftest.err >&5
40022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40023 (exit $ac_status); } && {
40024 test -z "$ac_c_werror_flag" ||
40025 test ! -s conftest.err
40026 } && test -s conftest$ac_exeext &&
40027 $as_test_x conftest$ac_exeext; then
40028 eval wx_cv_func_$wx_func=yes
40030 echo "$as_me: failed program was:" >&5
40031 sed 's/^/| /' conftest.$ac_ext >&5
40033 eval wx_cv_func_$wx_func=no
40036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40037 conftest$ac_exeext conftest.$ac_ext
40040 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40041 { echo "$as_me:$LINENO: result: $ac_res" >&5
40042 echo "${ECHO_T}$ac_res" >&6; }
40044 if eval test \$wx_cv_func_$wx_func = yes
40046 cat >>confdefs.h <<_ACEOF
40047 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40053 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40054 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40071 for wx_func in uname
40073 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40074 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40075 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40076 echo $ECHO_N "(cached) $ECHO_C" >&6
40079 cat >conftest.$ac_ext <<_ACEOF
40083 cat confdefs.h >>conftest.$ac_ext
40084 cat >>conftest.$ac_ext <<_ACEOF
40085 /* end confdefs.h. */
40087 #include <sys/utsname.h>
40088 $ac_includes_default
40104 rm -f conftest.$ac_objext conftest$ac_exeext
40105 if { (ac_try="$ac_link"
40106 case "(($ac_try" in
40107 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40108 *) ac_try_echo
=$ac_try;;
40110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40111 (eval "$ac_link") 2>conftest.er1
40113 grep -v '^ *+' conftest.er1
>conftest.err
40115 cat conftest.err
>&5
40116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40117 (exit $ac_status); } && {
40118 test -z "$ac_c_werror_flag" ||
40119 test ! -s conftest.err
40120 } && test -s conftest
$ac_exeext &&
40121 $as_test_x conftest
$ac_exeext; then
40122 eval wx_cv_func_
$wx_func=yes
40124 echo "$as_me: failed program was:" >&5
40125 sed 's/^/| /' conftest.
$ac_ext >&5
40127 eval wx_cv_func_
$wx_func=no
40130 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40131 conftest
$ac_exeext conftest.
$ac_ext
40134 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40135 { echo "$as_me:$LINENO: result: $ac_res" >&5
40136 echo "${ECHO_T}$ac_res" >&6; }
40138 if eval test \
$wx_cv_func_$wx_func = yes
40140 cat >>confdefs.h
<<_ACEOF
40141 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40151 if test "$wx_cv_func_uname" != yes; then
40153 for wx_func
in gethostname
40155 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40156 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40157 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40158 echo $ECHO_N "(cached) $ECHO_C" >&6
40161 cat >conftest.
$ac_ext <<_ACEOF
40165 cat confdefs.h
>>conftest.
$ac_ext
40166 cat >>conftest.
$ac_ext <<_ACEOF
40167 /* end confdefs.h. */
40170 $ac_includes_default
40186 rm -f conftest.
$ac_objext conftest
$ac_exeext
40187 if { (ac_try
="$ac_link"
40188 case "(($ac_try" in
40189 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40190 *) ac_try_echo=$ac_try;;
40192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40193 (eval "$ac_link") 2>conftest.er1
40195 grep -v '^ *+' conftest.er1 >conftest.err
40197 cat conftest.err >&5
40198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40199 (exit $ac_status); } && {
40200 test -z "$ac_c_werror_flag" ||
40201 test ! -s conftest.err
40202 } && test -s conftest$ac_exeext &&
40203 $as_test_x conftest$ac_exeext; then
40204 eval wx_cv_func_$wx_func=yes
40206 echo "$as_me: failed program was:" >&5
40207 sed 's/^/| /' conftest.$ac_ext >&5
40209 eval wx_cv_func_$wx_func=no
40212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40213 conftest$ac_exeext conftest.$ac_ext
40216 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40217 { echo "$as_me:$LINENO: result: $ac_res" >&5
40218 echo "${ECHO_T}$ac_res" >&6; }
40220 if eval test \$wx_cv_func_$wx_func = yes
40222 cat >>confdefs.h <<_ACEOF
40223 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40236 for wx_func in strtok_r
40238 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40239 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40240 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40241 echo $ECHO_N "(cached) $ECHO_C" >&6
40244 cat >conftest.$ac_ext <<_ACEOF
40248 cat confdefs.h >>conftest.$ac_ext
40249 cat >>conftest.$ac_ext <<_ACEOF
40250 /* end confdefs.h. */
40253 $ac_includes_default
40269 rm -f conftest.$ac_objext conftest$ac_exeext
40270 if { (ac_try="$ac_link"
40271 case "(($ac_try" in
40272 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40273 *) ac_try_echo
=$ac_try;;
40275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40276 (eval "$ac_link") 2>conftest.er1
40278 grep -v '^ *+' conftest.er1
>conftest.err
40280 cat conftest.err
>&5
40281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40282 (exit $ac_status); } && {
40283 test -z "$ac_c_werror_flag" ||
40284 test ! -s conftest.err
40285 } && test -s conftest
$ac_exeext &&
40286 $as_test_x conftest
$ac_exeext; then
40287 eval wx_cv_func_
$wx_func=yes
40289 echo "$as_me: failed program was:" >&5
40290 sed 's/^/| /' conftest.
$ac_ext >&5
40292 eval wx_cv_func_
$wx_func=no
40295 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40296 conftest
$ac_exeext conftest.
$ac_ext
40299 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40300 { echo "$as_me:$LINENO: result: $ac_res" >&5
40301 echo "${ECHO_T}$ac_res" >&6; }
40303 if eval test \
$wx_cv_func_$wx_func = yes
40305 cat >>confdefs.h
<<_ACEOF
40306 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40319 for ac_func
in inet_addr
40321 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40322 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40324 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40325 echo $ECHO_N "(cached) $ECHO_C" >&6
40327 cat >conftest.
$ac_ext <<_ACEOF
40330 cat confdefs.h
>>conftest.
$ac_ext
40331 cat >>conftest.
$ac_ext <<_ACEOF
40332 /* end confdefs.h. */
40333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40335 #define $ac_func innocuous_$ac_func
40337 /* System header to define __stub macros and hopefully few prototypes,
40338 which can conflict with char $ac_func (); below.
40339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40340 <limits.h> exists even on freestanding compilers. */
40343 # include <limits.h>
40345 # include <assert.h>
40350 /* Override any GCC internal prototype to avoid an error.
40351 Use char because int might match the return type of a GCC
40352 builtin and then its argument prototype would still apply. */
40357 /* The GNU C library defines this for functions which it implements
40358 to always fail with ENOSYS. Some functions are actually named
40359 something starting with __ and the normal name is an alias. */
40360 #if defined __stub_$ac_func || defined __stub___$ac_func
40367 return $ac_func ();
40372 rm -f conftest.
$ac_objext conftest
$ac_exeext
40373 if { (ac_try
="$ac_link"
40374 case "(($ac_try" in
40375 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40376 *) ac_try_echo=$ac_try;;
40378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40379 (eval "$ac_link") 2>conftest.er1
40381 grep -v '^ *+' conftest.er1 >conftest.err
40383 cat conftest.err >&5
40384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40385 (exit $ac_status); } && {
40386 test -z "$ac_c_werror_flag" ||
40387 test ! -s conftest.err
40388 } && test -s conftest$ac_exeext &&
40389 $as_test_x conftest$ac_exeext; then
40390 eval "$as_ac_var=yes"
40392 echo "$as_me: failed program was:" >&5
40393 sed 's/^/| /' conftest.$ac_ext >&5
40395 eval "$as_ac_var=no"
40398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40399 conftest$ac_exeext conftest.$ac_ext
40401 ac_res=`eval echo '${'$as_ac_var'}'`
40402 { echo "$as_me:$LINENO: result: $ac_res" >&5
40403 echo "${ECHO_T}$ac_res" >&6; }
40404 if test `eval echo '${'$as_ac_var'}'` = yes; then
40405 cat >>confdefs.h <<_ACEOF
40406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40408 cat >>confdefs.h <<\_ACEOF
40409 #define HAVE_INET_ADDR 1
40414 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40415 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40416 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40417 echo $ECHO_N "(cached) $ECHO_C" >&6
40419 ac_check_lib_save_LIBS=$LIBS
40421 cat >conftest.$ac_ext <<_ACEOF
40424 cat confdefs.h >>conftest.$ac_ext
40425 cat >>conftest.$ac_ext <<_ACEOF
40426 /* end confdefs.h. */
40428 /* Override any GCC internal prototype to avoid an error.
40429 Use char because int might match the return type of a GCC
40430 builtin and then its argument prototype would still apply. */
40438 return inet_addr ();
40443 rm -f conftest.$ac_objext conftest$ac_exeext
40444 if { (ac_try="$ac_link"
40445 case "(($ac_try" in
40446 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40447 *) ac_try_echo
=$ac_try;;
40449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40450 (eval "$ac_link") 2>conftest.er1
40452 grep -v '^ *+' conftest.er1
>conftest.err
40454 cat conftest.err
>&5
40455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40456 (exit $ac_status); } && {
40457 test -z "$ac_c_werror_flag" ||
40458 test ! -s conftest.err
40459 } && test -s conftest
$ac_exeext &&
40460 $as_test_x conftest
$ac_exeext; then
40461 ac_cv_lib_nsl_inet_addr
=yes
40463 echo "$as_me: failed program was:" >&5
40464 sed 's/^/| /' conftest.
$ac_ext >&5
40466 ac_cv_lib_nsl_inet_addr
=no
40469 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40470 conftest
$ac_exeext conftest.
$ac_ext
40471 LIBS
=$ac_check_lib_save_LIBS
40473 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40474 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40475 if test $ac_cv_lib_nsl_inet_addr = yes; then
40479 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40480 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40481 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40482 echo $ECHO_N "(cached) $ECHO_C" >&6
40484 ac_check_lib_save_LIBS
=$LIBS
40485 LIBS
="-lresolv $LIBS"
40486 cat >conftest.
$ac_ext <<_ACEOF
40489 cat confdefs.h
>>conftest.
$ac_ext
40490 cat >>conftest.
$ac_ext <<_ACEOF
40491 /* end confdefs.h. */
40493 /* Override any GCC internal prototype to avoid an error.
40494 Use char because int might match the return type of a GCC
40495 builtin and then its argument prototype would still apply. */
40503 return inet_addr ();
40508 rm -f conftest.
$ac_objext conftest
$ac_exeext
40509 if { (ac_try
="$ac_link"
40510 case "(($ac_try" in
40511 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40512 *) ac_try_echo=$ac_try;;
40514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40515 (eval "$ac_link") 2>conftest.er1
40517 grep -v '^ *+' conftest.er1 >conftest.err
40519 cat conftest.err >&5
40520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40521 (exit $ac_status); } && {
40522 test -z "$ac_c_werror_flag" ||
40523 test ! -s conftest.err
40524 } && test -s conftest$ac_exeext &&
40525 $as_test_x conftest$ac_exeext; then
40526 ac_cv_lib_resolv_inet_addr=yes
40528 echo "$as_me: failed program was:" >&5
40529 sed 's/^/| /' conftest.$ac_ext >&5
40531 ac_cv_lib_resolv_inet_addr=no
40534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40535 conftest$ac_exeext conftest.$ac_ext
40536 LIBS=$ac_check_lib_save_LIBS
40538 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40539 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40540 if test $ac_cv_lib_resolv_inet_addr = yes; then
40544 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40545 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40546 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40547 echo $ECHO_N "(cached) $ECHO_C" >&6
40549 ac_check_lib_save_LIBS=$LIBS
40550 LIBS="-lsocket $LIBS"
40551 cat >conftest.$ac_ext <<_ACEOF
40554 cat confdefs.h >>conftest.$ac_ext
40555 cat >>conftest.$ac_ext <<_ACEOF
40556 /* end confdefs.h. */
40558 /* Override any GCC internal prototype to avoid an error.
40559 Use char because int might match the return type of a GCC
40560 builtin and then its argument prototype would still apply. */
40568 return inet_addr ();
40573 rm -f conftest.$ac_objext conftest$ac_exeext
40574 if { (ac_try="$ac_link"
40575 case "(($ac_try" in
40576 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40577 *) ac_try_echo
=$ac_try;;
40579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40580 (eval "$ac_link") 2>conftest.er1
40582 grep -v '^ *+' conftest.er1
>conftest.err
40584 cat conftest.err
>&5
40585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40586 (exit $ac_status); } && {
40587 test -z "$ac_c_werror_flag" ||
40588 test ! -s conftest.err
40589 } && test -s conftest
$ac_exeext &&
40590 $as_test_x conftest
$ac_exeext; then
40591 ac_cv_lib_socket_inet_addr
=yes
40593 echo "$as_me: failed program was:" >&5
40594 sed 's/^/| /' conftest.
$ac_ext >&5
40596 ac_cv_lib_socket_inet_addr
=no
40599 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40600 conftest
$ac_exeext conftest.
$ac_ext
40601 LIBS
=$ac_check_lib_save_LIBS
40603 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40604 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40605 if test $ac_cv_lib_socket_inet_addr = yes; then
40625 for ac_func
in inet_aton
40627 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40628 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40630 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40631 echo $ECHO_N "(cached) $ECHO_C" >&6
40633 cat >conftest.
$ac_ext <<_ACEOF
40636 cat confdefs.h
>>conftest.
$ac_ext
40637 cat >>conftest.
$ac_ext <<_ACEOF
40638 /* end confdefs.h. */
40639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40641 #define $ac_func innocuous_$ac_func
40643 /* System header to define __stub macros and hopefully few prototypes,
40644 which can conflict with char $ac_func (); below.
40645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40646 <limits.h> exists even on freestanding compilers. */
40649 # include <limits.h>
40651 # include <assert.h>
40656 /* Override any GCC internal prototype to avoid an error.
40657 Use char because int might match the return type of a GCC
40658 builtin and then its argument prototype would still apply. */
40663 /* The GNU C library defines this for functions which it implements
40664 to always fail with ENOSYS. Some functions are actually named
40665 something starting with __ and the normal name is an alias. */
40666 #if defined __stub_$ac_func || defined __stub___$ac_func
40673 return $ac_func ();
40678 rm -f conftest.
$ac_objext conftest
$ac_exeext
40679 if { (ac_try
="$ac_link"
40680 case "(($ac_try" in
40681 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40682 *) ac_try_echo=$ac_try;;
40684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40685 (eval "$ac_link") 2>conftest.er1
40687 grep -v '^ *+' conftest.er1 >conftest.err
40689 cat conftest.err >&5
40690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40691 (exit $ac_status); } && {
40692 test -z "$ac_c_werror_flag" ||
40693 test ! -s conftest.err
40694 } && test -s conftest$ac_exeext &&
40695 $as_test_x conftest$ac_exeext; then
40696 eval "$as_ac_var=yes"
40698 echo "$as_me: failed program was:" >&5
40699 sed 's/^/| /' conftest.$ac_ext >&5
40701 eval "$as_ac_var=no"
40704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40705 conftest$ac_exeext conftest.$ac_ext
40707 ac_res=`eval echo '${'$as_ac_var'}'`
40708 { echo "$as_me:$LINENO: result: $ac_res" >&5
40709 echo "${ECHO_T}$ac_res" >&6; }
40710 if test `eval echo '${'$as_ac_var'}'` = yes; then
40711 cat >>confdefs.h <<_ACEOF
40712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40714 cat >>confdefs.h <<\_ACEOF
40715 #define HAVE_INET_ATON 1
40720 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40721 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40722 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40723 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40724 echo $ECHO_N "(cached) $ECHO_C" >&6
40726 ac_check_lib_save_LIBS=$LIBS
40727 LIBS="-l$INET_LINK $LIBS"
40728 cat >conftest.$ac_ext <<_ACEOF
40731 cat confdefs.h >>conftest.$ac_ext
40732 cat >>conftest.$ac_ext <<_ACEOF
40733 /* end confdefs.h. */
40735 /* Override any GCC internal prototype to avoid an error.
40736 Use char because int might match the return type of a GCC
40737 builtin and then its argument prototype would still apply. */
40745 return inet_aton ();
40750 rm -f conftest.$ac_objext conftest$ac_exeext
40751 if { (ac_try="$ac_link"
40752 case "(($ac_try" in
40753 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40754 *) ac_try_echo
=$ac_try;;
40756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40757 (eval "$ac_link") 2>conftest.er1
40759 grep -v '^ *+' conftest.er1
>conftest.err
40761 cat conftest.err
>&5
40762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40763 (exit $ac_status); } && {
40764 test -z "$ac_c_werror_flag" ||
40765 test ! -s conftest.err
40766 } && test -s conftest
$ac_exeext &&
40767 $as_test_x conftest
$ac_exeext; then
40768 eval "$as_ac_Lib=yes"
40770 echo "$as_me: failed program was:" >&5
40771 sed 's/^/| /' conftest.
$ac_ext >&5
40773 eval "$as_ac_Lib=no"
40776 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40777 conftest
$ac_exeext conftest.
$ac_ext
40778 LIBS
=$ac_check_lib_save_LIBS
40780 ac_res
=`eval echo '${'$as_ac_Lib'}'`
40781 { echo "$as_me:$LINENO: result: $ac_res" >&5
40782 echo "${ECHO_T}$ac_res" >&6; }
40783 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40784 cat >>confdefs.h
<<\_ACEOF
40785 #define HAVE_INET_ATON 1
40795 if test "x$INET_LINK" != "x"; then
40796 cat >>confdefs.h
<<\_ACEOF
40797 #define HAVE_INET_ADDR 1
40800 INET_LINK
=" -l$INET_LINK"
40804 for wx_func
in fdopen
40806 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40807 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40808 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40809 echo $ECHO_N "(cached) $ECHO_C" >&6
40812 cat >conftest.
$ac_ext <<_ACEOF
40816 cat confdefs.h
>>conftest.
$ac_ext
40817 cat >>conftest.
$ac_ext <<_ACEOF
40818 /* end confdefs.h. */
40821 $ac_includes_default
40837 rm -f conftest.
$ac_objext conftest
$ac_exeext
40838 if { (ac_try
="$ac_link"
40839 case "(($ac_try" in
40840 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40841 *) ac_try_echo=$ac_try;;
40843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40844 (eval "$ac_link") 2>conftest.er1
40846 grep -v '^ *+' conftest.er1 >conftest.err
40848 cat conftest.err >&5
40849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40850 (exit $ac_status); } && {
40851 test -z "$ac_c_werror_flag" ||
40852 test ! -s conftest.err
40853 } && test -s conftest$ac_exeext &&
40854 $as_test_x conftest$ac_exeext; then
40855 eval wx_cv_func_$wx_func=yes
40857 echo "$as_me: failed program was:" >&5
40858 sed 's/^/| /' conftest.$ac_ext >&5
40860 eval wx_cv_func_$wx_func=no
40863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40864 conftest$ac_exeext conftest.$ac_ext
40867 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40868 { echo "$as_me:$LINENO: result: $ac_res" >&5
40869 echo "${ECHO_T}$ac_res" >&6; }
40871 if eval test \$wx_cv_func_$wx_func = yes
40873 cat >>confdefs.h <<_ACEOF
40874 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40885 if test "$wxUSE_TARSTREAM" = "yes"; then
40887 for wx_func in sysconf
40889 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40890 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40891 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40892 echo $ECHO_N "(cached) $ECHO_C" >&6
40895 cat >conftest.$ac_ext <<_ACEOF
40899 cat confdefs.h >>conftest.$ac_ext
40900 cat >>conftest.$ac_ext <<_ACEOF
40901 /* end confdefs.h. */
40904 $ac_includes_default
40920 rm -f conftest.$ac_objext conftest$ac_exeext
40921 if { (ac_try="$ac_link"
40922 case "(($ac_try" in
40923 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40924 *) ac_try_echo
=$ac_try;;
40926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40927 (eval "$ac_link") 2>conftest.er1
40929 grep -v '^ *+' conftest.er1
>conftest.err
40931 cat conftest.err
>&5
40932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40933 (exit $ac_status); } && {
40934 test -z "$ac_c_werror_flag" ||
40935 test ! -s conftest.err
40936 } && test -s conftest
$ac_exeext &&
40937 $as_test_x conftest
$ac_exeext; then
40938 eval wx_cv_func_
$wx_func=yes
40940 echo "$as_me: failed program was:" >&5
40941 sed 's/^/| /' conftest.
$ac_ext >&5
40943 eval wx_cv_func_
$wx_func=no
40946 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40947 conftest
$ac_exeext conftest.
$ac_ext
40950 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40951 { echo "$as_me:$LINENO: result: $ac_res" >&5
40952 echo "${ECHO_T}$ac_res" >&6; }
40954 if eval test \
$wx_cv_func_$wx_func = yes
40956 cat >>confdefs.h
<<_ACEOF
40957 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40969 for wx_func
in getpwuid_r
40971 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40972 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40973 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40974 echo $ECHO_N "(cached) $ECHO_C" >&6
40977 cat >conftest.
$ac_ext <<_ACEOF
40981 cat confdefs.h
>>conftest.
$ac_ext
40982 cat >>conftest.
$ac_ext <<_ACEOF
40983 /* end confdefs.h. */
40989 $ac_includes_default
40999 struct passwd pw, *ppw;
41001 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
41009 rm -f conftest.
$ac_objext conftest
$ac_exeext
41010 if { (ac_try
="$ac_link"
41011 case "(($ac_try" in
41012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41013 *) ac_try_echo=$ac_try;;
41015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41016 (eval "$ac_link") 2>conftest.er1
41018 grep -v '^ *+' conftest.er1 >conftest.err
41020 cat conftest.err >&5
41021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41022 (exit $ac_status); } && {
41023 test -z "$ac_c_werror_flag" ||
41024 test ! -s conftest.err
41025 } && test -s conftest$ac_exeext &&
41026 $as_test_x conftest$ac_exeext; then
41027 eval wx_cv_func_$wx_func=yes
41029 echo "$as_me: failed program was:" >&5
41030 sed 's/^/| /' conftest.$ac_ext >&5
41032 eval wx_cv_func_$wx_func=no
41035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41036 conftest$ac_exeext conftest.$ac_ext
41039 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41040 { echo "$as_me:$LINENO: result: $ac_res" >&5
41041 echo "${ECHO_T}$ac_res" >&6; }
41043 if eval test \$wx_cv_func_$wx_func = yes
41045 cat >>confdefs.h <<_ACEOF
41046 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41058 for wx_func in getgrgid_r
41060 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41061 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41062 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41063 echo $ECHO_N "(cached) $ECHO_C" >&6
41066 cat >conftest.$ac_ext <<_ACEOF
41070 cat confdefs.h >>conftest.$ac_ext
41071 cat >>conftest.$ac_ext <<_ACEOF
41072 /* end confdefs.h. */
41078 $ac_includes_default
41088 struct group grp, *pgrp;
41090 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
41098 rm -f conftest.$ac_objext conftest$ac_exeext
41099 if { (ac_try="$ac_link"
41100 case "(($ac_try" in
41101 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41102 *) ac_try_echo
=$ac_try;;
41104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41105 (eval "$ac_link") 2>conftest.er1
41107 grep -v '^ *+' conftest.er1
>conftest.err
41109 cat conftest.err
>&5
41110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41111 (exit $ac_status); } && {
41112 test -z "$ac_c_werror_flag" ||
41113 test ! -s conftest.err
41114 } && test -s conftest
$ac_exeext &&
41115 $as_test_x conftest
$ac_exeext; then
41116 eval wx_cv_func_
$wx_func=yes
41118 echo "$as_me: failed program was:" >&5
41119 sed 's/^/| /' conftest.
$ac_ext >&5
41121 eval wx_cv_func_
$wx_func=no
41124 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41125 conftest
$ac_exeext conftest.
$ac_ext
41128 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
41129 { echo "$as_me:$LINENO: result: $ac_res" >&5
41130 echo "${ECHO_T}$ac_res" >&6; }
41132 if eval test \
$wx_cv_func_$wx_func = yes
41134 cat >>confdefs.h
<<_ACEOF
41135 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41151 cat >confcache
<<\_ACEOF
41152 # This file is a shell script that caches the results of configure
41153 # tests run on this system so they can be shared between configure
41154 # scripts and configure runs, see configure's option --config-cache.
41155 # It is not useful on other systems. If it contains results you don't
41156 # want to keep, you may remove or edit it.
41158 # config.status only pays attention to the cache file if you give it
41159 # the --recheck option to rerun configure.
41161 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41162 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41163 # following values.
41167 # The following way of writing the cache mishandles newlines in values,
41168 # but we know of no workaround that is simple, portable, and efficient.
41169 # So, we kill variables containing newlines.
41170 # Ultrix sh set writes to stderr and can't be redirected directly,
41171 # and sets the high bit in the cache file unless we assign to the vars.
41173 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41174 eval ac_val
=\$
$ac_var
41178 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41179 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41182 _
| IFS
| as_nl
) ;; #(
41183 *) $as_unset $ac_var ;;
41189 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41190 *${as_nl}ac_space
=\
*)
41191 # `set' does not quote correctly, so add quotes (double-quote
41192 # substitution turns \\\\ into \\, and sed turns \\ into \).
41195 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41198 # `set' quotes correctly as required by POSIX, so do not add quotes.
41199 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41208 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41210 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41212 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41213 if test -w "$cache_file"; then
41214 test "x$cache_file" != "x/dev/null" &&
41215 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41216 echo "$as_me: updating cache $cache_file" >&6;}
41217 cat confcache
>$cache_file
41219 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41220 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41226 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41232 if test "$wxUSE_THREADS" = "yes" ; then
41233 if test "$USE_BEOS" = 1; then
41234 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41235 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41240 if test "$wxUSE_THREADS" = "yes" ; then
41243 THREAD_OPTS
="-pthread"
41244 if test "x$SUNCXX" = xyes
; then
41245 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
41249 *-*-solaris2* | *-*-sunos4* )
41250 if test "x$GCC" = "xyes"; then
41251 THREAD_OPTS
="-pthreads $THREAD_OPTS"
41255 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
41257 *-*-darwin* | *-*-cygwin* )
41261 THREAD_OPTS
="pthreads"
41264 if test "x$GCC" = "xyes"; then
41265 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
41273 if test "x$GCC" = "xyes"; then
41279 if test "x$GCC" != "xyes"; then
41280 THREAD_OPTS
="-Ethread"
41285 THREAD_OPTS
="$THREAD_OPTS pthread none"
41288 for flag
in $THREAD_OPTS; do
41291 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41292 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41296 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41297 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41298 THREADS_CFLAGS
="$flag"
41302 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41303 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41304 THREADS_LINK
="-l$flag"
41309 save_CFLAGS
="$CFLAGS"
41310 LIBS
="$THREADS_LINK $LIBS"
41311 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
41313 cat >conftest.
$ac_ext <<_ACEOF
41316 cat confdefs.h
>>conftest.
$ac_ext
41317 cat >>conftest.
$ac_ext <<_ACEOF
41318 /* end confdefs.h. */
41319 #include <pthread.h>
41323 pthread_create(0,0,0,0);
41328 rm -f conftest.
$ac_objext conftest
$ac_exeext
41329 if { (ac_try
="$ac_link"
41330 case "(($ac_try" in
41331 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41332 *) ac_try_echo=$ac_try;;
41334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41335 (eval "$ac_link") 2>conftest.er1
41337 grep -v '^ *+' conftest.er1 >conftest.err
41339 cat conftest.err >&5
41340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41341 (exit $ac_status); } && {
41342 test -z "$ac_c_werror_flag" ||
41343 test ! -s conftest.err
41344 } && test -s conftest$ac_exeext &&
41345 $as_test_x conftest$ac_exeext; then
41348 echo "$as_me: failed program was:" >&5
41349 sed 's/^/| /' conftest.$ac_ext >&5
41354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41355 conftest$ac_exeext conftest.$ac_ext
41358 CFLAGS="$save_CFLAGS"
41360 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41361 echo "${ECHO_T}$THREADS_OK" >&6; }
41362 if test "x$THREADS_OK" = "xyes"; then
41370 if test "x$THREADS_OK" != "xyes"; then
41372 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41373 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41375 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41376 LIBS="$THREADS_LINK $LIBS"
41378 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41379 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41383 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41384 flag="-D_THREAD_SAFE"
41387 flag="-D_THREAD_SAFE"
41390 flag="-D_REENTRANT"
41391 if test "x$GCC" != "xyes"; then
41392 flag="$flag -D_RWSTD_MULTI_THREAD"
41395 *solaris* | alpha*-osf*)
41396 flag="-D_REENTRANT"
41399 { echo "$as_me:$LINENO: result: ${flag}" >&5
41400 echo "${ECHO_T}${flag}" >&6; }
41401 if test "x$flag" != xno; then
41402 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41405 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41409 if test "$wxUSE_THREADS" = "yes" ; then
41411 for ac_func in thr_setconcurrency
41413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41414 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41416 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41417 echo $ECHO_N "(cached) $ECHO_C" >&6
41419 cat >conftest.$ac_ext <<_ACEOF
41422 cat confdefs.h >>conftest.$ac_ext
41423 cat >>conftest.$ac_ext <<_ACEOF
41424 /* end confdefs.h. */
41425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41427 #define $ac_func innocuous_$ac_func
41429 /* System header to define __stub macros and hopefully few prototypes,
41430 which can conflict with char $ac_func (); below.
41431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41432 <limits.h> exists even on freestanding compilers. */
41435 # include <limits.h>
41437 # include <assert.h>
41442 /* Override any GCC internal prototype to avoid an error.
41443 Use char because int might match the return type of a GCC
41444 builtin and then its argument prototype would still apply. */
41449 /* The GNU C library defines this for functions which it implements
41450 to always fail with ENOSYS. Some functions are actually named
41451 something starting with __ and the normal name is an alias. */
41452 #if defined __stub_$ac_func || defined __stub___$ac_func
41459 return $ac_func ();
41464 rm -f conftest.$ac_objext conftest$ac_exeext
41465 if { (ac_try="$ac_link"
41466 case "(($ac_try" in
41467 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41468 *) ac_try_echo
=$ac_try;;
41470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41471 (eval "$ac_link") 2>conftest.er1
41473 grep -v '^ *+' conftest.er1
>conftest.err
41475 cat conftest.err
>&5
41476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41477 (exit $ac_status); } && {
41478 test -z "$ac_c_werror_flag" ||
41479 test ! -s conftest.err
41480 } && test -s conftest
$ac_exeext &&
41481 $as_test_x conftest
$ac_exeext; then
41482 eval "$as_ac_var=yes"
41484 echo "$as_me: failed program was:" >&5
41485 sed 's/^/| /' conftest.
$ac_ext >&5
41487 eval "$as_ac_var=no"
41490 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41491 conftest
$ac_exeext conftest.
$ac_ext
41493 ac_res
=`eval echo '${'$as_ac_var'}'`
41494 { echo "$as_me:$LINENO: result: $ac_res" >&5
41495 echo "${ECHO_T}$ac_res" >&6; }
41496 if test `eval echo '${'$as_ac_var'}'` = yes; then
41497 cat >>confdefs.h
<<_ACEOF
41498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41505 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41506 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41507 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41508 echo $ECHO_N "(cached) $ECHO_C" >&6
41512 ac_cpp
='$CXXCPP $CPPFLAGS'
41513 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41514 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41515 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41517 cat >conftest.
$ac_ext <<_ACEOF
41520 cat confdefs.h
>>conftest.
$ac_ext
41521 cat >>conftest.
$ac_ext <<_ACEOF
41522 /* end confdefs.h. */
41523 #include <pthread.h>
41524 void ThreadCleanupFunc(void *p);
41531 pthread_cleanup_push(ThreadCleanupFunc, p);
41532 pthread_cleanup_pop(0);
41538 rm -f conftest.
$ac_objext
41539 if { (ac_try
="$ac_compile"
41540 case "(($ac_try" in
41541 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41542 *) ac_try_echo=$ac_try;;
41544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41545 (eval "$ac_compile") 2>conftest.er1
41547 grep -v '^ *+' conftest.er1 >conftest.err
41549 cat conftest.err >&5
41550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41551 (exit $ac_status); } && {
41552 test -z "$ac_cxx_werror_flag" ||
41553 test ! -s conftest.err
41554 } && test -s conftest.$ac_objext; then
41556 wx_cv_func_pthread_cleanup=yes
41559 echo "$as_me: failed program was:" >&5
41560 sed 's/^/| /' conftest.$ac_ext >&5
41563 wx_cv_func_pthread_cleanup=no
41568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41570 ac_cpp='$CPP $CPPFLAGS'
41571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41577 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41578 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41579 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41580 cat >>confdefs.h <<\_ACEOF
41581 #define wxHAVE_PTHREAD_CLEANUP 1
41587 for ac_header in sched.h
41589 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41590 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41592 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41593 echo $ECHO_N "(cached) $ECHO_C" >&6
41595 cat >conftest.$ac_ext <<_ACEOF
41598 cat confdefs.h >>conftest.$ac_ext
41599 cat >>conftest.$ac_ext <<_ACEOF
41600 /* end confdefs.h. */
41601 $ac_includes_default
41603 #include <$ac_header>
41605 rm -f conftest.$ac_objext
41606 if { (ac_try="$ac_compile"
41607 case "(($ac_try" in
41608 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41609 *) ac_try_echo
=$ac_try;;
41611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41612 (eval "$ac_compile") 2>conftest.er1
41614 grep -v '^ *+' conftest.er1
>conftest.err
41616 cat conftest.err
>&5
41617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41618 (exit $ac_status); } && {
41619 test -z "$ac_c_werror_flag" ||
41620 test ! -s conftest.err
41621 } && test -s conftest.
$ac_objext; then
41622 eval "$as_ac_Header=yes"
41624 echo "$as_me: failed program was:" >&5
41625 sed 's/^/| /' conftest.
$ac_ext >&5
41627 eval "$as_ac_Header=no"
41630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41632 ac_res
=`eval echo '${'$as_ac_Header'}'`
41633 { echo "$as_me:$LINENO: result: $ac_res" >&5
41634 echo "${ECHO_T}$ac_res" >&6; }
41635 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41636 cat >>confdefs.h
<<_ACEOF
41637 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41644 if test "$ac_cv_header_sched_h" = "yes"; then
41645 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41646 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41647 if test "${ac_cv_func_sched_yield+set}" = set; then
41648 echo $ECHO_N "(cached) $ECHO_C" >&6
41650 cat >conftest.
$ac_ext <<_ACEOF
41653 cat confdefs.h
>>conftest.
$ac_ext
41654 cat >>conftest.
$ac_ext <<_ACEOF
41655 /* end confdefs.h. */
41656 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41658 #define sched_yield innocuous_sched_yield
41660 /* System header to define __stub macros and hopefully few prototypes,
41661 which can conflict with char sched_yield (); below.
41662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41663 <limits.h> exists even on freestanding compilers. */
41666 # include <limits.h>
41668 # include <assert.h>
41673 /* Override any GCC internal prototype to avoid an error.
41674 Use char because int might match the return type of a GCC
41675 builtin and then its argument prototype would still apply. */
41679 char sched_yield ();
41680 /* The GNU C library defines this for functions which it implements
41681 to always fail with ENOSYS. Some functions are actually named
41682 something starting with __ and the normal name is an alias. */
41683 #if defined __stub_sched_yield || defined __stub___sched_yield
41690 return sched_yield ();
41695 rm -f conftest.
$ac_objext conftest
$ac_exeext
41696 if { (ac_try
="$ac_link"
41697 case "(($ac_try" in
41698 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41699 *) ac_try_echo=$ac_try;;
41701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41702 (eval "$ac_link") 2>conftest.er1
41704 grep -v '^ *+' conftest.er1 >conftest.err
41706 cat conftest.err >&5
41707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41708 (exit $ac_status); } && {
41709 test -z "$ac_c_werror_flag" ||
41710 test ! -s conftest.err
41711 } && test -s conftest$ac_exeext &&
41712 $as_test_x conftest$ac_exeext; then
41713 ac_cv_func_sched_yield=yes
41715 echo "$as_me: failed program was:" >&5
41716 sed 's/^/| /' conftest.$ac_ext >&5
41718 ac_cv_func_sched_yield=no
41721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41722 conftest$ac_exeext conftest.$ac_ext
41724 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41725 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41726 if test $ac_cv_func_sched_yield = yes; then
41727 cat >>confdefs.h <<\_ACEOF
41728 #define HAVE_SCHED_YIELD 1
41733 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41734 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41735 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41736 echo $ECHO_N "(cached) $ECHO_C" >&6
41738 ac_check_lib_save_LIBS=$LIBS
41739 LIBS="-lposix4 $LIBS"
41740 cat >conftest.$ac_ext <<_ACEOF
41743 cat confdefs.h >>conftest.$ac_ext
41744 cat >>conftest.$ac_ext <<_ACEOF
41745 /* end confdefs.h. */
41747 /* Override any GCC internal prototype to avoid an error.
41748 Use char because int might match the return type of a GCC
41749 builtin and then its argument prototype would still apply. */
41753 char sched_yield ();
41757 return sched_yield ();
41762 rm -f conftest.$ac_objext conftest$ac_exeext
41763 if { (ac_try="$ac_link"
41764 case "(($ac_try" in
41765 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41766 *) ac_try_echo
=$ac_try;;
41768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41769 (eval "$ac_link") 2>conftest.er1
41771 grep -v '^ *+' conftest.er1
>conftest.err
41773 cat conftest.err
>&5
41774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41775 (exit $ac_status); } && {
41776 test -z "$ac_c_werror_flag" ||
41777 test ! -s conftest.err
41778 } && test -s conftest
$ac_exeext &&
41779 $as_test_x conftest
$ac_exeext; then
41780 ac_cv_lib_posix4_sched_yield
=yes
41782 echo "$as_me: failed program was:" >&5
41783 sed 's/^/| /' conftest.
$ac_ext >&5
41785 ac_cv_lib_posix4_sched_yield
=no
41788 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41789 conftest
$ac_exeext conftest.
$ac_ext
41790 LIBS
=$ac_check_lib_save_LIBS
41792 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41793 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41794 if test $ac_cv_lib_posix4_sched_yield = yes; then
41795 cat >>confdefs.h
<<\_ACEOF
41796 #define HAVE_SCHED_YIELD 1
41798 POSIX4_LINK
=" -lposix4"
41800 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41801 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41812 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41813 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41814 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41815 echo $ECHO_N "(cached) $ECHO_C" >&6
41817 cat >conftest.
$ac_ext <<_ACEOF
41820 cat confdefs.h
>>conftest.
$ac_ext
41821 cat >>conftest.
$ac_ext <<_ACEOF
41822 /* end confdefs.h. */
41823 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41825 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41827 /* System header to define __stub macros and hopefully few prototypes,
41828 which can conflict with char pthread_attr_getschedpolicy (); below.
41829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41830 <limits.h> exists even on freestanding compilers. */
41833 # include <limits.h>
41835 # include <assert.h>
41838 #undef pthread_attr_getschedpolicy
41840 /* Override any GCC internal prototype to avoid an error.
41841 Use char because int might match the return type of a GCC
41842 builtin and then its argument prototype would still apply. */
41846 char pthread_attr_getschedpolicy ();
41847 /* The GNU C library defines this for functions which it implements
41848 to always fail with ENOSYS. Some functions are actually named
41849 something starting with __ and the normal name is an alias. */
41850 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41857 return pthread_attr_getschedpolicy ();
41862 rm -f conftest.
$ac_objext conftest
$ac_exeext
41863 if { (ac_try
="$ac_link"
41864 case "(($ac_try" in
41865 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41866 *) ac_try_echo=$ac_try;;
41868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41869 (eval "$ac_link") 2>conftest.er1
41871 grep -v '^ *+' conftest.er1 >conftest.err
41873 cat conftest.err >&5
41874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41875 (exit $ac_status); } && {
41876 test -z "$ac_c_werror_flag" ||
41877 test ! -s conftest.err
41878 } && test -s conftest$ac_exeext &&
41879 $as_test_x conftest$ac_exeext; then
41880 ac_cv_func_pthread_attr_getschedpolicy=yes
41882 echo "$as_me: failed program was:" >&5
41883 sed 's/^/| /' conftest.$ac_ext >&5
41885 ac_cv_func_pthread_attr_getschedpolicy=no
41888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41889 conftest$ac_exeext conftest.$ac_ext
41891 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41892 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41893 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41894 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41895 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41896 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41897 echo $ECHO_N "(cached) $ECHO_C" >&6
41899 cat >conftest.$ac_ext <<_ACEOF
41902 cat confdefs.h >>conftest.$ac_ext
41903 cat >>conftest.$ac_ext <<_ACEOF
41904 /* end confdefs.h. */
41905 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41907 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41909 /* System header to define __stub macros and hopefully few prototypes,
41910 which can conflict with char pthread_attr_setschedparam (); below.
41911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41912 <limits.h> exists even on freestanding compilers. */
41915 # include <limits.h>
41917 # include <assert.h>
41920 #undef pthread_attr_setschedparam
41922 /* Override any GCC internal prototype to avoid an error.
41923 Use char because int might match the return type of a GCC
41924 builtin and then its argument prototype would still apply. */
41928 char pthread_attr_setschedparam ();
41929 /* The GNU C library defines this for functions which it implements
41930 to always fail with ENOSYS. Some functions are actually named
41931 something starting with __ and the normal name is an alias. */
41932 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41939 return pthread_attr_setschedparam ();
41944 rm -f conftest.$ac_objext conftest$ac_exeext
41945 if { (ac_try="$ac_link"
41946 case "(($ac_try" in
41947 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41948 *) ac_try_echo
=$ac_try;;
41950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41951 (eval "$ac_link") 2>conftest.er1
41953 grep -v '^ *+' conftest.er1
>conftest.err
41955 cat conftest.err
>&5
41956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41957 (exit $ac_status); } && {
41958 test -z "$ac_c_werror_flag" ||
41959 test ! -s conftest.err
41960 } && test -s conftest
$ac_exeext &&
41961 $as_test_x conftest
$ac_exeext; then
41962 ac_cv_func_pthread_attr_setschedparam
=yes
41964 echo "$as_me: failed program was:" >&5
41965 sed 's/^/| /' conftest.
$ac_ext >&5
41967 ac_cv_func_pthread_attr_setschedparam
=no
41970 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41971 conftest
$ac_exeext conftest.
$ac_ext
41973 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41974 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41975 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41976 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41977 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41978 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41979 echo $ECHO_N "(cached) $ECHO_C" >&6
41981 cat >conftest.
$ac_ext <<_ACEOF
41984 cat confdefs.h
>>conftest.
$ac_ext
41985 cat >>conftest.
$ac_ext <<_ACEOF
41986 /* end confdefs.h. */
41987 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41989 #define sched_get_priority_max innocuous_sched_get_priority_max
41991 /* System header to define __stub macros and hopefully few prototypes,
41992 which can conflict with char sched_get_priority_max (); below.
41993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41994 <limits.h> exists even on freestanding compilers. */
41997 # include <limits.h>
41999 # include <assert.h>
42002 #undef sched_get_priority_max
42004 /* Override any GCC internal prototype to avoid an error.
42005 Use char because int might match the return type of a GCC
42006 builtin and then its argument prototype would still apply. */
42010 char sched_get_priority_max ();
42011 /* The GNU C library defines this for functions which it implements
42012 to always fail with ENOSYS. Some functions are actually named
42013 something starting with __ and the normal name is an alias. */
42014 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42021 return sched_get_priority_max ();
42026 rm -f conftest.
$ac_objext conftest
$ac_exeext
42027 if { (ac_try
="$ac_link"
42028 case "(($ac_try" in
42029 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42030 *) ac_try_echo=$ac_try;;
42032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42033 (eval "$ac_link") 2>conftest.er1
42035 grep -v '^ *+' conftest.er1 >conftest.err
42037 cat conftest.err >&5
42038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42039 (exit $ac_status); } && {
42040 test -z "$ac_c_werror_flag" ||
42041 test ! -s conftest.err
42042 } && test -s conftest$ac_exeext &&
42043 $as_test_x conftest$ac_exeext; then
42044 ac_cv_func_sched_get_priority_max=yes
42046 echo "$as_me: failed program was:" >&5
42047 sed 's/^/| /' conftest.$ac_ext >&5
42049 ac_cv_func_sched_get_priority_max=no
42052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42053 conftest$ac_exeext conftest.$ac_ext
42055 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42056 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42057 if test $ac_cv_func_sched_get_priority_max = yes; then
42060 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42061 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42062 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42063 echo $ECHO_N "(cached) $ECHO_C" >&6
42065 ac_check_lib_save_LIBS=$LIBS
42066 LIBS="-lposix4 $LIBS"
42067 cat >conftest.$ac_ext <<_ACEOF
42070 cat confdefs.h >>conftest.$ac_ext
42071 cat >>conftest.$ac_ext <<_ACEOF
42072 /* end confdefs.h. */
42074 /* Override any GCC internal prototype to avoid an error.
42075 Use char because int might match the return type of a GCC
42076 builtin and then its argument prototype would still apply. */
42080 char sched_get_priority_max ();
42084 return sched_get_priority_max ();
42089 rm -f conftest.$ac_objext conftest$ac_exeext
42090 if { (ac_try="$ac_link"
42091 case "(($ac_try" in
42092 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42093 *) ac_try_echo
=$ac_try;;
42095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42096 (eval "$ac_link") 2>conftest.er1
42098 grep -v '^ *+' conftest.er1
>conftest.err
42100 cat conftest.err
>&5
42101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42102 (exit $ac_status); } && {
42103 test -z "$ac_c_werror_flag" ||
42104 test ! -s conftest.err
42105 } && test -s conftest
$ac_exeext &&
42106 $as_test_x conftest
$ac_exeext; then
42107 ac_cv_lib_posix4_sched_get_priority_max
=yes
42109 echo "$as_me: failed program was:" >&5
42110 sed 's/^/| /' conftest.
$ac_ext >&5
42112 ac_cv_lib_posix4_sched_get_priority_max
=no
42115 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42116 conftest
$ac_exeext conftest.
$ac_ext
42117 LIBS
=$ac_check_lib_save_LIBS
42119 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42120 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42121 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42124 POSIX4_LINK
=" -lposix4"
42138 if test "$HAVE_PRIOR_FUNCS" = 1; then
42139 cat >>confdefs.h
<<\_ACEOF
42140 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42144 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42145 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42148 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42149 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42150 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42151 echo $ECHO_N "(cached) $ECHO_C" >&6
42153 cat >conftest.
$ac_ext <<_ACEOF
42156 cat confdefs.h
>>conftest.
$ac_ext
42157 cat >>conftest.
$ac_ext <<_ACEOF
42158 /* end confdefs.h. */
42159 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42161 #define pthread_cancel innocuous_pthread_cancel
42163 /* System header to define __stub macros and hopefully few prototypes,
42164 which can conflict with char pthread_cancel (); below.
42165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42166 <limits.h> exists even on freestanding compilers. */
42169 # include <limits.h>
42171 # include <assert.h>
42174 #undef pthread_cancel
42176 /* Override any GCC internal prototype to avoid an error.
42177 Use char because int might match the return type of a GCC
42178 builtin and then its argument prototype would still apply. */
42182 char pthread_cancel ();
42183 /* The GNU C library defines this for functions which it implements
42184 to always fail with ENOSYS. Some functions are actually named
42185 something starting with __ and the normal name is an alias. */
42186 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42193 return pthread_cancel ();
42198 rm -f conftest.
$ac_objext conftest
$ac_exeext
42199 if { (ac_try
="$ac_link"
42200 case "(($ac_try" in
42201 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42202 *) ac_try_echo=$ac_try;;
42204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42205 (eval "$ac_link") 2>conftest.er1
42207 grep -v '^ *+' conftest.er1 >conftest.err
42209 cat conftest.err >&5
42210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42211 (exit $ac_status); } && {
42212 test -z "$ac_c_werror_flag" ||
42213 test ! -s conftest.err
42214 } && test -s conftest$ac_exeext &&
42215 $as_test_x conftest$ac_exeext; then
42216 ac_cv_func_pthread_cancel=yes
42218 echo "$as_me: failed program was:" >&5
42219 sed 's/^/| /' conftest.$ac_ext >&5
42221 ac_cv_func_pthread_cancel=no
42224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42225 conftest$ac_exeext conftest.$ac_ext
42227 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42228 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42229 if test $ac_cv_func_pthread_cancel = yes; then
42230 cat >>confdefs.h <<\_ACEOF
42231 #define HAVE_PTHREAD_CANCEL 1
42235 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42236 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42240 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42241 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42242 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42243 echo $ECHO_N "(cached) $ECHO_C" >&6
42245 cat >conftest.$ac_ext <<_ACEOF
42248 cat confdefs.h >>conftest.$ac_ext
42249 cat >>conftest.$ac_ext <<_ACEOF
42250 /* end confdefs.h. */
42251 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42253 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42255 /* System header to define __stub macros and hopefully few prototypes,
42256 which can conflict with char pthread_mutex_timedlock (); below.
42257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42258 <limits.h> exists even on freestanding compilers. */
42261 # include <limits.h>
42263 # include <assert.h>
42266 #undef pthread_mutex_timedlock
42268 /* Override any GCC internal prototype to avoid an error.
42269 Use char because int might match the return type of a GCC
42270 builtin and then its argument prototype would still apply. */
42274 char pthread_mutex_timedlock ();
42275 /* The GNU C library defines this for functions which it implements
42276 to always fail with ENOSYS. Some functions are actually named
42277 something starting with __ and the normal name is an alias. */
42278 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42285 return pthread_mutex_timedlock ();
42290 rm -f conftest.$ac_objext conftest$ac_exeext
42291 if { (ac_try="$ac_link"
42292 case "(($ac_try" in
42293 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42294 *) ac_try_echo
=$ac_try;;
42296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42297 (eval "$ac_link") 2>conftest.er1
42299 grep -v '^ *+' conftest.er1
>conftest.err
42301 cat conftest.err
>&5
42302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42303 (exit $ac_status); } && {
42304 test -z "$ac_c_werror_flag" ||
42305 test ! -s conftest.err
42306 } && test -s conftest
$ac_exeext &&
42307 $as_test_x conftest
$ac_exeext; then
42308 ac_cv_func_pthread_mutex_timedlock
=yes
42310 echo "$as_me: failed program was:" >&5
42311 sed 's/^/| /' conftest.
$ac_ext >&5
42313 ac_cv_func_pthread_mutex_timedlock
=no
42316 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42317 conftest
$ac_exeext conftest.
$ac_ext
42319 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42320 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42321 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42322 cat >>confdefs.h
<<\_ACEOF
42323 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42327 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42328 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42332 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42333 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42334 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42335 echo $ECHO_N "(cached) $ECHO_C" >&6
42337 cat >conftest.
$ac_ext <<_ACEOF
42340 cat confdefs.h
>>conftest.
$ac_ext
42341 cat >>conftest.
$ac_ext <<_ACEOF
42342 /* end confdefs.h. */
42343 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42345 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42347 /* System header to define __stub macros and hopefully few prototypes,
42348 which can conflict with char pthread_attr_setstacksize (); below.
42349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42350 <limits.h> exists even on freestanding compilers. */
42353 # include <limits.h>
42355 # include <assert.h>
42358 #undef pthread_attr_setstacksize
42360 /* Override any GCC internal prototype to avoid an error.
42361 Use char because int might match the return type of a GCC
42362 builtin and then its argument prototype would still apply. */
42366 char pthread_attr_setstacksize ();
42367 /* The GNU C library defines this for functions which it implements
42368 to always fail with ENOSYS. Some functions are actually named
42369 something starting with __ and the normal name is an alias. */
42370 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42377 return pthread_attr_setstacksize ();
42382 rm -f conftest.
$ac_objext conftest
$ac_exeext
42383 if { (ac_try
="$ac_link"
42384 case "(($ac_try" in
42385 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42386 *) ac_try_echo=$ac_try;;
42388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42389 (eval "$ac_link") 2>conftest.er1
42391 grep -v '^ *+' conftest.er1 >conftest.err
42393 cat conftest.err >&5
42394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42395 (exit $ac_status); } && {
42396 test -z "$ac_c_werror_flag" ||
42397 test ! -s conftest.err
42398 } && test -s conftest$ac_exeext &&
42399 $as_test_x conftest$ac_exeext; then
42400 ac_cv_func_pthread_attr_setstacksize=yes
42402 echo "$as_me: failed program was:" >&5
42403 sed 's/^/| /' conftest.$ac_ext >&5
42405 ac_cv_func_pthread_attr_setstacksize=no
42408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42409 conftest$ac_exeext conftest.$ac_ext
42411 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42412 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42413 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42414 cat >>confdefs.h <<\_ACEOF
42415 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42422 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42423 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42424 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42425 echo $ECHO_N "(cached) $ECHO_C" >&6
42428 cat >conftest.$ac_ext <<_ACEOF
42431 cat confdefs.h >>conftest.$ac_ext
42432 cat >>conftest.$ac_ext <<_ACEOF
42433 /* end confdefs.h. */
42434 #include <pthread.h>
42439 pthread_mutexattr_t attr;
42440 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42446 rm -f conftest.$ac_objext
42447 if { (ac_try="$ac_compile"
42448 case "(($ac_try" in
42449 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42450 *) ac_try_echo
=$ac_try;;
42452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42453 (eval "$ac_compile") 2>conftest.er1
42455 grep -v '^ *+' conftest.er1
>conftest.err
42457 cat conftest.err
>&5
42458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42459 (exit $ac_status); } && {
42460 test -z "$ac_c_werror_flag" ||
42461 test ! -s conftest.err
42462 } && test -s conftest.
$ac_objext; then
42463 wx_cv_type_pthread_mutexattr_t
=yes
42465 echo "$as_me: failed program was:" >&5
42466 sed 's/^/| /' conftest.
$ac_ext >&5
42468 wx_cv_type_pthread_mutexattr_t
=no
42472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42475 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42476 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42478 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42479 cat >>confdefs.h
<<\_ACEOF
42480 #define HAVE_PTHREAD_MUTEXATTR_T 1
42484 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42485 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42486 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42487 echo $ECHO_N "(cached) $ECHO_C" >&6
42490 cat >conftest.
$ac_ext <<_ACEOF
42493 cat confdefs.h
>>conftest.
$ac_ext
42494 cat >>conftest.
$ac_ext <<_ACEOF
42495 /* end confdefs.h. */
42496 #include <pthread.h>
42501 pthread_mutexattr_t attr;
42502 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42508 rm -f conftest.
$ac_objext
42509 if { (ac_try
="$ac_compile"
42510 case "(($ac_try" in
42511 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42512 *) ac_try_echo=$ac_try;;
42514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42515 (eval "$ac_compile") 2>conftest.er1
42517 grep -v '^ *+' conftest.er1 >conftest.err
42519 cat conftest.err >&5
42520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42521 (exit $ac_status); } && {
42522 test -z "$ac_c_werror_flag" ||
42523 test ! -s conftest.err
42524 } && test -s conftest.$ac_objext; then
42525 wx_cv_func_pthread_mutexattr_settype_decl=yes
42527 echo "$as_me: failed program was:" >&5
42528 sed 's/^/| /' conftest.$ac_ext >&5
42530 wx_cv_func_pthread_mutexattr_settype_decl=no
42534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42537 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42538 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42539 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42540 cat >>confdefs.h <<\_ACEOF
42541 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42546 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42547 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42548 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42549 echo $ECHO_N "(cached) $ECHO_C" >&6
42552 cat >conftest.$ac_ext <<_ACEOF
42555 cat confdefs.h >>conftest.$ac_ext
42556 cat >>conftest.$ac_ext <<_ACEOF
42557 /* end confdefs.h. */
42558 #include <pthread.h>
42563 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42569 rm -f conftest.$ac_objext
42570 if { (ac_try="$ac_compile"
42571 case "(($ac_try" in
42572 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42573 *) ac_try_echo
=$ac_try;;
42575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42576 (eval "$ac_compile") 2>conftest.er1
42578 grep -v '^ *+' conftest.er1
>conftest.err
42580 cat conftest.err
>&5
42581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42582 (exit $ac_status); } && {
42583 test -z "$ac_c_werror_flag" ||
42584 test ! -s conftest.err
42585 } && test -s conftest.
$ac_objext; then
42587 wx_cv_type_pthread_rec_mutex_init
=yes
42590 echo "$as_me: failed program was:" >&5
42591 sed 's/^/| /' conftest.
$ac_ext >&5
42594 wx_cv_type_pthread_rec_mutex_init
=no
42599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42602 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42603 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42604 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42605 cat >>confdefs.h
<<\_ACEOF
42606 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42610 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42611 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42617 if test "$wxUSE_THREADS" = "yes" ; then
42620 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42621 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42622 if test "${wx_cv_cflags_mthread+set}" = set; then
42623 echo $ECHO_N "(cached) $ECHO_C" >&6
42626 CFLAGS_OLD
="$CFLAGS"
42627 CFLAGS
="-mthreads $CFLAGS"
42628 cat >conftest.
$ac_ext <<_ACEOF
42631 cat confdefs.h
>>conftest.
$ac_ext
42632 cat >>conftest.
$ac_ext <<_ACEOF
42633 /* end confdefs.h. */
42643 rm -f conftest.
$ac_objext
42644 if { (ac_try
="$ac_compile"
42645 case "(($ac_try" in
42646 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42647 *) ac_try_echo=$ac_try;;
42649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42650 (eval "$ac_compile") 2>conftest.er1
42652 grep -v '^ *+' conftest.er1 >conftest.err
42654 cat conftest.err >&5
42655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42656 (exit $ac_status); } && {
42657 test -z "$ac_c_werror_flag" ||
42658 test ! -s conftest.err
42659 } && test -s conftest.$ac_objext; then
42660 wx_cv_cflags_mthread=yes
42662 echo "$as_me: failed program was:" >&5
42663 sed 's/^/| /' conftest.$ac_ext >&5
42665 wx_cv_cflags_mthread=no
42669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42673 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42674 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42676 if test "$wx_cv_cflags_mthread" = "yes"; then
42677 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42678 LDFLAGS="$LDFLAGS -mthreads"
42680 CFLAGS="$CFLAGS_OLD"
42684 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42685 LDFLAGS="$LDFLAGS -Zmt"
42691 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42692 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42693 if test "${ac_cv_func_localtime_r+set}" = set; then
42694 echo $ECHO_N "(cached) $ECHO_C" >&6
42696 cat >conftest.$ac_ext <<_ACEOF
42699 cat confdefs.h >>conftest.$ac_ext
42700 cat >>conftest.$ac_ext <<_ACEOF
42701 /* end confdefs.h. */
42702 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42704 #define localtime_r innocuous_localtime_r
42706 /* System header to define __stub macros and hopefully few prototypes,
42707 which can conflict with char localtime_r (); below.
42708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42709 <limits.h> exists even on freestanding compilers. */
42712 # include <limits.h>
42714 # include <assert.h>
42719 /* Override any GCC internal prototype to avoid an error.
42720 Use char because int might match the return type of a GCC
42721 builtin and then its argument prototype would still apply. */
42725 char localtime_r ();
42726 /* The GNU C library defines this for functions which it implements
42727 to always fail with ENOSYS. Some functions are actually named
42728 something starting with __ and the normal name is an alias. */
42729 #if defined __stub_localtime_r || defined __stub___localtime_r
42736 return localtime_r ();
42741 rm -f conftest.$ac_objext conftest$ac_exeext
42742 if { (ac_try="$ac_link"
42743 case "(($ac_try" in
42744 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42745 *) ac_try_echo
=$ac_try;;
42747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42748 (eval "$ac_link") 2>conftest.er1
42750 grep -v '^ *+' conftest.er1
>conftest.err
42752 cat conftest.err
>&5
42753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42754 (exit $ac_status); } && {
42755 test -z "$ac_c_werror_flag" ||
42756 test ! -s conftest.err
42757 } && test -s conftest
$ac_exeext &&
42758 $as_test_x conftest
$ac_exeext; then
42759 ac_cv_func_localtime_r
=yes
42761 echo "$as_me: failed program was:" >&5
42762 sed 's/^/| /' conftest.
$ac_ext >&5
42764 ac_cv_func_localtime_r
=no
42767 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42768 conftest
$ac_exeext conftest.
$ac_ext
42770 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42771 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42772 if test $ac_cv_func_localtime_r = yes; then
42773 cat >>confdefs.h
<<\_ACEOF
42774 #define HAVE_LOCALTIME_R 1
42779 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42780 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42781 if test "${ac_cv_func_gmtime_r+set}" = set; then
42782 echo $ECHO_N "(cached) $ECHO_C" >&6
42784 cat >conftest.
$ac_ext <<_ACEOF
42787 cat confdefs.h
>>conftest.
$ac_ext
42788 cat >>conftest.
$ac_ext <<_ACEOF
42789 /* end confdefs.h. */
42790 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42792 #define gmtime_r innocuous_gmtime_r
42794 /* System header to define __stub macros and hopefully few prototypes,
42795 which can conflict with char gmtime_r (); below.
42796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42797 <limits.h> exists even on freestanding compilers. */
42800 # include <limits.h>
42802 # include <assert.h>
42807 /* Override any GCC internal prototype to avoid an error.
42808 Use char because int might match the return type of a GCC
42809 builtin and then its argument prototype would still apply. */
42814 /* The GNU C library defines this for functions which it implements
42815 to always fail with ENOSYS. Some functions are actually named
42816 something starting with __ and the normal name is an alias. */
42817 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42824 return gmtime_r ();
42829 rm -f conftest.
$ac_objext conftest
$ac_exeext
42830 if { (ac_try
="$ac_link"
42831 case "(($ac_try" in
42832 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42833 *) ac_try_echo=$ac_try;;
42835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42836 (eval "$ac_link") 2>conftest.er1
42838 grep -v '^ *+' conftest.er1 >conftest.err
42840 cat conftest.err >&5
42841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42842 (exit $ac_status); } && {
42843 test -z "$ac_c_werror_flag" ||
42844 test ! -s conftest.err
42845 } && test -s conftest$ac_exeext &&
42846 $as_test_x conftest$ac_exeext; then
42847 ac_cv_func_gmtime_r=yes
42849 echo "$as_me: failed program was:" >&5
42850 sed 's/^/| /' conftest.$ac_ext >&5
42852 ac_cv_func_gmtime_r=no
42855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42856 conftest$ac_exeext conftest.$ac_ext
42858 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42859 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42860 if test $ac_cv_func_gmtime_r = yes; then
42861 cat >>confdefs.h <<\_ACEOF
42862 #define HAVE_GMTIME_R 1
42871 ac_cpp='$CPP $CPPFLAGS'
42872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42876 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42877 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42879 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42880 echo $ECHO_N "(cached) $ECHO_C" >&6
42884 ################################################################
42886 ac_cv_func_which_gethostbyname_r=unknown
42889 # ONE ARGUMENT (sanity check)
42892 # This should fail, as there is no variant of gethostbyname_r() that takes
42893 # a single argument. If it actually compiles, then we can assume that
42894 # netdb.h is not declaring the function, and the compiler is thereby
42895 # assuming an implicit prototype. In which case, we're out of luck.
42897 cat >conftest.$ac_ext <<_ACEOF
42900 cat confdefs.h >>conftest.$ac_ext
42901 cat >>conftest.$ac_ext <<_ACEOF
42902 /* end confdefs.h. */
42908 char *name = "www.gnu.org";
42909 (void)gethostbyname_r(name) /* ; */
42915 rm -f conftest.$ac_objext
42916 if { (ac_try="$ac_compile"
42917 case "(($ac_try" in
42918 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42919 *) ac_try_echo
=$ac_try;;
42921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42922 (eval "$ac_compile") 2>conftest.er1
42924 grep -v '^ *+' conftest.er1
>conftest.err
42926 cat conftest.err
>&5
42927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42928 (exit $ac_status); } && {
42929 test -z "$ac_c_werror_flag" ||
42930 test ! -s conftest.err
42931 } && test -s conftest.
$ac_objext; then
42932 ac_cv_func_which_gethostbyname_r
=no
42934 echo "$as_me: failed program was:" >&5
42935 sed 's/^/| /' conftest.
$ac_ext >&5
42940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42947 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42949 cat >conftest.
$ac_ext <<_ACEOF
42952 cat confdefs.h
>>conftest.
$ac_ext
42953 cat >>conftest.
$ac_ext <<_ACEOF
42954 /* end confdefs.h. */
42960 char *name = "www.gnu.org";
42961 struct hostent ret, *retp;
42965 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42971 rm -f conftest.
$ac_objext
42972 if { (ac_try
="$ac_compile"
42973 case "(($ac_try" in
42974 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42975 *) ac_try_echo=$ac_try;;
42977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42978 (eval "$ac_compile") 2>conftest.er1
42980 grep -v '^ *+' conftest.er1 >conftest.err
42982 cat conftest.err >&5
42983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42984 (exit $ac_status); } && {
42985 test -z "$ac_c_werror_flag" ||
42986 test ! -s conftest.err
42987 } && test -s conftest.$ac_objext; then
42988 ac_cv_func_which_gethostbyname_r=six
42990 echo "$as_me: failed program was:" >&5
42991 sed 's/^/| /' conftest.$ac_ext >&5
42996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43005 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43007 cat >conftest.$ac_ext <<_ACEOF
43010 cat confdefs.h >>conftest.$ac_ext
43011 cat >>conftest.$ac_ext <<_ACEOF
43012 /* end confdefs.h. */
43018 char *name = "www.gnu.org";
43019 struct hostent ret;
43023 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43029 rm -f conftest.$ac_objext
43030 if { (ac_try="$ac_compile"
43031 case "(($ac_try" in
43032 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43033 *) ac_try_echo
=$ac_try;;
43035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43036 (eval "$ac_compile") 2>conftest.er1
43038 grep -v '^ *+' conftest.er1
>conftest.err
43040 cat conftest.err
>&5
43041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43042 (exit $ac_status); } && {
43043 test -z "$ac_c_werror_flag" ||
43044 test ! -s conftest.err
43045 } && test -s conftest.
$ac_objext; then
43046 ac_cv_func_which_gethostbyname_r
=five
43048 echo "$as_me: failed program was:" >&5
43049 sed 's/^/| /' conftest.
$ac_ext >&5
43054 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43060 # (e.g. AIX, HP-UX, Tru64)
43063 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43065 cat >conftest.
$ac_ext <<_ACEOF
43068 cat confdefs.h
>>conftest.
$ac_ext
43069 cat >>conftest.
$ac_ext <<_ACEOF
43070 /* end confdefs.h. */
43076 char *name = "www.gnu.org";
43077 struct hostent ret;
43078 struct hostent_data data;
43079 (void)gethostbyname_r(name, &ret, &data) /* ; */
43085 rm -f conftest.
$ac_objext
43086 if { (ac_try
="$ac_compile"
43087 case "(($ac_try" in
43088 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43089 *) ac_try_echo=$ac_try;;
43091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43092 (eval "$ac_compile") 2>conftest.er1
43094 grep -v '^ *+' conftest.er1 >conftest.err
43096 cat conftest.err >&5
43097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43098 (exit $ac_status); } && {
43099 test -z "$ac_c_werror_flag" ||
43100 test ! -s conftest.err
43101 } && test -s conftest.$ac_objext; then
43102 ac_cv_func_which_gethostbyname_r=three
43104 echo "$as_me: failed program was:" >&5
43105 sed 's/^/| /' conftest.$ac_ext >&5
43110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43114 ################################################################
43119 case "$ac_cv_func_which_gethostbyname_r" in
43121 { echo "$as_me:$LINENO: result: three" >&5
43122 echo "${ECHO_T}three" >&6; }
43123 cat >>confdefs.h <<\_ACEOF
43124 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43130 { echo "$as_me:$LINENO: result: five" >&5
43131 echo "${ECHO_T}five" >&6; }
43132 cat >>confdefs.h <<\_ACEOF
43133 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43139 { echo "$as_me:$LINENO: result: six" >&5
43140 echo "${ECHO_T}six" >&6; }
43141 cat >>confdefs.h <<\_ACEOF
43142 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43148 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43149 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43153 { echo "$as_me:$LINENO: result: can't tell" >&5
43154 echo "${ECHO_T}can't tell" >&6; }
43158 { { echo "$as_me:$LINENO: error: internal error" >&5
43159 echo "$as_me: error: internal error" >&2;}
43160 { (exit 1); exit 1; }; }
43165 ac_cpp='$CPP $CPPFLAGS'
43166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43172 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43173 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43174 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43175 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43176 if test "${ac_cv_func_gethostbyname+set}" = set; then
43177 echo $ECHO_N "(cached) $ECHO_C" >&6
43179 cat >conftest.$ac_ext <<_ACEOF
43182 cat confdefs.h >>conftest.$ac_ext
43183 cat >>conftest.$ac_ext <<_ACEOF
43184 /* end confdefs.h. */
43185 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43187 #define gethostbyname innocuous_gethostbyname
43189 /* System header to define __stub macros and hopefully few prototypes,
43190 which can conflict with char gethostbyname (); below.
43191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43192 <limits.h> exists even on freestanding compilers. */
43195 # include <limits.h>
43197 # include <assert.h>
43200 #undef gethostbyname
43202 /* Override any GCC internal prototype to avoid an error.
43203 Use char because int might match the return type of a GCC
43204 builtin and then its argument prototype would still apply. */
43208 char gethostbyname ();
43209 /* The GNU C library defines this for functions which it implements
43210 to always fail with ENOSYS. Some functions are actually named
43211 something starting with __ and the normal name is an alias. */
43212 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43219 return gethostbyname ();
43224 rm -f conftest.$ac_objext conftest$ac_exeext
43225 if { (ac_try="$ac_link"
43226 case "(($ac_try" in
43227 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43228 *) ac_try_echo
=$ac_try;;
43230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43231 (eval "$ac_link") 2>conftest.er1
43233 grep -v '^ *+' conftest.er1
>conftest.err
43235 cat conftest.err
>&5
43236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43237 (exit $ac_status); } && {
43238 test -z "$ac_c_werror_flag" ||
43239 test ! -s conftest.err
43240 } && test -s conftest
$ac_exeext &&
43241 $as_test_x conftest
$ac_exeext; then
43242 ac_cv_func_gethostbyname
=yes
43244 echo "$as_me: failed program was:" >&5
43245 sed 's/^/| /' conftest.
$ac_ext >&5
43247 ac_cv_func_gethostbyname
=no
43250 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43251 conftest
$ac_exeext conftest.
$ac_ext
43253 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43254 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43255 if test $ac_cv_func_gethostbyname = yes; then
43256 cat >>confdefs.h
<<\_ACEOF
43257 #define HAVE_GETHOSTBYNAME 1
43264 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43265 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43266 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43267 echo $ECHO_N "(cached) $ECHO_C" >&6
43271 ac_cpp
='$CXXCPP $CPPFLAGS'
43272 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43273 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43274 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43277 cat >conftest.
$ac_ext <<_ACEOF
43280 cat confdefs.h
>>conftest.
$ac_ext
43281 cat >>conftest.
$ac_ext <<_ACEOF
43282 /* end confdefs.h. */
43290 struct servent *se, *res;
43293 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43299 rm -f conftest.
$ac_objext
43300 if { (ac_try
="$ac_compile"
43301 case "(($ac_try" in
43302 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43303 *) ac_try_echo=$ac_try;;
43305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43306 (eval "$ac_compile") 2>conftest.er1
43308 grep -v '^ *+' conftest.er1 >conftest.err
43310 cat conftest.err >&5
43311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43312 (exit $ac_status); } && {
43313 test -z "$ac_cxx_werror_flag" ||
43314 test ! -s conftest.err
43315 } && test -s conftest.$ac_objext; then
43316 ac_cv_func_which_getservbyname_r=six
43318 echo "$as_me: failed program was:" >&5
43319 sed 's/^/| /' conftest.$ac_ext >&5
43322 cat >conftest.$ac_ext <<_ACEOF
43325 cat confdefs.h >>conftest.$ac_ext
43326 cat >>conftest.$ac_ext <<_ACEOF
43327 /* end confdefs.h. */
43335 struct servent *se;
43338 (void) getservbyname_r(name, proto, se, buffer, buflen)
43344 rm -f conftest.$ac_objext
43345 if { (ac_try="$ac_compile"
43346 case "(($ac_try" in
43347 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43348 *) ac_try_echo
=$ac_try;;
43350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43351 (eval "$ac_compile") 2>conftest.er1
43353 grep -v '^ *+' conftest.er1
>conftest.err
43355 cat conftest.err
>&5
43356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43357 (exit $ac_status); } && {
43358 test -z "$ac_cxx_werror_flag" ||
43359 test ! -s conftest.err
43360 } && test -s conftest.
$ac_objext; then
43361 ac_cv_func_which_getservbyname_r
=five
43363 echo "$as_me: failed program was:" >&5
43364 sed 's/^/| /' conftest.
$ac_ext >&5
43367 cat >conftest.
$ac_ext <<_ACEOF
43370 cat confdefs.h
>>conftest.
$ac_ext
43371 cat >>conftest.
$ac_ext <<_ACEOF
43372 /* end confdefs.h. */
43380 struct servent *se;
43381 struct servent_data data;
43382 (void) getservbyname_r(name, proto, se, &data);
43388 rm -f conftest.
$ac_objext
43389 if { (ac_try
="$ac_compile"
43390 case "(($ac_try" in
43391 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43392 *) ac_try_echo=$ac_try;;
43394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43395 (eval "$ac_compile") 2>conftest.er1
43397 grep -v '^ *+' conftest.er1 >conftest.err
43399 cat conftest.err >&5
43400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43401 (exit $ac_status); } && {
43402 test -z "$ac_cxx_werror_flag" ||
43403 test ! -s conftest.err
43404 } && test -s conftest.$ac_objext; then
43405 ac_cv_func_which_getservbyname_r=four
43407 echo "$as_me: failed program was:" >&5
43408 sed 's/^/| /' conftest.$ac_ext >&5
43410 ac_cv_func_which_getservbyname_r=no
43414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43426 ac_cpp='$CPP $CPPFLAGS'
43427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43434 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43435 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43437 if test $ac_cv_func_which_getservbyname_r = six; then
43438 cat >>confdefs.h <<\_ACEOF
43439 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43442 elif test $ac_cv_func_which_getservbyname_r = five; then
43443 cat >>confdefs.h <<\_ACEOF
43444 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43447 elif test $ac_cv_func_which_getservbyname_r = four; then
43448 cat >>confdefs.h <<\_ACEOF
43449 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43455 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43456 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43458 for ac_func in getservbyname
43460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43461 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43463 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43464 echo $ECHO_N "(cached) $ECHO_C" >&6
43466 cat >conftest.$ac_ext <<_ACEOF
43469 cat confdefs.h >>conftest.$ac_ext
43470 cat >>conftest.$ac_ext <<_ACEOF
43471 /* end confdefs.h. */
43472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43474 #define $ac_func innocuous_$ac_func
43476 /* System header to define __stub macros and hopefully few prototypes,
43477 which can conflict with char $ac_func (); below.
43478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43479 <limits.h> exists even on freestanding compilers. */
43482 # include <limits.h>
43484 # include <assert.h>
43489 /* Override any GCC internal prototype to avoid an error.
43490 Use char because int might match the return type of a GCC
43491 builtin and then its argument prototype would still apply. */
43496 /* The GNU C library defines this for functions which it implements
43497 to always fail with ENOSYS. Some functions are actually named
43498 something starting with __ and the normal name is an alias. */
43499 #if defined __stub_$ac_func || defined __stub___$ac_func
43506 return $ac_func ();
43511 rm -f conftest.$ac_objext conftest$ac_exeext
43512 if { (ac_try="$ac_link"
43513 case "(($ac_try" in
43514 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43515 *) ac_try_echo
=$ac_try;;
43517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43518 (eval "$ac_link") 2>conftest.er1
43520 grep -v '^ *+' conftest.er1
>conftest.err
43522 cat conftest.err
>&5
43523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43524 (exit $ac_status); } && {
43525 test -z "$ac_c_werror_flag" ||
43526 test ! -s conftest.err
43527 } && test -s conftest
$ac_exeext &&
43528 $as_test_x conftest
$ac_exeext; then
43529 eval "$as_ac_var=yes"
43531 echo "$as_me: failed program was:" >&5
43532 sed 's/^/| /' conftest.
$ac_ext >&5
43534 eval "$as_ac_var=no"
43537 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43538 conftest
$ac_exeext conftest.
$ac_ext
43540 ac_res
=`eval echo '${'$as_ac_var'}'`
43541 { echo "$as_me:$LINENO: result: $ac_res" >&5
43542 echo "${ECHO_T}$ac_res" >&6; }
43543 if test `eval echo '${'$as_ac_var'}'` = yes; then
43544 cat >>confdefs.h
<<_ACEOF
43545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43547 cat >>confdefs.h
<<\_ACEOF
43548 #define HAVE_GETSERVBYNAME 1
43556 if test "$wxUSE_THREADS" = "yes"; then
43557 cat >>confdefs.h
<<\_ACEOF
43558 #define wxUSE_THREADS 1
43562 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
43564 if test "$wx_cv_func_strtok_r" = "yes"; then
43565 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43566 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43567 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43568 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43569 { echo "$as_me:$LINENO: result: yes" >&5
43570 echo "${ECHO_T}yes" >&6; }
43572 { echo "$as_me:$LINENO: result: no" >&5
43573 echo "${ECHO_T}no" >&6; }
43578 if test "$WXGTK2" = 1 ; then
43579 cat >>confdefs.h
<<_ACEOF
43580 #define __WXGTK20__ $WXGTK2
43586 if test "$WXGTK12" = 1 ; then
43587 cat >>confdefs.h
<<_ACEOF
43588 #define __WXGTK12__ $WXGTK12
43593 if test "$WXGTK127" = 1 ; then
43594 cat >>confdefs.h
<<_ACEOF
43595 #define __WXGTK127__ $WXGTK127
43600 if test "$WXGPE" = 1 ; then
43601 cat >>confdefs.h
<<_ACEOF
43602 #define __WXGPE__ $WXGPE
43608 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43613 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43614 wxUSE_DEBUG_INFO
=yes
43615 if test "$GCC" = yes; then
43616 DEBUG_CFLAGS
="-ggdb"
43620 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43621 cat >>confdefs.h
<<\_ACEOF
43625 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43627 if test "$wxUSE_GTK" = 1 ; then
43628 if test "x$wxGTK_VERSION" = "x1" ; then
43629 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43634 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43635 cat >>confdefs.h
<<\_ACEOF
43636 #define wxUSE_MEMORY_TRACING 1
43639 cat >>confdefs.h
<<\_ACEOF
43640 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43643 cat >>confdefs.h
<<\_ACEOF
43644 #define wxUSE_DEBUG_NEW_ALWAYS 1
43647 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
43650 if test "$wxUSE_DMALLOC" = "yes" ; then
43651 DMALLOC_LIBS
="-ldmallocthcxx"
43655 if test "$wxUSE_PROFILE" = "yes" ; then
43656 PROFILE_FLAGS
=" -pg"
43659 if test "$GCC" = "yes" ; then
43660 if test "$wxUSE_NO_RTTI" = "yes" ; then
43661 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
43663 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43664 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
43666 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43667 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
43672 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
43675 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
43681 if test "$wxUSE_OPTIMISE" = "no" ; then
43682 if test "$GCC" = yes ; then
43683 OPTIMISE_CFLAGS
="-O0"
43686 if test "$GCC" = yes ; then
43688 *-pc-os2_emx | *-pc-os2-emx )
43689 OPTIMISE_CFLAGS
="-O2"
43692 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
43696 OPTIMISE_CFLAGS
="-O"
43701 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43702 cat >>confdefs.h
<<\_ACEOF
43703 #define WXWIN_COMPATIBILITY_2_6 1
43707 WXWIN_COMPATIBILITY_2_8
="yes"
43710 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43711 cat >>confdefs.h
<<\_ACEOF
43712 #define WXWIN_COMPATIBILITY_2_8 1
43718 if test "$wxUSE_GUI" = "yes"; then
43719 cat >>confdefs.h
<<\_ACEOF
43720 #define wxUSE_GUI 1
43727 if test "$wxUSE_UNIX" = "yes"; then
43728 cat >>confdefs.h
<<\_ACEOF
43729 #define wxUSE_UNIX 1
43735 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43739 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43740 if test "$USE_DARWIN" = 1; then
43742 elif test "$USE_DOS" = 1; then
43746 for ac_func
in dlopen
43748 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43749 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43751 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43752 echo $ECHO_N "(cached) $ECHO_C" >&6
43754 cat >conftest.
$ac_ext <<_ACEOF
43757 cat confdefs.h
>>conftest.
$ac_ext
43758 cat >>conftest.
$ac_ext <<_ACEOF
43759 /* end confdefs.h. */
43760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43762 #define $ac_func innocuous_$ac_func
43764 /* System header to define __stub macros and hopefully few prototypes,
43765 which can conflict with char $ac_func (); below.
43766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43767 <limits.h> exists even on freestanding compilers. */
43770 # include <limits.h>
43772 # include <assert.h>
43777 /* Override any GCC internal prototype to avoid an error.
43778 Use char because int might match the return type of a GCC
43779 builtin and then its argument prototype would still apply. */
43784 /* The GNU C library defines this for functions which it implements
43785 to always fail with ENOSYS. Some functions are actually named
43786 something starting with __ and the normal name is an alias. */
43787 #if defined __stub_$ac_func || defined __stub___$ac_func
43794 return $ac_func ();
43799 rm -f conftest.
$ac_objext conftest
$ac_exeext
43800 if { (ac_try
="$ac_link"
43801 case "(($ac_try" in
43802 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43803 *) ac_try_echo=$ac_try;;
43805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43806 (eval "$ac_link") 2>conftest.er1
43808 grep -v '^ *+' conftest.er1 >conftest.err
43810 cat conftest.err >&5
43811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43812 (exit $ac_status); } && {
43813 test -z "$ac_c_werror_flag" ||
43814 test ! -s conftest.err
43815 } && test -s conftest$ac_exeext &&
43816 $as_test_x conftest$ac_exeext; then
43817 eval "$as_ac_var=yes"
43819 echo "$as_me: failed program was:" >&5
43820 sed 's/^/| /' conftest.$ac_ext >&5
43822 eval "$as_ac_var=no"
43825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43826 conftest$ac_exeext conftest.$ac_ext
43828 ac_res=`eval echo '${'$as_ac_var'}'`
43829 { echo "$as_me:$LINENO: result: $ac_res" >&5
43830 echo "${ECHO_T}$ac_res" >&6; }
43831 if test `eval echo '${'$as_ac_var'}'` = yes; then
43832 cat >>confdefs.h <<_ACEOF
43833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43836 cat >>confdefs.h <<\_ACEOF
43837 #define HAVE_DLOPEN 1
43844 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43845 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43846 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43847 echo $ECHO_N "(cached) $ECHO_C" >&6
43849 ac_check_lib_save_LIBS=$LIBS
43851 cat >conftest.$ac_ext <<_ACEOF
43854 cat confdefs.h >>conftest.$ac_ext
43855 cat >>conftest.$ac_ext <<_ACEOF
43856 /* end confdefs.h. */
43858 /* Override any GCC internal prototype to avoid an error.
43859 Use char because int might match the return type of a GCC
43860 builtin and then its argument prototype would still apply. */
43873 rm -f conftest.$ac_objext conftest$ac_exeext
43874 if { (ac_try="$ac_link"
43875 case "(($ac_try" in
43876 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43877 *) ac_try_echo
=$ac_try;;
43879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43880 (eval "$ac_link") 2>conftest.er1
43882 grep -v '^ *+' conftest.er1
>conftest.err
43884 cat conftest.err
>&5
43885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43886 (exit $ac_status); } && {
43887 test -z "$ac_c_werror_flag" ||
43888 test ! -s conftest.err
43889 } && test -s conftest
$ac_exeext &&
43890 $as_test_x conftest
$ac_exeext; then
43891 ac_cv_lib_dl_dlopen
=yes
43893 echo "$as_me: failed program was:" >&5
43894 sed 's/^/| /' conftest.
$ac_ext >&5
43896 ac_cv_lib_dl_dlopen
=no
43899 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43900 conftest
$ac_exeext conftest.
$ac_ext
43901 LIBS
=$ac_check_lib_save_LIBS
43903 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43904 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43905 if test $ac_cv_lib_dl_dlopen = yes; then
43907 cat >>confdefs.h
<<\_ACEOF
43908 #define HAVE_DLOPEN 1
43912 DL_LINK
=" -ldl$DL_LINK"
43917 for ac_func
in shl_load
43919 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43920 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43922 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43923 echo $ECHO_N "(cached) $ECHO_C" >&6
43925 cat >conftest.
$ac_ext <<_ACEOF
43928 cat confdefs.h
>>conftest.
$ac_ext
43929 cat >>conftest.
$ac_ext <<_ACEOF
43930 /* end confdefs.h. */
43931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43933 #define $ac_func innocuous_$ac_func
43935 /* System header to define __stub macros and hopefully few prototypes,
43936 which can conflict with char $ac_func (); below.
43937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43938 <limits.h> exists even on freestanding compilers. */
43941 # include <limits.h>
43943 # include <assert.h>
43948 /* Override any GCC internal prototype to avoid an error.
43949 Use char because int might match the return type of a GCC
43950 builtin and then its argument prototype would still apply. */
43955 /* The GNU C library defines this for functions which it implements
43956 to always fail with ENOSYS. Some functions are actually named
43957 something starting with __ and the normal name is an alias. */
43958 #if defined __stub_$ac_func || defined __stub___$ac_func
43965 return $ac_func ();
43970 rm -f conftest.
$ac_objext conftest
$ac_exeext
43971 if { (ac_try
="$ac_link"
43972 case "(($ac_try" in
43973 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43974 *) ac_try_echo=$ac_try;;
43976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43977 (eval "$ac_link") 2>conftest.er1
43979 grep -v '^ *+' conftest.er1 >conftest.err
43981 cat conftest.err >&5
43982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43983 (exit $ac_status); } && {
43984 test -z "$ac_c_werror_flag" ||
43985 test ! -s conftest.err
43986 } && test -s conftest$ac_exeext &&
43987 $as_test_x conftest$ac_exeext; then
43988 eval "$as_ac_var=yes"
43990 echo "$as_me: failed program was:" >&5
43991 sed 's/^/| /' conftest.$ac_ext >&5
43993 eval "$as_ac_var=no"
43996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43997 conftest$ac_exeext conftest.$ac_ext
43999 ac_res=`eval echo '${'$as_ac_var'}'`
44000 { echo "$as_me:$LINENO: result: $ac_res" >&5
44001 echo "${ECHO_T}$ac_res" >&6; }
44002 if test `eval echo '${'$as_ac_var'}'` = yes; then
44003 cat >>confdefs.h <<_ACEOF
44004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44007 cat >>confdefs.h <<\_ACEOF
44008 #define HAVE_SHL_LOAD 1
44015 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44016 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44017 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44018 echo $ECHO_N "(cached) $ECHO_C" >&6
44020 ac_check_lib_save_LIBS=$LIBS
44021 LIBS="-lshl_load $LIBS"
44022 cat >conftest.$ac_ext <<_ACEOF
44025 cat confdefs.h >>conftest.$ac_ext
44026 cat >>conftest.$ac_ext <<_ACEOF
44027 /* end confdefs.h. */
44029 /* Override any GCC internal prototype to avoid an error.
44030 Use char because int might match the return type of a GCC
44031 builtin and then its argument prototype would still apply. */
44044 rm -f conftest.$ac_objext conftest$ac_exeext
44045 if { (ac_try="$ac_link"
44046 case "(($ac_try" in
44047 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44048 *) ac_try_echo
=$ac_try;;
44050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44051 (eval "$ac_link") 2>conftest.er1
44053 grep -v '^ *+' conftest.er1
>conftest.err
44055 cat conftest.err
>&5
44056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44057 (exit $ac_status); } && {
44058 test -z "$ac_c_werror_flag" ||
44059 test ! -s conftest.err
44060 } && test -s conftest
$ac_exeext &&
44061 $as_test_x conftest
$ac_exeext; then
44062 ac_cv_lib_shl_load_dld
=yes
44064 echo "$as_me: failed program was:" >&5
44065 sed 's/^/| /' conftest.
$ac_ext >&5
44067 ac_cv_lib_shl_load_dld
=no
44070 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44071 conftest
$ac_exeext conftest.
$ac_ext
44072 LIBS
=$ac_check_lib_save_LIBS
44074 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44075 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44076 if test $ac_cv_lib_shl_load_dld = yes; then
44079 DL_LINK
=" -ldld$DL_LINK"
44095 if test "$HAVE_DL_FUNCS" = 1; then
44097 for ac_func
in dlerror
44099 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44100 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44102 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44103 echo $ECHO_N "(cached) $ECHO_C" >&6
44105 cat >conftest.
$ac_ext <<_ACEOF
44108 cat confdefs.h
>>conftest.
$ac_ext
44109 cat >>conftest.
$ac_ext <<_ACEOF
44110 /* end confdefs.h. */
44111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44113 #define $ac_func innocuous_$ac_func
44115 /* System header to define __stub macros and hopefully few prototypes,
44116 which can conflict with char $ac_func (); below.
44117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44118 <limits.h> exists even on freestanding compilers. */
44121 # include <limits.h>
44123 # include <assert.h>
44128 /* Override any GCC internal prototype to avoid an error.
44129 Use char because int might match the return type of a GCC
44130 builtin and then its argument prototype would still apply. */
44135 /* The GNU C library defines this for functions which it implements
44136 to always fail with ENOSYS. Some functions are actually named
44137 something starting with __ and the normal name is an alias. */
44138 #if defined __stub_$ac_func || defined __stub___$ac_func
44145 return $ac_func ();
44150 rm -f conftest.
$ac_objext conftest
$ac_exeext
44151 if { (ac_try
="$ac_link"
44152 case "(($ac_try" in
44153 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44154 *) ac_try_echo=$ac_try;;
44156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44157 (eval "$ac_link") 2>conftest.er1
44159 grep -v '^ *+' conftest.er1 >conftest.err
44161 cat conftest.err >&5
44162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44163 (exit $ac_status); } && {
44164 test -z "$ac_c_werror_flag" ||
44165 test ! -s conftest.err
44166 } && test -s conftest$ac_exeext &&
44167 $as_test_x conftest$ac_exeext; then
44168 eval "$as_ac_var=yes"
44170 echo "$as_me: failed program was:" >&5
44171 sed 's/^/| /' conftest.$ac_ext >&5
44173 eval "$as_ac_var=no"
44176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44177 conftest$ac_exeext conftest.$ac_ext
44179 ac_res=`eval echo '${'$as_ac_var'}'`
44180 { echo "$as_me:$LINENO: result: $ac_res" >&5
44181 echo "${ECHO_T}$ac_res" >&6; }
44182 if test `eval echo '${'$as_ac_var'}'` = yes; then
44183 cat >>confdefs.h <<_ACEOF
44184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44186 cat >>confdefs.h <<\_ACEOF
44187 #define HAVE_DLERROR 1
44192 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44193 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44194 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44195 echo $ECHO_N "(cached) $ECHO_C" >&6
44197 ac_check_lib_save_LIBS=$LIBS
44199 cat >conftest.$ac_ext <<_ACEOF
44202 cat confdefs.h >>conftest.$ac_ext
44203 cat >>conftest.$ac_ext <<_ACEOF
44204 /* end confdefs.h. */
44206 /* Override any GCC internal prototype to avoid an error.
44207 Use char because int might match the return type of a GCC
44208 builtin and then its argument prototype would still apply. */
44221 rm -f conftest.$ac_objext conftest$ac_exeext
44222 if { (ac_try="$ac_link"
44223 case "(($ac_try" in
44224 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44225 *) ac_try_echo
=$ac_try;;
44227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44228 (eval "$ac_link") 2>conftest.er1
44230 grep -v '^ *+' conftest.er1
>conftest.err
44232 cat conftest.err
>&5
44233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44234 (exit $ac_status); } && {
44235 test -z "$ac_c_werror_flag" ||
44236 test ! -s conftest.err
44237 } && test -s conftest
$ac_exeext &&
44238 $as_test_x conftest
$ac_exeext; then
44239 ac_cv_lib_dl_dlerror
=yes
44241 echo "$as_me: failed program was:" >&5
44242 sed 's/^/| /' conftest.
$ac_ext >&5
44244 ac_cv_lib_dl_dlerror
=no
44247 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44248 conftest
$ac_exeext conftest.
$ac_ext
44249 LIBS
=$ac_check_lib_save_LIBS
44251 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44252 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44253 if test $ac_cv_lib_dl_dlerror = yes; then
44254 cat >>confdefs.h
<<\_ACEOF
44255 #define HAVE_DLERROR 1
44268 if test "$HAVE_DL_FUNCS" = 0; then
44269 if test "$HAVE_SHL_FUNCS" = 0; then
44270 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44271 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44272 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44273 wxUSE_DYNAMIC_LOADER
=no
44274 wxUSE_DYNLIB_CLASS
=no
44276 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44277 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44284 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44285 cat >>confdefs.h
<<\_ACEOF
44286 #define wxUSE_DYNAMIC_LOADER 1
44290 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44291 cat >>confdefs.h
<<\_ACEOF
44292 #define wxUSE_DYNLIB_CLASS 1
44299 if test "$wxUSE_PLUGINS" = "yes" ; then
44300 if test "$wxUSE_SHARED" = "no" ; then
44301 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44302 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44305 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44306 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44307 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44310 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44311 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44312 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44315 if test "$wxUSE_PLUGINS" = "yes" ; then
44316 cat >>confdefs.h
<<\_ACEOF
44317 #define wxUSE_PLUGINS 1
44324 if test "$wxUSE_STL" = "yes"; then
44325 cat >>confdefs.h
<<\_ACEOF
44326 #define wxUSE_STL 1
44331 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44332 cat >>confdefs.h
<<\_ACEOF
44333 #define wxUSE_EXTENDED_RTTI 1
44338 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44339 cat >>confdefs.h
<<\_ACEOF
44340 #define wxUSE_APPLE_IEEE 1
44345 if test "$wxUSE_TIMER" = "yes"; then
44346 cat >>confdefs.h
<<\_ACEOF
44347 #define wxUSE_TIMER 1
44352 if test "$USE_UNIX" = 1 ; then
44353 if test "$wxUSE_MGL" != 1; then
44354 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44355 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44356 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44357 echo $ECHO_N "(cached) $ECHO_C" >&6
44360 cat >conftest.
$ac_ext <<_ACEOF
44363 cat confdefs.h
>>conftest.
$ac_ext
44364 cat >>conftest.
$ac_ext <<_ACEOF
44365 /* end confdefs.h. */
44367 #include <sys/ioctl.h>
44368 #include <sys/soundcard.h>
44374 ioctl(0, SNDCTL_DSP_SPEED, 0);
44380 rm -f conftest.
$ac_objext conftest
$ac_exeext
44381 if { (ac_try
="$ac_link"
44382 case "(($ac_try" in
44383 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44384 *) ac_try_echo=$ac_try;;
44386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44387 (eval "$ac_link") 2>conftest.er1
44389 grep -v '^ *+' conftest.er1 >conftest.err
44391 cat conftest.err >&5
44392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44393 (exit $ac_status); } && {
44394 test -z "$ac_c_werror_flag" ||
44395 test ! -s conftest.err
44396 } && test -s conftest$ac_exeext &&
44397 $as_test_x conftest$ac_exeext; then
44398 ac_cv_header_sys_soundcard=yes
44400 echo "$as_me: failed program was:" >&5
44401 sed 's/^/| /' conftest.$ac_ext >&5
44405 LIBS="$saveLibs -lossaudio"
44406 cat >conftest.$ac_ext <<_ACEOF
44409 cat confdefs.h >>conftest.$ac_ext
44410 cat >>conftest.$ac_ext <<_ACEOF
44411 /* end confdefs.h. */
44413 #include <sys/ioctl.h>
44414 #include <sys/soundcard.h>
44420 ioctl(0, SNDCTL_DSP_SPEED, 0);
44426 rm -f conftest.$ac_objext conftest$ac_exeext
44427 if { (ac_try="$ac_link"
44428 case "(($ac_try" in
44429 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44430 *) ac_try_echo
=$ac_try;;
44432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44433 (eval "$ac_link") 2>conftest.er1
44435 grep -v '^ *+' conftest.er1
>conftest.err
44437 cat conftest.err
>&5
44438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44439 (exit $ac_status); } && {
44440 test -z "$ac_c_werror_flag" ||
44441 test ! -s conftest.err
44442 } && test -s conftest
$ac_exeext &&
44443 $as_test_x conftest
$ac_exeext; then
44444 ac_cv_header_sys_soundcard
=yes
44446 echo "$as_me: failed program was:" >&5
44447 sed 's/^/| /' conftest.
$ac_ext >&5
44451 ac_cv_header_sys_soundcard
=no
44456 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44457 conftest
$ac_exeext conftest.
$ac_ext
44462 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44463 conftest
$ac_exeext conftest.
$ac_ext
44466 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44467 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44470 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44471 cat >>confdefs.h
<<\_ACEOF
44472 #define HAVE_SYS_SOUNDCARD_H 1
44479 if test "$wxUSE_SOUND" = "yes"; then
44480 if test "$USE_UNIX" = 1 ; then
44481 if test "$wxUSE_LIBSDL" != "no"; then
44483 # Check whether --with-sdl-prefix was given.
44484 if test "${with_sdl_prefix+set}" = set; then
44485 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
44491 # Check whether --with-sdl-exec-prefix was given.
44492 if test "${with_sdl_exec_prefix+set}" = set; then
44493 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
44498 # Check whether --enable-sdltest was given.
44499 if test "${enable_sdltest+set}" = set; then
44500 enableval
=$enable_sdltest;
44506 if test x
$sdl_exec_prefix != x
; then
44507 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
44508 if test x
${SDL_CONFIG+set} != xset
; then
44509 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
44512 if test x
$sdl_prefix != x
; then
44513 sdl_args
="$sdl_args --prefix=$sdl_prefix"
44514 if test x
${SDL_CONFIG+set} != xset
; then
44515 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
44519 if test "x$prefix" != xNONE
; then
44520 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
44522 # Extract the first word of "sdl-config", so it can be a program name with args.
44523 set dummy sdl
-config; ac_word
=$2
44524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44526 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44527 echo $ECHO_N "(cached) $ECHO_C" >&6
44529 case $SDL_CONFIG in
44531 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
44534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44535 for as_dir
in $PATH
44538 test -z "$as_dir" && as_dir
=.
44539 for ac_exec_ext
in '' $ac_executable_extensions; do
44540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44541 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44549 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
44553 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
44554 if test -n "$SDL_CONFIG"; then
44555 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44556 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44558 { echo "$as_me:$LINENO: result: no" >&5
44559 echo "${ECHO_T}no" >&6; }
44563 min_sdl_version
=1.2.0
44564 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44565 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44567 if test "$SDL_CONFIG" = "no" ; then
44570 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
44571 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
44573 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
44574 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44575 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
44576 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44577 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
44578 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44579 if test "x$enable_sdltest" = "xyes" ; then
44580 ac_save_CFLAGS
="$CFLAGS"
44581 ac_save_CXXFLAGS
="$CXXFLAGS"
44582 ac_save_LIBS
="$LIBS"
44583 CFLAGS
="$CFLAGS $SDL_CFLAGS"
44584 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
44585 LIBS
="$LIBS $SDL_LIBS"
44587 if test "$cross_compiling" = yes; then
44588 echo $ac_n "cross compiling; assumed OK... $ac_c"
44590 cat >conftest.
$ac_ext <<_ACEOF
44593 cat confdefs.h
>>conftest.
$ac_ext
44594 cat >>conftest.
$ac_ext <<_ACEOF
44595 /* end confdefs.h. */
44598 #include <stdlib.h>
44599 #include <string.h>
44603 my_strdup (char *str)
44609 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44610 strcpy (new_str, str);
44618 int main (int argc, char *argv[])
44620 int major, minor, micro;
44623 /* This hangs on some systems (?)
44624 system ("touch conf.sdltest");
44626 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44628 /* HP/UX 9 (%@#!) writes to sscanf strings */
44629 tmp_version = my_strdup("$min_sdl_version");
44630 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44631 printf("%s, bad version string\n", "$min_sdl_version");
44635 if (($sdl_major_version > major) ||
44636 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44637 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44643 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44644 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44645 printf("*** best to upgrade to the required version.\n");
44646 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44647 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44648 printf("*** config.cache before re-running configure\n");
44655 rm -f conftest
$ac_exeext
44656 if { (ac_try
="$ac_link"
44657 case "(($ac_try" in
44658 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44659 *) ac_try_echo=$ac_try;;
44661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44662 (eval "$ac_link") 2>&5
44664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44665 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
44673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44674 (exit $ac_status); }; }; then
44677 echo "$as_me: program exited with status $ac_status" >&5
44678 echo "$as_me: failed program was:" >&5
44679 sed 's/^/| /' conftest.
$ac_ext >&5
44681 ( exit $ac_status )
44684 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
44688 CFLAGS
="$ac_save_CFLAGS"
44689 CXXFLAGS
="$ac_save_CXXFLAGS"
44690 LIBS
="$ac_save_LIBS"
44693 if test "x$no_sdl" = x
; then
44694 { echo "$as_me:$LINENO: result: yes" >&5
44695 echo "${ECHO_T}yes" >&6; }
44697 EXTRALIBS_SDL
="$SDL_LIBS"
44698 CFLAGS
="$SDL_CFLAGS $CFLAGS"
44699 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
44700 cat >>confdefs.h
<<\_ACEOF
44701 #define wxUSE_LIBSDL 1
44706 { echo "$as_me:$LINENO: result: no" >&5
44707 echo "${ECHO_T}no" >&6; }
44708 if test "$SDL_CONFIG" = "no" ; then
44709 echo "*** The sdl-config script installed by SDL could not be found"
44710 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44711 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44712 echo "*** full path to sdl-config."
44714 if test -f conf.sdltest
; then
44717 echo "*** Could not run SDL test program, checking why..."
44718 CFLAGS
="$CFLAGS $SDL_CFLAGS"
44719 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
44720 LIBS
="$LIBS $SDL_LIBS"
44721 cat >conftest.
$ac_ext <<_ACEOF
44724 cat confdefs.h
>>conftest.
$ac_ext
44725 cat >>conftest.
$ac_ext <<_ACEOF
44726 /* end confdefs.h. */
44731 int main(int argc, char *argv[])
44734 #define main K_and_R_C_main
44744 rm -f conftest.
$ac_objext conftest
$ac_exeext
44745 if { (ac_try
="$ac_link"
44746 case "(($ac_try" in
44747 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44748 *) ac_try_echo=$ac_try;;
44750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44751 (eval "$ac_link") 2>conftest.er1
44753 grep -v '^ *+' conftest.er1 >conftest.err
44755 cat conftest.err >&5
44756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44757 (exit $ac_status); } && {
44758 test -z "$ac_c_werror_flag" ||
44759 test ! -s conftest.err
44760 } && test -s conftest$ac_exeext &&
44761 $as_test_x conftest$ac_exeext; then
44762 echo "*** The test program compiled, but did not run. This usually means"
44763 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44764 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44765 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44766 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44767 echo "*** is required on your system"
44769 echo "*** If you have an old version installed, it is best to remove it, although"
44770 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44772 echo "$as_me: failed program was:" >&5
44773 sed 's/^/| /' conftest.$ac_ext >&5
44775 echo "*** The test program failed to compile or link. See the file config.log for the"
44776 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44777 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44778 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44782 conftest$ac_exeext conftest.$ac_ext
44783 CFLAGS="$ac_save_CFLAGS"
44784 CXXFLAGS="$ac_save_CXXFLAGS"
44785 LIBS="$ac_save_LIBS"
44796 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44801 if test "$wxUSE_MGL" = 1; then
44802 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44803 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44809 if test "$wxUSE_SOUND" = "yes"; then
44810 cat >>confdefs.h <<\_ACEOF
44811 #define wxUSE_SOUND 1
44814 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44817 if test "$WXGTK2" = 1; then
44820 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44821 if test -n "$ac_tool_prefix"; then
44822 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44823 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44824 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44826 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44827 echo $ECHO_N "(cached) $ECHO_C" >&6
44829 case $PKG_CONFIG in
44831 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44835 for as_dir in $PATH
44838 test -z "$as_dir" && as_dir=.
44839 for ac_exec_ext in '' $ac_executable_extensions; do
44840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44841 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44852 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44853 if test -n "$PKG_CONFIG"; then
44854 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44855 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44857 { echo "$as_me:$LINENO: result: no" >&5
44858 echo "${ECHO_T}no" >&6; }
44863 if test -z "$ac_cv_path_PKG_CONFIG"; then
44864 ac_pt_PKG_CONFIG=$PKG_CONFIG
44865 # Extract the first word of "pkg-config", so it can be a program name with args.
44866 set dummy pkg-config; ac_word=$2
44867 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44869 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44870 echo $ECHO_N "(cached) $ECHO_C" >&6
44872 case $ac_pt_PKG_CONFIG in
44874 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44878 for as_dir in $PATH
44881 test -z "$as_dir" && as_dir=.
44882 for ac_exec_ext in '' $ac_executable_extensions; do
44883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44884 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44895 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44896 if test -n "$ac_pt_PKG_CONFIG"; then
44897 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44898 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44900 { echo "$as_me:$LINENO: result: no" >&5
44901 echo "${ECHO_T}no" >&6; }
44904 if test "x$ac_pt_PKG_CONFIG" = x; then
44907 case $cross_compiling:$ac_tool_warned in
44909 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44910 whose name does not start with the host triplet. If you think this
44911 configuration is useful to you, please write to autoconf@gnu.org." >&5
44912 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44913 whose name does not start with the host triplet. If you think this
44914 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44915 ac_tool_warned=yes ;;
44917 PKG_CONFIG=$ac_pt_PKG_CONFIG
44920 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44924 if test -n "$PKG_CONFIG"; then
44925 _pkg_min_version=0.9.0
44926 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44927 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44928 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44929 { echo "$as_me:$LINENO: result: yes" >&5
44930 echo "${ECHO_T}yes" >&6; }
44932 { echo "$as_me:$LINENO: result: no" >&5
44933 echo "${ECHO_T}no" >&6; }
44939 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44941 if test "$wxUSE_GTKPRINT" = "yes" ; then
44945 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44946 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44948 if test -n "$PKG_CONFIG"; then
44949 if test -n "$GTKPRINT_CFLAGS"; then
44950 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44952 if test -n "$PKG_CONFIG" && \
44953 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44954 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44957 (exit $ac_status); }; then
44958 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
44966 if test -n "$PKG_CONFIG"; then
44967 if test -n "$GTKPRINT_LIBS"; then
44968 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44970 if test -n "$PKG_CONFIG" && \
44971 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44972 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44975 (exit $ac_status); }; then
44976 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
44987 if test $pkg_failed = yes; then
44989 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44990 _pkg_short_errors_supported=yes
44992 _pkg_short_errors_supported=no
44994 if test $_pkg_short_errors_supported = yes; then
44995 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44997 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44999 # Put the nasty error message in config.log where it belongs
45000 echo "$GTKPRINT_PKG_ERRORS" >&5
45003 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45004 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45005 wxUSE_GTKPRINT="no"
45008 elif test $pkg_failed = untried; then
45010 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45011 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45012 wxUSE_GTKPRINT="no"
45016 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
45017 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
45018 { echo "$as_me:$LINENO: result: yes" >&5
45019 echo "${ECHO_T}yes" >&6; }
45021 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
45022 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
45023 cat >>confdefs.h <<\_ACEOF
45024 #define wxUSE_GTKPRINT 1
45031 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45035 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45036 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45038 if test -n "$PKG_CONFIG"; then
45039 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45040 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45042 if test -n "$PKG_CONFIG" && \
45043 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45044 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45047 (exit $ac_status); }; then
45048 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
45056 if test -n "$PKG_CONFIG"; then
45057 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45058 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45060 if test -n "$PKG_CONFIG" && \
45061 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45062 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45065 (exit $ac_status); }; then
45066 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
45077 if test $pkg_failed = yes; then
45079 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45080 _pkg_short_errors_supported=yes
45082 _pkg_short_errors_supported=no
45084 if test $_pkg_short_errors_supported = yes; then
45085 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45087 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45089 # Put the nasty error message in config.log where it belongs
45090 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45093 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45094 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45095 wxUSE_LIBGNOMEPRINT="no"
45098 elif test $pkg_failed = untried; then
45100 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45101 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45102 wxUSE_LIBGNOMEPRINT="no"
45106 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45107 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45108 { echo "$as_me:$LINENO: result: yes" >&5
45109 echo "${ECHO_T}yes" >&6; }
45111 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45112 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45113 cat >>confdefs.h <<\_ACEOF
45114 #define wxUSE_LIBGNOMEPRINT 1
45122 if test "$wxUSE_MIMETYPE" = "yes" ; then
45123 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45127 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45128 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45130 if test -n "$PKG_CONFIG"; then
45131 if test -n "$GNOMEVFS_CFLAGS"; then
45132 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45134 if test -n "$PKG_CONFIG" && \
45135 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45136 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45139 (exit $ac_status); }; then
45140 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
45148 if test -n "$PKG_CONFIG"; then
45149 if test -n "$GNOMEVFS_LIBS"; then
45150 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45152 if test -n "$PKG_CONFIG" && \
45153 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45154 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45157 (exit $ac_status); }; then
45158 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
45169 if test $pkg_failed = yes; then
45171 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45172 _pkg_short_errors_supported=yes
45174 _pkg_short_errors_supported=no
45176 if test $_pkg_short_errors_supported = yes; then
45177 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45179 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45181 # Put the nasty error message in config.log where it belongs
45182 echo "$GNOMEVFS_PKG_ERRORS" >&5
45185 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45186 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45187 wxUSE_LIBGNOMEVFS="no"
45190 elif test $pkg_failed = untried; then
45192 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45193 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45194 wxUSE_LIBGNOMEVFS="no"
45198 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45199 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45200 { echo "$as_me:$LINENO: result: yes" >&5
45201 echo "${ECHO_T}yes" >&6; }
45203 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45204 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45205 cat >>confdefs.h <<\_ACEOF
45206 #define wxUSE_LIBGNOMEVFS 1
45214 if test "$wxUSE_LIBHILDON" = "yes" ; then
45217 { echo "$as_me:$LINENO: checking for HILDON" >&5
45218 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45220 if test -n "$PKG_CONFIG"; then
45221 if test -n "$HILDON_CFLAGS"; then
45222 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45224 if test -n "$PKG_CONFIG" && \
45225 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45226 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45229 (exit $ac_status); }; then
45230 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev
/null
`
45238 if test -n "$PKG_CONFIG"; then
45239 if test -n "$HILDON_LIBS"; then
45240 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45242 if test -n "$PKG_CONFIG" && \
45243 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45244 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45247 (exit $ac_status); }; then
45248 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev
/null
`
45259 if test $pkg_failed = yes; then
45261 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45262 _pkg_short_errors_supported=yes
45264 _pkg_short_errors_supported=no
45266 if test $_pkg_short_errors_supported = yes; then
45267 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45269 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45271 # Put the nasty error message in config.log where it belongs
45272 echo "$HILDON_PKG_ERRORS" >&5
45275 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45276 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45277 wxUSE_LIBHILDON="no"
45280 elif test $pkg_failed = untried; then
45282 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45283 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45284 wxUSE_LIBHILDON="no"
45288 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45289 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45290 { echo "$as_me:$LINENO: result: yes" >&5
45291 echo "${ECHO_T}yes" >&6; }
45293 EXTRALIBS_HILDON="$HILDON_LIBS"
45294 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45295 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45296 cat >>confdefs.h <<\_ACEOF
45297 #define wxUSE_LIBHILDON 1
45305 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45306 cat >>confdefs.h <<\_ACEOF
45307 #define wxUSE_CMDLINE_PARSER 1
45312 if test "$wxUSE_STOPWATCH" = "yes"; then
45313 cat >>confdefs.h <<\_ACEOF
45314 #define wxUSE_STOPWATCH 1
45319 if test "$wxUSE_DATETIME" = "yes"; then
45320 cat >>confdefs.h <<\_ACEOF
45321 #define wxUSE_DATETIME 1
45326 if test "$wxUSE_FILE" = "yes"; then
45327 cat >>confdefs.h <<\_ACEOF
45328 #define wxUSE_FILE 1
45333 if test "$wxUSE_FFILE" = "yes"; then
45334 cat >>confdefs.h <<\_ACEOF
45335 #define wxUSE_FFILE 1
45340 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45341 if test "$wxUSE_STREAMS" != yes; then
45342 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45343 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45344 wxUSE_ARCHIVE_STREAMS=no
45346 cat >>confdefs.h <<\_ACEOF
45347 #define wxUSE_ARCHIVE_STREAMS 1
45353 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45354 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45355 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45356 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45357 elif test "$wxUSE_ZLIB" = "no"; then
45358 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45359 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45361 cat >>confdefs.h <<\_ACEOF
45362 #define wxUSE_ZIPSTREAM 1
45368 if test "$wxUSE_TARSTREAM" = "yes"; then
45369 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45370 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45371 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45373 cat >>confdefs.h <<\_ACEOF
45374 #define wxUSE_TARSTREAM 1
45380 if test "$wxUSE_FILESYSTEM" = "yes"; then
45381 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45382 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45383 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45384 wxUSE_FILESYSTEM=no
45386 cat >>confdefs.h <<\_ACEOF
45387 #define wxUSE_FILESYSTEM 1
45393 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45394 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45395 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45396 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45398 cat >>confdefs.h <<\_ACEOF
45399 #define wxUSE_FS_ARCHIVE 1
45405 if test "$wxUSE_FS_ZIP" = "yes"; then
45406 if test "$wxUSE_FS_ARCHIVE" != yes; then
45407 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45408 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45410 cat >>confdefs.h <<\_ACEOF
45411 #define wxUSE_FS_ZIP 1
45417 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45418 if test "$USE_UNIX" != 1; then
45419 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45420 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45421 wxUSE_ON_FATAL_EXCEPTION=no
45423 cat >>confdefs.h <<\_ACEOF
45424 #define wxUSE_ON_FATAL_EXCEPTION 1
45430 if test "$wxUSE_STACKWALKER" = "yes"; then
45431 cat >>confdefs.h <<\_ACEOF
45432 #define wxUSE_STACKWALKER 1
45437 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45438 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
45439 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45440 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45441 wxUSE_DEBUGREPORT=no
45443 cat >>confdefs.h <<\_ACEOF
45444 #define wxUSE_DEBUGREPORT 1
45447 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45448 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45453 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45454 cat >>confdefs.h <<\_ACEOF
45455 #define wxUSE_SNGLINST_CHECKER 1
45460 if test "$wxUSE_BUSYINFO" = "yes"; then
45461 cat >>confdefs.h <<\_ACEOF
45462 #define wxUSE_BUSYINFO 1
45467 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45468 cat >>confdefs.h <<\_ACEOF
45469 #define wxUSE_STD_IOSTREAM 1
45474 if test "$wxUSE_STD_STRING" = "yes"; then
45475 cat >>confdefs.h <<\_ACEOF
45476 #define wxUSE_STD_STRING 1
45481 if test "$wxUSE_STDPATHS" = "yes"; then
45482 cat >>confdefs.h <<\_ACEOF
45483 #define wxUSE_STDPATHS 1
45488 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45489 cat >>confdefs.h <<\_ACEOF
45490 #define wxUSE_TEXTBUFFER 1
45495 if test "$wxUSE_TEXTFILE" = "yes"; then
45496 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45497 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45498 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45500 cat >>confdefs.h <<\_ACEOF
45501 #define wxUSE_TEXTFILE 1
45507 if test "$wxUSE_CONFIG" = "yes" ; then
45508 if test "$wxUSE_TEXTFILE" != "yes"; then
45509 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45510 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45512 cat >>confdefs.h <<\_ACEOF
45513 #define wxUSE_CONFIG 1
45516 cat >>confdefs.h <<\_ACEOF
45517 #define wxUSE_CONFIG_NATIVE 1
45520 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45524 if test "$wxUSE_INTL" = "yes" ; then
45525 if test "$wxUSE_FILE" != "yes"; then
45526 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45527 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45529 cat >>confdefs.h <<\_ACEOF
45530 #define wxUSE_INTL 1
45533 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45534 GUIDIST="$GUIDIST INTL_DIST"
45538 if test "$wxUSE_LOG" = "yes"; then
45539 cat >>confdefs.h <<\_ACEOF
45540 #define wxUSE_LOG 1
45544 if test "$wxUSE_LOGGUI" = "yes"; then
45545 cat >>confdefs.h <<\_ACEOF
45546 #define wxUSE_LOGGUI 1
45551 if test "$wxUSE_LOGWINDOW" = "yes"; then
45552 cat >>confdefs.h <<\_ACEOF
45553 #define wxUSE_LOGWINDOW 1
45558 if test "$wxUSE_LOGDIALOG" = "yes"; then
45559 cat >>confdefs.h <<\_ACEOF
45560 #define wxUSE_LOG_DIALOG 1
45565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45568 if test "$wxUSE_LONGLONG" = "yes"; then
45569 cat >>confdefs.h <<\_ACEOF
45570 #define wxUSE_LONGLONG 1
45575 if test "$wxUSE_GEOMETRY" = "yes"; then
45576 cat >>confdefs.h <<\_ACEOF
45577 #define wxUSE_GEOMETRY 1
45582 if test "$wxUSE_BASE64" = "yes"; then
45583 cat >>confdefs.h <<\_ACEOF
45584 #define wxUSE_BASE64 1
45589 if test "$wxUSE_STREAMS" = "yes" ; then
45590 cat >>confdefs.h <<\_ACEOF
45591 #define wxUSE_STREAMS 1
45596 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45597 cat >>confdefs.h <<\_ACEOF
45598 #define wxUSE_PRINTF_POS_PARAMS 1
45603 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45604 cat >>confdefs.h <<\_ACEOF
45605 #define wxUSE_OBJC_UNIQUIFYING 1
45611 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45612 cat >>confdefs.h <<\_ACEOF
45613 #define wxUSE_CONSOLE_EVENTLOOP 1
45617 if test "$wxUSE_UNIX" = "yes"; then
45618 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45619 cat >>confdefs.h <<\_ACEOF
45620 #define wxUSE_SELECT_DISPATCHER 1
45625 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45627 for ac_header in sys/epoll.h
45629 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45630 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45632 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45633 echo $ECHO_N "(cached) $ECHO_C" >&6
45635 cat >conftest.$ac_ext <<_ACEOF
45638 cat confdefs.h >>conftest.$ac_ext
45639 cat >>conftest.$ac_ext <<_ACEOF
45640 /* end confdefs.h. */
45641 $ac_includes_default
45643 #include <$ac_header>
45645 rm -f conftest.$ac_objext
45646 if { (ac_try="$ac_compile"
45647 case "(($ac_try" in
45648 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45649 *) ac_try_echo
=$ac_try;;
45651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45652 (eval "$ac_compile") 2>conftest.er1
45654 grep -v '^ *+' conftest.er1
>conftest.err
45656 cat conftest.err
>&5
45657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45658 (exit $ac_status); } && {
45659 test -z "$ac_c_werror_flag" ||
45660 test ! -s conftest.err
45661 } && test -s conftest.
$ac_objext; then
45662 eval "$as_ac_Header=yes"
45664 echo "$as_me: failed program was:" >&5
45665 sed 's/^/| /' conftest.
$ac_ext >&5
45667 eval "$as_ac_Header=no"
45670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45672 ac_res
=`eval echo '${'$as_ac_Header'}'`
45673 { echo "$as_me:$LINENO: result: $ac_res" >&5
45674 echo "${ECHO_T}$ac_res" >&6; }
45675 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45676 cat >>confdefs.h
<<_ACEOF
45677 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45684 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45685 cat >>confdefs.h
<<\_ACEOF
45686 #define wxUSE_EPOLL_DISPATCHER 1
45690 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45691 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45700 for ac_func
in gettimeofday ftime
45702 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45703 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45705 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45706 echo $ECHO_N "(cached) $ECHO_C" >&6
45708 cat >conftest.
$ac_ext <<_ACEOF
45711 cat confdefs.h
>>conftest.
$ac_ext
45712 cat >>conftest.
$ac_ext <<_ACEOF
45713 /* end confdefs.h. */
45714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45716 #define $ac_func innocuous_$ac_func
45718 /* System header to define __stub macros and hopefully few prototypes,
45719 which can conflict with char $ac_func (); below.
45720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45721 <limits.h> exists even on freestanding compilers. */
45724 # include <limits.h>
45726 # include <assert.h>
45731 /* Override any GCC internal prototype to avoid an error.
45732 Use char because int might match the return type of a GCC
45733 builtin and then its argument prototype would still apply. */
45738 /* The GNU C library defines this for functions which it implements
45739 to always fail with ENOSYS. Some functions are actually named
45740 something starting with __ and the normal name is an alias. */
45741 #if defined __stub_$ac_func || defined __stub___$ac_func
45748 return $ac_func ();
45753 rm -f conftest.
$ac_objext conftest
$ac_exeext
45754 if { (ac_try
="$ac_link"
45755 case "(($ac_try" in
45756 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45757 *) ac_try_echo=$ac_try;;
45759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45760 (eval "$ac_link") 2>conftest.er1
45762 grep -v '^ *+' conftest.er1 >conftest.err
45764 cat conftest.err >&5
45765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45766 (exit $ac_status); } && {
45767 test -z "$ac_c_werror_flag" ||
45768 test ! -s conftest.err
45769 } && test -s conftest$ac_exeext &&
45770 $as_test_x conftest$ac_exeext; then
45771 eval "$as_ac_var=yes"
45773 echo "$as_me: failed program was:" >&5
45774 sed 's/^/| /' conftest.$ac_ext >&5
45776 eval "$as_ac_var=no"
45779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45780 conftest$ac_exeext conftest.$ac_ext
45782 ac_res=`eval echo '${'$as_ac_var'}'`
45783 { echo "$as_me:$LINENO: result: $ac_res" >&5
45784 echo "${ECHO_T}$ac_res" >&6; }
45785 if test `eval echo '${'$as_ac_var'}'` = yes; then
45786 cat >>confdefs.h <<_ACEOF
45787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45794 if test "$ac_cv_func_gettimeofday" = "yes"; then
45795 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45796 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45797 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45798 echo $ECHO_N "(cached) $ECHO_C" >&6
45801 cat >conftest.$ac_ext <<_ACEOF
45804 cat confdefs.h >>conftest.$ac_ext
45805 cat >>conftest.$ac_ext <<_ACEOF
45806 /* end confdefs.h. */
45808 #include <sys/time.h>
45809 #include <unistd.h>
45816 gettimeofday(&tv, NULL);
45822 rm -f conftest.$ac_objext
45823 if { (ac_try="$ac_compile"
45824 case "(($ac_try" in
45825 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45826 *) ac_try_echo
=$ac_try;;
45828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45829 (eval "$ac_compile") 2>conftest.er1
45831 grep -v '^ *+' conftest.er1
>conftest.err
45833 cat conftest.err
>&5
45834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45835 (exit $ac_status); } && {
45836 test -z "$ac_c_werror_flag" ||
45837 test ! -s conftest.err
45838 } && test -s conftest.
$ac_objext; then
45839 wx_cv_func_gettimeofday_has_2_args
=yes
45841 echo "$as_me: failed program was:" >&5
45842 sed 's/^/| /' conftest.
$ac_ext >&5
45844 cat >conftest.
$ac_ext <<_ACEOF
45847 cat confdefs.h
>>conftest.
$ac_ext
45848 cat >>conftest.
$ac_ext <<_ACEOF
45849 /* end confdefs.h. */
45851 #include <sys/time.h>
45852 #include <unistd.h>
45865 rm -f conftest.
$ac_objext
45866 if { (ac_try
="$ac_compile"
45867 case "(($ac_try" in
45868 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45869 *) ac_try_echo=$ac_try;;
45871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45872 (eval "$ac_compile") 2>conftest.er1
45874 grep -v '^ *+' conftest.er1 >conftest.err
45876 cat conftest.err >&5
45877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45878 (exit $ac_status); } && {
45879 test -z "$ac_c_werror_flag" ||
45880 test ! -s conftest.err
45881 } && test -s conftest.$ac_objext; then
45882 wx_cv_func_gettimeofday_has_2_args=no
45884 echo "$as_me: failed program was:" >&5
45885 sed 's/^/| /' conftest.$ac_ext >&5
45888 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45889 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45890 wx_cv_func_gettimeofday_has_2_args=unknown
45895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45902 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45903 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45905 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45906 cat >>confdefs.h <<\_ACEOF
45907 #define WX_GETTIMEOFDAY_NO_TZ 1
45913 if test "$wxUSE_DATETIME" = "yes"; then
45914 { echo "$as_me:$LINENO: checking for strptime" >&5
45915 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45916 if test "${ac_cv_func_strptime+set}" = set; then
45917 echo $ECHO_N "(cached) $ECHO_C" >&6
45919 cat >conftest.$ac_ext <<_ACEOF
45922 cat confdefs.h >>conftest.$ac_ext
45923 cat >>conftest.$ac_ext <<_ACEOF
45924 /* end confdefs.h. */
45925 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45927 #define strptime innocuous_strptime
45929 /* System header to define __stub macros and hopefully few prototypes,
45930 which can conflict with char strptime (); below.
45931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45932 <limits.h> exists even on freestanding compilers. */
45935 # include <limits.h>
45937 # include <assert.h>
45942 /* Override any GCC internal prototype to avoid an error.
45943 Use char because int might match the return type of a GCC
45944 builtin and then its argument prototype would still apply. */
45949 /* The GNU C library defines this for functions which it implements
45950 to always fail with ENOSYS. Some functions are actually named
45951 something starting with __ and the normal name is an alias. */
45952 #if defined __stub_strptime || defined __stub___strptime
45959 return strptime ();
45964 rm -f conftest.$ac_objext conftest$ac_exeext
45965 if { (ac_try="$ac_link"
45966 case "(($ac_try" in
45967 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45968 *) ac_try_echo
=$ac_try;;
45970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45971 (eval "$ac_link") 2>conftest.er1
45973 grep -v '^ *+' conftest.er1
>conftest.err
45975 cat conftest.err
>&5
45976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45977 (exit $ac_status); } && {
45978 test -z "$ac_c_werror_flag" ||
45979 test ! -s conftest.err
45980 } && test -s conftest
$ac_exeext &&
45981 $as_test_x conftest
$ac_exeext; then
45982 ac_cv_func_strptime
=yes
45984 echo "$as_me: failed program was:" >&5
45985 sed 's/^/| /' conftest.
$ac_ext >&5
45987 ac_cv_func_strptime
=no
45990 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45991 conftest
$ac_exeext conftest.
$ac_ext
45993 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
45994 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
45996 if test "$ac_cv_func_strptime" = "yes"; then
45997 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
45998 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
45999 if test "${wx_cv_func_strptime_decl+set}" = set; then
46000 echo $ECHO_N "(cached) $ECHO_C" >&6
46004 ac_cpp
='$CXXCPP $CPPFLAGS'
46005 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46006 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46007 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46009 cat >conftest.
$ac_ext <<_ACEOF
46012 cat confdefs.h
>>conftest.
$ac_ext
46013 cat >>conftest.
$ac_ext <<_ACEOF
46014 /* end confdefs.h. */
46023 strptime("foo", "bar", &t);
46029 rm -f conftest.
$ac_objext
46030 if { (ac_try
="$ac_compile"
46031 case "(($ac_try" in
46032 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46033 *) ac_try_echo=$ac_try;;
46035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46036 (eval "$ac_compile") 2>conftest.er1
46038 grep -v '^ *+' conftest.er1 >conftest.err
46040 cat conftest.err >&5
46041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46042 (exit $ac_status); } && {
46043 test -z "$ac_cxx_werror_flag" ||
46044 test ! -s conftest.err
46045 } && test -s conftest.$ac_objext; then
46046 wx_cv_func_strptime_decl=yes
46048 echo "$as_me: failed program was:" >&5
46049 sed 's/^/| /' conftest.$ac_ext >&5
46051 wx_cv_func_strptime_decl=no
46055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46057 ac_cpp='$CPP $CPPFLAGS'
46058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46065 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46066 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46068 if test "$wx_cv_func_strptime_decl" = "yes"; then
46069 cat >>confdefs.h <<\_ACEOF
46070 #define HAVE_STRPTIME_DECL 1
46074 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46076 if test "$ac_cv_func_strptime" = "yes"; then
46077 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46078 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46079 if test "${wx_cv_func_strptime_ok+set}" = set; then
46080 echo $ECHO_N "(cached) $ECHO_C" >&6
46082 if test "$cross_compiling" = yes; then
46083 wx_cv_func_strptime_ok=no
46086 cat >conftest.$ac_ext <<_ACEOF
46088 #include <stdlib.h>
46090 #include "confdefs.h"
46097 return !!strptime("", "%x", &t);
46101 rm -f conftest$ac_exeext
46102 if { (ac_try="$ac_link"
46103 case "(($ac_try" in
46104 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46105 *) ac_try_echo
=$ac_try;;
46107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46108 (eval "$ac_link") 2>&5
46110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46111 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
46112 { (case "(($ac_try" in
46113 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46114 *) ac_try_echo=$ac_try;;
46116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46117 (eval "$ac_try") 2>&5
46119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46120 (exit $ac_status); }; }; then
46121 wx_cv_func_strptime_ok=yes
46123 echo "$as_me: program exited with status $ac_status" >&5
46124 echo "$as_me: failed program was:" >&5
46125 sed 's/^/| /' conftest.$ac_ext >&5
46127 ( exit $ac_status )
46128 wx_cv_func_strptime_ok=no
46130 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46136 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46137 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46139 if test "$wx_cv_func_strptime_ok" = "yes"; then
46140 cat >>confdefs.h <<\_ACEOF
46141 #define HAVE_STRPTIME 1
46147 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46148 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46149 if test "${wx_cv_var_timezone+set}" = set; then
46150 echo $ECHO_N "(cached) $ECHO_C" >&6
46154 ac_cpp='$CXXCPP $CPPFLAGS'
46155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46159 cat >conftest.$ac_ext <<_ACEOF
46162 cat confdefs.h >>conftest.$ac_ext
46163 cat >>conftest.$ac_ext <<_ACEOF
46164 /* end confdefs.h. */
46179 rm -f conftest.$ac_objext
46180 if { (ac_try="$ac_compile"
46181 case "(($ac_try" in
46182 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46183 *) ac_try_echo
=$ac_try;;
46185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46186 (eval "$ac_compile") 2>conftest.er1
46188 grep -v '^ *+' conftest.er1
>conftest.err
46190 cat conftest.err
>&5
46191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46192 (exit $ac_status); } && {
46193 test -z "$ac_cxx_werror_flag" ||
46194 test ! -s conftest.err
46195 } && test -s conftest.
$ac_objext; then
46197 wx_cv_var_timezone
=timezone
46200 echo "$as_me: failed program was:" >&5
46201 sed 's/^/| /' conftest.
$ac_ext >&5
46204 cat >conftest.
$ac_ext <<_ACEOF
46207 cat confdefs.h
>>conftest.
$ac_ext
46208 cat >>conftest.
$ac_ext <<_ACEOF
46209 /* end confdefs.h. */
46224 rm -f conftest.
$ac_objext
46225 if { (ac_try
="$ac_compile"
46226 case "(($ac_try" in
46227 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46228 *) ac_try_echo=$ac_try;;
46230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46231 (eval "$ac_compile") 2>conftest.er1
46233 grep -v '^ *+' conftest.er1 >conftest.err
46235 cat conftest.err >&5
46236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46237 (exit $ac_status); } && {
46238 test -z "$ac_cxx_werror_flag" ||
46239 test ! -s conftest.err
46240 } && test -s conftest.$ac_objext; then
46242 wx_cv_var_timezone=_timezone
46245 echo "$as_me: failed program was:" >&5
46246 sed 's/^/| /' conftest.$ac_ext >&5
46249 cat >conftest.$ac_ext <<_ACEOF
46252 cat confdefs.h >>conftest.$ac_ext
46253 cat >>conftest.$ac_ext <<_ACEOF
46254 /* end confdefs.h. */
46269 rm -f conftest.$ac_objext
46270 if { (ac_try="$ac_compile"
46271 case "(($ac_try" in
46272 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46273 *) ac_try_echo
=$ac_try;;
46275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46276 (eval "$ac_compile") 2>conftest.er1
46278 grep -v '^ *+' conftest.er1
>conftest.err
46280 cat conftest.err
>&5
46281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46282 (exit $ac_status); } && {
46283 test -z "$ac_cxx_werror_flag" ||
46284 test ! -s conftest.err
46285 } && test -s conftest.
$ac_objext; then
46287 wx_cv_var_timezone
=__timezone
46290 echo "$as_me: failed program was:" >&5
46291 sed 's/^/| /' conftest.
$ac_ext >&5
46294 if test "$USE_DOS" = 0 ; then
46295 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46296 echo "$as_me: WARNING: no timezone variable" >&2;}
46302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46312 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46314 ac_cpp
='$CPP $CPPFLAGS'
46315 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46316 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46317 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46322 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46323 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46325 if test "x$wx_cv_var_timezone" != x
; then
46326 cat >>confdefs.h
<<_ACEOF
46327 #define WX_TIMEZONE $wx_cv_var_timezone
46333 for ac_func
in localtime
46335 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46336 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46338 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46339 echo $ECHO_N "(cached) $ECHO_C" >&6
46341 cat >conftest.
$ac_ext <<_ACEOF
46344 cat confdefs.h
>>conftest.
$ac_ext
46345 cat >>conftest.
$ac_ext <<_ACEOF
46346 /* end confdefs.h. */
46347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46349 #define $ac_func innocuous_$ac_func
46351 /* System header to define __stub macros and hopefully few prototypes,
46352 which can conflict with char $ac_func (); below.
46353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46354 <limits.h> exists even on freestanding compilers. */
46357 # include <limits.h>
46359 # include <assert.h>
46364 /* Override any GCC internal prototype to avoid an error.
46365 Use char because int might match the return type of a GCC
46366 builtin and then its argument prototype would still apply. */
46371 /* The GNU C library defines this for functions which it implements
46372 to always fail with ENOSYS. Some functions are actually named
46373 something starting with __ and the normal name is an alias. */
46374 #if defined __stub_$ac_func || defined __stub___$ac_func
46381 return $ac_func ();
46386 rm -f conftest.
$ac_objext conftest
$ac_exeext
46387 if { (ac_try
="$ac_link"
46388 case "(($ac_try" in
46389 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46390 *) ac_try_echo=$ac_try;;
46392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46393 (eval "$ac_link") 2>conftest.er1
46395 grep -v '^ *+' conftest.er1 >conftest.err
46397 cat conftest.err >&5
46398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46399 (exit $ac_status); } && {
46400 test -z "$ac_c_werror_flag" ||
46401 test ! -s conftest.err
46402 } && test -s conftest$ac_exeext &&
46403 $as_test_x conftest$ac_exeext; then
46404 eval "$as_ac_var=yes"
46406 echo "$as_me: failed program was:" >&5
46407 sed 's/^/| /' conftest.$ac_ext >&5
46409 eval "$as_ac_var=no"
46412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46413 conftest$ac_exeext conftest.$ac_ext
46415 ac_res=`eval echo '${'$as_ac_var'}'`
46416 { echo "$as_me:$LINENO: result: $ac_res" >&5
46417 echo "${ECHO_T}$ac_res" >&6; }
46418 if test `eval echo '${'$as_ac_var'}'` = yes; then
46419 cat >>confdefs.h <<_ACEOF
46420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46427 if test "$ac_cv_func_localtime" = "yes"; then
46428 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46429 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46430 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46431 echo $ECHO_N "(cached) $ECHO_C" >&6
46434 cat >conftest.$ac_ext <<_ACEOF
46437 cat confdefs.h >>conftest.$ac_ext
46438 cat >>conftest.$ac_ext <<_ACEOF
46439 /* end confdefs.h. */
46454 rm -f conftest.$ac_objext
46455 if { (ac_try="$ac_compile"
46456 case "(($ac_try" in
46457 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46458 *) ac_try_echo
=$ac_try;;
46460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46461 (eval "$ac_compile") 2>conftest.er1
46463 grep -v '^ *+' conftest.er1
>conftest.err
46465 cat conftest.err
>&5
46466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46467 (exit $ac_status); } && {
46468 test -z "$ac_c_werror_flag" ||
46469 test ! -s conftest.err
46470 } && test -s conftest.
$ac_objext; then
46472 wx_cv_struct_tm_has_gmtoff
=yes
46475 echo "$as_me: failed program was:" >&5
46476 sed 's/^/| /' conftest.
$ac_ext >&5
46478 wx_cv_struct_tm_has_gmtoff
=no
46482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46485 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46486 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46489 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46490 cat >>confdefs.h
<<\_ACEOF
46491 #define WX_GMTOFF_IN_TM 1
46496 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
46500 if test "$wxUSE_SOCKETS" = "yes"; then
46501 if test "$wxUSE_MGL" = 1; then
46502 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46503 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46508 if test "$wxUSE_SOCKETS" = "yes"; then
46509 if test "$TOOLKIT" != "MSW"; then
46510 { echo "$as_me:$LINENO: checking for socket" >&5
46511 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46512 if test "${ac_cv_func_socket+set}" = set; then
46513 echo $ECHO_N "(cached) $ECHO_C" >&6
46515 cat >conftest.
$ac_ext <<_ACEOF
46518 cat confdefs.h
>>conftest.
$ac_ext
46519 cat >>conftest.
$ac_ext <<_ACEOF
46520 /* end confdefs.h. */
46521 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46523 #define socket innocuous_socket
46525 /* System header to define __stub macros and hopefully few prototypes,
46526 which can conflict with char socket (); below.
46527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46528 <limits.h> exists even on freestanding compilers. */
46531 # include <limits.h>
46533 # include <assert.h>
46538 /* Override any GCC internal prototype to avoid an error.
46539 Use char because int might match the return type of a GCC
46540 builtin and then its argument prototype would still apply. */
46545 /* The GNU C library defines this for functions which it implements
46546 to always fail with ENOSYS. Some functions are actually named
46547 something starting with __ and the normal name is an alias. */
46548 #if defined __stub_socket || defined __stub___socket
46560 rm -f conftest.
$ac_objext conftest
$ac_exeext
46561 if { (ac_try
="$ac_link"
46562 case "(($ac_try" in
46563 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46564 *) ac_try_echo=$ac_try;;
46566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46567 (eval "$ac_link") 2>conftest.er1
46569 grep -v '^ *+' conftest.er1 >conftest.err
46571 cat conftest.err >&5
46572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46573 (exit $ac_status); } && {
46574 test -z "$ac_c_werror_flag" ||
46575 test ! -s conftest.err
46576 } && test -s conftest$ac_exeext &&
46577 $as_test_x conftest$ac_exeext; then
46578 ac_cv_func_socket=yes
46580 echo "$as_me: failed program was:" >&5
46581 sed 's/^/| /' conftest.$ac_ext >&5
46583 ac_cv_func_socket=no
46586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46587 conftest$ac_exeext conftest.$ac_ext
46589 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46590 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46591 if test $ac_cv_func_socket = yes; then
46595 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46596 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46597 if test "${ac_cv_lib_socket_socket+set}" = set; then
46598 echo $ECHO_N "(cached) $ECHO_C" >&6
46600 ac_check_lib_save_LIBS=$LIBS
46601 LIBS="-lsocket $LIBS"
46602 cat >conftest.$ac_ext <<_ACEOF
46605 cat confdefs.h >>conftest.$ac_ext
46606 cat >>conftest.$ac_ext <<_ACEOF
46607 /* end confdefs.h. */
46609 /* Override any GCC internal prototype to avoid an error.
46610 Use char because int might match the return type of a GCC
46611 builtin and then its argument prototype would still apply. */
46624 rm -f conftest.$ac_objext conftest$ac_exeext
46625 if { (ac_try="$ac_link"
46626 case "(($ac_try" in
46627 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46628 *) ac_try_echo
=$ac_try;;
46630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46631 (eval "$ac_link") 2>conftest.er1
46633 grep -v '^ *+' conftest.er1
>conftest.err
46635 cat conftest.err
>&5
46636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46637 (exit $ac_status); } && {
46638 test -z "$ac_c_werror_flag" ||
46639 test ! -s conftest.err
46640 } && test -s conftest
$ac_exeext &&
46641 $as_test_x conftest
$ac_exeext; then
46642 ac_cv_lib_socket_socket
=yes
46644 echo "$as_me: failed program was:" >&5
46645 sed 's/^/| /' conftest.
$ac_ext >&5
46647 ac_cv_lib_socket_socket
=no
46650 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46651 conftest
$ac_exeext conftest.
$ac_ext
46652 LIBS
=$ac_check_lib_save_LIBS
46654 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46655 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46656 if test $ac_cv_lib_socket_socket = yes; then
46657 if test "$INET_LINK" != " -lsocket"; then
46658 INET_LINK
="$INET_LINK -lsocket"
46662 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46663 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46676 if test "$wxUSE_SOCKETS" = "yes" ; then
46677 if test "$TOOLKIT" != "MSW"; then
46678 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46679 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46680 if test "${wx_cv_type_getsockname3+set}" = set; then
46681 echo $ECHO_N "(cached) $ECHO_C" >&6
46685 ac_cpp
='$CXXCPP $CPPFLAGS'
46686 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46687 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46688 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46690 cat >conftest.
$ac_ext <<_ACEOF
46693 cat confdefs.h
>>conftest.
$ac_ext
46694 cat >>conftest.
$ac_ext <<_ACEOF
46695 /* end confdefs.h. */
46697 #include <sys/types.h>
46698 #include <sys/socket.h>
46705 getsockname(0, 0, &len);
46711 rm -f conftest.
$ac_objext
46712 if { (ac_try
="$ac_compile"
46713 case "(($ac_try" in
46714 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46715 *) ac_try_echo=$ac_try;;
46717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46718 (eval "$ac_compile") 2>conftest.er1
46720 grep -v '^ *+' conftest.er1 >conftest.err
46722 cat conftest.err >&5
46723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46724 (exit $ac_status); } && {
46725 test -z "$ac_cxx_werror_flag" ||
46726 test ! -s conftest.err
46727 } && test -s conftest.$ac_objext; then
46728 wx_cv_type_getsockname3=socklen_t
46730 echo "$as_me: failed program was:" >&5
46731 sed 's/^/| /' conftest.$ac_ext >&5
46734 CFLAGS_OLD="$CFLAGS"
46735 if test "$GCC" = yes ; then
46736 CFLAGS="-Werror $CFLAGS"
46739 cat >conftest.$ac_ext <<_ACEOF
46742 cat confdefs.h >>conftest.$ac_ext
46743 cat >>conftest.$ac_ext <<_ACEOF
46744 /* end confdefs.h. */
46746 #include <sys/types.h>
46747 #include <sys/socket.h>
46754 getsockname(0, 0, &len);
46760 rm -f conftest.$ac_objext
46761 if { (ac_try="$ac_compile"
46762 case "(($ac_try" in
46763 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46764 *) ac_try_echo
=$ac_try;;
46766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46767 (eval "$ac_compile") 2>conftest.er1
46769 grep -v '^ *+' conftest.er1
>conftest.err
46771 cat conftest.err
>&5
46772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46773 (exit $ac_status); } && {
46774 test -z "$ac_cxx_werror_flag" ||
46775 test ! -s conftest.err
46776 } && test -s conftest.
$ac_objext; then
46777 wx_cv_type_getsockname3
=size_t
46779 echo "$as_me: failed program was:" >&5
46780 sed 's/^/| /' conftest.
$ac_ext >&5
46782 cat >conftest.
$ac_ext <<_ACEOF
46785 cat confdefs.h
>>conftest.
$ac_ext
46786 cat >>conftest.
$ac_ext <<_ACEOF
46787 /* end confdefs.h. */
46789 #include <sys/types.h>
46790 #include <sys/socket.h>
46797 getsockname(0, 0, &len);
46803 rm -f conftest.
$ac_objext
46804 if { (ac_try
="$ac_compile"
46805 case "(($ac_try" in
46806 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46807 *) ac_try_echo=$ac_try;;
46809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46810 (eval "$ac_compile") 2>conftest.er1
46812 grep -v '^ *+' conftest.er1 >conftest.err
46814 cat conftest.err >&5
46815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46816 (exit $ac_status); } && {
46817 test -z "$ac_cxx_werror_flag" ||
46818 test ! -s conftest.err
46819 } && test -s conftest.$ac_objext; then
46820 wx_cv_type_getsockname3=int
46822 echo "$as_me: failed program was:" >&5
46823 sed 's/^/| /' conftest.$ac_ext >&5
46825 wx_cv_type_getsockname3=unknown
46829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46835 CFLAGS="$CFLAGS_OLD"
46840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46842 ac_cpp='$CPP $CPPFLAGS'
46843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46849 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46850 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46852 if test "$wx_cv_type_getsockname3" = "unknown"; then
46854 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46855 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46857 cat >>confdefs.h <<_ACEOF
46858 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46862 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46863 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46864 if test "${wx_cv_type_getsockopt5+set}" = set; then
46865 echo $ECHO_N "(cached) $ECHO_C" >&6
46869 ac_cpp='$CXXCPP $CPPFLAGS'
46870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46874 cat >conftest.$ac_ext <<_ACEOF
46877 cat confdefs.h >>conftest.$ac_ext
46878 cat >>conftest.$ac_ext <<_ACEOF
46879 /* end confdefs.h. */
46881 #include <sys/types.h>
46882 #include <sys/socket.h>
46889 getsockopt(0, 0, 0, 0, &len);
46895 rm -f conftest.$ac_objext
46896 if { (ac_try="$ac_compile"
46897 case "(($ac_try" in
46898 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46899 *) ac_try_echo
=$ac_try;;
46901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46902 (eval "$ac_compile") 2>conftest.er1
46904 grep -v '^ *+' conftest.er1
>conftest.err
46906 cat conftest.err
>&5
46907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46908 (exit $ac_status); } && {
46909 test -z "$ac_cxx_werror_flag" ||
46910 test ! -s conftest.err
46911 } && test -s conftest.
$ac_objext; then
46912 wx_cv_type_getsockopt5
=socklen_t
46914 echo "$as_me: failed program was:" >&5
46915 sed 's/^/| /' conftest.
$ac_ext >&5
46918 cat >conftest.
$ac_ext <<_ACEOF
46921 cat confdefs.h
>>conftest.
$ac_ext
46922 cat >>conftest.
$ac_ext <<_ACEOF
46923 /* end confdefs.h. */
46925 #include <sys/types.h>
46926 #include <sys/socket.h>
46933 getsockopt(0, 0, 0, 0, &len);
46939 rm -f conftest.
$ac_objext
46940 if { (ac_try
="$ac_compile"
46941 case "(($ac_try" in
46942 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46943 *) ac_try_echo=$ac_try;;
46945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46946 (eval "$ac_compile") 2>conftest.er1
46948 grep -v '^ *+' conftest.er1 >conftest.err
46950 cat conftest.err >&5
46951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46952 (exit $ac_status); } && {
46953 test -z "$ac_cxx_werror_flag" ||
46954 test ! -s conftest.err
46955 } && test -s conftest.$ac_objext; then
46956 wx_cv_type_getsockopt5=size_t
46958 echo "$as_me: failed program was:" >&5
46959 sed 's/^/| /' conftest.$ac_ext >&5
46961 cat >conftest.$ac_ext <<_ACEOF
46964 cat confdefs.h >>conftest.$ac_ext
46965 cat >>conftest.$ac_ext <<_ACEOF
46966 /* end confdefs.h. */
46968 #include <sys/types.h>
46969 #include <sys/socket.h>
46976 getsockopt(0, 0, 0, 0, &len);
46982 rm -f conftest.$ac_objext
46983 if { (ac_try="$ac_compile"
46984 case "(($ac_try" in
46985 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46986 *) ac_try_echo
=$ac_try;;
46988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46989 (eval "$ac_compile") 2>conftest.er1
46991 grep -v '^ *+' conftest.er1
>conftest.err
46993 cat conftest.err
>&5
46994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46995 (exit $ac_status); } && {
46996 test -z "$ac_cxx_werror_flag" ||
46997 test ! -s conftest.err
46998 } && test -s conftest.
$ac_objext; then
46999 wx_cv_type_getsockopt5
=int
47001 echo "$as_me: failed program was:" >&5
47002 sed 's/^/| /' conftest.
$ac_ext >&5
47004 wx_cv_type_getsockopt5
=unknown
47008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47017 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47019 ac_cpp
='$CPP $CPPFLAGS'
47020 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47021 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47022 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47026 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47027 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47029 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47031 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47032 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47034 cat >>confdefs.h
<<_ACEOF
47035 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47042 if test "$wxUSE_SOCKETS" = "yes" ; then
47043 if test "$wxUSE_IPV6" = "yes"; then
47044 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
47045 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
47046 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
47047 echo $ECHO_N "(cached) $ECHO_C" >&6
47050 cat >conftest.
$ac_ext <<_ACEOF
47053 cat confdefs.h
>>conftest.
$ac_ext
47054 cat >>conftest.
$ac_ext <<_ACEOF
47055 /* end confdefs.h. */
47057 #include <sys/types.h>
47058 #include <sys/socket.h>
47059 #include <netinet/in.h>
47065 struct sockaddr_in6 sa6;
47071 rm -f conftest.
$ac_objext
47072 if { (ac_try
="$ac_compile"
47073 case "(($ac_try" in
47074 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47075 *) ac_try_echo=$ac_try;;
47077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47078 (eval "$ac_compile") 2>conftest.er1
47080 grep -v '^ *+' conftest.er1 >conftest.err
47082 cat conftest.err >&5
47083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47084 (exit $ac_status); } && {
47085 test -z "$ac_c_werror_flag" ||
47086 test ! -s conftest.err
47087 } && test -s conftest.$ac_objext; then
47088 wx_cv_type_sockaddr_in6=yes
47090 echo "$as_me: failed program was:" >&5
47091 sed 's/^/| /' conftest.$ac_ext >&5
47093 wx_cv_type_sockaddr_in6=no
47097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47101 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
47102 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
47104 if test "$wx_cv_type_sockaddr_in6"="yes"; then
47105 cat >>confdefs.h <<\_ACEOF
47106 #define wxUSE_IPV6 1
47110 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
47111 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
47115 cat >>confdefs.h <<\_ACEOF
47116 #define wxUSE_SOCKETS 1
47119 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47122 if test "$wxUSE_PROTOCOL" = "yes"; then
47123 if test "$wxUSE_SOCKETS" != "yes"; then
47124 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47125 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47130 if test "$wxUSE_PROTOCOL" = "yes"; then
47131 cat >>confdefs.h <<\_ACEOF
47132 #define wxUSE_PROTOCOL 1
47136 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47137 cat >>confdefs.h <<\_ACEOF
47138 #define wxUSE_PROTOCOL_HTTP 1
47142 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47143 cat >>confdefs.h <<\_ACEOF
47144 #define wxUSE_PROTOCOL_FTP 1
47148 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47149 cat >>confdefs.h <<\_ACEOF
47150 #define wxUSE_PROTOCOL_FILE 1
47155 if test "$wxUSE_FS_INET" = "yes"; then
47156 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47157 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47162 if test "$wxUSE_URL" = "yes"; then
47163 if test "$wxUSE_PROTOCOL" != "yes"; then
47164 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47165 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47168 if test "$wxUSE_URL" = "yes"; then
47169 cat >>confdefs.h <<\_ACEOF
47170 #define wxUSE_URL 1
47176 if test "$wxUSE_VARIANT" = "yes"; then
47177 cat >>confdefs.h <<\_ACEOF
47178 #define wxUSE_VARIANT 1
47183 if test "$wxUSE_FS_INET" = "yes"; then
47184 cat >>confdefs.h <<\_ACEOF
47185 #define wxUSE_FS_INET 1
47191 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47194 if test "$TOOLKIT" = "MSW"; then
47197 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47198 if test "$USE_DARWIN" = 1; then
47199 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47200 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47202 ac_cpp='$CXXCPP $CPPFLAGS'
47203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47207 cat >conftest.$ac_ext <<_ACEOF
47210 cat confdefs.h >>conftest.$ac_ext
47211 cat >>conftest.$ac_ext <<_ACEOF
47212 /* end confdefs.h. */
47213 #include <IOKit/hid/IOHIDLib.h>
47217 IOHIDQueueInterface *qi = NULL;
47218 IOHIDCallbackFunction cb = NULL;
47219 qi->setEventCallout(NULL, cb, NULL, NULL);
47224 rm -f conftest.$ac_objext
47225 if { (ac_try="$ac_compile"
47226 case "(($ac_try" in
47227 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47228 *) ac_try_echo
=$ac_try;;
47230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47231 (eval "$ac_compile") 2>conftest.er1
47233 grep -v '^ *+' conftest.er1
>conftest.err
47235 cat conftest.err
>&5
47236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47237 (exit $ac_status); } && {
47238 test -z "$ac_cxx_werror_flag" ||
47239 test ! -s conftest.err
47240 } && test -s conftest.
$ac_objext; then
47244 echo "$as_me: failed program was:" >&5
47245 sed 's/^/| /' conftest.
$ac_ext >&5
47250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47252 ac_cpp
='$CPP $CPPFLAGS'
47253 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47254 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47255 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47257 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47258 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47262 if test "$wxUSE_MGL" != 1; then
47264 for ac_header
in linux
/joystick.h
47266 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47267 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47269 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47270 echo $ECHO_N "(cached) $ECHO_C" >&6
47272 cat >conftest.
$ac_ext <<_ACEOF
47275 cat confdefs.h
>>conftest.
$ac_ext
47276 cat >>conftest.
$ac_ext <<_ACEOF
47277 /* end confdefs.h. */
47278 $ac_includes_default
47280 #include <$ac_header>
47282 rm -f conftest.
$ac_objext
47283 if { (ac_try
="$ac_compile"
47284 case "(($ac_try" in
47285 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47286 *) ac_try_echo=$ac_try;;
47288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47289 (eval "$ac_compile") 2>conftest.er1
47291 grep -v '^ *+' conftest.er1 >conftest.err
47293 cat conftest.err >&5
47294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47295 (exit $ac_status); } && {
47296 test -z "$ac_c_werror_flag" ||
47297 test ! -s conftest.err
47298 } && test -s conftest.$ac_objext; then
47299 eval "$as_ac_Header=yes"
47301 echo "$as_me: failed program was:" >&5
47302 sed 's/^/| /' conftest.$ac_ext >&5
47304 eval "$as_ac_Header=no"
47307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47309 ac_res=`eval echo '${'$as_ac_Header'}'`
47310 { echo "$as_me:$LINENO: result: $ac_res" >&5
47311 echo "${ECHO_T}$ac_res" >&6; }
47312 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47313 cat >>confdefs.h <<_ACEOF
47314 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47324 if test "$wxUSE_JOYSTICK" = "yes"; then
47325 cat >>confdefs.h <<\_ACEOF
47326 #define wxUSE_JOYSTICK 1
47329 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47331 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47332 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47338 if test "$wxUSE_FONTENUM" = "yes" ; then
47339 cat >>confdefs.h <<\_ACEOF
47340 #define wxUSE_FONTENUM 1
47345 if test "$wxUSE_FONTMAP" = "yes" ; then
47346 cat >>confdefs.h <<\_ACEOF
47347 #define wxUSE_FONTMAP 1
47352 if test "$wxUSE_UNICODE" = "yes" ; then
47353 cat >>confdefs.h <<\_ACEOF
47354 #define wxUSE_UNICODE 1
47358 if test "$USE_WIN32" != 1; then
47359 wxUSE_UNICODE_MSLU=no
47362 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47363 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47364 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47365 if test "${ac_cv_lib_unicows_main+set}" = set; then
47366 echo $ECHO_N "(cached) $ECHO_C" >&6
47368 ac_check_lib_save_LIBS=$LIBS
47369 LIBS="-lunicows $LIBS"
47370 cat >conftest.$ac_ext <<_ACEOF
47373 cat confdefs.h >>conftest.$ac_ext
47374 cat >>conftest.$ac_ext <<_ACEOF
47375 /* end confdefs.h. */
47386 rm -f conftest.$ac_objext conftest$ac_exeext
47387 if { (ac_try="$ac_link"
47388 case "(($ac_try" in
47389 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47390 *) ac_try_echo
=$ac_try;;
47392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47393 (eval "$ac_link") 2>conftest.er1
47395 grep -v '^ *+' conftest.er1
>conftest.err
47397 cat conftest.err
>&5
47398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47399 (exit $ac_status); } && {
47400 test -z "$ac_c_werror_flag" ||
47401 test ! -s conftest.err
47402 } && test -s conftest
$ac_exeext &&
47403 $as_test_x conftest
$ac_exeext; then
47404 ac_cv_lib_unicows_main
=yes
47406 echo "$as_me: failed program was:" >&5
47407 sed 's/^/| /' conftest.
$ac_ext >&5
47409 ac_cv_lib_unicows_main
=no
47412 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
47413 conftest
$ac_exeext conftest.
$ac_ext
47414 LIBS
=$ac_check_lib_save_LIBS
47416 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47417 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47418 if test $ac_cv_lib_unicows_main = yes; then
47420 cat >>confdefs.h
<<\_ACEOF
47421 #define wxUSE_UNICODE_MSLU 1
47427 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47428 Applications will only run on Windows NT/2000/XP!" >&5
47429 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47430 Applications will only run on Windows NT/2000/XP!" >&2;}
47431 wxUSE_UNICODE_MSLU
=no
47438 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47439 cat >>confdefs.h
<<\_ACEOF
47440 #define wxUSE_UNICODE_UTF8 1
47444 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47445 cat >>confdefs.h
<<\_ACEOF
47446 #define wxUSE_UTF8_LOCALE_ONLY 1
47453 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47454 cat >>confdefs.h
<<\_ACEOF
47455 #define wxUSE_CONSTRAINTS 1
47458 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
47461 if test "$wxUSE_MDI" = "yes"; then
47462 cat >>confdefs.h
<<\_ACEOF
47463 #define wxUSE_MDI 1
47467 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47468 cat >>confdefs.h
<<\_ACEOF
47469 #define wxUSE_MDI_ARCHITECTURE 1
47472 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
47476 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47477 cat >>confdefs.h
<<\_ACEOF
47478 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
47482 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47483 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
47487 if test "$wxUSE_HELP" = "yes"; then
47488 cat >>confdefs.h
<<\_ACEOF
47489 #define wxUSE_HELP 1
47492 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
47494 if test "$wxUSE_MSW" = 1; then
47495 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47496 cat >>confdefs.h
<<\_ACEOF
47497 #define wxUSE_MS_HTML_HELP 1
47503 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47504 if test "$wxUSE_HTML" = "yes"; then
47505 cat >>confdefs.h
<<\_ACEOF
47506 #define wxUSE_WXHTML_HELP 1
47510 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47511 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47512 wxUSE_WXHTML_HELP
=no
47517 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47518 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47519 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47520 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47522 cat >>confdefs.h
<<\_ACEOF
47523 #define wxUSE_PRINTING_ARCHITECTURE 1
47527 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
47530 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47531 cat >>confdefs.h
<<\_ACEOF
47532 #define wxUSE_POSTSCRIPT 1
47537 cat >>confdefs.h
<<\_ACEOF
47538 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47542 if test "$wxUSE_SVG" = "yes"; then
47543 cat >>confdefs.h
<<\_ACEOF
47544 #define wxUSE_SVG 1
47550 if test "$wxUSE_METAFILE" = "yes"; then
47551 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47552 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47553 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47559 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
47560 -o "$wxUSE_CLIPBOARD" = "yes" \
47561 -o "$wxUSE_OLE" = "yes" \
47562 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
47563 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47564 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47565 if test "${ac_cv_header_ole2_h+set}" = set; then
47566 echo $ECHO_N "(cached) $ECHO_C" >&6
47568 cat >conftest.
$ac_ext <<_ACEOF
47571 cat confdefs.h
>>conftest.
$ac_ext
47572 cat >>conftest.
$ac_ext <<_ACEOF
47573 /* end confdefs.h. */
47578 rm -f conftest.
$ac_objext
47579 if { (ac_try
="$ac_compile"
47580 case "(($ac_try" in
47581 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47582 *) ac_try_echo=$ac_try;;
47584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47585 (eval "$ac_compile") 2>conftest.er1
47587 grep -v '^ *+' conftest.er1 >conftest.err
47589 cat conftest.err >&5
47590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47591 (exit $ac_status); } && {
47592 test -z "$ac_c_werror_flag" ||
47593 test ! -s conftest.err
47594 } && test -s conftest.$ac_objext; then
47595 ac_cv_header_ole2_h=yes
47597 echo "$as_me: failed program was:" >&5
47598 sed 's/^/| /' conftest.$ac_ext >&5
47600 ac_cv_header_ole2_h=no
47603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47605 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47606 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47610 if test "$ac_cv_header_ole2_h" = "yes" ; then
47611 if test "$GCC" = yes ; then
47612 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47613 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47614 cat >conftest.$ac_ext <<_ACEOF
47617 cat confdefs.h >>conftest.$ac_ext
47618 cat >>conftest.$ac_ext <<_ACEOF
47619 /* end confdefs.h. */
47620 #include <windows.h>
47630 rm -f conftest.$ac_objext
47631 if { (ac_try="$ac_compile"
47632 case "(($ac_try" in
47633 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47634 *) ac_try_echo
=$ac_try;;
47636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47637 (eval "$ac_compile") 2>conftest.er1
47639 grep -v '^ *+' conftest.er1
>conftest.err
47641 cat conftest.err
>&5
47642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47643 (exit $ac_status); } && {
47644 test -z "$ac_c_werror_flag" ||
47645 test ! -s conftest.err
47646 } && test -s conftest.
$ac_objext; then
47647 { echo "$as_me:$LINENO: result: no" >&5
47648 echo "${ECHO_T}no" >&6; }
47650 echo "$as_me: failed program was:" >&5
47651 sed 's/^/| /' conftest.
$ac_ext >&5
47653 { echo "$as_me:$LINENO: result: yes" >&5
47654 echo "${ECHO_T}yes" >&6; }
47655 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47659 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47660 if test "$wxUSE_OLE" = "yes" ; then
47661 cat >>confdefs.h
<<\_ACEOF
47662 #define wxUSE_OLE 1
47665 cat >>confdefs.h
<<\_ACEOF
47666 #define wxUSE_OLE_AUTOMATION 1
47669 cat >>confdefs.h
<<\_ACEOF
47670 #define wxUSE_ACTIVEX 1
47673 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
47677 if test "$wxUSE_DATAOBJ" = "yes" ; then
47678 cat >>confdefs.h
<<\_ACEOF
47679 #define wxUSE_DATAOBJ 1
47684 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47685 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47688 wxUSE_DRAG_AND_DROP
=no
47693 if test "$wxUSE_METAFILE" = "yes"; then
47694 cat >>confdefs.h
<<\_ACEOF
47695 #define wxUSE_METAFILE 1
47699 cat >>confdefs.h
<<\_ACEOF
47700 #define wxUSE_ENH_METAFILE 1
47706 if test "$wxUSE_IPC" = "yes"; then
47707 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47708 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47709 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47713 if test "$wxUSE_IPC" = "yes"; then
47714 cat >>confdefs.h
<<\_ACEOF
47715 #define wxUSE_IPC 1
47718 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
47722 if test "$wxUSE_DATAOBJ" = "yes"; then
47723 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47724 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47725 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47728 cat >>confdefs.h
<<\_ACEOF
47729 #define wxUSE_DATAOBJ 1
47734 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47735 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47737 wxUSE_DRAG_AND_DROP
=no
47740 if test "$wxUSE_CLIPBOARD" = "yes"; then
47741 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47742 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47743 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47747 if test "$wxUSE_CLIPBOARD" = "yes"; then
47748 cat >>confdefs.h
<<\_ACEOF
47749 #define wxUSE_CLIPBOARD 1
47755 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47756 if test "$wxUSE_GTK" = 1; then
47757 if test "$WXGTK12" != 1; then
47758 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47759 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47760 wxUSE_DRAG_AND_DROP
=no
47764 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47765 "$wxUSE_DFB" = 1; then
47766 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47767 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47768 wxUSE_DRAG_AND_DROP
=no
47771 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47772 cat >>confdefs.h
<<\_ACEOF
47773 #define wxUSE_DRAG_AND_DROP 1
47780 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47781 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
47784 if test "$wxUSE_SPLINES" = "yes" ; then
47785 cat >>confdefs.h
<<\_ACEOF
47786 #define wxUSE_SPLINES 1
47791 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47792 cat >>confdefs.h
<<\_ACEOF
47793 #define wxUSE_MOUSEWHEEL 1
47800 if test "$wxUSE_CONTROLS" = "yes"; then
47804 if test "$wxUSE_ACCEL" = "yes"; then
47805 cat >>confdefs.h
<<\_ACEOF
47806 #define wxUSE_ACCEL 1
47812 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47813 cat >>confdefs.h
<<\_ACEOF
47814 #define wxUSE_ANIMATIONCTRL 1
47818 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
47821 if test "$wxUSE_BUTTON" = "yes"; then
47822 cat >>confdefs.h
<<\_ACEOF
47823 #define wxUSE_BUTTON 1
47829 if test "$wxUSE_BMPBUTTON" = "yes"; then
47830 cat >>confdefs.h
<<\_ACEOF
47831 #define wxUSE_BMPBUTTON 1
47837 if test "$wxUSE_CALCTRL" = "yes"; then
47838 cat >>confdefs.h
<<\_ACEOF
47839 #define wxUSE_CALENDARCTRL 1
47843 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
47846 if test "$wxUSE_CARET" = "yes"; then
47847 cat >>confdefs.h
<<\_ACEOF
47848 #define wxUSE_CARET 1
47852 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
47855 if test "$wxUSE_COLLPANE" = "yes"; then
47856 cat >>confdefs.h
<<\_ACEOF
47857 #define wxUSE_COLLPANE 1
47861 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
47864 if test "$wxUSE_COMBOBOX" = "yes"; then
47865 cat >>confdefs.h
<<\_ACEOF
47866 #define wxUSE_COMBOBOX 1
47872 if test "$wxUSE_COMBOCTRL" = "yes"; then
47873 cat >>confdefs.h
<<\_ACEOF
47874 #define wxUSE_COMBOCTRL 1
47880 if test "$wxUSE_CHOICE" = "yes"; then
47881 cat >>confdefs.h
<<\_ACEOF
47882 #define wxUSE_CHOICE 1
47888 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47889 cat >>confdefs.h
<<\_ACEOF
47890 #define wxUSE_CHOICEBOOK 1
47896 if test "$wxUSE_CHECKBOX" = "yes"; then
47897 cat >>confdefs.h
<<\_ACEOF
47898 #define wxUSE_CHECKBOX 1
47904 if test "$wxUSE_CHECKLST" = "yes"; then
47905 cat >>confdefs.h
<<\_ACEOF
47906 #define wxUSE_CHECKLISTBOX 1
47912 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47913 cat >>confdefs.h
<<\_ACEOF
47914 #define wxUSE_COLOURPICKERCTRL 1
47920 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47921 cat >>confdefs.h
<<\_ACEOF
47922 #define wxUSE_DATEPICKCTRL 1
47928 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47929 cat >>confdefs.h
<<\_ACEOF
47930 #define wxUSE_DIRPICKERCTRL 1
47936 if test "$wxUSE_FILECTRL" = "yes"; then
47937 cat >>confdefs.h
<<\_ACEOF
47938 #define wxUSE_FILECTRL 1
47944 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47945 cat >>confdefs.h
<<\_ACEOF
47946 #define wxUSE_FILEPICKERCTRL 1
47952 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47953 cat >>confdefs.h
<<\_ACEOF
47954 #define wxUSE_FONTPICKERCTRL 1
47960 if test "$wxUSE_DISPLAY" = "yes"; then
47961 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47962 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47963 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47966 cat >>confdefs.h
<<\_ACEOF
47967 #define wxUSE_DISPLAY 1
47970 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
47974 if test "$wxUSE_DETECT_SM" = "yes"; then
47975 cat >>confdefs.h
<<\_ACEOF
47976 #define wxUSE_DETECT_SM 1
47981 if test "$wxUSE_GAUGE" = "yes"; then
47982 cat >>confdefs.h
<<\_ACEOF
47983 #define wxUSE_GAUGE 1
47989 if test "$wxUSE_GRID" = "yes"; then
47990 cat >>confdefs.h
<<\_ACEOF
47991 #define wxUSE_GRID 1
47995 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
47998 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47999 cat >>confdefs.h
<<\_ACEOF
48000 #define wxUSE_HYPERLINKCTRL 1
48006 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
48007 cat >>confdefs.h
<<\_ACEOF
48008 #define wxUSE_BITMAPCOMBOBOX 1
48014 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
48015 cat >>confdefs.h
<<\_ACEOF
48016 #define wxUSE_DATAVIEWCTRL 1
48020 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
48023 if test "$wxUSE_IMAGLIST" = "yes"; then
48024 cat >>confdefs.h
<<\_ACEOF
48025 #define wxUSE_IMAGLIST 1
48030 if test "$wxUSE_LISTBOOK" = "yes"; then
48031 cat >>confdefs.h
<<\_ACEOF
48032 #define wxUSE_LISTBOOK 1
48038 if test "$wxUSE_LISTBOX" = "yes"; then
48039 cat >>confdefs.h
<<\_ACEOF
48040 #define wxUSE_LISTBOX 1
48046 if test "$wxUSE_LISTCTRL" = "yes"; then
48047 if test "$wxUSE_IMAGLIST" = "yes"; then
48048 cat >>confdefs.h
<<\_ACEOF
48049 #define wxUSE_LISTCTRL 1
48053 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
48055 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48056 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48060 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48061 cat >>confdefs.h
<<\_ACEOF
48062 #define wxUSE_EDITABLELISTBOX 1
48066 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
48069 if test "$wxUSE_NOTEBOOK" = "yes"; then
48070 cat >>confdefs.h
<<\_ACEOF
48071 #define wxUSE_NOTEBOOK 1
48075 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
48078 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48079 cat >>confdefs.h
<<\_ACEOF
48080 #define wxUSE_ODCOMBOBOX 1
48084 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
48087 if test "$wxUSE_RADIOBOX" = "yes"; then
48088 cat >>confdefs.h
<<\_ACEOF
48089 #define wxUSE_RADIOBOX 1
48095 if test "$wxUSE_RADIOBTN" = "yes"; then
48096 cat >>confdefs.h
<<\_ACEOF
48097 #define wxUSE_RADIOBTN 1
48103 if test "$wxUSE_SASH" = "yes"; then
48104 cat >>confdefs.h
<<\_ACEOF
48105 #define wxUSE_SASH 1
48108 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
48111 if test "$wxUSE_SCROLLBAR" = "yes"; then
48112 cat >>confdefs.h
<<\_ACEOF
48113 #define wxUSE_SCROLLBAR 1
48117 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
48120 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48121 cat >>confdefs.h
<<\_ACEOF
48122 #define wxUSE_SEARCHCTRL 1
48128 if test "$wxUSE_SLIDER" = "yes"; then
48129 cat >>confdefs.h
<<\_ACEOF
48130 #define wxUSE_SLIDER 1
48136 if test "$wxUSE_SPINBTN" = "yes"; then
48137 cat >>confdefs.h
<<\_ACEOF
48138 #define wxUSE_SPINBTN 1
48144 if test "$wxUSE_SPINCTRL" = "yes"; then
48145 cat >>confdefs.h
<<\_ACEOF
48146 #define wxUSE_SPINCTRL 1
48152 if test "$wxUSE_SPLITTER" = "yes"; then
48153 cat >>confdefs.h
<<\_ACEOF
48154 #define wxUSE_SPLITTER 1
48157 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
48160 if test "$wxUSE_STATBMP" = "yes"; then
48161 cat >>confdefs.h
<<\_ACEOF
48162 #define wxUSE_STATBMP 1
48168 if test "$wxUSE_STATBOX" = "yes"; then
48169 cat >>confdefs.h
<<\_ACEOF
48170 #define wxUSE_STATBOX 1
48176 if test "$wxUSE_STATTEXT" = "yes"; then
48177 cat >>confdefs.h
<<\_ACEOF
48178 #define wxUSE_STATTEXT 1
48184 if test "$wxUSE_STATLINE" = "yes"; then
48185 cat >>confdefs.h
<<\_ACEOF
48186 #define wxUSE_STATLINE 1
48192 if test "$wxUSE_STATUSBAR" = "yes"; then
48193 cat >>confdefs.h
<<\_ACEOF
48194 #define wxUSE_NATIVE_STATUSBAR 1
48197 cat >>confdefs.h
<<\_ACEOF
48198 #define wxUSE_STATUSBAR 1
48203 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
48206 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48207 cat >>confdefs.h
<<\_ACEOF
48208 #define wxUSE_TAB_DIALOG 1
48213 if test "$wxUSE_TEXTCTRL" = "yes"; then
48214 cat >>confdefs.h
<<\_ACEOF
48215 #define wxUSE_TEXTCTRL 1
48219 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
48222 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48223 if test "$wxUSE_COCOA" = 1 ; then
48224 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48225 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48229 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48230 cat >>confdefs.h
<<\_ACEOF
48231 #define wxUSE_TOGGLEBTN 1
48238 if test "$wxUSE_TOOLBAR" = "yes"; then
48239 cat >>confdefs.h
<<\_ACEOF
48240 #define wxUSE_TOOLBAR 1
48245 if test "$wxUSE_UNIVERSAL" = "yes"; then
48246 wxUSE_TOOLBAR_NATIVE
="no"
48248 wxUSE_TOOLBAR_NATIVE
="yes"
48249 cat >>confdefs.h
<<\_ACEOF
48250 #define wxUSE_TOOLBAR_NATIVE 1
48255 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
48258 if test "$wxUSE_TOOLTIPS" = "yes"; then
48259 if test "$wxUSE_MOTIF" = 1; then
48260 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48261 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48263 if test "$wxUSE_UNIVERSAL" = "yes"; then
48264 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48265 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48267 cat >>confdefs.h
<<\_ACEOF
48268 #define wxUSE_TOOLTIPS 1
48275 if test "$wxUSE_TREEBOOK" = "yes"; then
48276 cat >>confdefs.h
<<\_ACEOF
48277 #define wxUSE_TREEBOOK 1
48283 if test "$wxUSE_TOOLBOOK" = "yes"; then
48284 cat >>confdefs.h
<<\_ACEOF
48285 #define wxUSE_TOOLBOOK 1
48291 if test "$wxUSE_TREECTRL" = "yes"; then
48292 if test "$wxUSE_IMAGLIST" = "yes"; then
48293 cat >>confdefs.h
<<\_ACEOF
48294 #define wxUSE_TREECTRL 1
48298 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
48300 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48301 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48305 if test "$wxUSE_POPUPWIN" = "yes"; then
48306 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48307 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48308 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48310 if test "$wxUSE_PM" = 1; then
48311 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48312 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48314 cat >>confdefs.h
<<\_ACEOF
48315 #define wxUSE_POPUPWIN 1
48318 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
48325 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48326 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48327 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48328 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48330 cat >>confdefs.h
<<\_ACEOF
48331 #define wxUSE_DIALUP_MANAGER 1
48334 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
48338 if test "$wxUSE_TIPWINDOW" = "yes"; then
48339 if test "$wxUSE_PM" = 1; then
48340 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48341 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48343 cat >>confdefs.h
<<\_ACEOF
48344 #define wxUSE_TIPWINDOW 1
48350 if test "$USES_CONTROLS" = 1; then
48351 cat >>confdefs.h
<<\_ACEOF
48352 #define wxUSE_CONTROLS 1
48358 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48359 cat >>confdefs.h
<<\_ACEOF
48360 #define wxUSE_ACCESSIBILITY 1
48363 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
48366 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48367 cat >>confdefs.h
<<\_ACEOF
48368 #define wxUSE_DRAGIMAGE 1
48371 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
48374 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48375 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48376 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48377 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48379 cat >>confdefs.h
<<\_ACEOF
48380 #define wxUSE_EXCEPTIONS 1
48383 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
48388 if test "$wxUSE_HTML" = "yes"; then
48389 cat >>confdefs.h
<<\_ACEOF
48390 #define wxUSE_HTML 1
48394 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48395 if test "$wxUSE_MAC" = 1; then
48396 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
48399 if test "$wxUSE_WEBKIT" = "yes"; then
48400 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48401 old_CPPFLAGS
="$CPPFLAGS"
48402 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
48403 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48404 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48405 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48406 echo $ECHO_N "(cached) $ECHO_C" >&6
48408 cat >conftest.
$ac_ext <<_ACEOF
48411 cat confdefs.h
>>conftest.
$ac_ext
48412 cat >>conftest.
$ac_ext <<_ACEOF
48413 /* end confdefs.h. */
48415 #include <Carbon/Carbon.h>
48416 #include <WebKit/WebKit.h>
48419 #include <WebKit/HIWebView.h>
48421 rm -f conftest.
$ac_objext
48422 if { (ac_try
="$ac_compile"
48423 case "(($ac_try" in
48424 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48425 *) ac_try_echo=$ac_try;;
48427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48428 (eval "$ac_compile") 2>conftest.er1
48430 grep -v '^ *+' conftest.er1 >conftest.err
48432 cat conftest.err >&5
48433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48434 (exit $ac_status); } && {
48435 test -z "$ac_c_werror_flag" ||
48436 test ! -s conftest.err
48437 } && test -s conftest.$ac_objext; then
48438 ac_cv_header_WebKit_HIWebView_h=yes
48440 echo "$as_me: failed program was:" >&5
48441 sed 's/^/| /' conftest.$ac_ext >&5
48443 ac_cv_header_WebKit_HIWebView_h=no
48446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48448 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48449 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48450 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48452 cat >>confdefs.h <<\_ACEOF
48453 #define wxUSE_WEBKIT 1
48456 WEBKIT_LINK="-framework WebKit"
48460 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48461 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48467 CPPFLAGS="$old_CPPFLAGS"
48468 elif test "$wxUSE_COCOA" = 1; then
48469 cat >>confdefs.h <<\_ACEOF
48470 #define wxUSE_WEBKIT 1
48479 if test "$wxUSE_XRC" = "yes"; then
48480 if test "$wxUSE_XML" != "yes"; then
48481 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48482 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48485 cat >>confdefs.h <<\_ACEOF
48486 #define wxUSE_XRC 1
48490 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48495 if test "$wxUSE_AUI" = "yes"; then
48496 cat >>confdefs.h <<\_ACEOF
48497 #define wxUSE_AUI 1
48501 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48505 if test "$wxUSE_STC" = "yes"; then
48506 cat >>confdefs.h <<\_ACEOF
48507 #define wxUSE_STC 1
48511 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48514 if test "$wxUSE_MENUS" = "yes"; then
48515 cat >>confdefs.h <<\_ACEOF
48516 #define wxUSE_MENUS 1
48519 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48522 if test "$wxUSE_METAFILE" = "yes"; then
48523 cat >>confdefs.h <<\_ACEOF
48524 #define wxUSE_METAFILE 1
48529 if test "$wxUSE_MIMETYPE" = "yes"; then
48530 cat >>confdefs.h <<\_ACEOF
48531 #define wxUSE_MIMETYPE 1
48536 if test "$wxUSE_MINIFRAME" = "yes"; then
48537 cat >>confdefs.h <<\_ACEOF
48538 #define wxUSE_MINIFRAME 1
48543 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48544 cat >>confdefs.h <<\_ACEOF
48545 #define wxUSE_SYSTEM_OPTIONS 1
48550 if test "$wxUSE_TASKBARICON" = "yes"; then
48551 cat >>confdefs.h <<\_ACEOF
48552 #define wxUSE_TASKBARICON 1
48555 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48559 if test "$wxUSE_VALIDATORS" = "yes"; then
48560 cat >>confdefs.h <<\_ACEOF
48561 #define wxUSE_VALIDATORS 1
48564 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48567 if test "$wxUSE_PALETTE" = "yes" ; then
48568 if test "$wxUSE_DFB" = 1; then
48569 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48570 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48573 cat >>confdefs.h <<\_ACEOF
48574 #define wxUSE_PALETTE 1
48580 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48581 LIBS=" -lunicows $LIBS"
48585 if test "$wxUSE_RICHTEXT" = "yes"; then
48586 cat >>confdefs.h <<\_ACEOF
48587 #define wxUSE_RICHTEXT 1
48591 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48595 if test "$wxUSE_IMAGE" = "yes" ; then
48596 cat >>confdefs.h <<\_ACEOF
48597 #define wxUSE_IMAGE 1
48601 if test "$wxUSE_GIF" = "yes" ; then
48602 cat >>confdefs.h <<\_ACEOF
48603 #define wxUSE_GIF 1
48608 if test "$wxUSE_PCX" = "yes" ; then
48609 cat >>confdefs.h <<\_ACEOF
48610 #define wxUSE_PCX 1
48615 if test "$wxUSE_TGA" = "yes" ; then
48616 cat >>confdefs.h <<\_ACEOF
48617 #define wxUSE_TGA 1
48622 if test "$wxUSE_IFF" = "yes" ; then
48623 cat >>confdefs.h <<\_ACEOF
48624 #define wxUSE_IFF 1
48629 if test "$wxUSE_PNM" = "yes" ; then
48630 cat >>confdefs.h <<\_ACEOF
48631 #define wxUSE_PNM 1
48636 if test "$wxUSE_XPM" = "yes" ; then
48637 cat >>confdefs.h <<\_ACEOF
48638 #define wxUSE_XPM 1
48643 if test "$wxUSE_ICO_CUR" = "yes" ; then
48644 cat >>confdefs.h <<\_ACEOF
48645 #define wxUSE_ICO_CUR 1
48652 if test "$wxUSE_ABOUTDLG" = "yes"; then
48653 cat >>confdefs.h <<\_ACEOF
48654 #define wxUSE_ABOUTDLG 1
48659 if test "$wxUSE_CHOICEDLG" = "yes"; then
48660 cat >>confdefs.h <<\_ACEOF
48661 #define wxUSE_CHOICEDLG 1
48666 if test "$wxUSE_COLOURDLG" = "yes"; then
48667 cat >>confdefs.h <<\_ACEOF
48668 #define wxUSE_COLOURDLG 1
48673 if test "$wxUSE_FILEDLG" = "yes"; then
48674 cat >>confdefs.h <<\_ACEOF
48675 #define wxUSE_FILEDLG 1
48680 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48681 cat >>confdefs.h <<\_ACEOF
48682 #define wxUSE_FINDREPLDLG 1
48687 if test "$wxUSE_FONTDLG" = "yes"; then
48688 cat >>confdefs.h <<\_ACEOF
48689 #define wxUSE_FONTDLG 1
48694 if test "$wxUSE_DIRDLG" = "yes"; then
48695 if test "$wxUSE_TREECTRL" != "yes"; then
48696 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48697 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48699 cat >>confdefs.h <<\_ACEOF
48700 #define wxUSE_DIRDLG 1
48706 if test "$wxUSE_MSGDLG" = "yes"; then
48707 cat >>confdefs.h <<\_ACEOF
48708 #define wxUSE_MSGDLG 1
48713 if test "$wxUSE_NUMBERDLG" = "yes"; then
48714 cat >>confdefs.h <<\_ACEOF
48715 #define wxUSE_NUMBERDLG 1
48720 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48721 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48722 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48723 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48725 cat >>confdefs.h <<\_ACEOF
48726 #define wxUSE_PROGRESSDLG 1
48732 if test "$wxUSE_SPLASH" = "yes"; then
48733 cat >>confdefs.h <<\_ACEOF
48734 #define wxUSE_SPLASH 1
48737 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48740 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48741 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48742 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48743 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48745 cat >>confdefs.h <<\_ACEOF
48746 #define wxUSE_STARTUP_TIPS 1
48752 if test "$wxUSE_TEXTDLG" = "yes"; then
48753 cat >>confdefs.h <<\_ACEOF
48754 #define wxUSE_TEXTDLG 1
48759 if test "$wxUSE_WIZARDDLG" = "yes"; then
48760 cat >>confdefs.h <<\_ACEOF
48761 #define wxUSE_WIZARDDLG 1
48764 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48768 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48769 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48770 cat >>confdefs.h <<\_ACEOF
48771 #define wxUSE_OWNER_DRAWN 1
48778 if test "$wxUSE_MSW" = 1 ; then
48780 if test "$wxUSE_DC_CACHEING" = "yes"; then
48781 cat >>confdefs.h <<\_ACEOF
48782 #define wxUSE_DC_CACHEING 1
48787 if test "$wxUSE_DIB" = "yes"; then
48788 cat >>confdefs.h <<\_ACEOF
48789 #define wxUSE_WXDIB 1
48794 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48795 cat >>confdefs.h <<\_ACEOF
48796 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48801 if test "$wxUSE_UXTHEME" = "yes"; then
48802 cat >>confdefs.h <<\_ACEOF
48803 #define wxUSE_UXTHEME 1
48811 if test "$USE_WIN32" = 1 ; then
48812 if test "$wxUSE_INICONF" = "yes"; then
48813 cat >>confdefs.h <<\_ACEOF
48814 #define wxUSE_INICONF 1
48819 if test "$wxUSE_REGKEY" = "yes"; then
48820 cat >>confdefs.h <<\_ACEOF
48821 #define wxUSE_REGKEY 1
48828 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48829 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
48830 cat >>confdefs.h <<\_ACEOF
48831 #define wxUSE_GRAPHICS_CONTEXT 1
48834 elif test "$wxUSE_GTK" != 1; then
48835 cat >>confdefs.h <<\_ACEOF
48836 #define wxUSE_GRAPHICS_CONTEXT 1
48842 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48843 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48845 if test -n "$PKG_CONFIG"; then
48846 if test -n "$CAIRO_CFLAGS"; then
48847 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48849 if test -n "$PKG_CONFIG" && \
48850 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48851 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48854 (exit $ac_status); }; then
48855 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
48863 if test -n "$PKG_CONFIG"; then
48864 if test -n "$CAIRO_LIBS"; then
48865 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48867 if test -n "$PKG_CONFIG" && \
48868 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48869 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48872 (exit $ac_status); }; then
48873 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
48884 if test $pkg_failed = yes; then
48886 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48887 _pkg_short_errors_supported=yes
48889 _pkg_short_errors_supported=no
48891 if test $_pkg_short_errors_supported = yes; then
48892 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48894 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48896 # Put the nasty error message in config.log where it belongs
48897 echo "$CAIRO_PKG_ERRORS" >&5
48899 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48900 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48902 elif test $pkg_failed = untried; then
48903 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48904 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48907 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48908 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48909 { echo "$as_me:$LINENO: result: yes" >&5
48910 echo "${ECHO_T}yes" >&6; }
48911 cat >>confdefs.h <<\_ACEOF
48912 #define wxUSE_GRAPHICS_CONTEXT 1
48922 if test "$wxUSE_MEDIACTRL" = "yes"; then
48925 if test "$wxUSE_GTK" = 1; then
48926 wxUSE_GSTREAMER="no"
48928 GST_VERSION_MAJOR=0
48929 GST_VERSION_MINOR=10
48930 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48932 if test "$wxUSE_GSTREAMER8" = "no"; then
48935 { echo "$as_me:$LINENO: checking for GST" >&5
48936 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48938 if test -n "$PKG_CONFIG"; then
48939 if test -n "$GST_CFLAGS"; then
48940 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48942 if test -n "$PKG_CONFIG" && \
48943 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48944 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48947 (exit $ac_status); }; then
48948 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
48956 if test -n "$PKG_CONFIG"; then
48957 if test -n "$GST_LIBS"; then
48958 pkg_cv_GST_LIBS="$GST_LIBS"
48960 if test -n "$PKG_CONFIG" && \
48961 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48962 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48965 (exit $ac_status); }; then
48966 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
48977 if test $pkg_failed = yes; then
48979 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48980 _pkg_short_errors_supported=yes
48982 _pkg_short_errors_supported=no
48984 if test $_pkg_short_errors_supported = yes; then
48985 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48987 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48989 # Put the nasty error message in config.log where it belongs
48990 echo "$GST_PKG_ERRORS" >&5
48993 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48994 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48995 GST_VERSION_MINOR=8
48998 elif test $pkg_failed = untried; then
49000 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49001 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49002 GST_VERSION_MINOR=8
49006 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49007 GST_LIBS=$pkg_cv_GST_LIBS
49008 { echo "$as_me:$LINENO: result: yes" >&5
49009 echo "${ECHO_T}yes" >&6; }
49011 wxUSE_GSTREAMER="yes"
49012 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49016 GST_VERSION_MINOR=8
49019 if test $GST_VERSION_MINOR = "8"; then
49020 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49023 { echo "$as_me:$LINENO: checking for GST" >&5
49024 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49026 if test -n "$PKG_CONFIG"; then
49027 if test -n "$GST_CFLAGS"; then
49028 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49030 if test -n "$PKG_CONFIG" && \
49031 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49032 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49035 (exit $ac_status); }; then
49036 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
49044 if test -n "$PKG_CONFIG"; then
49045 if test -n "$GST_LIBS"; then
49046 pkg_cv_GST_LIBS="$GST_LIBS"
49048 if test -n "$PKG_CONFIG" && \
49049 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49050 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49053 (exit $ac_status); }; then
49054 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
49065 if test $pkg_failed = yes; then
49067 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49068 _pkg_short_errors_supported=yes
49070 _pkg_short_errors_supported=no
49072 if test $_pkg_short_errors_supported = yes; then
49073 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49075 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49077 # Put the nasty error message in config.log where it belongs
49078 echo "$GST_PKG_ERRORS" >&5
49081 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49082 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49084 elif test $pkg_failed = untried; then
49086 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49087 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49090 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49091 GST_LIBS=$pkg_cv_GST_LIBS
49092 { echo "$as_me:$LINENO: result: yes" >&5
49093 echo "${ECHO_T}yes" >&6; }
49094 wxUSE_GSTREAMER="yes"
49099 if test "$wxUSE_GSTREAMER" = "yes"; then
49100 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49101 LIBS="$GST_LIBS $LIBS"
49103 cat >>confdefs.h <<\_ACEOF
49104 #define wxUSE_GSTREAMER 1
49112 if test $USE_MEDIA = 1; then
49113 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49114 cat >>confdefs.h <<\_ACEOF
49115 #define wxUSE_MEDIACTRL 1
49122 if test "$cross_compiling" = "yes"; then
49125 OSINFO=`uname
-s -r -m`
49126 OSINFO="\"$OSINFO\""
49129 cat >>confdefs.h <<_ACEOF
49130 #define WXWIN_OS_DESCRIPTION $OSINFO
49135 if test "x$prefix" != "xNONE"; then
49138 wxPREFIX=$ac_default_prefix
49141 cat >>confdefs.h <<_ACEOF
49142 #define wxINSTALL_PREFIX "$wxPREFIX"
49148 STD_BASE_LIBS="base"
49150 BUILT_WX_LIBS="base"
49151 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
49153 if test "$wxUSE_SOCKETS" = "yes" ; then
49154 STD_BASE_LIBS="net $STD_BASE_LIBS"
49155 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49157 if test "$wxUSE_XML" = "yes" ; then
49158 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49159 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49162 if test "$wxUSE_GUI" = "yes"; then
49163 STD_GUI_LIBS="adv core"
49164 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49166 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49167 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49168 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49170 if test "$wxUSE_HTML" = "yes" ; then
49171 STD_GUI_LIBS="html $STD_GUI_LIBS"
49172 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49174 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49175 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49177 if test "$wxUSE_OPENGL" = "yes" ; then
49178 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49180 if test "$wxUSE_AUI" = "yes" ; then
49181 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49183 if test "$wxUSE_STC" = "yes" ; then
49184 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49186 if test "$wxUSE_XRC" = "yes" ; then
49187 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49188 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49199 if test "$wxUSE_MAC" = 1 ; then
49200 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49201 if test "$USE_DARWIN" = 1; then
49202 LDFLAGS="$LDFLAGS -framework QuickTime"
49204 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49207 if test "$USE_DARWIN" = 1; then
49208 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49210 LDFLAGS="$LDFLAGS -lCarbonLib"
49213 if test "$wxUSE_COCOA" = 1 ; then
49214 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49215 if test "$wxUSE_MEDIACTRL" = "yes"; then
49216 LDFLAGS="$LDFLAGS -framework QuickTime"
49219 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49220 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49223 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49225 if test "$wxUSE_GUI" = "yes"; then
49228 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49229 erase event exec font image minimal mobile \
49230 mobile/wxedit mobile/styles render \
49231 shaped svg taborder vscroll widgets"
49233 if test "$wxUSE_MONOLITHIC" != "yes"; then
49234 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49236 if test "$TOOLKIT" = "MSW"; then
49237 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49238 if test "$wxUSE_UNIVERSAL" != "yes"; then
49239 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49242 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49243 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49246 SAMPLES_SUBDIRS="console"
49250 if test "x$INTELCC" = "xyes" ; then
49251 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49252 elif test "$GCC" = yes ; then
49253 CWARNINGS="-Wall -Wundef"
49256 if test "x$INTELCXX" = "xyes" ; then
49257 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49258 elif test "$GXX" = yes ; then
49259 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49263 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49264 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49267 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49268 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
49269 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
49272 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49273 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49274 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49276 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49279 if test "x$MWCC" = "xyes"; then
49281 CC="$CC -cwd source -I-"
49282 CXX="$CXX -cwd source -I-"
49287 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49288 EXTRALIBS_XML="$EXPAT_LINK"
49289 EXTRALIBS_HTML="$MSPACK_LINK"
49290 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49291 if test "$wxUSE_GUI" = "yes"; then
49292 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49294 if test "$wxUSE_OPENGL" = "yes"; then
49295 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49298 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49300 WXCONFIG_LIBS="$LIBS"
49302 if test "$wxUSE_REGEX" = "builtin" ; then
49303 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49305 if test "$wxUSE_EXPAT" = "builtin" ; then
49306 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49308 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49309 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49311 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49312 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49314 if test "$wxUSE_LIBPNG" = "builtin" ; then
49315 wxconfig_3rdparty="png $wxconfig_3rdparty"
49317 if test "$wxUSE_ZLIB" = "builtin" ; then
49318 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49321 for i in $wxconfig_3rdparty ; do
49322 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49326 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49329 case "$wxUNIV_THEMES" in
49331 cat >>confdefs.h <<\_ACEOF
49332 #define wxUSE_ALL_THEMES 1
49338 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a
-z A
-Z`; do
49339 cat >>confdefs.h <<_ACEOF
49340 #define wxUSE_THEME_$t 1
49356 if test $wxUSE_MONOLITHIC = "yes" ; then
49362 if test $wxUSE_PLUGINS = "yes" ; then
49368 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49374 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49405 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr A
-Z a
-z`
49416 TOOLKIT_DESC="GTK+"
49417 if test "$WXGTK2" = 1; then
49418 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49419 if test "$wxUSE_GTKPRINT" = "yes" ; then
49420 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49422 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49423 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49425 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49426 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49428 if test "$wxUSE_LIBHILDON" = "yes"; then
49429 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49432 if test "$TOOLKIT_EXTRA" != ""; then
49433 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49439 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49443 TOOLKIT_DESC="base only"
49447 if test "$wxUSE_WINE" = "yes"; then
49448 BAKEFILE_FORCE_PLATFORM=win32
49451 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49453 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49454 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49455 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49456 echo $ECHO_N "(cached) $ECHO_C" >&6
49459 echo '#include <stdio.h>
49460 const wchar_t test_var[] = L"awidetest";' > conftest.h
49462 echo '#include "conftest.h"
49465 printf("%ls", test_var);
49469 wx_cv_gcc_pch_bug="pch not supported"
49471 if $CXX conftest.h >/dev/null 2>&1
49475 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49477 if tr -dc a-z < conftest$PROGRAM_EXT |
49478 grep awidetest >/dev/null
49480 wx_cv_gcc_pch_bug=no
49482 wx_cv_gcc_pch_bug=yes
49487 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49490 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49491 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49493 if test "$wx_cv_gcc_pch_bug" = yes; then
49501 if test "x$BAKEFILE_HOST" = "x"; then
49502 if test "x${host}" = "x" ; then
49503 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49504 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49505 { (exit 1); exit 1; }; }
49508 BAKEFILE_HOST="${host}"
49511 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49513 if test -n "$ac_tool_prefix"; then
49514 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49515 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49516 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49518 if test "${ac_cv_prog_RANLIB+set}" = set; then
49519 echo $ECHO_N "(cached) $ECHO_C" >&6
49521 if test -n "$RANLIB"; then
49522 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49525 for as_dir in $PATH
49528 test -z "$as_dir" && as_dir=.
49529 for ac_exec_ext in '' $ac_executable_extensions; do
49530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49531 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49541 RANLIB=$ac_cv_prog_RANLIB
49542 if test -n "$RANLIB"; then
49543 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49544 echo "${ECHO_T}$RANLIB" >&6; }
49546 { echo "$as_me:$LINENO: result: no" >&5
49547 echo "${ECHO_T}no" >&6; }
49552 if test -z "$ac_cv_prog_RANLIB"; then
49553 ac_ct_RANLIB=$RANLIB
49554 # Extract the first word of "ranlib", so it can be a program name with args.
49555 set dummy ranlib; ac_word=$2
49556 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49558 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49559 echo $ECHO_N "(cached) $ECHO_C" >&6
49561 if test -n "$ac_ct_RANLIB"; then
49562 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49565 for as_dir in $PATH
49568 test -z "$as_dir" && as_dir=.
49569 for ac_exec_ext in '' $ac_executable_extensions; do
49570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49571 ac_cv_prog_ac_ct_RANLIB="ranlib"
49572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49581 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49582 if test -n "$ac_ct_RANLIB"; then
49583 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49584 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49586 { echo "$as_me:$LINENO: result: no" >&5
49587 echo "${ECHO_T}no" >&6; }
49590 if test "x$ac_ct_RANLIB" = x; then
49593 case $cross_compiling:$ac_tool_warned in
49595 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49596 whose name does not start with the host triplet. If you think this
49597 configuration is useful to you, please write to autoconf@gnu.org." >&5
49598 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49599 whose name does not start with the host triplet. If you think this
49600 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49601 ac_tool_warned=yes ;;
49603 RANLIB=$ac_ct_RANLIB
49606 RANLIB="$ac_cv_prog_RANLIB"
49609 # Find a good install program. We prefer a C program (faster),
49610 # so one script is as good as another. But avoid the broken or
49611 # incompatible versions:
49612 # SysV /etc/install, /usr/sbin/install
49613 # SunOS /usr/etc/install
49614 # IRIX /sbin/install
49616 # AmigaOS /C/install, which installs bootblocks on floppy discs
49617 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49618 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49619 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49620 # OS/2's system install, which has a completely different semantic
49621 # ./install, which can be erroneously created by make from ./install.sh.
49622 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49623 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49624 if test -z "$INSTALL"; then
49625 if test "${ac_cv_path_install+set}" = set; then
49626 echo $ECHO_N "(cached) $ECHO_C" >&6
49628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49629 for as_dir in $PATH
49632 test -z "$as_dir" && as_dir=.
49633 # Account for people who put trailing slashes in PATH elements.
49635 ./ | .// | /cC/* | \
49636 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49637 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49640 # OSF1 and SCO ODT 3.0 have their own names for install.
49641 # Don't use installbsd from OSF since it installs stuff as root
49643 for ac_prog in ginstall scoinst install; do
49644 for ac_exec_ext in '' $ac_executable_extensions; do
49645 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49646 if test $ac_prog = install &&
49647 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49648 # AIX install. It has an incompatible calling convention.
49650 elif test $ac_prog = install &&
49651 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49652 # program-specific install script used by HP pwplus--don't use.
49655 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49668 if test "${ac_cv_path_install+set}" = set; then
49669 INSTALL=$ac_cv_path_install
49671 # As a last resort, use the slow shell script. Don't cache a
49672 # value for INSTALL within a source directory, because that will
49673 # break other packages using the cache if that directory is
49674 # removed, or if the value is a relative name.
49675 INSTALL=$ac_install_sh
49678 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49679 echo "${ECHO_T}$INSTALL" >&6; }
49681 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49682 # It thinks the first close brace ends the variable substitution.
49683 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49685 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49687 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49689 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49690 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49692 if test "$LN_S" = "ln -s"; then
49693 { echo "$as_me:$LINENO: result: yes" >&5
49694 echo "${ECHO_T}yes" >&6; }
49696 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49697 echo "${ECHO_T}no, using $LN_S" >&6; }
49701 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49702 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49703 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49704 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49705 echo $ECHO_N "(cached) $ECHO_C" >&6
49707 cat >conftest.make <<\_ACEOF
49710 @echo '@@@%%%=$(MAKE)=@@@%%%'
49712 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49713 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
49714 *@@@%%%=?*=@@@%%%*)
49715 eval ac_cv_prog_make_${ac_make}_set=yes;;
49717 eval ac_cv_prog_make_${ac_make}_set=no;;
49719 rm -f conftest.make
49721 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49722 { echo "$as_me:$LINENO: result: yes" >&5
49723 echo "${ECHO_T}yes" >&6; }
49726 { echo "$as_me:$LINENO: result: no" >&5
49727 echo "${ECHO_T}no" >&6; }
49728 SET_MAKE="MAKE=${MAKE-make}"
49733 if test "x$SUNCXX" = "xyes"; then
49735 AROPTIONS="-xar -o"
49737 elif test "x$SGICC" = "xyes"; then
49742 if test -n "$ac_tool_prefix"; then
49743 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49744 set dummy ${ac_tool_prefix}ar; ac_word=$2
49745 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49747 if test "${ac_cv_prog_AR+set}" = set; then
49748 echo $ECHO_N "(cached) $ECHO_C" >&6
49750 if test -n "$AR"; then
49751 ac_cv_prog_AR="$AR" # Let the user override the test.
49753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49754 for as_dir in $PATH
49757 test -z "$as_dir" && as_dir=.
49758 for ac_exec_ext in '' $ac_executable_extensions; do
49759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49760 ac_cv_prog_AR="${ac_tool_prefix}ar"
49761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49771 if test -n "$AR"; then
49772 { echo "$as_me:$LINENO: result: $AR" >&5
49773 echo "${ECHO_T}$AR" >&6; }
49775 { echo "$as_me:$LINENO: result: no" >&5
49776 echo "${ECHO_T}no" >&6; }
49781 if test -z "$ac_cv_prog_AR"; then
49783 # Extract the first word of "ar", so it can be a program name with args.
49784 set dummy ar; ac_word=$2
49785 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49787 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49788 echo $ECHO_N "(cached) $ECHO_C" >&6
49790 if test -n "$ac_ct_AR"; then
49791 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49794 for as_dir in $PATH
49797 test -z "$as_dir" && as_dir=.
49798 for ac_exec_ext in '' $ac_executable_extensions; do
49799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49800 ac_cv_prog_ac_ct_AR="ar"
49801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49810 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49811 if test -n "$ac_ct_AR"; then
49812 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49813 echo "${ECHO_T}$ac_ct_AR" >&6; }
49815 { echo "$as_me:$LINENO: result: no" >&5
49816 echo "${ECHO_T}no" >&6; }
49819 if test "x$ac_ct_AR" = x; then
49822 case $cross_compiling:$ac_tool_warned in
49824 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49825 whose name does not start with the host triplet. If you think this
49826 configuration is useful to you, please write to autoconf@gnu.org." >&5
49827 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49828 whose name does not start with the host triplet. If you think this
49829 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49830 ac_tool_warned=yes ;;
49835 AR="$ac_cv_prog_AR"
49842 if test -n "$ac_tool_prefix"; then
49843 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49844 set dummy ${ac_tool_prefix}strip; ac_word=$2
49845 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49847 if test "${ac_cv_prog_STRIP+set}" = set; then
49848 echo $ECHO_N "(cached) $ECHO_C" >&6
49850 if test -n "$STRIP"; then
49851 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49854 for as_dir in $PATH
49857 test -z "$as_dir" && as_dir=.
49858 for ac_exec_ext in '' $ac_executable_extensions; do
49859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49860 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49870 STRIP=$ac_cv_prog_STRIP
49871 if test -n "$STRIP"; then
49872 { echo "$as_me:$LINENO: result: $STRIP" >&5
49873 echo "${ECHO_T}$STRIP" >&6; }
49875 { echo "$as_me:$LINENO: result: no" >&5
49876 echo "${ECHO_T}no" >&6; }
49881 if test -z "$ac_cv_prog_STRIP"; then
49883 # Extract the first word of "strip", so it can be a program name with args.
49884 set dummy strip; ac_word=$2
49885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49887 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49888 echo $ECHO_N "(cached) $ECHO_C" >&6
49890 if test -n "$ac_ct_STRIP"; then
49891 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49894 for as_dir in $PATH
49897 test -z "$as_dir" && as_dir=.
49898 for ac_exec_ext in '' $ac_executable_extensions; do
49899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49900 ac_cv_prog_ac_ct_STRIP="strip"
49901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49910 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49911 if test -n "$ac_ct_STRIP"; then
49912 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49913 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49915 { echo "$as_me:$LINENO: result: no" >&5
49916 echo "${ECHO_T}no" >&6; }
49919 if test "x$ac_ct_STRIP" = x; then
49922 case $cross_compiling:$ac_tool_warned in
49924 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49925 whose name does not start with the host triplet. If you think this
49926 configuration is useful to you, please write to autoconf@gnu.org." >&5
49927 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49928 whose name does not start with the host triplet. If you think this
49929 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49930 ac_tool_warned=yes ;;
49935 STRIP="$ac_cv_prog_STRIP"
49938 if test -n "$ac_tool_prefix"; then
49939 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49940 set dummy ${ac_tool_prefix}nm; ac_word=$2
49941 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49943 if test "${ac_cv_prog_NM+set}" = set; then
49944 echo $ECHO_N "(cached) $ECHO_C" >&6
49946 if test -n "$NM"; then
49947 ac_cv_prog_NM="$NM" # Let the user override the test.
49949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49950 for as_dir in $PATH
49953 test -z "$as_dir" && as_dir=.
49954 for ac_exec_ext in '' $ac_executable_extensions; do
49955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49956 ac_cv_prog_NM="${ac_tool_prefix}nm"
49957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49967 if test -n "$NM"; then
49968 { echo "$as_me:$LINENO: result: $NM" >&5
49969 echo "${ECHO_T}$NM" >&6; }
49971 { echo "$as_me:$LINENO: result: no" >&5
49972 echo "${ECHO_T}no" >&6; }
49977 if test -z "$ac_cv_prog_NM"; then
49979 # Extract the first word of "nm", so it can be a program name with args.
49980 set dummy nm; ac_word=$2
49981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49983 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49984 echo $ECHO_N "(cached) $ECHO_C" >&6
49986 if test -n "$ac_ct_NM"; then
49987 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49990 for as_dir in $PATH
49993 test -z "$as_dir" && as_dir=.
49994 for ac_exec_ext in '' $ac_executable_extensions; do
49995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49996 ac_cv_prog_ac_ct_NM="nm"
49997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50006 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50007 if test -n "$ac_ct_NM"; then
50008 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50009 echo "${ECHO_T}$ac_ct_NM" >&6; }
50011 { echo "$as_me:$LINENO: result: no" >&5
50012 echo "${ECHO_T}no" >&6; }
50015 if test "x$ac_ct_NM" = x; then
50018 case $cross_compiling:$ac_tool_warned in
50020 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50021 whose name does not start with the host triplet. If you think this
50022 configuration is useful to you, please write to autoconf@gnu.org." >&5
50023 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50024 whose name does not start with the host triplet. If you think this
50025 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50026 ac_tool_warned=yes ;;
50031 NM="$ac_cv_prog_NM"
50035 case ${BAKEFILE_HOST} in
50037 INSTALL_DIR="mkdir -p"
50040 INSTALL_DIR='$(INSTALL) -d'
50046 case ${BAKEFILE_HOST} in
50047 *-*-cygwin* | *-*-mingw32* )
50048 LDFLAGS_GUI="-mwindows"
50054 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50055 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50056 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50057 echo $ECHO_N "(cached) $ECHO_C" >&6
50060 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50061 egrep -s GNU > /dev/null); then
50062 bakefile_cv_prog_makeisgnu="yes"
50064 bakefile_cv_prog_makeisgnu="no"
50068 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50069 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50071 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50088 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50089 case "${BAKEFILE_HOST}" in
50096 *-pc-os2_emx | *-pc-os2-emx )
50106 powerpc-apple-macos* )
50115 case "$BAKEFILE_FORCE_PLATFORM" in
50150 # Check whether --enable-omf was given.
50151 if test "${enable_omf+set}" = set; then
50152 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50156 case "${BAKEFILE_HOST}" in
50158 if test "x$GCC" = "xyes"; then
50159 CFLAGS="$CFLAGS -fno-common"
50160 CXXFLAGS="$CXXFLAGS -fno-common"
50162 if test "x$XLCC" = "xyes"; then
50163 CFLAGS="$CFLAGS -qnocommon"
50164 CXXFLAGS="$CXXFLAGS -qnocommon"
50168 *-pc-os2_emx | *-pc-os2-emx )
50169 if test "x$bk_os2_use_omf" = "xyes" ; then
50172 LDFLAGS="-Zomf $LDFLAGS"
50173 CFLAGS="-Zomf $CFLAGS"
50174 CXXFLAGS="-Zomf $CXXFLAGS"
50182 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50188 SO_SUFFIX_MODULE="so"
50193 DLLPREFIX_MODULE=""
50197 case "${BAKEFILE_HOST}" in
50200 SO_SUFFIX_MODULE="sl"
50204 SO_SUFFIX_MODULE="a"
50208 SO_SUFFIX_MODULE="dll"
50209 DLLIMP_SUFFIX="dll.a"
50216 SO_SUFFIX_MODULE="dll"
50217 DLLIMP_SUFFIX="dll.a"
50227 *-pc-os2_emx | *-pc-os2-emx )
50229 SO_SUFFIX_MODULE="dll"
50230 DLLIMP_SUFFIX=$OS2_LIBEXT
50234 LIBEXT=".$OS2_LIBEXT"
50239 SO_SUFFIX_MODULE="bundle"
50243 if test "x$DLLIMP_SUFFIX" = "x" ; then
50244 DLLIMP_SUFFIX="$SO_SUFFIX"
50259 if test "x$GCC" = "xyes"; then
50263 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50264 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50267 case "${BAKEFILE_HOST}" in
50269 if test "x$GCC" != "xyes"; then
50270 LDFLAGS="$LDFLAGS -L/usr/lib"
50272 SHARED_LD_CC="${CC} -b -o"
50273 SHARED_LD_CXX="${CXX} -b -o"
50279 if test "$INTELCC" = "yes"; then
50281 elif test "x$SUNCXX" = "xyes"; then
50282 SHARED_LD_CC="${CC} -G -o"
50283 SHARED_LD_CXX="${CXX} -G -o"
50289 if test "x$SUNCXX" = xyes ; then
50290 SHARED_LD_CC="${CC} -G -o"
50291 SHARED_LD_CXX="${CXX} -G -o"
50299 cat <<EOF >shared-ld-sh
50301 #-----------------------------------------------------------------------------
50302 #-- Name: distrib/mac/shared-ld-sh
50303 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50304 #-- Author: Gilles Depeyrot
50305 #-- Copyright: (c) 2002 Gilles Depeyrot
50306 #-- Licence: any use permitted
50307 #-----------------------------------------------------------------------------
50312 linking_flag="-dynamiclib"
50313 ldargs="-r -keep_private_externs -nostdlib"
50315 while test ${D}# -gt 0; do
50322 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50323 # collect these options and values
50324 args="${D}{args} ${D}1 ${D}2"
50329 # collect these load args
50330 ldargs="${D}{ldargs} ${D}1"
50333 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50334 # collect these options
50335 args="${D}{args} ${D}1"
50338 -dynamiclib|-bundle)
50339 linking_flag="${D}1"
50343 echo "shared-ld: unhandled option '${D}1'"
50347 *.o | *.a | *.dylib)
50348 # collect object files
50349 objects="${D}{objects} ${D}1"
50353 echo "shared-ld: unhandled argument '${D}1'"
50364 # Link one module containing all the others
50366 if test ${D}{verbose} = 1; then
50367 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50369 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50373 # Link the shared library from the single module created, but only if the
50374 # previous command didn't fail:
50376 if test ${D}{status} = 0; then
50377 if test ${D}{verbose} = 1; then
50378 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50380 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50385 # Remove intermediate module
50387 rm -f master.${D}${D}.o
50392 chmod +x shared-ld-sh
50394 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50395 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50398 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50399 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50400 if test "${bakefile_cv_gcc31+set}" = set; then
50401 echo $ECHO_N "(cached) $ECHO_C" >&6
50404 cat >conftest.$ac_ext <<_ACEOF
50407 cat confdefs.h >>conftest.$ac_ext
50408 cat >>conftest.$ac_ext <<_ACEOF
50409 /* end confdefs.h. */
50415 #if (__GNUC__ < 3) || \
50416 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50424 rm -f conftest.$ac_objext
50425 if { (ac_try="$ac_compile"
50426 case "(($ac_try" in
50427 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50428 *) ac_try_echo
=$ac_try;;
50430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50431 (eval "$ac_compile") 2>conftest.er1
50433 grep -v '^ *+' conftest.er1
>conftest.err
50435 cat conftest.err
>&5
50436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50437 (exit $ac_status); } && {
50438 test -z "$ac_c_werror_flag" ||
50439 test ! -s conftest.err
50440 } && test -s conftest.
$ac_objext; then
50442 bakefile_cv_gcc31
=yes
50445 echo "$as_me: failed program was:" >&5
50446 sed 's/^/| /' conftest.
$ac_ext >&5
50449 bakefile_cv_gcc31
=no
50454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50457 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50458 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50459 if test "$bakefile_cv_gcc31" = "no"; then
50460 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50461 SHARED_LD_CXX
="$SHARED_LD_CC"
50463 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50464 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50467 if test "x$GCC" == "xyes"; then
50468 PIC_FLAG
="-dynamic -fPIC"
50470 if test "x$XLCC" = "xyes"; then
50471 PIC_FLAG
="-dynamic -DPIC"
50476 if test "x$GCC" = "xyes"; then
50479 case "${BAKEFILE_HOST}" in
50481 LD_EXPFULL
="-Wl,-bexpfull"
50485 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
50486 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
50488 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50489 set dummy makeC
++SharedLib
; ac_word
=$2
50490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50492 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50493 echo $ECHO_N "(cached) $ECHO_C" >&6
50495 if test -n "$AIX_CXX_LD"; then
50496 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
50498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50499 for as_dir
in $PATH
50502 test -z "$as_dir" && as_dir
=.
50503 for ac_exec_ext
in '' $ac_executable_extensions; do
50504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50505 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
50506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50513 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
50516 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
50517 if test -n "$AIX_CXX_LD"; then
50518 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50519 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50521 { echo "$as_me:$LINENO: result: no" >&5
50522 echo "${ECHO_T}no" >&6; }
50526 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
50527 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
50532 SHARED_LD_CC
="${LD} -nostart -o"
50533 SHARED_LD_CXX
="${LD} -nostart -o"
50537 if test "x$GCC" != "xyes"; then
50542 *-*-cygwin* | *-*-mingw32* )
50544 SHARED_LD_CC
="\$(CC) -shared -o"
50545 SHARED_LD_CXX
="\$(CXX) -shared -o"
50549 *-pc-os2_emx | *-pc-os2-emx )
50550 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50551 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50555 cat <<EOF >dllar.sh
50558 # dllar - a tool to build both a .dll and an .a file
50559 # from a set of object (.o) files for EMX/OS2.
50561 # Written by Andrew Zabolotny, bit@freya.etu.ru
50562 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50564 # This script will accept a set of files on the command line.
50565 # All the public symbols from the .o files will be exported into
50566 # a .DEF file, then linker will be run (through gcc) against them to
50567 # build a shared library consisting of all given .o files. All libraries
50568 # (.a) will be first decompressed into component .o files then act as
50569 # described above. You can optionally give a description (-d "description")
50570 # which will be put into .DLL. To see the list of accepted options (as well
50571 # as command-line format) simply run this program without options. The .DLL
50572 # is built to be imported by name (there is no guarantee that new versions
50573 # of the library you build will have same ordinals for same symbols).
50575 # dllar is free software; you can redistribute it and/or modify
50576 # it under the terms of the GNU General Public License as published by
50577 # the Free Software Foundation; either version 2, or (at your option)
50578 # any later version.
50580 # dllar is distributed in the hope that it will be useful,
50581 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50582 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50583 # GNU General Public License for more details.
50585 # You should have received a copy of the GNU General Public License
50586 # along with dllar; see the file COPYING. If not, write to the Free
50587 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50590 # To successfuly run this program you will need:
50591 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50592 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50594 # (used to build the .dll)
50596 # (used to create .def file from .o files)
50598 # (used to create .a file from .def file)
50599 # - GNU text utilites (cat, sort, uniq)
50600 # used to process emxexp output
50601 # - GNU file utilities (mv, rm)
50603 # - lxlite (optional, see flag below)
50604 # (used for general .dll cleanup)
50611 # basnam, variant of basename, which does _not_ remove the path, _iff_
50612 # second argument (suffix to remove) is given
50616 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50619 echo ${D}1 | sed 's/'${D}2'${D}//'
50622 echo "error in basnam ${D}*"
50628 # Cleanup temporary files and output
50631 for i in ${D}inputFiles ; do
50634 rm -rf \`basnam ${D}i !\`
50641 # Kill result in case of failure as there is just to many stupid make/nmake
50642 # things out there which doesn't do this.
50643 if [ ${D}# -eq 0 ]; then
50644 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50648 # Print usage and exit script with rc=1.
50650 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50651 echo ' [-name-mangler-script script.sh]'
50652 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50653 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50654 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50655 echo ' [*.o] [*.a]'
50656 echo '*> "output_file" should have no extension.'
50657 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50658 echo ' The import library name is derived from this and is set to "name".a,'
50659 echo ' unless overridden by -import'
50660 echo '*> "importlib_name" should have no extension.'
50661 echo ' If it has the .o, or .a extension, it is automatically removed.'
50662 echo ' This name is used as the import library name and may be longer and'
50663 echo ' more descriptive than the DLL name which has to follow the old '
50664 echo ' 8.3 convention of FAT.'
50665 echo '*> "script.sh may be given to override the output_file name by a'
50666 echo ' different name. It is mainly useful if the regular make process'
50667 echo ' of some package does not take into account OS/2 restriction of'
50668 echo ' DLL name lengths. It takes the importlib name as input and is'
50669 echo ' supposed to procude a shorter name as output. The script should'
50670 echo ' expect to get importlib_name without extension and should produce'
50671 echo ' a (max.) 8 letter name without extension.'
50672 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50673 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50674 echo ' These flags will be put at the start of GCC command line.'
50675 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50676 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50677 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50678 echo ' If the last character of a symbol is "*", all symbols beginning'
50679 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50680 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50681 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50682 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50683 echo ' C runtime DLLs.'
50684 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50685 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50686 echo ' unchanged to GCC at the end of command line.'
50687 echo '*> If you create a DLL from a library and you do not specify -o,'
50688 echo ' the basename for DLL and import library will be set to library name,'
50689 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50690 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50691 echo ' library will be renamed into gcc_s.a.'
50694 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50695 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50700 # Execute a command.
50701 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50702 # @Uses Whatever CleanUp() uses.
50708 if [ ${D}rcCmd -ne 0 ]; then
50709 echo "command failed, exit code="${D}rcCmd
50724 CFLAGS="-s -Zcrtdll"
50726 EXPORT_BY_ORDINALS=0
50731 case ${D}curDirS in
50735 curDirS=${D}{curDirS}"/"
50738 # Parse commandline
50741 while [ ${D}1 ]; do
50744 EXPORT_BY_ORDINALS=1;
50754 -name-mangler-script)
50775 exclude_symbols=${D}{exclude_symbols}${D}1" "
50779 library_flags=${D}{library_flags}${D}1" "
50798 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50801 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50802 if [ ${D}omfLinking -eq 1 ]; then
50803 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50805 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50810 if [ ${D}libsToLink -ne 0 ]; then
50811 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50813 for file in ${D}1 ; do
50814 if [ -f ${D}file ]; then
50815 inputFiles="${D}{inputFiles} ${D}file"
50819 if [ ${D}found -eq 0 ]; then
50820 echo "ERROR: No file(s) found: "${D}1
50827 done # iterate cmdline words
50830 if [ -z "${D}inputFiles" ]; then
50831 echo "dllar: no input files"
50835 # Now extract all .o files from .a files
50837 for file in ${D}inputFiles ; do
50848 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50853 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50855 if [ ${D}? -ne 0 ]; then
50856 echo "Failed to create subdirectory ./${D}dirname"
50860 # Append '!' to indicate archive
50861 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50862 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50865 for subfile in ${D}dirname/*.o* ; do
50866 if [ -f ${D}subfile ]; then
50868 if [ -s ${D}subfile ]; then
50869 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50870 newInputFiles="${D}newInputFiles ${D}subfile"
50874 if [ ${D}found -eq 0 ]; then
50875 echo "WARNING: there are no files in archive \\'${D}file\\'"
50879 newInputFiles="${D}{newInputFiles} ${D}file"
50883 inputFiles="${D}newInputFiles"
50885 # Output filename(s).
50887 if [ -z ${D}outFile ]; then
50889 set outFile ${D}inputFiles; outFile=${D}2
50892 # If it is an archive, remove the '!' and the '_%' suffixes
50893 case ${D}outFile in
50895 outFile=\`basnam ${D}outFile _%!\`
50900 case ${D}outFile in
50902 outFile=\`basnam ${D}outFile .dll\`
50905 outFile=\`basnam ${D}outFile .DLL\`
50908 outFile=\`basnam ${D}outFile .o\`
50911 outFile=\`basnam ${D}outFile .obj\`
50914 outFile=\`basnam ${D}outFile .a\`
50917 outFile=\`basnam ${D}outFile .lib\`
50922 case ${D}outimpFile in
50924 outimpFile=\`basnam ${D}outimpFile .a\`
50927 outimpFile=\`basnam ${D}outimpFile .lib\`
50932 if [ -z ${D}outimpFile ]; then
50933 outimpFile=${D}outFile
50935 defFile="${D}{outFile}.def"
50936 arcFile="${D}{outimpFile}.a"
50937 arcFile2="${D}{outimpFile}.lib"
50939 #create ${D}dllFile as something matching 8.3 restrictions,
50940 if [ -z ${D}renameScript ] ; then
50941 dllFile="${D}outFile"
50943 dllFile=\`${D}renameScript ${D}outimpFile\`
50946 if [ ${D}do_backup -ne 0 ] ; then
50947 if [ -f ${D}arcFile ] ; then
50948 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50950 if [ -f ${D}arcFile2 ] ; then
50951 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50955 # Extract public symbols from all the object files.
50956 tmpdefFile=${D}{defFile}_%
50957 rm -f ${D}tmpdefFile
50958 for file in ${D}inputFiles ; do
50963 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50968 # Create the def file.
50970 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50971 dllFile="${D}{dllFile}.dll"
50972 if [ ! -z ${D}description ]; then
50973 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50975 echo "EXPORTS" >> ${D}defFile
50977 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50978 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50980 # Checks if the export is ok or not.
50981 for word in ${D}exclude_symbols; do
50982 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50983 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50987 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50988 sed "=" < ${D}tmpdefFile | \\
50992 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50994 ' > ${D}{tmpdefFile}%
50995 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50997 rm -f ${D}{tmpdefFile}%
50999 cat ${D}tmpdefFile >> ${D}defFile
51000 rm -f ${D}tmpdefFile
51002 # Do linking, create implib, and apply lxlite.
51004 for file in ${D}inputFiles ; do
51009 gccCmdl="${D}gccCmdl ${D}file"
51013 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51014 touch "${D}{outFile}.dll"
51016 doCommand "emximp -o ${D}arcFile ${D}defFile"
51017 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51019 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51022 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51024 doCommand "emxomf -s -l ${D}arcFile"
51034 powerpc
-apple-macos* | \
51035 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
51045 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51046 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51047 { (exit 1); exit 1; }; }
51050 if test "x$PIC_FLAG" != "x" ; then
51051 PIC_FLAG
="$PIC_FLAG -DPIC"
51054 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51055 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
51057 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51058 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
51077 case "${BAKEFILE_HOST}" in
51078 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
51079 if test "x$SUNCXX" = "xyes"; then
51082 SONAME_FLAG
="-Wl,-soname,"
51117 # Check whether --enable-dependency-tracking was given.
51118 if test "${enable_dependency_tracking+set}" = set; then
51119 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
51123 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51124 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51127 if test "x$bk_use_trackdeps" = "xno" ; then
51129 { echo "$as_me:$LINENO: result: disabled" >&5
51130 echo "${ECHO_T}disabled" >&6; }
51134 if test "x$GCC" = "xyes"; then
51136 case "${BAKEFILE_HOST}" in
51138 DEPSFLAG
="-no-cpp-precomp -MMD"
51144 { echo "$as_me:$LINENO: result: gcc" >&5
51145 echo "${ECHO_T}gcc" >&6; }
51146 elif test "x$MWCC" = "xyes"; then
51149 { echo "$as_me:$LINENO: result: mwcc" >&5
51150 echo "${ECHO_T}mwcc" >&6; }
51151 elif test "x$SUNCC" = "xyes"; then
51154 { echo "$as_me:$LINENO: result: Sun cc" >&5
51155 echo "${ECHO_T}Sun cc" >&6; }
51156 elif test "x$SGICC" = "xyes"; then
51159 { echo "$as_me:$LINENO: result: SGI cc" >&5
51160 echo "${ECHO_T}SGI cc" >&6; }
51161 elif test "x$HPCC" = "xyes"; then
51164 { echo "$as_me:$LINENO: result: HP cc" >&5
51165 echo "${ECHO_T}HP cc" >&6; }
51166 elif test "x$COMPAQCC" = "xyes"; then
51169 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51170 echo "${ECHO_T}Compaq cc" >&6; }
51173 { echo "$as_me:$LINENO: result: none" >&5
51174 echo "${ECHO_T}none" >&6; }
51177 if test $DEPS_TRACKING = 1 ; then
51183 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51184 # script. It is used to track C/C++ files dependencies in portable way.
51186 # Permission is given to use this file in any way.
51188 DEPSMODE=${DEPSMODE}
51190 DEPSFLAG="${DEPSFLAG}"
51192 mkdir -p ${D}DEPSDIR
51194 if test ${D}DEPSMODE = gcc ; then
51195 ${D}* ${D}{DEPSFLAG}
51197 if test ${D}{status} != 0 ; then
51200 # move created file to the location we want it in:
51201 while test ${D}# -gt 0; do
51215 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51216 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51217 if test -f ${D}depfile ; then
51218 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51221 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51222 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51223 if test ! -f ${D}depfile ; then
51224 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51225 depfile="${D}objfile.d"
51227 if test -f ${D}depfile ; then
51228 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51233 elif test ${D}DEPSMODE = mwcc ; then
51234 ${D}* || exit ${D}?
51235 # Run mwcc again with -MM and redirect into the dep file we want
51236 # NOTE: We can't use shift here because we need ${D}* to be valid
51238 for arg in ${D}* ; do
51239 if test "${D}prevarg" = "-o"; then
51252 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51254 elif test ${D}DEPSMODE = unixcc; then
51255 ${D}* || exit ${D}?
51256 # Run compiler again with deps flag and redirect into the dep file.
51257 # It doesn't work if the '-o FILE' option is used, but without it the
51258 # dependency file will contain the wrong name for the object. So it is
51259 # removed from the command line, and the dep file is fixed with sed.
51261 while test ${D}# -gt 0; do
51268 eval arg${D}#=\\${D}1
51269 cmd="${D}cmd \\${D}arg${D}#"
51274 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51283 BK_DEPS
="`pwd`/bk-deps"
51291 case ${BAKEFILE_HOST} in
51292 *-*-cygwin* | *-*-mingw32* )
51293 if test -n "$ac_tool_prefix"; then
51294 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51295 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
51296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51298 if test "${ac_cv_prog_WINDRES+set}" = set; then
51299 echo $ECHO_N "(cached) $ECHO_C" >&6
51301 if test -n "$WINDRES"; then
51302 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
51304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51305 for as_dir
in $PATH
51308 test -z "$as_dir" && as_dir
=.
51309 for ac_exec_ext
in '' $ac_executable_extensions; do
51310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51311 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
51312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51321 WINDRES
=$ac_cv_prog_WINDRES
51322 if test -n "$WINDRES"; then
51323 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51324 echo "${ECHO_T}$WINDRES" >&6; }
51326 { echo "$as_me:$LINENO: result: no" >&5
51327 echo "${ECHO_T}no" >&6; }
51332 if test -z "$ac_cv_prog_WINDRES"; then
51333 ac_ct_WINDRES
=$WINDRES
51334 # Extract the first word of "windres", so it can be a program name with args.
51335 set dummy windres
; ac_word
=$2
51336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51338 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51339 echo $ECHO_N "(cached) $ECHO_C" >&6
51341 if test -n "$ac_ct_WINDRES"; then
51342 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
51344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51345 for as_dir
in $PATH
51348 test -z "$as_dir" && as_dir
=.
51349 for ac_exec_ext
in '' $ac_executable_extensions; do
51350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51351 ac_cv_prog_ac_ct_WINDRES
="windres"
51352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51361 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
51362 if test -n "$ac_ct_WINDRES"; then
51363 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51364 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51366 { echo "$as_me:$LINENO: result: no" >&5
51367 echo "${ECHO_T}no" >&6; }
51370 if test "x$ac_ct_WINDRES" = x
; then
51373 case $cross_compiling:$ac_tool_warned in
51375 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51376 whose name does not start with the host triplet. If you think this
51377 configuration is useful to you, please write to autoconf@gnu.org." >&5
51378 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51379 whose name does not start with the host triplet. If you think this
51380 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51381 ac_tool_warned
=yes ;;
51383 WINDRES
=$ac_ct_WINDRES
51386 WINDRES
="$ac_cv_prog_WINDRES"
51391 *-*-darwin* | powerpc
-apple-macos* )
51392 # Extract the first word of "Rez", so it can be a program name with args.
51393 set dummy Rez
; ac_word
=$2
51394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51396 if test "${ac_cv_prog_REZ+set}" = set; then
51397 echo $ECHO_N "(cached) $ECHO_C" >&6
51399 if test -n "$REZ"; then
51400 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
51402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51403 for as_dir
in $PATH
51406 test -z "$as_dir" && as_dir
=.
51407 for ac_exec_ext
in '' $ac_executable_extensions; do
51408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51409 ac_cv_prog_REZ
="Rez"
51410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51417 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
51420 REZ
=$ac_cv_prog_REZ
51421 if test -n "$REZ"; then
51422 { echo "$as_me:$LINENO: result: $REZ" >&5
51423 echo "${ECHO_T}$REZ" >&6; }
51425 { echo "$as_me:$LINENO: result: no" >&5
51426 echo "${ECHO_T}no" >&6; }
51430 # Extract the first word of "SetFile", so it can be a program name with args.
51431 set dummy SetFile
; ac_word
=$2
51432 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51434 if test "${ac_cv_prog_SETFILE+set}" = set; then
51435 echo $ECHO_N "(cached) $ECHO_C" >&6
51437 if test -n "$SETFILE"; then
51438 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
51440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51441 for as_dir
in $PATH
51444 test -z "$as_dir" && as_dir
=.
51445 for ac_exec_ext
in '' $ac_executable_extensions; do
51446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51447 ac_cv_prog_SETFILE
="SetFile"
51448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51455 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
51458 SETFILE
=$ac_cv_prog_SETFILE
51459 if test -n "$SETFILE"; then
51460 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51461 echo "${ECHO_T}$SETFILE" >&6; }
51463 { echo "$as_me:$LINENO: result: no" >&5
51464 echo "${ECHO_T}no" >&6; }
51476 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.2"
51479 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.2"
51483 # Check whether --enable-precomp-headers was given.
51484 if test "${enable_precomp_headers+set}" = set; then
51485 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
51494 case ${BAKEFILE_HOST} in
51500 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51501 if test "x$GCC" = "xyes"; then
51502 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51503 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51504 cat >conftest.
$ac_ext <<_ACEOF
51507 cat confdefs.h
>>conftest.
$ac_ext
51508 cat >>conftest.
$ac_ext <<_ACEOF
51509 /* end confdefs.h. */
51515 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51516 There is no PCH support
51519 There is no PCH support
51521 #if (__GNUC__ == 3) && \
51522 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51523 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51524 ( defined(__INTEL_COMPILER) )
51525 There is no PCH support
51532 rm -f conftest.
$ac_objext
51533 if { (ac_try
="$ac_compile"
51534 case "(($ac_try" in
51535 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51536 *) ac_try_echo=$ac_try;;
51538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51539 (eval "$ac_compile") 2>conftest.er1
51541 grep -v '^ *+' conftest.er1 >conftest.err
51543 cat conftest.err >&5
51544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51545 (exit $ac_status); } && {
51546 test -z "$ac_c_werror_flag" ||
51547 test ! -s conftest.err
51548 } && test -s conftest.$ac_objext; then
51550 { echo "$as_me:$LINENO: result: yes" >&5
51551 echo "${ECHO_T}yes" >&6; }
51555 echo "$as_me: failed program was:" >&5
51556 sed 's/^/| /' conftest.$ac_ext >&5
51559 cat >conftest.$ac_ext <<_ACEOF
51562 cat confdefs.h >>conftest.$ac_ext
51563 cat >>conftest.$ac_ext <<_ACEOF
51564 /* end confdefs.h. */
51570 #if !defined(__INTEL_COMPILER) || \
51571 (__INTEL_COMPILER < 800)
51572 There is no PCH support
51579 rm -f conftest.$ac_objext
51580 if { (ac_try="$ac_compile"
51581 case "(($ac_try" in
51582 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51583 *) ac_try_echo
=$ac_try;;
51585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51586 (eval "$ac_compile") 2>conftest.er1
51588 grep -v '^ *+' conftest.er1
>conftest.err
51590 cat conftest.err
>&5
51591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51592 (exit $ac_status); } && {
51593 test -z "$ac_c_werror_flag" ||
51594 test ! -s conftest.err
51595 } && test -s conftest.
$ac_objext; then
51597 { echo "$as_me:$LINENO: result: yes" >&5
51598 echo "${ECHO_T}yes" >&6; }
51602 echo "$as_me: failed program was:" >&5
51603 sed 's/^/| /' conftest.
$ac_ext >&5
51606 { echo "$as_me:$LINENO: result: no" >&5
51607 echo "${ECHO_T}no" >&6; }
51611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51616 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51620 cat <<EOF >bk-make-pch
51623 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51624 # script. It is used to generated precompiled headers.
51626 # Permission is given to use this file in any way.
51636 while test ${D}{#} -gt 0; do
51640 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51641 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51642 headerfile="${D}{incdir}/${D}{header}"
51645 -use-pch|-use_pch )
51650 if test ${D}add_to_cmdline = 1 ; then
51651 compiler="${D}{compiler} ${D}{1}"
51656 if test "x${D}{headerfile}" = "x" ; then
51657 echo "error: can't find header ${D}{header} in include paths" >&2
51659 if test -f ${D}{outfile} ; then
51660 rm -f ${D}{outfile}
51662 mkdir -p \`dirname ${D}{outfile}\`
51664 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51666 if test "x${GCC_PCH}" = "x1" ; then
51667 # can do this because gcc is >= 3.4:
51668 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51669 elif test "x${ICC_PCH}" = "x1" ; then
51670 filename=pch_gen-${D}${D}
51671 file=${D}{filename}.c
51672 dfile=${D}{filename}.d
51673 cat > ${D}file <<EOT
51674 #include "${D}header"
51676 # using -MF icc complains about differing command lines in creation/use
51677 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51678 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51679 rm -f ${D}file ${D}dfile ${D}{filename}.o
51685 chmod +x bk
-make-pch
51686 BK_MAKE_PCH
="`pwd`/bk-make-pch"
51695 COND_BUILD_DEBUG
="#"
51696 if test "x$BUILD" = "xdebug" ; then
51697 COND_BUILD_DEBUG
=""
51700 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
51701 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51702 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
51705 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
51706 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51707 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
51710 COND_BUILD_DEBUG_UNICODE_0
="#"
51711 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51712 COND_BUILD_DEBUG_UNICODE_0
=""
51715 COND_BUILD_DEBUG_UNICODE_1
="#"
51716 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51717 COND_BUILD_DEBUG_UNICODE_1
=""
51720 COND_BUILD_RELEASE
="#"
51721 if test "x$BUILD" = "xrelease" ; then
51722 COND_BUILD_RELEASE
=""
51725 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
51726 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51727 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
51730 COND_BUILD_RELEASE_UNICODE_0
="#"
51731 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51732 COND_BUILD_RELEASE_UNICODE_0
=""
51735 COND_BUILD_RELEASE_UNICODE_1
="#"
51736 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51737 COND_BUILD_RELEASE_UNICODE_1
=""
51740 COND_DEBUG_FLAG_1
="#"
51741 if test "x$DEBUG_FLAG" = "x1" ; then
51742 COND_DEBUG_FLAG_1
=""
51745 COND_DEBUG_INFO_0
="#"
51746 if test "x$DEBUG_INFO" = "x0" ; then
51747 COND_DEBUG_INFO_0
=""
51750 COND_DEBUG_INFO_1
="#"
51751 if test "x$DEBUG_INFO" = "x1" ; then
51752 COND_DEBUG_INFO_1
=""
51755 COND_DEPS_TRACKING_0
="#"
51756 if test "x$DEPS_TRACKING" = "x0" ; then
51757 COND_DEPS_TRACKING_0
=""
51760 COND_DEPS_TRACKING_1
="#"
51761 if test "x$DEPS_TRACKING" = "x1" ; then
51762 COND_DEPS_TRACKING_1
=""
51766 if test "x$GCC_PCH" = "x1" ; then
51771 if test "x$ICC_PCH" = "x1" ; then
51775 COND_MONOLITHIC_0
="#"
51776 if test "x$MONOLITHIC" = "x0" ; then
51777 COND_MONOLITHIC_0
=""
51780 COND_MONOLITHIC_0_SHARED_0
="#"
51781 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51782 COND_MONOLITHIC_0_SHARED_0
=""
51785 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
51786 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51787 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
51790 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
51791 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51792 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
51795 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
51796 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51797 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
51800 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
51801 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51802 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
51805 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
51806 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51807 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
51810 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
51811 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51812 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
51815 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
51816 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51817 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
51820 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
51821 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51822 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
51825 COND_MONOLITHIC_0_SHARED_1
="#"
51826 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51827 COND_MONOLITHIC_0_SHARED_1
=""
51830 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
51831 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51832 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
51835 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
51836 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
51840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
51841 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
51845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
51846 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51847 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
51850 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
51851 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51852 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
51855 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
51856 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51857 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
51860 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
51861 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51862 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
51865 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
51866 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51867 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
51870 COND_MONOLITHIC_0_USE_AUI_1
="#"
51871 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51872 COND_MONOLITHIC_0_USE_AUI_1
=""
51875 COND_MONOLITHIC_0_USE_GUI_1
="#"
51876 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51877 COND_MONOLITHIC_0_USE_GUI_1
=""
51880 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
51881 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51882 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
51885 COND_MONOLITHIC_0_USE_HTML_1
="#"
51886 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51887 COND_MONOLITHIC_0_USE_HTML_1
=""
51890 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
51891 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51892 COND_MONOLITHIC_0_USE_MEDIA_1
=""
51895 COND_MONOLITHIC_0_USE_QA_1
="#"
51896 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51897 COND_MONOLITHIC_0_USE_QA_1
=""
51900 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
51901 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51902 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
51905 COND_MONOLITHIC_0_USE_STC_1
="#"
51906 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51907 COND_MONOLITHIC_0_USE_STC_1
=""
51910 COND_MONOLITHIC_0_USE_XRC_1
="#"
51911 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51912 COND_MONOLITHIC_0_USE_XRC_1
=""
51915 COND_MONOLITHIC_1
="#"
51916 if test "x$MONOLITHIC" = "x1" ; then
51917 COND_MONOLITHIC_1
=""
51920 COND_MONOLITHIC_1_SHARED_0
="#"
51921 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51922 COND_MONOLITHIC_1_SHARED_0
=""
51925 COND_MONOLITHIC_1_SHARED_1
="#"
51926 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51927 COND_MONOLITHIC_1_SHARED_1
=""
51930 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
51931 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51932 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
51935 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
51936 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51937 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
51940 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
51941 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51942 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
51945 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
51946 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51947 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
51950 COND_PLATFORM_MACOSX_1
="#"
51951 if test "x$PLATFORM_MACOSX" = "x1" ; then
51952 COND_PLATFORM_MACOSX_1
=""
51955 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
51956 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51957 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
51960 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
51961 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51962 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
51965 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
51966 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51967 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
51970 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
51971 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51972 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
51975 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
51976 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51977 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
51980 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
51981 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51982 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
51985 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
51986 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51987 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
51990 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
51991 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51992 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
51995 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
51996 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51997 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
52000 COND_PLATFORM_MACOS_1
="#"
52001 if test "x$PLATFORM_MACOS" = "x1" ; then
52002 COND_PLATFORM_MACOS_1
=""
52005 COND_PLATFORM_MAC_1
="#"
52006 if test "x$PLATFORM_MAC" = "x1" ; then
52007 COND_PLATFORM_MAC_1
=""
52010 COND_PLATFORM_MSDOS_1
="#"
52011 if test "x$PLATFORM_MSDOS" = "x1" ; then
52012 COND_PLATFORM_MSDOS_1
=""
52015 COND_PLATFORM_OS2_1
="#"
52016 if test "x$PLATFORM_OS2" = "x1" ; then
52017 COND_PLATFORM_OS2_1
=""
52020 COND_PLATFORM_UNIX_0
="#"
52021 if test "x$PLATFORM_UNIX" = "x0" ; then
52022 COND_PLATFORM_UNIX_0
=""
52025 COND_PLATFORM_UNIX_1
="#"
52026 if test "x$PLATFORM_UNIX" = "x1" ; then
52027 COND_PLATFORM_UNIX_1
=""
52030 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
52031 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52032 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
52035 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
52036 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52037 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
52040 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
52041 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52042 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
52045 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
52046 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52047 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
52050 COND_PLATFORM_WIN32_0
="#"
52051 if test "x$PLATFORM_WIN32" = "x0" ; then
52052 COND_PLATFORM_WIN32_0
=""
52055 COND_PLATFORM_WIN32_1
="#"
52056 if test "x$PLATFORM_WIN32" = "x1" ; then
52057 COND_PLATFORM_WIN32_1
=""
52061 if test "x$SHARED" = "x0" ; then
52065 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
52066 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52067 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
52070 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
52071 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52072 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
52075 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
52076 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52077 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
52080 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
52081 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52082 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
52085 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
52086 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52087 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
52090 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
52091 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52092 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
52095 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
52096 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52097 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
52100 COND_SHARED_0_USE_STC_1
="#"
52101 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52102 COND_SHARED_0_USE_STC_1
=""
52105 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
52106 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52107 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
52110 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
52111 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52112 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
52115 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
52116 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52117 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
52121 if test "x$SHARED" = "x1" ; then
52125 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
52126 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52127 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
52131 if test "x$TOOLKIT" = "x" ; then
52135 COND_TOOLKIT_COCOA
="#"
52136 if test "x$TOOLKIT" = "xCOCOA" ; then
52137 COND_TOOLKIT_COCOA
=""
52140 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
52141 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52142 COND_TOOLKIT_COCOA_USE_GUI_1
=""
52145 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
52146 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52147 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
52150 COND_TOOLKIT_DFB
="#"
52151 if test "x$TOOLKIT" = "xDFB" ; then
52152 COND_TOOLKIT_DFB
=""
52155 COND_TOOLKIT_DFB_USE_GUI_1
="#"
52156 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52157 COND_TOOLKIT_DFB_USE_GUI_1
=""
52160 COND_TOOLKIT_GTK
="#"
52161 if test "x$TOOLKIT" = "xGTK" ; then
52162 COND_TOOLKIT_GTK
=""
52165 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
52166 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52167 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
52170 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
52171 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52172 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
52175 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
52176 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52177 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
52180 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
52181 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52182 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
52185 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
="#"
52186 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
52187 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
=""
52190 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
52191 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52192 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
52195 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
52196 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52197 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
52200 COND_TOOLKIT_GTK_USE_GUI_1
="#"
52201 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52202 COND_TOOLKIT_GTK_USE_GUI_1
=""
52205 COND_TOOLKIT_MAC
="#"
52206 if test "x$TOOLKIT" = "xMAC" ; then
52207 COND_TOOLKIT_MAC
=""
52210 COND_TOOLKIT_MAC_USE_GUI_1
="#"
52211 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52212 COND_TOOLKIT_MAC_USE_GUI_1
=""
52215 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
52216 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52217 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
52220 COND_TOOLKIT_MGL
="#"
52221 if test "x$TOOLKIT" = "xMGL" ; then
52222 COND_TOOLKIT_MGL
=""
52225 COND_TOOLKIT_MGL_USE_GUI_1
="#"
52226 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52227 COND_TOOLKIT_MGL_USE_GUI_1
=""
52230 COND_TOOLKIT_MOTIF
="#"
52231 if test "x$TOOLKIT" = "xMOTIF" ; then
52232 COND_TOOLKIT_MOTIF
=""
52235 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
52236 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52237 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
52240 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
52241 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52242 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
52245 COND_TOOLKIT_MSW
="#"
52246 if test "x$TOOLKIT" = "xMSW" ; then
52247 COND_TOOLKIT_MSW
=""
52250 COND_TOOLKIT_MSW_USE_GUI_1
="#"
52251 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52252 COND_TOOLKIT_MSW_USE_GUI_1
=""
52255 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
52256 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52257 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
52260 COND_TOOLKIT_MSW_WXUNIV_0
="#"
52261 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52262 COND_TOOLKIT_MSW_WXUNIV_0
=""
52265 COND_TOOLKIT_PM
="#"
52266 if test "x$TOOLKIT" = "xPM" ; then
52270 COND_TOOLKIT_PM_USE_GUI_1
="#"
52271 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52272 COND_TOOLKIT_PM_USE_GUI_1
=""
52275 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
52276 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52277 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
52280 COND_TOOLKIT_WINCE
="#"
52281 if test "x$TOOLKIT" = "xWINCE" ; then
52282 COND_TOOLKIT_WINCE
=""
52285 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
52286 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52287 COND_TOOLKIT_WINCE_USE_GUI_1
=""
52290 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
52291 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52292 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
52295 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
52296 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52297 COND_TOOLKIT_WINCE_WXUNIV_0
=""
52300 COND_TOOLKIT_X11
="#"
52301 if test "x$TOOLKIT" = "xX11" ; then
52302 COND_TOOLKIT_X11
=""
52305 COND_TOOLKIT_X11_USE_GUI_1
="#"
52306 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52307 COND_TOOLKIT_X11_USE_GUI_1
=""
52311 if test "x$UNICODE" = "x1" ; then
52315 COND_USE_EXCEPTIONS_0
="#"
52316 if test "x$USE_EXCEPTIONS" = "x0" ; then
52317 COND_USE_EXCEPTIONS_0
=""
52320 COND_USE_EXCEPTIONS_1
="#"
52321 if test "x$USE_EXCEPTIONS" = "x1" ; then
52322 COND_USE_EXCEPTIONS_1
=""
52326 if test "x$USE_GUI" = "x0" ; then
52331 if test "x$USE_GUI" = "x1" ; then
52335 COND_USE_GUI_1_USE_OPENGL_1
="#"
52336 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52337 COND_USE_GUI_1_USE_OPENGL_1
=""
52340 COND_USE_GUI_1_WXUNIV_0
="#"
52341 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52342 COND_USE_GUI_1_WXUNIV_0
=""
52345 COND_USE_GUI_1_WXUNIV_1
="#"
52346 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52347 COND_USE_GUI_1_WXUNIV_1
=""
52350 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
52351 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52352 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
52355 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
52356 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52357 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
52360 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
52361 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52362 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
52366 if test "x$USE_PCH" = "x1" ; then
52370 COND_USE_PLUGINS_0
="#"
52371 if test "x$USE_PLUGINS" = "x0" ; then
52372 COND_USE_PLUGINS_0
=""
52375 COND_USE_RTTI_0
="#"
52376 if test "x$USE_RTTI" = "x0" ; then
52380 COND_USE_RTTI_1
="#"
52381 if test "x$USE_RTTI" = "x1" ; then
52385 COND_USE_SOSYMLINKS_1
="#"
52386 if test "x$USE_SOSYMLINKS" = "x1" ; then
52387 COND_USE_SOSYMLINKS_1
=""
52390 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
52391 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52392 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
52395 COND_USE_SOVERLINUX_1
="#"
52396 if test "x$USE_SOVERLINUX" = "x1" ; then
52397 COND_USE_SOVERLINUX_1
=""
52400 COND_USE_SOVERSION_0
="#"
52401 if test "x$USE_SOVERSION" = "x0" ; then
52402 COND_USE_SOVERSION_0
=""
52405 COND_USE_SOVERSOLARIS_1
="#"
52406 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52407 COND_USE_SOVERSOLARIS_1
=""
52411 if test "x$USE_STC" = "x1" ; then
52415 COND_USE_THREADS_0
="#"
52416 if test "x$USE_THREADS" = "x0" ; then
52417 COND_USE_THREADS_0
=""
52420 COND_USE_THREADS_1
="#"
52421 if test "x$USE_THREADS" = "x1" ; then
52422 COND_USE_THREADS_1
=""
52426 if test "x$USE_XRC" = "x1" ; then
52430 COND_WINDOWS_IMPLIB_1
="#"
52431 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52432 COND_WINDOWS_IMPLIB_1
=""
52435 COND_WITH_PLUGIN_SDL_1
="#"
52436 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52437 COND_WITH_PLUGIN_SDL_1
=""
52441 if test "x$WXUNIV" = "x0" ; then
52446 if test "x$WXUNIV" = "x1" ; then
52450 COND_WXUSE_EXPAT_BUILTIN
="#"
52451 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52452 COND_WXUSE_EXPAT_BUILTIN
=""
52455 COND_WXUSE_LIBJPEG_BUILTIN
="#"
52456 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52457 COND_WXUSE_LIBJPEG_BUILTIN
=""
52460 COND_WXUSE_LIBPNG_BUILTIN
="#"
52461 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52462 COND_WXUSE_LIBPNG_BUILTIN
=""
52465 COND_WXUSE_LIBTIFF_BUILTIN
="#"
52466 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52467 COND_WXUSE_LIBTIFF_BUILTIN
=""
52470 COND_WXUSE_REGEX_BUILTIN
="#"
52471 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52472 COND_WXUSE_REGEX_BUILTIN
=""
52475 COND_WXUSE_ZLIB_BUILTIN
="#"
52476 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52477 COND_WXUSE_ZLIB_BUILTIN
=""
52482 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52483 { { 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
52484 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;}
52485 { (exit 1); exit 1; }; }
52488 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52489 { { 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
52490 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;}
52491 { (exit 1); exit 1; }; }
52498 ?
:* ) # Drive letter, considered as absolute.
52501 INSTALL
=`pwd`/${INSTALL} ;;
52504 if test "$wxUSE_GUI" = "yes"; then
52506 if test "$wxUSE_MSW" = 1 ; then
52507 if test "x$WINDRES" = "x"; then
52508 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52509 echo "$as_me: error: Required windres program not found" >&2;}
52510 { (exit 1); exit 1; }; }
52516 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
52517 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52518 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52520 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52522 # Extract the first word of "DeRez", so it can be a program name with args.
52523 set dummy DeRez
; ac_word
=$2
52524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52526 if test "${ac_cv_prog_DEREZ+set}" = set; then
52527 echo $ECHO_N "(cached) $ECHO_C" >&6
52529 if test -n "$DEREZ"; then
52530 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
52532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52533 for as_dir
in $PATH
52536 test -z "$as_dir" && as_dir
=.
52537 for ac_exec_ext
in '' $ac_executable_extensions; do
52538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52539 ac_cv_prog_DEREZ
="DeRez"
52540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52547 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
52550 DEREZ
=$ac_cv_prog_DEREZ
52551 if test -n "$DEREZ"; then
52552 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52553 echo "${ECHO_T}$DEREZ" >&6; }
52555 { echo "$as_me:$LINENO: result: no" >&5
52556 echo "${ECHO_T}no" >&6; }
52561 MACSETFILE
="\$(SETFILE)"
52563 if test "$wxUSE_MAC" = 1; then
52564 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52566 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
52568 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52569 RESCOMP
="cat /dev/null \| $REZ"
52570 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52576 if test "$wxUSE_PM" = 1; then
52578 WXCONFIG_RESFLAGS
="-ep"
52580 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
52582 POSTLINK_COMMAND
="@true"
52589 if test $GCC_PCH = 1
52591 if test "$wx_cv_gcc_pch_bug" = yes; then
52592 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52593 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52594 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52595 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52596 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52597 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52600 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
52604 if test "$wxUSE_MAC" = 1 ; then
52605 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52606 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
52612 if test "$wxUSE_SHARED" = "yes"; then
52614 *-pc-os2_emx | *-pc-os2-emx )
52615 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52616 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52617 cp -p ${srcdir}/src
/os
2/dllnames.sh .
52618 cp -p ${srcdir}/src
/os
2/dllar.sh .
52622 if test "$wxUSE_OMF" = "yes"; then
52624 *-pc-os2_emx | *-pc-os2-emx )
52625 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
52626 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
52627 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
52632 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52637 if test "$GCC" = yes; then
52638 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
52639 LIBS
=`echo $LIBS | sed 's/-mt//'`
52640 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52645 if test "x$SUNCXX" = xyes
; then
52646 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
52647 LIBS
=`echo $LIBS | sed 's/-pthread//'`
52648 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52653 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
52654 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52656 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52717 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52718 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52719 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52720 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
52721 echo $ECHO_N "(cached) $ECHO_C" >&6
52723 cat >conftest.
make <<\_ACEOF
52726 @
echo '@@@%%%=$(MAKE)=@@@%%%'
52728 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52729 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52730 *@@@
%%%=?
*=@@@
%%%*)
52731 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
52733 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
52735 rm -f conftest.
make
52737 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
52738 { echo "$as_me:$LINENO: result: yes" >&5
52739 echo "${ECHO_T}yes" >&6; }
52742 { echo "$as_me:$LINENO: result: no" >&5
52743 echo "${ECHO_T}no" >&6; }
52744 SET_MAKE
="MAKE=${MAKE-make}"
52749 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52752 if test "$USE_WIN32" = 1; then
52753 ac_config_commands
="$ac_config_commands
52759 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52762 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52765 if test "$wx_cv_version_script" = "yes"; then
52766 ac_config_files
="$ac_config_files version-script"
52769 ac_config_files
="$ac_config_files Makefile"
52772 ac_config_commands
="$ac_config_commands wx-config"
52776 if test "$wxWITH_SUBDIRS" != "no"; then
52777 if test "$wxUSE_GUI" = "yes"; then
52778 SUBDIRS
="samples demos utils"
52780 SUBDIRS
="samples utils"
52785 # Check whether --with-cppunit-prefix was given.
52786 if test "${with_cppunit_prefix+set}" = set; then
52787 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
52789 cppunit_config_prefix
=""
52793 # Check whether --with-cppunit-exec-prefix was given.
52794 if test "${with_cppunit_exec_prefix+set}" = set; then
52795 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
52797 cppunit_config_exec_prefix
=""
52801 if test x
$cppunit_config_exec_prefix != x
; then
52802 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52803 if test x
${CPPUNIT_CONFIG+set} != xset
; then
52804 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
52807 if test x
$cppunit_config_prefix != x
; then
52808 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
52809 if test x
${CPPUNIT_CONFIG+set} != xset
; then
52810 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
52814 # Extract the first word of "cppunit-config", so it can be a program name with args.
52815 set dummy cppunit
-config; ac_word
=$2
52816 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52818 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52819 echo $ECHO_N "(cached) $ECHO_C" >&6
52821 case $CPPUNIT_CONFIG in
52823 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52827 for as_dir
in $PATH
52830 test -z "$as_dir" && as_dir
=.
52831 for ac_exec_ext
in '' $ac_executable_extensions; do
52832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52833 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
52834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52841 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
52845 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
52846 if test -n "$CPPUNIT_CONFIG"; then
52847 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52848 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52850 { echo "$as_me:$LINENO: result: no" >&5
52851 echo "${ECHO_T}no" >&6; }
52855 cppunit_version_min
=1.8.0
52857 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52858 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52860 if test "$CPPUNIT_CONFIG" = "no" ; then
52861 { echo "$as_me:$LINENO: result: no" >&5
52862 echo "${ECHO_T}no" >&6; }
52865 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
52866 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
52867 cppunit_version
=`$CPPUNIT_CONFIG --version`
52869 cppunit_major_version
=`echo $cppunit_version | \
52870 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52871 cppunit_minor_version
=`echo $cppunit_version | \
52872 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52873 cppunit_micro_version
=`echo $cppunit_version | \
52874 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52876 cppunit_major_min
=`echo $cppunit_version_min | \
52877 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52878 cppunit_minor_min
=`echo $cppunit_version_min | \
52879 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52880 cppunit_micro_min
=`echo $cppunit_version_min | \
52881 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52883 cppunit_version_proper
=`expr \
52884 $cppunit_major_version \> $cppunit_major_min \| \
52885 $cppunit_major_version \= $cppunit_major_min \& \
52886 $cppunit_minor_version \> $cppunit_minor_min \| \
52887 $cppunit_major_version \= $cppunit_major_min \& \
52888 $cppunit_minor_version \= $cppunit_minor_min \& \
52889 $cppunit_micro_version \>= $cppunit_micro_min `
52891 if test "$cppunit_version_proper" = "1" ; then
52892 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52893 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52895 { echo "$as_me:$LINENO: result: no" >&5
52896 echo "${ECHO_T}no" >&6; }
52901 if test "x$no_cppunit" = x
; then
52902 SUBDIRS
="$SUBDIRS tests"
52913 for subdir
in $SUBDIRS; do
52914 if test -d ${srcdir}/${subdir} ; then
52915 if test "$wxUSE_GUI" = "yes"; then
52916 if test ${subdir} = "samples"; then
52917 makefiles
="samples/Makefile.in $makefiles"
52918 for sample
in $SAMPLES_SUBDIRS; do
52919 if test -d $srcdir/samples
/$sample; then
52920 makefiles
="samples/$sample/Makefile.in $makefiles"
52924 disabled_var
=DISABLED_
`echo $subdir | tr a-z A-Z`
52925 eval "disabled=\$$disabled_var"
52926 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
52927 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52930 if test ${subdir} = "samples"; then
52931 makefiles
="samples/Makefile.in samples/console/Makefile.in"
52932 elif test ${subdir} = "utils"; then
52934 for util
in HelpGen tex2rtf
; do
52935 if test -d $srcdir/utils
/$util ; then
52936 makefiles
="utils/$util/Makefile.in \
52937 utils/$util/src/Makefile.in \
52942 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
52946 for mkin
in $makefiles ; do
52947 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52948 ac_config_files
="$ac_config_files $mk"
52954 cat >confcache
<<\_ACEOF
52955 # This file is a shell script that caches the results of configure
52956 # tests run on this system so they can be shared between configure
52957 # scripts and configure runs, see configure's option --config-cache.
52958 # It is not useful on other systems. If it contains results you don't
52959 # want to keep, you may remove or edit it.
52961 # config.status only pays attention to the cache file if you give it
52962 # the --recheck option to rerun configure.
52964 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52965 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52966 # following values.
52970 # The following way of writing the cache mishandles newlines in values,
52971 # but we know of no workaround that is simple, portable, and efficient.
52972 # So, we kill variables containing newlines.
52973 # Ultrix sh set writes to stderr and can't be redirected directly,
52974 # and sets the high bit in the cache file unless we assign to the vars.
52976 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52977 eval ac_val
=\$
$ac_var
52981 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52982 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52985 _
| IFS
| as_nl
) ;; #(
52986 *) $as_unset $ac_var ;;
52992 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52993 *${as_nl}ac_space
=\
*)
52994 # `set' does not quote correctly, so add quotes (double-quote
52995 # substitution turns \\\\ into \\, and sed turns \\ into \).
52998 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53001 # `set' quotes correctly as required by POSIX, so do not add quotes.
53002 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53011 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53013 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53015 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
53016 if test -w "$cache_file"; then
53017 test "x$cache_file" != "x/dev/null" &&
53018 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53019 echo "$as_me: updating cache $cache_file" >&6;}
53020 cat confcache
>$cache_file
53022 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53023 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53028 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
53029 # Let make expand exec_prefix.
53030 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
53032 DEFS
=-DHAVE_CONFIG_H
53036 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
53037 # 1. Remove the extension, and $U if already installed.
53038 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
53039 ac_i
=`echo "$ac_i" | sed "$ac_script"`
53040 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53041 # will be set to the directory where LIBOBJS objects are built.
53042 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53043 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53045 LIBOBJS
=$ac_libobjs
53047 LTLIBOBJS
=$ac_ltlibobjs
53051 : ${CONFIG_STATUS=./config.status}
53052 ac_clean_files_save
=$ac_clean_files
53053 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
53054 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53055 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53056 cat >$CONFIG_STATUS <<_ACEOF
53058 # Generated by $as_me.
53059 # Run this file to recreate the current configuration.
53060 # Compiler output produced by configure, useful for debugging
53061 # configure, is in config.log if it exists.
53064 ac_cs_recheck=false
53066 SHELL=\${CONFIG_SHELL-$SHELL}
53069 cat >>$CONFIG_STATUS <<\_ACEOF
53070 ## --------------------- ##
53071 ## M4sh Initialization. ##
53072 ## --------------------- ##
53074 # Be more Bourne compatible
53075 DUALCASE
=1; export DUALCASE
# for MKS sh
53076 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
53079 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53080 # is contrary to our usage. Disable this feature.
53081 alias -g '${1+"$@"}'='"$@"'
53082 setopt NO_GLOB_SUBST
53084 case `(set -o) 2>/dev/null` in
53085 *posix
*) set -o posix
;;
53094 # Avoid depending upon Character Ranges.
53095 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
53096 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53097 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
53098 as_cr_digits
='0123456789'
53099 as_cr_alnum
=$as_cr_Letters$as_cr_digits
53101 # The user is always right.
53102 if test "${PATH_SEPARATOR+set}" != set; then
53103 echo "#! /bin/sh" >conf$$.sh
53104 echo "exit 0" >>conf$$.sh
53106 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53114 # Support unset when possible.
53115 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
53123 # We need space, tab and new line, in precisely that order. Quoting is
53124 # there to prevent editors from complaining about space-tab.
53125 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53126 # splitting by setting IFS to empty value.)
53131 # Find who we are. Look in the path if we contain no directory separator.
53133 *[\\/]* ) as_myself
=$0 ;;
53134 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53135 for as_dir
in $PATH
53138 test -z "$as_dir" && as_dir
=.
53139 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
53145 # We did not find ourselves, most probably we were run as `sh COMMAND'
53146 # in which case we are not to be found in the path.
53147 if test "x$as_myself" = x
; then
53150 if test ! -f "$as_myself"; then
53151 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53152 { (exit 1); exit 1; }
53155 # Work around bugs in pre-3.0 UWIN ksh.
53156 for as_var
in ENV MAIL MAILPATH
53157 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53165 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53166 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53167 LC_TELEPHONE LC_TIME
53169 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53170 eval $as_var=C
; export $as_var
53172 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53176 # Required to use basename.
53177 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53178 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53184 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53185 as_basename
=basename
53191 # Name of the executable.
53192 as_me
=`$as_basename -- "$0" ||
53193 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53194 X"$0" : 'X\(//\)$' \| \
53195 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53197 sed '/^.*\/\([^/][^/]*\)\/*$/{
53216 as_lineno_1
=$LINENO
53217 as_lineno_2
=$LINENO
53218 test "x$as_lineno_1" != "x$as_lineno_2" &&
53219 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53221 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53222 # uniformly replaced by the line number. The first 'sed' inserts a
53223 # line-number line after each line using $LINENO; the second 'sed'
53224 # does the real work. The second script uses 'N' to pair each
53225 # line-number line with the line containing $LINENO, and appends
53226 # trailing '-' during substitution so that $LINENO is not a special
53227 # case at line end.
53228 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53229 # scripts with optimization help from Paolo Bonzini. Blame Lee
53230 # E. McMahon (1931-1989) for sed's syntax. :-)
53242 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53245 ' >$as_me.lineno
&&
53246 chmod +x
"$as_me.lineno" ||
53247 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53248 { (exit 1); exit 1; }; }
53250 # Don't try to exec as it changes $[0], causing all sort of problems
53251 # (the dirname of $[0] is not the place where we might find the
53252 # original and so on. Autoconf is especially sensitive to this).
53253 .
"./$as_me.lineno"
53254 # Exit status is that of the last command.
53259 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
53265 ECHO_C
= ECHO_N
= ECHO_T
=
53266 case `echo -n x` in
53268 case `echo 'x\c'` in
53269 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
53276 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53277 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53283 rm -f conf$$ conf$$.exe conf$$.
file
53284 if test -d conf$$.dir
; then
53285 rm -f conf$$.dir
/conf$$.
file
53291 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
53293 # ... but there are two gotchas:
53294 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53295 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53296 # In both cases, we have to default to `cp -p'.
53297 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
53299 elif ln conf$$.
file conf$$
2>/dev
/null
; then
53304 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
53305 rmdir conf$$.dir
2>/dev
/null
53307 if mkdir -p .
2>/dev
/null
; then
53310 test -d .
/-p && rmdir .
/-p
53314 if test -x / >/dev
/null
2>&1; then
53315 as_test_x
='test -x'
53317 if ls -dL / >/dev
/null
2>&1; then
53324 if test -d "$1"; then
53330 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53331 ???[sx]*):;;*)false;;esac;fi
53335 as_executable_p
=$as_test_x
53337 # Sed expression to map a string onto a valid CPP name.
53338 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53340 # Sed expression to map a string onto a valid variable name.
53341 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53346 # Save the log message, to keep $[0] and so on meaningful, and to
53347 # report actual input values of CONFIG_FILES etc. instead of their
53348 # values after options handling.
53350 This file was extended by wxWidgets $as_me 2.9.0, which was
53351 generated by GNU Autoconf 2.61. Invocation command line was
53353 CONFIG_FILES = $CONFIG_FILES
53354 CONFIG_HEADERS = $CONFIG_HEADERS
53355 CONFIG_LINKS = $CONFIG_LINKS
53356 CONFIG_COMMANDS = $CONFIG_COMMANDS
53359 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53364 cat >>$CONFIG_STATUS <<_ACEOF
53365 # Files that config.status was made for.
53366 config_files="$ac_config_files"
53367 config_headers="$ac_config_headers"
53368 config_commands="$ac_config_commands"
53372 cat >>$CONFIG_STATUS <<\_ACEOF
53374 \`$as_me' instantiates files from templates according to the
53375 current configuration.
53377 Usage: $0 [OPTIONS] [FILE]...
53379 -h, --help print this help, then exit
53380 -V, --version print version number and configuration settings, then exit
53381 -q, --quiet do not print progress messages
53382 -d, --debug don't remove temporary files
53383 --recheck update $as_me by reconfiguring in the same conditions
53384 --file=FILE[:TEMPLATE]
53385 instantiate the configuration file FILE
53386 --header=FILE[:TEMPLATE]
53387 instantiate the configuration header FILE
53389 Configuration files:
53392 Configuration headers:
53395 Configuration commands:
53398 Report bugs to <bug-autoconf@gnu.org>."
53401 cat >>$CONFIG_STATUS <<_ACEOF
53403 wxWidgets config.status 2.9.0
53404 configured by $0, generated by GNU Autoconf 2.61,
53405 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53407 Copyright (C) 2006 Free Software Foundation, Inc.
53408 This config.status script is free software; the Free Software Foundation
53409 gives unlimited permission to copy, distribute and modify it."
53416 cat >>$CONFIG_STATUS <<\_ACEOF
53417 # If no file are specified by the user, then we need to provide default
53418 # value. By we need to know if files were specified by the user.
53424 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
53425 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
53436 # Handling of the options.
53437 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53439 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53440 echo "$ac_cs_version"; exit ;;
53441 --debug | --debu | --deb | --de | --d | -d )
53443 --file | --fil | --fi | --f )
53445 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
53446 ac_need_defaults
=false
;;
53447 --header | --heade | --head | --hea )
53449 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
53450 ac_need_defaults
=false
;;
53452 # Conflict between --help and --header
53453 { echo "$as_me: error: ambiguous option: $1
53454 Try \`$0 --help' for more information." >&2
53455 { (exit 1); exit 1; }; };;
53456 --help | --hel | -h )
53457 echo "$ac_cs_usage"; exit ;;
53458 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53459 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53462 # This is an error.
53463 -*) { echo "$as_me: error: unrecognized option: $1
53464 Try \`$0 --help' for more information." >&2
53465 { (exit 1); exit 1; }; } ;;
53467 *) ac_config_targets
="$ac_config_targets $1"
53468 ac_need_defaults
=false
;;
53474 ac_configure_extra_args
=
53476 if $ac_cs_silent; then
53478 ac_configure_extra_args
="$ac_configure_extra_args --silent"
53482 cat >>$CONFIG_STATUS <<_ACEOF
53483 if \$ac_cs_recheck; then
53484 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53485 CONFIG_SHELL=$SHELL
53486 export CONFIG_SHELL
53487 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53491 cat >>$CONFIG_STATUS <<\_ACEOF
53495 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53496 ## Running $as_me. ##
53502 cat >>$CONFIG_STATUS <<_ACEOF
53508 infile="$srcdir/include/wx/msw/genrcdefs.h"
53509 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53512 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53513 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53514 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53520 cat >>$CONFIG_STATUS <<\_ACEOF
53522 # Handling of arguments.
53523 for ac_config_target
in $ac_config_targets
53525 case $ac_config_target in
53526 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53527 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
53528 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53529 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53530 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
53531 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
53532 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
53533 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
53535 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53536 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53537 { (exit 1); exit 1; }; };;
53542 # If the user did not use the arguments to specify the items to instantiate,
53543 # then the envvar interface is used. Set only those that are not.
53544 # We use the long form for the default assignment because of an extremely
53545 # bizarre bug on SunOS 4.1.3.
53546 if $ac_need_defaults; then
53547 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
53548 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
53549 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
53552 # Have a temporary directory for convenience. Make it in the build tree
53553 # simply because there is no reason against having it here, and in addition,
53554 # creating and moving files from /tmp can sometimes cause problems.
53555 # Hook for its removal unless debugging.
53556 # Note that there is a small window in which the directory will not be cleaned:
53557 # after its creation but before its name has been assigned to `$tmp'.
53561 trap 'exit_status=$?
53562 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53564 trap '{ (exit 1); exit 1; }' 1 2 13 15
53566 # Create a (secure) tmp directory for tmp files.
53569 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53570 test -n "$tmp" && test -d "$tmp"
53573 tmp
=.
/conf$$
-$RANDOM
53574 (umask 077 && mkdir "$tmp")
53577 echo "$me: cannot create a temporary directory in ." >&2
53578 { (exit 1); exit 1; }
53582 # Set up the sed scripts for CONFIG_FILES section.
53585 # No need to generate the scripts if there are no CONFIG_FILES.
53586 # This happens for instance when ./config.status config.h
53587 if test -n "$CONFIG_FILES"; then
53594 for ac_last_try
in false false false false false
:; do
53595 cat >conf$
$subs.
sed <<_ACEOF
53596 SHELL!$SHELL$ac_delim
53597 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53598 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53599 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53600 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53601 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53602 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53603 exec_prefix!$exec_prefix$ac_delim
53604 prefix!$prefix$ac_delim
53605 program_transform_name!$program_transform_name$ac_delim
53606 bindir!$bindir$ac_delim
53607 sbindir!$sbindir$ac_delim
53608 libexecdir!$libexecdir$ac_delim
53609 datarootdir!$datarootdir$ac_delim
53610 datadir!$datadir$ac_delim
53611 sysconfdir!$sysconfdir$ac_delim
53612 sharedstatedir!$sharedstatedir$ac_delim
53613 localstatedir!$localstatedir$ac_delim
53614 includedir!$includedir$ac_delim
53615 oldincludedir!$oldincludedir$ac_delim
53616 docdir!$docdir$ac_delim
53617 infodir!$infodir$ac_delim
53618 htmldir!$htmldir$ac_delim
53619 dvidir!$dvidir$ac_delim
53620 pdfdir!$pdfdir$ac_delim
53621 psdir!$psdir$ac_delim
53622 libdir!$libdir$ac_delim
53623 localedir!$localedir$ac_delim
53624 mandir!$mandir$ac_delim
53625 DEFS!$DEFS$ac_delim
53626 ECHO_C!$ECHO_C$ac_delim
53627 ECHO_N!$ECHO_N$ac_delim
53628 ECHO_T!$ECHO_T$ac_delim
53629 LIBS!$LIBS$ac_delim
53630 build_alias!$build_alias$ac_delim
53631 host_alias!$host_alias$ac_delim
53632 target_alias!$target_alias$ac_delim
53633 build!$build$ac_delim
53634 build_cpu!$build_cpu$ac_delim
53635 build_vendor!$build_vendor$ac_delim
53636 build_os!$build_os$ac_delim
53637 host!$host$ac_delim
53638 host_cpu!$host_cpu$ac_delim
53639 host_vendor!$host_vendor$ac_delim
53640 host_os!$host_os$ac_delim
53641 target!$target$ac_delim
53642 target_cpu!$target_cpu$ac_delim
53643 target_vendor!$target_vendor$ac_delim
53644 target_os!$target_os$ac_delim
53645 wx_top_builddir!$wx_top_builddir$ac_delim
53647 CFLAGS!$CFLAGS$ac_delim
53648 LDFLAGS!$LDFLAGS$ac_delim
53649 CPPFLAGS!$CPPFLAGS$ac_delim
53650 ac_ct_CC!$ac_ct_CC$ac_delim
53651 EXEEXT!$EXEEXT$ac_delim
53652 OBJEXT!$OBJEXT$ac_delim
53654 GREP!$GREP$ac_delim
53655 EGREP!$EGREP$ac_delim
53657 CXXFLAGS!$CXXFLAGS$ac_delim
53658 ac_ct_CXX!$ac_ct_CXX$ac_delim
53660 subdirs!$subdirs$ac_delim
53661 PKG_CONFIG!$PKG_CONFIG$ac_delim
53662 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53663 GTK_LIBS!$GTK_LIBS$ac_delim
53664 GTK_CONFIG!$GTK_CONFIG$ac_delim
53665 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53666 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53667 XMKMF!$XMKMF$ac_delim
53668 X_CFLAGS!$X_CFLAGS$ac_delim
53669 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53670 X_LIBS!$X_LIBS$ac_delim
53671 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53672 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53673 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53674 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53675 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53676 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53677 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53678 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53679 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53680 LIBICONV!$LIBICONV$ac_delim
53681 SDL_CONFIG!$SDL_CONFIG$ac_delim
53682 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53683 SDL_LIBS!$SDL_LIBS$ac_delim
53684 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53685 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53686 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53687 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53688 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53689 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53690 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53691 HILDON_LIBS!$HILDON_LIBS$ac_delim
53692 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53695 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53697 elif $ac_last_try; then
53698 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53699 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53700 { (exit 1); exit 1; }; }
53702 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53706 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53707 if test -n "$ac_eof"; then
53708 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53709 ac_eof
=`expr $ac_eof + 1`
53712 cat >>$CONFIG_STATUS <<_ACEOF
53713 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53714 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53717 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53718 s/^/s,@/; s/!/@,|#_!!_#|/
53721 s/'"$ac_delim"'$/,g/; t
53723 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53724 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53725 rm -f conf$
$subs.
sed
53726 cat >>$CONFIG_STATUS <<_ACEOF
53732 for ac_last_try
in false false false false false
:; do
53733 cat >conf$
$subs.
sed <<_ACEOF
53734 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53735 GST_CFLAGS!$GST_CFLAGS$ac_delim
53736 GST_LIBS!$GST_LIBS$ac_delim
53737 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53738 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53739 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53740 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53741 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53742 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53743 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53744 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53745 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53746 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53747 VENDOR!$VENDOR$ac_delim
53748 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53749 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53750 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53751 WXUNIV!$WXUNIV$ac_delim
53752 MONOLITHIC!$MONOLITHIC$ac_delim
53753 USE_PLUGINS!$USE_PLUGINS$ac_delim
53754 CXXWARNINGS!$CXXWARNINGS$ac_delim
53755 EXTRALIBS!$EXTRALIBS$ac_delim
53756 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53757 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53758 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53759 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53760 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53761 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53762 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53763 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53764 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53765 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53766 UNICODE!$UNICODE$ac_delim
53767 BUILD!$BUILD$ac_delim
53768 DEBUG_INFO!$DEBUG_INFO$ac_delim
53769 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53770 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53771 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53772 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53773 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53774 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53775 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53776 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53777 RANLIB!$RANLIB$ac_delim
53778 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53779 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53780 INSTALL_DATA!$INSTALL_DATA$ac_delim
53781 LN_S!$LN_S$ac_delim
53782 SET_MAKE!$SET_MAKE$ac_delim
53783 MAKE_SET!$MAKE_SET$ac_delim
53784 AROPTIONS!$AROPTIONS$ac_delim
53785 STRIP!$STRIP$ac_delim
53787 INSTALL_DIR!$INSTALL_DIR$ac_delim
53788 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53789 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53790 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53791 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53792 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53793 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53794 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53795 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53796 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53797 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53798 SO_SUFFIX!$SO_SUFFIX$ac_delim
53799 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53800 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53801 LIBPREFIX!$LIBPREFIX$ac_delim
53802 LIBEXT!$LIBEXT$ac_delim
53803 DLLPREFIX!$DLLPREFIX$ac_delim
53804 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53805 dlldir!$dlldir$ac_delim
53806 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53807 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53808 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53809 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53810 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53811 PIC_FLAG!$PIC_FLAG$ac_delim
53812 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53813 USE_SOVERSION!$USE_SOVERSION$ac_delim
53814 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53815 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53816 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53817 USE_MACVERSION!$USE_MACVERSION$ac_delim
53818 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53819 SONAME_FLAG!$SONAME_FLAG$ac_delim
53820 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53821 BK_DEPS!$BK_DEPS$ac_delim
53822 WINDRES!$WINDRES$ac_delim
53824 SETFILE!$SETFILE$ac_delim
53825 GCC_PCH!$GCC_PCH$ac_delim
53826 ICC_PCH!$ICC_PCH$ac_delim
53827 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53828 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53829 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53830 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53833 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53835 elif $ac_last_try; then
53836 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53837 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53838 { (exit 1); exit 1; }; }
53840 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53844 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53845 if test -n "$ac_eof"; then
53846 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53847 ac_eof
=`expr $ac_eof + 1`
53850 cat >>$CONFIG_STATUS <<_ACEOF
53851 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53852 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53855 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53856 s/^/s,@/; s/!/@,|#_!!_#|/
53859 s/'"$ac_delim"'$/,g/; t
53861 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53862 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53863 rm -f conf$
$subs.
sed
53864 cat >>$CONFIG_STATUS <<_ACEOF
53870 for ac_last_try
in false false false false false
:; do
53871 cat >conf$
$subs.
sed <<_ACEOF
53872 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53873 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53874 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53875 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53876 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53877 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53878 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53879 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53880 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53881 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53882 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53883 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53884 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53885 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53886 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53887 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53888 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53889 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53890 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53891 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53892 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53893 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53894 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53895 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53896 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53897 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53898 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53899 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53900 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53901 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53902 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53903 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53904 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53905 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53906 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53907 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53908 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53909 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53910 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53911 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53912 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53913 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53914 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53915 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53916 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53917 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53918 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53919 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53920 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53921 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53922 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53923 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53924 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53925 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53926 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53927 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53928 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53929 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53930 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53931 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53932 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53933 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53934 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53935 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53936 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53937 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53938 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53939 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53940 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53941 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53942 COND_SHARED_0!$COND_SHARED_0$ac_delim
53943 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53944 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53945 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53946 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53947 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53948 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53949 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53950 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53951 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53952 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53953 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53954 COND_SHARED_1!$COND_SHARED_1$ac_delim
53955 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53956 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53957 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53958 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53959 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53960 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53961 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53962 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53963 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53964 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53965 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53966 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53967 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
53968 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53971 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53973 elif $ac_last_try; then
53974 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53975 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53976 { (exit 1); exit 1; }; }
53978 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53982 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53983 if test -n "$ac_eof"; then
53984 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53985 ac_eof
=`expr $ac_eof + 1`
53988 cat >>$CONFIG_STATUS <<_ACEOF
53989 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53990 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53993 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53994 s/^/s,@/; s/!/@,|#_!!_#|/
53997 s/'"$ac_delim"'$/,g/; t
53999 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54000 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54001 rm -f conf$
$subs.
sed
54002 cat >>$CONFIG_STATUS <<_ACEOF
54008 for ac_last_try
in false false false false false
:; do
54009 cat >conf$
$subs.
sed <<_ACEOF
54010 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54011 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54012 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54013 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54014 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54015 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54016 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54017 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54018 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54019 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54020 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54021 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54022 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54023 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54024 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54025 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54026 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54027 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54028 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54029 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54030 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54031 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54032 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54033 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54034 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54035 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54036 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54037 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54038 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54039 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54040 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54041 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54042 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54043 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54044 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54045 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54046 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54047 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54048 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54049 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54050 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54051 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54052 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54053 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54054 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54055 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54056 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54057 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54058 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54059 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54060 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54061 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54062 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54063 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54064 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54065 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54066 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54067 DEREZ!$DEREZ$ac_delim
54068 SHARED!$SHARED$ac_delim
54069 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54070 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54071 USE_GUI!$USE_GUI$ac_delim
54072 AFMINSTALL!$AFMINSTALL$ac_delim
54073 WIN32INSTALL!$WIN32INSTALL$ac_delim
54074 TOOLKIT!$TOOLKIT$ac_delim
54075 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54076 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54077 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54078 cross_compiling!$cross_compiling$ac_delim
54079 WIDGET_SET!$WIDGET_SET$ac_delim
54080 WX_RELEASE!$WX_RELEASE$ac_delim
54081 WX_VERSION!$WX_VERSION$ac_delim
54082 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54083 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54084 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54085 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54086 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54087 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54088 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54089 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54090 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54091 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54092 GUIDIST!$GUIDIST$ac_delim
54093 DISTDIR!$DISTDIR$ac_delim
54094 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54095 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54096 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54097 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54098 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54099 RESCOMP!$RESCOMP$ac_delim
54100 RESFLAGS!$RESFLAGS$ac_delim
54101 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54102 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54103 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54104 LIBWXMACRES!$LIBWXMACRES$ac_delim
54105 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54106 MACSETFILE!$MACSETFILE$ac_delim
54109 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54111 elif $ac_last_try; then
54112 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54113 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54114 { (exit 1); exit 1; }; }
54116 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54120 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54121 if test -n "$ac_eof"; then
54122 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54123 ac_eof
=`expr $ac_eof + 1`
54126 cat >>$CONFIG_STATUS <<_ACEOF
54127 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54128 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54131 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54132 s/^/s,@/; s/!/@,|#_!!_#|/
54135 s/'"$ac_delim"'$/,g/; t
54137 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54138 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54139 rm -f conf$
$subs.
sed
54140 cat >>$CONFIG_STATUS <<_ACEOF
54146 for ac_last_try
in false false false false false
:; do
54147 cat >conf$
$subs.
sed <<_ACEOF
54149 DLLTOOL!$DLLTOOL$ac_delim
54150 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54151 LIBOBJS!$LIBOBJS$ac_delim
54152 LTLIBOBJS!$LTLIBOBJS$ac_delim
54155 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5; then
54157 elif $ac_last_try; then
54158 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54159 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54160 { (exit 1); exit 1; }; }
54162 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54166 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54167 if test -n "$ac_eof"; then
54168 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54169 ac_eof
=`expr $ac_eof + 1`
54172 cat >>$CONFIG_STATUS <<_ACEOF
54173 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54174 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54177 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54178 s/^/s,@/; s/!/@,|#_!!_#|/
54181 s/'"$ac_delim"'$/,g/; t
54183 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54184 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54185 rm -f conf$
$subs.
sed
54186 cat >>$CONFIG_STATUS <<_ACEOF
54193 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54194 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54195 # trailing colons and then remove the whole line if VPATH becomes empty
54196 # (actually we leave an empty line to preserve line numbers).
54197 if test "x$srcdir" = x.
; then
54198 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
54199 s/:*\$(srcdir):*/:/
54200 s/:*\${srcdir}:*/:/
54202 s/^\([^=]*=[ ]*\):*/\1/
54208 cat >>$CONFIG_STATUS <<\_ACEOF
54209 fi # test -n "$CONFIG_FILES"
54212 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
54215 :[FHLC
]) ac_mode
=$ac_tag; continue;;
54217 case $ac_mode$ac_tag in
54219 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54220 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54221 { (exit 1); exit 1; }; };;
54222 :[FH
]-) ac_tag
=-:-;;
54223 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
54240 -) ac_f
="$tmp/stdin";;
54241 *) # Look for the file first in the build tree, then in the source tree
54242 # (if the path is not absolute). The absolute path cannot be DOS-style,
54243 # because $ac_f cannot contain `:'.
54247 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
54249 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54250 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54251 { (exit 1); exit 1; }; };;
54253 ac_file_inputs
="$ac_file_inputs $ac_f"
54256 # Let's still pretend it is `configure' which instantiates (i.e., don't
54257 # use $as_me), people would be surprised to read:
54258 # /* config.h. Generated by config.status. */
54259 configure_input
="Generated from "`IFS=:
54260 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54261 if test x
"$ac_file" != x
-; then
54262 configure_input
="$ac_file. $configure_input"
54263 { echo "$as_me:$LINENO: creating $ac_file" >&5
54264 echo "$as_me: creating $ac_file" >&6;}
54268 *:-:* | *:-) cat >"$tmp/stdin";;
54273 ac_dir
=`$as_dirname -- "$ac_file" ||
54274 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54275 X"$ac_file" : 'X\(//\)[^/]' \| \
54276 X"$ac_file" : 'X\(//\)$' \| \
54277 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54279 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54283 /^X\(\/\/\)[^/].*/{
54298 -*) as_dir
=.
/$as_dir;;
54300 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54304 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54305 *) as_qdir
=$as_dir;;
54307 as_dirs
="'$as_qdir' $as_dirs"
54308 as_dir
=`$as_dirname -- "$as_dir" ||
54309 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54310 X"$as_dir" : 'X\(//\)[^/]' \| \
54311 X"$as_dir" : 'X\(//\)$' \| \
54312 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54318 /^X\(\/\/\)[^/].*/{
54331 test -d "$as_dir" && break
54333 test -z "$as_dirs" || eval "mkdir $as_dirs"
54334 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54335 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54336 { (exit 1); exit 1; }; }; }
54340 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54342 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54343 # A ".." for each directory in $ac_dir_suffix.
54344 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54345 case $ac_top_builddir_sub in
54346 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54347 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54350 ac_abs_top_builddir
=$ac_pwd
54351 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54352 # for backward compatibility:
54353 ac_top_builddir
=$ac_top_build_prefix
54356 .
) # We are building in place.
54358 ac_top_srcdir
=$ac_top_builddir_sub
54359 ac_abs_top_srcdir
=$ac_pwd ;;
54360 [\\/]* | ?
:[\\/]* ) # Absolute name.
54361 ac_srcdir
=$srcdir$ac_dir_suffix;
54362 ac_top_srcdir
=$srcdir
54363 ac_abs_top_srcdir
=$srcdir ;;
54364 *) # Relative name.
54365 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54366 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54367 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54369 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54379 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
54380 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
54384 cat >>$CONFIG_STATUS <<\_ACEOF
54385 # If the template does not know about datarootdir, expand it.
54386 # FIXME: This hack should be removed a few years after 2.60.
54387 ac_datarootdir_hack
=; ac_datarootdir_seen
=
54389 case `sed -n '/datarootdir/ {
54398 ' $ac_file_inputs` in
54399 *datarootdir
*) ac_datarootdir_seen
=yes;;
54400 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
54401 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54402 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54404 cat >>$CONFIG_STATUS <<_ACEOF
54405 ac_datarootdir_hack='
54406 s&@datadir@&$datadir&g
54407 s&@docdir@&$docdir&g
54408 s&@infodir@&$infodir&g
54409 s&@localedir@&$localedir&g
54410 s&@mandir@&$mandir&g
54411 s&\\\${datarootdir}&$datarootdir&g' ;;
54415 # Neutralize VPATH when `$srcdir' = `.'.
54416 # Shell code in configure.ac might set extrasub.
54417 # FIXME: do we really want to maintain this feature?
54418 cat >>$CONFIG_STATUS <<_ACEOF
54422 cat >>$CONFIG_STATUS <<\_ACEOF
54424 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
54425 s
&@configure_input@
&$configure_input&;t t
54426 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
54427 s
&@srcdir@
&$ac_srcdir&;t t
54428 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
54429 s
&@top_srcdir@
&$ac_top_srcdir&;t t
54430 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
54431 s
&@builddir@
&$ac_builddir&;t t
54432 s
&@abs_builddir@
&$ac_abs_builddir&;t t
54433 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
54434 s
&@INSTALL@
&$ac_INSTALL&;t t
54435 $ac_datarootdir_hack
54436 " $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
54438 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54439 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
54440 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
54441 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
54442 which seems to be undefined. Please make sure it is defined." >&5
54443 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
54444 which seems to be undefined. Please make sure it is defined." >&2;}
54448 -) cat "$tmp/out"; rm -f "$tmp/out";;
54449 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54458 # Transform confdefs.h into a sed script `conftest.defines', that
54459 # substitutes the proper values into config.h.in to produce config.h.
54460 rm -f conftest.defines conftest.
tail
54461 # First, append a space to every undef/define line, to ease matching.
54462 echo 's/$/ /' >conftest.defines
54463 # Then, protect against being on the right side of a sed subst, or in
54464 # an unquoted here document, in config.status. If some macros were
54465 # called several times there might be several #defines for the same
54466 # symbol, which is useless. But do not sort them, since the last
54467 # AC_DEFINE must be honored.
54468 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
54469 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54470 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54471 # PARAMS is the parameter list in the macro definition--in most cases, it's
54472 # just an empty string.
54473 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54474 ac_dB
='\\)[ (].*,\\1define\\2'
54482 s/^[ ]*#[ ]*define[ ][ ]*//
54487 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54488 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54489 ' >>conftest.defines
54491 # Remove the space that was appended to ease matching.
54492 # Then replace #undef with comments. This is necessary, for
54493 # example, in the case of _POSIX_SOURCE, which is predefined and required
54494 # on some systems where configure will not decide to define it.
54495 # (The regexp can be short, since the line contains either #define or #undef.)
54497 s,^[ #]*u.*,/* & */,' >>conftest.defines
54499 # Break up conftest.defines:
54500 ac_max_sed_lines
=50
54502 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54503 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54504 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54506 ac_in
='$ac_file_inputs'
54507 ac_out
='"$tmp/out1"'
54508 ac_nxt
='"$tmp/out2"'
54512 # Write a here document:
54513 cat >>$CONFIG_STATUS <<_ACEOF
54514 # First, check the format of the line:
54515 cat >"\$tmp/defines.sed" <<\\CEOF
54516 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54517 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54521 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
54523 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54524 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
54525 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
54526 grep . conftest.
tail >/dev
/null
|| break
54527 rm -f conftest.defines
54528 mv conftest.
tail conftest.defines
54530 rm -f conftest.defines conftest.
tail
54532 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54533 cat >>$CONFIG_STATUS <<\_ACEOF
54534 if test x
"$ac_file" != x
-; then
54535 echo "/* $configure_input */" >"$tmp/config.h"
54536 cat "$ac_result" >>"$tmp/config.h"
54537 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
54538 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54539 echo "$as_me: $ac_file is unchanged" >&6;}
54542 mv "$tmp/config.h" $ac_file
54545 echo "/* $configure_input */"
54551 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54552 echo "$as_me: executing $ac_file commands" >&6;}
54557 case $ac_file$ac_mode in
54559 mkdir -p $outdir &&
54560 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54562 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
54563 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
54564 "wx-config":C
) rm -f wx
-config
54565 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
54572 { (exit 0); exit 0; }
54574 chmod +x
$CONFIG_STATUS
54575 ac_clean_files
=$ac_clean_files_save
54578 # configure is writing to config.log, and then calls config.status.
54579 # config.status does its own redirection, appending to config.log.
54580 # Unfortunately, on DOS this fails, as config.log is still kept open
54581 # by configure, so config.status won't be able to write to it; its
54582 # output is simply discarded. So we exec the FD to /dev/null,
54583 # effectively closing config.log, so it can be properly (re)opened and
54584 # appended to by config.status. When coming back to configure, we
54585 # need to make the FD available again.
54586 if test "$no_create" != yes; then
54588 ac_config_status_args
=
54589 test "$silent" = yes &&
54590 ac_config_status_args
="$ac_config_status_args --quiet"
54592 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
54594 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54595 # would make configure fail if this is the last instruction.
54596 $ac_cs_success || { (exit 1); exit 1; }
54600 # CONFIG_SUBDIRS section.
54602 if test "$no_recursion" != yes; then
54604 # Remove --cache-file and --srcdir arguments so they do not pile up.
54605 ac_sub_configure_args
=
54607 eval "set x $ac_configure_args"
54611 if test -n "$ac_prev"; then
54616 -cache-file | --cache-file | --cache-fil | --cache-fi \
54617 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54618 ac_prev
=cache_file
;;
54619 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54620 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54623 --config-cache | -C)
54625 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54627 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54629 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54631 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54635 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54637 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
54641 # Always prepend --prefix to ensure using the same prefix
54642 # in subdir configurations.
54643 ac_arg
="--prefix=$prefix"
54645 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54647 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
54650 if test "$silent" = yes; then
54651 ac_sub_configure_args
="--silent $ac_sub_configure_args"
54655 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
54657 # Do not complain, so a configure script can configure whichever
54658 # parts of a large source tree are present.
54659 test -d "$srcdir/$ac_dir" || continue
54661 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54662 echo "$as_me:$LINENO: $ac_msg" >&5
54666 -*) as_dir
=.
/$as_dir;;
54668 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54672 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54673 *) as_qdir
=$as_dir;;
54675 as_dirs
="'$as_qdir' $as_dirs"
54676 as_dir
=`$as_dirname -- "$as_dir" ||
54677 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54678 X"$as_dir" : 'X\(//\)[^/]' \| \
54679 X"$as_dir" : 'X\(//\)$' \| \
54680 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54682 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54686 /^X\(\/\/\)[^/].*/{
54699 test -d "$as_dir" && break
54701 test -z "$as_dirs" || eval "mkdir $as_dirs"
54702 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54703 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54704 { (exit 1); exit 1; }; }; }
54708 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54710 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54711 # A ".." for each directory in $ac_dir_suffix.
54712 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54713 case $ac_top_builddir_sub in
54714 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54715 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54718 ac_abs_top_builddir
=$ac_pwd
54719 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54720 # for backward compatibility:
54721 ac_top_builddir
=$ac_top_build_prefix
54724 .
) # We are building in place.
54726 ac_top_srcdir
=$ac_top_builddir_sub
54727 ac_abs_top_srcdir
=$ac_pwd ;;
54728 [\\/]* | ?
:[\\/]* ) # Absolute name.
54729 ac_srcdir
=$srcdir$ac_dir_suffix;
54730 ac_top_srcdir
=$srcdir
54731 ac_abs_top_srcdir
=$srcdir ;;
54732 *) # Relative name.
54733 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54734 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54735 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54737 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54742 # Check for guested configure; otherwise get Cygnus style configure.
54743 if test -f "$ac_srcdir/configure.gnu"; then
54744 ac_sub_configure
=$ac_srcdir/configure.gnu
54745 elif test -f "$ac_srcdir/configure"; then
54746 ac_sub_configure
=$ac_srcdir/configure
54747 elif test -f "$ac_srcdir/configure.in"; then
54748 # This should be Cygnus configure.
54749 ac_sub_configure
=$ac_aux_dir/configure
54751 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54752 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54756 # The recursion is here.
54757 if test -n "$ac_sub_configure"; then
54758 # Make the cache file name correct relative to the subdirectory.
54759 case $cache_file in
54760 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
54761 *) # Relative name.
54762 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
54765 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54766 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54767 # The eval makes quoting arguments work.
54768 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54769 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54770 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54771 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54772 { (exit 1); exit 1; }; }
54781 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54783 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54784 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54786 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54787 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54788 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54789 if test "$wxUSE_UNICODE" = "yes"; then
54790 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54791 echo " (using UTF-8)"
54793 echo " (using wchar_t)"
54799 echo " What level of wxWidgets compatibility should be enabled?"
54800 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54801 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54803 echo " Which libraries should wxWidgets use?"
54804 echo " STL ${wxUSE_STL}"
54805 echo " jpeg ${wxUSE_LIBJPEG-none}"
54806 echo " png ${wxUSE_LIBPNG-none}"
54807 echo " regex ${wxUSE_REGEX}"
54808 echo " tiff ${wxUSE_LIBTIFF-none}"
54809 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54810 echo " xpm ${wxUSE_LIBXPM-none}"
54812 echo " zlib ${wxUSE_ZLIB}"
54813 echo " expat ${wxUSE_EXPAT}"
54814 echo " libmspack ${wxUSE_LIBMSPACK}"
54815 echo " sdl ${wxUSE_LIBSDL}"