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-ole use OLE classes
(Win32 only
)
1674 --enable-dataobj use data object classes
1675 --enable-ipc use interprocess communication
(wxSocket etc.
)
1676 --enable-baseevtloop use event loop
in console programs too
1677 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1678 --enable-selectloop use wxSelectDispatcher class
1679 --enable-apple_ieee use the Apple IEEE codec
1680 --enable-arcstream use wxArchive streams
1681 --enable-base64 use base64 encoding
/decoding functions
1682 --enable-backtrace use wxStackWalker class
for getting backtraces
1683 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1684 --enable-cmdline use wxCmdLineParser class
1685 --enable-datetime use wxDateTime class
1686 --enable-debugreport use wxDebugReport class
1687 --enable-dialupman use dialup network classes
1688 --enable-dynlib use wxLibrary class
for DLL loading
1689 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1690 --enable-exceptions build exception
-safe library
1691 --enable-ffile use wxFFile class
1692 --enable-file use wxFile class
1693 --enable-filesystem use virtual
file systems classes
1694 --enable-fontenum use wxFontEnumerator class
1695 --enable-fontmap use font encodings conversion classes
1696 --enable-fs_archive use virtual archive filesystems
1697 --enable-fs_inet use virtual HTTP
/FTP filesystems
1698 --enable-fs_zip now replaced by fs_archive
1699 --enable-geometry use geometry class
1700 --enable-log use logging system
1701 --enable-longlong use wxLongLong class
1702 --enable-mimetype use wxMimeTypesManager
1703 --enable-snglinst use wxSingleInstanceChecker class
1704 --enable-stdpaths use wxStandardPaths class
1705 --enable-stopwatch use wxStopWatch class
1706 --enable-streams use wxStream etc classes
1707 --enable-sysoptions use wxSystemOptions
1708 --enable-tarstream use wxTar streams
1709 --enable-textbuf use wxTextBuffer class
1710 --enable-textfile use wxTextFile class
1711 --enable-timer use wxTimer class
1712 --enable-sound use wxSound class
1713 --enable-mediactrl use wxMediaCtrl class
1714 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1715 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1716 --enable-zipstream use wxZip streams
1717 --enable-url use wxURL class
1718 --enable-variant use wxVariant class
1719 --enable-protocol use wxProtocol class
1720 --enable-protocol-http HTTP support
in wxProtocol
1721 --enable-protocol-ftp FTP support
in wxProtocol
1722 --enable-protocol-file FILE support
in wxProtocol
1723 --enable-threads use threads
1724 --enable-iniconf use wxIniConfig
(Win32 only
)
1725 --enable-regkey use wxRegKey class
(Win32 only
)
1726 --enable-docview use document view architecture
1727 --enable-help use
help subsystem
1728 --enable-mshtmlhelp use MS HTML Help
(win32
)
1729 --enable-html use wxHTML sub
-library
1730 --enable-htmlhelp use wxHTML
-based help
1731 --enable-xrc use XRC resources sub
-library
1732 --enable-aui use AUI docking library
1733 --enable-stc use wxStyledTextCtrl library
1734 --enable-constraints use layout
-constraints system
1735 --enable-printarch use printing architecture
1736 --enable-mdi use multiple document interface architecture
1737 --enable-mdidoc use docview architecture with MDI
1738 --enable-loggui use standard GUI logger
1739 --enable-logwin use wxLogWindow
1740 --enable-logdialog use wxLogDialog
1741 --enable-webkit use wxWebKitCtrl
(Mac
)
1742 --enable-richtext use wxRichTextCtrl
1743 --enable-graphics_ctx use graphics context
2D drawing API
1744 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1745 --enable-svg use wxSVGFileDC device context
1746 --enable-clipboard use wxClipboard class
1747 --enable-dnd use Drag
'n'Drop classes
1748 --enable-metafile use win32 metafiles
1749 --disable-controls disable compilation of all standard controls
1750 --enable-accel use accelerators
1751 --enable-animatectrl use wxAnimationCtrl class
1752 --enable-button use wxButton class
1753 --enable-bmpbutton use wxBitmapButton class
1754 --enable-bmpcombobox use wxBitmapComboBox class
1755 --enable-calendar use wxCalendarCtrl class
1756 --enable-caret use wxCaret class
1757 --enable-checkbox use wxCheckBox class
1758 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1759 --enable-choice use wxChoice class
1760 --enable-choicebook use wxChoicebook class
1761 --enable-collpane use wxCollapsiblePane class
1762 --enable-colourpicker use wxColourPickerCtrl class
1763 --enable-combobox use wxComboBox class
1764 --enable-comboctrl use wxComboCtrl class
1765 --enable-datepick use wxDatePickerCtrl class
1766 --enable-dirpicker use wxDirPickerCtrl class
1767 --enable-display use wxDisplay class
1768 --enable-detect_sm use code to detect X11 session manager
1769 --enable-editablebox use wxEditableListBox class
1770 --enable-filepicker use wxFilePickerCtrl class
1771 --enable-filectrl use wxFileCtrl class
1772 --enable-fontpicker use wxFontPickerCtrl class
1773 --enable-gauge use wxGauge class
1774 --enable-grid use wxGrid class
1775 --enable-dataviewctrl use wxDataViewCtrl class
1776 --enable-hyperlink use wxHyperlinkCtrl class
1777 --enable-imaglist use wxImageList class
1778 --enable-listbook use wxListbook class
1779 --enable-listbox use wxListBox class
1780 --enable-listctrl use wxListCtrl class
1781 --enable-notebook use wxNotebook class
1782 --enable-odcombobox use wxOwnerDrawnComboBox class
1783 --enable-radiobox use wxRadioBox class
1784 --enable-radiobtn use wxRadioButton class
1785 --enable-sash use wxSashWindow class
1786 --enable-scrollbar use wxScrollBar class and scrollable windows
1787 --enable-searchctrl use wxSearchCtrl class
1788 --enable-slider use wxSlider class
1789 --enable-spinbtn use wxSpinButton class
1790 --enable-spinctrl use wxSpinCtrl class
1791 --enable-splitter use wxSplitterWindow class
1792 --enable-statbmp use wxStaticBitmap class
1793 --enable-statbox use wxStaticBox class
1794 --enable-statline use wxStaticLine class
1795 --enable-stattext use wxStaticText class
1796 --enable-statusbar use wxStatusBar class
1797 --enable-tabdialog use wxTabControl class
1798 --enable-taskbaricon use wxTaskBarIcon class
1799 --enable-textctrl use wxTextCtrl class
1800 --enable-togglebtn use wxToggleButton class
1801 --enable-toolbar use wxToolBar class
1802 --enable-tbarnative use native wxToolBar class
1803 --enable-treebook use wxTreebook class
1804 --enable-toolbook use wxToolbook class
1805 --enable-treectrl use wxTreeCtrl class
1806 --enable-tipwindow use wxTipWindow class
1807 --enable-popupwin use wxPopUpWindow class
1808 --enable-commondlg use all common dialogs
1809 --enable-aboutdlg use wxAboutBox
1810 --enable-choicedlg use wxChoiceDialog
1811 --enable-coldlg use wxColourDialog
1812 --enable-filedlg use wxFileDialog
1813 --enable-finddlg use wxFindReplaceDialog
1814 --enable-fontdlg use wxFontDialog
1815 --enable-dirdlg use wxDirDialog
1816 --enable-msgdlg use wxMessageDialog
1817 --enable-numberdlg use wxNumberEntryDialog
1818 --enable-splash use wxSplashScreen
1819 --enable-textdlg use wxTextDialog
1820 --enable-tipdlg use startup tips
1821 --enable-progressdlg use wxProgressDialog
1822 --enable-wizarddlg use wxWizard
1823 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1824 --enable-miniframe use wxMiniFrame class
1825 --enable-tooltips use wxToolTip class
1826 --enable-splines use spline drawing code
1827 --enable-mousewheel use mousewheel
1828 --enable-validators use wxValidator and derived classes
1829 --enable-busyinfo use wxBusyInfo
1830 --enable-joystick use wxJoystick
1831 --enable-metafiles use wxMetaFile
(Win32 only
)
1832 --enable-dragimage use wxDragImage
1833 --enable-accessibility enable accessibility support
1834 --enable-palette use wxPalette class
1835 --enable-image use wxImage class
1836 --enable-gif use gif images
(GIF
file format
)
1837 --enable-pcx use pcx images
(PCX
file format
)
1838 --enable-tga use tga images
(TGA
file format
)
1839 --enable-iff use iff images
(IFF
file format
)
1840 --enable-pnm use pnm images
(PNM
file format
)
1841 --enable-xpm use xpm images
(XPM
file format
)
1842 --enable-icocur use Windows ICO and CUR formats
1843 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1844 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1845 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1846 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1847 --enable-wxdib use wxDIB class
(Win32 only
)
1848 --disable-largefile omit support
for large files
1849 --disable-gtktest do not try to compile and run a
test GTK
+ program
1850 --disable-gtktest Do not try to compile and run a
test GTK program
1851 --disable-sdltest Do not try to compile and run a
test SDL program
1852 --enable-omf use OMF object format
(OS
/2)
1853 --disable-dependency-tracking
1854 don
't use dependency tracking even if the compiler
1856 --disable-precomp-headers
1857 don't use precompiled headers even
if compiler can
1860 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1861 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1862 --without-subdirs don
't generate makefiles for samples/demos/...
1863 --with-flavour=NAME specify a name to identify this build
1864 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1865 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1866 --with-motif use Motif/Lesstif
1867 --with-mac use Mac OS X
1868 --with-cocoa use Cocoa
1869 --with-wine use Wine
1870 --with-msw use MS-Windows
1871 --with-pm use OS/2 Presentation Manager
1872 --with-mgl use SciTech MGL
1873 --with-directfb use DirectFB
1874 --with-microwin use MicroWindows
1876 --with-libpng use libpng (PNG image format)
1877 --with-libjpeg use libjpeg (JPEG file format)
1878 --with-libtiff use libtiff (TIFF file format)
1879 --with-libxpm use libxpm (XPM file format)
1880 --with-libmspack use libmspack (CHM help files loading)
1881 --without-gtkprint don't use GTK printing support
1882 --without-gnomeprint don
't use GNOME printing libraries
1883 --with-gnomevfs use GNOME VFS for associating MIME types
1884 --with-hildon use Hildon framework for Nokia 770
1885 --with-opengl use OpenGL (or Mesa)
1886 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1887 --with-sdl use SDL for audio on Unix
1888 --with-regex enable support for wxRegEx class
1889 --with-zlib use zlib for LZW compression
1890 --with-expat enable XML support using expat parser
1891 --with-macosx-sdk=PATH use an OS X SDK at PATH
1892 --with-macosx-version-min=VER build binaries which require at least this OS X version
1893 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1894 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1895 --with-x use the X Window System
1896 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1897 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1898 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1899 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1900 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1902 Some influential environment variables:
1903 CC C compiler command
1904 CFLAGS C compiler flags
1905 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1906 nonstandard directory <lib dir>
1907 LIBS libraries to pass to the linker, e.g. -l<library>
1908 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1909 you have headers in a nonstandard directory <include dir>
1911 CXX C++ compiler command
1912 CXXFLAGS C++ compiler flags
1913 PKG_CONFIG path to pkg-config utility
1915 C compiler flags for DIRECTFB, overriding pkg-config
1917 linker flags for DIRECTFB, overriding pkg-config
1918 XMKMF Path to xmkmf, Makefile generator for X Window System
1920 C compiler flags for PANGOX, overriding pkg-config
1921 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1923 C compiler flags for PANGOFT2, overriding pkg-config
1925 linker flags for PANGOFT2, overriding pkg-config
1927 C compiler flags for PANGOXFT, overriding pkg-config
1929 linker flags for PANGOXFT, overriding pkg-config
1931 C compiler flags for GTKPRINT, overriding pkg-config
1933 linker flags for GTKPRINT, overriding pkg-config
1934 LIBGNOMEPRINTUI_CFLAGS
1935 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1936 LIBGNOMEPRINTUI_LIBS
1937 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1939 C compiler flags for GNOMEVFS, overriding pkg-config
1941 linker flags for GNOMEVFS, overriding pkg-config
1943 C compiler flags for HILDON, overriding pkg-config
1944 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1946 C compiler flags for CAIRO, overriding pkg-config
1947 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1948 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1949 GST_LIBS linker flags for GST, overriding pkg-config
1951 Use these variables to override the choices made by `configure' or to
help
1952 it to
find libraries and programs with nonstandard names
/locations.
1954 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1959 if test "$ac_init_help" = "recursive"; then
1960 # If there are subdirs, report their specific --help.
1961 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1962 test -d "$ac_dir" || continue
1966 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1968 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1969 # A ".." for each directory in $ac_dir_suffix.
1970 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1971 case $ac_top_builddir_sub in
1972 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1973 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1976 ac_abs_top_builddir
=$ac_pwd
1977 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1978 # for backward compatibility:
1979 ac_top_builddir
=$ac_top_build_prefix
1982 .
) # We are building in place.
1984 ac_top_srcdir
=$ac_top_builddir_sub
1985 ac_abs_top_srcdir
=$ac_pwd ;;
1986 [\\/]* | ?
:[\\/]* ) # Absolute name.
1987 ac_srcdir
=$srcdir$ac_dir_suffix;
1988 ac_top_srcdir
=$srcdir
1989 ac_abs_top_srcdir
=$srcdir ;;
1991 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1992 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1993 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1995 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1997 cd "$ac_dir" || { ac_status
=$?
; continue; }
1998 # Check for guested configure.
1999 if test -f "$ac_srcdir/configure.gnu"; then
2001 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2002 elif test -f "$ac_srcdir/configure"; then
2004 $SHELL "$ac_srcdir/configure" --help=recursive
2006 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2008 cd "$ac_pwd" || { ac_status
=$?
; break; }
2012 test -n "$ac_init_help" && exit $ac_status
2013 if $ac_init_version; then
2015 wxWidgets configure
2.9.0
2016 generated by GNU Autoconf
2.61
2018 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2019 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2020 This configure
script is free software
; the Free Software Foundation
2021 gives unlimited permission to copy
, distribute and modify it.
2025 cat >config.log
<<_ACEOF
2026 This file contains any messages produced by compilers while
2027 running configure, to aid debugging if configure makes a mistake.
2029 It was created by wxWidgets $as_me 2.9.0, which was
2030 generated by GNU Autoconf 2.61. Invocation command line was
2042 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2043 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2044 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2045 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2046 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2048 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2049 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2051 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2052 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2053 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2054 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2055 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2056 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2057 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2065 test -z "$as_dir" && as_dir
=.
2066 echo "PATH: $as_dir"
2082 # Keep a trace of the command line.
2083 # Strip out --no-create and --no-recursion so they do not pile up.
2084 # Strip out --silent because we don't want to record it for future runs.
2085 # Also quote any args containing shell meta-characters.
2086 # Make two passes to allow for proper duplicate-argument suppression.
2090 ac_must_keep_next
=false
2096 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2097 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2098 | -silent | --silent | --silen | --sile | --sil)
2101 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2104 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2106 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2107 if test $ac_must_keep_next = true
; then
2108 ac_must_keep_next
=false
# Got value, back to normal.
2111 *=* | --config-cache | -C | -disable-* | --disable-* \
2112 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2113 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2114 | -with-* | --with-* | -without-* | --without-* | --x)
2115 case "$ac_configure_args0 " in
2116 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2119 -* ) ac_must_keep_next
=true
;;
2122 ac_configure_args
="$ac_configure_args '$ac_arg'"
2127 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2128 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2130 # When interrupted or exit'd, cleanup temporary files, and complete
2131 # config.log. We remove comments because anyway the quotes in there
2132 # would cause problems or look ugly.
2133 # WARNING: Use '\'' to represent an apostrophe within the trap.
2134 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2135 trap 'exit_status=$?
2136 # Save into config.log some information that might help in debugging.
2141 ## ---------------- ##
2142 ## Cache variables. ##
2143 ## ---------------- ##
2146 # The following way of writing the cache mishandles newlines in values,
2148 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2149 eval ac_val=\$$ac_var
2153 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2154 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2157 _ | IFS | as_nl) ;; #(
2158 *) $as_unset $ac_var ;;
2163 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2164 *${as_nl}ac_space=\ *)
2166 "s/'\''/'\''\\\\'\'''\''/g;
2167 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2170 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2178 ## ----------------- ##
2179 ## Output variables. ##
2180 ## ----------------- ##
2183 for ac_var in $ac_subst_vars
2185 eval ac_val=\$$ac_var
2187 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2189 echo "$ac_var='\''$ac_val'\''"
2193 if test -n "$ac_subst_files"; then
2195 ## ------------------- ##
2196 ## File substitutions. ##
2197 ## ------------------- ##
2200 for ac_var
in $ac_subst_files
2202 eval ac_val
=\$
$ac_var
2204 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2206 echo "$ac_var='\''$ac_val'\''"
2211 if test -s confdefs.h; then
2221 test "$ac_signal" != 0 &&
2222 echo "$as_me: caught signal $ac_signal"
2223 echo "$as_me: exit $exit_status"
2225 rm -f core *.core core.conftest.* &&
2226 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2229 for ac_signal
in 1 2 13 15; do
2230 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2234 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2235 rm -f -r conftest
* confdefs.h
2237 # Predefined preprocessor variables.
2239 cat >>confdefs.h
<<_ACEOF
2240 #define PACKAGE_NAME "$PACKAGE_NAME"
2244 cat >>confdefs.h
<<_ACEOF
2245 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2249 cat >>confdefs.h
<<_ACEOF
2250 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2254 cat >>confdefs.h
<<_ACEOF
2255 #define PACKAGE_STRING "$PACKAGE_STRING"
2259 cat >>confdefs.h
<<_ACEOF
2260 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2264 # Let the site file select an alternate cache file if it wants to.
2265 # Prefer explicitly selected file to automatically selected ones.
2266 if test -n "$CONFIG_SITE"; then
2267 set x
"$CONFIG_SITE"
2268 elif test "x$prefix" != xNONE
; then
2269 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2271 set x
"$ac_default_prefix/share/config.site" \
2272 "$ac_default_prefix/etc/config.site"
2277 if test -r "$ac_site_file"; then
2278 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2279 echo "$as_me: loading site script $ac_site_file" >&6;}
2280 sed 's/^/| /' "$ac_site_file" >&5
2285 if test -r "$cache_file"; then
2286 # Some versions of bash will fail to source /dev/null (special
2287 # files actually), so we avoid doing that.
2288 if test -f "$cache_file"; then
2289 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2290 echo "$as_me: loading cache $cache_file" >&6;}
2292 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2293 *) .
"./$cache_file";;
2297 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2298 echo "$as_me: creating cache $cache_file" >&6;}
2302 # Check that the precious variables saved in the cache have kept the same
2304 ac_cache_corrupted
=false
2305 for ac_var
in $ac_precious_vars; do
2306 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2307 eval ac_new_set
=\
$ac_env_${ac_var}_set
2308 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2309 eval ac_new_val
=\
$ac_env_${ac_var}_value
2310 case $ac_old_set,$ac_new_set in
2312 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2313 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2314 ac_cache_corrupted
=: ;;
2316 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2317 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2318 ac_cache_corrupted
=: ;;
2321 if test "x$ac_old_val" != "x$ac_new_val"; then
2322 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2323 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2324 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2325 echo "$as_me: former value: $ac_old_val" >&2;}
2326 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2327 echo "$as_me: current value: $ac_new_val" >&2;}
2328 ac_cache_corrupted
=:
2331 # Pass precious variables to config.status.
2332 if test "$ac_new_set" = set; then
2334 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2335 *) ac_arg
=$ac_var=$ac_new_val ;;
2337 case " $ac_configure_args " in
2338 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2339 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2343 if $ac_cache_corrupted; then
2344 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2345 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2346 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2347 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2348 { (exit 1); exit 1; }; }
2376 ac_cpp
='$CPP $CPPFLAGS'
2377 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2378 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2379 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2386 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2387 if test -f "$ac_dir/install-sh"; then
2389 ac_install_sh
="$ac_aux_dir/install-sh -c"
2391 elif test -f "$ac_dir/install.sh"; then
2393 ac_install_sh
="$ac_aux_dir/install.sh -c"
2395 elif test -f "$ac_dir/shtool"; then
2397 ac_install_sh
="$ac_aux_dir/shtool install -c"
2401 if test -z "$ac_aux_dir"; then
2402 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2403 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2404 { (exit 1); exit 1; }; }
2407 # These three variables are undocumented and unsupported,
2408 # and are intended to be withdrawn in a future Autoconf release.
2409 # They can cause serious problems if a builder's source tree is in a directory
2410 # whose full name contains unusual characters.
2411 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2412 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2413 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2416 # Make sure we can run config.sub.
2417 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2418 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2419 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2420 { (exit 1); exit 1; }; }
2422 { echo "$as_me:$LINENO: checking build system type" >&5
2423 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2424 if test "${ac_cv_build+set}" = set; then
2425 echo $ECHO_N "(cached) $ECHO_C" >&6
2427 ac_build_alias
=$build_alias
2428 test "x$ac_build_alias" = x
&&
2429 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2430 test "x$ac_build_alias" = x
&&
2431 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2432 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2433 { (exit 1); exit 1; }; }
2434 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2435 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2436 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2437 { (exit 1); exit 1; }; }
2440 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2441 echo "${ECHO_T}$ac_cv_build" >&6; }
2442 case $ac_cv_build in
2444 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2445 echo "$as_me: error: invalid value of canonical build" >&2;}
2446 { (exit 1); exit 1; }; };;
2449 ac_save_IFS
=$IFS; IFS
='-'
2455 # Remember, the first character of IFS is used to create $*,
2456 # except with old shells:
2459 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2462 { echo "$as_me:$LINENO: checking host system type" >&5
2463 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2464 if test "${ac_cv_host+set}" = set; then
2465 echo $ECHO_N "(cached) $ECHO_C" >&6
2467 if test "x$host_alias" = x
; then
2468 ac_cv_host
=$ac_cv_build
2470 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2471 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2472 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2473 { (exit 1); exit 1; }; }
2477 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2478 echo "${ECHO_T}$ac_cv_host" >&6; }
2481 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2482 echo "$as_me: error: invalid value of canonical host" >&2;}
2483 { (exit 1); exit 1; }; };;
2486 ac_save_IFS
=$IFS; IFS
='-'
2492 # Remember, the first character of IFS is used to create $*,
2493 # except with old shells:
2496 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2499 { echo "$as_me:$LINENO: checking target system type" >&5
2500 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2501 if test "${ac_cv_target+set}" = set; then
2502 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 if test "x$target_alias" = x
; then
2505 ac_cv_target
=$ac_cv_host
2507 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2508 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2509 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2510 { (exit 1); exit 1; }; }
2514 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2515 echo "${ECHO_T}$ac_cv_target" >&6; }
2516 case $ac_cv_target in
2518 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2519 echo "$as_me: error: invalid value of canonical target" >&2;}
2520 { (exit 1); exit 1; }; };;
2522 target
=$ac_cv_target
2523 ac_save_IFS
=$IFS; IFS
='-'
2529 # Remember, the first character of IFS is used to create $*,
2530 # except with old shells:
2533 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2536 # The aliases save the names the user supplied, while $host etc.
2537 # will get canonicalized.
2538 test -n "$target_alias" &&
2539 test "$program_prefix$program_suffix$program_transform_name" = \
2541 program_prefix
=${target_alias}-
2545 wx_major_version_number
=2
2546 wx_minor_version_number
=9
2548 wx_subrelease_number
=0
2550 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2551 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2552 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2554 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2557 wx_top_builddir
="`pwd`"
2570 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2576 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2582 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2584 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2586 DEFAULT_wxUSE_COCOA
=0
2590 DEFAULT_wxUSE_MICROWIN
=0
2591 DEFAULT_wxUSE_MOTIF
=0
2597 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2598 DEFAULT_DEFAULT_wxUSE_GTK
=0
2599 DEFAULT_DEFAULT_wxUSE_MAC
=0
2600 DEFAULT_DEFAULT_wxUSE_MGL
=0
2601 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2602 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2603 DEFAULT_DEFAULT_wxUSE_MSW
=0
2604 DEFAULT_DEFAULT_wxUSE_PM
=0
2605 DEFAULT_DEFAULT_wxUSE_X11
=0
2606 DEFAULT_DEFAULT_wxUSE_DFB
=0
2611 SAMPLES_RPATH_POSTLINK
=
2613 DEFAULT_STD_FLAG
=yes
2618 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2619 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2621 cat >>confdefs.h
<<\_ACEOF
2626 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2630 cat >>confdefs.h
<<\_ACEOF
2635 if test "x$TMP" = "xalpha"; then
2637 cat >>confdefs.h
<<\_ACEOF
2642 DEFAULT_DEFAULT_wxUSE_GTK
=1
2644 *-*-gnu* | *-*-k*bsd
*-gnu )
2647 if test "x$TMP" = "xalpha"; then
2649 cat >>confdefs.h
<<\_ACEOF
2654 DEFAULT_DEFAULT_wxUSE_GTK
=1
2656 *-*-irix5* | *-*-irix6* )
2659 cat >>confdefs.h
<<\_ACEOF
2663 cat >>confdefs.h
<<\_ACEOF
2667 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2673 cat >>confdefs.h
<<\_ACEOF
2677 cat >>confdefs.h
<<\_ACEOF
2678 #define __SOLARIS__ 1
2681 cat >>confdefs.h
<<\_ACEOF
2685 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2686 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2692 cat >>confdefs.h
<<\_ACEOF
2696 cat >>confdefs.h
<<\_ACEOF
2700 cat >>confdefs.h
<<\_ACEOF
2704 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2709 cat >>confdefs.h
<<\_ACEOF
2710 #define __FREEBSD__ 1
2713 cat >>confdefs.h
<<\_ACEOF
2717 DEFAULT_DEFAULT_wxUSE_GTK
=1
2719 *-*-openbsd*|*-*-mirbsd*)
2722 cat >>confdefs.h
<<\_ACEOF
2723 #define __OPENBSD__ 1
2726 cat >>confdefs.h
<<\_ACEOF
2730 DEFAULT_DEFAULT_wxUSE_GTK
=1
2735 cat >>confdefs.h
<<\_ACEOF
2736 #define __NETBSD__ 1
2739 cat >>confdefs.h
<<\_ACEOF
2743 DEFAULT_DEFAULT_wxUSE_GTK
=1
2744 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2746 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2751 cat >>confdefs.h
<<\_ACEOF
2755 cat >>confdefs.h
<<\_ACEOF
2759 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2760 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2765 cat >>confdefs.h
<<\_ACEOF
2769 cat >>confdefs.h
<<\_ACEOF
2773 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2778 cat >>confdefs.h
<<\_ACEOF
2782 cat >>confdefs.h
<<\_ACEOF
2786 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2793 cat >>confdefs.h
<<\_ACEOF
2797 cat >>confdefs.h
<<\_ACEOF
2801 cat >>confdefs.h
<<\_ACEOF
2805 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2812 cat >>confdefs.h
<<\_ACEOF
2813 #define __UNIXWARE__ 1
2818 *-*-cygwin* | *-*-mingw32* )
2821 DEFAULT_DEFAULT_wxUSE_MSW
=1
2827 cat >>confdefs.h
<<\_ACEOF
2832 DEFAULT_DEFAULT_wxUSE_MGL
=1
2835 *-pc-os2_emx | *-pc-os2-emx )
2836 cat >>confdefs.h
<<\_ACEOF
2841 cat >>confdefs.h
<<\_ACEOF
2846 DEFAULT_DEFAULT_wxUSE_PM
=1
2848 LDFLAGS
="$LDFLAGS -Zcrtdll"
2849 ac_executable_extensions
=".exe"
2850 export ac_executable_extensions
2854 for ac_dir
in $PATH; do
2856 if test -z "$ac_TEMP_PATH"; then
2857 ac_TEMP_PATH
="$ac_dir"
2859 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2862 export PATH
="$ac_TEMP_PATH"
2871 cat >>confdefs.h
<<\_ACEOF
2875 cat >>confdefs.h
<<\_ACEOF
2876 #define __DARWIN__ 1
2879 cat >>confdefs.h
<<\_ACEOF
2880 #define TARGET_CARBON 1
2883 DEFAULT_DEFAULT_wxUSE_MAC
=1
2886 powerpc
-apple-macos* )
2888 ac_cv_c_bigendian
=yes
2890 DEFAULT_DEFAULT_wxUSE_MAC
=1
2896 cat >>confdefs.h
<<\_ACEOF
2903 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2904 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2905 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2906 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2908 DEFAULT_DEFAULT_wxUSE_X11
=1
2909 DEFAULT_wxUSE_SHARED
=no
2915 wx_arg_cache_file
="configarg.cache"
2916 echo "loading argument cache $wx_arg_cache_file"
2917 rm -f ${wx_arg_cache_file}.tmp
2918 touch ${wx_arg_cache_file}.tmp
2919 touch ${wx_arg_cache_file}
2922 DEFAULT_wxUSE_ALL_FEATURES
=yes
2924 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2925 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2927 DEFAULT_wxUSE_DMALLOC
=no
2928 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2929 DEFAULT_wxUSE_LIBHILDON
=no
2930 DEFAULT_wxUSE_LIBMSPACK
=no
2931 DEFAULT_wxUSE_LIBSDL
=no
2932 DEFAULT_wxUSE_OPENGL
=no
2934 DEFAULT_wxUSE_ACCESSIBILITY
=no
2935 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2936 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2937 DEFAULT_wxUSE_MEDIACTRL
=no
2938 DEFAULT_wxUSE_TAB_DIALOG
=no
2939 DEFAULT_wxUSE_GSTREAMER8
=no
2941 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2942 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2944 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2946 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2948 DEFAULT_wxUSE_GTK2
=yes
2950 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2953 for toolkit
in $ALL_TOOLKITS; do
2954 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2955 if test "x$LINE" != "x" ; then
2956 has_toolkit_in_cache
=1
2957 eval "DEFAULT_$LINE"
2958 eval "CACHE_$toolkit=1"
2960 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2961 if test "x$LINE" != "x" ; then
2962 eval "DEFAULT_$LINE"
2971 enablestring
=disable
2973 if test -z "$defaultval"; then
2974 if test x
"$enablestring" = xdisable
; then
2981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2982 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2983 # Check whether --enable-gui was given.
2984 if test "${enable_gui+set}" = set; then
2985 enableval
=$enable_gui;
2986 if test "$enableval" = yes; then
2987 wx_cv_use_gui
='wxUSE_GUI=yes'
2989 wx_cv_use_gui
='wxUSE_GUI=no'
2995 LINE
=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2996 if test "x$LINE" != x
; then
2997 eval "DEFAULT_$LINE"
3003 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3008 eval "$wx_cv_use_gui"
3009 if test "x$cache" = xyes; then
3010 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3013 if test x"$enablestring" = xdisable; then
3014 if test $wxUSE_GUI = yes; then
3023 { echo "$as_me:$LINENO: result: $result" >&5
3024 echo "${ECHO_T}$result" >&6; }
3029 if test -z "$defaultval"; then
3030 if test x"$enablestring" = xdisable; then
3037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3038 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3039 # Check whether --enable-monolithic was given.
3040 if test "${enable_monolithic+set}" = set; then
3041 enableval=$enable_monolithic;
3042 if test "$enableval" = yes; then
3043 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3045 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3051 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3052 if test "x$LINE" != x ; then
3053 eval "DEFAULT_$LINE"
3059 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3064 eval "$wx_cv_use_monolithic"
3065 if test "x
$cache" = xyes; then
3066 echo "wxUSE_MONOLITHIC
=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3069 if test x"$enablestring" = xdisable; then
3070 if test $wxUSE_MONOLITHIC = yes; then
3076 result=$wxUSE_MONOLITHIC
3079 { echo "$as_me:$LINENO: result
: $result" >&5
3080 echo "${ECHO_T}$result" >&6; }
3085 if test -z "$defaultval"; then
3086 if test x"$enablestring" = xdisable; then
3093 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3094 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3095 # Check whether --enable-plugins was given.
3096 if test "${enable_plugins+set}" = set; then
3097 enableval=$enable_plugins;
3098 if test "$enableval" = yes; then
3099 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3101 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3107 LINE=`grep "^wxUSE_PLUGINS
=" ${wx_arg_cache_file}`
3108 if test "x
$LINE" != x ; then
3109 eval "DEFAULT_
$LINE"
3115 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3120 eval "$wx_cv_use_plugins"
3121 if test "x$cache" = xyes
; then
3122 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3125 if test x
"$enablestring" = xdisable
; then
3126 if test $wxUSE_PLUGINS = yes; then
3132 result
=$wxUSE_PLUGINS
3135 { echo "$as_me:$LINENO: result: $result" >&5
3136 echo "${ECHO_T}$result" >&6; }
3140 defaultval
=$wxUSE_ALL_FEATURES
3141 if test -z "$defaultval"; then
3142 if test x
"$withstring" = xwithout
; then
3148 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3149 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3151 # Check whether --with-subdirs was given.
3152 if test "${with_subdirs+set}" = set; then
3153 withval
=$with_subdirs;
3154 if test "$withval" = yes; then
3155 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3157 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3163 LINE
=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3164 if test "x$LINE" != x
; then
3165 eval "DEFAULT_$LINE"
3171 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3176 eval "$wx_cv_use_subdirs"
3177 if test "x$cache" = xyes; then
3178 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3181 if test x"$withstring" = xwithout; then
3182 if test $wxWITH_SUBDIRS = yes; then
3188 result=$wxWITH_SUBDIRS
3191 { echo "$as_me:$LINENO: result: $result" >&5
3192 echo "${ECHO_T}$result" >&6; }
3195 # Check whether --with-flavour was given.
3196 if test "${with_flavour+set}" = set; then
3197 withval=$with_flavour; WX_FLAVOUR="$withval"
3203 if test -z "$defaultval"; then
3204 if test x"$enablestring" = xdisable; then
3211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3212 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3213 # Check whether --enable-official_build was given.
3214 if test "${enable_official_build+set}" = set; then
3215 enableval=$enable_official_build;
3216 if test "$enableval" = yes; then
3217 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3219 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3225 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3226 if test "x$LINE" != x ; then
3227 eval "DEFAULT_$LINE"
3233 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3238 eval "$wx_cv_use_official_build"
3239 if test "x
$cache" = xyes; then
3240 echo "wxUSE_OFFICIAL_BUILD
=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3243 if test x"$enablestring" = xdisable; then
3244 if test $wxUSE_OFFICIAL_BUILD = yes; then
3250 result=$wxUSE_OFFICIAL_BUILD
3253 { echo "$as_me:$LINENO: result
: $result" >&5
3254 echo "${ECHO_T}$result" >&6; }
3256 # Check whether --enable-vendor was given.
3257 if test "${enable_vendor+set}" = set; then
3258 enableval=$enable_vendor; VENDOR="$enableval"
3261 if test "x
$VENDOR" = "x
"; then
3266 enablestring=disable
3268 if test -z "$defaultval"; then
3269 if test x"$enablestring" = xdisable; then
3276 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3277 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3278 # Check whether --enable-all-features was given.
3279 if test "${enable_all_features+set}" = set; then
3280 enableval=$enable_all_features;
3281 if test "$enableval" = yes; then
3282 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3284 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3290 LINE=`grep "^wxUSE_ALL_FEATURES
=" ${wx_arg_cache_file}`
3291 if test "x
$LINE" != x ; then
3292 eval "DEFAULT_
$LINE"
3298 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3303 eval "$wx_cv_use_all_features"
3304 if test "x$cache" = xyes
; then
3305 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3308 if test x
"$enablestring" = xdisable
; then
3309 if test $wxUSE_ALL_FEATURES = yes; then
3315 result
=$wxUSE_ALL_FEATURES
3318 { echo "$as_me:$LINENO: result: $result" >&5
3319 echo "${ECHO_T}$result" >&6; }
3323 if test "$wxUSE_GUI" = "yes"; then
3328 if test -z "$defaultval"; then
3329 if test x
"$enablestring" = xdisable
; then
3336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3337 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3338 # Check whether --enable-universal was given.
3339 if test "${enable_universal+set}" = set; then
3340 enableval
=$enable_universal;
3341 if test "$enableval" = yes; then
3342 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3344 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3350 LINE
=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3351 if test "x$LINE" != x
; then
3352 eval "DEFAULT_$LINE"
3358 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3363 eval "$wx_cv_use_universal"
3364 if test "x$cache" = xyes; then
3365 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3368 if test x"$enablestring" = xdisable; then
3369 if test $wxUSE_UNIVERSAL = yes; then
3375 result=$wxUSE_UNIVERSAL
3378 { echo "$as_me:$LINENO: result: $result" >&5
3379 echo "${ECHO_T}$result" >&6; }
3381 if test "$wxUSE_UNIVERSAL" = "yes"; then
3383 # Check whether --with-themes was given.
3384 if test "${with_themes+set}" = set; then
3385 withval=$with_themes; wxUNIV_THEMES="$withval"
3391 # Check whether --with-gtk was given.
3392 if test "${with_gtk+set}" = set; then
3393 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3397 # Check whether --with-motif was given.
3398 if test "${with_motif+set}" = set; then
3399 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3403 # Check whether --with-mac was given.
3404 if test "${with_mac+set}" = set; then
3405 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3409 # Check whether --with-cocoa was given.
3410 if test "${with_cocoa+set}" = set; then
3411 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3415 # Check whether --with-wine was given.
3416 if test "${with_wine+set}" = set; then
3417 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3421 # Check whether --with-msw was given.
3422 if test "${with_msw+set}" = set; then
3423 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3427 # Check whether --with-pm was given.
3428 if test "${with_pm+set}" = set; then
3429 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3433 # Check whether --with-mgl was given.
3434 if test "${with_mgl+set}" = set; then
3435 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3439 # Check whether --with-directfb was given.
3440 if test "${with_directfb+set}" = set; then
3441 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3445 # Check whether --with-microwin was given.
3446 if test "${with_microwin+set}" = set; then
3447 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3451 # Check whether --with-x11 was given.
3452 if test "${with_x11+set}" = set; then
3453 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3459 if test -z "$defaultval"; then
3460 if test x"$enablestring" = xdisable; then
3467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3468 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3469 # Check whether --enable-nanox was given.
3470 if test "${enable_nanox+set}" = set; then
3471 enableval=$enable_nanox;
3472 if test "$enableval" = yes; then
3473 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3475 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3481 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3482 if test "x$LINE" != x ; then
3483 eval "DEFAULT_$LINE"
3489 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3494 eval "$wx_cv_use_nanox"
3495 if test "x
$cache" = xyes; then
3496 echo "wxUSE_NANOX
=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3499 if test x"$enablestring" = xdisable; then
3500 if test $wxUSE_NANOX = yes; then
3509 { echo "$as_me:$LINENO: result
: $result" >&5
3510 echo "${ECHO_T}$result" >&6; }
3513 # Check whether --enable-gtk2 was given.
3514 if test "${enable_gtk2+set}" = set; then
3515 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3521 if test -z "$defaultval"; then
3522 if test x"$enablestring" = xdisable; then
3529 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3530 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3531 # Check whether --enable-gpe was given.
3532 if test "${enable_gpe+set}" = set; then
3533 enableval=$enable_gpe;
3534 if test "$enableval" = yes; then
3535 wx_cv_use_gpe='wxUSE_GPE=yes'
3537 wx_cv_use_gpe='wxUSE_GPE=no'
3543 LINE=`grep "^wxUSE_GPE
=" ${wx_arg_cache_file}`
3544 if test "x
$LINE" != x ; then
3545 eval "DEFAULT_
$LINE"
3551 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3556 eval "$wx_cv_use_gpe"
3557 if test "x$cache" = xyes
; then
3558 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3561 if test x
"$enablestring" = xdisable
; then
3562 if test $wxUSE_GPE = yes; then
3571 { echo "$as_me:$LINENO: result: $result" >&5
3572 echo "${ECHO_T}$result" >&6; }
3577 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3578 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3580 # Check whether --with-libpng was given.
3581 if test "${with_libpng+set}" = set; then
3582 withval
=$with_libpng;
3583 if test "$withval" = yes; then
3584 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3585 elif test "$withval" = no
; then
3586 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3587 elif test "$withval" = sys
; then
3588 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3589 elif test "$withval" = builtin; then
3590 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3592 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3593 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3594 { (exit 1); exit 1; }; }
3600 LINE
=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3601 if test "x$LINE" != x
; then
3602 eval "DEFAULT_$LINE"
3608 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3613 eval "$wx_cv_use_libpng"
3614 if test "x$cache" = xyes; then
3615 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3618 if test "$wxUSE_LIBPNG" = yes; then
3619 { echo "$as_me:$LINENO: result: yes" >&5
3620 echo "${ECHO_T}yes" >&6; }
3621 elif test "$wxUSE_LIBPNG" = no; then
3622 { echo "$as_me:$LINENO: result: no" >&5
3623 echo "${ECHO_T}no" >&6; }
3624 elif test "$wxUSE_LIBPNG" = sys; then
3625 { echo "$as_me:$LINENO: result: system version" >&5
3626 echo "${ECHO_T}system version" >&6; }
3627 elif test "$wxUSE_LIBPNG" = builtin; then
3628 { echo "$as_me:$LINENO: result: builtin version" >&5
3629 echo "${ECHO_T}builtin version" >&6; }
3631 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3632 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3633 { (exit 1); exit 1; }; }
3637 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3638 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3640 # Check whether --with-libjpeg was given.
3641 if test "${with_libjpeg+set}" = set; then
3642 withval=$with_libjpeg;
3643 if test "$withval" = yes; then
3644 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3645 elif test "$withval" = no; then
3646 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3647 elif test "$withval" = sys; then
3648 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3649 elif test "$withval" = builtin; then
3650 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3652 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3653 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3654 { (exit 1); exit 1; }; }
3660 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3661 if test "x$LINE" != x ; then
3662 eval "DEFAULT_$LINE"
3668 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3673 eval "$wx_cv_use_libjpeg"
3674 if test "x
$cache" = xyes; then
3675 echo "wxUSE_LIBJPEG
=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3678 if test "$wxUSE_LIBJPEG" = yes; then
3679 { echo "$as_me:$LINENO: result
: yes" >&5
3680 echo "${ECHO_T}yes" >&6; }
3681 elif test "$wxUSE_LIBJPEG" = no; then
3682 { echo "$as_me:$LINENO: result
: no
" >&5
3683 echo "${ECHO_T}no
" >&6; }
3684 elif test "$wxUSE_LIBJPEG" = sys; then
3685 { echo "$as_me:$LINENO: result
: system version
" >&5
3686 echo "${ECHO_T}system version
" >&6; }
3687 elif test "$wxUSE_LIBJPEG" = builtin; then
3688 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3689 echo "${ECHO_T}builtin version
" >&6; }
3691 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3692 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3693 { (exit 1); exit 1; }; }
3697 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3698 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3700 # Check whether --with-libtiff was given.
3701 if test "${with_libtiff+set}" = set; then
3702 withval=$with_libtiff;
3703 if test "$withval" = yes; then
3704 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3705 elif test "$withval" = no; then
3706 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3707 elif test "$withval" = sys; then
3708 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3709 elif test "$withval" = builtin; then
3710 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3712 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3713 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3714 { (exit 1); exit 1; }; }
3720 LINE=`grep "^wxUSE_LIBTIFF
=" ${wx_arg_cache_file}`
3721 if test "x
$LINE" != x ; then
3722 eval "DEFAULT_
$LINE"
3728 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3733 eval "$wx_cv_use_libtiff"
3734 if test "x$cache" = xyes
; then
3735 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3738 if test "$wxUSE_LIBTIFF" = yes; then
3739 { echo "$as_me:$LINENO: result: yes" >&5
3740 echo "${ECHO_T}yes" >&6; }
3741 elif test "$wxUSE_LIBTIFF" = no
; then
3742 { echo "$as_me:$LINENO: result: no" >&5
3743 echo "${ECHO_T}no" >&6; }
3744 elif test "$wxUSE_LIBTIFF" = sys
; then
3745 { echo "$as_me:$LINENO: result: system version" >&5
3746 echo "${ECHO_T}system version" >&6; }
3747 elif test "$wxUSE_LIBTIFF" = builtin; then
3748 { echo "$as_me:$LINENO: result: builtin version" >&5
3749 echo "${ECHO_T}builtin version" >&6; }
3751 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3752 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3753 { (exit 1); exit 1; }; }
3757 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3758 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3760 # Check whether --with-libxpm was given.
3761 if test "${with_libxpm+set}" = set; then
3762 withval
=$with_libxpm;
3763 if test "$withval" = yes; then
3764 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3765 elif test "$withval" = no
; then
3766 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3767 elif test "$withval" = sys
; then
3768 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3769 elif test "$withval" = builtin; then
3770 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3772 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3773 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3774 { (exit 1); exit 1; }; }
3780 LINE
=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3781 if test "x$LINE" != x
; then
3782 eval "DEFAULT_$LINE"
3788 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3793 eval "$wx_cv_use_libxpm"
3794 if test "x$cache" = xyes; then
3795 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3798 if test "$wxUSE_LIBXPM" = yes; then
3799 { echo "$as_me:$LINENO: result: yes" >&5
3800 echo "${ECHO_T}yes" >&6; }
3801 elif test "$wxUSE_LIBXPM" = no; then
3802 { echo "$as_me:$LINENO: result: no" >&5
3803 echo "${ECHO_T}no" >&6; }
3804 elif test "$wxUSE_LIBXPM" = sys; then
3805 { echo "$as_me:$LINENO: result: system version" >&5
3806 echo "${ECHO_T}system version" >&6; }
3807 elif test "$wxUSE_LIBXPM" = builtin; then
3808 { echo "$as_me:$LINENO: result: builtin version" >&5
3809 echo "${ECHO_T}builtin version" >&6; }
3811 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3812 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3813 { (exit 1); exit 1; }; }
3818 defaultval=$wxUSE_ALL_FEATURES
3819 if test -z "$defaultval"; then
3820 if test x"$withstring" = xwithout; then
3826 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3827 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3829 # Check whether --with-libmspack was given.
3830 if test "${with_libmspack+set}" = set; then
3831 withval=$with_libmspack;
3832 if test "$withval" = yes; then
3833 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3835 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3841 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3842 if test "x$LINE" != x ; then
3843 eval "DEFAULT_$LINE"
3849 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3854 eval "$wx_cv_use_libmspack"
3855 if test "x
$cache" = xyes; then
3856 echo "wxUSE_LIBMSPACK
=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3859 if test x"$withstring" = xwithout; then
3860 if test $wxUSE_LIBMSPACK = yes; then
3866 result=$wxUSE_LIBMSPACK
3869 { echo "$as_me:$LINENO: result
: $result" >&5
3870 echo "${ECHO_T}$result" >&6; }
3874 defaultval=$wxUSE_ALL_FEATURES
3875 if test -z "$defaultval"; then
3876 if test x"$withstring" = xwithout; then
3882 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gtkprint" >&5
3883 echo $ECHO_N "checking
for --${withstring:-with}-gtkprint...
$ECHO_C" >&6; }
3885 # Check whether --with-gtkprint was given.
3886 if test "${with_gtkprint+set}" = set; then
3887 withval=$with_gtkprint;
3888 if test "$withval" = yes; then
3889 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3891 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3897 LINE=`grep "^wxUSE_GTKPRINT
=" ${wx_arg_cache_file}`
3898 if test "x
$LINE" != x ; then
3899 eval "DEFAULT_
$LINE"
3905 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3910 eval "$wx_cv_use_gtkprint"
3911 if test "x$cache" = xyes
; then
3912 echo "wxUSE_GTKPRINT=$wxUSE_GTKPRINT" >> ${wx_arg_cache_file}.tmp
3915 if test x
"$withstring" = xwithout
; then
3916 if test $wxUSE_GTKPRINT = yes; then
3922 result
=$wxUSE_GTKPRINT
3925 { echo "$as_me:$LINENO: result: $result" >&5
3926 echo "${ECHO_T}$result" >&6; }
3930 defaultval
=$wxUSE_ALL_FEATURES
3931 if test -z "$defaultval"; then
3932 if test x
"$withstring" = xwithout
; then
3938 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3939 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3941 # Check whether --with-gnomeprint was given.
3942 if test "${with_gnomeprint+set}" = set; then
3943 withval
=$with_gnomeprint;
3944 if test "$withval" = yes; then
3945 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3947 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3953 LINE
=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3954 if test "x$LINE" != x
; then
3955 eval "DEFAULT_$LINE"
3961 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3966 eval "$wx_cv_use_gnomeprint"
3967 if test "x$cache" = xyes; then
3968 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3971 if test x"$withstring" = xwithout; then
3972 if test $wxUSE_LIBGNOMEPRINT = yes; then
3978 result=$wxUSE_LIBGNOMEPRINT
3981 { echo "$as_me:$LINENO: result: $result" >&5
3982 echo "${ECHO_T}$result" >&6; }
3986 defaultval=$wxUSE_ALL_FEATURES
3987 if test -z "$defaultval"; then
3988 if test x"$withstring" = xwithout; then
3994 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3995 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3997 # Check whether --with-gnomevfs was given.
3998 if test "${with_gnomevfs+set}" = set; then
3999 withval=$with_gnomevfs;
4000 if test "$withval" = yes; then
4001 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=yes'
4003 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=no
'
4009 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
4010 if test "x$LINE" != x ; then
4011 eval "DEFAULT_$LINE"
4017 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4022 eval "$wx_cv_use_gnomevfs"
4023 if test "x
$cache" = xyes; then
4024 echo "wxUSE_LIBGNOMEVFS
=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
4027 if test x"$withstring" = xwithout; then
4028 if test $wxUSE_LIBGNOMEVFS = yes; then
4034 result=$wxUSE_LIBGNOMEVFS
4037 { echo "$as_me:$LINENO: result
: $result" >&5
4038 echo "${ECHO_T}$result" >&6; }
4042 defaultval=$wxUSE_ALL_FEATURES
4043 if test -z "$defaultval"; then
4044 if test x"$withstring" = xwithout; then
4050 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-hildon" >&5
4051 echo $ECHO_N "checking
for --${withstring:-with}-hildon...
$ECHO_C" >&6; }
4053 # Check whether --with-hildon was given.
4054 if test "${with_hildon+set}" = set; then
4055 withval=$with_hildon;
4056 if test "$withval" = yes; then
4057 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4059 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4065 LINE=`grep "^wxUSE_LIBHILDON
=" ${wx_arg_cache_file}`
4066 if test "x
$LINE" != x ; then
4067 eval "DEFAULT_
$LINE"
4073 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4078 eval "$wx_cv_use_hildon"
4079 if test "x$cache" = xyes
; then
4080 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
4083 if test x
"$withstring" = xwithout
; then
4084 if test $wxUSE_LIBHILDON = yes; then
4090 result
=$wxUSE_LIBHILDON
4093 { echo "$as_me:$LINENO: result: $result" >&5
4094 echo "${ECHO_T}$result" >&6; }
4098 defaultval
=$wxUSE_ALL_FEATURES
4099 if test -z "$defaultval"; then
4100 if test x
"$withstring" = xwithout
; then
4106 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4107 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4109 # Check whether --with-opengl was given.
4110 if test "${with_opengl+set}" = set; then
4111 withval
=$with_opengl;
4112 if test "$withval" = yes; then
4113 wx_cv_use_opengl
='wxUSE_OPENGL=yes'
4115 wx_cv_use_opengl
='wxUSE_OPENGL=no'
4121 LINE
=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4122 if test "x$LINE" != x
; then
4123 eval "DEFAULT_$LINE"
4129 wx_cv_use_opengl
='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4134 eval "$wx_cv_use_opengl"
4135 if test "x$cache" = xyes; then
4136 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4139 if test x"$withstring" = xwithout; then
4140 if test $wxUSE_OPENGL = yes; then
4146 result=$wxUSE_OPENGL
4149 { echo "$as_me:$LINENO: result: $result" >&5
4150 echo "${ECHO_T}$result" >&6; }
4157 defaultval=$wxUSE_ALL_FEATURES
4158 if test -z "$defaultval"; then
4159 if test x"$withstring" = xwithout; then
4165 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4166 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4168 # Check whether --with-dmalloc was given.
4169 if test "${with_dmalloc+set}" = set; then
4170 withval=$with_dmalloc;
4171 if test "$withval" = yes; then
4172 wx_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
4174 wx_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
4180 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4181 if test "x$LINE" != x ; then
4182 eval "DEFAULT_$LINE"
4188 wx_cv_use_dmalloc='wxUSE_DMALLOC
=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4193 eval "$wx_cv_use_dmalloc"
4194 if test "x
$cache" = xyes; then
4195 echo "wxUSE_DMALLOC
=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4198 if test x"$withstring" = xwithout; then
4199 if test $wxUSE_DMALLOC = yes; then
4205 result=$wxUSE_DMALLOC
4208 { echo "$as_me:$LINENO: result
: $result" >&5
4209 echo "${ECHO_T}$result" >&6; }
4213 defaultval=$wxUSE_ALL_FEATURES
4214 if test -z "$defaultval"; then
4215 if test x"$withstring" = xwithout; then
4221 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-sdl" >&5
4222 echo $ECHO_N "checking
for --${withstring:-with}-sdl...
$ECHO_C" >&6; }
4224 # Check whether --with-sdl was given.
4225 if test "${with_sdl+set}" = set; then
4227 if test "$withval" = yes; then
4228 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4230 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4236 LINE=`grep "^wxUSE_LIBSDL
=" ${wx_arg_cache_file}`
4237 if test "x
$LINE" != x ; then
4238 eval "DEFAULT_
$LINE"
4244 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4249 eval "$wx_cv_use_sdl"
4250 if test "x$cache" = xyes
; then
4251 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4254 if test x
"$withstring" = xwithout
; then
4255 if test $wxUSE_LIBSDL = yes; then
4261 result
=$wxUSE_LIBSDL
4264 { echo "$as_me:$LINENO: result: $result" >&5
4265 echo "${ECHO_T}$result" >&6; }
4268 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4269 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4271 # Check whether --with-regex was given.
4272 if test "${with_regex+set}" = set; then
4273 withval
=$with_regex;
4274 if test "$withval" = yes; then
4275 wx_cv_use_regex
='wxUSE_REGEX=yes'
4276 elif test "$withval" = no
; then
4277 wx_cv_use_regex
='wxUSE_REGEX=no'
4278 elif test "$withval" = sys
; then
4279 wx_cv_use_regex
='wxUSE_REGEX=sys'
4280 elif test "$withval" = builtin; then
4281 wx_cv_use_regex
='wxUSE_REGEX=builtin'
4283 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4284 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4285 { (exit 1); exit 1; }; }
4291 LINE
=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4292 if test "x$LINE" != x
; then
4293 eval "DEFAULT_$LINE"
4299 wx_cv_use_regex
='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4304 eval "$wx_cv_use_regex"
4305 if test "x$cache" = xyes; then
4306 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4309 if test "$wxUSE_REGEX" = yes; then
4310 { echo "$as_me:$LINENO: result: yes" >&5
4311 echo "${ECHO_T}yes" >&6; }
4312 elif test "$wxUSE_REGEX" = no; then
4313 { echo "$as_me:$LINENO: result: no" >&5
4314 echo "${ECHO_T}no" >&6; }
4315 elif test "$wxUSE_REGEX" = sys; then
4316 { echo "$as_me:$LINENO: result: system version" >&5
4317 echo "${ECHO_T}system version" >&6; }
4318 elif test "$wxUSE_REGEX" = builtin; then
4319 { echo "$as_me:$LINENO: result: builtin version" >&5
4320 echo "${ECHO_T}builtin version" >&6; }
4322 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4323 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4324 { (exit 1); exit 1; }; }
4328 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4329 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4331 # Check whether --with-zlib was given.
4332 if test "${with_zlib+set}" = set; then
4334 if test "$withval" = yes; then
4335 wx_cv_use_zlib='wxUSE_ZLIB
=yes'
4336 elif test "$withval" = no; then
4337 wx_cv_use_zlib='wxUSE_ZLIB
=no
'
4338 elif test "$withval" = sys; then
4339 wx_cv_use_zlib='wxUSE_ZLIB
=sys
'
4340 elif test "$withval" = builtin; then
4341 wx_cv_use_zlib='wxUSE_ZLIB
=builtin'
4343 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4344 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4345 { (exit 1); exit 1; }; }
4351 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4352 if test "x$LINE" != x ; then
4353 eval "DEFAULT_$LINE"
4359 wx_cv_use_zlib='wxUSE_ZLIB
=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4364 eval "$wx_cv_use_zlib"
4365 if test "x
$cache" = xyes; then
4366 echo "wxUSE_ZLIB
=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4369 if test "$wxUSE_ZLIB" = yes; then
4370 { echo "$as_me:$LINENO: result
: yes" >&5
4371 echo "${ECHO_T}yes" >&6; }
4372 elif test "$wxUSE_ZLIB" = no; then
4373 { echo "$as_me:$LINENO: result
: no
" >&5
4374 echo "${ECHO_T}no
" >&6; }
4375 elif test "$wxUSE_ZLIB" = sys; then
4376 { echo "$as_me:$LINENO: result
: system version
" >&5
4377 echo "${ECHO_T}system version
" >&6; }
4378 elif test "$wxUSE_ZLIB" = builtin; then
4379 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4380 echo "${ECHO_T}builtin version
" >&6; }
4382 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4383 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4384 { (exit 1); exit 1; }; }
4388 { echo "$as_me:$LINENO: checking
for --with-expat" >&5
4389 echo $ECHO_N "checking
for --with-expat...
$ECHO_C" >&6; }
4391 # Check whether --with-expat was given.
4392 if test "${with_expat+set}" = set; then
4393 withval=$with_expat;
4394 if test "$withval" = yes; then
4395 wx_cv_use_expat='wxUSE_EXPAT=yes'
4396 elif test "$withval" = no; then
4397 wx_cv_use_expat='wxUSE_EXPAT=no'
4398 elif test "$withval" = sys; then
4399 wx_cv_use_expat='wxUSE_EXPAT=sys'
4400 elif test "$withval" = builtin; then
4401 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4403 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-expat: should be
yes, no
, sys
, or
builtin" >&5
4404 echo "$as_me: error
: Invalid value
for --with-expat: should be
yes, no
, sys
, or
builtin" >&2;}
4405 { (exit 1); exit 1; }; }
4411 LINE=`grep "^wxUSE_EXPAT
=" ${wx_arg_cache_file}`
4412 if test "x
$LINE" != x ; then
4413 eval "DEFAULT_
$LINE"
4419 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4424 eval "$wx_cv_use_expat"
4425 if test "x$cache" = xyes
; then
4426 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4429 if test "$wxUSE_EXPAT" = yes; then
4430 { echo "$as_me:$LINENO: result: yes" >&5
4431 echo "${ECHO_T}yes" >&6; }
4432 elif test "$wxUSE_EXPAT" = no
; then
4433 { echo "$as_me:$LINENO: result: no" >&5
4434 echo "${ECHO_T}no" >&6; }
4435 elif test "$wxUSE_EXPAT" = sys
; then
4436 { echo "$as_me:$LINENO: result: system version" >&5
4437 echo "${ECHO_T}system version" >&6; }
4438 elif test "$wxUSE_EXPAT" = builtin; then
4439 { echo "$as_me:$LINENO: result: builtin version" >&5
4440 echo "${ECHO_T}builtin version" >&6; }
4442 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4443 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4444 { (exit 1); exit 1; }; }
4448 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4449 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4451 # Check whether --with-macosx-sdk was given.
4452 if test "${with_macosx_sdk+set}" = set; then
4453 withval
=$with_macosx_sdk;
4454 wxUSE_MACOSX_SDK
=$withval
4455 wx_cv_use_macosx_sdk
="wxUSE_MACOSX_SDK=$withval"
4456 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
4460 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
4461 # will override --enable-universal_binary's automatic SDK usage.
4463 LINE
=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
4464 if test "x$LINE" != x
; then
4466 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4471 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4472 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4474 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4475 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4477 # Check whether --with-macosx-version-min was given.
4478 if test "${with_macosx_version_min+set}" = set; then
4479 withval
=$with_macosx_version_min;
4480 wxUSE_MACOSX_VERSION_MIN
=$withval
4481 wx_cv_use_macosx_version_min
="wxUSE_MACOSX_VERSION_MIN=$withval"
4482 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
4486 # default "yes" because when not using an SDK it means the same as no
4487 # but when using an SDK it means to use the SDK version
4488 wxUSE_MACOSX_VERSION_MIN
=yes
4489 # See if there is a value in the cache
4490 LINE
=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
4491 if test "x$LINE" != x
; then
4493 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4498 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4499 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4503 enablestring
=disable
4505 if test -z "$defaultval"; then
4506 if test x
"$enablestring" = xdisable
; then
4513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4514 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4515 # Check whether --enable-shared was given.
4516 if test "${enable_shared+set}" = set; then
4517 enableval
=$enable_shared;
4518 if test "$enableval" = yes; then
4519 wx_cv_use_shared
='wxUSE_SHARED=yes'
4521 wx_cv_use_shared
='wxUSE_SHARED=no'
4527 LINE
=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4528 if test "x$LINE" != x
; then
4529 eval "DEFAULT_$LINE"
4535 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4540 eval "$wx_cv_use_shared"
4541 if test "x$cache" = xyes; then
4542 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4545 if test x"$enablestring" = xdisable; then
4546 if test $wxUSE_SHARED = yes; then
4552 result=$wxUSE_SHARED
4555 { echo "$as_me:$LINENO: result: $result" >&5
4556 echo "${ECHO_T}$result" >&6; }
4559 enablestring=disable
4561 if test -z "$defaultval"; then
4562 if test x"$enablestring" = xdisable; then
4569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4570 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4571 # Check whether --enable-optimise was given.
4572 if test "${enable_optimise+set}" = set; then
4573 enableval=$enable_optimise;
4574 if test "$enableval" = yes; then
4575 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4577 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4583 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4584 if test "x$LINE" != x ; then
4585 eval "DEFAULT_$LINE"
4591 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4596 eval "$wx_cv_use_optimise"
4597 if test "x
$cache" = xyes; then
4598 echo "wxUSE_OPTIMISE
=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4601 if test x"$enablestring" = xdisable; then
4602 if test $wxUSE_OPTIMISE = yes; then
4608 result=$wxUSE_OPTIMISE
4611 { echo "$as_me:$LINENO: result
: $result" >&5
4612 echo "${ECHO_T}$result" >&6; }
4617 if test -z "$defaultval"; then
4618 if test x"$enablestring" = xdisable; then
4625 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4626 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4627 # Check whether --enable-debug was given.
4628 if test "${enable_debug+set}" = set; then
4629 enableval=$enable_debug;
4630 if test "$enableval" = yes; then
4631 wx_cv_use_debug='wxUSE_DEBUG=yes'
4633 wx_cv_use_debug='wxUSE_DEBUG=no'
4639 LINE=`grep "^wxUSE_DEBUG
=" ${wx_arg_cache_file}`
4640 if test "x
$LINE" != x ; then
4641 eval "DEFAULT_
$LINE"
4647 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4652 eval "$wx_cv_use_debug"
4653 if test "x$cache" = xyes
; then
4654 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4657 if test x
"$enablestring" = xdisable
; then
4658 if test $wxUSE_DEBUG = yes; then
4667 { echo "$as_me:$LINENO: result: $result" >&5
4668 echo "${ECHO_T}$result" >&6; }
4673 if test -z "$defaultval"; then
4674 if test x
"$enablestring" = xdisable
; then
4681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4682 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4683 # Check whether --enable-stl was given.
4684 if test "${enable_stl+set}" = set; then
4685 enableval
=$enable_stl;
4686 if test "$enableval" = yes; then
4687 wx_cv_use_stl
='wxUSE_STL=yes'
4689 wx_cv_use_stl
='wxUSE_STL=no'
4695 LINE
=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4696 if test "x$LINE" != x
; then
4697 eval "DEFAULT_$LINE"
4703 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4708 eval "$wx_cv_use_stl"
4709 if test "x$cache" = xyes; then
4710 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4713 if test x"$enablestring" = xdisable; then
4714 if test $wxUSE_STL = yes; then
4723 { echo "$as_me:$LINENO: result: $result" >&5
4724 echo "${ECHO_T}$result" >&6; }
4729 if test -z "$defaultval"; then
4730 if test x"$enablestring" = xdisable; then
4737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4738 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4739 # Check whether --enable-std_iostreams was given.
4740 if test "${enable_std_iostreams+set}" = set; then
4741 enableval=$enable_std_iostreams;
4742 if test "$enableval" = yes; then
4743 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4745 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4751 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4752 if test "x$LINE" != x ; then
4753 eval "DEFAULT_$LINE"
4759 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4764 eval "$wx_cv_use_std_iostreams"
4765 if test "x
$cache" = xyes; then
4766 echo "wxUSE_STD_IOSTREAM
=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4769 if test x"$enablestring" = xdisable; then
4770 if test $wxUSE_STD_IOSTREAM = yes; then
4776 result=$wxUSE_STD_IOSTREAM
4779 { echo "$as_me:$LINENO: result
: $result" >&5
4780 echo "${ECHO_T}$result" >&6; }
4785 if test -z "$defaultval"; then
4786 if test x"$enablestring" = xdisable; then
4793 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4794 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4795 # Check whether --enable-std_string was given.
4796 if test "${enable_std_string+set}" = set; then
4797 enableval=$enable_std_string;
4798 if test "$enableval" = yes; then
4799 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4801 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4807 LINE=`grep "^wxUSE_STD_STRING
=" ${wx_arg_cache_file}`
4808 if test "x
$LINE" != x ; then
4809 eval "DEFAULT_
$LINE"
4815 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4820 eval "$wx_cv_use_std_string"
4821 if test "x$cache" = xyes
; then
4822 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4825 if test x
"$enablestring" = xdisable
; then
4826 if test $wxUSE_STD_STRING = yes; then
4832 result
=$wxUSE_STD_STRING
4835 { echo "$as_me:$LINENO: result: $result" >&5
4836 echo "${ECHO_T}$result" >&6; }
4839 enablestring
=disable
4841 if test -z "$defaultval"; then
4842 if test x
"$enablestring" = xdisable
; then
4849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4850 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4851 # Check whether --enable-unicode was given.
4852 if test "${enable_unicode+set}" = set; then
4853 enableval
=$enable_unicode;
4854 if test "$enableval" = yes; then
4855 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4857 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4863 LINE
=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4864 if test "x$LINE" != x
; then
4865 eval "DEFAULT_$LINE"
4871 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4876 eval "$wx_cv_use_unicode"
4877 if test "x$cache" = xyes; then
4878 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4881 if test x"$enablestring" = xdisable; then
4882 if test $wxUSE_UNICODE = yes; then
4888 result=$wxUSE_UNICODE
4891 { echo "$as_me:$LINENO: result: $result" >&5
4892 echo "${ECHO_T}$result" >&6; }
4897 if test -z "$defaultval"; then
4898 if test x"$enablestring" = xdisable; then
4905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4906 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4907 # Check whether --enable-mslu was given.
4908 if test "${enable_mslu+set}" = set; then
4909 enableval=$enable_mslu;
4910 if test "$enableval" = yes; then
4911 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4913 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4919 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4920 if test "x$LINE" != x ; then
4921 eval "DEFAULT_$LINE"
4927 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4932 eval "$wx_cv_use_mslu"
4933 if test "x
$cache" = xyes; then
4934 echo "wxUSE_UNICODE_MSLU
=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4937 if test x"$enablestring" = xdisable; then
4938 if test $wxUSE_UNICODE_MSLU = yes; then
4944 result=$wxUSE_UNICODE_MSLU
4947 { echo "$as_me:$LINENO: result
: $result" >&5
4948 echo "${ECHO_T}$result" >&6; }
4952 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4953 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
4954 # Check whether --enable-utf8 was given.
4955 if test "${enable_utf8+set}" = set; then
4956 enableval=$enable_utf8;
4957 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4962 LINE=`grep "^wxUSE_UNICODE_UTF8
=" ${wx_arg_cache_file}`
4963 if test "x
$LINE" != x ; then
4964 eval "DEFAULT_
$LINE"
4970 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4975 eval "$wx_cv_use_utf8"
4976 if test "x
$cache" = xyes; then
4977 echo "wxUSE_UNICODE_UTF8
=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4980 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4981 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4986 if test -z "$defaultval"; then
4987 if test x"$enablestring" = xdisable; then
4994 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
4995 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
4996 # Check whether --enable-utf8only was given.
4997 if test "${enable_utf8only+set}" = set; then
4998 enableval=$enable_utf8only;
4999 if test "$enableval" = yes; then
5000 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5002 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5008 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE
=" ${wx_arg_cache_file}`
5009 if test "x
$LINE" != x ; then
5010 eval "DEFAULT_
$LINE"
5016 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5021 eval "$wx_cv_use_utf8only"
5022 if test "x$cache" = xyes
; then
5023 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
5026 if test x
"$enablestring" = xdisable
; then
5027 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
5033 result
=$wxUSE_UNICODE_UTF8_LOCALE
5036 { echo "$as_me:$LINENO: result: $result" >&5
5037 echo "${ECHO_T}$result" >&6; }
5042 if test -z "$defaultval"; then
5043 if test x
"$enablestring" = xdisable
; then
5050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5051 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5052 # Check whether --enable-extended_rtti was given.
5053 if test "${enable_extended_rtti+set}" = set; then
5054 enableval
=$enable_extended_rtti;
5055 if test "$enableval" = yes; then
5056 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
5058 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
5064 LINE
=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5065 if test "x$LINE" != x
; then
5066 eval "DEFAULT_$LINE"
5072 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5077 eval "$wx_cv_use_extended_rtti"
5078 if test "x$cache" = xyes; then
5079 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5082 if test x"$enablestring" = xdisable; then
5083 if test $wxUSE_EXTENDED_RTTI = yes; then
5089 result=$wxUSE_EXTENDED_RTTI
5092 { echo "$as_me:$LINENO: result: $result" >&5
5093 echo "${ECHO_T}$result" >&6; }
5095 if test "$USE_OS2" = 1; then
5096 DEFAULT_wxUSE_OMF=no
5100 if test -z "$defaultval"; then
5101 if test x"$enablestring" = xdisable; then
5108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5109 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5110 # Check whether --enable-omf was given.
5111 if test "${enable_omf+set}" = set; then
5112 enableval=$enable_omf;
5113 if test "$enableval" = yes; then
5114 wx_cv_use_omf='wxUSE_OMF
=yes'
5116 wx_cv_use_omf='wxUSE_OMF
=no
'
5122 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5123 if test "x$LINE" != x ; then
5124 eval "DEFAULT_$LINE"
5130 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5135 eval "$wx_cv_use_omf"
5136 if test "x
$cache" = xyes; then
5137 echo "wxUSE_OMF
=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5140 if test x"$enablestring" = xdisable; then
5141 if test $wxUSE_OMF = yes; then
5150 { echo "$as_me:$LINENO: result
: $result" >&5
5151 echo "${ECHO_T}$result" >&6; }
5155 if test "$wxUSE_DEBUG" = "yes"; then
5156 DEFAULT_wxUSE_DEBUG_FLAG=yes
5157 DEFAULT_wxUSE_DEBUG_INFO=yes
5159 elif test "$wxUSE_DEBUG" = "no
"; then
5160 DEFAULT_wxUSE_DEBUG_FLAG=no
5161 DEFAULT_wxUSE_DEBUG_INFO=no
5168 if test -z "$defaultval"; then
5169 if test x"$enablestring" = xdisable; then
5176 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
5177 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
5178 # Check whether --enable-debug_flag was given.
5179 if test "${enable_debug_flag+set}" = set; then
5180 enableval=$enable_debug_flag;
5181 if test "$enableval" = yes; then
5182 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5184 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5190 LINE=`grep "^wxUSE_DEBUG_FLAG
=" ${wx_arg_cache_file}`
5191 if test "x
$LINE" != x ; then
5192 eval "DEFAULT_
$LINE"
5198 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5203 eval "$wx_cv_use_debug_flag"
5204 if test "x$cache" = xyes
; then
5205 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5208 if test x
"$enablestring" = xdisable
; then
5209 if test $wxUSE_DEBUG_FLAG = yes; then
5215 result
=$wxUSE_DEBUG_FLAG
5218 { echo "$as_me:$LINENO: result: $result" >&5
5219 echo "${ECHO_T}$result" >&6; }
5224 if test -z "$defaultval"; then
5225 if test x
"$enablestring" = xdisable
; then
5232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5233 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5234 # Check whether --enable-debug_info was given.
5235 if test "${enable_debug_info+set}" = set; then
5236 enableval
=$enable_debug_info;
5237 if test "$enableval" = yes; then
5238 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
5240 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
5246 LINE
=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5247 if test "x$LINE" != x
; then
5248 eval "DEFAULT_$LINE"
5254 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5259 eval "$wx_cv_use_debug_info"
5260 if test "x$cache" = xyes; then
5261 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5264 if test x"$enablestring" = xdisable; then
5265 if test $wxUSE_DEBUG_INFO = yes; then
5271 result=$wxUSE_DEBUG_INFO
5274 { echo "$as_me:$LINENO: result: $result" >&5
5275 echo "${ECHO_T}$result" >&6; }
5280 if test -z "$defaultval"; then
5281 if test x"$enablestring" = xdisable; then
5288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5289 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5290 # Check whether --enable-debug_gdb was given.
5291 if test "${enable_debug_gdb+set}" = set; then
5292 enableval=$enable_debug_gdb;
5293 if test "$enableval" = yes; then
5294 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
5296 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
5302 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5303 if test "x$LINE" != x ; then
5304 eval "DEFAULT_$LINE"
5310 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5315 eval "$wx_cv_use_debug_gdb"
5316 if test "x
$cache" = xyes; then
5317 echo "wxUSE_DEBUG_GDB
=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5320 if test x"$enablestring" = xdisable; then
5321 if test $wxUSE_DEBUG_GDB = yes; then
5327 result=$wxUSE_DEBUG_GDB
5330 { echo "$as_me:$LINENO: result
: $result" >&5
5331 echo "${ECHO_T}$result" >&6; }
5336 if test -z "$defaultval"; then
5337 if test x"$enablestring" = xdisable; then
5344 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_cntxt" >&5
5345 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_cntxt...
$ECHO_C" >&6; }
5346 # Check whether --enable-debug_cntxt was given.
5347 if test "${enable_debug_cntxt+set}" = set; then
5348 enableval=$enable_debug_cntxt;
5349 if test "$enableval" = yes; then
5350 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5352 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5358 LINE=`grep "^wxUSE_DEBUG_CONTEXT
=" ${wx_arg_cache_file}`
5359 if test "x
$LINE" != x ; then
5360 eval "DEFAULT_
$LINE"
5366 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5371 eval "$wx_cv_use_debug_cntxt"
5372 if test "x$cache" = xyes
; then
5373 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5376 if test x
"$enablestring" = xdisable
; then
5377 if test $wxUSE_DEBUG_CONTEXT = yes; then
5383 result
=$wxUSE_DEBUG_CONTEXT
5386 { echo "$as_me:$LINENO: result: $result" >&5
5387 echo "${ECHO_T}$result" >&6; }
5392 if test -z "$defaultval"; then
5393 if test x
"$enablestring" = xdisable
; then
5400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5401 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5402 # Check whether --enable-mem_tracing was given.
5403 if test "${enable_mem_tracing+set}" = set; then
5404 enableval
=$enable_mem_tracing;
5405 if test "$enableval" = yes; then
5406 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
5408 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
5414 LINE
=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5415 if test "x$LINE" != x
; then
5416 eval "DEFAULT_$LINE"
5422 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5427 eval "$wx_cv_use_mem_tracing"
5428 if test "x$cache" = xyes; then
5429 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5432 if test x"$enablestring" = xdisable; then
5433 if test $wxUSE_MEM_TRACING = yes; then
5439 result=$wxUSE_MEM_TRACING
5442 { echo "$as_me:$LINENO: result: $result" >&5
5443 echo "${ECHO_T}$result" >&6; }
5448 if test -z "$defaultval"; then
5449 if test x"$enablestring" = xdisable; then
5456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5457 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5458 # Check whether --enable-profile was given.
5459 if test "${enable_profile+set}" = set; then
5460 enableval=$enable_profile;
5461 if test "$enableval" = yes; then
5462 wx_cv_use_profile='wxUSE_PROFILE
=yes'
5464 wx_cv_use_profile='wxUSE_PROFILE
=no
'
5470 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5471 if test "x$LINE" != x ; then
5472 eval "DEFAULT_$LINE"
5478 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5483 eval "$wx_cv_use_profile"
5484 if test "x
$cache" = xyes; then
5485 echo "wxUSE_PROFILE
=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5488 if test x"$enablestring" = xdisable; then
5489 if test $wxUSE_PROFILE = yes; then
5495 result=$wxUSE_PROFILE
5498 { echo "$as_me:$LINENO: result
: $result" >&5
5499 echo "${ECHO_T}$result" >&6; }
5504 if test -z "$defaultval"; then
5505 if test x"$enablestring" = xdisable; then
5512 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
5513 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
5514 # Check whether --enable-no_rtti was given.
5515 if test "${enable_no_rtti+set}" = set; then
5516 enableval=$enable_no_rtti;
5517 if test "$enableval" = yes; then
5518 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5520 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5526 LINE=`grep "^wxUSE_NO_RTTI
=" ${wx_arg_cache_file}`
5527 if test "x
$LINE" != x ; then
5528 eval "DEFAULT_
$LINE"
5534 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5539 eval "$wx_cv_use_no_rtti"
5540 if test "x$cache" = xyes
; then
5541 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5544 if test x
"$enablestring" = xdisable
; then
5545 if test $wxUSE_NO_RTTI = yes; then
5551 result
=$wxUSE_NO_RTTI
5554 { echo "$as_me:$LINENO: result: $result" >&5
5555 echo "${ECHO_T}$result" >&6; }
5560 if test -z "$defaultval"; then
5561 if test x
"$enablestring" = xdisable
; then
5568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5569 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5570 # Check whether --enable-no_exceptions was given.
5571 if test "${enable_no_exceptions+set}" = set; then
5572 enableval
=$enable_no_exceptions;
5573 if test "$enableval" = yes; then
5574 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5576 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5582 LINE
=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5583 if test "x$LINE" != x
; then
5584 eval "DEFAULT_$LINE"
5590 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5595 eval "$wx_cv_use_no_exceptions"
5596 if test "x$cache" = xyes; then
5597 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5600 if test x"$enablestring" = xdisable; then
5601 if test $wxUSE_NO_EXCEPTIONS = yes; then
5607 result=$wxUSE_NO_EXCEPTIONS
5610 { echo "$as_me:$LINENO: result: $result" >&5
5611 echo "${ECHO_T}$result" >&6; }
5616 if test -z "$defaultval"; then
5617 if test x"$enablestring" = xdisable; then
5624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5625 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5626 # Check whether --enable-permissive was given.
5627 if test "${enable_permissive+set}" = set; then
5628 enableval=$enable_permissive;
5629 if test "$enableval" = yes; then
5630 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5632 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5638 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5639 if test "x$LINE" != x ; then
5640 eval "DEFAULT_$LINE"
5646 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5651 eval "$wx_cv_use_permissive"
5652 if test "x
$cache" = xyes; then
5653 echo "wxUSE_PERMISSIVE
=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5656 if test x"$enablestring" = xdisable; then
5657 if test $wxUSE_PERMISSIVE = yes; then
5663 result=$wxUSE_PERMISSIVE
5666 { echo "$as_me:$LINENO: result
: $result" >&5
5667 echo "${ECHO_T}$result" >&6; }
5672 if test -z "$defaultval"; then
5673 if test x"$enablestring" = xdisable; then
5680 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5681 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5682 # Check whether --enable-no_deps was given.
5683 if test "${enable_no_deps+set}" = set; then
5684 enableval=$enable_no_deps;
5685 if test "$enableval" = yes; then
5686 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5688 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5694 LINE=`grep "^wxUSE_NO_DEPS
=" ${wx_arg_cache_file}`
5695 if test "x
$LINE" != x ; then
5696 eval "DEFAULT_
$LINE"
5702 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5707 eval "$wx_cv_use_no_deps"
5708 if test "x$cache" = xyes
; then
5709 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5712 if test x
"$enablestring" = xdisable
; then
5713 if test $wxUSE_NO_DEPS = yes; then
5719 result
=$wxUSE_NO_DEPS
5722 { echo "$as_me:$LINENO: result: $result" >&5
5723 echo "${ECHO_T}$result" >&6; }
5726 enablestring
=disable
5728 if test -z "$defaultval"; then
5729 if test x
"$enablestring" = xdisable
; then
5736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5737 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5738 # Check whether --enable-vararg_macros was given.
5739 if test "${enable_vararg_macros+set}" = set; then
5740 enableval
=$enable_vararg_macros;
5741 if test "$enableval" = yes; then
5742 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5744 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5750 LINE
=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5751 if test "x$LINE" != x
; then
5752 eval "DEFAULT_$LINE"
5758 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5763 eval "$wx_cv_use_vararg_macros"
5764 if test "x$cache" = xyes; then
5765 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5768 if test x"$enablestring" = xdisable; then
5769 if test $wxUSE_VARARG_MACROS = yes; then
5775 result=$wxUSE_VARARG_MACROS
5778 { echo "$as_me:$LINENO: result: $result" >&5
5779 echo "${ECHO_T}$result" >&6; }
5783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5784 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5785 # Check whether --enable-universal_binary was given.
5786 if test "${enable_universal_binary+set}" = set; then
5787 enableval=$enable_universal_binary;
5788 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5793 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5794 if test "x$LINE" != x ; then
5795 eval "DEFAULT_$LINE"
5801 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5806 eval "$wx_cv_use_universal_binary"
5807 if test "x$cache" = xyes; then
5808 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5811 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5812 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5818 if test -z "$defaultval"; then
5819 if test x"$enablestring" = xdisable; then
5826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5827 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5828 # Check whether --enable-compat26 was given.
5829 if test "${enable_compat26+set}" = set; then
5830 enableval=$enable_compat26;
5831 if test "$enableval" = yes; then
5832 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5834 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5840 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5841 if test "x$LINE" != x ; then
5842 eval "DEFAULT_$LINE"
5848 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5853 eval "$wx_cv_use_compat26"
5854 if test "x
$cache" = xyes; then
5855 echo "WXWIN_COMPATIBILITY_2_6
=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5858 if test x"$enablestring" = xdisable; then
5859 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5865 result=$WXWIN_COMPATIBILITY_2_6
5868 { echo "$as_me:$LINENO: result
: $result" >&5
5869 echo "${ECHO_T}$result" >&6; }
5872 enablestring=disable
5874 if test -z "$defaultval"; then
5875 if test x"$enablestring" = xdisable; then
5882 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5883 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5884 # Check whether --enable-compat28 was given.
5885 if test "${enable_compat28+set}" = set; then
5886 enableval=$enable_compat28;
5887 if test "$enableval" = yes; then
5888 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5890 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5896 LINE=`grep "^WXWIN_COMPATIBILITY_2_8
=" ${wx_arg_cache_file}`
5897 if test "x
$LINE" != x ; then
5898 eval "DEFAULT_
$LINE"
5904 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5909 eval "$wx_cv_use_compat28"
5910 if test "x$cache" = xyes
; then
5911 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5914 if test x
"$enablestring" = xdisable
; then
5915 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5921 result
=$WXWIN_COMPATIBILITY_2_8
5924 { echo "$as_me:$LINENO: result: $result" >&5
5925 echo "${ECHO_T}$result" >&6; }
5929 enablestring
=disable
5931 if test -z "$defaultval"; then
5932 if test x
"$enablestring" = xdisable
; then
5939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5940 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5941 # Check whether --enable-rpath was given.
5942 if test "${enable_rpath+set}" = set; then
5943 enableval
=$enable_rpath;
5944 if test "$enableval" = yes; then
5945 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5947 wx_cv_use_rpath
='wxUSE_RPATH=no'
5953 LINE
=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5954 if test "x$LINE" != x
; then
5955 eval "DEFAULT_$LINE"
5961 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5966 eval "$wx_cv_use_rpath"
5967 if test "x$cache" = xyes; then
5968 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5971 if test x"$enablestring" = xdisable; then
5972 if test $wxUSE_RPATH = yes; then
5981 { echo "$as_me:$LINENO: result: $result" >&5
5982 echo "${ECHO_T}$result" >&6; }
5988 if test -z "$defaultval"; then
5989 if test x"$enablestring" = xdisable; then
5996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5997 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5998 # Check whether --enable-objc_uniquifying was given.
5999 if test "${enable_objc_uniquifying+set}" = set; then
6000 enableval=$enable_objc_uniquifying;
6001 if test "$enableval" = yes; then
6002 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
6004 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
6010 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
6011 if test "x$LINE" != x ; then
6012 eval "DEFAULT_$LINE"
6018 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6023 eval "$wx_cv_use_objc_uniquifying"
6024 if test "x
$cache" = xyes; then
6025 echo "wxUSE_OBJC_UNIQUIFYING
=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
6028 if test x"$enablestring" = xdisable; then
6029 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
6035 result=$wxUSE_OBJC_UNIQUIFYING
6038 { echo "$as_me:$LINENO: result
: $result" >&5
6039 echo "${ECHO_T}$result" >&6; }
6043 enablestring=disable
6045 if test -z "$defaultval"; then
6046 if test x"$enablestring" = xdisable; then
6053 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
6054 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
6055 # Check whether --enable-visibility was given.
6056 if test "${enable_visibility+set}" = set; then
6057 enableval=$enable_visibility;
6058 if test "$enableval" = yes; then
6059 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6061 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6067 LINE=`grep "^wxUSE_VISIBILITY
=" ${wx_arg_cache_file}`
6068 if test "x
$LINE" != x ; then
6069 eval "DEFAULT_
$LINE"
6075 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6080 eval "$wx_cv_use_visibility"
6081 if test "x$cache" = xyes
; then
6082 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
6085 if test x
"$enablestring" = xdisable
; then
6086 if test $wxUSE_VISIBILITY = yes; then
6092 result
=$wxUSE_VISIBILITY
6095 { echo "$as_me:$LINENO: result: $result" >&5
6096 echo "${ECHO_T}$result" >&6; }
6102 defaultval
=$wxUSE_ALL_FEATURES
6103 if test -z "$defaultval"; then
6104 if test x
"$enablestring" = xdisable
; then
6111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6112 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6113 # Check whether --enable-intl was given.
6114 if test "${enable_intl+set}" = set; then
6115 enableval
=$enable_intl;
6116 if test "$enableval" = yes; then
6117 wx_cv_use_intl
='wxUSE_INTL=yes'
6119 wx_cv_use_intl
='wxUSE_INTL=no'
6125 LINE
=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6126 if test "x$LINE" != x
; then
6127 eval "DEFAULT_$LINE"
6133 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6138 eval "$wx_cv_use_intl"
6139 if test "x$cache" = xyes; then
6140 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6143 if test x"$enablestring" = xdisable; then
6144 if test $wxUSE_INTL = yes; then
6153 { echo "$as_me:$LINENO: result: $result" >&5
6154 echo "${ECHO_T}$result" >&6; }
6158 defaultval=$wxUSE_ALL_FEATURES
6159 if test -z "$defaultval"; then
6160 if test x"$enablestring" = xdisable; then
6167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6168 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6169 # Check whether --enable-config was given.
6170 if test "${enable_config+set}" = set; then
6171 enableval=$enable_config;
6172 if test "$enableval" = yes; then
6173 wx_cv_use_config='wxUSE_CONFIG
=yes'
6175 wx_cv_use_config='wxUSE_CONFIG
=no
'
6181 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6182 if test "x$LINE" != x ; then
6183 eval "DEFAULT_$LINE"
6189 wx_cv_use_config='wxUSE_CONFIG
=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6194 eval "$wx_cv_use_config"
6195 if test "x
$cache" = xyes; then
6196 echo "wxUSE_CONFIG
=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6199 if test x"$enablestring" = xdisable; then
6200 if test $wxUSE_CONFIG = yes; then
6206 result=$wxUSE_CONFIG
6209 { echo "$as_me:$LINENO: result
: $result" >&5
6210 echo "${ECHO_T}$result" >&6; }
6215 defaultval=$wxUSE_ALL_FEATURES
6216 if test -z "$defaultval"; then
6217 if test x"$enablestring" = xdisable; then
6224 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocols" >&5
6225 echo $ECHO_N "checking
for --${enablestring:-enable}-protocols...
$ECHO_C" >&6; }
6226 # Check whether --enable-protocols was given.
6227 if test "${enable_protocols+set}" = set; then
6228 enableval=$enable_protocols;
6229 if test "$enableval" = yes; then
6230 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6232 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6238 LINE=`grep "^wxUSE_PROTOCOL
=" ${wx_arg_cache_file}`
6239 if test "x
$LINE" != x ; then
6240 eval "DEFAULT_
$LINE"
6246 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6251 eval "$wx_cv_use_protocols"
6252 if test "x$cache" = xyes
; then
6253 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6256 if test x
"$enablestring" = xdisable
; then
6257 if test $wxUSE_PROTOCOL = yes; then
6263 result
=$wxUSE_PROTOCOL
6266 { echo "$as_me:$LINENO: result: $result" >&5
6267 echo "${ECHO_T}$result" >&6; }
6271 defaultval
=$wxUSE_ALL_FEATURES
6272 if test -z "$defaultval"; then
6273 if test x
"$enablestring" = xdisable
; then
6280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6281 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6282 # Check whether --enable-ftp was given.
6283 if test "${enable_ftp+set}" = set; then
6284 enableval
=$enable_ftp;
6285 if test "$enableval" = yes; then
6286 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
6288 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
6294 LINE
=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6295 if test "x$LINE" != x
; then
6296 eval "DEFAULT_$LINE"
6302 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6307 eval "$wx_cv_use_ftp"
6308 if test "x$cache" = xyes; then
6309 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6312 if test x"$enablestring" = xdisable; then
6313 if test $wxUSE_PROTOCOL_FTP = yes; then
6319 result=$wxUSE_PROTOCOL_FTP
6322 { echo "$as_me:$LINENO: result: $result" >&5
6323 echo "${ECHO_T}$result" >&6; }
6327 defaultval=$wxUSE_ALL_FEATURES
6328 if test -z "$defaultval"; then
6329 if test x"$enablestring" = xdisable; then
6336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6337 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6338 # Check whether --enable-http was given.
6339 if test "${enable_http+set}" = set; then
6340 enableval=$enable_http;
6341 if test "$enableval" = yes; then
6342 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
6344 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
6350 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6351 if test "x$LINE" != x ; then
6352 eval "DEFAULT_$LINE"
6358 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6363 eval "$wx_cv_use_http"
6364 if test "x
$cache" = xyes; then
6365 echo "wxUSE_PROTOCOL_HTTP
=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6368 if test x"$enablestring" = xdisable; then
6369 if test $wxUSE_PROTOCOL_HTTP = yes; then
6375 result=$wxUSE_PROTOCOL_HTTP
6378 { echo "$as_me:$LINENO: result
: $result" >&5
6379 echo "${ECHO_T}$result" >&6; }
6383 defaultval=$wxUSE_ALL_FEATURES
6384 if test -z "$defaultval"; then
6385 if test x"$enablestring" = xdisable; then
6392 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fileproto" >&5
6393 echo $ECHO_N "checking
for --${enablestring:-enable}-fileproto...
$ECHO_C" >&6; }
6394 # Check whether --enable-fileproto was given.
6395 if test "${enable_fileproto+set}" = set; then
6396 enableval=$enable_fileproto;
6397 if test "$enableval" = yes; then
6398 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6400 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6406 LINE=`grep "^wxUSE_PROTOCOL_FILE
=" ${wx_arg_cache_file}`
6407 if test "x
$LINE" != x ; then
6408 eval "DEFAULT_
$LINE"
6414 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6419 eval "$wx_cv_use_fileproto"
6420 if test "x$cache" = xyes
; then
6421 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6424 if test x
"$enablestring" = xdisable
; then
6425 if test $wxUSE_PROTOCOL_FILE = yes; then
6431 result
=$wxUSE_PROTOCOL_FILE
6434 { echo "$as_me:$LINENO: result: $result" >&5
6435 echo "${ECHO_T}$result" >&6; }
6439 defaultval
=$wxUSE_ALL_FEATURES
6440 if test -z "$defaultval"; then
6441 if test x
"$enablestring" = xdisable
; then
6448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6449 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6450 # Check whether --enable-sockets was given.
6451 if test "${enable_sockets+set}" = set; then
6452 enableval
=$enable_sockets;
6453 if test "$enableval" = yes; then
6454 wx_cv_use_sockets
='wxUSE_SOCKETS=yes'
6456 wx_cv_use_sockets
='wxUSE_SOCKETS=no'
6462 LINE
=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6463 if test "x$LINE" != x
; then
6464 eval "DEFAULT_$LINE"
6470 wx_cv_use_sockets
='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6475 eval "$wx_cv_use_sockets"
6476 if test "x$cache" = xyes; then
6477 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6480 if test x"$enablestring" = xdisable; then
6481 if test $wxUSE_SOCKETS = yes; then
6487 result=$wxUSE_SOCKETS
6490 { echo "$as_me:$LINENO: result: $result" >&5
6491 echo "${ECHO_T}$result" >&6; }
6495 defaultval=$wxUSE_ALL_FEATURES
6496 if test -z "$defaultval"; then
6497 if test x"$enablestring" = xdisable; then
6504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6505 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6506 # Check whether --enable-ole was given.
6507 if test "${enable_ole+set}" = set; then
6508 enableval=$enable_ole;
6509 if test "$enableval" = yes; then
6510 wx_cv_use_ole='wxUSE_OLE
=yes'
6512 wx_cv_use_ole='wxUSE_OLE
=no
'
6518 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6519 if test "x$LINE" != x ; then
6520 eval "DEFAULT_$LINE"
6526 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6531 eval "$wx_cv_use_ole"
6532 if test "x
$cache" = xyes; then
6533 echo "wxUSE_OLE
=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6536 if test x"$enablestring" = xdisable; then
6537 if test $wxUSE_OLE = yes; then
6546 { echo "$as_me:$LINENO: result
: $result" >&5
6547 echo "${ECHO_T}$result" >&6; }
6551 defaultval=$wxUSE_ALL_FEATURES
6552 if test -z "$defaultval"; then
6553 if test x"$enablestring" = xdisable; then
6560 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6561 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6562 # Check whether --enable-dataobj was given.
6563 if test "${enable_dataobj+set}" = set; then
6564 enableval=$enable_dataobj;
6565 if test "$enableval" = yes; then
6566 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6568 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6574 LINE=`grep "^wxUSE_DATAOBJ
=" ${wx_arg_cache_file}`
6575 if test "x
$LINE" != x ; then
6576 eval "DEFAULT_
$LINE"
6582 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6587 eval "$wx_cv_use_dataobj"
6588 if test "x$cache" = xyes
; then
6589 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6592 if test x
"$enablestring" = xdisable
; then
6593 if test $wxUSE_DATAOBJ = yes; then
6599 result
=$wxUSE_DATAOBJ
6602 { echo "$as_me:$LINENO: result: $result" >&5
6603 echo "${ECHO_T}$result" >&6; }
6608 defaultval
=$wxUSE_ALL_FEATURES
6609 if test -z "$defaultval"; then
6610 if test x
"$enablestring" = xdisable
; then
6617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6618 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6619 # Check whether --enable-ipc was given.
6620 if test "${enable_ipc+set}" = set; then
6621 enableval
=$enable_ipc;
6622 if test "$enableval" = yes; then
6623 wx_cv_use_ipc
='wxUSE_IPC=yes'
6625 wx_cv_use_ipc
='wxUSE_IPC=no'
6631 LINE
=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6632 if test "x$LINE" != x
; then
6633 eval "DEFAULT_$LINE"
6639 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6644 eval "$wx_cv_use_ipc"
6645 if test "x$cache" = xyes; then
6646 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6649 if test x"$enablestring" = xdisable; then
6650 if test $wxUSE_IPC = yes; then
6659 { echo "$as_me:$LINENO: result: $result" >&5
6660 echo "${ECHO_T}$result" >&6; }
6665 defaultval=$wxUSE_ALL_FEATURES
6666 if test -z "$defaultval"; then
6667 if test x"$enablestring" = xdisable; then
6674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6675 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6676 # Check whether --enable-baseevtloop was given.
6677 if test "${enable_baseevtloop+set}" = set; then
6678 enableval=$enable_baseevtloop;
6679 if test "$enableval" = yes; then
6680 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6682 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6688 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6689 if test "x$LINE" != x ; then
6690 eval "DEFAULT_$LINE"
6696 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6701 eval "$wx_cv_use_baseevtloop"
6702 if test "x
$cache" = xyes; then
6703 echo "wxUSE_CONSOLE_EVENTLOOP
=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6706 if test x"$enablestring" = xdisable; then
6707 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6713 result=$wxUSE_CONSOLE_EVENTLOOP
6716 { echo "$as_me:$LINENO: result
: $result" >&5
6717 echo "${ECHO_T}$result" >&6; }
6721 defaultval=$wxUSE_ALL_FEATURES
6722 if test -z "$defaultval"; then
6723 if test x"$enablestring" = xdisable; then
6730 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6731 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6732 # Check whether --enable-epollloop was given.
6733 if test "${enable_epollloop+set}" = set; then
6734 enableval=$enable_epollloop;
6735 if test "$enableval" = yes; then
6736 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6738 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6744 LINE=`grep "^wxUSE_EPOLL_DISPATCHER
=" ${wx_arg_cache_file}`
6745 if test "x
$LINE" != x ; then
6746 eval "DEFAULT_
$LINE"
6752 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6757 eval "$wx_cv_use_epollloop"
6758 if test "x$cache" = xyes
; then
6759 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6762 if test x
"$enablestring" = xdisable
; then
6763 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6769 result
=$wxUSE_EPOLL_DISPATCHER
6772 { echo "$as_me:$LINENO: result: $result" >&5
6773 echo "${ECHO_T}$result" >&6; }
6777 defaultval
=$wxUSE_ALL_FEATURES
6778 if test -z "$defaultval"; then
6779 if test x
"$enablestring" = xdisable
; then
6786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6787 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6788 # Check whether --enable-selectloop was given.
6789 if test "${enable_selectloop+set}" = set; then
6790 enableval
=$enable_selectloop;
6791 if test "$enableval" = yes; then
6792 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6794 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6800 LINE
=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6801 if test "x$LINE" != x
; then
6802 eval "DEFAULT_$LINE"
6808 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6813 eval "$wx_cv_use_selectloop"
6814 if test "x$cache" = xyes; then
6815 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6818 if test x"$enablestring" = xdisable; then
6819 if test $wxUSE_SELECT_DISPATCHER = yes; then
6825 result=$wxUSE_SELECT_DISPATCHER
6828 { echo "$as_me:$LINENO: result: $result" >&5
6829 echo "${ECHO_T}$result" >&6; }
6834 defaultval=$wxUSE_ALL_FEATURES
6835 if test -z "$defaultval"; then
6836 if test x"$enablestring" = xdisable; then
6843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6844 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6845 # Check whether --enable-apple_ieee was given.
6846 if test "${enable_apple_ieee+set}" = set; then
6847 enableval=$enable_apple_ieee;
6848 if test "$enableval" = yes; then
6849 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6851 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6857 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6858 if test "x$LINE" != x ; then
6859 eval "DEFAULT_$LINE"
6865 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6870 eval "$wx_cv_use_apple_ieee"
6871 if test "x
$cache" = xyes; then
6872 echo "wxUSE_APPLE_IEEE
=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6875 if test x"$enablestring" = xdisable; then
6876 if test $wxUSE_APPLE_IEEE = yes; then
6882 result=$wxUSE_APPLE_IEEE
6885 { echo "$as_me:$LINENO: result
: $result" >&5
6886 echo "${ECHO_T}$result" >&6; }
6890 defaultval=$wxUSE_ALL_FEATURES
6891 if test -z "$defaultval"; then
6892 if test x"$enablestring" = xdisable; then
6899 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6900 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6901 # Check whether --enable-arcstream was given.
6902 if test "${enable_arcstream+set}" = set; then
6903 enableval=$enable_arcstream;
6904 if test "$enableval" = yes; then
6905 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6907 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6913 LINE=`grep "^wxUSE_ARCHIVE_STREAMS
=" ${wx_arg_cache_file}`
6914 if test "x
$LINE" != x ; then
6915 eval "DEFAULT_
$LINE"
6921 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6926 eval "$wx_cv_use_arcstream"
6927 if test "x$cache" = xyes
; then
6928 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6931 if test x
"$enablestring" = xdisable
; then
6932 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6938 result
=$wxUSE_ARCHIVE_STREAMS
6941 { echo "$as_me:$LINENO: result: $result" >&5
6942 echo "${ECHO_T}$result" >&6; }
6946 defaultval
=$wxUSE_ALL_FEATURES
6947 if test -z "$defaultval"; then
6948 if test x
"$enablestring" = xdisable
; then
6955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6956 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6957 # Check whether --enable-base64 was given.
6958 if test "${enable_base64+set}" = set; then
6959 enableval
=$enable_base64;
6960 if test "$enableval" = yes; then
6961 wx_cv_use_base64
='wxUSE_BASE64=yes'
6963 wx_cv_use_base64
='wxUSE_BASE64=no'
6969 LINE
=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6970 if test "x$LINE" != x
; then
6971 eval "DEFAULT_$LINE"
6977 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6982 eval "$wx_cv_use_base64"
6983 if test "x$cache" = xyes; then
6984 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6987 if test x"$enablestring" = xdisable; then
6988 if test $wxUSE_BASE64 = yes; then
6994 result=$wxUSE_BASE64
6997 { echo "$as_me:$LINENO: result: $result" >&5
6998 echo "${ECHO_T}$result" >&6; }
7002 defaultval=$wxUSE_ALL_FEATURES
7003 if test -z "$defaultval"; then
7004 if test x"$enablestring" = xdisable; then
7011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
7012 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
7013 # Check whether --enable-backtrace was given.
7014 if test "${enable_backtrace+set}" = set; then
7015 enableval=$enable_backtrace;
7016 if test "$enableval" = yes; then
7017 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
7019 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
7025 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
7026 if test "x$LINE" != x ; then
7027 eval "DEFAULT_$LINE"
7033 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7038 eval "$wx_cv_use_backtrace"
7039 if test "x
$cache" = xyes; then
7040 echo "wxUSE_STACKWALKER
=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
7043 if test x"$enablestring" = xdisable; then
7044 if test $wxUSE_STACKWALKER = yes; then
7050 result=$wxUSE_STACKWALKER
7053 { echo "$as_me:$LINENO: result
: $result" >&5
7054 echo "${ECHO_T}$result" >&6; }
7058 defaultval=$wxUSE_ALL_FEATURES
7059 if test -z "$defaultval"; then
7060 if test x"$enablestring" = xdisable; then
7067 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
7068 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
7069 # Check whether --enable-catch_segvs was given.
7070 if test "${enable_catch_segvs+set}" = set; then
7071 enableval=$enable_catch_segvs;
7072 if test "$enableval" = yes; then
7073 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7075 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7081 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION
=" ${wx_arg_cache_file}`
7082 if test "x
$LINE" != x ; then
7083 eval "DEFAULT_
$LINE"
7089 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7094 eval "$wx_cv_use_catch_segvs"
7095 if test "x$cache" = xyes
; then
7096 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
7099 if test x
"$enablestring" = xdisable
; then
7100 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
7106 result
=$wxUSE_ON_FATAL_EXCEPTION
7109 { echo "$as_me:$LINENO: result: $result" >&5
7110 echo "${ECHO_T}$result" >&6; }
7114 defaultval
=$wxUSE_ALL_FEATURES
7115 if test -z "$defaultval"; then
7116 if test x
"$enablestring" = xdisable
; then
7123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
7124 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
7125 # Check whether --enable-cmdline was given.
7126 if test "${enable_cmdline+set}" = set; then
7127 enableval
=$enable_cmdline;
7128 if test "$enableval" = yes; then
7129 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
7131 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
7137 LINE
=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7138 if test "x$LINE" != x
; then
7139 eval "DEFAULT_$LINE"
7145 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7150 eval "$wx_cv_use_cmdline"
7151 if test "x$cache" = xyes; then
7152 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7155 if test x"$enablestring" = xdisable; then
7156 if test $wxUSE_CMDLINE_PARSER = yes; then
7162 result=$wxUSE_CMDLINE_PARSER
7165 { echo "$as_me:$LINENO: result: $result" >&5
7166 echo "${ECHO_T}$result" >&6; }
7170 defaultval=$wxUSE_ALL_FEATURES
7171 if test -z "$defaultval"; then
7172 if test x"$enablestring" = xdisable; then
7179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7180 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7181 # Check whether --enable-datetime was given.
7182 if test "${enable_datetime+set}" = set; then
7183 enableval=$enable_datetime;
7184 if test "$enableval" = yes; then
7185 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
7187 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
7193 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7194 if test "x$LINE" != x ; then
7195 eval "DEFAULT_$LINE"
7201 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7206 eval "$wx_cv_use_datetime"
7207 if test "x
$cache" = xyes; then
7208 echo "wxUSE_DATETIME
=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7211 if test x"$enablestring" = xdisable; then
7212 if test $wxUSE_DATETIME = yes; then
7218 result=$wxUSE_DATETIME
7221 { echo "$as_me:$LINENO: result
: $result" >&5
7222 echo "${ECHO_T}$result" >&6; }
7226 defaultval=$wxUSE_ALL_FEATURES
7227 if test -z "$defaultval"; then
7228 if test x"$enablestring" = xdisable; then
7235 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
7236 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
7237 # Check whether --enable-debugreport was given.
7238 if test "${enable_debugreport+set}" = set; then
7239 enableval=$enable_debugreport;
7240 if test "$enableval" = yes; then
7241 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7243 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7249 LINE=`grep "^wxUSE_DEBUGREPORT
=" ${wx_arg_cache_file}`
7250 if test "x
$LINE" != x ; then
7251 eval "DEFAULT_
$LINE"
7257 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7262 eval "$wx_cv_use_debugreport"
7263 if test "x$cache" = xyes
; then
7264 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7267 if test x
"$enablestring" = xdisable
; then
7268 if test $wxUSE_DEBUGREPORT = yes; then
7274 result
=$wxUSE_DEBUGREPORT
7277 { echo "$as_me:$LINENO: result: $result" >&5
7278 echo "${ECHO_T}$result" >&6; }
7282 defaultval
=$wxUSE_ALL_FEATURES
7283 if test -z "$defaultval"; then
7284 if test x
"$enablestring" = xdisable
; then
7291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7292 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7293 # Check whether --enable-dialupman was given.
7294 if test "${enable_dialupman+set}" = set; then
7295 enableval
=$enable_dialupman;
7296 if test "$enableval" = yes; then
7297 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
7299 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
7305 LINE
=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7306 if test "x$LINE" != x
; then
7307 eval "DEFAULT_$LINE"
7313 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7318 eval "$wx_cv_use_dialupman"
7319 if test "x$cache" = xyes; then
7320 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7323 if test x"$enablestring" = xdisable; then
7324 if test $wxUSE_DIALUP_MANAGER = yes; then
7330 result=$wxUSE_DIALUP_MANAGER
7333 { echo "$as_me:$LINENO: result: $result" >&5
7334 echo "${ECHO_T}$result" >&6; }
7338 defaultval=$wxUSE_ALL_FEATURES
7339 if test -z "$defaultval"; then
7340 if test x"$enablestring" = xdisable; then
7347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7348 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7349 # Check whether --enable-dynlib was given.
7350 if test "${enable_dynlib+set}" = set; then
7351 enableval=$enable_dynlib;
7352 if test "$enableval" = yes; then
7353 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
7355 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
7361 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7362 if test "x$LINE" != x ; then
7363 eval "DEFAULT_$LINE"
7369 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7374 eval "$wx_cv_use_dynlib"
7375 if test "x
$cache" = xyes; then
7376 echo "wxUSE_DYNLIB_CLASS
=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7379 if test x"$enablestring" = xdisable; then
7380 if test $wxUSE_DYNLIB_CLASS = yes; then
7386 result=$wxUSE_DYNLIB_CLASS
7389 { echo "$as_me:$LINENO: result
: $result" >&5
7390 echo "${ECHO_T}$result" >&6; }
7394 defaultval=$wxUSE_ALL_FEATURES
7395 if test -z "$defaultval"; then
7396 if test x"$enablestring" = xdisable; then
7403 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
7404 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
7405 # Check whether --enable-dynamicloader was given.
7406 if test "${enable_dynamicloader+set}" = set; then
7407 enableval=$enable_dynamicloader;
7408 if test "$enableval" = yes; then
7409 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7411 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7417 LINE=`grep "^wxUSE_DYNAMIC_LOADER
=" ${wx_arg_cache_file}`
7418 if test "x
$LINE" != x ; then
7419 eval "DEFAULT_
$LINE"
7425 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7430 eval "$wx_cv_use_dynamicloader"
7431 if test "x$cache" = xyes
; then
7432 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7435 if test x
"$enablestring" = xdisable
; then
7436 if test $wxUSE_DYNAMIC_LOADER = yes; then
7442 result
=$wxUSE_DYNAMIC_LOADER
7445 { echo "$as_me:$LINENO: result: $result" >&5
7446 echo "${ECHO_T}$result" >&6; }
7450 defaultval
=$wxUSE_ALL_FEATURES
7451 if test -z "$defaultval"; then
7452 if test x
"$enablestring" = xdisable
; then
7459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7460 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7461 # Check whether --enable-exceptions was given.
7462 if test "${enable_exceptions+set}" = set; then
7463 enableval
=$enable_exceptions;
7464 if test "$enableval" = yes; then
7465 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
7467 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
7473 LINE
=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7474 if test "x$LINE" != x
; then
7475 eval "DEFAULT_$LINE"
7481 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7486 eval "$wx_cv_use_exceptions"
7487 if test "x$cache" = xyes; then
7488 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7491 if test x"$enablestring" = xdisable; then
7492 if test $wxUSE_EXCEPTIONS = yes; then
7498 result=$wxUSE_EXCEPTIONS
7501 { echo "$as_me:$LINENO: result: $result" >&5
7502 echo "${ECHO_T}$result" >&6; }
7506 defaultval=$wxUSE_ALL_FEATURES
7507 if test -z "$defaultval"; then
7508 if test x"$enablestring" = xdisable; then
7515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7516 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7517 # Check whether --enable-ffile was given.
7518 if test "${enable_ffile+set}" = set; then
7519 enableval=$enable_ffile;
7520 if test "$enableval" = yes; then
7521 wx_cv_use_ffile='wxUSE_FFILE
=yes'
7523 wx_cv_use_ffile='wxUSE_FFILE
=no
'
7529 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7530 if test "x$LINE" != x ; then
7531 eval "DEFAULT_$LINE"
7537 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7542 eval "$wx_cv_use_ffile"
7543 if test "x
$cache" = xyes; then
7544 echo "wxUSE_FFILE
=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7547 if test x"$enablestring" = xdisable; then
7548 if test $wxUSE_FFILE = yes; then
7557 { echo "$as_me:$LINENO: result
: $result" >&5
7558 echo "${ECHO_T}$result" >&6; }
7562 defaultval=$wxUSE_ALL_FEATURES
7563 if test -z "$defaultval"; then
7564 if test x"$enablestring" = xdisable; then
7571 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
7572 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
7573 # Check whether --enable-file was given.
7574 if test "${enable_file+set}" = set; then
7575 enableval=$enable_file;
7576 if test "$enableval" = yes; then
7577 wx_cv_use_file='wxUSE_FILE=yes'
7579 wx_cv_use_file='wxUSE_FILE=no'
7585 LINE=`grep "^wxUSE_FILE
=" ${wx_arg_cache_file}`
7586 if test "x
$LINE" != x ; then
7587 eval "DEFAULT_
$LINE"
7593 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7598 eval "$wx_cv_use_file"
7599 if test "x$cache" = xyes
; then
7600 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7603 if test x
"$enablestring" = xdisable
; then
7604 if test $wxUSE_FILE = yes; then
7613 { echo "$as_me:$LINENO: result: $result" >&5
7614 echo "${ECHO_T}$result" >&6; }
7618 defaultval
=$wxUSE_ALL_FEATURES
7619 if test -z "$defaultval"; then
7620 if test x
"$enablestring" = xdisable
; then
7627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7628 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7629 # Check whether --enable-filesystem was given.
7630 if test "${enable_filesystem+set}" = set; then
7631 enableval
=$enable_filesystem;
7632 if test "$enableval" = yes; then
7633 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
7635 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
7641 LINE
=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7642 if test "x$LINE" != x
; then
7643 eval "DEFAULT_$LINE"
7649 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7654 eval "$wx_cv_use_filesystem"
7655 if test "x$cache" = xyes; then
7656 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7659 if test x"$enablestring" = xdisable; then
7660 if test $wxUSE_FILESYSTEM = yes; then
7666 result=$wxUSE_FILESYSTEM
7669 { echo "$as_me:$LINENO: result: $result" >&5
7670 echo "${ECHO_T}$result" >&6; }
7674 defaultval=$wxUSE_ALL_FEATURES
7675 if test -z "$defaultval"; then
7676 if test x"$enablestring" = xdisable; then
7683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7684 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7685 # Check whether --enable-fontenum was given.
7686 if test "${enable_fontenum+set}" = set; then
7687 enableval=$enable_fontenum;
7688 if test "$enableval" = yes; then
7689 wx_cv_use_fontenum='wxUSE_FONTENUM
=yes'
7691 wx_cv_use_fontenum='wxUSE_FONTENUM
=no
'
7697 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7698 if test "x$LINE" != x ; then
7699 eval "DEFAULT_$LINE"
7705 wx_cv_use_fontenum='wxUSE_FONTENUM
=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7710 eval "$wx_cv_use_fontenum"
7711 if test "x
$cache" = xyes; then
7712 echo "wxUSE_FONTENUM
=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7715 if test x"$enablestring" = xdisable; then
7716 if test $wxUSE_FONTENUM = yes; then
7722 result=$wxUSE_FONTENUM
7725 { echo "$as_me:$LINENO: result
: $result" >&5
7726 echo "${ECHO_T}$result" >&6; }
7730 defaultval=$wxUSE_ALL_FEATURES
7731 if test -z "$defaultval"; then
7732 if test x"$enablestring" = xdisable; then
7739 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontmap" >&5
7740 echo $ECHO_N "checking
for --${enablestring:-enable}-fontmap...
$ECHO_C" >&6; }
7741 # Check whether --enable-fontmap was given.
7742 if test "${enable_fontmap+set}" = set; then
7743 enableval=$enable_fontmap;
7744 if test "$enableval" = yes; then
7745 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7747 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7753 LINE=`grep "^wxUSE_FONTMAP
=" ${wx_arg_cache_file}`
7754 if test "x
$LINE" != x ; then
7755 eval "DEFAULT_
$LINE"
7761 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7766 eval "$wx_cv_use_fontmap"
7767 if test "x$cache" = xyes
; then
7768 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7771 if test x
"$enablestring" = xdisable
; then
7772 if test $wxUSE_FONTMAP = yes; then
7778 result
=$wxUSE_FONTMAP
7781 { echo "$as_me:$LINENO: result: $result" >&5
7782 echo "${ECHO_T}$result" >&6; }
7786 defaultval
=$wxUSE_ALL_FEATURES
7787 if test -z "$defaultval"; then
7788 if test x
"$enablestring" = xdisable
; then
7795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7796 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7797 # Check whether --enable-fs_archive was given.
7798 if test "${enable_fs_archive+set}" = set; then
7799 enableval
=$enable_fs_archive;
7800 if test "$enableval" = yes; then
7801 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
7803 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
7809 LINE
=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7810 if test "x$LINE" != x
; then
7811 eval "DEFAULT_$LINE"
7817 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7822 eval "$wx_cv_use_fs_archive"
7823 if test "x$cache" = xyes; then
7824 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7827 if test x"$enablestring" = xdisable; then
7828 if test $wxUSE_FS_ARCHIVE = yes; then
7834 result=$wxUSE_FS_ARCHIVE
7837 { echo "$as_me:$LINENO: result: $result" >&5
7838 echo "${ECHO_T}$result" >&6; }
7842 defaultval=$wxUSE_ALL_FEATURES
7843 if test -z "$defaultval"; then
7844 if test x"$enablestring" = xdisable; then
7851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7852 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7853 # Check whether --enable-fs_inet was given.
7854 if test "${enable_fs_inet+set}" = set; then
7855 enableval=$enable_fs_inet;
7856 if test "$enableval" = yes; then
7857 wx_cv_use_fs_inet='wxUSE_FS_INET
=yes'
7859 wx_cv_use_fs_inet='wxUSE_FS_INET
=no
'
7865 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7866 if test "x$LINE" != x ; then
7867 eval "DEFAULT_$LINE"
7873 wx_cv_use_fs_inet='wxUSE_FS_INET
=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7878 eval "$wx_cv_use_fs_inet"
7879 if test "x
$cache" = xyes; then
7880 echo "wxUSE_FS_INET
=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7883 if test x"$enablestring" = xdisable; then
7884 if test $wxUSE_FS_INET = yes; then
7890 result=$wxUSE_FS_INET
7893 { echo "$as_me:$LINENO: result
: $result" >&5
7894 echo "${ECHO_T}$result" >&6; }
7898 defaultval=$wxUSE_ALL_FEATURES
7899 if test -z "$defaultval"; then
7900 if test x"$enablestring" = xdisable; then
7907 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_zip" >&5
7908 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_zip...
$ECHO_C" >&6; }
7909 # Check whether --enable-fs_zip was given.
7910 if test "${enable_fs_zip+set}" = set; then
7911 enableval=$enable_fs_zip;
7912 if test "$enableval" = yes; then
7913 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7915 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7921 LINE=`grep "^wxUSE_FS_ZIP
=" ${wx_arg_cache_file}`
7922 if test "x
$LINE" != x ; then
7923 eval "DEFAULT_
$LINE"
7929 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7934 eval "$wx_cv_use_fs_zip"
7935 if test "x$cache" = xyes
; then
7936 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7939 if test x
"$enablestring" = xdisable
; then
7940 if test $wxUSE_FS_ZIP = yes; then
7946 result
=$wxUSE_FS_ZIP
7949 { echo "$as_me:$LINENO: result: $result" >&5
7950 echo "${ECHO_T}$result" >&6; }
7954 defaultval
=$wxUSE_ALL_FEATURES
7955 if test -z "$defaultval"; then
7956 if test x
"$enablestring" = xdisable
; then
7963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7964 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7965 # Check whether --enable-geometry was given.
7966 if test "${enable_geometry+set}" = set; then
7967 enableval
=$enable_geometry;
7968 if test "$enableval" = yes; then
7969 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7971 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7977 LINE
=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7978 if test "x$LINE" != x
; then
7979 eval "DEFAULT_$LINE"
7985 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7990 eval "$wx_cv_use_geometry"
7991 if test "x$cache" = xyes; then
7992 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
7995 if test x"$enablestring" = xdisable; then
7996 if test $wxUSE_GEOMETRY = yes; then
8002 result=$wxUSE_GEOMETRY
8005 { echo "$as_me:$LINENO: result: $result" >&5
8006 echo "${ECHO_T}$result" >&6; }
8010 defaultval=$wxUSE_ALL_FEATURES
8011 if test -z "$defaultval"; then
8012 if test x"$enablestring" = xdisable; then
8019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
8020 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
8021 # Check whether --enable-log was given.
8022 if test "${enable_log+set}" = set; then
8023 enableval=$enable_log;
8024 if test "$enableval" = yes; then
8025 wx_cv_use_log='wxUSE_LOG
=yes'
8027 wx_cv_use_log='wxUSE_LOG
=no
'
8033 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
8034 if test "x$LINE" != x ; then
8035 eval "DEFAULT_$LINE"
8041 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8046 eval "$wx_cv_use_log"
8047 if test "x
$cache" = xyes; then
8048 echo "wxUSE_LOG
=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
8051 if test x"$enablestring" = xdisable; then
8052 if test $wxUSE_LOG = yes; then
8061 { echo "$as_me:$LINENO: result
: $result" >&5
8062 echo "${ECHO_T}$result" >&6; }
8066 defaultval=$wxUSE_ALL_FEATURES
8067 if test -z "$defaultval"; then
8068 if test x"$enablestring" = xdisable; then
8075 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
8076 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
8077 # Check whether --enable-longlong was given.
8078 if test "${enable_longlong+set}" = set; then
8079 enableval=$enable_longlong;
8080 if test "$enableval" = yes; then
8081 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8083 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8089 LINE=`grep "^wxUSE_LONGLONG
=" ${wx_arg_cache_file}`
8090 if test "x
$LINE" != x ; then
8091 eval "DEFAULT_
$LINE"
8097 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8102 eval "$wx_cv_use_longlong"
8103 if test "x$cache" = xyes
; then
8104 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
8107 if test x
"$enablestring" = xdisable
; then
8108 if test $wxUSE_LONGLONG = yes; then
8114 result
=$wxUSE_LONGLONG
8117 { echo "$as_me:$LINENO: result: $result" >&5
8118 echo "${ECHO_T}$result" >&6; }
8122 defaultval
=$wxUSE_ALL_FEATURES
8123 if test -z "$defaultval"; then
8124 if test x
"$enablestring" = xdisable
; then
8131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
8132 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
8133 # Check whether --enable-mimetype was given.
8134 if test "${enable_mimetype+set}" = set; then
8135 enableval
=$enable_mimetype;
8136 if test "$enableval" = yes; then
8137 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
8139 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
8145 LINE
=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
8146 if test "x$LINE" != x
; then
8147 eval "DEFAULT_$LINE"
8153 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8158 eval "$wx_cv_use_mimetype"
8159 if test "x$cache" = xyes; then
8160 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
8163 if test x"$enablestring" = xdisable; then
8164 if test $wxUSE_MIMETYPE = yes; then
8170 result=$wxUSE_MIMETYPE
8173 { echo "$as_me:$LINENO: result: $result" >&5
8174 echo "${ECHO_T}$result" >&6; }
8178 defaultval=$wxUSE_ALL_FEATURES
8179 if test -z "$defaultval"; then
8180 if test x"$enablestring" = xdisable; then
8187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8188 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8189 # Check whether --enable-snglinst was given.
8190 if test "${enable_snglinst+set}" = set; then
8191 enableval=$enable_snglinst;
8192 if test "$enableval" = yes; then
8193 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
8195 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
8201 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8202 if test "x$LINE" != x ; then
8203 eval "DEFAULT_$LINE"
8209 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8214 eval "$wx_cv_use_snglinst"
8215 if test "x
$cache" = xyes; then
8216 echo "wxUSE_SNGLINST_CHECKER
=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8219 if test x"$enablestring" = xdisable; then
8220 if test $wxUSE_SNGLINST_CHECKER = yes; then
8226 result=$wxUSE_SNGLINST_CHECKER
8229 { echo "$as_me:$LINENO: result
: $result" >&5
8230 echo "${ECHO_T}$result" >&6; }
8234 defaultval=$wxUSE_ALL_FEATURES
8235 if test -z "$defaultval"; then
8236 if test x"$enablestring" = xdisable; then
8243 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stdpaths" >&5
8244 echo $ECHO_N "checking
for --${enablestring:-enable}-stdpaths...
$ECHO_C" >&6; }
8245 # Check whether --enable-stdpaths was given.
8246 if test "${enable_stdpaths+set}" = set; then
8247 enableval=$enable_stdpaths;
8248 if test "$enableval" = yes; then
8249 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8251 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8257 LINE=`grep "^wxUSE_STDPATHS
=" ${wx_arg_cache_file}`
8258 if test "x
$LINE" != x ; then
8259 eval "DEFAULT_
$LINE"
8265 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8270 eval "$wx_cv_use_stdpaths"
8271 if test "x$cache" = xyes
; then
8272 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8275 if test x
"$enablestring" = xdisable
; then
8276 if test $wxUSE_STDPATHS = yes; then
8282 result
=$wxUSE_STDPATHS
8285 { echo "$as_me:$LINENO: result: $result" >&5
8286 echo "${ECHO_T}$result" >&6; }
8290 defaultval
=$wxUSE_ALL_FEATURES
8291 if test -z "$defaultval"; then
8292 if test x
"$enablestring" = xdisable
; then
8299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8300 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8301 # Check whether --enable-stopwatch was given.
8302 if test "${enable_stopwatch+set}" = set; then
8303 enableval
=$enable_stopwatch;
8304 if test "$enableval" = yes; then
8305 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
8307 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
8313 LINE
=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8314 if test "x$LINE" != x
; then
8315 eval "DEFAULT_$LINE"
8321 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8326 eval "$wx_cv_use_stopwatch"
8327 if test "x$cache" = xyes; then
8328 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8331 if test x"$enablestring" = xdisable; then
8332 if test $wxUSE_STOPWATCH = yes; then
8338 result=$wxUSE_STOPWATCH
8341 { echo "$as_me:$LINENO: result: $result" >&5
8342 echo "${ECHO_T}$result" >&6; }
8346 defaultval=$wxUSE_ALL_FEATURES
8347 if test -z "$defaultval"; then
8348 if test x"$enablestring" = xdisable; then
8355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8356 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8357 # Check whether --enable-streams was given.
8358 if test "${enable_streams+set}" = set; then
8359 enableval=$enable_streams;
8360 if test "$enableval" = yes; then
8361 wx_cv_use_streams='wxUSE_STREAMS
=yes'
8363 wx_cv_use_streams='wxUSE_STREAMS
=no
'
8369 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8370 if test "x$LINE" != x ; then
8371 eval "DEFAULT_$LINE"
8377 wx_cv_use_streams='wxUSE_STREAMS
=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8382 eval "$wx_cv_use_streams"
8383 if test "x
$cache" = xyes; then
8384 echo "wxUSE_STREAMS
=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8387 if test x"$enablestring" = xdisable; then
8388 if test $wxUSE_STREAMS = yes; then
8394 result=$wxUSE_STREAMS
8397 { echo "$as_me:$LINENO: result
: $result" >&5
8398 echo "${ECHO_T}$result" >&6; }
8402 defaultval=$wxUSE_ALL_FEATURES
8403 if test -z "$defaultval"; then
8404 if test x"$enablestring" = xdisable; then
8411 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-system_options" >&5
8412 echo $ECHO_N "checking
for --${enablestring:-enable}-system_options...
$ECHO_C" >&6; }
8413 # Check whether --enable-system_options was given.
8414 if test "${enable_system_options+set}" = set; then
8415 enableval=$enable_system_options;
8416 if test "$enableval" = yes; then
8417 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8419 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8425 LINE=`grep "^wxUSE_SYSTEM_OPTIONS
=" ${wx_arg_cache_file}`
8426 if test "x
$LINE" != x ; then
8427 eval "DEFAULT_
$LINE"
8433 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8438 eval "$wx_cv_use_system_options"
8439 if test "x$cache" = xyes
; then
8440 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8443 if test x
"$enablestring" = xdisable
; then
8444 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8450 result
=$wxUSE_SYSTEM_OPTIONS
8453 { echo "$as_me:$LINENO: result: $result" >&5
8454 echo "${ECHO_T}$result" >&6; }
8458 defaultval
=$wxUSE_ALL_FEATURES
8459 if test -z "$defaultval"; then
8460 if test x
"$enablestring" = xdisable
; then
8467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8468 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8469 # Check whether --enable-tarstream was given.
8470 if test "${enable_tarstream+set}" = set; then
8471 enableval
=$enable_tarstream;
8472 if test "$enableval" = yes; then
8473 wx_cv_use_tarstream
='wxUSE_TARSTREAM=yes'
8475 wx_cv_use_tarstream
='wxUSE_TARSTREAM=no'
8481 LINE
=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8482 if test "x$LINE" != x
; then
8483 eval "DEFAULT_$LINE"
8489 wx_cv_use_tarstream
='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8494 eval "$wx_cv_use_tarstream"
8495 if test "x$cache" = xyes; then
8496 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8499 if test x"$enablestring" = xdisable; then
8500 if test $wxUSE_TARSTREAM = yes; then
8506 result=$wxUSE_TARSTREAM
8509 { echo "$as_me:$LINENO: result: $result" >&5
8510 echo "${ECHO_T}$result" >&6; }
8514 defaultval=$wxUSE_ALL_FEATURES
8515 if test -z "$defaultval"; then
8516 if test x"$enablestring" = xdisable; then
8523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8524 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8525 # Check whether --enable-textbuf was given.
8526 if test "${enable_textbuf+set}" = set; then
8527 enableval=$enable_textbuf;
8528 if test "$enableval" = yes; then
8529 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
8531 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
8537 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8538 if test "x$LINE" != x ; then
8539 eval "DEFAULT_$LINE"
8545 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8550 eval "$wx_cv_use_textbuf"
8551 if test "x
$cache" = xyes; then
8552 echo "wxUSE_TEXTBUFFER
=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8555 if test x"$enablestring" = xdisable; then
8556 if test $wxUSE_TEXTBUFFER = yes; then
8562 result=$wxUSE_TEXTBUFFER
8565 { echo "$as_me:$LINENO: result
: $result" >&5
8566 echo "${ECHO_T}$result" >&6; }
8570 defaultval=$wxUSE_ALL_FEATURES
8571 if test -z "$defaultval"; then
8572 if test x"$enablestring" = xdisable; then
8579 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textfile" >&5
8580 echo $ECHO_N "checking
for --${enablestring:-enable}-textfile...
$ECHO_C" >&6; }
8581 # Check whether --enable-textfile was given.
8582 if test "${enable_textfile+set}" = set; then
8583 enableval=$enable_textfile;
8584 if test "$enableval" = yes; then
8585 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8587 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8593 LINE=`grep "^wxUSE_TEXTFILE
=" ${wx_arg_cache_file}`
8594 if test "x
$LINE" != x ; then
8595 eval "DEFAULT_
$LINE"
8601 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8606 eval "$wx_cv_use_textfile"
8607 if test "x$cache" = xyes
; then
8608 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8611 if test x
"$enablestring" = xdisable
; then
8612 if test $wxUSE_TEXTFILE = yes; then
8618 result
=$wxUSE_TEXTFILE
8621 { echo "$as_me:$LINENO: result: $result" >&5
8622 echo "${ECHO_T}$result" >&6; }
8626 defaultval
=$wxUSE_ALL_FEATURES
8627 if test -z "$defaultval"; then
8628 if test x
"$enablestring" = xdisable
; then
8635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8636 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8637 # Check whether --enable-timer was given.
8638 if test "${enable_timer+set}" = set; then
8639 enableval
=$enable_timer;
8640 if test "$enableval" = yes; then
8641 wx_cv_use_timer
='wxUSE_TIMER=yes'
8643 wx_cv_use_timer
='wxUSE_TIMER=no'
8649 LINE
=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8650 if test "x$LINE" != x
; then
8651 eval "DEFAULT_$LINE"
8657 wx_cv_use_timer
='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8662 eval "$wx_cv_use_timer"
8663 if test "x$cache" = xyes; then
8664 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8667 if test x"$enablestring" = xdisable; then
8668 if test $wxUSE_TIMER = yes; then
8677 { echo "$as_me:$LINENO: result: $result" >&5
8678 echo "${ECHO_T}$result" >&6; }
8682 defaultval=$wxUSE_ALL_FEATURES
8683 if test -z "$defaultval"; then
8684 if test x"$enablestring" = xdisable; then
8691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8692 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8693 # Check whether --enable-sound was given.
8694 if test "${enable_sound+set}" = set; then
8695 enableval=$enable_sound;
8696 if test "$enableval" = yes; then
8697 wx_cv_use_sound='wxUSE_SOUND
=yes'
8699 wx_cv_use_sound='wxUSE_SOUND
=no
'
8705 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8706 if test "x$LINE" != x ; then
8707 eval "DEFAULT_$LINE"
8713 wx_cv_use_sound='wxUSE_SOUND
=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8718 eval "$wx_cv_use_sound"
8719 if test "x
$cache" = xyes; then
8720 echo "wxUSE_SOUND
=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8723 if test x"$enablestring" = xdisable; then
8724 if test $wxUSE_SOUND = yes; then
8733 { echo "$as_me:$LINENO: result
: $result" >&5
8734 echo "${ECHO_T}$result" >&6; }
8738 defaultval=$wxUSE_ALL_FEATURES
8739 if test -z "$defaultval"; then
8740 if test x"$enablestring" = xdisable; then
8747 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mediactrl" >&5
8748 echo $ECHO_N "checking
for --${enablestring:-enable}-mediactrl...
$ECHO_C" >&6; }
8749 # Check whether --enable-mediactrl was given.
8750 if test "${enable_mediactrl+set}" = set; then
8751 enableval=$enable_mediactrl;
8752 if test "$enableval" = yes; then
8753 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8755 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8761 LINE=`grep "^wxUSE_MEDIACTRL
=" ${wx_arg_cache_file}`
8762 if test "x
$LINE" != x ; then
8763 eval "DEFAULT_
$LINE"
8769 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8774 eval "$wx_cv_use_mediactrl"
8775 if test "x$cache" = xyes
; then
8776 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8779 if test x
"$enablestring" = xdisable
; then
8780 if test $wxUSE_MEDIACTRL = yes; then
8786 result
=$wxUSE_MEDIACTRL
8789 { echo "$as_me:$LINENO: result: $result" >&5
8790 echo "${ECHO_T}$result" >&6; }
8794 defaultval
=$wxUSE_ALL_FEATURES
8795 if test -z "$defaultval"; then
8796 if test x
"$enablestring" = xdisable
; then
8803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8804 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8805 # Check whether --enable-gstreamer8 was given.
8806 if test "${enable_gstreamer8+set}" = set; then
8807 enableval
=$enable_gstreamer8;
8808 if test "$enableval" = yes; then
8809 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
8811 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
8817 LINE
=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8818 if test "x$LINE" != x
; then
8819 eval "DEFAULT_$LINE"
8825 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8830 eval "$wx_cv_use_gstreamer8"
8831 if test "x$cache" = xyes; then
8832 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8835 if test x"$enablestring" = xdisable; then
8836 if test $wxUSE_GSTREAMER8 = yes; then
8842 result=$wxUSE_GSTREAMER8
8845 { echo "$as_me:$LINENO: result: $result" >&5
8846 echo "${ECHO_T}$result" >&6; }
8850 defaultval=$wxUSE_ALL_FEATURES
8851 if test -z "$defaultval"; then
8852 if test x"$enablestring" = xdisable; then
8859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8860 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8861 # Check whether --enable-printfposparam was given.
8862 if test "${enable_printfposparam+set}" = set; then
8863 enableval=$enable_printfposparam;
8864 if test "$enableval" = yes; then
8865 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
8867 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
8873 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8874 if test "x$LINE" != x ; then
8875 eval "DEFAULT_$LINE"
8881 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8886 eval "$wx_cv_use_printfposparam"
8887 if test "x
$cache" = xyes; then
8888 echo "wxUSE_PRINTF_POS_PARAMS
=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8891 if test x"$enablestring" = xdisable; then
8892 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8898 result=$wxUSE_PRINTF_POS_PARAMS
8901 { echo "$as_me:$LINENO: result
: $result" >&5
8902 echo "${ECHO_T}$result" >&6; }
8906 defaultval=$wxUSE_ALL_FEATURES
8907 if test -z "$defaultval"; then
8908 if test x"$enablestring" = xdisable; then
8915 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-zipstream" >&5
8916 echo $ECHO_N "checking
for --${enablestring:-enable}-zipstream...
$ECHO_C" >&6; }
8917 # Check whether --enable-zipstream was given.
8918 if test "${enable_zipstream+set}" = set; then
8919 enableval=$enable_zipstream;
8920 if test "$enableval" = yes; then
8921 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8923 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8929 LINE=`grep "^wxUSE_ZIPSTREAM
=" ${wx_arg_cache_file}`
8930 if test "x
$LINE" != x ; then
8931 eval "DEFAULT_
$LINE"
8937 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8942 eval "$wx_cv_use_zipstream"
8943 if test "x$cache" = xyes
; then
8944 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8947 if test x
"$enablestring" = xdisable
; then
8948 if test $wxUSE_ZIPSTREAM = yes; then
8954 result
=$wxUSE_ZIPSTREAM
8957 { echo "$as_me:$LINENO: result: $result" >&5
8958 echo "${ECHO_T}$result" >&6; }
8963 defaultval
=$wxUSE_ALL_FEATURES
8964 if test -z "$defaultval"; then
8965 if test x
"$enablestring" = xdisable
; then
8972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8973 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8974 # Check whether --enable-url was given.
8975 if test "${enable_url+set}" = set; then
8976 enableval
=$enable_url;
8977 if test "$enableval" = yes; then
8978 wx_cv_use_url
='wxUSE_URL=yes'
8980 wx_cv_use_url
='wxUSE_URL=no'
8986 LINE
=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8987 if test "x$LINE" != x
; then
8988 eval "DEFAULT_$LINE"
8994 wx_cv_use_url
='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8999 eval "$wx_cv_use_url"
9000 if test "x$cache" = xyes; then
9001 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
9004 if test x"$enablestring" = xdisable; then
9005 if test $wxUSE_URL = yes; then
9014 { echo "$as_me:$LINENO: result: $result" >&5
9015 echo "${ECHO_T}$result" >&6; }
9019 defaultval=$wxUSE_ALL_FEATURES
9020 if test -z "$defaultval"; then
9021 if test x"$enablestring" = xdisable; then
9028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
9029 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
9030 # Check whether --enable-variant was given.
9031 if test "${enable_variant+set}" = set; then
9032 enableval=$enable_variant;
9033 if test "$enableval" = yes; then
9034 wx_cv_use_variant='wxUSE_VARIANT
=yes'
9036 wx_cv_use_variant='wxUSE_VARIANT
=no
'
9042 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
9043 if test "x$LINE" != x ; then
9044 eval "DEFAULT_$LINE"
9050 wx_cv_use_variant='wxUSE_VARIANT
=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9055 eval "$wx_cv_use_variant"
9056 if test "x
$cache" = xyes; then
9057 echo "wxUSE_VARIANT
=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
9060 if test x"$enablestring" = xdisable; then
9061 if test $wxUSE_VARIANT = yes; then
9067 result=$wxUSE_VARIANT
9070 { echo "$as_me:$LINENO: result
: $result" >&5
9071 echo "${ECHO_T}$result" >&6; }
9075 defaultval=$wxUSE_ALL_FEATURES
9076 if test -z "$defaultval"; then
9077 if test x"$enablestring" = xdisable; then
9084 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol" >&5
9085 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol...
$ECHO_C" >&6; }
9086 # Check whether --enable-protocol was given.
9087 if test "${enable_protocol+set}" = set; then
9088 enableval=$enable_protocol;
9089 if test "$enableval" = yes; then
9090 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9092 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9098 LINE=`grep "^wxUSE_PROTOCOL
=" ${wx_arg_cache_file}`
9099 if test "x
$LINE" != x ; then
9100 eval "DEFAULT_
$LINE"
9106 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9111 eval "$wx_cv_use_protocol"
9112 if test "x$cache" = xyes
; then
9113 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
9116 if test x
"$enablestring" = xdisable
; then
9117 if test $wxUSE_PROTOCOL = yes; then
9123 result
=$wxUSE_PROTOCOL
9126 { echo "$as_me:$LINENO: result: $result" >&5
9127 echo "${ECHO_T}$result" >&6; }
9131 defaultval
=$wxUSE_ALL_FEATURES
9132 if test -z "$defaultval"; then
9133 if test x
"$enablestring" = xdisable
; then
9140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
9141 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
9142 # Check whether --enable-protocol_http was given.
9143 if test "${enable_protocol_http+set}" = set; then
9144 enableval
=$enable_protocol_http;
9145 if test "$enableval" = yes; then
9146 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
9148 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
9154 LINE
=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
9155 if test "x$LINE" != x
; then
9156 eval "DEFAULT_$LINE"
9162 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9167 eval "$wx_cv_use_protocol_http"
9168 if test "x$cache" = xyes; then
9169 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
9172 if test x"$enablestring" = xdisable; then
9173 if test $wxUSE_PROTOCOL_HTTP = yes; then
9179 result=$wxUSE_PROTOCOL_HTTP
9182 { echo "$as_me:$LINENO: result: $result" >&5
9183 echo "${ECHO_T}$result" >&6; }
9187 defaultval=$wxUSE_ALL_FEATURES
9188 if test -z "$defaultval"; then
9189 if test x"$enablestring" = xdisable; then
9196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
9197 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
9198 # Check whether --enable-protocol_ftp was given.
9199 if test "${enable_protocol_ftp+set}" = set; then
9200 enableval=$enable_protocol_ftp;
9201 if test "$enableval" = yes; then
9202 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
9204 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
9210 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9211 if test "x$LINE" != x ; then
9212 eval "DEFAULT_$LINE"
9218 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9223 eval "$wx_cv_use_protocol_ftp"
9224 if test "x
$cache" = xyes; then
9225 echo "wxUSE_PROTOCOL_FTP
=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9228 if test x"$enablestring" = xdisable; then
9229 if test $wxUSE_PROTOCOL_FTP = yes; then
9235 result=$wxUSE_PROTOCOL_FTP
9238 { echo "$as_me:$LINENO: result
: $result" >&5
9239 echo "${ECHO_T}$result" >&6; }
9243 defaultval=$wxUSE_ALL_FEATURES
9244 if test -z "$defaultval"; then
9245 if test x"$enablestring" = xdisable; then
9252 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_file" >&5
9253 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_file...
$ECHO_C" >&6; }
9254 # Check whether --enable-protocol_file was given.
9255 if test "${enable_protocol_file+set}" = set; then
9256 enableval=$enable_protocol_file;
9257 if test "$enableval" = yes; then
9258 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9260 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9266 LINE=`grep "^wxUSE_PROTOCOL_FILE
=" ${wx_arg_cache_file}`
9267 if test "x
$LINE" != x ; then
9268 eval "DEFAULT_
$LINE"
9274 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9279 eval "$wx_cv_use_protocol_file"
9280 if test "x$cache" = xyes
; then
9281 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9284 if test x
"$enablestring" = xdisable
; then
9285 if test $wxUSE_PROTOCOL_FILE = yes; then
9291 result
=$wxUSE_PROTOCOL_FILE
9294 { echo "$as_me:$LINENO: result: $result" >&5
9295 echo "${ECHO_T}$result" >&6; }
9300 defaultval
=$wxUSE_ALL_FEATURES
9301 if test -z "$defaultval"; then
9302 if test x
"$enablestring" = xdisable
; then
9309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9310 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9311 # Check whether --enable-threads was given.
9312 if test "${enable_threads+set}" = set; then
9313 enableval
=$enable_threads;
9314 if test "$enableval" = yes; then
9315 wx_cv_use_threads
='wxUSE_THREADS=yes'
9317 wx_cv_use_threads
='wxUSE_THREADS=no'
9323 LINE
=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9324 if test "x$LINE" != x
; then
9325 eval "DEFAULT_$LINE"
9331 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9336 eval "$wx_cv_use_threads"
9337 if test "x$cache" = xyes; then
9338 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9341 if test x"$enablestring" = xdisable; then
9342 if test $wxUSE_THREADS = yes; then
9348 result=$wxUSE_THREADS
9351 { echo "$as_me:$LINENO: result: $result" >&5
9352 echo "${ECHO_T}$result" >&6; }
9358 if test -z "$defaultval"; then
9359 if test x"$enablestring" = xdisable; then
9366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
9367 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
9368 # Check whether --enable-iniconf was given.
9369 if test "${enable_iniconf+set}" = set; then
9370 enableval=$enable_iniconf;
9371 if test "$enableval" = yes; then
9372 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
9374 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
9380 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
9381 if test "x$LINE" != x ; then
9382 eval "DEFAULT_$LINE"
9388 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9393 eval "$wx_cv_use_iniconf"
9394 if test "x
$cache" = xyes; then
9395 echo "wxUSE_INICONF
=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
9398 if test x"$enablestring" = xdisable; then
9399 if test $wxUSE_INICONF = yes; then
9405 result=$wxUSE_INICONF
9408 { echo "$as_me:$LINENO: result
: $result" >&5
9409 echo "${ECHO_T}$result" >&6; }
9413 defaultval=$wxUSE_ALL_FEATURES
9414 if test -z "$defaultval"; then
9415 if test x"$enablestring" = xdisable; then
9422 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-regkey" >&5
9423 echo $ECHO_N "checking
for --${enablestring:-enable}-regkey...
$ECHO_C" >&6; }
9424 # Check whether --enable-regkey was given.
9425 if test "${enable_regkey+set}" = set; then
9426 enableval=$enable_regkey;
9427 if test "$enableval" = yes; then
9428 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9430 wx_cv_use_regkey='wxUSE_REGKEY=no'
9436 LINE=`grep "^wxUSE_REGKEY
=" ${wx_arg_cache_file}`
9437 if test "x
$LINE" != x ; then
9438 eval "DEFAULT_
$LINE"
9444 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9449 eval "$wx_cv_use_regkey"
9450 if test "x$cache" = xyes
; then
9451 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
9454 if test x
"$enablestring" = xdisable
; then
9455 if test $wxUSE_REGKEY = yes; then
9461 result
=$wxUSE_REGKEY
9464 { echo "$as_me:$LINENO: result: $result" >&5
9465 echo "${ECHO_T}$result" >&6; }
9468 if test "$wxUSE_GUI" = "yes"; then
9473 defaultval
=$wxUSE_ALL_FEATURES
9474 if test -z "$defaultval"; then
9475 if test x
"$enablestring" = xdisable
; then
9482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9483 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9484 # Check whether --enable-docview was given.
9485 if test "${enable_docview+set}" = set; then
9486 enableval
=$enable_docview;
9487 if test "$enableval" = yes; then
9488 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9490 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9496 LINE
=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9497 if test "x$LINE" != x
; then
9498 eval "DEFAULT_$LINE"
9504 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9509 eval "$wx_cv_use_docview"
9510 if test "x$cache" = xyes; then
9511 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9514 if test x"$enablestring" = xdisable; then
9515 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9521 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9524 { echo "$as_me:$LINENO: result: $result" >&5
9525 echo "${ECHO_T}$result" >&6; }
9529 defaultval=$wxUSE_ALL_FEATURES
9530 if test -z "$defaultval"; then
9531 if test x"$enablestring" = xdisable; then
9538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9539 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9540 # Check whether --enable-help was given.
9541 if test "${enable_help+set}" = set; then
9542 enableval=$enable_help;
9543 if test "$enableval" = yes; then
9544 wx_cv_use_help='wxUSE_HELP
=yes'
9546 wx_cv_use_help='wxUSE_HELP
=no
'
9552 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9553 if test "x$LINE" != x ; then
9554 eval "DEFAULT_$LINE"
9560 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9565 eval "$wx_cv_use_help"
9566 if test "x
$cache" = xyes; then
9567 echo "wxUSE_HELP
=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9570 if test x"$enablestring" = xdisable; then
9571 if test $wxUSE_HELP = yes; then
9580 { echo "$as_me:$LINENO: result
: $result" >&5
9581 echo "${ECHO_T}$result" >&6; }
9585 defaultval=$wxUSE_ALL_FEATURES
9586 if test -z "$defaultval"; then
9587 if test x"$enablestring" = xdisable; then
9594 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
9595 echo $ECHO_N "checking
for --${enablestring:-enable}-mshtmlhelp...
$ECHO_C" >&6; }
9596 # Check whether --enable-mshtmlhelp was given.
9597 if test "${enable_mshtmlhelp+set}" = set; then
9598 enableval=$enable_mshtmlhelp;
9599 if test "$enableval" = yes; then
9600 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9602 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9608 LINE=`grep "^wxUSE_MS_HTML_HELP
=" ${wx_arg_cache_file}`
9609 if test "x
$LINE" != x ; then
9610 eval "DEFAULT_
$LINE"
9616 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9621 eval "$wx_cv_use_mshtmlhelp"
9622 if test "x$cache" = xyes
; then
9623 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9626 if test x
"$enablestring" = xdisable
; then
9627 if test $wxUSE_MS_HTML_HELP = yes; then
9633 result
=$wxUSE_MS_HTML_HELP
9636 { echo "$as_me:$LINENO: result: $result" >&5
9637 echo "${ECHO_T}$result" >&6; }
9641 defaultval
=$wxUSE_ALL_FEATURES
9642 if test -z "$defaultval"; then
9643 if test x
"$enablestring" = xdisable
; then
9650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9651 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9652 # Check whether --enable-html was given.
9653 if test "${enable_html+set}" = set; then
9654 enableval
=$enable_html;
9655 if test "$enableval" = yes; then
9656 wx_cv_use_html
='wxUSE_HTML=yes'
9658 wx_cv_use_html
='wxUSE_HTML=no'
9664 LINE
=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9665 if test "x$LINE" != x
; then
9666 eval "DEFAULT_$LINE"
9672 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9677 eval "$wx_cv_use_html"
9678 if test "x$cache" = xyes; then
9679 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9682 if test x"$enablestring" = xdisable; then
9683 if test $wxUSE_HTML = yes; then
9692 { echo "$as_me:$LINENO: result: $result" >&5
9693 echo "${ECHO_T}$result" >&6; }
9697 defaultval=$wxUSE_ALL_FEATURES
9698 if test -z "$defaultval"; then
9699 if test x"$enablestring" = xdisable; then
9706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9707 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9708 # Check whether --enable-htmlhelp was given.
9709 if test "${enable_htmlhelp+set}" = set; then
9710 enableval=$enable_htmlhelp;
9711 if test "$enableval" = yes; then
9712 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
9714 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
9720 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9721 if test "x$LINE" != x ; then
9722 eval "DEFAULT_$LINE"
9728 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9733 eval "$wx_cv_use_htmlhelp"
9734 if test "x
$cache" = xyes; then
9735 echo "wxUSE_WXHTML_HELP
=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9738 if test x"$enablestring" = xdisable; then
9739 if test $wxUSE_WXHTML_HELP = yes; then
9745 result=$wxUSE_WXHTML_HELP
9748 { echo "$as_me:$LINENO: result
: $result" >&5
9749 echo "${ECHO_T}$result" >&6; }
9753 defaultval=$wxUSE_ALL_FEATURES
9754 if test -z "$defaultval"; then
9755 if test x"$enablestring" = xdisable; then
9762 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xrc" >&5
9763 echo $ECHO_N "checking
for --${enablestring:-enable}-xrc...
$ECHO_C" >&6; }
9764 # Check whether --enable-xrc was given.
9765 if test "${enable_xrc+set}" = set; then
9766 enableval=$enable_xrc;
9767 if test "$enableval" = yes; then
9768 wx_cv_use_xrc='wxUSE_XRC=yes'
9770 wx_cv_use_xrc='wxUSE_XRC=no'
9776 LINE=`grep "^wxUSE_XRC
=" ${wx_arg_cache_file}`
9777 if test "x
$LINE" != x ; then
9778 eval "DEFAULT_
$LINE"
9784 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9789 eval "$wx_cv_use_xrc"
9790 if test "x$cache" = xyes
; then
9791 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9794 if test x
"$enablestring" = xdisable
; then
9795 if test $wxUSE_XRC = yes; then
9804 { echo "$as_me:$LINENO: result: $result" >&5
9805 echo "${ECHO_T}$result" >&6; }
9809 defaultval
=$wxUSE_ALL_FEATURES
9810 if test -z "$defaultval"; then
9811 if test x
"$enablestring" = xdisable
; then
9818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9819 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9820 # Check whether --enable-aui was given.
9821 if test "${enable_aui+set}" = set; then
9822 enableval
=$enable_aui;
9823 if test "$enableval" = yes; then
9824 wx_cv_use_aui
='wxUSE_AUI=yes'
9826 wx_cv_use_aui
='wxUSE_AUI=no'
9832 LINE
=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9833 if test "x$LINE" != x
; then
9834 eval "DEFAULT_$LINE"
9840 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9845 eval "$wx_cv_use_aui"
9846 if test "x$cache" = xyes; then
9847 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9850 if test x"$enablestring" = xdisable; then
9851 if test $wxUSE_AUI = yes; then
9860 { echo "$as_me:$LINENO: result: $result" >&5
9861 echo "${ECHO_T}$result" >&6; }
9865 defaultval=$wxUSE_ALL_FEATURES
9866 if test -z "$defaultval"; then
9867 if test x"$enablestring" = xdisable; then
9874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9875 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9876 # Check whether --enable-stc was given.
9877 if test "${enable_stc+set}" = set; then
9878 enableval=$enable_stc;
9879 if test "$enableval" = yes; then
9880 wx_cv_use_stc='wxUSE_STC
=yes'
9882 wx_cv_use_stc='wxUSE_STC
=no
'
9888 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9889 if test "x$LINE" != x ; then
9890 eval "DEFAULT_$LINE"
9896 wx_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
9901 eval "$wx_cv_use_stc"
9902 if test "x
$cache" = xyes; then
9903 echo "wxUSE_STC
=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9906 if test x"$enablestring" = xdisable; then
9907 if test $wxUSE_STC = yes; then
9916 { echo "$as_me:$LINENO: result
: $result" >&5
9917 echo "${ECHO_T}$result" >&6; }
9921 defaultval=$wxUSE_ALL_FEATURES
9922 if test -z "$defaultval"; then
9923 if test x"$enablestring" = xdisable; then
9930 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-constraints" >&5
9931 echo $ECHO_N "checking
for --${enablestring:-enable}-constraints...
$ECHO_C" >&6; }
9932 # Check whether --enable-constraints was given.
9933 if test "${enable_constraints+set}" = set; then
9934 enableval=$enable_constraints;
9935 if test "$enableval" = yes; then
9936 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9938 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9944 LINE=`grep "^wxUSE_CONSTRAINTS
=" ${wx_arg_cache_file}`
9945 if test "x
$LINE" != x ; then
9946 eval "DEFAULT_
$LINE"
9952 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9957 eval "$wx_cv_use_constraints"
9958 if test "x$cache" = xyes
; then
9959 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9962 if test x
"$enablestring" = xdisable
; then
9963 if test $wxUSE_CONSTRAINTS = yes; then
9969 result
=$wxUSE_CONSTRAINTS
9972 { echo "$as_me:$LINENO: result: $result" >&5
9973 echo "${ECHO_T}$result" >&6; }
9977 defaultval
=$wxUSE_ALL_FEATURES
9978 if test -z "$defaultval"; then
9979 if test x
"$enablestring" = xdisable
; then
9986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9987 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9988 # Check whether --enable-printarch was given.
9989 if test "${enable_printarch+set}" = set; then
9990 enableval
=$enable_printarch;
9991 if test "$enableval" = yes; then
9992 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
9994 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
10000 LINE
=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
10001 if test "x$LINE" != x
; then
10002 eval "DEFAULT_$LINE"
10008 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10013 eval "$wx_cv_use_printarch"
10014 if test "x$cache" = xyes; then
10015 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10018 if test x"$enablestring" = xdisable; then
10019 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
10025 result=$wxUSE_PRINTING_ARCHITECTURE
10028 { echo "$as_me:$LINENO: result: $result" >&5
10029 echo "${ECHO_T}$result" >&6; }
10033 defaultval=$wxUSE_ALL_FEATURES
10034 if test -z "$defaultval"; then
10035 if test x"$enablestring" = xdisable; then
10042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
10043 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
10044 # Check whether --enable-mdi was given.
10045 if test "${enable_mdi+set}" = set; then
10046 enableval=$enable_mdi;
10047 if test "$enableval" = yes; then
10048 wx_cv_use_mdi='wxUSE_MDI
=yes'
10050 wx_cv_use_mdi='wxUSE_MDI
=no
'
10056 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
10057 if test "x$LINE" != x ; then
10058 eval "DEFAULT_$LINE"
10064 wx_cv_use_mdi='wxUSE_MDI
=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10069 eval "$wx_cv_use_mdi"
10070 if test "x
$cache" = xyes; then
10071 echo "wxUSE_MDI
=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
10074 if test x"$enablestring" = xdisable; then
10075 if test $wxUSE_MDI = yes; then
10084 { echo "$as_me:$LINENO: result
: $result" >&5
10085 echo "${ECHO_T}$result" >&6; }
10089 defaultval=$wxUSE_ALL_FEATURES
10090 if test -z "$defaultval"; then
10091 if test x"$enablestring" = xdisable; then
10098 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdidoc" >&5
10099 echo $ECHO_N "checking
for --${enablestring:-enable}-mdidoc...
$ECHO_C" >&6; }
10100 # Check whether --enable-mdidoc was given.
10101 if test "${enable_mdidoc+set}" = set; then
10102 enableval=$enable_mdidoc;
10103 if test "$enableval" = yes; then
10104 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10106 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10112 LINE=`grep "^wxUSE_MDI_ARCHITECTURE
=" ${wx_arg_cache_file}`
10113 if test "x
$LINE" != x ; then
10114 eval "DEFAULT_
$LINE"
10120 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10125 eval "$wx_cv_use_mdidoc"
10126 if test "x$cache" = xyes
; then
10127 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10130 if test x
"$enablestring" = xdisable
; then
10131 if test $wxUSE_MDI_ARCHITECTURE = yes; then
10137 result
=$wxUSE_MDI_ARCHITECTURE
10140 { echo "$as_me:$LINENO: result: $result" >&5
10141 echo "${ECHO_T}$result" >&6; }
10145 defaultval
=$wxUSE_ALL_FEATURES
10146 if test -z "$defaultval"; then
10147 if test x
"$enablestring" = xdisable
; then
10154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
10155 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
10156 # Check whether --enable-loggui was given.
10157 if test "${enable_loggui+set}" = set; then
10158 enableval
=$enable_loggui;
10159 if test "$enableval" = yes; then
10160 wx_cv_use_loggui
='wxUSE_LOGGUI=yes'
10162 wx_cv_use_loggui
='wxUSE_LOGGUI=no'
10168 LINE
=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
10169 if test "x$LINE" != x
; then
10170 eval "DEFAULT_$LINE"
10176 wx_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10181 eval "$wx_cv_use_loggui"
10182 if test "x$cache" = xyes; then
10183 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
10186 if test x"$enablestring" = xdisable; then
10187 if test $wxUSE_LOGGUI = yes; then
10193 result=$wxUSE_LOGGUI
10196 { echo "$as_me:$LINENO: result: $result" >&5
10197 echo "${ECHO_T}$result" >&6; }
10201 defaultval=$wxUSE_ALL_FEATURES
10202 if test -z "$defaultval"; then
10203 if test x"$enablestring" = xdisable; then
10210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
10211 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
10212 # Check whether --enable-logwin was given.
10213 if test "${enable_logwin+set}" = set; then
10214 enableval=$enable_logwin;
10215 if test "$enableval" = yes; then
10216 wx_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
10218 wx_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
10224 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
10225 if test "x$LINE" != x ; then
10226 eval "DEFAULT_$LINE"
10232 wx_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10237 eval "$wx_cv_use_logwin"
10238 if test "x
$cache" = xyes; then
10239 echo "wxUSE_LOGWINDOW
=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
10242 if test x"$enablestring" = xdisable; then
10243 if test $wxUSE_LOGWINDOW = yes; then
10249 result=$wxUSE_LOGWINDOW
10252 { echo "$as_me:$LINENO: result
: $result" >&5
10253 echo "${ECHO_T}$result" >&6; }
10257 defaultval=$wxUSE_ALL_FEATURES
10258 if test -z "$defaultval"; then
10259 if test x"$enablestring" = xdisable; then
10266 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logdialog" >&5
10267 echo $ECHO_N "checking
for --${enablestring:-enable}-logdialog...
$ECHO_C" >&6; }
10268 # Check whether --enable-logdialog was given.
10269 if test "${enable_logdialog+set}" = set; then
10270 enableval=$enable_logdialog;
10271 if test "$enableval" = yes; then
10272 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10274 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10280 LINE=`grep "^wxUSE_LOGDIALOG
=" ${wx_arg_cache_file}`
10281 if test "x
$LINE" != x ; then
10282 eval "DEFAULT_
$LINE"
10288 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10293 eval "$wx_cv_use_logdialog"
10294 if test "x$cache" = xyes
; then
10295 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
10298 if test x
"$enablestring" = xdisable
; then
10299 if test $wxUSE_LOGDIALOG = yes; then
10305 result
=$wxUSE_LOGDIALOG
10308 { echo "$as_me:$LINENO: result: $result" >&5
10309 echo "${ECHO_T}$result" >&6; }
10313 defaultval
=$wxUSE_ALL_FEATURES
10314 if test -z "$defaultval"; then
10315 if test x
"$enablestring" = xdisable
; then
10322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10323 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10324 # Check whether --enable-webkit was given.
10325 if test "${enable_webkit+set}" = set; then
10326 enableval
=$enable_webkit;
10327 if test "$enableval" = yes; then
10328 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
10330 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
10336 LINE
=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10337 if test "x$LINE" != x
; then
10338 eval "DEFAULT_$LINE"
10344 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10349 eval "$wx_cv_use_webkit"
10350 if test "x$cache" = xyes; then
10351 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
10354 if test x"$enablestring" = xdisable; then
10355 if test $wxUSE_WEBKIT = yes; then
10361 result=$wxUSE_WEBKIT
10364 { echo "$as_me:$LINENO: result: $result" >&5
10365 echo "${ECHO_T}$result" >&6; }
10369 defaultval=$wxUSE_ALL_FEATURES
10370 if test -z "$defaultval"; then
10371 if test x"$enablestring" = xdisable; then
10378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10379 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10380 # Check whether --enable-richtext was given.
10381 if test "${enable_richtext+set}" = set; then
10382 enableval=$enable_richtext;
10383 if test "$enableval" = yes; then
10384 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
10386 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
10392 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10393 if test "x$LINE" != x ; then
10394 eval "DEFAULT_$LINE"
10400 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10405 eval "$wx_cv_use_richtext"
10406 if test "x
$cache" = xyes; then
10407 echo "wxUSE_RICHTEXT
=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10410 if test x"$enablestring" = xdisable; then
10411 if test $wxUSE_RICHTEXT = yes; then
10417 result=$wxUSE_RICHTEXT
10420 { echo "$as_me:$LINENO: result
: $result" >&5
10421 echo "${ECHO_T}$result" >&6; }
10425 defaultval=$wxUSE_ALL_FEATURES
10426 if test -z "$defaultval"; then
10427 if test x"$enablestring" = xdisable; then
10434 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
10435 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
10436 # Check whether --enable-graphics_ctx was given.
10437 if test "${enable_graphics_ctx+set}" = set; then
10438 enableval=$enable_graphics_ctx;
10439 if test "$enableval" = yes; then
10440 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10442 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10448 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT
=" ${wx_arg_cache_file}`
10449 if test "x
$LINE" != x ; then
10450 eval "DEFAULT_
$LINE"
10456 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10461 eval "$wx_cv_use_graphics_ctx"
10462 if test "x$cache" = xyes
; then
10463 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10466 if test x
"$enablestring" = xdisable
; then
10467 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10473 result
=$wxUSE_GRAPHICS_CONTEXT
10476 { echo "$as_me:$LINENO: result: $result" >&5
10477 echo "${ECHO_T}$result" >&6; }
10481 defaultval
=$wxUSE_ALL_FEATURES
10482 if test -z "$defaultval"; then
10483 if test x
"$enablestring" = xdisable
; then
10490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10491 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10492 # Check whether --enable-postscript was given.
10493 if test "${enable_postscript+set}" = set; then
10494 enableval
=$enable_postscript;
10495 if test "$enableval" = yes; then
10496 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
10498 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
10504 LINE
=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10505 if test "x$LINE" != x
; then
10506 eval "DEFAULT_$LINE"
10512 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10517 eval "$wx_cv_use_postscript"
10518 if test "x$cache" = xyes; then
10519 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10522 if test x"$enablestring" = xdisable; then
10523 if test $wxUSE_POSTSCRIPT = yes; then
10529 result=$wxUSE_POSTSCRIPT
10532 { echo "$as_me:$LINENO: result: $result" >&5
10533 echo "${ECHO_T}$result" >&6; }
10537 defaultval=$wxUSE_ALL_FEATURES
10538 if test -z "$defaultval"; then
10539 if test x"$enablestring" = xdisable; then
10546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10547 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10548 # Check whether --enable-svg was given.
10549 if test "${enable_svg+set}" = set; then
10550 enableval=$enable_svg;
10551 if test "$enableval" = yes; then
10552 wx_cv_use_svg='wxUSE_SVG
=yes'
10554 wx_cv_use_svg='wxUSE_SVG
=no
'
10560 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10561 if test "x$LINE" != x ; then
10562 eval "DEFAULT_$LINE"
10568 wx_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10573 eval "$wx_cv_use_svg"
10574 if test "x
$cache" = xyes; then
10575 echo "wxUSE_SVG
=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10578 if test x"$enablestring" = xdisable; then
10579 if test $wxUSE_SVG = yes; then
10588 { echo "$as_me:$LINENO: result
: $result" >&5
10589 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}-clipboard" >&5
10605 echo $ECHO_N "checking
for --${enablestring:-enable}-clipboard...
$ECHO_C" >&6; }
10606 # Check whether --enable-clipboard was given.
10607 if test "${enable_clipboard+set}" = set; then
10608 enableval=$enable_clipboard;
10609 if test "$enableval" = yes; then
10610 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10612 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10618 LINE=`grep "^wxUSE_CLIPBOARD
=" ${wx_arg_cache_file}`
10619 if test "x
$LINE" != x ; then
10620 eval "DEFAULT_
$LINE"
10626 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10631 eval "$wx_cv_use_clipboard"
10632 if test "x$cache" = xyes
; then
10633 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10636 if test x
"$enablestring" = xdisable
; then
10637 if test $wxUSE_CLIPBOARD = yes; then
10643 result
=$wxUSE_CLIPBOARD
10646 { echo "$as_me:$LINENO: result: $result" >&5
10647 echo "${ECHO_T}$result" >&6; }
10651 defaultval
=$wxUSE_ALL_FEATURES
10652 if test -z "$defaultval"; then
10653 if test x
"$enablestring" = xdisable
; then
10660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10661 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10662 # Check whether --enable-dnd was given.
10663 if test "${enable_dnd+set}" = set; then
10664 enableval
=$enable_dnd;
10665 if test "$enableval" = yes; then
10666 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
10668 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
10674 LINE
=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10675 if test "x$LINE" != x
; then
10676 eval "DEFAULT_$LINE"
10682 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10687 eval "$wx_cv_use_dnd"
10688 if test "x$cache" = xyes; then
10689 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10692 if test x"$enablestring" = xdisable; then
10693 if test $wxUSE_DRAG_AND_DROP = yes; then
10699 result=$wxUSE_DRAG_AND_DROP
10702 { echo "$as_me:$LINENO: result: $result" >&5
10703 echo "${ECHO_T}$result" >&6; }
10707 defaultval=$wxUSE_ALL_FEATURES
10708 if test -z "$defaultval"; then
10709 if test x"$enablestring" = xdisable; then
10716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10717 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10718 # Check whether --enable-metafile was given.
10719 if test "${enable_metafile+set}" = set; then
10720 enableval=$enable_metafile;
10721 if test "$enableval" = yes; then
10722 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
10724 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
10730 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10731 if test "x$LINE" != x ; then
10732 eval "DEFAULT_$LINE"
10738 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10743 eval "$wx_cv_use_metafile"
10744 if test "x
$cache" = xyes; then
10745 echo "wxUSE_METAFILE
=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10748 if test x"$enablestring" = xdisable; then
10749 if test $wxUSE_METAFILE = yes; then
10755 result=$wxUSE_METAFILE
10758 { echo "$as_me:$LINENO: result
: $result" >&5
10759 echo "${ECHO_T}$result" >&6; }
10763 DEFAULT_wxUSE_CONTROLS=none
10765 enablestring=disable
10767 if test -z "$defaultval"; then
10768 if test x"$enablestring" = xdisable; then
10775 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-controls" >&5
10776 echo $ECHO_N "checking
for --${enablestring:-enable}-controls...
$ECHO_C" >&6; }
10777 # Check whether --enable-controls was given.
10778 if test "${enable_controls+set}" = set; then
10779 enableval=$enable_controls;
10780 if test "$enableval" = yes; then
10781 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10783 wx_cv_use_controls='wxUSE_CONTROLS=no'
10789 LINE=`grep "^wxUSE_CONTROLS
=" ${wx_arg_cache_file}`
10790 if test "x
$LINE" != x ; then
10791 eval "DEFAULT_
$LINE"
10797 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10802 eval "$wx_cv_use_controls"
10803 if test "x$cache" = xyes
; then
10804 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10807 if test x
"$enablestring" = xdisable
; then
10808 if test $wxUSE_CONTROLS = yes; then
10814 result
=$wxUSE_CONTROLS
10817 { echo "$as_me:$LINENO: result: $result" >&5
10818 echo "${ECHO_T}$result" >&6; }
10821 if test "$wxUSE_CONTROLS" = "yes"; then
10822 DEFAULT_wxUSE_ACCEL
=yes
10823 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
10824 DEFAULT_wxUSE_BMPBUTTON
=yes
10825 DEFAULT_wxUSE_BUTTON
=yes
10826 DEFAULT_wxUSE_CALCTRL
=yes
10827 DEFAULT_wxUSE_CARET
=yes
10828 DEFAULT_wxUSE_COMBOBOX
=yes
10829 DEFAULT_wxUSE_CHECKBOX
=yes
10830 DEFAULT_wxUSE_CHECKLISTBOX
=yes
10831 DEFAULT_wxUSE_CHOICE
=yes
10832 DEFAULT_wxUSE_CHOICEBOOK
=yes
10833 DEFAULT_wxUSE_COLLPANE
=yes
10834 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
10835 DEFAULT_wxUSE_COMBOBOX
=yes
10836 DEFAULT_wxUSE_DATEPICKCTRL
=yes
10837 DEFAULT_wxUSE_DISPLAY
=yes
10838 DEFAULT_wxUSE_DETECT_SM
=yes
10839 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
10840 DEFAULT_wxUSE_FILECTRL
=yes
10841 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
10842 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
10843 DEFAULT_wxUSE_GAUGE
=yes
10844 DEFAULT_wxUSE_GRID
=yes
10845 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
10846 DEFAULT_wxUSE_DATAVIEWCTRL
=no
10847 DEFAULT_wxUSE_IMAGLIST
=yes
10848 DEFAULT_wxUSE_LISTBOOK
=yes
10849 DEFAULT_wxUSE_LISTBOX
=yes
10850 DEFAULT_wxUSE_LISTCTRL
=yes
10851 DEFAULT_wxUSE_NOTEBOOK
=yes
10852 DEFAULT_wxUSE_RADIOBOX
=yes
10853 DEFAULT_wxUSE_RADIOBTN
=yes
10854 DEFAULT_wxUSE_SASH
=yes
10855 DEFAULT_wxUSE_SCROLLBAR
=yes
10856 DEFAULT_wxUSE_SEARCHCTRL
=yes
10857 DEFAULT_wxUSE_SLIDER
=yes
10858 DEFAULT_wxUSE_SPINBTN
=yes
10859 DEFAULT_wxUSE_SPINCTRL
=yes
10860 DEFAULT_wxUSE_SPLITTER
=yes
10861 DEFAULT_wxUSE_STATBMP
=yes
10862 DEFAULT_wxUSE_STATBOX
=yes
10863 DEFAULT_wxUSE_STATLINE
=yes
10864 DEFAULT_wxUSE_STATUSBAR
=yes
10865 DEFAULT_wxUSE_TAB_DIALOG
=yes
10866 DEFAULT_wxUSE_TOGGLEBTN
=yes
10867 DEFAULT_wxUSE_TOOLBAR
=yes
10868 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
10869 DEFAULT_wxUSE_TOOLTIPS
=yes
10870 DEFAULT_wxUSE_TREEBOOK
=yes
10871 DEFAULT_wxUSE_TOOLBOOK
=yes
10872 DEFAULT_wxUSE_TREECTRL
=yes
10873 DEFAULT_wxUSE_POPUPWIN
=yes
10874 DEFAULT_wxUSE_TIPWINDOW
=yes
10875 elif test "$wxUSE_CONTROLS" = "no"; then
10876 DEFAULT_wxUSE_ACCEL
=no
10877 DEFAULT_wxUSE_ANIMATIONCTRL
=no
10878 DEFAULT_wxUSE_BMPBUTTON
=no
10879 DEFAULT_wxUSE_BUTTON
=no
10880 DEFAULT_wxUSE_CALCTRL
=no
10881 DEFAULT_wxUSE_CARET
=no
10882 DEFAULT_wxUSE_COLLPANE
=no
10883 DEFAULT_wxUSE_COMBOBOX
=no
10884 DEFAULT_wxUSE_CHECKBOX
=no
10885 DEFAULT_wxUSE_CHECKLISTBOX
=no
10886 DEFAULT_wxUSE_CHOICE
=no
10887 DEFAULT_wxUSE_CHOICEBOOK
=no
10888 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
10889 DEFAULT_wxUSE_COMBOBOX
=no
10890 DEFAULT_wxUSE_DATEPICKCTRL
=no
10891 DEFAULT_wxUSE_DISPLAY
=no
10892 DEFAULT_wxUSE_DETECT_SM
=no
10893 DEFAULT_wxUSE_DIRPICKERCTRL
=no
10894 DEFAULT_wxUSE_FILECTRL
=no
10895 DEFAULT_wxUSE_FILEPICKERCTRL
=no
10896 DEFAULT_wxUSE_FONTPICKERCTRL
=no
10897 DEFAULT_wxUSE_GAUGE
=no
10898 DEFAULT_wxUSE_GRID
=no
10899 DEFAULT_wxUSE_HYPERLINKCTRL
=no
10900 DEFAULT_wxUSE_DATAVIEWCTRL
=no
10901 DEFAULT_wxUSE_IMAGLIST
=no
10902 DEFAULT_wxUSE_LISTBOOK
=no
10903 DEFAULT_wxUSE_LISTBOX
=no
10904 DEFAULT_wxUSE_LISTCTRL
=no
10905 DEFAULT_wxUSE_NOTEBOOK
=no
10906 DEFAULT_wxUSE_RADIOBOX
=no
10907 DEFAULT_wxUSE_RADIOBTN
=no
10908 DEFAULT_wxUSE_SASH
=no
10909 DEFAULT_wxUSE_SCROLLBAR
=no
10910 DEFAULT_wxUSE_SEARCHCTRL
=no
10911 DEFAULT_wxUSE_SLIDER
=no
10912 DEFAULT_wxUSE_SPINBTN
=no
10913 DEFAULT_wxUSE_SPINCTRL
=no
10914 DEFAULT_wxUSE_SPLITTER
=no
10915 DEFAULT_wxUSE_STATBMP
=no
10916 DEFAULT_wxUSE_STATBOX
=no
10917 DEFAULT_wxUSE_STATLINE
=no
10918 DEFAULT_wxUSE_STATUSBAR
=no
10919 DEFAULT_wxUSE_TAB_DIALOG
=no
10920 DEFAULT_wxUSE_TOGGLEBTN
=no
10921 DEFAULT_wxUSE_TOOLBAR
=no
10922 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
10923 DEFAULT_wxUSE_TOOLTIPS
=no
10924 DEFAULT_wxUSE_TREEBOOK
=no
10925 DEFAULT_wxUSE_TOOLBOOK
=no
10926 DEFAULT_wxUSE_TREECTRL
=no
10927 DEFAULT_wxUSE_POPUPWIN
=no
10928 DEFAULT_wxUSE_TIPWINDOW
=no
10933 defaultval
=$wxUSE_ALL_FEATURES
10934 if test -z "$defaultval"; then
10935 if test x
"$enablestring" = xdisable
; then
10942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10943 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10944 # Check whether --enable-accel was given.
10945 if test "${enable_accel+set}" = set; then
10946 enableval
=$enable_accel;
10947 if test "$enableval" = yes; then
10948 wx_cv_use_accel
='wxUSE_ACCEL=yes'
10950 wx_cv_use_accel
='wxUSE_ACCEL=no'
10956 LINE
=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10957 if test "x$LINE" != x
; then
10958 eval "DEFAULT_$LINE"
10964 wx_cv_use_accel
='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10969 eval "$wx_cv_use_accel"
10970 if test "x$cache" = xyes; then
10971 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10974 if test x"$enablestring" = xdisable; then
10975 if test $wxUSE_ACCEL = yes; then
10981 result=$wxUSE_ACCEL
10984 { echo "$as_me:$LINENO: result: $result" >&5
10985 echo "${ECHO_T}$result" >&6; }
10989 defaultval=$wxUSE_ALL_FEATURES
10990 if test -z "$defaultval"; then
10991 if test x"$enablestring" = xdisable; then
10998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10999 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
11000 # Check whether --enable-animatectrl was given.
11001 if test "${enable_animatectrl+set}" = set; then
11002 enableval=$enable_animatectrl;
11003 if test "$enableval" = yes; then
11004 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=yes'
11006 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=no
'
11012 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
11013 if test "x$LINE" != x ; then
11014 eval "DEFAULT_$LINE"
11020 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11025 eval "$wx_cv_use_animatectrl"
11026 if test "x
$cache" = xyes; then
11027 echo "wxUSE_ANIMATIONCTRL
=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
11030 if test x"$enablestring" = xdisable; then
11031 if test $wxUSE_ANIMATIONCTRL = yes; then
11037 result=$wxUSE_ANIMATIONCTRL
11040 { echo "$as_me:$LINENO: result
: $result" >&5
11041 echo "${ECHO_T}$result" >&6; }
11045 defaultval=$wxUSE_ALL_FEATURES
11046 if test -z "$defaultval"; then
11047 if test x"$enablestring" = xdisable; then
11054 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-button" >&5
11055 echo $ECHO_N "checking
for --${enablestring:-enable}-button...
$ECHO_C" >&6; }
11056 # Check whether --enable-button was given.
11057 if test "${enable_button+set}" = set; then
11058 enableval=$enable_button;
11059 if test "$enableval" = yes; then
11060 wx_cv_use_button='wxUSE_BUTTON=yes'
11062 wx_cv_use_button='wxUSE_BUTTON=no'
11068 LINE=`grep "^wxUSE_BUTTON
=" ${wx_arg_cache_file}`
11069 if test "x
$LINE" != x ; then
11070 eval "DEFAULT_
$LINE"
11076 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11081 eval "$wx_cv_use_button"
11082 if test "x$cache" = xyes
; then
11083 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
11086 if test x
"$enablestring" = xdisable
; then
11087 if test $wxUSE_BUTTON = yes; then
11093 result
=$wxUSE_BUTTON
11096 { echo "$as_me:$LINENO: result: $result" >&5
11097 echo "${ECHO_T}$result" >&6; }
11101 defaultval
=$wxUSE_ALL_FEATURES
11102 if test -z "$defaultval"; then
11103 if test x
"$enablestring" = xdisable
; then
11110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
11111 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
11112 # Check whether --enable-bmpbutton was given.
11113 if test "${enable_bmpbutton+set}" = set; then
11114 enableval
=$enable_bmpbutton;
11115 if test "$enableval" = yes; then
11116 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
11118 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
11124 LINE
=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
11125 if test "x$LINE" != x
; then
11126 eval "DEFAULT_$LINE"
11132 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11137 eval "$wx_cv_use_bmpbutton"
11138 if test "x$cache" = xyes; then
11139 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
11142 if test x"$enablestring" = xdisable; then
11143 if test $wxUSE_BMPBUTTON = yes; then
11149 result=$wxUSE_BMPBUTTON
11152 { echo "$as_me:$LINENO: result: $result" >&5
11153 echo "${ECHO_T}$result" >&6; }
11157 defaultval=$wxUSE_ALL_FEATURES
11158 if test -z "$defaultval"; then
11159 if test x"$enablestring" = xdisable; then
11166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
11167 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
11168 # Check whether --enable-bmpcombobox was given.
11169 if test "${enable_bmpcombobox+set}" = set; then
11170 enableval=$enable_bmpcombobox;
11171 if test "$enableval" = yes; then
11172 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
11174 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
11180 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
11181 if test "x$LINE" != x ; then
11182 eval "DEFAULT_$LINE"
11188 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11193 eval "$wx_cv_use_bmpcombobox"
11194 if test "x
$cache" = xyes; then
11195 echo "wxUSE_BITMAPCOMBOBOX
=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
11198 if test x"$enablestring" = xdisable; then
11199 if test $wxUSE_BITMAPCOMBOBOX = yes; then
11205 result=$wxUSE_BITMAPCOMBOBOX
11208 { echo "$as_me:$LINENO: result
: $result" >&5
11209 echo "${ECHO_T}$result" >&6; }
11213 defaultval=$wxUSE_ALL_FEATURES
11214 if test -z "$defaultval"; then
11215 if test x"$enablestring" = xdisable; then
11222 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-calendar" >&5
11223 echo $ECHO_N "checking
for --${enablestring:-enable}-calendar...
$ECHO_C" >&6; }
11224 # Check whether --enable-calendar was given.
11225 if test "${enable_calendar+set}" = set; then
11226 enableval=$enable_calendar;
11227 if test "$enableval" = yes; then
11228 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11230 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11236 LINE=`grep "^wxUSE_CALCTRL
=" ${wx_arg_cache_file}`
11237 if test "x
$LINE" != x ; then
11238 eval "DEFAULT_
$LINE"
11244 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11249 eval "$wx_cv_use_calendar"
11250 if test "x$cache" = xyes
; then
11251 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
11254 if test x
"$enablestring" = xdisable
; then
11255 if test $wxUSE_CALCTRL = yes; then
11261 result
=$wxUSE_CALCTRL
11264 { echo "$as_me:$LINENO: result: $result" >&5
11265 echo "${ECHO_T}$result" >&6; }
11269 defaultval
=$wxUSE_ALL_FEATURES
11270 if test -z "$defaultval"; then
11271 if test x
"$enablestring" = xdisable
; then
11278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
11279 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
11280 # Check whether --enable-caret was given.
11281 if test "${enable_caret+set}" = set; then
11282 enableval
=$enable_caret;
11283 if test "$enableval" = yes; then
11284 wx_cv_use_caret
='wxUSE_CARET=yes'
11286 wx_cv_use_caret
='wxUSE_CARET=no'
11292 LINE
=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
11293 if test "x$LINE" != x
; then
11294 eval "DEFAULT_$LINE"
11300 wx_cv_use_caret
='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11305 eval "$wx_cv_use_caret"
11306 if test "x$cache" = xyes; then
11307 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
11310 if test x"$enablestring" = xdisable; then
11311 if test $wxUSE_CARET = yes; then
11317 result=$wxUSE_CARET
11320 { echo "$as_me:$LINENO: result: $result" >&5
11321 echo "${ECHO_T}$result" >&6; }
11325 defaultval=$wxUSE_ALL_FEATURES
11326 if test -z "$defaultval"; then
11327 if test x"$enablestring" = xdisable; then
11334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
11335 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
11336 # Check whether --enable-checkbox was given.
11337 if test "${enable_checkbox+set}" = set; then
11338 enableval=$enable_checkbox;
11339 if test "$enableval" = yes; then
11340 wx_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
11342 wx_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
11348 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
11349 if test "x$LINE" != x ; then
11350 eval "DEFAULT_$LINE"
11356 wx_cv_use_checkbox='wxUSE_CHECKBOX
=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11361 eval "$wx_cv_use_checkbox"
11362 if test "x
$cache" = xyes; then
11363 echo "wxUSE_CHECKBOX
=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
11366 if test x"$enablestring" = xdisable; then
11367 if test $wxUSE_CHECKBOX = yes; then
11373 result=$wxUSE_CHECKBOX
11376 { echo "$as_me:$LINENO: result
: $result" >&5
11377 echo "${ECHO_T}$result" >&6; }
11381 defaultval=$wxUSE_ALL_FEATURES
11382 if test -z "$defaultval"; then
11383 if test x"$enablestring" = xdisable; then
11390 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checklst" >&5
11391 echo $ECHO_N "checking
for --${enablestring:-enable}-checklst...
$ECHO_C" >&6; }
11392 # Check whether --enable-checklst was given.
11393 if test "${enable_checklst+set}" = set; then
11394 enableval=$enable_checklst;
11395 if test "$enableval" = yes; then
11396 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11398 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11404 LINE=`grep "^wxUSE_CHECKLST
=" ${wx_arg_cache_file}`
11405 if test "x
$LINE" != x ; then
11406 eval "DEFAULT_
$LINE"
11412 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11417 eval "$wx_cv_use_checklst"
11418 if test "x$cache" = xyes
; then
11419 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11422 if test x
"$enablestring" = xdisable
; then
11423 if test $wxUSE_CHECKLST = yes; then
11429 result
=$wxUSE_CHECKLST
11432 { echo "$as_me:$LINENO: result: $result" >&5
11433 echo "${ECHO_T}$result" >&6; }
11437 defaultval
=$wxUSE_ALL_FEATURES
11438 if test -z "$defaultval"; then
11439 if test x
"$enablestring" = xdisable
; then
11446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11447 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11448 # Check whether --enable-choice was given.
11449 if test "${enable_choice+set}" = set; then
11450 enableval
=$enable_choice;
11451 if test "$enableval" = yes; then
11452 wx_cv_use_choice
='wxUSE_CHOICE=yes'
11454 wx_cv_use_choice
='wxUSE_CHOICE=no'
11460 LINE
=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11461 if test "x$LINE" != x
; then
11462 eval "DEFAULT_$LINE"
11468 wx_cv_use_choice
='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11473 eval "$wx_cv_use_choice"
11474 if test "x$cache" = xyes; then
11475 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11478 if test x"$enablestring" = xdisable; then
11479 if test $wxUSE_CHOICE = yes; then
11485 result=$wxUSE_CHOICE
11488 { echo "$as_me:$LINENO: result: $result" >&5
11489 echo "${ECHO_T}$result" >&6; }
11493 defaultval=$wxUSE_ALL_FEATURES
11494 if test -z "$defaultval"; then
11495 if test x"$enablestring" = xdisable; then
11502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11503 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11504 # Check whether --enable-choicebook was given.
11505 if test "${enable_choicebook+set}" = set; then
11506 enableval=$enable_choicebook;
11507 if test "$enableval" = yes; then
11508 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
11510 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
11516 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11517 if test "x$LINE" != x ; then
11518 eval "DEFAULT_$LINE"
11524 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11529 eval "$wx_cv_use_choicebook"
11530 if test "x
$cache" = xyes; then
11531 echo "wxUSE_CHOICEBOOK
=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11534 if test x"$enablestring" = xdisable; then
11535 if test $wxUSE_CHOICEBOOK = yes; then
11541 result=$wxUSE_CHOICEBOOK
11544 { echo "$as_me:$LINENO: result
: $result" >&5
11545 echo "${ECHO_T}$result" >&6; }
11549 defaultval=$wxUSE_ALL_FEATURES
11550 if test -z "$defaultval"; then
11551 if test x"$enablestring" = xdisable; then
11558 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-collpane" >&5
11559 echo $ECHO_N "checking
for --${enablestring:-enable}-collpane...
$ECHO_C" >&6; }
11560 # Check whether --enable-collpane was given.
11561 if test "${enable_collpane+set}" = set; then
11562 enableval=$enable_collpane;
11563 if test "$enableval" = yes; then
11564 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11566 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11572 LINE=`grep "^wxUSE_COLLPANE
=" ${wx_arg_cache_file}`
11573 if test "x
$LINE" != x ; then
11574 eval "DEFAULT_
$LINE"
11580 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11585 eval "$wx_cv_use_collpane"
11586 if test "x$cache" = xyes
; then
11587 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11590 if test x
"$enablestring" = xdisable
; then
11591 if test $wxUSE_COLLPANE = yes; then
11597 result
=$wxUSE_COLLPANE
11600 { echo "$as_me:$LINENO: result: $result" >&5
11601 echo "${ECHO_T}$result" >&6; }
11605 defaultval
=$wxUSE_ALL_FEATURES
11606 if test -z "$defaultval"; then
11607 if test x
"$enablestring" = xdisable
; then
11614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11615 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11616 # Check whether --enable-colourpicker was given.
11617 if test "${enable_colourpicker+set}" = set; then
11618 enableval
=$enable_colourpicker;
11619 if test "$enableval" = yes; then
11620 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
11622 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
11628 LINE
=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11629 if test "x$LINE" != x
; then
11630 eval "DEFAULT_$LINE"
11636 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11641 eval "$wx_cv_use_colourpicker"
11642 if test "x$cache" = xyes; then
11643 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11646 if test x"$enablestring" = xdisable; then
11647 if test $wxUSE_COLOURPICKERCTRL = yes; then
11653 result=$wxUSE_COLOURPICKERCTRL
11656 { echo "$as_me:$LINENO: result: $result" >&5
11657 echo "${ECHO_T}$result" >&6; }
11661 defaultval=$wxUSE_ALL_FEATURES
11662 if test -z "$defaultval"; then
11663 if test x"$enablestring" = xdisable; then
11670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11671 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11672 # Check whether --enable-combobox was given.
11673 if test "${enable_combobox+set}" = set; then
11674 enableval=$enable_combobox;
11675 if test "$enableval" = yes; then
11676 wx_cv_use_combobox='wxUSE_COMBOBOX
=yes'
11678 wx_cv_use_combobox='wxUSE_COMBOBOX
=no
'
11684 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11685 if test "x$LINE" != x ; then
11686 eval "DEFAULT_$LINE"
11692 wx_cv_use_combobox='wxUSE_COMBOBOX
=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11697 eval "$wx_cv_use_combobox"
11698 if test "x
$cache" = xyes; then
11699 echo "wxUSE_COMBOBOX
=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11702 if test x"$enablestring" = xdisable; then
11703 if test $wxUSE_COMBOBOX = yes; then
11709 result=$wxUSE_COMBOBOX
11712 { echo "$as_me:$LINENO: result
: $result" >&5
11713 echo "${ECHO_T}$result" >&6; }
11717 defaultval=$wxUSE_ALL_FEATURES
11718 if test -z "$defaultval"; then
11719 if test x"$enablestring" = xdisable; then
11726 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-comboctrl" >&5
11727 echo $ECHO_N "checking
for --${enablestring:-enable}-comboctrl...
$ECHO_C" >&6; }
11728 # Check whether --enable-comboctrl was given.
11729 if test "${enable_comboctrl+set}" = set; then
11730 enableval=$enable_comboctrl;
11731 if test "$enableval" = yes; then
11732 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11734 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11740 LINE=`grep "^wxUSE_COMBOCTRL
=" ${wx_arg_cache_file}`
11741 if test "x
$LINE" != x ; then
11742 eval "DEFAULT_
$LINE"
11748 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11753 eval "$wx_cv_use_comboctrl"
11754 if test "x$cache" = xyes
; then
11755 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11758 if test x
"$enablestring" = xdisable
; then
11759 if test $wxUSE_COMBOCTRL = yes; then
11765 result
=$wxUSE_COMBOCTRL
11768 { echo "$as_me:$LINENO: result: $result" >&5
11769 echo "${ECHO_T}$result" >&6; }
11773 defaultval
=$wxUSE_ALL_FEATURES
11774 if test -z "$defaultval"; then
11775 if test x
"$enablestring" = xdisable
; then
11782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11783 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11784 # Check whether --enable-datepick was given.
11785 if test "${enable_datepick+set}" = set; then
11786 enableval
=$enable_datepick;
11787 if test "$enableval" = yes; then
11788 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
11790 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
11796 LINE
=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11797 if test "x$LINE" != x
; then
11798 eval "DEFAULT_$LINE"
11804 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11809 eval "$wx_cv_use_datepick"
11810 if test "x$cache" = xyes; then
11811 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11814 if test x"$enablestring" = xdisable; then
11815 if test $wxUSE_DATEPICKCTRL = yes; then
11821 result=$wxUSE_DATEPICKCTRL
11824 { echo "$as_me:$LINENO: result: $result" >&5
11825 echo "${ECHO_T}$result" >&6; }
11829 defaultval=$wxUSE_ALL_FEATURES
11830 if test -z "$defaultval"; then
11831 if test x"$enablestring" = xdisable; then
11838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11839 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11840 # Check whether --enable-dirpicker was given.
11841 if test "${enable_dirpicker+set}" = set; then
11842 enableval=$enable_dirpicker;
11843 if test "$enableval" = yes; then
11844 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
11846 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
11852 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11853 if test "x$LINE" != x ; then
11854 eval "DEFAULT_$LINE"
11860 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11865 eval "$wx_cv_use_dirpicker"
11866 if test "x
$cache" = xyes; then
11867 echo "wxUSE_DIRPICKERCTRL
=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11870 if test x"$enablestring" = xdisable; then
11871 if test $wxUSE_DIRPICKERCTRL = yes; then
11877 result=$wxUSE_DIRPICKERCTRL
11880 { echo "$as_me:$LINENO: result
: $result" >&5
11881 echo "${ECHO_T}$result" >&6; }
11885 defaultval=$wxUSE_ALL_FEATURES
11886 if test -z "$defaultval"; then
11887 if test x"$enablestring" = xdisable; then
11894 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-display" >&5
11895 echo $ECHO_N "checking
for --${enablestring:-enable}-display...
$ECHO_C" >&6; }
11896 # Check whether --enable-display was given.
11897 if test "${enable_display+set}" = set; then
11898 enableval=$enable_display;
11899 if test "$enableval" = yes; then
11900 wx_cv_use_display='wxUSE_DISPLAY=yes'
11902 wx_cv_use_display='wxUSE_DISPLAY=no'
11908 LINE=`grep "^wxUSE_DISPLAY
=" ${wx_arg_cache_file}`
11909 if test "x
$LINE" != x ; then
11910 eval "DEFAULT_
$LINE"
11916 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11921 eval "$wx_cv_use_display"
11922 if test "x$cache" = xyes
; then
11923 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11926 if test x
"$enablestring" = xdisable
; then
11927 if test $wxUSE_DISPLAY = yes; then
11933 result
=$wxUSE_DISPLAY
11936 { echo "$as_me:$LINENO: result: $result" >&5
11937 echo "${ECHO_T}$result" >&6; }
11941 defaultval
=$wxUSE_ALL_FEATURES
11942 if test -z "$defaultval"; then
11943 if test x
"$enablestring" = xdisable
; then
11950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11951 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11952 # Check whether --enable-detect_sm was given.
11953 if test "${enable_detect_sm+set}" = set; then
11954 enableval
=$enable_detect_sm;
11955 if test "$enableval" = yes; then
11956 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
11958 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
11964 LINE
=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11965 if test "x$LINE" != x
; then
11966 eval "DEFAULT_$LINE"
11972 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11977 eval "$wx_cv_use_detect_sm"
11978 if test "x$cache" = xyes; then
11979 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11982 if test x"$enablestring" = xdisable; then
11983 if test $wxUSE_DETECT_SM = yes; then
11989 result=$wxUSE_DETECT_SM
11992 { echo "$as_me:$LINENO: result: $result" >&5
11993 echo "${ECHO_T}$result" >&6; }
11997 defaultval=$wxUSE_ALL_FEATURES
11998 if test -z "$defaultval"; then
11999 if test x"$enablestring" = xdisable; then
12006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
12007 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
12008 # Check whether --enable-editablebox was given.
12009 if test "${enable_editablebox+set}" = set; then
12010 enableval=$enable_editablebox;
12011 if test "$enableval" = yes; then
12012 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
12014 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
12020 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
12021 if test "x$LINE" != x ; then
12022 eval "DEFAULT_$LINE"
12028 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12033 eval "$wx_cv_use_editablebox"
12034 if test "x
$cache" = xyes; then
12035 echo "wxUSE_EDITABLELISTBOX
=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
12038 if test x"$enablestring" = xdisable; then
12039 if test $wxUSE_EDITABLELISTBOX = yes; then
12045 result=$wxUSE_EDITABLELISTBOX
12048 { echo "$as_me:$LINENO: result
: $result" >&5
12049 echo "${ECHO_T}$result" >&6; }
12053 defaultval=$wxUSE_ALL_FEATURES
12054 if test -z "$defaultval"; then
12055 if test x"$enablestring" = xdisable; then
12062 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filepicker" >&5
12063 echo $ECHO_N "checking
for --${enablestring:-enable}-filepicker...
$ECHO_C" >&6; }
12064 # Check whether --enable-filepicker was given.
12065 if test "${enable_filepicker+set}" = set; then
12066 enableval=$enable_filepicker;
12067 if test "$enableval" = yes; then
12068 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12070 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12076 LINE=`grep "^wxUSE_FILEPICKERCTRL
=" ${wx_arg_cache_file}`
12077 if test "x
$LINE" != x ; then
12078 eval "DEFAULT_
$LINE"
12084 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12089 eval "$wx_cv_use_filepicker"
12090 if test "x$cache" = xyes
; then
12091 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12094 if test x
"$enablestring" = xdisable
; then
12095 if test $wxUSE_FILEPICKERCTRL = yes; then
12101 result
=$wxUSE_FILEPICKERCTRL
12104 { echo "$as_me:$LINENO: result: $result" >&5
12105 echo "${ECHO_T}$result" >&6; }
12109 defaultval
=$wxUSE_ALL_FEATURES
12110 if test -z "$defaultval"; then
12111 if test x
"$enablestring" = xdisable
; then
12118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
12119 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
12120 # Check whether --enable-filectrl was given.
12121 if test "${enable_filectrl+set}" = set; then
12122 enableval
=$enable_filectrl;
12123 if test "$enableval" = yes; then
12124 wx_cv_use_filectrl
='wxUSE_FILECTRL=yes'
12126 wx_cv_use_filectrl
='wxUSE_FILECTRL=no'
12132 LINE
=`grep "^wxUSE_FILECTRL=" ${wx_arg_cache_file}`
12133 if test "x$LINE" != x
; then
12134 eval "DEFAULT_$LINE"
12140 wx_cv_use_filectrl
='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12145 eval "$wx_cv_use_filectrl"
12146 if test "x$cache" = xyes; then
12147 echo "wxUSE_FILECTRL=$wxUSE_FILECTRL" >> ${wx_arg_cache_file}.tmp
12150 if test x"$enablestring" = xdisable; then
12151 if test $wxUSE_FILECTRL = yes; then
12157 result=$wxUSE_FILECTRL
12160 { echo "$as_me:$LINENO: result: $result" >&5
12161 echo "${ECHO_T}$result" >&6; }
12165 defaultval=$wxUSE_ALL_FEATURES
12166 if test -z "$defaultval"; then
12167 if test x"$enablestring" = xdisable; then
12174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
12175 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
12176 # Check whether --enable-fontpicker was given.
12177 if test "${enable_fontpicker+set}" = set; then
12178 enableval=$enable_fontpicker;
12179 if test "$enableval" = yes; then
12180 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=yes'
12182 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=no
'
12188 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
12189 if test "x$LINE" != x ; then
12190 eval "DEFAULT_$LINE"
12196 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12201 eval "$wx_cv_use_fontpicker"
12202 if test "x
$cache" = xyes; then
12203 echo "wxUSE_FONTPICKERCTRL
=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12206 if test x"$enablestring" = xdisable; then
12207 if test $wxUSE_FONTPICKERCTRL = yes; then
12213 result=$wxUSE_FONTPICKERCTRL
12216 { echo "$as_me:$LINENO: result
: $result" >&5
12217 echo "${ECHO_T}$result" >&6; }
12221 defaultval=$wxUSE_ALL_FEATURES
12222 if test -z "$defaultval"; then
12223 if test x"$enablestring" = xdisable; then
12230 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gauge" >&5
12231 echo $ECHO_N "checking
for --${enablestring:-enable}-gauge...
$ECHO_C" >&6; }
12232 # Check whether --enable-gauge was given.
12233 if test "${enable_gauge+set}" = set; then
12234 enableval=$enable_gauge;
12235 if test "$enableval" = yes; then
12236 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12238 wx_cv_use_gauge='wxUSE_GAUGE=no'
12244 LINE=`grep "^wxUSE_GAUGE
=" ${wx_arg_cache_file}`
12245 if test "x
$LINE" != x ; then
12246 eval "DEFAULT_
$LINE"
12252 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12257 eval "$wx_cv_use_gauge"
12258 if test "x$cache" = xyes
; then
12259 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
12262 if test x
"$enablestring" = xdisable
; then
12263 if test $wxUSE_GAUGE = yes; then
12269 result
=$wxUSE_GAUGE
12272 { echo "$as_me:$LINENO: result: $result" >&5
12273 echo "${ECHO_T}$result" >&6; }
12277 defaultval
=$wxUSE_ALL_FEATURES
12278 if test -z "$defaultval"; then
12279 if test x
"$enablestring" = xdisable
; then
12286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
12287 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
12288 # Check whether --enable-grid was given.
12289 if test "${enable_grid+set}" = set; then
12290 enableval
=$enable_grid;
12291 if test "$enableval" = yes; then
12292 wx_cv_use_grid
='wxUSE_GRID=yes'
12294 wx_cv_use_grid
='wxUSE_GRID=no'
12300 LINE
=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
12301 if test "x$LINE" != x
; then
12302 eval "DEFAULT_$LINE"
12308 wx_cv_use_grid
='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12313 eval "$wx_cv_use_grid"
12314 if test "x$cache" = xyes; then
12315 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
12318 if test x"$enablestring" = xdisable; then
12319 if test $wxUSE_GRID = yes; then
12328 { echo "$as_me:$LINENO: result: $result" >&5
12329 echo "${ECHO_T}$result" >&6; }
12333 defaultval=$wxUSE_ALL_FEATURES
12334 if test -z "$defaultval"; then
12335 if test x"$enablestring" = xdisable; then
12342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
12343 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
12344 # Check whether --enable-dataviewctrl was given.
12345 if test "${enable_dataviewctrl+set}" = set; then
12346 enableval=$enable_dataviewctrl;
12347 if test "$enableval" = yes; then
12348 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
12350 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
12356 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
12357 if test "x$LINE" != x ; then
12358 eval "DEFAULT_$LINE"
12364 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12369 eval "$wx_cv_use_dataviewctrl"
12370 if test "x
$cache" = xyes; then
12371 echo "wxUSE_DATAVIEWCTRL
=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
12374 if test x"$enablestring" = xdisable; then
12375 if test $wxUSE_DATAVIEWCTRL = yes; then
12381 result=$wxUSE_DATAVIEWCTRL
12384 { echo "$as_me:$LINENO: result
: $result" >&5
12385 echo "${ECHO_T}$result" >&6; }
12389 defaultval=$wxUSE_ALL_FEATURES
12390 if test -z "$defaultval"; then
12391 if test x"$enablestring" = xdisable; then
12398 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-hyperlink" >&5
12399 echo $ECHO_N "checking
for --${enablestring:-enable}-hyperlink...
$ECHO_C" >&6; }
12400 # Check whether --enable-hyperlink was given.
12401 if test "${enable_hyperlink+set}" = set; then
12402 enableval=$enable_hyperlink;
12403 if test "$enableval" = yes; then
12404 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12406 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12412 LINE=`grep "^wxUSE_HYPERLINKCTRL
=" ${wx_arg_cache_file}`
12413 if test "x
$LINE" != x ; then
12414 eval "DEFAULT_
$LINE"
12420 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12425 eval "$wx_cv_use_hyperlink"
12426 if test "x$cache" = xyes
; then
12427 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
12430 if test x
"$enablestring" = xdisable
; then
12431 if test $wxUSE_HYPERLINKCTRL = yes; then
12437 result
=$wxUSE_HYPERLINKCTRL
12440 { echo "$as_me:$LINENO: result: $result" >&5
12441 echo "${ECHO_T}$result" >&6; }
12445 defaultval
=$wxUSE_ALL_FEATURES
12446 if test -z "$defaultval"; then
12447 if test x
"$enablestring" = xdisable
; then
12454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12455 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12456 # Check whether --enable-imaglist was given.
12457 if test "${enable_imaglist+set}" = set; then
12458 enableval
=$enable_imaglist;
12459 if test "$enableval" = yes; then
12460 wx_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
12462 wx_cv_use_imaglist
='wxUSE_IMAGLIST=no'
12468 LINE
=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12469 if test "x$LINE" != x
; then
12470 eval "DEFAULT_$LINE"
12476 wx_cv_use_imaglist
='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12481 eval "$wx_cv_use_imaglist"
12482 if test "x$cache" = xyes; then
12483 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
12486 if test x"$enablestring" = xdisable; then
12487 if test $wxUSE_IMAGLIST = yes; then
12493 result=$wxUSE_IMAGLIST
12496 { echo "$as_me:$LINENO: result: $result" >&5
12497 echo "${ECHO_T}$result" >&6; }
12501 defaultval=$wxUSE_ALL_FEATURES
12502 if test -z "$defaultval"; then
12503 if test x"$enablestring" = xdisable; then
12510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12511 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12512 # Check whether --enable-listbook was given.
12513 if test "${enable_listbook+set}" = set; then
12514 enableval=$enable_listbook;
12515 if test "$enableval" = yes; then
12516 wx_cv_use_listbook='wxUSE_LISTBOOK
=yes'
12518 wx_cv_use_listbook='wxUSE_LISTBOOK
=no
'
12524 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12525 if test "x$LINE" != x ; then
12526 eval "DEFAULT_$LINE"
12532 wx_cv_use_listbook='wxUSE_LISTBOOK
=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12537 eval "$wx_cv_use_listbook"
12538 if test "x
$cache" = xyes; then
12539 echo "wxUSE_LISTBOOK
=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12542 if test x"$enablestring" = xdisable; then
12543 if test $wxUSE_LISTBOOK = yes; then
12549 result=$wxUSE_LISTBOOK
12552 { echo "$as_me:$LINENO: result
: $result" >&5
12553 echo "${ECHO_T}$result" >&6; }
12557 defaultval=$wxUSE_ALL_FEATURES
12558 if test -z "$defaultval"; then
12559 if test x"$enablestring" = xdisable; then
12566 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbox" >&5
12567 echo $ECHO_N "checking
for --${enablestring:-enable}-listbox...
$ECHO_C" >&6; }
12568 # Check whether --enable-listbox was given.
12569 if test "${enable_listbox+set}" = set; then
12570 enableval=$enable_listbox;
12571 if test "$enableval" = yes; then
12572 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12574 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12580 LINE=`grep "^wxUSE_LISTBOX
=" ${wx_arg_cache_file}`
12581 if test "x
$LINE" != x ; then
12582 eval "DEFAULT_
$LINE"
12588 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12593 eval "$wx_cv_use_listbox"
12594 if test "x$cache" = xyes
; then
12595 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12598 if test x
"$enablestring" = xdisable
; then
12599 if test $wxUSE_LISTBOX = yes; then
12605 result
=$wxUSE_LISTBOX
12608 { echo "$as_me:$LINENO: result: $result" >&5
12609 echo "${ECHO_T}$result" >&6; }
12613 defaultval
=$wxUSE_ALL_FEATURES
12614 if test -z "$defaultval"; then
12615 if test x
"$enablestring" = xdisable
; then
12622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12623 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12624 # Check whether --enable-listctrl was given.
12625 if test "${enable_listctrl+set}" = set; then
12626 enableval
=$enable_listctrl;
12627 if test "$enableval" = yes; then
12628 wx_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
12630 wx_cv_use_listctrl
='wxUSE_LISTCTRL=no'
12636 LINE
=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12637 if test "x$LINE" != x
; then
12638 eval "DEFAULT_$LINE"
12644 wx_cv_use_listctrl
='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12649 eval "$wx_cv_use_listctrl"
12650 if test "x$cache" = xyes; then
12651 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12654 if test x"$enablestring" = xdisable; then
12655 if test $wxUSE_LISTCTRL = yes; then
12661 result=$wxUSE_LISTCTRL
12664 { echo "$as_me:$LINENO: result: $result" >&5
12665 echo "${ECHO_T}$result" >&6; }
12669 defaultval=$wxUSE_ALL_FEATURES
12670 if test -z "$defaultval"; then
12671 if test x"$enablestring" = xdisable; then
12678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12679 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12680 # Check whether --enable-notebook was given.
12681 if test "${enable_notebook+set}" = set; then
12682 enableval=$enable_notebook;
12683 if test "$enableval" = yes; then
12684 wx_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
12686 wx_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
12692 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12693 if test "x$LINE" != x ; then
12694 eval "DEFAULT_$LINE"
12700 wx_cv_use_notebook='wxUSE_NOTEBOOK
=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12705 eval "$wx_cv_use_notebook"
12706 if test "x
$cache" = xyes; then
12707 echo "wxUSE_NOTEBOOK
=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12710 if test x"$enablestring" = xdisable; then
12711 if test $wxUSE_NOTEBOOK = yes; then
12717 result=$wxUSE_NOTEBOOK
12720 { echo "$as_me:$LINENO: result
: $result" >&5
12721 echo "${ECHO_T}$result" >&6; }
12725 defaultval=$wxUSE_ALL_FEATURES
12726 if test -z "$defaultval"; then
12727 if test x"$enablestring" = xdisable; then
12734 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-odcombobox" >&5
12735 echo $ECHO_N "checking
for --${enablestring:-enable}-odcombobox...
$ECHO_C" >&6; }
12736 # Check whether --enable-odcombobox was given.
12737 if test "${enable_odcombobox+set}" = set; then
12738 enableval=$enable_odcombobox;
12739 if test "$enableval" = yes; then
12740 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12742 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12748 LINE=`grep "^wxUSE_ODCOMBOBOX
=" ${wx_arg_cache_file}`
12749 if test "x
$LINE" != x ; then
12750 eval "DEFAULT_
$LINE"
12756 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12761 eval "$wx_cv_use_odcombobox"
12762 if test "x$cache" = xyes
; then
12763 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12766 if test x
"$enablestring" = xdisable
; then
12767 if test $wxUSE_ODCOMBOBOX = yes; then
12773 result
=$wxUSE_ODCOMBOBOX
12776 { echo "$as_me:$LINENO: result: $result" >&5
12777 echo "${ECHO_T}$result" >&6; }
12781 defaultval
=$wxUSE_ALL_FEATURES
12782 if test -z "$defaultval"; then
12783 if test x
"$enablestring" = xdisable
; then
12790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12791 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12792 # Check whether --enable-radiobox was given.
12793 if test "${enable_radiobox+set}" = set; then
12794 enableval
=$enable_radiobox;
12795 if test "$enableval" = yes; then
12796 wx_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
12798 wx_cv_use_radiobox
='wxUSE_RADIOBOX=no'
12804 LINE
=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12805 if test "x$LINE" != x
; then
12806 eval "DEFAULT_$LINE"
12812 wx_cv_use_radiobox
='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12817 eval "$wx_cv_use_radiobox"
12818 if test "x$cache" = xyes; then
12819 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12822 if test x"$enablestring" = xdisable; then
12823 if test $wxUSE_RADIOBOX = yes; then
12829 result=$wxUSE_RADIOBOX
12832 { echo "$as_me:$LINENO: result: $result" >&5
12833 echo "${ECHO_T}$result" >&6; }
12837 defaultval=$wxUSE_ALL_FEATURES
12838 if test -z "$defaultval"; then
12839 if test x"$enablestring" = xdisable; then
12846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12847 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12848 # Check whether --enable-radiobtn was given.
12849 if test "${enable_radiobtn+set}" = set; then
12850 enableval=$enable_radiobtn;
12851 if test "$enableval" = yes; then
12852 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
12854 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
12860 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12861 if test "x$LINE" != x ; then
12862 eval "DEFAULT_$LINE"
12868 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12873 eval "$wx_cv_use_radiobtn"
12874 if test "x
$cache" = xyes; then
12875 echo "wxUSE_RADIOBTN
=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12878 if test x"$enablestring" = xdisable; then
12879 if test $wxUSE_RADIOBTN = yes; then
12885 result=$wxUSE_RADIOBTN
12888 { echo "$as_me:$LINENO: result
: $result" >&5
12889 echo "${ECHO_T}$result" >&6; }
12893 defaultval=$wxUSE_ALL_FEATURES
12894 if test -z "$defaultval"; then
12895 if test x"$enablestring" = xdisable; then
12902 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sash" >&5
12903 echo $ECHO_N "checking
for --${enablestring:-enable}-sash...
$ECHO_C" >&6; }
12904 # Check whether --enable-sash was given.
12905 if test "${enable_sash+set}" = set; then
12906 enableval=$enable_sash;
12907 if test "$enableval" = yes; then
12908 wx_cv_use_sash='wxUSE_SASH=yes'
12910 wx_cv_use_sash='wxUSE_SASH=no'
12916 LINE=`grep "^wxUSE_SASH
=" ${wx_arg_cache_file}`
12917 if test "x
$LINE" != x ; then
12918 eval "DEFAULT_
$LINE"
12924 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12929 eval "$wx_cv_use_sash"
12930 if test "x$cache" = xyes
; then
12931 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12934 if test x
"$enablestring" = xdisable
; then
12935 if test $wxUSE_SASH = yes; then
12944 { echo "$as_me:$LINENO: result: $result" >&5
12945 echo "${ECHO_T}$result" >&6; }
12949 defaultval
=$wxUSE_ALL_FEATURES
12950 if test -z "$defaultval"; then
12951 if test x
"$enablestring" = xdisable
; then
12958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12959 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12960 # Check whether --enable-scrollbar was given.
12961 if test "${enable_scrollbar+set}" = set; then
12962 enableval
=$enable_scrollbar;
12963 if test "$enableval" = yes; then
12964 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
12966 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
12972 LINE
=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12973 if test "x$LINE" != x
; then
12974 eval "DEFAULT_$LINE"
12980 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12985 eval "$wx_cv_use_scrollbar"
12986 if test "x$cache" = xyes; then
12987 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12990 if test x"$enablestring" = xdisable; then
12991 if test $wxUSE_SCROLLBAR = yes; then
12997 result=$wxUSE_SCROLLBAR
13000 { echo "$as_me:$LINENO: result: $result" >&5
13001 echo "${ECHO_T}$result" >&6; }
13005 defaultval=$wxUSE_ALL_FEATURES
13006 if test -z "$defaultval"; then
13007 if test x"$enablestring" = xdisable; then
13014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
13015 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
13016 # Check whether --enable-searchctrl was given.
13017 if test "${enable_searchctrl+set}" = set; then
13018 enableval=$enable_searchctrl;
13019 if test "$enableval" = yes; then
13020 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
13022 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
13028 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
13029 if test "x$LINE" != x ; then
13030 eval "DEFAULT_$LINE"
13036 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13041 eval "$wx_cv_use_searchctrl"
13042 if test "x
$cache" = xyes; then
13043 echo "wxUSE_SEARCHCTRL
=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
13046 if test x"$enablestring" = xdisable; then
13047 if test $wxUSE_SEARCHCTRL = yes; then
13053 result=$wxUSE_SEARCHCTRL
13056 { echo "$as_me:$LINENO: result
: $result" >&5
13057 echo "${ECHO_T}$result" >&6; }
13061 defaultval=$wxUSE_ALL_FEATURES
13062 if test -z "$defaultval"; then
13063 if test x"$enablestring" = xdisable; then
13070 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-slider" >&5
13071 echo $ECHO_N "checking
for --${enablestring:-enable}-slider...
$ECHO_C" >&6; }
13072 # Check whether --enable-slider was given.
13073 if test "${enable_slider+set}" = set; then
13074 enableval=$enable_slider;
13075 if test "$enableval" = yes; then
13076 wx_cv_use_slider='wxUSE_SLIDER=yes'
13078 wx_cv_use_slider='wxUSE_SLIDER=no'
13084 LINE=`grep "^wxUSE_SLIDER
=" ${wx_arg_cache_file}`
13085 if test "x
$LINE" != x ; then
13086 eval "DEFAULT_
$LINE"
13092 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13097 eval "$wx_cv_use_slider"
13098 if test "x$cache" = xyes
; then
13099 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
13102 if test x
"$enablestring" = xdisable
; then
13103 if test $wxUSE_SLIDER = yes; then
13109 result
=$wxUSE_SLIDER
13112 { echo "$as_me:$LINENO: result: $result" >&5
13113 echo "${ECHO_T}$result" >&6; }
13117 defaultval
=$wxUSE_ALL_FEATURES
13118 if test -z "$defaultval"; then
13119 if test x
"$enablestring" = xdisable
; then
13126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
13127 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
13128 # Check whether --enable-spinbtn was given.
13129 if test "${enable_spinbtn+set}" = set; then
13130 enableval
=$enable_spinbtn;
13131 if test "$enableval" = yes; then
13132 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
13134 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
13140 LINE
=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
13141 if test "x$LINE" != x
; then
13142 eval "DEFAULT_$LINE"
13148 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13153 eval "$wx_cv_use_spinbtn"
13154 if test "x$cache" = xyes; then
13155 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
13158 if test x"$enablestring" = xdisable; then
13159 if test $wxUSE_SPINBTN = yes; then
13165 result=$wxUSE_SPINBTN
13168 { echo "$as_me:$LINENO: result: $result" >&5
13169 echo "${ECHO_T}$result" >&6; }
13173 defaultval=$wxUSE_ALL_FEATURES
13174 if test -z "$defaultval"; then
13175 if test x"$enablestring" = xdisable; then
13182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
13183 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
13184 # Check whether --enable-spinctrl was given.
13185 if test "${enable_spinctrl+set}" = set; then
13186 enableval=$enable_spinctrl;
13187 if test "$enableval" = yes; then
13188 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
13190 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
13196 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
13197 if test "x$LINE" != x ; then
13198 eval "DEFAULT_$LINE"
13204 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13209 eval "$wx_cv_use_spinctrl"
13210 if test "x
$cache" = xyes; then
13211 echo "wxUSE_SPINCTRL
=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
13214 if test x"$enablestring" = xdisable; then
13215 if test $wxUSE_SPINCTRL = yes; then
13221 result=$wxUSE_SPINCTRL
13224 { echo "$as_me:$LINENO: result
: $result" >&5
13225 echo "${ECHO_T}$result" >&6; }
13229 defaultval=$wxUSE_ALL_FEATURES
13230 if test -z "$defaultval"; then
13231 if test x"$enablestring" = xdisable; then
13238 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splitter" >&5
13239 echo $ECHO_N "checking
for --${enablestring:-enable}-splitter...
$ECHO_C" >&6; }
13240 # Check whether --enable-splitter was given.
13241 if test "${enable_splitter+set}" = set; then
13242 enableval=$enable_splitter;
13243 if test "$enableval" = yes; then
13244 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13246 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13252 LINE=`grep "^wxUSE_SPLITTER
=" ${wx_arg_cache_file}`
13253 if test "x
$LINE" != x ; then
13254 eval "DEFAULT_
$LINE"
13260 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13265 eval "$wx_cv_use_splitter"
13266 if test "x$cache" = xyes
; then
13267 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
13270 if test x
"$enablestring" = xdisable
; then
13271 if test $wxUSE_SPLITTER = yes; then
13277 result
=$wxUSE_SPLITTER
13280 { echo "$as_me:$LINENO: result: $result" >&5
13281 echo "${ECHO_T}$result" >&6; }
13285 defaultval
=$wxUSE_ALL_FEATURES
13286 if test -z "$defaultval"; then
13287 if test x
"$enablestring" = xdisable
; then
13294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
13295 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
13296 # Check whether --enable-statbmp was given.
13297 if test "${enable_statbmp+set}" = set; then
13298 enableval
=$enable_statbmp;
13299 if test "$enableval" = yes; then
13300 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
13302 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
13308 LINE
=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
13309 if test "x$LINE" != x
; then
13310 eval "DEFAULT_$LINE"
13316 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13321 eval "$wx_cv_use_statbmp"
13322 if test "x$cache" = xyes; then
13323 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
13326 if test x"$enablestring" = xdisable; then
13327 if test $wxUSE_STATBMP = yes; then
13333 result=$wxUSE_STATBMP
13336 { echo "$as_me:$LINENO: result: $result" >&5
13337 echo "${ECHO_T}$result" >&6; }
13341 defaultval=$wxUSE_ALL_FEATURES
13342 if test -z "$defaultval"; then
13343 if test x"$enablestring" = xdisable; then
13350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
13351 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
13352 # Check whether --enable-statbox was given.
13353 if test "${enable_statbox+set}" = set; then
13354 enableval=$enable_statbox;
13355 if test "$enableval" = yes; then
13356 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
13358 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
13364 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
13365 if test "x$LINE" != x ; then
13366 eval "DEFAULT_$LINE"
13372 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13377 eval "$wx_cv_use_statbox"
13378 if test "x
$cache" = xyes; then
13379 echo "wxUSE_STATBOX
=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
13382 if test x"$enablestring" = xdisable; then
13383 if test $wxUSE_STATBOX = yes; then
13389 result=$wxUSE_STATBOX
13392 { echo "$as_me:$LINENO: result
: $result" >&5
13393 echo "${ECHO_T}$result" >&6; }
13397 defaultval=$wxUSE_ALL_FEATURES
13398 if test -z "$defaultval"; then
13399 if test x"$enablestring" = xdisable; then
13406 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statline" >&5
13407 echo $ECHO_N "checking
for --${enablestring:-enable}-statline...
$ECHO_C" >&6; }
13408 # Check whether --enable-statline was given.
13409 if test "${enable_statline+set}" = set; then
13410 enableval=$enable_statline;
13411 if test "$enableval" = yes; then
13412 wx_cv_use_statline='wxUSE_STATLINE=yes'
13414 wx_cv_use_statline='wxUSE_STATLINE=no'
13420 LINE=`grep "^wxUSE_STATLINE
=" ${wx_arg_cache_file}`
13421 if test "x
$LINE" != x ; then
13422 eval "DEFAULT_
$LINE"
13428 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13433 eval "$wx_cv_use_statline"
13434 if test "x$cache" = xyes
; then
13435 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
13438 if test x
"$enablestring" = xdisable
; then
13439 if test $wxUSE_STATLINE = yes; then
13445 result
=$wxUSE_STATLINE
13448 { echo "$as_me:$LINENO: result: $result" >&5
13449 echo "${ECHO_T}$result" >&6; }
13453 defaultval
=$wxUSE_ALL_FEATURES
13454 if test -z "$defaultval"; then
13455 if test x
"$enablestring" = xdisable
; then
13462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13463 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13464 # Check whether --enable-stattext was given.
13465 if test "${enable_stattext+set}" = set; then
13466 enableval
=$enable_stattext;
13467 if test "$enableval" = yes; then
13468 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
13470 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
13476 LINE
=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13477 if test "x$LINE" != x
; then
13478 eval "DEFAULT_$LINE"
13484 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13489 eval "$wx_cv_use_stattext"
13490 if test "x$cache" = xyes; then
13491 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
13494 if test x"$enablestring" = xdisable; then
13495 if test $wxUSE_STATTEXT = yes; then
13501 result=$wxUSE_STATTEXT
13504 { echo "$as_me:$LINENO: result: $result" >&5
13505 echo "${ECHO_T}$result" >&6; }
13509 defaultval=$wxUSE_ALL_FEATURES
13510 if test -z "$defaultval"; then
13511 if test x"$enablestring" = xdisable; then
13518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13519 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13520 # Check whether --enable-statusbar was given.
13521 if test "${enable_statusbar+set}" = set; then
13522 enableval=$enable_statusbar;
13523 if test "$enableval" = yes; then
13524 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
13526 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
13532 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13533 if test "x$LINE" != x ; then
13534 eval "DEFAULT_$LINE"
13540 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13545 eval "$wx_cv_use_statusbar"
13546 if test "x
$cache" = xyes; then
13547 echo "wxUSE_STATUSBAR
=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13550 if test x"$enablestring" = xdisable; then
13551 if test $wxUSE_STATUSBAR = yes; then
13557 result=$wxUSE_STATUSBAR
13560 { echo "$as_me:$LINENO: result
: $result" >&5
13561 echo "${ECHO_T}$result" >&6; }
13565 defaultval=$wxUSE_ALL_FEATURES
13566 if test -z "$defaultval"; then
13567 if test x"$enablestring" = xdisable; then
13574 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tabdialog" >&5
13575 echo $ECHO_N "checking
for --${enablestring:-enable}-tabdialog...
$ECHO_C" >&6; }
13576 # Check whether --enable-tabdialog was given.
13577 if test "${enable_tabdialog+set}" = set; then
13578 enableval=$enable_tabdialog;
13579 if test "$enableval" = yes; then
13580 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13582 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13588 LINE=`grep "^wxUSE_TAB_DIALOG
=" ${wx_arg_cache_file}`
13589 if test "x
$LINE" != x ; then
13590 eval "DEFAULT_
$LINE"
13596 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13601 eval "$wx_cv_use_tabdialog"
13602 if test "x$cache" = xyes
; then
13603 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13606 if test x
"$enablestring" = xdisable
; then
13607 if test $wxUSE_TAB_DIALOG = yes; then
13613 result
=$wxUSE_TAB_DIALOG
13616 { echo "$as_me:$LINENO: result: $result" >&5
13617 echo "${ECHO_T}$result" >&6; }
13621 defaultval
=$wxUSE_ALL_FEATURES
13622 if test -z "$defaultval"; then
13623 if test x
"$enablestring" = xdisable
; then
13630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13631 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13632 # Check whether --enable-taskbaricon was given.
13633 if test "${enable_taskbaricon+set}" = set; then
13634 enableval
=$enable_taskbaricon;
13635 if test "$enableval" = yes; then
13636 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=yes'
13638 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=no'
13644 LINE
=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13645 if test "x$LINE" != x
; then
13646 eval "DEFAULT_$LINE"
13652 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13657 eval "$wx_cv_use_taskbaricon"
13658 if test "x$cache" = xyes; then
13659 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13662 if test x"$enablestring" = xdisable; then
13663 if test $wxUSE_TASKBARICON = yes; then
13669 result=$wxUSE_TASKBARICON
13672 { echo "$as_me:$LINENO: result: $result" >&5
13673 echo "${ECHO_T}$result" >&6; }
13677 defaultval=$wxUSE_ALL_FEATURES
13678 if test -z "$defaultval"; then
13679 if test x"$enablestring" = xdisable; then
13686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13687 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13688 # Check whether --enable-textctrl was given.
13689 if test "${enable_textctrl+set}" = set; then
13690 enableval=$enable_textctrl;
13691 if test "$enableval" = yes; then
13692 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
13694 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
13700 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13701 if test "x$LINE" != x ; then
13702 eval "DEFAULT_$LINE"
13708 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13713 eval "$wx_cv_use_textctrl"
13714 if test "x
$cache" = xyes; then
13715 echo "wxUSE_TEXTCTRL
=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13718 if test x"$enablestring" = xdisable; then
13719 if test $wxUSE_TEXTCTRL = yes; then
13725 result=$wxUSE_TEXTCTRL
13728 { echo "$as_me:$LINENO: result
: $result" >&5
13729 echo "${ECHO_T}$result" >&6; }
13733 defaultval=$wxUSE_ALL_FEATURES
13734 if test -z "$defaultval"; then
13735 if test x"$enablestring" = xdisable; then
13742 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-togglebtn" >&5
13743 echo $ECHO_N "checking
for --${enablestring:-enable}-togglebtn...
$ECHO_C" >&6; }
13744 # Check whether --enable-togglebtn was given.
13745 if test "${enable_togglebtn+set}" = set; then
13746 enableval=$enable_togglebtn;
13747 if test "$enableval" = yes; then
13748 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13750 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13756 LINE=`grep "^wxUSE_TOGGLEBTN
=" ${wx_arg_cache_file}`
13757 if test "x
$LINE" != x ; then
13758 eval "DEFAULT_
$LINE"
13764 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13769 eval "$wx_cv_use_togglebtn"
13770 if test "x$cache" = xyes
; then
13771 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13774 if test x
"$enablestring" = xdisable
; then
13775 if test $wxUSE_TOGGLEBTN = yes; then
13781 result
=$wxUSE_TOGGLEBTN
13784 { echo "$as_me:$LINENO: result: $result" >&5
13785 echo "${ECHO_T}$result" >&6; }
13789 defaultval
=$wxUSE_ALL_FEATURES
13790 if test -z "$defaultval"; then
13791 if test x
"$enablestring" = xdisable
; then
13798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13799 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13800 # Check whether --enable-toolbar was given.
13801 if test "${enable_toolbar+set}" = set; then
13802 enableval
=$enable_toolbar;
13803 if test "$enableval" = yes; then
13804 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
13806 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
13812 LINE
=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13813 if test "x$LINE" != x
; then
13814 eval "DEFAULT_$LINE"
13820 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13825 eval "$wx_cv_use_toolbar"
13826 if test "x$cache" = xyes; then
13827 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13830 if test x"$enablestring" = xdisable; then
13831 if test $wxUSE_TOOLBAR = yes; then
13837 result=$wxUSE_TOOLBAR
13840 { echo "$as_me:$LINENO: result: $result" >&5
13841 echo "${ECHO_T}$result" >&6; }
13845 defaultval=$wxUSE_ALL_FEATURES
13846 if test -z "$defaultval"; then
13847 if test x"$enablestring" = xdisable; then
13854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13855 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13856 # Check whether --enable-tbarnative was given.
13857 if test "${enable_tbarnative+set}" = set; then
13858 enableval=$enable_tbarnative;
13859 if test "$enableval" = yes; then
13860 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
13862 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
13868 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13869 if test "x$LINE" != x ; then
13870 eval "DEFAULT_$LINE"
13876 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13881 eval "$wx_cv_use_tbarnative"
13882 if test "x
$cache" = xyes; then
13883 echo "wxUSE_TOOLBAR_NATIVE
=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13886 if test x"$enablestring" = xdisable; then
13887 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13893 result=$wxUSE_TOOLBAR_NATIVE
13896 { echo "$as_me:$LINENO: result
: $result" >&5
13897 echo "${ECHO_T}$result" >&6; }
13901 defaultval=$wxUSE_ALL_FEATURES
13902 if test -z "$defaultval"; then
13903 if test x"$enablestring" = xdisable; then
13910 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treebook" >&5
13911 echo $ECHO_N "checking
for --${enablestring:-enable}-treebook...
$ECHO_C" >&6; }
13912 # Check whether --enable-treebook was given.
13913 if test "${enable_treebook+set}" = set; then
13914 enableval=$enable_treebook;
13915 if test "$enableval" = yes; then
13916 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13918 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13924 LINE=`grep "^wxUSE_TREEBOOK
=" ${wx_arg_cache_file}`
13925 if test "x
$LINE" != x ; then
13926 eval "DEFAULT_
$LINE"
13932 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13937 eval "$wx_cv_use_treebook"
13938 if test "x$cache" = xyes
; then
13939 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13942 if test x
"$enablestring" = xdisable
; then
13943 if test $wxUSE_TREEBOOK = yes; then
13949 result
=$wxUSE_TREEBOOK
13952 { echo "$as_me:$LINENO: result: $result" >&5
13953 echo "${ECHO_T}$result" >&6; }
13957 defaultval
=$wxUSE_ALL_FEATURES
13958 if test -z "$defaultval"; then
13959 if test x
"$enablestring" = xdisable
; then
13966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13967 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13968 # Check whether --enable-toolbook was given.
13969 if test "${enable_toolbook+set}" = set; then
13970 enableval
=$enable_toolbook;
13971 if test "$enableval" = yes; then
13972 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
13974 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
13980 LINE
=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13981 if test "x$LINE" != x
; then
13982 eval "DEFAULT_$LINE"
13988 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13993 eval "$wx_cv_use_toolbook"
13994 if test "x$cache" = xyes; then
13995 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13998 if test x"$enablestring" = xdisable; then
13999 if test $wxUSE_TOOLBOOK = yes; then
14005 result=$wxUSE_TOOLBOOK
14008 { echo "$as_me:$LINENO: result: $result" >&5
14009 echo "${ECHO_T}$result" >&6; }
14013 defaultval=$wxUSE_ALL_FEATURES
14014 if test -z "$defaultval"; then
14015 if test x"$enablestring" = xdisable; then
14022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
14023 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
14024 # Check whether --enable-treectrl was given.
14025 if test "${enable_treectrl+set}" = set; then
14026 enableval=$enable_treectrl;
14027 if test "$enableval" = yes; then
14028 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
14030 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
14036 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
14037 if test "x$LINE" != x ; then
14038 eval "DEFAULT_$LINE"
14044 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14049 eval "$wx_cv_use_treectrl"
14050 if test "x
$cache" = xyes; then
14051 echo "wxUSE_TREECTRL
=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
14054 if test x"$enablestring" = xdisable; then
14055 if test $wxUSE_TREECTRL = yes; then
14061 result=$wxUSE_TREECTRL
14064 { echo "$as_me:$LINENO: result
: $result" >&5
14065 echo "${ECHO_T}$result" >&6; }
14069 defaultval=$wxUSE_ALL_FEATURES
14070 if test -z "$defaultval"; then
14071 if test x"$enablestring" = xdisable; then
14078 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipwindow" >&5
14079 echo $ECHO_N "checking
for --${enablestring:-enable}-tipwindow...
$ECHO_C" >&6; }
14080 # Check whether --enable-tipwindow was given.
14081 if test "${enable_tipwindow+set}" = set; then
14082 enableval=$enable_tipwindow;
14083 if test "$enableval" = yes; then
14084 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
14086 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
14092 LINE=`grep "^wxUSE_TIPWINDOW
=" ${wx_arg_cache_file}`
14093 if test "x
$LINE" != x ; then
14094 eval "DEFAULT_
$LINE"
14100 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14105 eval "$wx_cv_use_tipwindow"
14106 if test "x$cache" = xyes
; then
14107 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
14110 if test x
"$enablestring" = xdisable
; then
14111 if test $wxUSE_TIPWINDOW = yes; then
14117 result
=$wxUSE_TIPWINDOW
14120 { echo "$as_me:$LINENO: result: $result" >&5
14121 echo "${ECHO_T}$result" >&6; }
14125 defaultval
=$wxUSE_ALL_FEATURES
14126 if test -z "$defaultval"; then
14127 if test x
"$enablestring" = xdisable
; then
14134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
14135 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
14136 # Check whether --enable-popupwin was given.
14137 if test "${enable_popupwin+set}" = set; then
14138 enableval
=$enable_popupwin;
14139 if test "$enableval" = yes; then
14140 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
14142 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
14148 LINE
=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
14149 if test "x$LINE" != x
; then
14150 eval "DEFAULT_$LINE"
14156 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
14161 eval "$wx_cv_use_popupwin"
14162 if test "x$cache" = xyes; then
14163 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
14166 if test x"$enablestring" = xdisable; then
14167 if test $wxUSE_POPUPWIN = yes; then
14173 result=$wxUSE_POPUPWIN
14176 { echo "$as_me:$LINENO: result: $result" >&5
14177 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}-commondlg" >&5
14193 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
14194 # Check whether --enable-commondlg was given.
14195 if test "${enable_commondlg+set}" = set; then
14196 enableval=$enable_commondlg;
14197 if test "$enableval" = yes; then
14198 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
14200 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
14206 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
14207 if test "x$LINE" != x ; then
14208 eval "DEFAULT_$LINE"
14214 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14219 eval "$wx_cv_use_commondlg"
14220 if test "x
$cache" = xyes; then
14221 echo "wxUSE_COMMONDLGS
=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
14224 if test x"$enablestring" = xdisable; then
14225 if test $wxUSE_COMMONDLGS = yes; then
14231 result=$wxUSE_COMMONDLGS
14234 { echo "$as_me:$LINENO: result
: $result" >&5
14235 echo "${ECHO_T}$result" >&6; }
14239 defaultval=$wxUSE_ALL_FEATURES
14240 if test -z "$defaultval"; then
14241 if test x"$enablestring" = xdisable; then
14248 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-aboutdlg" >&5
14249 echo $ECHO_N "checking
for --${enablestring:-enable}-aboutdlg...
$ECHO_C" >&6; }
14250 # Check whether --enable-aboutdlg was given.
14251 if test "${enable_aboutdlg+set}" = set; then
14252 enableval=$enable_aboutdlg;
14253 if test "$enableval" = yes; then
14254 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14256 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14262 LINE=`grep "^wxUSE_ABOUTDLG
=" ${wx_arg_cache_file}`
14263 if test "x
$LINE" != x ; then
14264 eval "DEFAULT_
$LINE"
14270 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14275 eval "$wx_cv_use_aboutdlg"
14276 if test "x$cache" = xyes
; then
14277 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
14280 if test x
"$enablestring" = xdisable
; then
14281 if test $wxUSE_ABOUTDLG = yes; then
14287 result
=$wxUSE_ABOUTDLG
14290 { echo "$as_me:$LINENO: result: $result" >&5
14291 echo "${ECHO_T}$result" >&6; }
14295 defaultval
=$wxUSE_ALL_FEATURES
14296 if test -z "$defaultval"; then
14297 if test x
"$enablestring" = xdisable
; then
14304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
14305 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
14306 # Check whether --enable-choicedlg was given.
14307 if test "${enable_choicedlg+set}" = set; then
14308 enableval
=$enable_choicedlg;
14309 if test "$enableval" = yes; then
14310 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
14312 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
14318 LINE
=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
14319 if test "x$LINE" != x
; then
14320 eval "DEFAULT_$LINE"
14326 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14331 eval "$wx_cv_use_choicedlg"
14332 if test "x$cache" = xyes; then
14333 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
14336 if test x"$enablestring" = xdisable; then
14337 if test $wxUSE_CHOICEDLG = yes; then
14343 result=$wxUSE_CHOICEDLG
14346 { echo "$as_me:$LINENO: result: $result" >&5
14347 echo "${ECHO_T}$result" >&6; }
14351 defaultval=$wxUSE_ALL_FEATURES
14352 if test -z "$defaultval"; then
14353 if test x"$enablestring" = xdisable; then
14360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
14361 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
14362 # Check whether --enable-coldlg was given.
14363 if test "${enable_coldlg+set}" = set; then
14364 enableval=$enable_coldlg;
14365 if test "$enableval" = yes; then
14366 wx_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
14368 wx_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
14374 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
14375 if test "x$LINE" != x ; then
14376 eval "DEFAULT_$LINE"
14382 wx_cv_use_coldlg='wxUSE_COLOURDLG
=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14387 eval "$wx_cv_use_coldlg"
14388 if test "x
$cache" = xyes; then
14389 echo "wxUSE_COLOURDLG
=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
14392 if test x"$enablestring" = xdisable; then
14393 if test $wxUSE_COLOURDLG = yes; then
14399 result=$wxUSE_COLOURDLG
14402 { echo "$as_me:$LINENO: result
: $result" >&5
14403 echo "${ECHO_T}$result" >&6; }
14407 defaultval=$wxUSE_ALL_FEATURES
14408 if test -z "$defaultval"; then
14409 if test x"$enablestring" = xdisable; then
14416 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filedlg" >&5
14417 echo $ECHO_N "checking
for --${enablestring:-enable}-filedlg...
$ECHO_C" >&6; }
14418 # Check whether --enable-filedlg was given.
14419 if test "${enable_filedlg+set}" = set; then
14420 enableval=$enable_filedlg;
14421 if test "$enableval" = yes; then
14422 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14424 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14430 LINE=`grep "^wxUSE_FILEDLG
=" ${wx_arg_cache_file}`
14431 if test "x
$LINE" != x ; then
14432 eval "DEFAULT_
$LINE"
14438 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14443 eval "$wx_cv_use_filedlg"
14444 if test "x$cache" = xyes
; then
14445 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
14448 if test x
"$enablestring" = xdisable
; then
14449 if test $wxUSE_FILEDLG = yes; then
14455 result
=$wxUSE_FILEDLG
14458 { echo "$as_me:$LINENO: result: $result" >&5
14459 echo "${ECHO_T}$result" >&6; }
14463 defaultval
=$wxUSE_ALL_FEATURES
14464 if test -z "$defaultval"; then
14465 if test x
"$enablestring" = xdisable
; then
14472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
14473 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
14474 # Check whether --enable-finddlg was given.
14475 if test "${enable_finddlg+set}" = set; then
14476 enableval
=$enable_finddlg;
14477 if test "$enableval" = yes; then
14478 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
14480 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
14486 LINE
=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14487 if test "x$LINE" != x
; then
14488 eval "DEFAULT_$LINE"
14494 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14499 eval "$wx_cv_use_finddlg"
14500 if test "x$cache" = xyes; then
14501 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
14504 if test x"$enablestring" = xdisable; then
14505 if test $wxUSE_FINDREPLDLG = yes; then
14511 result=$wxUSE_FINDREPLDLG
14514 { echo "$as_me:$LINENO: result: $result" >&5
14515 echo "${ECHO_T}$result" >&6; }
14519 defaultval=$wxUSE_ALL_FEATURES
14520 if test -z "$defaultval"; then
14521 if test x"$enablestring" = xdisable; then
14528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14529 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14530 # Check whether --enable-fontdlg was given.
14531 if test "${enable_fontdlg+set}" = set; then
14532 enableval=$enable_fontdlg;
14533 if test "$enableval" = yes; then
14534 wx_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
14536 wx_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
14542 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14543 if test "x$LINE" != x ; then
14544 eval "DEFAULT_$LINE"
14550 wx_cv_use_fontdlg='wxUSE_FONTDLG
=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14555 eval "$wx_cv_use_fontdlg"
14556 if test "x
$cache" = xyes; then
14557 echo "wxUSE_FONTDLG
=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
14560 if test x"$enablestring" = xdisable; then
14561 if test $wxUSE_FONTDLG = yes; then
14567 result=$wxUSE_FONTDLG
14570 { echo "$as_me:$LINENO: result
: $result" >&5
14571 echo "${ECHO_T}$result" >&6; }
14575 defaultval=$wxUSE_ALL_FEATURES
14576 if test -z "$defaultval"; then
14577 if test x"$enablestring" = xdisable; then
14584 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirdlg" >&5
14585 echo $ECHO_N "checking
for --${enablestring:-enable}-dirdlg...
$ECHO_C" >&6; }
14586 # Check whether --enable-dirdlg was given.
14587 if test "${enable_dirdlg+set}" = set; then
14588 enableval=$enable_dirdlg;
14589 if test "$enableval" = yes; then
14590 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14592 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14598 LINE=`grep "^wxUSE_DIRDLG
=" ${wx_arg_cache_file}`
14599 if test "x
$LINE" != x ; then
14600 eval "DEFAULT_
$LINE"
14606 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14611 eval "$wx_cv_use_dirdlg"
14612 if test "x$cache" = xyes
; then
14613 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14616 if test x
"$enablestring" = xdisable
; then
14617 if test $wxUSE_DIRDLG = yes; then
14623 result
=$wxUSE_DIRDLG
14626 { echo "$as_me:$LINENO: result: $result" >&5
14627 echo "${ECHO_T}$result" >&6; }
14631 defaultval
=$wxUSE_ALL_FEATURES
14632 if test -z "$defaultval"; then
14633 if test x
"$enablestring" = xdisable
; then
14640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14641 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14642 # Check whether --enable-msgdlg was given.
14643 if test "${enable_msgdlg+set}" = set; then
14644 enableval
=$enable_msgdlg;
14645 if test "$enableval" = yes; then
14646 wx_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
14648 wx_cv_use_msgdlg
='wxUSE_MSGDLG=no'
14654 LINE
=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14655 if test "x$LINE" != x
; then
14656 eval "DEFAULT_$LINE"
14662 wx_cv_use_msgdlg
='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14667 eval "$wx_cv_use_msgdlg"
14668 if test "x$cache" = xyes; then
14669 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14672 if test x"$enablestring" = xdisable; then
14673 if test $wxUSE_MSGDLG = yes; then
14679 result=$wxUSE_MSGDLG
14682 { echo "$as_me:$LINENO: result: $result" >&5
14683 echo "${ECHO_T}$result" >&6; }
14687 defaultval=$wxUSE_ALL_FEATURES
14688 if test -z "$defaultval"; then
14689 if test x"$enablestring" = xdisable; then
14696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14697 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14698 # Check whether --enable-numberdlg was given.
14699 if test "${enable_numberdlg+set}" = set; then
14700 enableval=$enable_numberdlg;
14701 if test "$enableval" = yes; then
14702 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
14704 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
14710 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14711 if test "x$LINE" != x ; then
14712 eval "DEFAULT_$LINE"
14718 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14723 eval "$wx_cv_use_numberdlg"
14724 if test "x
$cache" = xyes; then
14725 echo "wxUSE_NUMBERDLG
=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14728 if test x"$enablestring" = xdisable; then
14729 if test $wxUSE_NUMBERDLG = yes; then
14735 result=$wxUSE_NUMBERDLG
14738 { echo "$as_me:$LINENO: result
: $result" >&5
14739 echo "${ECHO_T}$result" >&6; }
14743 defaultval=$wxUSE_ALL_FEATURES
14744 if test -z "$defaultval"; then
14745 if test x"$enablestring" = xdisable; then
14752 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splash" >&5
14753 echo $ECHO_N "checking
for --${enablestring:-enable}-splash...
$ECHO_C" >&6; }
14754 # Check whether --enable-splash was given.
14755 if test "${enable_splash+set}" = set; then
14756 enableval=$enable_splash;
14757 if test "$enableval" = yes; then
14758 wx_cv_use_splash='wxUSE_SPLASH=yes'
14760 wx_cv_use_splash='wxUSE_SPLASH=no'
14766 LINE=`grep "^wxUSE_SPLASH
=" ${wx_arg_cache_file}`
14767 if test "x
$LINE" != x ; then
14768 eval "DEFAULT_
$LINE"
14774 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14779 eval "$wx_cv_use_splash"
14780 if test "x$cache" = xyes
; then
14781 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14784 if test x
"$enablestring" = xdisable
; then
14785 if test $wxUSE_SPLASH = yes; then
14791 result
=$wxUSE_SPLASH
14794 { echo "$as_me:$LINENO: result: $result" >&5
14795 echo "${ECHO_T}$result" >&6; }
14799 defaultval
=$wxUSE_ALL_FEATURES
14800 if test -z "$defaultval"; then
14801 if test x
"$enablestring" = xdisable
; then
14808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14809 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14810 # Check whether --enable-textdlg was given.
14811 if test "${enable_textdlg+set}" = set; then
14812 enableval
=$enable_textdlg;
14813 if test "$enableval" = yes; then
14814 wx_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
14816 wx_cv_use_textdlg
='wxUSE_TEXTDLG=no'
14822 LINE
=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14823 if test "x$LINE" != x
; then
14824 eval "DEFAULT_$LINE"
14830 wx_cv_use_textdlg
='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14835 eval "$wx_cv_use_textdlg"
14836 if test "x$cache" = xyes; then
14837 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14840 if test x"$enablestring" = xdisable; then
14841 if test $wxUSE_TEXTDLG = yes; then
14847 result=$wxUSE_TEXTDLG
14850 { echo "$as_me:$LINENO: result: $result" >&5
14851 echo "${ECHO_T}$result" >&6; }
14855 defaultval=$wxUSE_ALL_FEATURES
14856 if test -z "$defaultval"; then
14857 if test x"$enablestring" = xdisable; then
14864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14865 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14866 # Check whether --enable-tipdlg was given.
14867 if test "${enable_tipdlg+set}" = set; then
14868 enableval=$enable_tipdlg;
14869 if test "$enableval" = yes; then
14870 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
14872 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
14878 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14879 if test "x$LINE" != x ; then
14880 eval "DEFAULT_$LINE"
14886 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14891 eval "$wx_cv_use_tipdlg"
14892 if test "x
$cache" = xyes; then
14893 echo "wxUSE_STARTUP_TIPS
=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14896 if test x"$enablestring" = xdisable; then
14897 if test $wxUSE_STARTUP_TIPS = yes; then
14903 result=$wxUSE_STARTUP_TIPS
14906 { echo "$as_me:$LINENO: result
: $result" >&5
14907 echo "${ECHO_T}$result" >&6; }
14911 defaultval=$wxUSE_ALL_FEATURES
14912 if test -z "$defaultval"; then
14913 if test x"$enablestring" = xdisable; then
14920 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-progressdlg" >&5
14921 echo $ECHO_N "checking
for --${enablestring:-enable}-progressdlg...
$ECHO_C" >&6; }
14922 # Check whether --enable-progressdlg was given.
14923 if test "${enable_progressdlg+set}" = set; then
14924 enableval=$enable_progressdlg;
14925 if test "$enableval" = yes; then
14926 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14928 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14934 LINE=`grep "^wxUSE_PROGRESSDLG
=" ${wx_arg_cache_file}`
14935 if test "x
$LINE" != x ; then
14936 eval "DEFAULT_
$LINE"
14942 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14947 eval "$wx_cv_use_progressdlg"
14948 if test "x$cache" = xyes
; then
14949 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14952 if test x
"$enablestring" = xdisable
; then
14953 if test $wxUSE_PROGRESSDLG = yes; then
14959 result
=$wxUSE_PROGRESSDLG
14962 { echo "$as_me:$LINENO: result: $result" >&5
14963 echo "${ECHO_T}$result" >&6; }
14967 defaultval
=$wxUSE_ALL_FEATURES
14968 if test -z "$defaultval"; then
14969 if test x
"$enablestring" = xdisable
; then
14976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14977 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14978 # Check whether --enable-wizarddlg was given.
14979 if test "${enable_wizarddlg+set}" = set; then
14980 enableval
=$enable_wizarddlg;
14981 if test "$enableval" = yes; then
14982 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
14984 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
14990 LINE
=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14991 if test "x$LINE" != x
; then
14992 eval "DEFAULT_$LINE"
14998 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
15003 eval "$wx_cv_use_wizarddlg"
15004 if test "x$cache" = xyes; then
15005 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
15008 if test x"$enablestring" = xdisable; then
15009 if test $wxUSE_WIZARDDLG = yes; then
15015 result=$wxUSE_WIZARDDLG
15018 { echo "$as_me:$LINENO: result: $result" >&5
15019 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}-menus" >&5
15035 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
15036 # Check whether --enable-menus was given.
15037 if test "${enable_menus+set}" = set; then
15038 enableval=$enable_menus;
15039 if test "$enableval" = yes; then
15040 wx_cv_use_menus='wxUSE_MENUS
=yes'
15042 wx_cv_use_menus='wxUSE_MENUS
=no
'
15048 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
15049 if test "x$LINE" != x ; then
15050 eval "DEFAULT_$LINE"
15056 wx_cv_use_menus='wxUSE_MENUS
=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15061 eval "$wx_cv_use_menus"
15062 if test "x
$cache" = xyes; then
15063 echo "wxUSE_MENUS
=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
15066 if test x"$enablestring" = xdisable; then
15067 if test $wxUSE_MENUS = yes; then
15073 result=$wxUSE_MENUS
15076 { echo "$as_me:$LINENO: result
: $result" >&5
15077 echo "${ECHO_T}$result" >&6; }
15081 defaultval=$wxUSE_ALL_FEATURES
15082 if test -z "$defaultval"; then
15083 if test x"$enablestring" = xdisable; then
15090 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-miniframe" >&5
15091 echo $ECHO_N "checking
for --${enablestring:-enable}-miniframe...
$ECHO_C" >&6; }
15092 # Check whether --enable-miniframe was given.
15093 if test "${enable_miniframe+set}" = set; then
15094 enableval=$enable_miniframe;
15095 if test "$enableval" = yes; then
15096 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
15098 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
15104 LINE=`grep "^wxUSE_MINIFRAME
=" ${wx_arg_cache_file}`
15105 if test "x
$LINE" != x ; then
15106 eval "DEFAULT_
$LINE"
15112 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15117 eval "$wx_cv_use_miniframe"
15118 if test "x$cache" = xyes
; then
15119 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
15122 if test x
"$enablestring" = xdisable
; then
15123 if test $wxUSE_MINIFRAME = yes; then
15129 result
=$wxUSE_MINIFRAME
15132 { echo "$as_me:$LINENO: result: $result" >&5
15133 echo "${ECHO_T}$result" >&6; }
15137 defaultval
=$wxUSE_ALL_FEATURES
15138 if test -z "$defaultval"; then
15139 if test x
"$enablestring" = xdisable
; then
15146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
15147 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
15148 # Check whether --enable-tooltips was given.
15149 if test "${enable_tooltips+set}" = set; then
15150 enableval
=$enable_tooltips;
15151 if test "$enableval" = yes; then
15152 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
15154 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
15160 LINE
=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
15161 if test "x$LINE" != x
; then
15162 eval "DEFAULT_$LINE"
15168 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15173 eval "$wx_cv_use_tooltips"
15174 if test "x$cache" = xyes; then
15175 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
15178 if test x"$enablestring" = xdisable; then
15179 if test $wxUSE_TOOLTIPS = yes; then
15185 result=$wxUSE_TOOLTIPS
15188 { echo "$as_me:$LINENO: result: $result" >&5
15189 echo "${ECHO_T}$result" >&6; }
15193 defaultval=$wxUSE_ALL_FEATURES
15194 if test -z "$defaultval"; then
15195 if test x"$enablestring" = xdisable; then
15202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
15203 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
15204 # Check whether --enable-splines was given.
15205 if test "${enable_splines+set}" = set; then
15206 enableval=$enable_splines;
15207 if test "$enableval" = yes; then
15208 wx_cv_use_splines='wxUSE_SPLINES
=yes'
15210 wx_cv_use_splines='wxUSE_SPLINES
=no
'
15216 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
15217 if test "x$LINE" != x ; then
15218 eval "DEFAULT_$LINE"
15224 wx_cv_use_splines='wxUSE_SPLINES
=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15229 eval "$wx_cv_use_splines"
15230 if test "x
$cache" = xyes; then
15231 echo "wxUSE_SPLINES
=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
15234 if test x"$enablestring" = xdisable; then
15235 if test $wxUSE_SPLINES = yes; then
15241 result=$wxUSE_SPLINES
15244 { echo "$as_me:$LINENO: result
: $result" >&5
15245 echo "${ECHO_T}$result" >&6; }
15249 defaultval=$wxUSE_ALL_FEATURES
15250 if test -z "$defaultval"; then
15251 if test x"$enablestring" = xdisable; then
15258 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mousewheel" >&5
15259 echo $ECHO_N "checking
for --${enablestring:-enable}-mousewheel...
$ECHO_C" >&6; }
15260 # Check whether --enable-mousewheel was given.
15261 if test "${enable_mousewheel+set}" = set; then
15262 enableval=$enable_mousewheel;
15263 if test "$enableval" = yes; then
15264 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15266 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15272 LINE=`grep "^wxUSE_MOUSEWHEEL
=" ${wx_arg_cache_file}`
15273 if test "x
$LINE" != x ; then
15274 eval "DEFAULT_
$LINE"
15280 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15285 eval "$wx_cv_use_mousewheel"
15286 if test "x$cache" = xyes
; then
15287 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
15290 if test x
"$enablestring" = xdisable
; then
15291 if test $wxUSE_MOUSEWHEEL = yes; then
15297 result
=$wxUSE_MOUSEWHEEL
15300 { echo "$as_me:$LINENO: result: $result" >&5
15301 echo "${ECHO_T}$result" >&6; }
15305 defaultval
=$wxUSE_ALL_FEATURES
15306 if test -z "$defaultval"; then
15307 if test x
"$enablestring" = xdisable
; then
15314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
15315 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
15316 # Check whether --enable-validators was given.
15317 if test "${enable_validators+set}" = set; then
15318 enableval
=$enable_validators;
15319 if test "$enableval" = yes; then
15320 wx_cv_use_validators
='wxUSE_VALIDATORS=yes'
15322 wx_cv_use_validators
='wxUSE_VALIDATORS=no'
15328 LINE
=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
15329 if test "x$LINE" != x
; then
15330 eval "DEFAULT_$LINE"
15336 wx_cv_use_validators
='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15341 eval "$wx_cv_use_validators"
15342 if test "x$cache" = xyes; then
15343 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
15346 if test x"$enablestring" = xdisable; then
15347 if test $wxUSE_VALIDATORS = yes; then
15353 result=$wxUSE_VALIDATORS
15356 { echo "$as_me:$LINENO: result: $result" >&5
15357 echo "${ECHO_T}$result" >&6; }
15361 defaultval=$wxUSE_ALL_FEATURES
15362 if test -z "$defaultval"; then
15363 if test x"$enablestring" = xdisable; then
15370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
15371 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
15372 # Check whether --enable-busyinfo was given.
15373 if test "${enable_busyinfo+set}" = set; then
15374 enableval=$enable_busyinfo;
15375 if test "$enableval" = yes; then
15376 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
15378 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
15384 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
15385 if test "x$LINE" != x ; then
15386 eval "DEFAULT_$LINE"
15392 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15397 eval "$wx_cv_use_busyinfo"
15398 if test "x
$cache" = xyes; then
15399 echo "wxUSE_BUSYINFO
=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
15402 if test x"$enablestring" = xdisable; then
15403 if test $wxUSE_BUSYINFO = yes; then
15409 result=$wxUSE_BUSYINFO
15412 { echo "$as_me:$LINENO: result
: $result" >&5
15413 echo "${ECHO_T}$result" >&6; }
15417 defaultval=$wxUSE_ALL_FEATURES
15418 if test -z "$defaultval"; then
15419 if test x"$enablestring" = xdisable; then
15426 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-joystick" >&5
15427 echo $ECHO_N "checking
for --${enablestring:-enable}-joystick...
$ECHO_C" >&6; }
15428 # Check whether --enable-joystick was given.
15429 if test "${enable_joystick+set}" = set; then
15430 enableval=$enable_joystick;
15431 if test "$enableval" = yes; then
15432 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15434 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15440 LINE=`grep "^wxUSE_JOYSTICK
=" ${wx_arg_cache_file}`
15441 if test "x
$LINE" != x ; then
15442 eval "DEFAULT_
$LINE"
15448 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15453 eval "$wx_cv_use_joystick"
15454 if test "x$cache" = xyes
; then
15455 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
15458 if test x
"$enablestring" = xdisable
; then
15459 if test $wxUSE_JOYSTICK = yes; then
15465 result
=$wxUSE_JOYSTICK
15468 { echo "$as_me:$LINENO: result: $result" >&5
15469 echo "${ECHO_T}$result" >&6; }
15473 defaultval
=$wxUSE_ALL_FEATURES
15474 if test -z "$defaultval"; then
15475 if test x
"$enablestring" = xdisable
; then
15482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
15483 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
15484 # Check whether --enable-metafile was given.
15485 if test "${enable_metafile+set}" = set; then
15486 enableval
=$enable_metafile;
15487 if test "$enableval" = yes; then
15488 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
15490 wx_cv_use_metafile
='wxUSE_METAFILE=no'
15496 LINE
=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15497 if test "x$LINE" != x
; then
15498 eval "DEFAULT_$LINE"
15504 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15509 eval "$wx_cv_use_metafile"
15510 if test "x$cache" = xyes; then
15511 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
15514 if test x"$enablestring" = xdisable; then
15515 if test $wxUSE_METAFILE = yes; then
15521 result=$wxUSE_METAFILE
15524 { echo "$as_me:$LINENO: result: $result" >&5
15525 echo "${ECHO_T}$result" >&6; }
15529 defaultval=$wxUSE_ALL_FEATURES
15530 if test -z "$defaultval"; then
15531 if test x"$enablestring" = xdisable; then
15538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15539 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15540 # Check whether --enable-dragimage was given.
15541 if test "${enable_dragimage+set}" = set; then
15542 enableval=$enable_dragimage;
15543 if test "$enableval" = yes; then
15544 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
15546 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
15552 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15553 if test "x$LINE" != x ; then
15554 eval "DEFAULT_$LINE"
15560 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15565 eval "$wx_cv_use_dragimage"
15566 if test "x
$cache" = xyes; then
15567 echo "wxUSE_DRAGIMAGE
=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
15570 if test x"$enablestring" = xdisable; then
15571 if test $wxUSE_DRAGIMAGE = yes; then
15577 result=$wxUSE_DRAGIMAGE
15580 { echo "$as_me:$LINENO: result
: $result" >&5
15581 echo "${ECHO_T}$result" >&6; }
15585 defaultval=$wxUSE_ALL_FEATURES
15586 if test -z "$defaultval"; then
15587 if test x"$enablestring" = xdisable; then
15594 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accessibility" >&5
15595 echo $ECHO_N "checking
for --${enablestring:-enable}-accessibility...
$ECHO_C" >&6; }
15596 # Check whether --enable-accessibility was given.
15597 if test "${enable_accessibility+set}" = set; then
15598 enableval=$enable_accessibility;
15599 if test "$enableval" = yes; then
15600 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15602 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15608 LINE=`grep "^wxUSE_ACCESSIBILITY
=" ${wx_arg_cache_file}`
15609 if test "x
$LINE" != x ; then
15610 eval "DEFAULT_
$LINE"
15616 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15621 eval "$wx_cv_use_accessibility"
15622 if test "x$cache" = xyes
; then
15623 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15626 if test x
"$enablestring" = xdisable
; then
15627 if test $wxUSE_ACCESSIBILITY = yes; then
15633 result
=$wxUSE_ACCESSIBILITY
15636 { echo "$as_me:$LINENO: result: $result" >&5
15637 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}-palette" >&5
15653 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15654 # Check whether --enable-palette was given.
15655 if test "${enable_palette+set}" = set; then
15656 enableval
=$enable_palette;
15657 if test "$enableval" = yes; then
15658 wx_cv_use_palette
='wxUSE_PALETTE=yes'
15660 wx_cv_use_palette
='wxUSE_PALETTE=no'
15666 LINE
=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15667 if test "x$LINE" != x
; then
15668 eval "DEFAULT_$LINE"
15674 wx_cv_use_palette
='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15679 eval "$wx_cv_use_palette"
15680 if test "x$cache" = xyes; then
15681 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15684 if test x"$enablestring" = xdisable; then
15685 if test $wxUSE_PALETTE = yes; then
15691 result=$wxUSE_PALETTE
15694 { echo "$as_me:$LINENO: result: $result" >&5
15695 echo "${ECHO_T}$result" >&6; }
15699 defaultval=$wxUSE_ALL_FEATURES
15700 if test -z "$defaultval"; then
15701 if test x"$enablestring" = xdisable; then
15708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15709 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15710 # Check whether --enable-image was given.
15711 if test "${enable_image+set}" = set; then
15712 enableval=$enable_image;
15713 if test "$enableval" = yes; then
15714 wx_cv_use_image='wxUSE_IMAGE
=yes'
15716 wx_cv_use_image='wxUSE_IMAGE
=no
'
15722 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15723 if test "x$LINE" != x ; then
15724 eval "DEFAULT_$LINE"
15730 wx_cv_use_image='wxUSE_IMAGE
=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15735 eval "$wx_cv_use_image"
15736 if test "x
$cache" = xyes; then
15737 echo "wxUSE_IMAGE
=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15740 if test x"$enablestring" = xdisable; then
15741 if test $wxUSE_IMAGE = yes; then
15747 result=$wxUSE_IMAGE
15750 { echo "$as_me:$LINENO: result
: $result" >&5
15751 echo "${ECHO_T}$result" >&6; }
15755 defaultval=$wxUSE_ALL_FEATURES
15756 if test -z "$defaultval"; then
15757 if test x"$enablestring" = xdisable; then
15764 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gif" >&5
15765 echo $ECHO_N "checking
for --${enablestring:-enable}-gif...
$ECHO_C" >&6; }
15766 # Check whether --enable-gif was given.
15767 if test "${enable_gif+set}" = set; then
15768 enableval=$enable_gif;
15769 if test "$enableval" = yes; then
15770 wx_cv_use_gif='wxUSE_GIF=yes'
15772 wx_cv_use_gif='wxUSE_GIF=no'
15778 LINE=`grep "^wxUSE_GIF
=" ${wx_arg_cache_file}`
15779 if test "x
$LINE" != x ; then
15780 eval "DEFAULT_
$LINE"
15786 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15791 eval "$wx_cv_use_gif"
15792 if test "x$cache" = xyes
; then
15793 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15796 if test x
"$enablestring" = xdisable
; then
15797 if test $wxUSE_GIF = yes; then
15806 { echo "$as_me:$LINENO: result: $result" >&5
15807 echo "${ECHO_T}$result" >&6; }
15811 defaultval
=$wxUSE_ALL_FEATURES
15812 if test -z "$defaultval"; then
15813 if test x
"$enablestring" = xdisable
; then
15820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15821 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15822 # Check whether --enable-pcx was given.
15823 if test "${enable_pcx+set}" = set; then
15824 enableval
=$enable_pcx;
15825 if test "$enableval" = yes; then
15826 wx_cv_use_pcx
='wxUSE_PCX=yes'
15828 wx_cv_use_pcx
='wxUSE_PCX=no'
15834 LINE
=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15835 if test "x$LINE" != x
; then
15836 eval "DEFAULT_$LINE"
15842 wx_cv_use_pcx
='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15847 eval "$wx_cv_use_pcx"
15848 if test "x$cache" = xyes; then
15849 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15852 if test x"$enablestring" = xdisable; then
15853 if test $wxUSE_PCX = yes; then
15862 { echo "$as_me:$LINENO: result: $result" >&5
15863 echo "${ECHO_T}$result" >&6; }
15867 defaultval=$wxUSE_ALL_FEATURES
15868 if test -z "$defaultval"; then
15869 if test x"$enablestring" = xdisable; then
15876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15877 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15878 # Check whether --enable-tga was given.
15879 if test "${enable_tga+set}" = set; then
15880 enableval=$enable_tga;
15881 if test "$enableval" = yes; then
15882 wx_cv_use_tga='wxUSE_TGA
=yes'
15884 wx_cv_use_tga='wxUSE_TGA
=no
'
15890 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15891 if test "x$LINE" != x ; then
15892 eval "DEFAULT_$LINE"
15898 wx_cv_use_tga='wxUSE_TGA
=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15903 eval "$wx_cv_use_tga"
15904 if test "x
$cache" = xyes; then
15905 echo "wxUSE_TGA
=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15908 if test x"$enablestring" = xdisable; then
15909 if test $wxUSE_TGA = yes; then
15918 { echo "$as_me:$LINENO: result
: $result" >&5
15919 echo "${ECHO_T}$result" >&6; }
15923 defaultval=$wxUSE_ALL_FEATURES
15924 if test -z "$defaultval"; then
15925 if test x"$enablestring" = xdisable; then
15932 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iff" >&5
15933 echo $ECHO_N "checking
for --${enablestring:-enable}-iff...
$ECHO_C" >&6; }
15934 # Check whether --enable-iff was given.
15935 if test "${enable_iff+set}" = set; then
15936 enableval=$enable_iff;
15937 if test "$enableval" = yes; then
15938 wx_cv_use_iff='wxUSE_IFF=yes'
15940 wx_cv_use_iff='wxUSE_IFF=no'
15946 LINE=`grep "^wxUSE_IFF
=" ${wx_arg_cache_file}`
15947 if test "x
$LINE" != x ; then
15948 eval "DEFAULT_
$LINE"
15954 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15959 eval "$wx_cv_use_iff"
15960 if test "x$cache" = xyes
; then
15961 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15964 if test x
"$enablestring" = xdisable
; then
15965 if test $wxUSE_IFF = yes; then
15974 { echo "$as_me:$LINENO: result: $result" >&5
15975 echo "${ECHO_T}$result" >&6; }
15979 defaultval
=$wxUSE_ALL_FEATURES
15980 if test -z "$defaultval"; then
15981 if test x
"$enablestring" = xdisable
; then
15988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15989 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15990 # Check whether --enable-pnm was given.
15991 if test "${enable_pnm+set}" = set; then
15992 enableval
=$enable_pnm;
15993 if test "$enableval" = yes; then
15994 wx_cv_use_pnm
='wxUSE_PNM=yes'
15996 wx_cv_use_pnm
='wxUSE_PNM=no'
16002 LINE
=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
16003 if test "x$LINE" != x
; then
16004 eval "DEFAULT_$LINE"
16010 wx_cv_use_pnm
='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
16015 eval "$wx_cv_use_pnm"
16016 if test "x$cache" = xyes; then
16017 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
16020 if test x"$enablestring" = xdisable; then
16021 if test $wxUSE_PNM = yes; then
16030 { echo "$as_me:$LINENO: result: $result" >&5
16031 echo "${ECHO_T}$result" >&6; }
16035 defaultval=$wxUSE_ALL_FEATURES
16036 if test -z "$defaultval"; then
16037 if test x"$enablestring" = xdisable; then
16044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
16045 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
16046 # Check whether --enable-xpm was given.
16047 if test "${enable_xpm+set}" = set; then
16048 enableval=$enable_xpm;
16049 if test "$enableval" = yes; then
16050 wx_cv_use_xpm='wxUSE_XPM
=yes'
16052 wx_cv_use_xpm='wxUSE_XPM
=no
'
16058 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
16059 if test "x$LINE" != x ; then
16060 eval "DEFAULT_$LINE"
16066 wx_cv_use_xpm='wxUSE_XPM
=${'DEFAULT_wxUSE_XPM":-$defaultval}"
16071 eval "$wx_cv_use_xpm"
16072 if test "x
$cache" = xyes; then
16073 echo "wxUSE_XPM
=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
16076 if test x"$enablestring" = xdisable; then
16077 if test $wxUSE_XPM = yes; then
16086 { echo "$as_me:$LINENO: result
: $result" >&5
16087 echo "${ECHO_T}$result" >&6; }
16091 defaultval=$wxUSE_ALL_FEATURES
16092 if test -z "$defaultval"; then
16093 if test x"$enablestring" = xdisable; then
16100 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ico_cur" >&5
16101 echo $ECHO_N "checking
for --${enablestring:-enable}-ico_cur...
$ECHO_C" >&6; }
16102 # Check whether --enable-ico_cur was given.
16103 if test "${enable_ico_cur+set}" = set; then
16104 enableval=$enable_ico_cur;
16105 if test "$enableval" = yes; then
16106 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
16108 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
16114 LINE=`grep "^wxUSE_ICO_CUR
=" ${wx_arg_cache_file}`
16115 if test "x
$LINE" != x ; then
16116 eval "DEFAULT_
$LINE"
16122 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16127 eval "$wx_cv_use_ico_cur"
16128 if test "x$cache" = xyes
; then
16129 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
16132 if test x
"$enablestring" = xdisable
; then
16133 if test $wxUSE_ICO_CUR = yes; then
16139 result
=$wxUSE_ICO_CUR
16142 { echo "$as_me:$LINENO: result: $result" >&5
16143 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}-dccache" >&5
16159 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
16160 # Check whether --enable-dccache was given.
16161 if test "${enable_dccache+set}" = set; then
16162 enableval
=$enable_dccache;
16163 if test "$enableval" = yes; then
16164 wx_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
16166 wx_cv_use_dccache
='wxUSE_DC_CACHEING=no'
16172 LINE
=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
16173 if test "x$LINE" != x
; then
16174 eval "DEFAULT_$LINE"
16180 wx_cv_use_dccache
='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16185 eval "$wx_cv_use_dccache"
16186 if test "x$cache" = xyes; then
16187 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
16190 if test x"$enablestring" = xdisable; then
16191 if test $wxUSE_DC_CACHEING = yes; then
16197 result=$wxUSE_DC_CACHEING
16200 { echo "$as_me:$LINENO: result: $result" >&5
16201 echo "${ECHO_T}$result" >&6; }
16205 defaultval=$wxUSE_ALL_FEATURES
16206 if test -z "$defaultval"; then
16207 if test x"$enablestring" = xdisable; then
16214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
16215 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
16216 # Check whether --enable-ps-in-msw was given.
16217 if test "${enable_ps_in_msw+set}" = set; then
16218 enableval=$enable_ps_in_msw;
16219 if test "$enableval" = yes; then
16220 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=yes'
16222 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=no
'
16228 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
16229 if test "x$LINE" != x ; then
16230 eval "DEFAULT_$LINE"
16236 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16241 eval "$wx_cv_use_ps_in_msw"
16242 if test "x
$cache" = xyes; then
16243 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
16246 if test x"$enablestring" = xdisable; then
16247 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
16253 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16256 { echo "$as_me:$LINENO: result
: $result" >&5
16257 echo "${ECHO_T}$result" >&6; }
16261 defaultval=$wxUSE_ALL_FEATURES
16262 if test -z "$defaultval"; then
16263 if test x"$enablestring" = xdisable; then
16270 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ownerdrawn" >&5
16271 echo $ECHO_N "checking
for --${enablestring:-enable}-ownerdrawn...
$ECHO_C" >&6; }
16272 # Check whether --enable-ownerdrawn was given.
16273 if test "${enable_ownerdrawn+set}" = set; then
16274 enableval=$enable_ownerdrawn;
16275 if test "$enableval" = yes; then
16276 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16278 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16284 LINE=`grep "^wxUSE_OWNER_DRAWN
=" ${wx_arg_cache_file}`
16285 if test "x
$LINE" != x ; then
16286 eval "DEFAULT_
$LINE"
16292 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16297 eval "$wx_cv_use_ownerdrawn"
16298 if test "x$cache" = xyes
; then
16299 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
16302 if test x
"$enablestring" = xdisable
; then
16303 if test $wxUSE_OWNER_DRAWN = yes; then
16309 result
=$wxUSE_OWNER_DRAWN
16312 { echo "$as_me:$LINENO: result: $result" >&5
16313 echo "${ECHO_T}$result" >&6; }
16317 defaultval
=$wxUSE_ALL_FEATURES
16318 if test -z "$defaultval"; then
16319 if test x
"$enablestring" = xdisable
; then
16326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
16327 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
16328 # Check whether --enable-uxtheme was given.
16329 if test "${enable_uxtheme+set}" = set; then
16330 enableval
=$enable_uxtheme;
16331 if test "$enableval" = yes; then
16332 wx_cv_use_uxtheme
='wxUSE_UXTHEME=yes'
16334 wx_cv_use_uxtheme
='wxUSE_UXTHEME=no'
16340 LINE
=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
16341 if test "x$LINE" != x
; then
16342 eval "DEFAULT_$LINE"
16348 wx_cv_use_uxtheme
='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16353 eval "$wx_cv_use_uxtheme"
16354 if test "x$cache" = xyes; then
16355 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
16358 if test x"$enablestring" = xdisable; then
16359 if test $wxUSE_UXTHEME = yes; then
16365 result=$wxUSE_UXTHEME
16368 { echo "$as_me:$LINENO: result: $result" >&5
16369 echo "${ECHO_T}$result" >&6; }
16373 defaultval=$wxUSE_ALL_FEATURES
16374 if test -z "$defaultval"; then
16375 if test x"$enablestring" = xdisable; then
16382 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
16383 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
16384 # Check whether --enable-wxdib was given.
16385 if test "${enable_wxdib+set}" = set; then
16386 enableval=$enable_wxdib;
16387 if test "$enableval" = yes; then
16388 wx_cv_use_wxdib='wxUSE_DIB
=yes'
16390 wx_cv_use_wxdib='wxUSE_DIB
=no
'
16396 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
16397 if test "x$LINE" != x ; then
16398 eval "DEFAULT_$LINE"
16404 wx_cv_use_wxdib='wxUSE_DIB
=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16409 eval "$wx_cv_use_wxdib"
16410 if test "x
$cache" = xyes; then
16411 echo "wxUSE_DIB
=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
16414 if test x"$enablestring" = xdisable; then
16415 if test $wxUSE_DIB = yes; then
16424 { echo "$as_me:$LINENO: result
: $result" >&5
16425 echo "${ECHO_T}$result" >&6; }
16431 echo "saving argument cache
$wx_arg_cache_file"
16432 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
16436 { echo "$as_me:$LINENO: checking
for toolkit
" >&5
16437 echo $ECHO_N "checking
for toolkit...
$ECHO_C" >&6; }
16439 # In Wine, we need to default to MSW, not GTK or MOTIF
16440 if test "$wxUSE_WINE" = "yes"; then
16441 DEFAULT_DEFAULT_wxUSE_GTK=0
16442 DEFAULT_DEFAULT_wxUSE_MOTIF=0
16443 DEFAULT_DEFAULT_wxUSE_MSW=1
16446 CXX=${CXX:-wineg++}
16450 if test "$wxUSE_GUI" = "yes"; then
16452 if test "$USE_BEOS" = 1; then
16453 { { echo "$as_me:$LINENO: error
: BeOS GUI is not supported yet
, use
--disable-gui" >&5
16454 echo "$as_me: error
: BeOS GUI is not supported yet
, use
--disable-gui" >&2;}
16455 { (exit 1); exit 1; }; }
16458 if test "$TOOLKIT_GIVEN" = 1; then
16459 for toolkit in $ALL_TOOLKITS; do
16461 eval "value
=\$
${var}"
16462 if test "x
$value" = "xno
"; then
16464 elif test "x
$value" != "x
"; then
16468 if test "x
$value" != "x
" -a "x
$value" != "xyes
" -a "x
$value" != "xno
"; then
16469 eval "wx
${toolkit}_VERSION
=$value"
16473 for toolkit in $ALL_TOOLKITS; do
16474 if test "$has_toolkit_in_cache" != 1; then
16475 var=DEFAULT_DEFAULT_wxUSE_$toolkit
16477 var=DEFAULT_wxUSE_$toolkit
16479 eval "version
=\
$DEFAULT_wx${toolkit}_VERSION
"
16480 if test "x
$version" != "x
"; then
16481 eval "wx
${toolkit}_VERSION
=$version"
16484 eval "wxUSE_
$toolkit=\$
${var}"
16488 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
16489 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
16490 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
16493 *-pc-os2_emx | *-pc-os2-emx )
16494 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
16497 case "$NUM_TOOLKITS" in
16501 { { echo "$as_me:$LINENO: error
: Please specify a toolkit
-- cannot determine the default
for ${host}" >&5
16502 echo "$as_me: error
: Please specify a toolkit
-- cannot determine the default
for ${host}" >&2;}
16503 { (exit 1); exit 1; }; }
16506 { { echo "$as_me:$LINENO: error
: Please specify
at most one toolkit
(maybe some are cached
in configarg.cache?
)" >&5
16507 echo "$as_me: error
: Please specify
at most one toolkit
(maybe some are cached
in configarg.cache?
)" >&2;}
16508 { (exit 1); exit 1; }; }
16511 # to be removed when --disable-gtk2 isn't needed
16512 if test "x
$wxUSE_GTK2" = "xyes
"; then
16514 elif test "x
$wxUSE_GTK2" = "xno
"; then
16518 for toolkit in $ALL_TOOLKITS; do
16520 eval "value
=\$
${var}"
16521 if test "x
$value" != x; then
16522 cache_var=CACHE_$toolkit
16523 eval "cache
=\$
${cache_var}"
16524 if test "$cache" = 1; then
16525 echo "$var=$value" >> ${wx_arg_cache_file}
16526 eval "version
=\
$wx${toolkit}_VERSION
"
16527 if test "x
$version" != "x
"; then
16528 echo "wx
${toolkit}_VERSION
=$version" >> ${wx_arg_cache_file}
16531 if test "$value" = 1; then
16532 toolkit_echo=`echo $toolkit | tr A-Z a-z`
16533 { echo "$as_me:$LINENO: result
: $toolkit_echo" >&5
16534 echo "${ECHO_T}$toolkit_echo" >&6; }
16539 if test "x
$host_alias" != "x
"; then
16540 { echo "$as_me:$LINENO: result
: base
($host_alias hosted
) only
" >&5
16541 echo "${ECHO_T}base
($host_alias hosted
) only
" >&6; }
16543 { echo "$as_me:$LINENO: result
: base only
" >&5
16544 echo "${ECHO_T}base only
" >&6; }
16549 cat >confcache <<\_ACEOF
16550 # This file is a shell script that caches the results of configure
16551 # tests run on this system so they can be shared between configure
16552 # scripts and configure runs, see configure's option --config-cache.
16553 # It is not useful on other systems. If it contains results you don't
16554 # want to keep, you may remove or edit it.
16556 # config.status only pays attention to the cache file if you give it
16557 # the --recheck option to rerun configure.
16559 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16560 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16561 # following values.
16565 # The following way of writing the cache mishandles newlines in values,
16566 # but we know of no workaround that is simple, portable, and efficient.
16567 # So, we kill variables containing newlines.
16568 # Ultrix sh set writes to stderr and can't be redirected directly,
16569 # and sets the high bit in the cache file unless we assign to the vars.
16571 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16572 eval ac_val=\$$ac_var
16576 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
16577 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
16580 _ | IFS | as_nl) ;; #(
16581 *) $as_unset $ac_var ;;
16587 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16588 *${as_nl}ac_space=\ *)
16589 # `set' does not quote correctly, so add quotes (double-quote
16590 # substitution turns \\\\ into \\, and sed turns \\ into \).
16593 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
16596 # `set' quotes correctly as required by POSIX, so do not add quotes.
16597 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
16606 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16608 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16610 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16611 if test -w "$cache_file"; then
16612 test "x
$cache_file" != "x
/dev
/null
" &&
16613 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
16614 echo "$as_me: updating cache
$cache_file" >&6;}
16615 cat confcache >$cache_file
16617 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
16618 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
16628 ac_cpp='$CPP $CPPFLAGS'
16629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16632 if test -n "$ac_tool_prefix"; then
16633 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
16634 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16635 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16636 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16637 if test "${ac_cv_prog_CC+set}" = set; then
16638 echo $ECHO_N "(cached
) $ECHO_C" >&6
16640 if test -n "$CC"; then
16641 ac_cv_prog_CC="$CC" # Let the user override the test.
16643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16644 for as_dir in $PATH
16647 test -z "$as_dir" && as_dir=.
16648 for ac_exec_ext in '' $ac_executable_extensions; do
16649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16650 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
16651 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16661 if test -n "$CC"; then
16662 { echo "$as_me:$LINENO: result
: $CC" >&5
16663 echo "${ECHO_T}$CC" >&6; }
16665 { echo "$as_me:$LINENO: result
: no
" >&5
16666 echo "${ECHO_T}no
" >&6; }
16671 if test -z "$ac_cv_prog_CC"; then
16673 # Extract the first word of "gcc
", so it can be a program name with args.
16674 set dummy gcc; ac_word=$2
16675 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16676 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16677 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16678 echo $ECHO_N "(cached
) $ECHO_C" >&6
16680 if test -n "$ac_ct_CC"; then
16681 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16684 for as_dir in $PATH
16687 test -z "$as_dir" && as_dir=.
16688 for ac_exec_ext in '' $ac_executable_extensions; do
16689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16690 ac_cv_prog_ac_ct_CC="gcc
"
16691 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16700 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16701 if test -n "$ac_ct_CC"; then
16702 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
16703 echo "${ECHO_T}$ac_ct_CC" >&6; }
16705 { echo "$as_me:$LINENO: result
: no
" >&5
16706 echo "${ECHO_T}no
" >&6; }
16709 if test "x
$ac_ct_CC" = x; then
16712 case $cross_compiling:$ac_tool_warned in
16714 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
16715 whose name does not start with the
host triplet. If you think this
16716 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
16717 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
16718 whose name does not start with the
host triplet. If you think this
16719 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
16720 ac_tool_warned=yes ;;
16725 CC="$ac_cv_prog_CC"
16728 if test -z "$CC"; then
16729 if test -n "$ac_tool_prefix"; then
16730 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
16731 set dummy ${ac_tool_prefix}cc; ac_word=$2
16732 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16733 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16734 if test "${ac_cv_prog_CC+set}" = set; then
16735 echo $ECHO_N "(cached
) $ECHO_C" >&6
16737 if test -n "$CC"; then
16738 ac_cv_prog_CC="$CC" # Let the user override the test.
16740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16741 for as_dir in $PATH
16744 test -z "$as_dir" && as_dir=.
16745 for ac_exec_ext in '' $ac_executable_extensions; do
16746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16747 ac_cv_prog_CC="${ac_tool_prefix}cc
"
16748 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16758 if test -n "$CC"; then
16759 { echo "$as_me:$LINENO: result
: $CC" >&5
16760 echo "${ECHO_T}$CC" >&6; }
16762 { echo "$as_me:$LINENO: result
: no
" >&5
16763 echo "${ECHO_T}no
" >&6; }
16769 if test -z "$CC"; then
16770 # Extract the first word of "cc
", so it can be a program name with args.
16771 set dummy cc; ac_word=$2
16772 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16773 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16774 if test "${ac_cv_prog_CC+set}" = set; then
16775 echo $ECHO_N "(cached
) $ECHO_C" >&6
16777 if test -n "$CC"; then
16778 ac_cv_prog_CC="$CC" # Let the user override the test.
16780 ac_prog_rejected=no
16781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16782 for as_dir in $PATH
16785 test -z "$as_dir" && as_dir=.
16786 for ac_exec_ext in '' $ac_executable_extensions; do
16787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16788 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
16789 ac_prog_rejected=yes
16793 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16800 if test $ac_prog_rejected = yes; then
16801 # We found a bogon in the path, so make sure we never use it.
16802 set dummy $ac_cv_prog_CC
16804 if test $# != 0; then
16805 # We chose a different compiler from the bogus one.
16806 # However, it has the same basename, so the bogon will be chosen
16807 # first if we set CC to just the basename; use the full file name.
16809 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
16815 if test -n "$CC"; then
16816 { echo "$as_me:$LINENO: result
: $CC" >&5
16817 echo "${ECHO_T}$CC" >&6; }
16819 { echo "$as_me:$LINENO: result
: no
" >&5
16820 echo "${ECHO_T}no
" >&6; }
16825 if test -z "$CC"; then
16826 if test -n "$ac_tool_prefix"; then
16827 for ac_prog in cl.exe
16829 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16830 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16831 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16832 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16833 if test "${ac_cv_prog_CC+set}" = set; then
16834 echo $ECHO_N "(cached
) $ECHO_C" >&6
16836 if test -n "$CC"; then
16837 ac_cv_prog_CC="$CC" # Let the user override the test.
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 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16847 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16857 if test -n "$CC"; then
16858 { echo "$as_me:$LINENO: result
: $CC" >&5
16859 echo "${ECHO_T}$CC" >&6; }
16861 { echo "$as_me:$LINENO: result
: no
" >&5
16862 echo "${ECHO_T}no
" >&6; }
16866 test -n "$CC" && break
16869 if test -z "$CC"; then
16871 for ac_prog in cl.exe
16873 # Extract the first word of "$ac_prog", so it can be a program name with args.
16874 set dummy $ac_prog; ac_word=$2
16875 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16876 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16877 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16878 echo $ECHO_N "(cached
) $ECHO_C" >&6
16880 if test -n "$ac_ct_CC"; then
16881 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16884 for as_dir in $PATH
16887 test -z "$as_dir" && as_dir=.
16888 for ac_exec_ext in '' $ac_executable_extensions; do
16889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16890 ac_cv_prog_ac_ct_CC="$ac_prog"
16891 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16900 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16901 if test -n "$ac_ct_CC"; then
16902 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
16903 echo "${ECHO_T}$ac_ct_CC" >&6; }
16905 { echo "$as_me:$LINENO: result
: no
" >&5
16906 echo "${ECHO_T}no
" >&6; }
16910 test -n "$ac_ct_CC" && break
16913 if test "x
$ac_ct_CC" = x; then
16916 case $cross_compiling:$ac_tool_warned in
16918 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
16919 whose name does not start with the
host triplet. If you think this
16920 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
16921 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
16922 whose name does not start with the
host triplet. If you think this
16923 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
16924 ac_tool_warned=yes ;;
16933 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
16934 See \
`config.log' for more details." >&5
16935 echo "$as_me: error: no acceptable C compiler found in \$PATH
16936 See \`config.log
' for more details." >&2;}
16937 { (exit 1); exit 1; }; }
16939 # Provide some information about the compiler.
16940 echo "$as_me:$LINENO: checking for C compiler version" >&5
16941 ac_compiler=`set X $ac_compile; echo $2`
16942 { (ac_try="$ac_compiler --version >&5"
16943 case "(($ac_try" in
16944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16945 *) ac_try_echo=$ac_try;;
16947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16948 (eval "$ac_compiler --version >&5") 2>&5
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); }
16952 { (ac_try="$ac_compiler -v >&5"
16953 case "(($ac_try" in
16954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16955 *) ac_try_echo=$ac_try;;
16957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16958 (eval "$ac_compiler -v >&5") 2>&5
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); }
16962 { (ac_try="$ac_compiler -V >&5"
16963 case "(($ac_try" in
16964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16965 *) ac_try_echo=$ac_try;;
16967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16968 (eval "$ac_compiler -V >&5") 2>&5
16970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16971 (exit $ac_status); }
16973 cat >conftest.$ac_ext <<_ACEOF
16976 cat confdefs.h >>conftest.$ac_ext
16977 cat >>conftest.$ac_ext <<_ACEOF
16978 /* end confdefs.h. */
16988 ac_clean_files_save=$ac_clean_files
16989 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16990 # Try to create an executable without -o first, disregard a.out.
16991 # It will help us diagnose broken compilers, and finding out an intuition
16993 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16994 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16995 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
16997 # List of possible output files, starting from the most likely.
16998 # The algorithm is not robust to junk in `.', hence go to wildcards
(a.
*)
16999 # only as a last resort. b.out is created by i960 compilers.
17000 ac_files
='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
17002 # The IRIX 6 linker writes into existing files which may not be
17003 # executable, retaining their permissions. Remove them first so a
17004 # subsequent execution test works.
17006 for ac_file
in $ac_files
17009 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
17010 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
17015 if { (ac_try
="$ac_link_default"
17016 case "(($ac_try" in
17017 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17018 *) ac_try_echo=$ac_try;;
17020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17021 (eval "$ac_link_default") 2>&5
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); }; then
17025 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
17026 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
17027 # in a Makefile. We should not override ac_cv_exeext if it was cached,
17028 # so that the user can short-circuit this test for compilers unknown to
17030 for ac_file in $ac_files ''
17032 test -f "$ac_file" || continue
17034 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
17037 # We found the default executable, but exeext='' is most
17041 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
17043 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17045 # We set ac_cv_exeext here because the later test for it is not
17046 # safe: cross compilers may not add the suffix if given an `-o'
17047 # argument, so we may need to know it at that point already.
17048 # Even if this section looks crufty: it has the advantage of
17049 # actually working.
17055 test "$ac_cv_exeext" = no && ac_cv_exeext=
17061 { echo "$as_me:$LINENO: result: $ac_file" >&5
17062 echo "${ECHO_T}$ac_file" >&6; }
17063 if test -z "$ac_file"; then
17064 echo "$as_me: failed program was:" >&5
17065 sed 's
/^
/| /' conftest.$ac_ext >&5
17067 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
17068 See \`config.log' for more details.
" >&5
17069 echo "$as_me: error
: C compiler cannot create executables
17070 See \
`config.log' for more details." >&2;}
17071 { (exit 77); exit 77; }; }
17074 ac_exeext=$ac_cv_exeext
17076 # Check that the compiler produces executables we can run. If not, either
17077 # the compiler is broken, or we cross compile.
17078 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17079 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
17080 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17081 # If not cross compiling, check that we can run a simple program.
17082 if test "$cross_compiling" != yes; then
17083 if { ac_try='./$ac_file'
17084 { (case "(($ac_try" in
17085 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17086 *) ac_try_echo
=$ac_try;;
17088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17089 (eval "$ac_try") 2>&5
17091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17092 (exit $ac_status); }; }; then
17095 if test "$cross_compiling" = maybe
; then
17096 cross_compiling
=yes
17098 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17099 If you meant to cross compile, use \`--host'.
17100 See \`config.log' for more details." >&5
17101 echo "$as_me: error: cannot run C compiled programs.
17102 If you meant to cross compile, use \`--host'.
17103 See \`config.log' for more details." >&2;}
17104 { (exit 1); exit 1; }; }
17108 { echo "$as_me:$LINENO: result: yes" >&5
17109 echo "${ECHO_T}yes" >&6; }
17111 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
17112 ac_clean_files
=$ac_clean_files_save
17113 # Check that the compiler produces executables we can run. If not, either
17114 # the compiler is broken, or we cross compile.
17115 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17116 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
17117 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
17118 echo "${ECHO_T}$cross_compiling" >&6; }
17120 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
17121 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
17122 if { (ac_try
="$ac_link"
17123 case "(($ac_try" in
17124 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17125 *) ac_try_echo=$ac_try;;
17127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17128 (eval "$ac_link") 2>&5
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); }; then
17132 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
17133 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
17134 # work properly (i.e., refer to `conftest.exe'), while it won't with
17136 for ac_file
in conftest.exe conftest conftest.
*; do
17137 test -f "$ac_file" || continue
17139 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
17140 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
17146 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17147 See \`config.log' for more details." >&5
17148 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17149 See \`config.log' for more details." >&2;}
17150 { (exit 1); exit 1; }; }
17153 rm -f conftest
$ac_cv_exeext
17154 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17155 echo "${ECHO_T}$ac_cv_exeext" >&6; }
17157 rm -f conftest.
$ac_ext
17158 EXEEXT
=$ac_cv_exeext
17160 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
17161 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
17162 if test "${ac_cv_objext+set}" = set; then
17163 echo $ECHO_N "(cached) $ECHO_C" >&6
17165 cat >conftest.
$ac_ext <<_ACEOF
17168 cat confdefs.h
>>conftest.
$ac_ext
17169 cat >>conftest.
$ac_ext <<_ACEOF
17170 /* end confdefs.h. */
17180 rm -f conftest.o conftest.obj
17181 if { (ac_try
="$ac_compile"
17182 case "(($ac_try" in
17183 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17184 *) ac_try_echo=$ac_try;;
17186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17187 (eval "$ac_compile") 2>&5
17189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17190 (exit $ac_status); }; then
17191 for ac_file in conftest.o conftest.obj conftest.*; do
17192 test -f "$ac_file" || continue;
17194 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
17195 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17200 echo "$as_me: failed program was:" >&5
17201 sed 's/^/| /' conftest.$ac_ext >&5
17203 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17204 See \`config.log
' for more details." >&5
17205 echo "$as_me: error: cannot compute suffix of object files: cannot compile
17206 See \`config.log' for more details.
" >&2;}
17207 { (exit 1); exit 1; }; }
17210 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17212 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
17213 echo "${ECHO_T}$ac_cv_objext" >&6; }
17214 OBJEXT=$ac_cv_objext
17216 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
17217 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
17218 if test "${ac_cv_c_compiler_gnu+set}" = set; then
17219 echo $ECHO_N "(cached
) $ECHO_C" >&6
17221 cat >conftest.$ac_ext <<_ACEOF
17224 cat confdefs.h >>conftest.$ac_ext
17225 cat >>conftest.$ac_ext <<_ACEOF
17226 /* end confdefs.h. */
17239 rm -f conftest.$ac_objext
17240 if { (ac_try="$ac_compile"
17241 case "(($ac_try" in
17242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17243 *) ac_try_echo=$ac_try;;
17245 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17246 (eval "$ac_compile") 2>conftest.er1
17248 grep -v '^ *+' conftest.er1 >conftest.err
17250 cat conftest.err >&5
17251 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17252 (exit $ac_status); } && {
17253 test -z "$ac_c_werror_flag" ||
17254 test ! -s conftest.err
17255 } && test -s conftest.$ac_objext; then
17256 ac_compiler_gnu=yes
17258 echo "$as_me: failed program was
:" >&5
17259 sed 's/^/| /' conftest.$ac_ext >&5
17264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17265 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17268 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
17269 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
17270 GCC=`test $ac_compiler_gnu = yes && echo yes`
17271 ac_test_CFLAGS=${CFLAGS+set}
17272 ac_save_CFLAGS=$CFLAGS
17273 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
17274 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
17275 if test "${ac_cv_prog_cc_g+set}" = set; then
17276 echo $ECHO_N "(cached
) $ECHO_C" >&6
17278 ac_save_c_werror_flag=$ac_c_werror_flag
17279 ac_c_werror_flag=yes
17282 cat >conftest.$ac_ext <<_ACEOF
17285 cat confdefs.h >>conftest.$ac_ext
17286 cat >>conftest.$ac_ext <<_ACEOF
17287 /* 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_cv_prog_cc_g=yes
17316 echo "$as_me: failed program was
:" >&5
17317 sed 's/^/| /' conftest.$ac_ext >&5
17320 cat >conftest.$ac_ext <<_ACEOF
17323 cat confdefs.h >>conftest.$ac_ext
17324 cat >>conftest.$ac_ext <<_ACEOF
17325 /* end confdefs.h. */
17335 rm -f conftest.$ac_objext
17336 if { (ac_try="$ac_compile"
17337 case "(($ac_try" in
17338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17339 *) ac_try_echo=$ac_try;;
17341 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17342 (eval "$ac_compile") 2>conftest.er1
17344 grep -v '^ *+' conftest.er1 >conftest.err
17346 cat conftest.err >&5
17347 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17348 (exit $ac_status); } && {
17349 test -z "$ac_c_werror_flag" ||
17350 test ! -s conftest.err
17351 } && test -s conftest.$ac_objext; then
17354 echo "$as_me: failed program was
:" >&5
17355 sed 's/^/| /' conftest.$ac_ext >&5
17357 ac_c_werror_flag=$ac_save_c_werror_flag
17359 cat >conftest.$ac_ext <<_ACEOF
17362 cat confdefs.h >>conftest.$ac_ext
17363 cat >>conftest.$ac_ext <<_ACEOF
17364 /* end confdefs.h. */
17374 rm -f conftest.$ac_objext
17375 if { (ac_try="$ac_compile"
17376 case "(($ac_try" in
17377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17378 *) ac_try_echo=$ac_try;;
17380 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17381 (eval "$ac_compile") 2>conftest.er1
17383 grep -v '^ *+' conftest.er1 >conftest.err
17385 cat conftest.err >&5
17386 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17387 (exit $ac_status); } && {
17388 test -z "$ac_c_werror_flag" ||
17389 test ! -s conftest.err
17390 } && test -s conftest.$ac_objext; then
17391 ac_cv_prog_cc_g=yes
17393 echo "$as_me: failed program was
:" >&5
17394 sed 's/^/| /' conftest.$ac_ext >&5
17399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17406 ac_c_werror_flag=$ac_save_c_werror_flag
17408 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
17409 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17410 if test "$ac_test_CFLAGS" = set; then
17411 CFLAGS=$ac_save_CFLAGS
17412 elif test $ac_cv_prog_cc_g = yes; then
17413 if test "$GCC" = yes; then
17419 if test "$GCC" = yes; then
17425 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
17426 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
17427 if test "${ac_cv_prog_cc_c89+set}" = set; then
17428 echo $ECHO_N "(cached
) $ECHO_C" >&6
17430 ac_cv_prog_cc_c89=no
17432 cat >conftest.$ac_ext <<_ACEOF
17435 cat confdefs.h >>conftest.$ac_ext
17436 cat >>conftest.$ac_ext <<_ACEOF
17437 /* end confdefs.h. */
17438 #include <stdarg.h>
17440 #include <sys/types.h>
17441 #include <sys/stat.h>
17442 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17443 struct buf { int x; };
17444 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17445 static char *e (p, i)
17451 static char *f (char * (*g) (char **, int), char **p, ...)
17456 s = g (p, va_arg (v,int));
17461 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17462 function prototypes and stuff, but not '\xHH' hex character constants.
17463 These don't provoke an error unfortunately, instead are silently treated
17464 as 'x'. The following induces an error, until -std is added to get
17465 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17466 array size at least. It's necessary to write '\x00'==0 to get something
17467 that's true only with -std. */
17468 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17470 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17471 inside strings and character constants. */
17473 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17475 int test (int i, double x);
17476 struct s1 {int (*f) (int a);};
17477 struct s2 {int (*f) (double a);};
17478 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17484 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17489 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17490 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17492 CC="$ac_save_CC $ac_arg"
17493 rm -f conftest.$ac_objext
17494 if { (ac_try="$ac_compile"
17495 case "(($ac_try" in
17496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17497 *) ac_try_echo=$ac_try;;
17499 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17500 (eval "$ac_compile") 2>conftest.er1
17502 grep -v '^ *+' conftest.er1 >conftest.err
17504 cat conftest.err >&5
17505 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17506 (exit $ac_status); } && {
17507 test -z "$ac_c_werror_flag" ||
17508 test ! -s conftest.err
17509 } && test -s conftest.$ac_objext; then
17510 ac_cv_prog_cc_c89=$ac_arg
17512 echo "$as_me: failed program was
:" >&5
17513 sed 's/^/| /' conftest.$ac_ext >&5
17518 rm -f core conftest.err conftest.$ac_objext
17519 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
17521 rm -f conftest.$ac_ext
17526 case "x
$ac_cv_prog_cc_c89" in
17528 { echo "$as_me:$LINENO: result
: none needed
" >&5
17529 echo "${ECHO_T}none needed
" >&6; } ;;
17531 { echo "$as_me:$LINENO: result
: unsupported
" >&5
17532 echo "${ECHO_T}unsupported
" >&6; } ;;
17534 CC="$CC $ac_cv_prog_cc_c89"
17535 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
17536 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17541 ac_cpp='$CPP $CPPFLAGS'
17542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17550 ac_cpp='$CPP $CPPFLAGS'
17551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17555 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
17556 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
17557 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17558 echo $ECHO_N "(cached
) $ECHO_C" >&6
17560 cat >conftest.$ac_ext <<_ACEOF
17563 cat confdefs.h >>conftest.$ac_ext
17564 cat >>conftest.$ac_ext <<_ACEOF
17565 /* end confdefs.h. */
17571 #ifndef __INTEL_COMPILER
17579 rm -f conftest.$ac_objext
17580 if { (ac_try="$ac_compile"
17581 case "(($ac_try" in
17582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17583 *) ac_try_echo=$ac_try;;
17585 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17586 (eval "$ac_compile") 2>conftest.er1
17588 grep -v '^ *+' conftest.er1 >conftest.err
17590 cat conftest.err >&5
17591 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17592 (exit $ac_status); } && {
17593 test -z "$ac_c_werror_flag" ||
17594 test ! -s conftest.err
17595 } && test -s conftest.$ac_objext; then
17596 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17598 echo "$as_me: failed program was
:" >&5
17599 sed 's/^/| /' conftest.$ac_ext >&5
17601 bakefile_cv_c_compiler___INTEL_COMPILER=no
17605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17609 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17610 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17611 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
17617 ac_cpp='$CPP $CPPFLAGS'
17618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17625 if test "x
$GCC" != "xyes
"; then
17626 if test "xCC
" = "xC
"; then
17627 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
17628 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
17629 if test "${bakefile_cv_c_exto+set}" = set; then
17630 echo $ECHO_N "(cached
) $ECHO_C" >&6
17632 cat >conftest.$ac_ext <<_ACEOF
17635 cat confdefs.h >>conftest.$ac_ext
17636 cat >>conftest.$ac_ext <<_ACEOF
17637 /* end confdefs.h. */
17647 rm -f conftest.$ac_objext conftest.$ac_ext.o
17648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17649 (eval $ac_compile) 2>&5
17651 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17652 (exit $ac_status); }; then
17653 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17655 conftest.$ac_ext.o)
17656 bakefile_cv_c_exto="-ext o
"
17663 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
17664 See \
`config.log' for more details." >&5
17665 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17666 See \`config.log
' for more details." >&2;}
17667 { (exit 1); exit 1; }; }
17671 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17674 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17675 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17676 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17677 if test "c" = "c"; then
17678 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17680 if test "c" = "cxx"; then
17681 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17685 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17686 unset ac_cv_prog_cc_g
17687 ac_test_CFLAGS=${CFLAGS+set}
17688 ac_save_CFLAGS=$CFLAGS
17689 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17690 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17691 if test "${ac_cv_prog_cc_g+set}" = set; then
17692 echo $ECHO_N "(cached) $ECHO_C" >&6
17694 ac_save_c_werror_flag=$ac_c_werror_flag
17695 ac_c_werror_flag=yes
17698 cat >conftest.$ac_ext <<_ACEOF
17701 cat confdefs.h >>conftest.$ac_ext
17702 cat >>conftest.$ac_ext <<_ACEOF
17703 /* end confdefs.h. */
17713 rm -f conftest.$ac_objext
17714 if { (ac_try="$ac_compile"
17715 case "(($ac_try" in
17716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17717 *) ac_try_echo=$ac_try;;
17719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17720 (eval "$ac_compile") 2>conftest.er1
17722 grep -v '^
*+' conftest.er1 >conftest.err
17724 cat conftest.err >&5
17725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726 (exit $ac_status); } && {
17727 test -z "$ac_c_werror_flag" ||
17728 test ! -s conftest.err
17729 } && test -s conftest.$ac_objext; then
17730 ac_cv_prog_cc_g=yes
17732 echo "$as_me: failed program was:" >&5
17733 sed 's
/^
/| /' conftest.$ac_ext >&5
17736 cat >conftest.$ac_ext <<_ACEOF
17739 cat confdefs.h >>conftest.$ac_ext
17740 cat >>conftest.$ac_ext <<_ACEOF
17741 /* end confdefs.h. */
17751 rm -f conftest.$ac_objext
17752 if { (ac_try="$ac_compile"
17753 case "(($ac_try" in
17754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17755 *) ac_try_echo=$ac_try;;
17757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17758 (eval "$ac_compile") 2>conftest.er1
17760 grep -v '^
*+' conftest.er1 >conftest.err
17762 cat conftest.err >&5
17763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17764 (exit $ac_status); } && {
17765 test -z "$ac_c_werror_flag" ||
17766 test ! -s conftest.err
17767 } && test -s conftest.$ac_objext; then
17770 echo "$as_me: failed program was:" >&5
17771 sed 's
/^
/| /' conftest.$ac_ext >&5
17773 ac_c_werror_flag=$ac_save_c_werror_flag
17775 cat >conftest.$ac_ext <<_ACEOF
17778 cat confdefs.h >>conftest.$ac_ext
17779 cat >>conftest.$ac_ext <<_ACEOF
17780 /* end confdefs.h. */
17790 rm -f conftest.$ac_objext
17791 if { (ac_try="$ac_compile"
17792 case "(($ac_try" in
17793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17794 *) ac_try_echo=$ac_try;;
17796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17797 (eval "$ac_compile") 2>conftest.er1
17799 grep -v '^
*+' conftest.er1 >conftest.err
17801 cat conftest.err >&5
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); } && {
17804 test -z "$ac_c_werror_flag" ||
17805 test ! -s conftest.err
17806 } && test -s conftest.$ac_objext; then
17807 ac_cv_prog_cc_g=yes
17809 echo "$as_me: failed program was:" >&5
17810 sed 's
/^
/| /' conftest.$ac_ext >&5
17815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17822 ac_c_werror_flag=$ac_save_c_werror_flag
17824 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17825 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17826 if test "$ac_test_CFLAGS" = set; then
17827 CFLAGS=$ac_save_CFLAGS
17828 elif test $ac_cv_prog_cc_g = yes; then
17829 if test "$GCC" = yes; then
17835 if test "$GCC" = yes; then
17849 ac_cpp='$CPP $CPPFLAGS'
17850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17851 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17854 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17855 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17856 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17857 echo $ECHO_N "(cached) $ECHO_C" >&6
17859 cat >conftest.$ac_ext <<_ACEOF
17862 cat confdefs.h >>conftest.$ac_ext
17863 cat >>conftest.$ac_ext <<_ACEOF
17864 /* end confdefs.h. */
17878 rm -f conftest.$ac_objext
17879 if { (ac_try="$ac_compile"
17880 case "(($ac_try" in
17881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17882 *) ac_try_echo=$ac_try;;
17884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17885 (eval "$ac_compile") 2>conftest.er1
17887 grep -v '^
*+' conftest.er1 >conftest.err
17889 cat conftest.err >&5
17890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17891 (exit $ac_status); } && {
17892 test -z "$ac_c_werror_flag" ||
17893 test ! -s conftest.err
17894 } && test -s conftest.$ac_objext; then
17895 bakefile_cv_c_compiler___xlC__=yes
17897 echo "$as_me: failed program was:" >&5
17898 sed 's
/^
/| /' conftest.$ac_ext >&5
17900 bakefile_cv_c_compiler___xlC__=no
17904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17908 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17909 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17910 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17916 ac_cpp='$CPP $CPPFLAGS'
17917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17918 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17929 ac_cpp='$CPP $CPPFLAGS'
17930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17931 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17934 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17935 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17936 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17937 echo $ECHO_N "(cached) $ECHO_C" >&6
17939 cat >conftest.$ac_ext <<_ACEOF
17942 cat confdefs.h >>conftest.$ac_ext
17943 cat >>conftest.$ac_ext <<_ACEOF
17944 /* end confdefs.h. */
17958 rm -f conftest.$ac_objext
17959 if { (ac_try="$ac_compile"
17960 case "(($ac_try" in
17961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17962 *) ac_try_echo=$ac_try;;
17964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17965 (eval "$ac_compile") 2>conftest.er1
17967 grep -v '^
*+' conftest.er1 >conftest.err
17969 cat conftest.err >&5
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); } && {
17972 test -z "$ac_c_werror_flag" ||
17973 test ! -s conftest.err
17974 } && test -s conftest.$ac_objext; then
17975 bakefile_cv_c_compiler___MWERKS__=yes
17977 echo "$as_me: failed program was:" >&5
17978 sed 's
/^
/| /' conftest.$ac_ext >&5
17980 bakefile_cv_c_compiler___MWERKS__=no
17984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17988 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17989 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17990 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17996 ac_cpp='$CPP $CPPFLAGS'
17997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17998 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18006 ac_cpp='$CPP $CPPFLAGS'
18007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18008 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18011 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
18012 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
18013 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
18014 echo $ECHO_N "(cached) $ECHO_C" >&6
18016 cat >conftest.$ac_ext <<_ACEOF
18019 cat confdefs.h >>conftest.$ac_ext
18020 cat >>conftest.$ac_ext <<_ACEOF
18021 /* end confdefs.h. */
18035 rm -f conftest.$ac_objext
18036 if { (ac_try="$ac_compile"
18037 case "(($ac_try" in
18038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18039 *) ac_try_echo=$ac_try;;
18041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18042 (eval "$ac_compile") 2>conftest.er1
18044 grep -v '^
*+' conftest.er1 >conftest.err
18046 cat conftest.err >&5
18047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 (exit $ac_status); } && {
18049 test -z "$ac_c_werror_flag" ||
18050 test ! -s conftest.err
18051 } && test -s conftest.$ac_objext; then
18052 bakefile_cv_c_compiler___xlC__=yes
18054 echo "$as_me: failed program was:" >&5
18055 sed 's
/^
/| /' conftest.$ac_ext >&5
18057 bakefile_cv_c_compiler___xlC__=no
18061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18065 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
18066 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
18067 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
18073 ac_cpp='$CPP $CPPFLAGS'
18074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18075 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18086 ac_cpp='$CPP $CPPFLAGS'
18087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18088 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18091 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
18092 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
18093 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
18094 echo $ECHO_N "(cached) $ECHO_C" >&6
18096 cat >conftest.$ac_ext <<_ACEOF
18099 cat confdefs.h >>conftest.$ac_ext
18100 cat >>conftest.$ac_ext <<_ACEOF
18101 /* end confdefs.h. */
18107 #ifndef _SGI_COMPILER_VERSION
18115 rm -f conftest.$ac_objext
18116 if { (ac_try="$ac_compile"
18117 case "(($ac_try" in
18118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18119 *) ac_try_echo=$ac_try;;
18121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18122 (eval "$ac_compile") 2>conftest.er1
18124 grep -v '^
*+' conftest.er1 >conftest.err
18126 cat conftest.err >&5
18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18128 (exit $ac_status); } && {
18129 test -z "$ac_c_werror_flag" ||
18130 test ! -s conftest.err
18131 } && test -s conftest.$ac_objext; then
18132 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
18134 echo "$as_me: failed program was:" >&5
18135 sed 's
/^
/| /' conftest.$ac_ext >&5
18137 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
18141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18145 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
18146 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
18147 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18153 ac_cpp='$CPP $CPPFLAGS'
18154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18155 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18166 ac_cpp='$CPP $CPPFLAGS'
18167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18168 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18171 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18172 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18173 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18174 echo $ECHO_N "(cached) $ECHO_C" >&6
18176 cat >conftest.$ac_ext <<_ACEOF
18179 cat confdefs.h >>conftest.$ac_ext
18180 cat >>conftest.$ac_ext <<_ACEOF
18181 /* end confdefs.h. */
18195 rm -f conftest.$ac_objext
18196 if { (ac_try="$ac_compile"
18197 case "(($ac_try" in
18198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18199 *) ac_try_echo=$ac_try;;
18201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18202 (eval "$ac_compile") 2>conftest.er1
18204 grep -v '^
*+' conftest.er1 >conftest.err
18206 cat conftest.err >&5
18207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); } && {
18209 test -z "$ac_c_werror_flag" ||
18210 test ! -s conftest.err
18211 } && test -s conftest.$ac_objext; then
18212 bakefile_cv_c_compiler___SUNPRO_C=yes
18214 echo "$as_me: failed program was:" >&5
18215 sed 's
/^
/| /' conftest.$ac_ext >&5
18217 bakefile_cv_c_compiler___SUNPRO_C=no
18221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18225 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18226 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18227 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18233 ac_cpp='$CPP $CPPFLAGS'
18234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18235 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18246 ac_cpp='$CPP $CPPFLAGS'
18247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18248 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18251 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
18252 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
18253 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
18254 echo $ECHO_N "(cached) $ECHO_C" >&6
18256 cat >conftest.$ac_ext <<_ACEOF
18259 cat confdefs.h >>conftest.$ac_ext
18260 cat >>conftest.$ac_ext <<_ACEOF
18261 /* end confdefs.h. */
18275 rm -f conftest.$ac_objext
18276 if { (ac_try="$ac_compile"
18277 case "(($ac_try" in
18278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18279 *) ac_try_echo=$ac_try;;
18281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18282 (eval "$ac_compile") 2>conftest.er1
18284 grep -v '^
*+' conftest.er1 >conftest.err
18286 cat conftest.err >&5
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); } && {
18289 test -z "$ac_c_werror_flag" ||
18290 test ! -s conftest.err
18291 } && test -s conftest.$ac_objext; then
18292 bakefile_cv_c_compiler___HP_cc=yes
18294 echo "$as_me: failed program was:" >&5
18295 sed 's
/^
/| /' conftest.$ac_ext >&5
18297 bakefile_cv_c_compiler___HP_cc=no
18301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18305 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
18306 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
18307 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
18313 ac_cpp='$CPP $CPPFLAGS'
18314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18315 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18326 ac_cpp='$CPP $CPPFLAGS'
18327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18328 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18331 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
18332 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
18333 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
18334 echo $ECHO_N "(cached) $ECHO_C" >&6
18336 cat >conftest.$ac_ext <<_ACEOF
18339 cat confdefs.h >>conftest.$ac_ext
18340 cat >>conftest.$ac_ext <<_ACEOF
18341 /* end confdefs.h. */
18355 rm -f conftest.$ac_objext
18356 if { (ac_try="$ac_compile"
18357 case "(($ac_try" in
18358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18359 *) ac_try_echo=$ac_try;;
18361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18362 (eval "$ac_compile") 2>conftest.er1
18364 grep -v '^
*+' conftest.er1 >conftest.err
18366 cat conftest.err >&5
18367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368 (exit $ac_status); } && {
18369 test -z "$ac_c_werror_flag" ||
18370 test ! -s conftest.err
18371 } && test -s conftest.$ac_objext; then
18372 bakefile_cv_c_compiler___DECC=yes
18374 echo "$as_me: failed program was:" >&5
18375 sed 's
/^
/| /' conftest.$ac_ext >&5
18377 bakefile_cv_c_compiler___DECC=no
18381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18385 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
18386 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
18387 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
18393 ac_cpp='$CPP $CPPFLAGS'
18394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18395 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18406 ac_cpp='$CPP $CPPFLAGS'
18407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18408 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18411 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18412 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18413 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18414 echo $ECHO_N "(cached) $ECHO_C" >&6
18416 cat >conftest.$ac_ext <<_ACEOF
18419 cat confdefs.h >>conftest.$ac_ext
18420 cat >>conftest.$ac_ext <<_ACEOF
18421 /* end confdefs.h. */
18435 rm -f conftest.$ac_objext
18436 if { (ac_try="$ac_compile"
18437 case "(($ac_try" in
18438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18439 *) ac_try_echo=$ac_try;;
18441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18442 (eval "$ac_compile") 2>conftest.er1
18444 grep -v '^
*+' conftest.er1 >conftest.err
18446 cat conftest.err >&5
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); } && {
18449 test -z "$ac_c_werror_flag" ||
18450 test ! -s conftest.err
18451 } && test -s conftest.$ac_objext; then
18452 bakefile_cv_c_compiler___SUNPRO_C=yes
18454 echo "$as_me: failed program was:" >&5
18455 sed 's
/^
/| /' conftest.$ac_ext >&5
18457 bakefile_cv_c_compiler___SUNPRO_C=no
18461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18465 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18466 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18467 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18473 ac_cpp='$CPP $CPPFLAGS'
18474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18475 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18487 ac_cpp='$CPP $CPPFLAGS'
18488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18489 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18491 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18492 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
18493 # On Suns, sometimes $CPP names a directory.
18494 if test -n "$CPP" && test -d "$CPP"; then
18497 if test -z "$CPP"; then
18498 if test "${ac_cv_prog_CPP+set}" = set; then
18499 echo $ECHO_N "(cached) $ECHO_C" >&6
18501 # Double quotes because CPP needs to be expanded
18502 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18504 ac_preproc_ok=false
18505 for ac_c_preproc_warn_flag in '' yes
18507 # Use a header file that comes with gcc, so configuring glibc
18508 # with a fresh cross-compiler works.
18509 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18510 # <limits.h> exists even on freestanding compilers.
18511 # On the NeXT, cc -E runs the code through the compiler's parser
,
18512 # not just through cpp. "Syntax error" is here to catch this case.
18513 cat >conftest.
$ac_ext <<_ACEOF
18516 cat confdefs.h
>>conftest.
$ac_ext
18517 cat >>conftest.
$ac_ext <<_ACEOF
18518 /* end confdefs.h. */
18520 # include <limits.h>
18522 # include <assert.h>
18526 if { (ac_try
="$ac_cpp conftest.$ac_ext"
18527 case "(($ac_try" in
18528 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18529 *) ac_try_echo=$ac_try;;
18531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18532 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18534 grep -v '^ *+' conftest.er1 >conftest.err
18536 cat conftest.err >&5
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); } >/dev/null && {
18539 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18540 test ! -s conftest.err
18544 echo "$as_me: failed program was:" >&5
18545 sed 's/^/| /' conftest.$ac_ext >&5
18547 # Broken: fails on valid input.
18551 rm -f conftest.err conftest.$ac_ext
18553 # OK, works on sane cases. Now check whether nonexistent headers
18554 # can be detected and how.
18555 cat >conftest.$ac_ext <<_ACEOF
18558 cat confdefs.h >>conftest.$ac_ext
18559 cat >>conftest.$ac_ext <<_ACEOF
18560 /* end confdefs.h. */
18561 #include <ac_nonexistent.h>
18563 if { (ac_try="$ac_cpp conftest.$ac_ext"
18564 case "(($ac_try" in
18565 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18566 *) ac_try_echo
=$ac_try;;
18568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18569 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18571 grep -v '^ *+' conftest.er1
>conftest.err
18573 cat conftest.err
>&5
18574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575 (exit $ac_status); } >/dev
/null
&& {
18576 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18577 test ! -s conftest.err
18579 # Broken: success on invalid input.
18582 echo "$as_me: failed program was:" >&5
18583 sed 's/^/| /' conftest.
$ac_ext >&5
18585 # Passes both tests.
18590 rm -f conftest.err conftest.
$ac_ext
18593 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18594 rm -f conftest.err conftest.
$ac_ext
18595 if $ac_preproc_ok; then
18600 ac_cv_prog_CPP
=$CPP
18603 CPP
=$ac_cv_prog_CPP
18605 ac_cv_prog_CPP
=$CPP
18607 { echo "$as_me:$LINENO: result: $CPP" >&5
18608 echo "${ECHO_T}$CPP" >&6; }
18609 ac_preproc_ok
=false
18610 for ac_c_preproc_warn_flag
in '' yes
18612 # Use a header file that comes with gcc, so configuring glibc
18613 # with a fresh cross-compiler works.
18614 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18615 # <limits.h> exists even on freestanding compilers.
18616 # On the NeXT, cc -E runs the code through the compiler's parser,
18617 # not just through cpp. "Syntax error" is here to catch this case.
18618 cat >conftest.
$ac_ext <<_ACEOF
18621 cat confdefs.h
>>conftest.
$ac_ext
18622 cat >>conftest.
$ac_ext <<_ACEOF
18623 /* end confdefs.h. */
18625 # include <limits.h>
18627 # include <assert.h>
18631 if { (ac_try
="$ac_cpp conftest.$ac_ext"
18632 case "(($ac_try" in
18633 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18634 *) ac_try_echo=$ac_try;;
18636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18637 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18639 grep -v '^ *+' conftest.er1 >conftest.err
18641 cat conftest.err >&5
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); } >/dev/null && {
18644 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18645 test ! -s conftest.err
18649 echo "$as_me: failed program was:" >&5
18650 sed 's/^/| /' conftest.$ac_ext >&5
18652 # Broken: fails on valid input.
18656 rm -f conftest.err conftest.$ac_ext
18658 # OK, works on sane cases. Now check whether nonexistent headers
18659 # can be detected and how.
18660 cat >conftest.$ac_ext <<_ACEOF
18663 cat confdefs.h >>conftest.$ac_ext
18664 cat >>conftest.$ac_ext <<_ACEOF
18665 /* end confdefs.h. */
18666 #include <ac_nonexistent.h>
18668 if { (ac_try="$ac_cpp conftest.$ac_ext"
18669 case "(($ac_try" in
18670 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18671 *) ac_try_echo
=$ac_try;;
18673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18674 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18676 grep -v '^ *+' conftest.er1
>conftest.err
18678 cat conftest.err
>&5
18679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680 (exit $ac_status); } >/dev
/null
&& {
18681 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18682 test ! -s conftest.err
18684 # Broken: success on invalid input.
18687 echo "$as_me: failed program was:" >&5
18688 sed 's/^/| /' conftest.
$ac_ext >&5
18690 # Passes both tests.
18695 rm -f conftest.err conftest.
$ac_ext
18698 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18699 rm -f conftest.err conftest.
$ac_ext
18700 if $ac_preproc_ok; then
18703 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18704 See \`config.log' for more details." >&5
18705 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18706 See \`config.log' for more details." >&2;}
18707 { (exit 1); exit 1; }; }
18711 ac_cpp
='$CPP $CPPFLAGS'
18712 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18713 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18714 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18717 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18718 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18719 if test "${ac_cv_path_GREP+set}" = set; then
18720 echo $ECHO_N "(cached) $ECHO_C" >&6
18722 # Extract the first word of "grep ggrep" to use in msg output
18723 if test -z "$GREP"; then
18724 set dummy
grep ggrep
; ac_prog_name
=$2
18725 if test "${ac_cv_path_GREP+set}" = set; then
18726 echo $ECHO_N "(cached) $ECHO_C" >&6
18728 ac_path_GREP_found
=false
18729 # Loop through the user's path and test for each of PROGNAME-LIST
18730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18731 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18734 test -z "$as_dir" && as_dir
=.
18735 for ac_prog
in grep ggrep
; do
18736 for ac_exec_ext
in '' $ac_executable_extensions; do
18737 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
18738 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18739 # Check for GNU ac_path_GREP and select it if it is found.
18740 # Check for GNU $ac_path_GREP
18741 case `"$ac_path_GREP" --version 2>&1` in
18743 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
18746 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18749 cat "conftest.in" "conftest.in" >"conftest.tmp"
18750 mv "conftest.tmp" "conftest.in"
18751 cp "conftest.in" "conftest.nl"
18752 echo 'GREP' >> "conftest.nl"
18753 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18754 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18755 ac_count
=`expr $ac_count + 1`
18756 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18757 # Best one so far, save it but keep looking for a better one
18758 ac_cv_path_GREP
="$ac_path_GREP"
18759 ac_path_GREP_max
=$ac_count
18761 # 10*(2^10) chars as input seems more than enough
18762 test $ac_count -gt 10 && break
18764 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18768 $ac_path_GREP_found && break 3
18778 GREP
="$ac_cv_path_GREP"
18779 if test -z "$GREP"; then
18780 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18781 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18782 { (exit 1); exit 1; }; }
18786 ac_cv_path_GREP
=$GREP
18791 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18792 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18793 GREP
="$ac_cv_path_GREP"
18796 { echo "$as_me:$LINENO: checking for egrep" >&5
18797 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18798 if test "${ac_cv_path_EGREP+set}" = set; then
18799 echo $ECHO_N "(cached) $ECHO_C" >&6
18801 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
18802 then ac_cv_path_EGREP
="$GREP -E"
18804 # Extract the first word of "egrep" to use in msg output
18805 if test -z "$EGREP"; then
18806 set dummy
egrep; ac_prog_name
=$2
18807 if test "${ac_cv_path_EGREP+set}" = set; then
18808 echo $ECHO_N "(cached) $ECHO_C" >&6
18810 ac_path_EGREP_found
=false
18811 # Loop through the user's path and test for each of PROGNAME-LIST
18812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18813 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18816 test -z "$as_dir" && as_dir
=.
18817 for ac_prog
in egrep; do
18818 for ac_exec_ext
in '' $ac_executable_extensions; do
18819 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
18820 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18821 # Check for GNU ac_path_EGREP and select it if it is found.
18822 # Check for GNU $ac_path_EGREP
18823 case `"$ac_path_EGREP" --version 2>&1` in
18825 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
18828 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18831 cat "conftest.in" "conftest.in" >"conftest.tmp"
18832 mv "conftest.tmp" "conftest.in"
18833 cp "conftest.in" "conftest.nl"
18834 echo 'EGREP' >> "conftest.nl"
18835 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18836 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18837 ac_count
=`expr $ac_count + 1`
18838 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18839 # Best one so far, save it but keep looking for a better one
18840 ac_cv_path_EGREP
="$ac_path_EGREP"
18841 ac_path_EGREP_max
=$ac_count
18843 # 10*(2^10) chars as input seems more than enough
18844 test $ac_count -gt 10 && break
18846 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18850 $ac_path_EGREP_found && break 3
18860 EGREP
="$ac_cv_path_EGREP"
18861 if test -z "$EGREP"; then
18862 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18863 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18864 { (exit 1); exit 1; }; }
18868 ac_cv_path_EGREP
=$EGREP
18874 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18875 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18876 EGREP
="$ac_cv_path_EGREP"
18879 if test $ac_cv_c_compiler_gnu = yes; then
18880 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18881 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18882 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18883 echo $ECHO_N "(cached) $ECHO_C" >&6
18885 ac_pattern
="Autoconf.*'x'"
18886 cat >conftest.
$ac_ext <<_ACEOF
18889 cat confdefs.h
>>conftest.
$ac_ext
18890 cat >>conftest.
$ac_ext <<_ACEOF
18891 /* end confdefs.h. */
18895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18896 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18897 ac_cv_prog_gcc_traditional
=yes
18899 ac_cv_prog_gcc_traditional
=no
18904 if test $ac_cv_prog_gcc_traditional = no
; then
18905 cat >conftest.
$ac_ext <<_ACEOF
18908 cat confdefs.h
>>conftest.
$ac_ext
18909 cat >>conftest.
$ac_ext <<_ACEOF
18910 /* end confdefs.h. */
18911 #include <termio.h>
18914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18915 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18916 ac_cv_prog_gcc_traditional
=yes
18922 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18923 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18924 if test $ac_cv_prog_gcc_traditional = yes; then
18925 CC
="$CC -traditional"
18930 CXXFLAGS
=${CXXFLAGS:=}
18935 ac_cpp
='$CXXCPP $CPPFLAGS'
18936 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18937 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18938 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18939 if test -z "$CXX"; then
18940 if test -n "$CCC"; then
18943 if test -n "$ac_tool_prefix"; then
18944 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18946 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18947 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18948 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18950 if test "${ac_cv_prog_CXX+set}" = set; then
18951 echo $ECHO_N "(cached) $ECHO_C" >&6
18953 if test -n "$CXX"; then
18954 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
18956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18957 for as_dir
in $PATH
18960 test -z "$as_dir" && as_dir
=.
18961 for ac_exec_ext
in '' $ac_executable_extensions; do
18962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18963 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
18964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18973 CXX
=$ac_cv_prog_CXX
18974 if test -n "$CXX"; then
18975 { echo "$as_me:$LINENO: result: $CXX" >&5
18976 echo "${ECHO_T}$CXX" >&6; }
18978 { echo "$as_me:$LINENO: result: no" >&5
18979 echo "${ECHO_T}no" >&6; }
18983 test -n "$CXX" && break
18986 if test -z "$CXX"; then
18988 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18990 # Extract the first word of "$ac_prog", so it can be a program name with args.
18991 set dummy
$ac_prog; ac_word
=$2
18992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18994 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18995 echo $ECHO_N "(cached) $ECHO_C" >&6
18997 if test -n "$ac_ct_CXX"; then
18998 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
19000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19001 for as_dir
in $PATH
19004 test -z "$as_dir" && as_dir
=.
19005 for ac_exec_ext
in '' $ac_executable_extensions; do
19006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19007 ac_cv_prog_ac_ct_CXX
="$ac_prog"
19008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19017 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
19018 if test -n "$ac_ct_CXX"; then
19019 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
19020 echo "${ECHO_T}$ac_ct_CXX" >&6; }
19022 { echo "$as_me:$LINENO: result: no" >&5
19023 echo "${ECHO_T}no" >&6; }
19027 test -n "$ac_ct_CXX" && break
19030 if test "x$ac_ct_CXX" = x
; then
19033 case $cross_compiling:$ac_tool_warned in
19035 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19036 whose name does not start with the host triplet. If you think this
19037 configuration is useful to you, please write to autoconf@gnu.org." >&5
19038 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19039 whose name does not start with the host triplet. If you think this
19040 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19041 ac_tool_warned
=yes ;;
19049 # Provide some information about the compiler.
19050 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19051 ac_compiler
=`set X $ac_compile; echo $2`
19052 { (ac_try
="$ac_compiler --version >&5"
19053 case "(($ac_try" in
19054 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19055 *) ac_try_echo=$ac_try;;
19057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19058 (eval "$ac_compiler --version >&5") 2>&5
19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061 (exit $ac_status); }
19062 { (ac_try="$ac_compiler -v >&5"
19063 case "(($ac_try" in
19064 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19065 *) ac_try_echo
=$ac_try;;
19067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19068 (eval "$ac_compiler -v >&5") 2>&5
19070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19071 (exit $ac_status); }
19072 { (ac_try
="$ac_compiler -V >&5"
19073 case "(($ac_try" in
19074 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19075 *) ac_try_echo=$ac_try;;
19077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19078 (eval "$ac_compiler -V >&5") 2>&5
19080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081 (exit $ac_status); }
19083 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19084 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19085 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19086 echo $ECHO_N "(cached) $ECHO_C" >&6
19088 cat >conftest.$ac_ext <<_ACEOF
19091 cat confdefs.h >>conftest.$ac_ext
19092 cat >>conftest.$ac_ext <<_ACEOF
19093 /* end confdefs.h. */
19106 rm -f conftest.$ac_objext
19107 if { (ac_try="$ac_compile"
19108 case "(($ac_try" in
19109 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19110 *) ac_try_echo
=$ac_try;;
19112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19113 (eval "$ac_compile") 2>conftest.er1
19115 grep -v '^ *+' conftest.er1
>conftest.err
19117 cat conftest.err
>&5
19118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119 (exit $ac_status); } && {
19120 test -z "$ac_cxx_werror_flag" ||
19121 test ! -s conftest.err
19122 } && test -s conftest.
$ac_objext; then
19123 ac_compiler_gnu
=yes
19125 echo "$as_me: failed program was:" >&5
19126 sed 's/^/| /' conftest.
$ac_ext >&5
19131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19132 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
19135 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19136 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19137 GXX
=`test $ac_compiler_gnu = yes && echo yes`
19138 ac_test_CXXFLAGS
=${CXXFLAGS+set}
19139 ac_save_CXXFLAGS
=$CXXFLAGS
19140 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19141 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19142 if test "${ac_cv_prog_cxx_g+set}" = set; then
19143 echo $ECHO_N "(cached) $ECHO_C" >&6
19145 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
19146 ac_cxx_werror_flag
=yes
19147 ac_cv_prog_cxx_g
=no
19149 cat >conftest.
$ac_ext <<_ACEOF
19152 cat confdefs.h
>>conftest.
$ac_ext
19153 cat >>conftest.
$ac_ext <<_ACEOF
19154 /* 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_cv_prog_cxx_g=yes
19183 echo "$as_me: failed program was:" >&5
19184 sed 's/^/| /' conftest.$ac_ext >&5
19187 cat >conftest.$ac_ext <<_ACEOF
19190 cat confdefs.h >>conftest.$ac_ext
19191 cat >>conftest.$ac_ext <<_ACEOF
19192 /* end confdefs.h. */
19202 rm -f conftest.$ac_objext
19203 if { (ac_try="$ac_compile"
19204 case "(($ac_try" in
19205 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19206 *) ac_try_echo
=$ac_try;;
19208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19209 (eval "$ac_compile") 2>conftest.er1
19211 grep -v '^ *+' conftest.er1
>conftest.err
19213 cat conftest.err
>&5
19214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19215 (exit $ac_status); } && {
19216 test -z "$ac_cxx_werror_flag" ||
19217 test ! -s conftest.err
19218 } && test -s conftest.
$ac_objext; then
19221 echo "$as_me: failed program was:" >&5
19222 sed 's/^/| /' conftest.
$ac_ext >&5
19224 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
19226 cat >conftest.
$ac_ext <<_ACEOF
19229 cat confdefs.h
>>conftest.
$ac_ext
19230 cat >>conftest.
$ac_ext <<_ACEOF
19231 /* end confdefs.h. */
19241 rm -f conftest.
$ac_objext
19242 if { (ac_try
="$ac_compile"
19243 case "(($ac_try" in
19244 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19245 *) ac_try_echo=$ac_try;;
19247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19248 (eval "$ac_compile") 2>conftest.er1
19250 grep -v '^ *+' conftest.er1 >conftest.err
19252 cat conftest.err >&5
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); } && {
19255 test -z "$ac_cxx_werror_flag" ||
19256 test ! -s conftest.err
19257 } && test -s conftest.$ac_objext; then
19258 ac_cv_prog_cxx_g=yes
19260 echo "$as_me: failed program was:" >&5
19261 sed 's/^/| /' conftest.$ac_ext >&5
19266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19273 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19275 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19276 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19277 if test "$ac_test_CXXFLAGS" = set; then
19278 CXXFLAGS=$ac_save_CXXFLAGS
19279 elif test $ac_cv_prog_cxx_g = yes; then
19280 if test "$GXX" = yes; then
19286 if test "$GXX" = yes; then
19293 ac_cpp='$CPP $CPPFLAGS'
19294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19302 ac_cpp='$CXXCPP $CPPFLAGS'
19303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19307 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
19308 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
19309 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
19310 echo $ECHO_N "(cached) $ECHO_C" >&6
19312 cat >conftest.$ac_ext <<_ACEOF
19315 cat confdefs.h >>conftest.$ac_ext
19316 cat >>conftest.$ac_ext <<_ACEOF
19317 /* end confdefs.h. */
19323 #ifndef __INTEL_COMPILER
19331 rm -f conftest.$ac_objext
19332 if { (ac_try="$ac_compile"
19333 case "(($ac_try" in
19334 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19335 *) ac_try_echo
=$ac_try;;
19337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19338 (eval "$ac_compile") 2>conftest.er1
19340 grep -v '^ *+' conftest.er1
>conftest.err
19342 cat conftest.err
>&5
19343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344 (exit $ac_status); } && {
19345 test -z "$ac_cxx_werror_flag" ||
19346 test ! -s conftest.err
19347 } && test -s conftest.
$ac_objext; then
19348 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
19350 echo "$as_me: failed program was:" >&5
19351 sed 's/^/| /' conftest.
$ac_ext >&5
19353 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
19357 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19361 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
19362 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
19363 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
19369 ac_cpp
='$CPP $CPPFLAGS'
19370 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19371 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19372 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19377 if test "x$GCXX" != "xyes"; then
19378 if test "xCXX" = "xC"; then
19379 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
19380 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
19381 if test "${bakefile_cv_c_exto+set}" = set; then
19382 echo $ECHO_N "(cached) $ECHO_C" >&6
19384 cat >conftest.
$ac_ext <<_ACEOF
19387 cat confdefs.h
>>conftest.
$ac_ext
19388 cat >>conftest.
$ac_ext <<_ACEOF
19389 /* end confdefs.h. */
19399 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
19400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19401 (eval $ac_compile) 2>&5
19403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404 (exit $ac_status); }; then
19405 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
19407 conftest.
$ac_ext.o
)
19408 bakefile_cv_c_exto
="-ext o"
19415 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
19416 See \`config.log' for more details." >&5
19417 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
19418 See \`config.log' for more details." >&2;}
19419 { (exit 1); exit 1; }; }
19423 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
19426 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
19427 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
19428 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19429 if test "c" = "c"; then
19430 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
19432 if test "c" = "cxx"; then
19433 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
19437 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19438 unset ac_cv_prog_cc_g
19439 ac_test_CFLAGS
=${CFLAGS+set}
19440 ac_save_CFLAGS
=$CFLAGS
19441 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19442 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19443 if test "${ac_cv_prog_cc_g+set}" = set; then
19444 echo $ECHO_N "(cached) $ECHO_C" >&6
19446 ac_save_c_werror_flag
=$ac_c_werror_flag
19447 ac_c_werror_flag
=yes
19450 cat >conftest.
$ac_ext <<_ACEOF
19453 cat confdefs.h
>>conftest.
$ac_ext
19454 cat >>conftest.
$ac_ext <<_ACEOF
19455 /* end confdefs.h. */
19465 rm -f conftest.
$ac_objext
19466 if { (ac_try
="$ac_compile"
19467 case "(($ac_try" in
19468 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19469 *) ac_try_echo=$ac_try;;
19471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19472 (eval "$ac_compile") 2>conftest.er1
19474 grep -v '^ *+' conftest.er1 >conftest.err
19476 cat conftest.err >&5
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); } && {
19479 test -z "$ac_c_werror_flag" ||
19480 test ! -s conftest.err
19481 } && test -s conftest.$ac_objext; then
19482 ac_cv_prog_cc_g=yes
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.$ac_ext >&5
19488 cat >conftest.$ac_ext <<_ACEOF
19491 cat confdefs.h >>conftest.$ac_ext
19492 cat >>conftest.$ac_ext <<_ACEOF
19493 /* end confdefs.h. */
19503 rm -f conftest.$ac_objext
19504 if { (ac_try="$ac_compile"
19505 case "(($ac_try" in
19506 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19507 *) ac_try_echo
=$ac_try;;
19509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19510 (eval "$ac_compile") 2>conftest.er1
19512 grep -v '^ *+' conftest.er1
>conftest.err
19514 cat conftest.err
>&5
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); } && {
19517 test -z "$ac_c_werror_flag" ||
19518 test ! -s conftest.err
19519 } && test -s conftest.
$ac_objext; then
19522 echo "$as_me: failed program was:" >&5
19523 sed 's/^/| /' conftest.
$ac_ext >&5
19525 ac_c_werror_flag
=$ac_save_c_werror_flag
19527 cat >conftest.
$ac_ext <<_ACEOF
19530 cat confdefs.h
>>conftest.
$ac_ext
19531 cat >>conftest.
$ac_ext <<_ACEOF
19532 /* end confdefs.h. */
19542 rm -f conftest.
$ac_objext
19543 if { (ac_try
="$ac_compile"
19544 case "(($ac_try" in
19545 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19546 *) ac_try_echo=$ac_try;;
19548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19549 (eval "$ac_compile") 2>conftest.er1
19551 grep -v '^ *+' conftest.er1 >conftest.err
19553 cat conftest.err >&5
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); } && {
19556 test -z "$ac_c_werror_flag" ||
19557 test ! -s conftest.err
19558 } && test -s conftest.$ac_objext; then
19559 ac_cv_prog_cc_g=yes
19561 echo "$as_me: failed program was:" >&5
19562 sed 's/^/| /' conftest.$ac_ext >&5
19567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19574 ac_c_werror_flag=$ac_save_c_werror_flag
19576 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19577 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19578 if test "$ac_test_CFLAGS" = set; then
19579 CFLAGS=$ac_save_CFLAGS
19580 elif test $ac_cv_prog_cc_g = yes; then
19581 if test "$GCC" = yes; then
19587 if test "$GCC" = yes; then
19601 ac_cpp='$CXXCPP $CPPFLAGS'
19602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19606 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19607 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19608 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19609 echo $ECHO_N "(cached) $ECHO_C" >&6
19611 cat >conftest.$ac_ext <<_ACEOF
19614 cat confdefs.h >>conftest.$ac_ext
19615 cat >>conftest.$ac_ext <<_ACEOF
19616 /* end confdefs.h. */
19630 rm -f conftest.$ac_objext
19631 if { (ac_try="$ac_compile"
19632 case "(($ac_try" in
19633 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19634 *) ac_try_echo
=$ac_try;;
19636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19637 (eval "$ac_compile") 2>conftest.er1
19639 grep -v '^ *+' conftest.er1
>conftest.err
19641 cat conftest.err
>&5
19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643 (exit $ac_status); } && {
19644 test -z "$ac_cxx_werror_flag" ||
19645 test ! -s conftest.err
19646 } && test -s conftest.
$ac_objext; then
19647 bakefile_cv_cxx_compiler___xlC__
=yes
19649 echo "$as_me: failed program was:" >&5
19650 sed 's/^/| /' conftest.
$ac_ext >&5
19652 bakefile_cv_cxx_compiler___xlC__
=no
19656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19660 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19661 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19662 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19668 ac_cpp
='$CPP $CPPFLAGS'
19669 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19670 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19671 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19681 ac_cpp
='$CXXCPP $CPPFLAGS'
19682 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19683 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19684 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19686 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19687 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19688 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19689 echo $ECHO_N "(cached) $ECHO_C" >&6
19691 cat >conftest.
$ac_ext <<_ACEOF
19694 cat confdefs.h
>>conftest.
$ac_ext
19695 cat >>conftest.
$ac_ext <<_ACEOF
19696 /* end confdefs.h. */
19710 rm -f conftest.
$ac_objext
19711 if { (ac_try
="$ac_compile"
19712 case "(($ac_try" in
19713 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19714 *) ac_try_echo=$ac_try;;
19716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19717 (eval "$ac_compile") 2>conftest.er1
19719 grep -v '^ *+' conftest.er1 >conftest.err
19721 cat conftest.err >&5
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); } && {
19724 test -z "$ac_cxx_werror_flag" ||
19725 test ! -s conftest.err
19726 } && test -s conftest.$ac_objext; then
19727 bakefile_cv_cxx_compiler___MWERKS__=yes
19729 echo "$as_me: failed program was:" >&5
19730 sed 's/^/| /' conftest.$ac_ext >&5
19732 bakefile_cv_cxx_compiler___MWERKS__=no
19736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19740 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19741 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19742 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19748 ac_cpp='$CPP $CPPFLAGS'
19749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19758 ac_cpp='$CXXCPP $CPPFLAGS'
19759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19763 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19764 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19765 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19766 echo $ECHO_N "(cached) $ECHO_C" >&6
19768 cat >conftest.$ac_ext <<_ACEOF
19771 cat confdefs.h >>conftest.$ac_ext
19772 cat >>conftest.$ac_ext <<_ACEOF
19773 /* end confdefs.h. */
19787 rm -f conftest.$ac_objext
19788 if { (ac_try="$ac_compile"
19789 case "(($ac_try" in
19790 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19791 *) ac_try_echo
=$ac_try;;
19793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19794 (eval "$ac_compile") 2>conftest.er1
19796 grep -v '^ *+' conftest.er1
>conftest.err
19798 cat conftest.err
>&5
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); } && {
19801 test -z "$ac_cxx_werror_flag" ||
19802 test ! -s conftest.err
19803 } && test -s conftest.
$ac_objext; then
19804 bakefile_cv_cxx_compiler___xlC__
=yes
19806 echo "$as_me: failed program was:" >&5
19807 sed 's/^/| /' conftest.
$ac_ext >&5
19809 bakefile_cv_cxx_compiler___xlC__
=no
19813 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19817 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19818 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19819 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19825 ac_cpp
='$CPP $CPPFLAGS'
19826 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19827 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19828 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19838 ac_cpp
='$CXXCPP $CPPFLAGS'
19839 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19840 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19841 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19843 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19844 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19845 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19846 echo $ECHO_N "(cached) $ECHO_C" >&6
19848 cat >conftest.
$ac_ext <<_ACEOF
19851 cat confdefs.h
>>conftest.
$ac_ext
19852 cat >>conftest.
$ac_ext <<_ACEOF
19853 /* end confdefs.h. */
19859 #ifndef _SGI_COMPILER_VERSION
19867 rm -f conftest.
$ac_objext
19868 if { (ac_try
="$ac_compile"
19869 case "(($ac_try" in
19870 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19871 *) ac_try_echo=$ac_try;;
19873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19874 (eval "$ac_compile") 2>conftest.er1
19876 grep -v '^ *+' conftest.er1 >conftest.err
19878 cat conftest.err >&5
19879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880 (exit $ac_status); } && {
19881 test -z "$ac_cxx_werror_flag" ||
19882 test ! -s conftest.err
19883 } && test -s conftest.$ac_objext; then
19884 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19886 echo "$as_me: failed program was:" >&5
19887 sed 's/^/| /' conftest.$ac_ext >&5
19889 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19897 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19898 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19899 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19905 ac_cpp='$CPP $CPPFLAGS'
19906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19918 ac_cpp='$CXXCPP $CPPFLAGS'
19919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19923 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19924 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19925 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19926 echo $ECHO_N "(cached) $ECHO_C" >&6
19928 cat >conftest.$ac_ext <<_ACEOF
19931 cat confdefs.h >>conftest.$ac_ext
19932 cat >>conftest.$ac_ext <<_ACEOF
19933 /* end confdefs.h. */
19939 #ifndef __SUNPRO_CC
19947 rm -f conftest.$ac_objext
19948 if { (ac_try="$ac_compile"
19949 case "(($ac_try" in
19950 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19951 *) ac_try_echo
=$ac_try;;
19953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19954 (eval "$ac_compile") 2>conftest.er1
19956 grep -v '^ *+' conftest.er1
>conftest.err
19958 cat conftest.err
>&5
19959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19960 (exit $ac_status); } && {
19961 test -z "$ac_cxx_werror_flag" ||
19962 test ! -s conftest.err
19963 } && test -s conftest.
$ac_objext; then
19964 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
19966 echo "$as_me: failed program was:" >&5
19967 sed 's/^/| /' conftest.
$ac_ext >&5
19969 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
19973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19977 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19978 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19979 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19985 ac_cpp
='$CPP $CPPFLAGS'
19986 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19987 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19988 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19998 ac_cpp
='$CXXCPP $CPPFLAGS'
19999 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20000 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20001 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20003 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
20004 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
20005 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
20006 echo $ECHO_N "(cached) $ECHO_C" >&6
20008 cat >conftest.
$ac_ext <<_ACEOF
20011 cat confdefs.h
>>conftest.
$ac_ext
20012 cat >>conftest.
$ac_ext <<_ACEOF
20013 /* end confdefs.h. */
20027 rm -f conftest.
$ac_objext
20028 if { (ac_try
="$ac_compile"
20029 case "(($ac_try" in
20030 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20031 *) ac_try_echo=$ac_try;;
20033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20034 (eval "$ac_compile") 2>conftest.er1
20036 grep -v '^ *+' conftest.er1 >conftest.err
20038 cat conftest.err >&5
20039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20040 (exit $ac_status); } && {
20041 test -z "$ac_cxx_werror_flag" ||
20042 test ! -s conftest.err
20043 } && test -s conftest.$ac_objext; then
20044 bakefile_cv_cxx_compiler___HP_aCC=yes
20046 echo "$as_me: failed program was:" >&5
20047 sed 's/^/| /' conftest.$ac_ext >&5
20049 bakefile_cv_cxx_compiler___HP_aCC=no
20053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20057 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
20058 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
20059 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
20065 ac_cpp='$CPP $CPPFLAGS'
20066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20078 ac_cpp='$CXXCPP $CPPFLAGS'
20079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20083 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
20084 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
20085 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
20086 echo $ECHO_N "(cached) $ECHO_C" >&6
20088 cat >conftest.$ac_ext <<_ACEOF
20091 cat confdefs.h >>conftest.$ac_ext
20092 cat >>conftest.$ac_ext <<_ACEOF
20093 /* end confdefs.h. */
20107 rm -f conftest.$ac_objext
20108 if { (ac_try="$ac_compile"
20109 case "(($ac_try" in
20110 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20111 *) ac_try_echo
=$ac_try;;
20113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20114 (eval "$ac_compile") 2>conftest.er1
20116 grep -v '^ *+' conftest.er1
>conftest.err
20118 cat conftest.err
>&5
20119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20120 (exit $ac_status); } && {
20121 test -z "$ac_cxx_werror_flag" ||
20122 test ! -s conftest.err
20123 } && test -s conftest.
$ac_objext; then
20124 bakefile_cv_cxx_compiler___DECCXX
=yes
20126 echo "$as_me: failed program was:" >&5
20127 sed 's/^/| /' conftest.
$ac_ext >&5
20129 bakefile_cv_cxx_compiler___DECCXX
=no
20133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20137 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
20138 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
20139 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
20145 ac_cpp
='$CPP $CPPFLAGS'
20146 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20147 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20148 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20158 ac_cpp
='$CXXCPP $CPPFLAGS'
20159 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20160 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20161 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20163 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20164 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20165 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20166 echo $ECHO_N "(cached) $ECHO_C" >&6
20168 cat >conftest.
$ac_ext <<_ACEOF
20171 cat confdefs.h
>>conftest.
$ac_ext
20172 cat >>conftest.
$ac_ext <<_ACEOF
20173 /* end confdefs.h. */
20179 #ifndef __SUNPRO_CC
20187 rm -f conftest.
$ac_objext
20188 if { (ac_try
="$ac_compile"
20189 case "(($ac_try" in
20190 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20191 *) ac_try_echo=$ac_try;;
20193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20194 (eval "$ac_compile") 2>conftest.er1
20196 grep -v '^ *+' conftest.er1 >conftest.err
20198 cat conftest.err >&5
20199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200 (exit $ac_status); } && {
20201 test -z "$ac_cxx_werror_flag" ||
20202 test ! -s conftest.err
20203 } && test -s conftest.$ac_objext; then
20204 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20206 echo "$as_me: failed program was:" >&5
20207 sed 's/^/| /' conftest.$ac_ext >&5
20209 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20217 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20218 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20219 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20225 ac_cpp='$CPP $CPPFLAGS'
20226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20238 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
20239 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
20240 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
20241 { (exit 1); exit 1; }; }
20244 if test "x$SUNCXX" != xyes; then
20245 if test -n "$ac_tool_prefix"; then
20246 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20247 set dummy ${ac_tool_prefix}ar; ac_word=$2
20248 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20250 if test "${ac_cv_prog_AR+set}" = set; then
20251 echo $ECHO_N "(cached) $ECHO_C" >&6
20253 if test -n "$AR"; then
20254 ac_cv_prog_AR="$AR" # Let the user override the test.
20256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20257 for as_dir in $PATH
20260 test -z "$as_dir" && as_dir=.
20261 for ac_exec_ext in '' $ac_executable_extensions; do
20262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20263 ac_cv_prog_AR="${ac_tool_prefix}ar"
20264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20274 if test -n "$AR"; then
20275 { echo "$as_me:$LINENO: result: $AR" >&5
20276 echo "${ECHO_T}$AR" >&6; }
20278 { echo "$as_me:$LINENO: result: no" >&5
20279 echo "${ECHO_T}no" >&6; }
20284 if test -z "$ac_cv_prog_AR"; then
20286 # Extract the first word of "ar", so it can be a program name with args.
20287 set dummy ar; ac_word=$2
20288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20290 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20291 echo $ECHO_N "(cached) $ECHO_C" >&6
20293 if test -n "$ac_ct_AR"; then
20294 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20297 for as_dir in $PATH
20300 test -z "$as_dir" && as_dir=.
20301 for ac_exec_ext in '' $ac_executable_extensions; do
20302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20303 ac_cv_prog_ac_ct_AR="ar"
20304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20313 ac_ct_AR=$ac_cv_prog_ac_ct_AR
20314 if test -n "$ac_ct_AR"; then
20315 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20316 echo "${ECHO_T}$ac_ct_AR" >&6; }
20318 { echo "$as_me:$LINENO: result: no" >&5
20319 echo "${ECHO_T}no" >&6; }
20322 if test "x$ac_ct_AR" = x; then
20325 case $cross_compiling:$ac_tool_warned in
20327 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20328 whose name does not start with the host triplet. If you think this
20329 configuration is useful to you, please write to autoconf@gnu.org." >&5
20330 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20331 whose name does not start with the host triplet. If you think this
20332 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20333 ac_tool_warned=yes ;;
20338 AR="$ac_cv_prog_AR"
20341 if test "x$AR" = "x" ; then
20342 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
20343 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
20344 { (exit 1); exit 1; }; }
20348 retest_macosx_linking=no
20350 #if test "$wxUSE_MAC" = 1; then
20351 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20352 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20353 # Implicitly turn on the new --with-macosx-sdk using the default
20354 # SDK which provides the behavior this option has always had.
20355 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20356 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20357 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20358 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20359 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20360 wxUSE_MACOSX_SDK=yes
20363 # Complain to user if he specified an argument to --enable-universal_binary
20364 # and also 1) specified --with-macosx-sdk using the default (yes) or
20365 # 2) specified --with-macosx-sdk using a path or 3) specified
20366 # --without-macosx-sdk (no).
20367 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20368 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20369 See \`config.log
' for more details." >&5
20370 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20371 See \`config.log' for more details.
" >&2;}
20372 { (exit 1); exit 1; }; }
20374 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20375 # special-case the empty string because the below test simply
20376 # converts "no
" to the empty string anyway.
20377 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20378 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
20379 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
20382 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
20383 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20384 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20385 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20386 retest_macosx_linking=yes
20388 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
20389 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
20394 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
20396 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
20397 # TODO: Search for most recent SDK and use it.
20398 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
20402 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
20403 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
20404 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
20405 if ! test -d "$wxUSE_MACOSX_SDK"; then
20406 { { echo "$as_me:$LINENO: error
: not found
20407 See \
`config.log' for more details." >&5
20408 echo "$as_me: error: not found
20409 See \`config.log
' for more details." >&2;}
20410 { (exit 1); exit 1; }; }
20412 { echo "$as_me:$LINENO: result: exists" >&5
20413 echo "${ECHO_T}exists" >&6; }
20415 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20416 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20417 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20418 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20419 retest_macosx_linking=yes
20422 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20423 wxUSE_MACOSX_VERSION_MIN=
20424 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20425 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20426 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20427 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20429 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/'`
20431 # If that failed, try again with the new key
20432 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
20434 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/'`
20438 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20439 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20440 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20441 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20443 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20444 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20445 wxUSE_MACOSX_VERSION_MIN=
20448 wxUSE_MACOSX_VERSION_MIN=
20452 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20453 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20454 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20455 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20456 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20457 retest_macosx_linking=yes
20460 if test "x$retest_macosx_linking" = "xyes"; then
20462 ac_cpp='$CPP $CPPFLAGS'
20463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
20464 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
20465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20467 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20468 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20469 cat >conftest.$ac_ext <<_ACEOF
20472 cat confdefs.h >>conftest.$ac_ext
20473 cat >>conftest.$ac_ext <<_ACEOF
20474 /* end confdefs.h. */
20484 rm -f conftest.$ac_objext conftest$ac_exeext
20485 if { (ac_try="$ac_link"
20486 case "(($ac_try" in
20487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20488 *) ac_try_echo=$ac_try;;
20490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20491 (eval "$ac_link") 2>conftest.er1
20493 grep -v '^
*+' conftest.er1 >conftest.err
20495 cat conftest.err >&5
20496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497 (exit $ac_status); } && {
20498 test -z "$ac_c_werror_flag" ||
20499 test ! -s conftest.err
20500 } && test -s conftest$ac_exeext &&
20501 $as_test_x conftest$ac_exeext; then
20502 { echo "$as_me:$LINENO: result: yes" >&5
20503 echo "${ECHO_T}yes" >&6; }
20505 echo "$as_me: failed program was:" >&5
20506 sed 's
/^
/| /' conftest.$ac_ext >&5
20508 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20509 See \`config.log' for more details.
" >&5
20510 echo "$as_me: error
: no. Try a different SDK
20511 See \
`config.log' for more details." >&2;}
20512 { (exit 1); exit 1; }; }; exit 1
20515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20516 conftest$ac_exeext conftest.$ac_ext
20518 ac_cpp='$CPP $CPPFLAGS'
20519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20525 ac_cpp='$CXXCPP $CPPFLAGS'
20526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20530 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20531 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20532 cat >conftest.$ac_ext <<_ACEOF
20535 cat confdefs.h >>conftest.$ac_ext
20536 cat >>conftest.$ac_ext <<_ACEOF
20537 /* end confdefs.h. */
20547 rm -f conftest.$ac_objext conftest$ac_exeext
20548 if { (ac_try="$ac_link"
20549 case "(($ac_try" in
20550 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20551 *) ac_try_echo
=$ac_try;;
20553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20554 (eval "$ac_link") 2>conftest.er1
20556 grep -v '^ *+' conftest.er1
>conftest.err
20558 cat conftest.err
>&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); } && {
20561 test -z "$ac_cxx_werror_flag" ||
20562 test ! -s conftest.err
20563 } && test -s conftest
$ac_exeext &&
20564 $as_test_x conftest
$ac_exeext; then
20565 { echo "$as_me:$LINENO: result: yes" >&5
20566 echo "${ECHO_T}yes" >&6; }
20568 echo "$as_me: failed program was:" >&5
20569 sed 's/^/| /' conftest.
$ac_ext >&5
20571 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20572 See \`config.log' for more details." >&5
20573 echo "$as_me: error: no. Try a different SDK
20574 See \`config.log' for more details." >&2;}
20575 { (exit 1); exit 1; }; }; exit 1
20578 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20579 conftest
$ac_exeext conftest.
$ac_ext
20581 ac_cpp
='$CPP $CPPFLAGS'
20582 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20583 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20584 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20592 INSTALL_PROGRAM
="cp -fp"
20593 INSTALL_DATA
="cp -fp"
20600 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20601 CXXFLAGS
="-qunique $CXXFLAGS"
20605 powerpc
-*-darwin* )
20606 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20607 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20608 cat >conftest.
$ac_ext <<_ACEOF
20611 cat confdefs.h
>>conftest.
$ac_ext
20612 cat >>conftest.
$ac_ext <<_ACEOF
20613 /* end confdefs.h. */
20618 #ifndef __POWERPC__
20619 choke me for lack of PowerPC
20626 rm -f conftest.
$ac_objext
20627 if { (ac_try
="$ac_compile"
20628 case "(($ac_try" in
20629 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20630 *) ac_try_echo=$ac_try;;
20632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20633 (eval "$ac_compile") 2>conftest.er1
20635 grep -v '^ *+' conftest.er1 >conftest.err
20637 cat conftest.err >&5
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); } && {
20640 test -z "$ac_c_werror_flag" ||
20641 test ! -s conftest.err
20642 } && test -s conftest.$ac_objext; then
20643 { echo "$as_me:$LINENO: result: yes" >&5
20644 echo "${ECHO_T}yes" >&6; }
20646 echo "$as_me: failed program was:" >&5
20647 sed 's/^/| /' conftest.$ac_ext >&5
20649 { echo "$as_me:$LINENO: result: no" >&5
20650 echo "${ECHO_T}no" >&6; }
20651 cat >>confdefs.h <<\_ACEOF
20652 #define __POWERPC__ 1
20658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20664 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20665 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $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. */
20672 #include <CoreFoundation/CFBase.h>
20682 rm -f conftest.$ac_objext
20683 if { (ac_try="$ac_compile"
20684 case "(($ac_try" in
20685 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20686 *) ac_try_echo
=$ac_try;;
20688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20689 (eval "$ac_compile") 2>conftest.er1
20691 grep -v '^ *+' conftest.er1
>conftest.err
20693 cat conftest.err
>&5
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); } && {
20696 test -z "$ac_c_werror_flag" ||
20697 test ! -s conftest.err
20698 } && test -s conftest.
$ac_objext; then
20699 { echo "$as_me:$LINENO: result: yes" >&5
20700 echo "${ECHO_T}yes" >&6; }
20702 echo "$as_me: failed program was:" >&5
20703 sed 's/^/| /' conftest.
$ac_ext >&5
20705 { echo "$as_me:$LINENO: result: no" >&5
20706 echo "${ECHO_T}no" >&6; }
20707 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20708 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20709 cat >conftest.
$ac_ext <<_ACEOF
20712 cat confdefs.h
>>conftest.
$ac_ext
20713 cat >>conftest.
$ac_ext <<_ACEOF
20714 /* end confdefs.h. */
20715 #define __CF_USE_FRAMEWORK_INCLUDES__
20716 #include <CoreFoundation/CFBase.h>
20726 rm -f conftest.
$ac_objext
20727 if { (ac_try
="$ac_compile"
20728 case "(($ac_try" in
20729 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20730 *) ac_try_echo=$ac_try;;
20732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20733 (eval "$ac_compile") 2>conftest.er1
20735 grep -v '^ *+' conftest.er1 >conftest.err
20737 cat conftest.err >&5
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); } && {
20740 test -z "$ac_c_werror_flag" ||
20741 test ! -s conftest.err
20742 } && test -s conftest.$ac_objext; then
20743 { echo "$as_me:$LINENO: result: yes" >&5
20744 echo "${ECHO_T}yes" >&6; }
20745 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20747 echo "$as_me: failed program was:" >&5
20748 sed 's/^/| /' conftest.$ac_ext >&5
20750 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20751 See \`config.log
' for more details." >&5
20752 echo "$as_me: error: no. CoreFoundation not available.
20753 See \`config.log' for more details.
" >&2;}
20754 { (exit 1); exit 1; }; }
20758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20768 doesnt_want_win32=0
20771 if test "$wxUSE_MSW" = 1 ; then
20774 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
20775 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
20776 if test "${wx_cv_nocygwin+set}" = set; then
20777 echo $ECHO_N "(cached
) $ECHO_C" >&6
20780 cat >conftest.$ac_ext <<_ACEOF
20783 cat confdefs.h >>conftest.$ac_ext
20784 cat >>conftest.$ac_ext <<_ACEOF
20785 /* end confdefs.h. */
20799 rm -f conftest.$ac_objext
20800 if { (ac_try="$ac_compile"
20801 case "(($ac_try" in
20802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20803 *) ac_try_echo=$ac_try;;
20805 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20806 (eval "$ac_compile") 2>conftest.er1
20808 grep -v '^ *+' conftest.er1 >conftest.err
20810 cat conftest.err >&5
20811 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20812 (exit $ac_status); } && {
20813 test -z "$ac_c_werror_flag" ||
20814 test ! -s conftest.err
20815 } && test -s conftest.$ac_objext; then
20818 echo "$as_me: failed program was
:" >&5
20819 sed 's/^/| /' conftest.$ac_ext >&5
20825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20829 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
20830 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20832 if test "$wx_cv_nocygwin" = "yes"; then
20835 doesnt_want_win32=1
20838 if test "$wants_win32" = 1 ; then
20839 BAKEFILE_FORCE_PLATFORM=win32
20847 if test "$wxUSE_WINE" = "yes"; then
20849 LDFLAGS_GUI="-mwindows"
20852 if test "$wants_win32" = 1 ; then
20855 cat >>confdefs.h <<\_ACEOF
20856 #define __WIN32__ 1
20859 cat >>confdefs.h <<\_ACEOF
20860 #define __WIN95__ 1
20863 cat >>confdefs.h <<\_ACEOF
20864 #define __WINDOWS__ 1
20867 cat >>confdefs.h <<\_ACEOF
20868 #define __GNUWIN32__ 1
20871 cat >>confdefs.h <<\_ACEOF
20876 if test "$doesnt_want_win32" = 1 ; then
20881 if test "$USE_UNIX" = 1 ; then
20883 cat >>confdefs.h <<\_ACEOF
20890 *-pc-os2_emx | *-pc-os2-emx )
20891 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20892 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
20893 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
20894 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20895 echo $ECHO_N "(cached
) $ECHO_C" >&6
20897 ac_check_lib_save_LIBS=$LIBS
20898 LIBS="-lcExt $LIBS"
20899 cat >conftest.$ac_ext <<_ACEOF
20902 cat confdefs.h >>conftest.$ac_ext
20903 cat >>conftest.$ac_ext <<_ACEOF
20904 /* end confdefs.h. */
20906 /* Override any GCC internal prototype to avoid an error.
20907 Use char because int might match the return type of a GCC
20908 builtin and then its argument prototype would still apply. */
20921 rm -f conftest.$ac_objext conftest$ac_exeext
20922 if { (ac_try="$ac_link"
20923 case "(($ac_try" in
20924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20925 *) ac_try_echo=$ac_try;;
20927 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20928 (eval "$ac_link") 2>conftest.er1
20930 grep -v '^ *+' conftest.er1 >conftest.err
20932 cat conftest.err >&5
20933 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20934 (exit $ac_status); } && {
20935 test -z "$ac_c_werror_flag" ||
20936 test ! -s conftest.err
20937 } && test -s conftest$ac_exeext &&
20938 $as_test_x conftest$ac_exeext; then
20939 ac_cv_lib_cExt_drand48=yes
20941 echo "$as_me: failed program was
:" >&5
20942 sed 's/^/| /' conftest.$ac_ext >&5
20944 ac_cv_lib_cExt_drand48=no
20947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20948 conftest$ac_exeext conftest.$ac_ext
20949 LIBS=$ac_check_lib_save_LIBS
20951 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
20952 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20953 if test $ac_cv_lib_cExt_drand48 = yes; then
20954 LIBS="$LIBS -lcExt"
20958 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
20960 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
20961 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
20962 if test "${wx_cv_gccversion+set}" = set; then
20963 echo $ECHO_N "(cached
) $ECHO_C" >&6
20966 if test "$cross_compiling" = yes; then
20967 wx_cv_gccversion="EMX2
"
20970 cat >conftest.$ac_ext <<_ACEOF
20973 cat confdefs.h >>conftest.$ac_ext
20974 cat >>conftest.$ac_ext <<_ACEOF
20975 /* end confdefs.h. */
20981 FILE *f=fopen("conftestval
", "w
");
20986 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20988 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20998 rm -f conftest$ac_exeext
20999 if { (ac_try="$ac_link"
21000 case "(($ac_try" in
21001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21002 *) ac_try_echo=$ac_try;;
21004 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21005 (eval "$ac_link") 2>&5
21007 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21008 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21009 { (case "(($ac_try" in
21010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21011 *) ac_try_echo=$ac_try;;
21013 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21014 (eval "$ac_try") 2>&5
21016 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21017 (exit $ac_status); }; }; then
21018 wx_cv_gccversion=`cat conftestval`
21020 echo "$as_me: program exited with status
$ac_status" >&5
21021 echo "$as_me: failed program was
:" >&5
21022 sed 's/^/| /' conftest.$ac_ext >&5
21024 ( exit $ac_status )
21025 wx_cv_gccversion="EMX2
"
21027 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21033 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
21034 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
21035 if test "$wx_cv_gccversion" = "EMX2
"; then
21036 LIBS="$LIBS -lstdcpp"
21037 LDFLAGS="$LDFLAGS -Zsysv-signals"
21039 if test "$wx_cv_gccversion" = "EMX3
"; then
21040 LIBS="$LIBS -lstdcxx -lgcc"
21041 LDFLAGS="$LDFLAGS -Zsysv-signals"
21043 LIBS="$LIBS -lstdc++"
21046 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
21047 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
21048 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
21055 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
21056 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
21057 if test "${ac_cv_string_strcasecmp+set}" = set; then
21058 echo $ECHO_N "(cached
) $ECHO_C" >&6
21061 cat >conftest.$ac_ext <<_ACEOF
21064 cat confdefs.h >>conftest.$ac_ext
21065 cat >>conftest.$ac_ext <<_ACEOF
21066 /* end confdefs.h. */
21068 #include <string.h>
21074 strcasecmp("foo
", "bar
");
21080 rm -f conftest.$ac_objext conftest$ac_exeext
21081 if { (ac_try="$ac_link"
21082 case "(($ac_try" in
21083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21084 *) ac_try_echo=$ac_try;;
21086 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21087 (eval "$ac_link") 2>conftest.er1
21089 grep -v '^ *+' conftest.er1 >conftest.err
21091 cat conftest.err >&5
21092 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21093 (exit $ac_status); } && {
21094 test -z "$ac_c_werror_flag" ||
21095 test ! -s conftest.err
21096 } && test -s conftest$ac_exeext &&
21097 $as_test_x conftest$ac_exeext; then
21098 ac_cv_string_strcasecmp=yes
21100 echo "$as_me: failed program was
:" >&5
21101 sed 's/^/| /' conftest.$ac_ext >&5
21103 ac_cv_string_strcasecmp=no
21107 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21108 conftest$ac_exeext conftest.$ac_ext
21111 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
21112 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21114 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
21115 cat >>confdefs.h <<\_ACEOF
21116 #define HAVE_STRCASECMP_IN_STRING_H 1
21120 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
21121 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
21122 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21123 echo $ECHO_N "(cached
) $ECHO_C" >&6
21126 cat >conftest.$ac_ext <<_ACEOF
21129 cat confdefs.h >>conftest.$ac_ext
21130 cat >>conftest.$ac_ext <<_ACEOF
21131 /* end confdefs.h. */
21133 #include <strings.h>
21139 strcasecmp("foo
", "bar
");
21145 rm -f conftest.$ac_objext conftest$ac_exeext
21146 if { (ac_try="$ac_link"
21147 case "(($ac_try" in
21148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21149 *) ac_try_echo=$ac_try;;
21151 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21152 (eval "$ac_link") 2>conftest.er1
21154 grep -v '^ *+' conftest.er1 >conftest.err
21156 cat conftest.err >&5
21157 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21158 (exit $ac_status); } && {
21159 test -z "$ac_c_werror_flag" ||
21160 test ! -s conftest.err
21161 } && test -s conftest$ac_exeext &&
21162 $as_test_x conftest$ac_exeext; then
21163 ac_cv_strings_strcasecmp=yes
21165 echo "$as_me: failed program was
:" >&5
21166 sed 's/^/| /' conftest.$ac_ext >&5
21168 ac_cv_strings_strcasecmp=no
21172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21173 conftest$ac_exeext conftest.$ac_ext
21176 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
21177 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21179 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
21180 cat >>confdefs.h <<\_ACEOF
21181 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21185 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
21186 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
21187 { (exit 1); exit 1; }; }
21195 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
21196 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
21197 if test "${ac_cv_header_stdc+set}" = set; then
21198 echo $ECHO_N "(cached
) $ECHO_C" >&6
21200 cat >conftest.$ac_ext <<_ACEOF
21203 cat confdefs.h >>conftest.$ac_ext
21204 cat >>conftest.$ac_ext <<_ACEOF
21205 /* end confdefs.h. */
21206 #include <stdlib.h>
21207 #include <stdarg.h>
21208 #include <string.h>
21219 rm -f conftest.$ac_objext
21220 if { (ac_try="$ac_compile"
21221 case "(($ac_try" in
21222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21223 *) ac_try_echo=$ac_try;;
21225 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21226 (eval "$ac_compile") 2>conftest.er1
21228 grep -v '^ *+' conftest.er1 >conftest.err
21230 cat conftest.err >&5
21231 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21232 (exit $ac_status); } && {
21233 test -z "$ac_c_werror_flag" ||
21234 test ! -s conftest.err
21235 } && test -s conftest.$ac_objext; then
21236 ac_cv_header_stdc=yes
21238 echo "$as_me: failed program was
:" >&5
21239 sed 's/^/| /' conftest.$ac_ext >&5
21241 ac_cv_header_stdc=no
21244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21246 if test $ac_cv_header_stdc = yes; then
21247 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21248 cat >conftest.$ac_ext <<_ACEOF
21251 cat confdefs.h >>conftest.$ac_ext
21252 cat >>conftest.$ac_ext <<_ACEOF
21253 /* end confdefs.h. */
21254 #include <string.h>
21257 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21258 $EGREP "memchr
" >/dev/null 2>&1; then
21261 ac_cv_header_stdc=no
21267 if test $ac_cv_header_stdc = yes; then
21268 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21269 cat >conftest.$ac_ext <<_ACEOF
21272 cat confdefs.h >>conftest.$ac_ext
21273 cat >>conftest.$ac_ext <<_ACEOF
21274 /* end confdefs.h. */
21275 #include <stdlib.h>
21278 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21279 $EGREP "free
" >/dev/null 2>&1; then
21282 ac_cv_header_stdc=no
21288 if test $ac_cv_header_stdc = yes; then
21289 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21290 if test "$cross_compiling" = yes; then
21293 cat >conftest.$ac_ext <<_ACEOF
21296 cat confdefs.h >>conftest.$ac_ext
21297 cat >>conftest.$ac_ext <<_ACEOF
21298 /* end confdefs.h. */
21300 #include <stdlib.h>
21301 #if ((' ' & 0x0FF) == 0x020)
21302 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21303 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21305 # define ISLOWER(c) \
21306 (('a' <= (c) && (c) <= 'i') \
21307 || ('j' <= (c) && (c) <= 'r') \
21308 || ('s' <= (c) && (c) <= 'z'))
21309 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21312 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21317 for (i = 0; i < 256; i++)
21318 if (XOR (islower (i), ISLOWER (i))
21319 || toupper (i) != TOUPPER (i))
21324 rm -f conftest$ac_exeext
21325 if { (ac_try="$ac_link"
21326 case "(($ac_try" in
21327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21328 *) ac_try_echo=$ac_try;;
21330 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21331 (eval "$ac_link") 2>&5
21333 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21334 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21335 { (case "(($ac_try" in
21336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21337 *) ac_try_echo=$ac_try;;
21339 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21340 (eval "$ac_try") 2>&5
21342 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21343 (exit $ac_status); }; }; then
21346 echo "$as_me: program exited with status
$ac_status" >&5
21347 echo "$as_me: failed program was
:" >&5
21348 sed 's/^/| /' conftest.$ac_ext >&5
21350 ( exit $ac_status )
21351 ac_cv_header_stdc=no
21353 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21359 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
21360 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21361 if test $ac_cv_header_stdc = yes; then
21363 cat >>confdefs.h <<\_ACEOF
21364 #define STDC_HEADERS 1
21369 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21379 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21380 inttypes.h stdint.h unistd.h
21382 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21383 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21384 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21385 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21386 echo $ECHO_N "(cached
) $ECHO_C" >&6
21388 cat >conftest.$ac_ext <<_ACEOF
21391 cat confdefs.h >>conftest.$ac_ext
21392 cat >>conftest.$ac_ext <<_ACEOF
21393 /* end confdefs.h. */
21394 $ac_includes_default
21396 #include <$ac_header>
21398 rm -f conftest.$ac_objext
21399 if { (ac_try="$ac_compile"
21400 case "(($ac_try" in
21401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21402 *) ac_try_echo=$ac_try;;
21404 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21405 (eval "$ac_compile") 2>conftest.er1
21407 grep -v '^ *+' conftest.er1 >conftest.err
21409 cat conftest.err >&5
21410 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21411 (exit $ac_status); } && {
21412 test -z "$ac_c_werror_flag" ||
21413 test ! -s conftest.err
21414 } && test -s conftest.$ac_objext; then
21415 eval "$as_ac_Header=yes"
21417 echo "$as_me: failed program was
:" >&5
21418 sed 's/^/| /' conftest.$ac_ext >&5
21420 eval "$as_ac_Header=no
"
21423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21425 ac_res=`eval echo '${'$as_ac_Header'}'`
21426 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21427 echo "${ECHO_T}$ac_res" >&6; }
21428 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21429 cat >>confdefs.h <<_ACEOF
21430 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21440 for ac_header in langinfo.h wchar.h
21442 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21443 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21444 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21445 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21446 echo $ECHO_N "(cached
) $ECHO_C" >&6
21448 cat >conftest.$ac_ext <<_ACEOF
21451 cat confdefs.h >>conftest.$ac_ext
21452 cat >>conftest.$ac_ext <<_ACEOF
21453 /* end confdefs.h. */
21454 $ac_includes_default
21456 #include <$ac_header>
21458 rm -f conftest.$ac_objext
21459 if { (ac_try="$ac_compile"
21460 case "(($ac_try" in
21461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21462 *) ac_try_echo=$ac_try;;
21464 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21465 (eval "$ac_compile") 2>conftest.er1
21467 grep -v '^ *+' conftest.er1 >conftest.err
21469 cat conftest.err >&5
21470 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21471 (exit $ac_status); } && {
21472 test -z "$ac_c_werror_flag" ||
21473 test ! -s conftest.err
21474 } && test -s conftest.$ac_objext; then
21475 eval "$as_ac_Header=yes"
21477 echo "$as_me: failed program was
:" >&5
21478 sed 's/^/| /' conftest.$ac_ext >&5
21480 eval "$as_ac_Header=no
"
21483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21485 ac_res=`eval echo '${'$as_ac_Header'}'`
21486 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21487 echo "${ECHO_T}$ac_res" >&6; }
21488 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21489 cat >>confdefs.h <<_ACEOF
21490 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21498 if test "$ac_cv_header_wchar_h" != "yes"; then
21500 for ac_header in wcstr.h
21502 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21503 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21504 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21505 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21506 echo $ECHO_N "(cached
) $ECHO_C" >&6
21508 cat >conftest.$ac_ext <<_ACEOF
21511 cat confdefs.h >>conftest.$ac_ext
21512 cat >>conftest.$ac_ext <<_ACEOF
21513 /* end confdefs.h. */
21514 $ac_includes_default
21516 #include <$ac_header>
21518 rm -f conftest.$ac_objext
21519 if { (ac_try="$ac_compile"
21520 case "(($ac_try" in
21521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21522 *) ac_try_echo=$ac_try;;
21524 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21525 (eval "$ac_compile") 2>conftest.er1
21527 grep -v '^ *+' conftest.er1 >conftest.err
21529 cat conftest.err >&5
21530 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21531 (exit $ac_status); } && {
21532 test -z "$ac_c_werror_flag" ||
21533 test ! -s conftest.err
21534 } && test -s conftest.$ac_objext; then
21535 eval "$as_ac_Header=yes"
21537 echo "$as_me: failed program was
:" >&5
21538 sed 's/^/| /' conftest.$ac_ext >&5
21540 eval "$as_ac_Header=no
"
21543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21545 ac_res=`eval echo '${'$as_ac_Header'}'`
21546 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21547 echo "${ECHO_T}$ac_res" >&6; }
21548 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21549 cat >>confdefs.h <<_ACEOF
21550 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21560 *-pc-os2_emx | *-pc-os2-emx )
21561 if test $ac_cv_header_langinfo_h = "yes" \
21562 -a \( "$wx_cv_gccversion" = "EMX2
" \
21563 -o "$wx_cv_gccversion" = "EMX3
" \
21564 -o "$wx_cv_gccversion" = "Innotek5
" \); then
21565 LIBS="$LIBS -lintl"
21570 if test "$USE_UNIX" = 1 ; then
21572 for ac_header in sys/select.h
21574 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21575 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21576 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21577 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21578 echo $ECHO_N "(cached
) $ECHO_C" >&6
21580 cat >conftest.$ac_ext <<_ACEOF
21583 cat confdefs.h >>conftest.$ac_ext
21584 cat >>conftest.$ac_ext <<_ACEOF
21585 /* end confdefs.h. */
21586 $ac_includes_default
21588 #include <$ac_header>
21590 rm -f conftest.$ac_objext
21591 if { (ac_try="$ac_compile"
21592 case "(($ac_try" in
21593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21594 *) ac_try_echo=$ac_try;;
21596 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21597 (eval "$ac_compile") 2>conftest.er1
21599 grep -v '^ *+' conftest.er1 >conftest.err
21601 cat conftest.err >&5
21602 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21603 (exit $ac_status); } && {
21604 test -z "$ac_c_werror_flag" ||
21605 test ! -s conftest.err
21606 } && test -s conftest.$ac_objext; then
21607 eval "$as_ac_Header=yes"
21609 echo "$as_me: failed program was
:" >&5
21610 sed 's/^/| /' conftest.$ac_ext >&5
21612 eval "$as_ac_Header=no
"
21615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21617 ac_res=`eval echo '${'$as_ac_Header'}'`
21618 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21619 echo "${ECHO_T}$ac_res" >&6; }
21620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21621 cat >>confdefs.h <<_ACEOF
21622 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21632 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
21633 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
21634 if test "${ac_cv_c_const+set}" = set; then
21635 echo $ECHO_N "(cached
) $ECHO_C" >&6
21637 cat >conftest.$ac_ext <<_ACEOF
21640 cat confdefs.h >>conftest.$ac_ext
21641 cat >>conftest.$ac_ext <<_ACEOF
21642 /* end confdefs.h. */
21647 /* FIXME: Include the comments suggested by Paul. */
21648 #ifndef __cplusplus
21649 /* Ultrix mips cc rejects this. */
21650 typedef int charset[2];
21652 /* SunOS 4.1.1 cc rejects this. */
21653 char const *const *pcpcc;
21655 /* NEC SVR4.0.2 mips cc rejects this. */
21656 struct point {int x, y;};
21657 static struct point const zero = {0,0};
21658 /* AIX XL C 1.02.0.0 rejects this.
21659 It does not let you subtract one const X* pointer from another in
21660 an arm of an if-expression whose if-part is not a constant
21662 const char *g = "string
";
21663 pcpcc = &g + (g ? g-g : 0);
21664 /* HPUX 7.0 cc rejects these. */
21666 ppc = (char**) pcpcc;
21667 pcpcc = (char const *const *) ppc;
21668 { /* SCO 3.2v4 cc rejects this. */
21670 char const *s = 0 ? (char *) 0 : (char const *) 0;
21675 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21676 int x[] = {25, 17};
21677 const int *foo = &x[0];
21680 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21681 typedef const int *iptr;
21685 { /* AIX XL C 1.02.0.0 rejects this saying
21686 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21687 struct s { int j; const int *ap[3]; };
21688 struct s *b; b->j = 5;
21690 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21691 const int foo = 10;
21692 if (!foo) return 0;
21694 return !cs[0] && !zero.x;
21701 rm -f conftest.$ac_objext
21702 if { (ac_try="$ac_compile"
21703 case "(($ac_try" in
21704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21705 *) ac_try_echo=$ac_try;;
21707 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21708 (eval "$ac_compile") 2>conftest.er1
21710 grep -v '^ *+' conftest.er1 >conftest.err
21712 cat conftest.err >&5
21713 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21714 (exit $ac_status); } && {
21715 test -z "$ac_c_werror_flag" ||
21716 test ! -s conftest.err
21717 } && test -s conftest.$ac_objext; then
21720 echo "$as_me: failed program was
:" >&5
21721 sed 's/^/| /' conftest.$ac_ext >&5
21726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21728 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
21729 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21730 if test $ac_cv_c_const = no; then
21732 cat >>confdefs.h <<\_ACEOF
21738 { echo "$as_me:$LINENO: checking
for inline
" >&5
21739 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
21740 if test "${ac_cv_c_inline+set}" = set; then
21741 echo $ECHO_N "(cached
) $ECHO_C" >&6
21744 for ac_kw in inline __inline__ __inline; do
21745 cat >conftest.$ac_ext <<_ACEOF
21748 cat confdefs.h >>conftest.$ac_ext
21749 cat >>conftest.$ac_ext <<_ACEOF
21750 /* end confdefs.h. */
21751 #ifndef __cplusplus
21753 static $ac_kw foo_t static_foo () {return 0; }
21754 $ac_kw foo_t foo () {return 0; }
21758 rm -f conftest.$ac_objext
21759 if { (ac_try="$ac_compile"
21760 case "(($ac_try" in
21761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21762 *) ac_try_echo=$ac_try;;
21764 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21765 (eval "$ac_compile") 2>conftest.er1
21767 grep -v '^ *+' conftest.er1 >conftest.err
21769 cat conftest.err >&5
21770 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21771 (exit $ac_status); } && {
21772 test -z "$ac_c_werror_flag" ||
21773 test ! -s conftest.err
21774 } && test -s conftest.$ac_objext; then
21775 ac_cv_c_inline=$ac_kw
21777 echo "$as_me: failed program was
:" >&5
21778 sed 's/^/| /' conftest.$ac_ext >&5
21783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21784 test "$ac_cv_c_inline" != no && break
21788 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
21789 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21792 case $ac_cv_c_inline in
21795 case $ac_cv_c_inline in
21797 *) ac_val=$ac_cv_c_inline;;
21799 cat >>confdefs.h <<_ACEOF
21800 #ifndef __cplusplus
21801 #define inline $ac_val
21808 { echo "$as_me:$LINENO: checking
for short
" >&5
21809 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
21810 if test "${ac_cv_type_short+set}" = set; then
21811 echo $ECHO_N "(cached
) $ECHO_C" >&6
21813 cat >conftest.$ac_ext <<_ACEOF
21816 cat confdefs.h >>conftest.$ac_ext
21817 cat >>conftest.$ac_ext <<_ACEOF
21818 /* end confdefs.h. */
21819 $ac_includes_default
21820 typedef short ac__type_new_;
21824 if ((ac__type_new_ *) 0)
21826 if (sizeof (ac__type_new_))
21832 rm -f conftest.$ac_objext
21833 if { (ac_try="$ac_compile"
21834 case "(($ac_try" in
21835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21836 *) ac_try_echo=$ac_try;;
21838 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21839 (eval "$ac_compile") 2>conftest.er1
21841 grep -v '^ *+' conftest.er1 >conftest.err
21843 cat conftest.err >&5
21844 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21845 (exit $ac_status); } && {
21846 test -z "$ac_c_werror_flag" ||
21847 test ! -s conftest.err
21848 } && test -s conftest.$ac_objext; then
21849 ac_cv_type_short=yes
21851 echo "$as_me: failed program was
:" >&5
21852 sed 's/^/| /' conftest.$ac_ext >&5
21854 ac_cv_type_short=no
21857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21859 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
21860 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21862 # The cast to long int works around a bug in the HP C Compiler
21863 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21864 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21865 # This bug is HP SR number 8606223364.
21866 { echo "$as_me:$LINENO: checking size of short
" >&5
21867 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
21868 if test "${ac_cv_sizeof_short+set}" = set; then
21869 echo $ECHO_N "(cached
) $ECHO_C" >&6
21871 if test "$cross_compiling" = yes; then
21872 # Depending upon the size, compute the lo and hi bounds.
21873 cat >conftest.$ac_ext <<_ACEOF
21876 cat confdefs.h >>conftest.$ac_ext
21877 cat >>conftest.$ac_ext <<_ACEOF
21878 /* end confdefs.h. */
21879 $ac_includes_default
21880 typedef short ac__type_sizeof_;
21884 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21891 rm -f conftest.$ac_objext
21892 if { (ac_try="$ac_compile"
21893 case "(($ac_try" in
21894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21895 *) ac_try_echo=$ac_try;;
21897 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21898 (eval "$ac_compile") 2>conftest.er1
21900 grep -v '^ *+' conftest.er1 >conftest.err
21902 cat conftest.err >&5
21903 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21904 (exit $ac_status); } && {
21905 test -z "$ac_c_werror_flag" ||
21906 test ! -s conftest.err
21907 } && test -s conftest.$ac_objext; then
21910 cat >conftest.$ac_ext <<_ACEOF
21913 cat confdefs.h >>conftest.$ac_ext
21914 cat >>conftest.$ac_ext <<_ACEOF
21915 /* end confdefs.h. */
21916 $ac_includes_default
21917 typedef short ac__type_sizeof_;
21921 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21928 rm -f conftest.$ac_objext
21929 if { (ac_try="$ac_compile"
21930 case "(($ac_try" in
21931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21932 *) ac_try_echo=$ac_try;;
21934 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21935 (eval "$ac_compile") 2>conftest.er1
21937 grep -v '^ *+' conftest.er1 >conftest.err
21939 cat conftest.err >&5
21940 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21941 (exit $ac_status); } && {
21942 test -z "$ac_c_werror_flag" ||
21943 test ! -s conftest.err
21944 } && test -s conftest.$ac_objext; then
21945 ac_hi=$ac_mid; break
21947 echo "$as_me: failed program was
:" >&5
21948 sed 's/^/| /' conftest.$ac_ext >&5
21950 ac_lo=`expr $ac_mid + 1`
21951 if test $ac_lo -le $ac_mid; then
21955 ac_mid=`expr 2 '*' $ac_mid + 1`
21958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21961 echo "$as_me: failed program was
:" >&5
21962 sed 's/^/| /' conftest.$ac_ext >&5
21964 cat >conftest.$ac_ext <<_ACEOF
21967 cat confdefs.h >>conftest.$ac_ext
21968 cat >>conftest.$ac_ext <<_ACEOF
21969 /* end confdefs.h. */
21970 $ac_includes_default
21971 typedef short ac__type_sizeof_;
21975 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21982 rm -f conftest.$ac_objext
21983 if { (ac_try="$ac_compile"
21984 case "(($ac_try" in
21985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21986 *) ac_try_echo=$ac_try;;
21988 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21989 (eval "$ac_compile") 2>conftest.er1
21991 grep -v '^ *+' conftest.er1 >conftest.err
21993 cat conftest.err >&5
21994 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21995 (exit $ac_status); } && {
21996 test -z "$ac_c_werror_flag" ||
21997 test ! -s conftest.err
21998 } && test -s conftest.$ac_objext; then
22001 cat >conftest.$ac_ext <<_ACEOF
22004 cat confdefs.h >>conftest.$ac_ext
22005 cat >>conftest.$ac_ext <<_ACEOF
22006 /* end confdefs.h. */
22007 $ac_includes_default
22008 typedef short ac__type_sizeof_;
22012 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22019 rm -f conftest.$ac_objext
22020 if { (ac_try="$ac_compile"
22021 case "(($ac_try" in
22022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22023 *) ac_try_echo=$ac_try;;
22025 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22026 (eval "$ac_compile") 2>conftest.er1
22028 grep -v '^ *+' conftest.er1 >conftest.err
22030 cat conftest.err >&5
22031 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22032 (exit $ac_status); } && {
22033 test -z "$ac_c_werror_flag" ||
22034 test ! -s conftest.err
22035 } && test -s conftest.$ac_objext; then
22036 ac_lo=$ac_mid; break
22038 echo "$as_me: failed program was
:" >&5
22039 sed 's/^/| /' conftest.$ac_ext >&5
22041 ac_hi=`expr '(' $ac_mid ')' - 1`
22042 if test $ac_mid -le $ac_hi; then
22046 ac_mid=`expr 2 '*' $ac_mid`
22049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22052 echo "$as_me: failed program was
:" >&5
22053 sed 's/^/| /' conftest.$ac_ext >&5
22058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22062 # Binary search between lo and hi bounds.
22063 while test "x
$ac_lo" != "x
$ac_hi"; do
22064 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22065 cat >conftest.$ac_ext <<_ACEOF
22068 cat confdefs.h >>conftest.$ac_ext
22069 cat >>conftest.$ac_ext <<_ACEOF
22070 /* end confdefs.h. */
22071 $ac_includes_default
22072 typedef short ac__type_sizeof_;
22076 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22083 rm -f conftest.$ac_objext
22084 if { (ac_try="$ac_compile"
22085 case "(($ac_try" in
22086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22087 *) ac_try_echo=$ac_try;;
22089 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22090 (eval "$ac_compile") 2>conftest.er1
22092 grep -v '^ *+' conftest.er1 >conftest.err
22094 cat conftest.err >&5
22095 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22096 (exit $ac_status); } && {
22097 test -z "$ac_c_werror_flag" ||
22098 test ! -s conftest.err
22099 } && test -s conftest.$ac_objext; then
22102 echo "$as_me: failed program was
:" >&5
22103 sed 's/^/| /' conftest.$ac_ext >&5
22105 ac_lo=`expr '(' $ac_mid ')' + 1`
22108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22111 ?*) ac_cv_sizeof_short=$ac_lo;;
22112 '') if test "$ac_cv_type_short" = yes; then
22113 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
22114 See \
`config.log' for more details." >&5
22115 echo "$as_me: error: cannot compute sizeof (short)
22116 See \`config.log
' for more details." >&2;}
22117 { (exit 77); exit 77; }; }
22119 ac_cv_sizeof_short=0
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_;
22131 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22132 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22134 #include <stdlib.h>
22139 FILE *f = fopen ("conftest.val", "w");
22142 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22144 long int i = longval ();
22145 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22147 fprintf (f, "%ld\n", i);
22151 unsigned long int i = ulongval ();
22152 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22154 fprintf (f, "%lu\n", i);
22156 return ferror (f) || fclose (f) != 0;
22162 rm -f conftest$ac_exeext
22163 if { (ac_try="$ac_link"
22164 case "(($ac_try" in
22165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22166 *) ac_try_echo=$ac_try;;
22168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22169 (eval "$ac_link") 2>&5
22171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22172 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22173 { (case "(($ac_try" in
22174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22175 *) ac_try_echo=$ac_try;;
22177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22178 (eval "$ac_try") 2>&5
22180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22181 (exit $ac_status); }; }; then
22182 ac_cv_sizeof_short=`cat conftest.val`
22184 echo "$as_me: program exited with status $ac_status" >&5
22185 echo "$as_me: failed program was:" >&5
22186 sed 's
/^
/| /' conftest.$ac_ext >&5
22188 ( exit $ac_status )
22189 if test "$ac_cv_type_short" = yes; then
22190 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22191 See \`config.log' for more details.
" >&5
22192 echo "$as_me: error
: cannot compute sizeof
(short
)
22193 See \
`config.log' for more details." >&2;}
22194 { (exit 77); exit 77; }; }
22196 ac_cv_sizeof_short=0
22199 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22203 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22204 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22208 cat >>confdefs.h <<_ACEOF
22209 #define SIZEOF_SHORT $ac_cv_sizeof_short
22213 { echo "$as_me:$LINENO: checking for void *" >&5
22214 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22215 if test "${ac_cv_type_void_p+set}" = set; then
22216 echo $ECHO_N "(cached) $ECHO_C" >&6
22218 cat >conftest.$ac_ext <<_ACEOF
22221 cat confdefs.h >>conftest.$ac_ext
22222 cat >>conftest.$ac_ext <<_ACEOF
22223 /* end confdefs.h. */
22224 $ac_includes_default
22225 typedef void * ac__type_new_;
22229 if ((ac__type_new_ *) 0)
22231 if (sizeof (ac__type_new_))
22237 rm -f conftest.$ac_objext
22238 if { (ac_try="$ac_compile"
22239 case "(($ac_try" in
22240 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22241 *) ac_try_echo
=$ac_try;;
22243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22244 (eval "$ac_compile") 2>conftest.er1
22246 grep -v '^ *+' conftest.er1
>conftest.err
22248 cat conftest.err
>&5
22249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22250 (exit $ac_status); } && {
22251 test -z "$ac_c_werror_flag" ||
22252 test ! -s conftest.err
22253 } && test -s conftest.
$ac_objext; then
22254 ac_cv_type_void_p
=yes
22256 echo "$as_me: failed program was:" >&5
22257 sed 's/^/| /' conftest.
$ac_ext >&5
22259 ac_cv_type_void_p
=no
22262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22264 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22265 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22267 # The cast to long int works around a bug in the HP C Compiler
22268 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22269 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22270 # This bug is HP SR number 8606223364.
22271 { echo "$as_me:$LINENO: checking size of void *" >&5
22272 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22273 if test "${ac_cv_sizeof_void_p+set}" = set; then
22274 echo $ECHO_N "(cached) $ECHO_C" >&6
22276 if test "$cross_compiling" = yes; then
22277 # Depending upon the size, compute the lo and hi bounds.
22278 cat >conftest.
$ac_ext <<_ACEOF
22281 cat confdefs.h
>>conftest.
$ac_ext
22282 cat >>conftest.
$ac_ext <<_ACEOF
22283 /* end confdefs.h. */
22284 $ac_includes_default
22285 typedef void * ac__type_sizeof_;
22289 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22296 rm -f conftest.
$ac_objext
22297 if { (ac_try
="$ac_compile"
22298 case "(($ac_try" in
22299 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22300 *) ac_try_echo=$ac_try;;
22302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22303 (eval "$ac_compile") 2>conftest.er1
22305 grep -v '^ *+' conftest.er1 >conftest.err
22307 cat conftest.err >&5
22308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22309 (exit $ac_status); } && {
22310 test -z "$ac_c_werror_flag" ||
22311 test ! -s conftest.err
22312 } && test -s conftest.$ac_objext; then
22315 cat >conftest.$ac_ext <<_ACEOF
22318 cat confdefs.h >>conftest.$ac_ext
22319 cat >>conftest.$ac_ext <<_ACEOF
22320 /* end confdefs.h. */
22321 $ac_includes_default
22322 typedef void * ac__type_sizeof_;
22326 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22333 rm -f conftest.$ac_objext
22334 if { (ac_try="$ac_compile"
22335 case "(($ac_try" in
22336 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22337 *) ac_try_echo
=$ac_try;;
22339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22340 (eval "$ac_compile") 2>conftest.er1
22342 grep -v '^ *+' conftest.er1
>conftest.err
22344 cat conftest.err
>&5
22345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346 (exit $ac_status); } && {
22347 test -z "$ac_c_werror_flag" ||
22348 test ! -s conftest.err
22349 } && test -s conftest.
$ac_objext; then
22350 ac_hi
=$ac_mid; break
22352 echo "$as_me: failed program was:" >&5
22353 sed 's/^/| /' conftest.
$ac_ext >&5
22355 ac_lo
=`expr $ac_mid + 1`
22356 if test $ac_lo -le $ac_mid; then
22360 ac_mid
=`expr 2 '*' $ac_mid + 1`
22363 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22366 echo "$as_me: failed program was:" >&5
22367 sed 's/^/| /' conftest.
$ac_ext >&5
22369 cat >conftest.
$ac_ext <<_ACEOF
22372 cat confdefs.h
>>conftest.
$ac_ext
22373 cat >>conftest.
$ac_ext <<_ACEOF
22374 /* end confdefs.h. */
22375 $ac_includes_default
22376 typedef void * ac__type_sizeof_;
22380 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22387 rm -f conftest.
$ac_objext
22388 if { (ac_try
="$ac_compile"
22389 case "(($ac_try" in
22390 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22391 *) ac_try_echo=$ac_try;;
22393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22394 (eval "$ac_compile") 2>conftest.er1
22396 grep -v '^ *+' conftest.er1 >conftest.err
22398 cat conftest.err >&5
22399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22400 (exit $ac_status); } && {
22401 test -z "$ac_c_werror_flag" ||
22402 test ! -s conftest.err
22403 } && test -s conftest.$ac_objext; then
22406 cat >conftest.$ac_ext <<_ACEOF
22409 cat confdefs.h >>conftest.$ac_ext
22410 cat >>conftest.$ac_ext <<_ACEOF
22411 /* end confdefs.h. */
22412 $ac_includes_default
22413 typedef void * ac__type_sizeof_;
22417 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22424 rm -f conftest.$ac_objext
22425 if { (ac_try="$ac_compile"
22426 case "(($ac_try" in
22427 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22428 *) ac_try_echo
=$ac_try;;
22430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22431 (eval "$ac_compile") 2>conftest.er1
22433 grep -v '^ *+' conftest.er1
>conftest.err
22435 cat conftest.err
>&5
22436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22437 (exit $ac_status); } && {
22438 test -z "$ac_c_werror_flag" ||
22439 test ! -s conftest.err
22440 } && test -s conftest.
$ac_objext; then
22441 ac_lo
=$ac_mid; break
22443 echo "$as_me: failed program was:" >&5
22444 sed 's/^/| /' conftest.
$ac_ext >&5
22446 ac_hi
=`expr '(' $ac_mid ')' - 1`
22447 if test $ac_mid -le $ac_hi; then
22451 ac_mid
=`expr 2 '*' $ac_mid`
22454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22457 echo "$as_me: failed program was:" >&5
22458 sed 's/^/| /' conftest.
$ac_ext >&5
22463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22467 # Binary search between lo and hi bounds.
22468 while test "x$ac_lo" != "x$ac_hi"; do
22469 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22470 cat >conftest.
$ac_ext <<_ACEOF
22473 cat confdefs.h
>>conftest.
$ac_ext
22474 cat >>conftest.
$ac_ext <<_ACEOF
22475 /* end confdefs.h. */
22476 $ac_includes_default
22477 typedef void * ac__type_sizeof_;
22481 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22488 rm -f conftest.
$ac_objext
22489 if { (ac_try
="$ac_compile"
22490 case "(($ac_try" in
22491 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22492 *) ac_try_echo=$ac_try;;
22494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22495 (eval "$ac_compile") 2>conftest.er1
22497 grep -v '^ *+' conftest.er1 >conftest.err
22499 cat conftest.err >&5
22500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22501 (exit $ac_status); } && {
22502 test -z "$ac_c_werror_flag" ||
22503 test ! -s conftest.err
22504 } && test -s conftest.$ac_objext; then
22507 echo "$as_me: failed program was:" >&5
22508 sed 's/^/| /' conftest.$ac_ext >&5
22510 ac_lo=`expr '(' $ac_mid ')' + 1`
22513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22516 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22517 '') if test "$ac_cv_type_void_p" = yes; then
22518 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22519 See \`config.log
' for more details." >&5
22520 echo "$as_me: error: cannot compute sizeof (void *)
22521 See \`config.log' for more details.
" >&2;}
22522 { (exit 77); exit 77; }; }
22524 ac_cv_sizeof_void_p=0
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_;
22536 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22537 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22539 #include <stdlib.h>
22544 FILE *f = fopen ("conftest.val
", "w
");
22547 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22549 long int i = longval ();
22550 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22552 fprintf (f, "%ld
\n", i);
22556 unsigned long int i = ulongval ();
22557 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22559 fprintf (f, "%lu
\n", i);
22561 return ferror (f) || fclose (f) != 0;
22567 rm -f conftest$ac_exeext
22568 if { (ac_try="$ac_link"
22569 case "(($ac_try" in
22570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22571 *) ac_try_echo=$ac_try;;
22573 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22574 (eval "$ac_link") 2>&5
22576 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22577 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22578 { (case "(($ac_try" in
22579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22580 *) ac_try_echo=$ac_try;;
22582 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22583 (eval "$ac_try") 2>&5
22585 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22586 (exit $ac_status); }; }; then
22587 ac_cv_sizeof_void_p=`cat conftest.val`
22589 echo "$as_me: program exited with status
$ac_status" >&5
22590 echo "$as_me: failed program was
:" >&5
22591 sed 's/^/| /' conftest.$ac_ext >&5
22593 ( exit $ac_status )
22594 if test "$ac_cv_type_void_p" = yes; then
22595 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
22596 See \
`config.log' for more details." >&5
22597 echo "$as_me: error: cannot compute sizeof (void *)
22598 See \`config.log
' for more details." >&2;}
22599 { (exit 77); exit 77; }; }
22601 ac_cv_sizeof_void_p=0
22604 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22608 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22609 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22613 cat >>confdefs.h <<_ACEOF
22614 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22618 { echo "$as_me:$LINENO: checking for int" >&5
22619 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22620 if test "${ac_cv_type_int+set}" = set; then
22621 echo $ECHO_N "(cached) $ECHO_C" >&6
22623 cat >conftest.$ac_ext <<_ACEOF
22626 cat confdefs.h >>conftest.$ac_ext
22627 cat >>conftest.$ac_ext <<_ACEOF
22628 /* end confdefs.h. */
22629 $ac_includes_default
22630 typedef int ac__type_new_;
22634 if ((ac__type_new_ *) 0)
22636 if (sizeof (ac__type_new_))
22642 rm -f conftest.$ac_objext
22643 if { (ac_try="$ac_compile"
22644 case "(($ac_try" in
22645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22646 *) ac_try_echo=$ac_try;;
22648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22649 (eval "$ac_compile") 2>conftest.er1
22651 grep -v '^
*+' conftest.er1 >conftest.err
22653 cat conftest.err >&5
22654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22655 (exit $ac_status); } && {
22656 test -z "$ac_c_werror_flag" ||
22657 test ! -s conftest.err
22658 } && test -s conftest.$ac_objext; then
22661 echo "$as_me: failed program was:" >&5
22662 sed 's
/^
/| /' conftest.$ac_ext >&5
22667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22669 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22670 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22672 # The cast to long int works around a bug in the HP C Compiler
22673 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22674 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22675 # This bug is HP SR number 8606223364.
22676 { echo "$as_me:$LINENO: checking size of int" >&5
22677 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22678 if test "${ac_cv_sizeof_int+set}" = set; then
22679 echo $ECHO_N "(cached) $ECHO_C" >&6
22681 if test "$cross_compiling" = yes; then
22682 # Depending upon the size, compute the lo and hi bounds.
22683 cat >conftest.
$ac_ext <<_ACEOF
22686 cat confdefs.h
>>conftest.
$ac_ext
22687 cat >>conftest.
$ac_ext <<_ACEOF
22688 /* end confdefs.h. */
22689 $ac_includes_default
22690 typedef int ac__type_sizeof_;
22694 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22701 rm -f conftest.
$ac_objext
22702 if { (ac_try
="$ac_compile"
22703 case "(($ac_try" in
22704 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22705 *) ac_try_echo=$ac_try;;
22707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22708 (eval "$ac_compile") 2>conftest.er1
22710 grep -v '^ *+' conftest.er1 >conftest.err
22712 cat conftest.err >&5
22713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22714 (exit $ac_status); } && {
22715 test -z "$ac_c_werror_flag" ||
22716 test ! -s conftest.err
22717 } && test -s conftest.$ac_objext; then
22720 cat >conftest.$ac_ext <<_ACEOF
22723 cat confdefs.h >>conftest.$ac_ext
22724 cat >>conftest.$ac_ext <<_ACEOF
22725 /* end confdefs.h. */
22726 $ac_includes_default
22727 typedef int ac__type_sizeof_;
22731 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22738 rm -f conftest.$ac_objext
22739 if { (ac_try="$ac_compile"
22740 case "(($ac_try" in
22741 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22742 *) ac_try_echo
=$ac_try;;
22744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22745 (eval "$ac_compile") 2>conftest.er1
22747 grep -v '^ *+' conftest.er1
>conftest.err
22749 cat conftest.err
>&5
22750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22751 (exit $ac_status); } && {
22752 test -z "$ac_c_werror_flag" ||
22753 test ! -s conftest.err
22754 } && test -s conftest.
$ac_objext; then
22755 ac_hi
=$ac_mid; break
22757 echo "$as_me: failed program was:" >&5
22758 sed 's/^/| /' conftest.
$ac_ext >&5
22760 ac_lo
=`expr $ac_mid + 1`
22761 if test $ac_lo -le $ac_mid; then
22765 ac_mid
=`expr 2 '*' $ac_mid + 1`
22768 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22771 echo "$as_me: failed program was:" >&5
22772 sed 's/^/| /' conftest.
$ac_ext >&5
22774 cat >conftest.
$ac_ext <<_ACEOF
22777 cat confdefs.h
>>conftest.
$ac_ext
22778 cat >>conftest.
$ac_ext <<_ACEOF
22779 /* end confdefs.h. */
22780 $ac_includes_default
22781 typedef int ac__type_sizeof_;
22785 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22792 rm -f conftest.
$ac_objext
22793 if { (ac_try
="$ac_compile"
22794 case "(($ac_try" in
22795 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22796 *) ac_try_echo=$ac_try;;
22798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22799 (eval "$ac_compile") 2>conftest.er1
22801 grep -v '^ *+' conftest.er1 >conftest.err
22803 cat conftest.err >&5
22804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22805 (exit $ac_status); } && {
22806 test -z "$ac_c_werror_flag" ||
22807 test ! -s conftest.err
22808 } && test -s conftest.$ac_objext; then
22811 cat >conftest.$ac_ext <<_ACEOF
22814 cat confdefs.h >>conftest.$ac_ext
22815 cat >>conftest.$ac_ext <<_ACEOF
22816 /* end confdefs.h. */
22817 $ac_includes_default
22818 typedef int ac__type_sizeof_;
22822 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22829 rm -f conftest.$ac_objext
22830 if { (ac_try="$ac_compile"
22831 case "(($ac_try" in
22832 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22833 *) ac_try_echo
=$ac_try;;
22835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22836 (eval "$ac_compile") 2>conftest.er1
22838 grep -v '^ *+' conftest.er1
>conftest.err
22840 cat conftest.err
>&5
22841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22842 (exit $ac_status); } && {
22843 test -z "$ac_c_werror_flag" ||
22844 test ! -s conftest.err
22845 } && test -s conftest.
$ac_objext; then
22846 ac_lo
=$ac_mid; break
22848 echo "$as_me: failed program was:" >&5
22849 sed 's/^/| /' conftest.
$ac_ext >&5
22851 ac_hi
=`expr '(' $ac_mid ')' - 1`
22852 if test $ac_mid -le $ac_hi; then
22856 ac_mid
=`expr 2 '*' $ac_mid`
22859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22862 echo "$as_me: failed program was:" >&5
22863 sed 's/^/| /' conftest.
$ac_ext >&5
22868 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22871 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22872 # Binary search between lo and hi bounds.
22873 while test "x$ac_lo" != "x$ac_hi"; do
22874 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22875 cat >conftest.
$ac_ext <<_ACEOF
22878 cat confdefs.h
>>conftest.
$ac_ext
22879 cat >>conftest.
$ac_ext <<_ACEOF
22880 /* end confdefs.h. */
22881 $ac_includes_default
22882 typedef int ac__type_sizeof_;
22886 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22893 rm -f conftest.
$ac_objext
22894 if { (ac_try
="$ac_compile"
22895 case "(($ac_try" in
22896 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22897 *) ac_try_echo=$ac_try;;
22899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22900 (eval "$ac_compile") 2>conftest.er1
22902 grep -v '^ *+' conftest.er1 >conftest.err
22904 cat conftest.err >&5
22905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22906 (exit $ac_status); } && {
22907 test -z "$ac_c_werror_flag" ||
22908 test ! -s conftest.err
22909 } && test -s conftest.$ac_objext; then
22912 echo "$as_me: failed program was:" >&5
22913 sed 's/^/| /' conftest.$ac_ext >&5
22915 ac_lo=`expr '(' $ac_mid ')' + 1`
22918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22921 ?*) ac_cv_sizeof_int=$ac_lo;;
22922 '') if test "$ac_cv_type_int" = yes; then
22923 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22924 See \`config.log
' for more details." >&5
22925 echo "$as_me: error: cannot compute sizeof (int)
22926 See \`config.log' for more details.
" >&2;}
22927 { (exit 77); exit 77; }; }
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_;
22941 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22942 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22944 #include <stdlib.h>
22949 FILE *f = fopen ("conftest.val
", "w
");
22952 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22954 long int i = longval ();
22955 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22957 fprintf (f, "%ld
\n", i);
22961 unsigned long int i = ulongval ();
22962 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22964 fprintf (f, "%lu
\n", i);
22966 return ferror (f) || fclose (f) != 0;
22972 rm -f conftest$ac_exeext
22973 if { (ac_try="$ac_link"
22974 case "(($ac_try" in
22975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22976 *) ac_try_echo=$ac_try;;
22978 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22979 (eval "$ac_link") 2>&5
22981 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22982 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22983 { (case "(($ac_try" in
22984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22985 *) ac_try_echo=$ac_try;;
22987 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22988 (eval "$ac_try") 2>&5
22990 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22991 (exit $ac_status); }; }; then
22992 ac_cv_sizeof_int=`cat conftest.val`
22994 echo "$as_me: program exited with status
$ac_status" >&5
22995 echo "$as_me: failed program was
:" >&5
22996 sed 's/^/| /' conftest.$ac_ext >&5
22998 ( exit $ac_status )
22999 if test "$ac_cv_type_int" = yes; then
23000 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
23001 See \
`config.log' for more details." >&5
23002 echo "$as_me: error: cannot compute sizeof (int)
23003 See \`config.log
' for more details." >&2;}
23004 { (exit 77); exit 77; }; }
23009 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23013 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
23014 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
23018 cat >>confdefs.h <<_ACEOF
23019 #define SIZEOF_INT $ac_cv_sizeof_int
23023 { echo "$as_me:$LINENO: checking for long" >&5
23024 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
23025 if test "${ac_cv_type_long+set}" = set; then
23026 echo $ECHO_N "(cached) $ECHO_C" >&6
23028 cat >conftest.$ac_ext <<_ACEOF
23031 cat confdefs.h >>conftest.$ac_ext
23032 cat >>conftest.$ac_ext <<_ACEOF
23033 /* end confdefs.h. */
23034 $ac_includes_default
23035 typedef long ac__type_new_;
23039 if ((ac__type_new_ *) 0)
23041 if (sizeof (ac__type_new_))
23047 rm -f conftest.$ac_objext
23048 if { (ac_try="$ac_compile"
23049 case "(($ac_try" in
23050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23051 *) ac_try_echo=$ac_try;;
23053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23054 (eval "$ac_compile") 2>conftest.er1
23056 grep -v '^
*+' conftest.er1 >conftest.err
23058 cat conftest.err >&5
23059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23060 (exit $ac_status); } && {
23061 test -z "$ac_c_werror_flag" ||
23062 test ! -s conftest.err
23063 } && test -s conftest.$ac_objext; then
23064 ac_cv_type_long=yes
23066 echo "$as_me: failed program was:" >&5
23067 sed 's
/^
/| /' conftest.$ac_ext >&5
23072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23074 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23075 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23077 # The cast to long int works around a bug in the HP C Compiler
23078 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23079 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23080 # This bug is HP SR number 8606223364.
23081 { echo "$as_me:$LINENO: checking size of long" >&5
23082 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23083 if test "${ac_cv_sizeof_long+set}" = set; then
23084 echo $ECHO_N "(cached) $ECHO_C" >&6
23086 if test "$cross_compiling" = yes; then
23087 # Depending upon the size, compute the lo and hi bounds.
23088 cat >conftest.
$ac_ext <<_ACEOF
23091 cat confdefs.h
>>conftest.
$ac_ext
23092 cat >>conftest.
$ac_ext <<_ACEOF
23093 /* end confdefs.h. */
23094 $ac_includes_default
23095 typedef long ac__type_sizeof_;
23099 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23106 rm -f conftest.
$ac_objext
23107 if { (ac_try
="$ac_compile"
23108 case "(($ac_try" in
23109 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23110 *) ac_try_echo=$ac_try;;
23112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23113 (eval "$ac_compile") 2>conftest.er1
23115 grep -v '^ *+' conftest.er1 >conftest.err
23117 cat conftest.err >&5
23118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23119 (exit $ac_status); } && {
23120 test -z "$ac_c_werror_flag" ||
23121 test ! -s conftest.err
23122 } && test -s conftest.$ac_objext; then
23125 cat >conftest.$ac_ext <<_ACEOF
23128 cat confdefs.h >>conftest.$ac_ext
23129 cat >>conftest.$ac_ext <<_ACEOF
23130 /* end confdefs.h. */
23131 $ac_includes_default
23132 typedef long ac__type_sizeof_;
23136 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23143 rm -f conftest.$ac_objext
23144 if { (ac_try="$ac_compile"
23145 case "(($ac_try" in
23146 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23147 *) ac_try_echo
=$ac_try;;
23149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23150 (eval "$ac_compile") 2>conftest.er1
23152 grep -v '^ *+' conftest.er1
>conftest.err
23154 cat conftest.err
>&5
23155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23156 (exit $ac_status); } && {
23157 test -z "$ac_c_werror_flag" ||
23158 test ! -s conftest.err
23159 } && test -s conftest.
$ac_objext; then
23160 ac_hi
=$ac_mid; break
23162 echo "$as_me: failed program was:" >&5
23163 sed 's/^/| /' conftest.
$ac_ext >&5
23165 ac_lo
=`expr $ac_mid + 1`
23166 if test $ac_lo -le $ac_mid; then
23170 ac_mid
=`expr 2 '*' $ac_mid + 1`
23173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23176 echo "$as_me: failed program was:" >&5
23177 sed 's/^/| /' conftest.
$ac_ext >&5
23179 cat >conftest.
$ac_ext <<_ACEOF
23182 cat confdefs.h
>>conftest.
$ac_ext
23183 cat >>conftest.
$ac_ext <<_ACEOF
23184 /* end confdefs.h. */
23185 $ac_includes_default
23186 typedef long ac__type_sizeof_;
23190 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23197 rm -f conftest.
$ac_objext
23198 if { (ac_try
="$ac_compile"
23199 case "(($ac_try" in
23200 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23201 *) ac_try_echo=$ac_try;;
23203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23204 (eval "$ac_compile") 2>conftest.er1
23206 grep -v '^ *+' conftest.er1 >conftest.err
23208 cat conftest.err >&5
23209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23210 (exit $ac_status); } && {
23211 test -z "$ac_c_werror_flag" ||
23212 test ! -s conftest.err
23213 } && test -s conftest.$ac_objext; then
23216 cat >conftest.$ac_ext <<_ACEOF
23219 cat confdefs.h >>conftest.$ac_ext
23220 cat >>conftest.$ac_ext <<_ACEOF
23221 /* end confdefs.h. */
23222 $ac_includes_default
23223 typedef long ac__type_sizeof_;
23227 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23234 rm -f conftest.$ac_objext
23235 if { (ac_try="$ac_compile"
23236 case "(($ac_try" in
23237 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23238 *) ac_try_echo
=$ac_try;;
23240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23241 (eval "$ac_compile") 2>conftest.er1
23243 grep -v '^ *+' conftest.er1
>conftest.err
23245 cat conftest.err
>&5
23246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247 (exit $ac_status); } && {
23248 test -z "$ac_c_werror_flag" ||
23249 test ! -s conftest.err
23250 } && test -s conftest.
$ac_objext; then
23251 ac_lo
=$ac_mid; break
23253 echo "$as_me: failed program was:" >&5
23254 sed 's/^/| /' conftest.
$ac_ext >&5
23256 ac_hi
=`expr '(' $ac_mid ')' - 1`
23257 if test $ac_mid -le $ac_hi; then
23261 ac_mid
=`expr 2 '*' $ac_mid`
23264 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23267 echo "$as_me: failed program was:" >&5
23268 sed 's/^/| /' conftest.
$ac_ext >&5
23273 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23277 # Binary search between lo and hi bounds.
23278 while test "x$ac_lo" != "x$ac_hi"; do
23279 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23280 cat >conftest.
$ac_ext <<_ACEOF
23283 cat confdefs.h
>>conftest.
$ac_ext
23284 cat >>conftest.
$ac_ext <<_ACEOF
23285 /* end confdefs.h. */
23286 $ac_includes_default
23287 typedef long ac__type_sizeof_;
23291 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23298 rm -f conftest.
$ac_objext
23299 if { (ac_try
="$ac_compile"
23300 case "(($ac_try" in
23301 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23302 *) ac_try_echo=$ac_try;;
23304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23305 (eval "$ac_compile") 2>conftest.er1
23307 grep -v '^ *+' conftest.er1 >conftest.err
23309 cat conftest.err >&5
23310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311 (exit $ac_status); } && {
23312 test -z "$ac_c_werror_flag" ||
23313 test ! -s conftest.err
23314 } && test -s conftest.$ac_objext; then
23317 echo "$as_me: failed program was:" >&5
23318 sed 's/^/| /' conftest.$ac_ext >&5
23320 ac_lo=`expr '(' $ac_mid ')' + 1`
23323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23326 ?*) ac_cv_sizeof_long=$ac_lo;;
23327 '') if test "$ac_cv_type_long" = yes; then
23328 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23329 See \`config.log
' for more details." >&5
23330 echo "$as_me: error: cannot compute sizeof (long)
23331 See \`config.log' for more details.
" >&2;}
23332 { (exit 77); exit 77; }; }
23334 ac_cv_sizeof_long=0
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_;
23346 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23347 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23349 #include <stdlib.h>
23354 FILE *f = fopen ("conftest.val
", "w
");
23357 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23359 long int i = longval ();
23360 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23362 fprintf (f, "%ld
\n", i);
23366 unsigned long int i = ulongval ();
23367 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23369 fprintf (f, "%lu
\n", i);
23371 return ferror (f) || fclose (f) != 0;
23377 rm -f conftest$ac_exeext
23378 if { (ac_try="$ac_link"
23379 case "(($ac_try" in
23380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23381 *) ac_try_echo=$ac_try;;
23383 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23384 (eval "$ac_link") 2>&5
23386 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23387 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23388 { (case "(($ac_try" in
23389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23390 *) ac_try_echo=$ac_try;;
23392 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23393 (eval "$ac_try") 2>&5
23395 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23396 (exit $ac_status); }; }; then
23397 ac_cv_sizeof_long=`cat conftest.val`
23399 echo "$as_me: program exited with status
$ac_status" >&5
23400 echo "$as_me: failed program was
:" >&5
23401 sed 's/^/| /' conftest.$ac_ext >&5
23403 ( exit $ac_status )
23404 if test "$ac_cv_type_long" = yes; then
23405 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
23406 See \
`config.log' for more details." >&5
23407 echo "$as_me: error: cannot compute sizeof (long)
23408 See \`config.log
' for more details." >&2;}
23409 { (exit 77); exit 77; }; }
23411 ac_cv_sizeof_long=0
23414 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23418 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23419 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23423 cat >>confdefs.h <<_ACEOF
23424 #define SIZEOF_LONG $ac_cv_sizeof_long
23428 { echo "$as_me:$LINENO: checking for size_t" >&5
23429 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23430 if test "${ac_cv_type_size_t+set}" = set; then
23431 echo $ECHO_N "(cached) $ECHO_C" >&6
23433 cat >conftest.$ac_ext <<_ACEOF
23436 cat confdefs.h >>conftest.$ac_ext
23437 cat >>conftest.$ac_ext <<_ACEOF
23438 /* end confdefs.h. */
23439 $ac_includes_default
23440 typedef size_t ac__type_new_;
23444 if ((ac__type_new_ *) 0)
23446 if (sizeof (ac__type_new_))
23452 rm -f conftest.$ac_objext
23453 if { (ac_try="$ac_compile"
23454 case "(($ac_try" in
23455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23456 *) ac_try_echo=$ac_try;;
23458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23459 (eval "$ac_compile") 2>conftest.er1
23461 grep -v '^
*+' conftest.er1 >conftest.err
23463 cat conftest.err >&5
23464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23465 (exit $ac_status); } && {
23466 test -z "$ac_c_werror_flag" ||
23467 test ! -s conftest.err
23468 } && test -s conftest.$ac_objext; then
23469 ac_cv_type_size_t=yes
23471 echo "$as_me: failed program was:" >&5
23472 sed 's
/^
/| /' conftest.$ac_ext >&5
23474 ac_cv_type_size_t=no
23477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23479 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23480 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23482 # The cast to long int works around a bug in the HP C Compiler
23483 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23484 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23485 # This bug is HP SR number 8606223364.
23486 { echo "$as_me:$LINENO: checking size of size_t" >&5
23487 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23488 if test "${ac_cv_sizeof_size_t+set}" = set; then
23489 echo $ECHO_N "(cached) $ECHO_C" >&6
23491 if test "$cross_compiling" = yes; then
23492 # Depending upon the size, compute the lo and hi bounds.
23493 cat >conftest.
$ac_ext <<_ACEOF
23496 cat confdefs.h
>>conftest.
$ac_ext
23497 cat >>conftest.
$ac_ext <<_ACEOF
23498 /* end confdefs.h. */
23499 $ac_includes_default
23500 typedef size_t ac__type_sizeof_;
23504 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23511 rm -f conftest.
$ac_objext
23512 if { (ac_try
="$ac_compile"
23513 case "(($ac_try" in
23514 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23515 *) ac_try_echo=$ac_try;;
23517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23518 (eval "$ac_compile") 2>conftest.er1
23520 grep -v '^ *+' conftest.er1 >conftest.err
23522 cat conftest.err >&5
23523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23524 (exit $ac_status); } && {
23525 test -z "$ac_c_werror_flag" ||
23526 test ! -s conftest.err
23527 } && test -s conftest.$ac_objext; then
23530 cat >conftest.$ac_ext <<_ACEOF
23533 cat confdefs.h >>conftest.$ac_ext
23534 cat >>conftest.$ac_ext <<_ACEOF
23535 /* end confdefs.h. */
23536 $ac_includes_default
23537 typedef size_t ac__type_sizeof_;
23541 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23548 rm -f conftest.$ac_objext
23549 if { (ac_try="$ac_compile"
23550 case "(($ac_try" in
23551 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23552 *) ac_try_echo
=$ac_try;;
23554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23555 (eval "$ac_compile") 2>conftest.er1
23557 grep -v '^ *+' conftest.er1
>conftest.err
23559 cat conftest.err
>&5
23560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23561 (exit $ac_status); } && {
23562 test -z "$ac_c_werror_flag" ||
23563 test ! -s conftest.err
23564 } && test -s conftest.
$ac_objext; then
23565 ac_hi
=$ac_mid; break
23567 echo "$as_me: failed program was:" >&5
23568 sed 's/^/| /' conftest.
$ac_ext >&5
23570 ac_lo
=`expr $ac_mid + 1`
23571 if test $ac_lo -le $ac_mid; then
23575 ac_mid
=`expr 2 '*' $ac_mid + 1`
23578 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23581 echo "$as_me: failed program was:" >&5
23582 sed 's/^/| /' conftest.
$ac_ext >&5
23584 cat >conftest.
$ac_ext <<_ACEOF
23587 cat confdefs.h
>>conftest.
$ac_ext
23588 cat >>conftest.
$ac_ext <<_ACEOF
23589 /* end confdefs.h. */
23590 $ac_includes_default
23591 typedef size_t ac__type_sizeof_;
23595 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23602 rm -f conftest.
$ac_objext
23603 if { (ac_try
="$ac_compile"
23604 case "(($ac_try" in
23605 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23606 *) ac_try_echo=$ac_try;;
23608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23609 (eval "$ac_compile") 2>conftest.er1
23611 grep -v '^ *+' conftest.er1 >conftest.err
23613 cat conftest.err >&5
23614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23615 (exit $ac_status); } && {
23616 test -z "$ac_c_werror_flag" ||
23617 test ! -s conftest.err
23618 } && test -s conftest.$ac_objext; then
23621 cat >conftest.$ac_ext <<_ACEOF
23624 cat confdefs.h >>conftest.$ac_ext
23625 cat >>conftest.$ac_ext <<_ACEOF
23626 /* end confdefs.h. */
23627 $ac_includes_default
23628 typedef size_t ac__type_sizeof_;
23632 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23639 rm -f conftest.$ac_objext
23640 if { (ac_try="$ac_compile"
23641 case "(($ac_try" in
23642 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23643 *) ac_try_echo
=$ac_try;;
23645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23646 (eval "$ac_compile") 2>conftest.er1
23648 grep -v '^ *+' conftest.er1
>conftest.err
23650 cat conftest.err
>&5
23651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23652 (exit $ac_status); } && {
23653 test -z "$ac_c_werror_flag" ||
23654 test ! -s conftest.err
23655 } && test -s conftest.
$ac_objext; then
23656 ac_lo
=$ac_mid; break
23658 echo "$as_me: failed program was:" >&5
23659 sed 's/^/| /' conftest.
$ac_ext >&5
23661 ac_hi
=`expr '(' $ac_mid ')' - 1`
23662 if test $ac_mid -le $ac_hi; then
23666 ac_mid
=`expr 2 '*' $ac_mid`
23669 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23672 echo "$as_me: failed program was:" >&5
23673 sed 's/^/| /' conftest.
$ac_ext >&5
23678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23682 # Binary search between lo and hi bounds.
23683 while test "x$ac_lo" != "x$ac_hi"; do
23684 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23685 cat >conftest.
$ac_ext <<_ACEOF
23688 cat confdefs.h
>>conftest.
$ac_ext
23689 cat >>conftest.
$ac_ext <<_ACEOF
23690 /* end confdefs.h. */
23691 $ac_includes_default
23692 typedef size_t ac__type_sizeof_;
23696 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23703 rm -f conftest.
$ac_objext
23704 if { (ac_try
="$ac_compile"
23705 case "(($ac_try" in
23706 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23707 *) ac_try_echo=$ac_try;;
23709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23710 (eval "$ac_compile") 2>conftest.er1
23712 grep -v '^ *+' conftest.er1 >conftest.err
23714 cat conftest.err >&5
23715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23716 (exit $ac_status); } && {
23717 test -z "$ac_c_werror_flag" ||
23718 test ! -s conftest.err
23719 } && test -s conftest.$ac_objext; then
23722 echo "$as_me: failed program was:" >&5
23723 sed 's/^/| /' conftest.$ac_ext >&5
23725 ac_lo=`expr '(' $ac_mid ')' + 1`
23728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23731 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23732 '') if test "$ac_cv_type_size_t" = yes; then
23733 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23734 See \`config.log
' for more details." >&5
23735 echo "$as_me: error: cannot compute sizeof (size_t)
23736 See \`config.log' for more details.
" >&2;}
23737 { (exit 77); exit 77; }; }
23739 ac_cv_sizeof_size_t=0
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_;
23751 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23752 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23754 #include <stdlib.h>
23759 FILE *f = fopen ("conftest.val
", "w
");
23762 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23764 long int i = longval ();
23765 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23767 fprintf (f, "%ld
\n", i);
23771 unsigned long int i = ulongval ();
23772 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23774 fprintf (f, "%lu
\n", i);
23776 return ferror (f) || fclose (f) != 0;
23782 rm -f conftest$ac_exeext
23783 if { (ac_try="$ac_link"
23784 case "(($ac_try" in
23785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23786 *) ac_try_echo=$ac_try;;
23788 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23789 (eval "$ac_link") 2>&5
23791 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23792 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23793 { (case "(($ac_try" in
23794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23795 *) ac_try_echo=$ac_try;;
23797 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23798 (eval "$ac_try") 2>&5
23800 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23801 (exit $ac_status); }; }; then
23802 ac_cv_sizeof_size_t=`cat conftest.val`
23804 echo "$as_me: program exited with status
$ac_status" >&5
23805 echo "$as_me: failed program was
:" >&5
23806 sed 's/^/| /' conftest.$ac_ext >&5
23808 ( exit $ac_status )
23809 if test "$ac_cv_type_size_t" = yes; then
23810 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
23811 See \
`config.log' for more details." >&5
23812 echo "$as_me: error: cannot compute sizeof (size_t)
23813 See \`config.log
' for more details." >&2;}
23814 { (exit 77); exit 77; }; }
23816 ac_cv_sizeof_size_t=0
23819 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23823 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23824 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23828 cat >>confdefs.h <<_ACEOF
23829 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23836 { echo "$as_me:$LINENO: checking for long long" >&5
23837 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23838 if test "${ac_cv_type_long_long+set}" = set; then
23839 echo $ECHO_N "(cached) $ECHO_C" >&6
23841 cat >conftest.$ac_ext <<_ACEOF
23844 cat confdefs.h >>conftest.$ac_ext
23845 cat >>conftest.$ac_ext <<_ACEOF
23846 /* end confdefs.h. */
23847 $ac_includes_default
23848 typedef long long ac__type_new_;
23852 if ((ac__type_new_ *) 0)
23854 if (sizeof (ac__type_new_))
23860 rm -f conftest.$ac_objext
23861 if { (ac_try="$ac_compile"
23862 case "(($ac_try" in
23863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23864 *) ac_try_echo=$ac_try;;
23866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23867 (eval "$ac_compile") 2>conftest.er1
23869 grep -v '^
*+' conftest.er1 >conftest.err
23871 cat conftest.err >&5
23872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23873 (exit $ac_status); } && {
23874 test -z "$ac_c_werror_flag" ||
23875 test ! -s conftest.err
23876 } && test -s conftest.$ac_objext; then
23877 ac_cv_type_long_long=yes
23879 echo "$as_me: failed program was:" >&5
23880 sed 's
/^
/| /' conftest.$ac_ext >&5
23882 ac_cv_type_long_long=no
23885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23887 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23888 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23890 # The cast to long int works around a bug in the HP C Compiler
23891 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23892 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23893 # This bug is HP SR number 8606223364.
23894 { echo "$as_me:$LINENO: checking size of long long" >&5
23895 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23896 if test "${ac_cv_sizeof_long_long+set}" = set; then
23897 echo $ECHO_N "(cached) $ECHO_C" >&6
23899 if test "$cross_compiling" = yes; then
23900 # Depending upon the size, compute the lo and hi bounds.
23901 cat >conftest.
$ac_ext <<_ACEOF
23904 cat confdefs.h
>>conftest.
$ac_ext
23905 cat >>conftest.
$ac_ext <<_ACEOF
23906 /* end confdefs.h. */
23907 $ac_includes_default
23908 typedef long long ac__type_sizeof_;
23912 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23919 rm -f conftest.
$ac_objext
23920 if { (ac_try
="$ac_compile"
23921 case "(($ac_try" in
23922 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23923 *) ac_try_echo=$ac_try;;
23925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23926 (eval "$ac_compile") 2>conftest.er1
23928 grep -v '^ *+' conftest.er1 >conftest.err
23930 cat conftest.err >&5
23931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23932 (exit $ac_status); } && {
23933 test -z "$ac_c_werror_flag" ||
23934 test ! -s conftest.err
23935 } && test -s conftest.$ac_objext; then
23938 cat >conftest.$ac_ext <<_ACEOF
23941 cat confdefs.h >>conftest.$ac_ext
23942 cat >>conftest.$ac_ext <<_ACEOF
23943 /* end confdefs.h. */
23944 $ac_includes_default
23945 typedef long long ac__type_sizeof_;
23949 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23956 rm -f conftest.$ac_objext
23957 if { (ac_try="$ac_compile"
23958 case "(($ac_try" in
23959 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23960 *) ac_try_echo
=$ac_try;;
23962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23963 (eval "$ac_compile") 2>conftest.er1
23965 grep -v '^ *+' conftest.er1
>conftest.err
23967 cat conftest.err
>&5
23968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23969 (exit $ac_status); } && {
23970 test -z "$ac_c_werror_flag" ||
23971 test ! -s conftest.err
23972 } && test -s conftest.
$ac_objext; then
23973 ac_hi
=$ac_mid; break
23975 echo "$as_me: failed program was:" >&5
23976 sed 's/^/| /' conftest.
$ac_ext >&5
23978 ac_lo
=`expr $ac_mid + 1`
23979 if test $ac_lo -le $ac_mid; then
23983 ac_mid
=`expr 2 '*' $ac_mid + 1`
23986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23989 echo "$as_me: failed program was:" >&5
23990 sed 's/^/| /' conftest.
$ac_ext >&5
23992 cat >conftest.
$ac_ext <<_ACEOF
23995 cat confdefs.h
>>conftest.
$ac_ext
23996 cat >>conftest.
$ac_ext <<_ACEOF
23997 /* end confdefs.h. */
23998 $ac_includes_default
23999 typedef long long ac__type_sizeof_;
24003 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24010 rm -f conftest.
$ac_objext
24011 if { (ac_try
="$ac_compile"
24012 case "(($ac_try" in
24013 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24014 *) ac_try_echo=$ac_try;;
24016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24017 (eval "$ac_compile") 2>conftest.er1
24019 grep -v '^ *+' conftest.er1 >conftest.err
24021 cat conftest.err >&5
24022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24023 (exit $ac_status); } && {
24024 test -z "$ac_c_werror_flag" ||
24025 test ! -s conftest.err
24026 } && test -s conftest.$ac_objext; then
24029 cat >conftest.$ac_ext <<_ACEOF
24032 cat confdefs.h >>conftest.$ac_ext
24033 cat >>conftest.$ac_ext <<_ACEOF
24034 /* end confdefs.h. */
24035 $ac_includes_default
24036 typedef long long ac__type_sizeof_;
24040 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24047 rm -f conftest.$ac_objext
24048 if { (ac_try="$ac_compile"
24049 case "(($ac_try" in
24050 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24051 *) ac_try_echo
=$ac_try;;
24053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24054 (eval "$ac_compile") 2>conftest.er1
24056 grep -v '^ *+' conftest.er1
>conftest.err
24058 cat conftest.err
>&5
24059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24060 (exit $ac_status); } && {
24061 test -z "$ac_c_werror_flag" ||
24062 test ! -s conftest.err
24063 } && test -s conftest.
$ac_objext; then
24064 ac_lo
=$ac_mid; break
24066 echo "$as_me: failed program was:" >&5
24067 sed 's/^/| /' conftest.
$ac_ext >&5
24069 ac_hi
=`expr '(' $ac_mid ')' - 1`
24070 if test $ac_mid -le $ac_hi; then
24074 ac_mid
=`expr 2 '*' $ac_mid`
24077 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24080 echo "$as_me: failed program was:" >&5
24081 sed 's/^/| /' conftest.
$ac_ext >&5
24086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24089 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24090 # Binary search between lo and hi bounds.
24091 while test "x$ac_lo" != "x$ac_hi"; do
24092 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24093 cat >conftest.
$ac_ext <<_ACEOF
24096 cat confdefs.h
>>conftest.
$ac_ext
24097 cat >>conftest.
$ac_ext <<_ACEOF
24098 /* end confdefs.h. */
24099 $ac_includes_default
24100 typedef long long ac__type_sizeof_;
24104 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24111 rm -f conftest.
$ac_objext
24112 if { (ac_try
="$ac_compile"
24113 case "(($ac_try" in
24114 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24115 *) ac_try_echo=$ac_try;;
24117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24118 (eval "$ac_compile") 2>conftest.er1
24120 grep -v '^ *+' conftest.er1 >conftest.err
24122 cat conftest.err >&5
24123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24124 (exit $ac_status); } && {
24125 test -z "$ac_c_werror_flag" ||
24126 test ! -s conftest.err
24127 } && test -s conftest.$ac_objext; then
24130 echo "$as_me: failed program was:" >&5
24131 sed 's/^/| /' conftest.$ac_ext >&5
24133 ac_lo=`expr '(' $ac_mid ')' + 1`
24136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24139 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24140 '') if test "$ac_cv_type_long_long" = yes; then
24141 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24142 See \`config.log
' for more details." >&5
24143 echo "$as_me: error: cannot compute sizeof (long long)
24144 See \`config.log' for more details.
" >&2;}
24145 { (exit 77); exit 77; }; }
24147 ac_cv_sizeof_long_long=0
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_;
24159 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24160 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24162 #include <stdlib.h>
24167 FILE *f = fopen ("conftest.val
", "w
");
24170 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24172 long int i = longval ();
24173 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24175 fprintf (f, "%ld
\n", i);
24179 unsigned long int i = ulongval ();
24180 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24182 fprintf (f, "%lu
\n", i);
24184 return ferror (f) || fclose (f) != 0;
24190 rm -f conftest$ac_exeext
24191 if { (ac_try="$ac_link"
24192 case "(($ac_try" in
24193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24194 *) ac_try_echo=$ac_try;;
24196 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24197 (eval "$ac_link") 2>&5
24199 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24200 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24201 { (case "(($ac_try" in
24202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24203 *) ac_try_echo=$ac_try;;
24205 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24206 (eval "$ac_try") 2>&5
24208 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24209 (exit $ac_status); }; }; then
24210 ac_cv_sizeof_long_long=`cat conftest.val`
24212 echo "$as_me: program exited with status
$ac_status" >&5
24213 echo "$as_me: failed program was
:" >&5
24214 sed 's/^/| /' conftest.$ac_ext >&5
24216 ( exit $ac_status )
24217 if test "$ac_cv_type_long_long" = yes; then
24218 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24219 See \
`config.log' for more details." >&5
24220 echo "$as_me: error: cannot compute sizeof (long long)
24221 See \`config.log
' for more details." >&2;}
24222 { (exit 77); exit 77; }; }
24224 ac_cv_sizeof_long_long=0
24227 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24231 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24232 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24236 cat >>confdefs.h <<_ACEOF
24237 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24243 { echo "$as_me:$LINENO: checking for long long" >&5
24244 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24245 if test "${ac_cv_type_long_long+set}" = set; then
24246 echo $ECHO_N "(cached) $ECHO_C" >&6
24248 cat >conftest.$ac_ext <<_ACEOF
24251 cat confdefs.h >>conftest.$ac_ext
24252 cat >>conftest.$ac_ext <<_ACEOF
24253 /* end confdefs.h. */
24254 $ac_includes_default
24255 typedef long long ac__type_new_;
24259 if ((ac__type_new_ *) 0)
24261 if (sizeof (ac__type_new_))
24267 rm -f conftest.$ac_objext
24268 if { (ac_try="$ac_compile"
24269 case "(($ac_try" in
24270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24271 *) ac_try_echo=$ac_try;;
24273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24274 (eval "$ac_compile") 2>conftest.er1
24276 grep -v '^
*+' conftest.er1 >conftest.err
24278 cat conftest.err >&5
24279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24280 (exit $ac_status); } && {
24281 test -z "$ac_c_werror_flag" ||
24282 test ! -s conftest.err
24283 } && test -s conftest.$ac_objext; then
24284 ac_cv_type_long_long=yes
24286 echo "$as_me: failed program was:" >&5
24287 sed 's
/^
/| /' conftest.$ac_ext >&5
24289 ac_cv_type_long_long=no
24292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24294 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24295 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24297 # The cast to long int works around a bug in the HP C Compiler
24298 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24299 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24300 # This bug is HP SR number 8606223364.
24301 { echo "$as_me:$LINENO: checking size of long long" >&5
24302 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24303 if test "${ac_cv_sizeof_long_long+set}" = set; then
24304 echo $ECHO_N "(cached) $ECHO_C" >&6
24306 if test "$cross_compiling" = yes; then
24307 # Depending upon the size, compute the lo and hi bounds.
24308 cat >conftest.
$ac_ext <<_ACEOF
24311 cat confdefs.h
>>conftest.
$ac_ext
24312 cat >>conftest.
$ac_ext <<_ACEOF
24313 /* end confdefs.h. */
24314 $ac_includes_default
24315 typedef long long ac__type_sizeof_;
24319 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24326 rm -f conftest.
$ac_objext
24327 if { (ac_try
="$ac_compile"
24328 case "(($ac_try" in
24329 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24330 *) ac_try_echo=$ac_try;;
24332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24333 (eval "$ac_compile") 2>conftest.er1
24335 grep -v '^ *+' conftest.er1 >conftest.err
24337 cat conftest.err >&5
24338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24339 (exit $ac_status); } && {
24340 test -z "$ac_c_werror_flag" ||
24341 test ! -s conftest.err
24342 } && test -s conftest.$ac_objext; then
24345 cat >conftest.$ac_ext <<_ACEOF
24348 cat confdefs.h >>conftest.$ac_ext
24349 cat >>conftest.$ac_ext <<_ACEOF
24350 /* end confdefs.h. */
24351 $ac_includes_default
24352 typedef long long ac__type_sizeof_;
24356 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24363 rm -f conftest.$ac_objext
24364 if { (ac_try="$ac_compile"
24365 case "(($ac_try" in
24366 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24367 *) ac_try_echo
=$ac_try;;
24369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24370 (eval "$ac_compile") 2>conftest.er1
24372 grep -v '^ *+' conftest.er1
>conftest.err
24374 cat conftest.err
>&5
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); } && {
24377 test -z "$ac_c_werror_flag" ||
24378 test ! -s conftest.err
24379 } && test -s conftest.
$ac_objext; then
24380 ac_hi
=$ac_mid; break
24382 echo "$as_me: failed program was:" >&5
24383 sed 's/^/| /' conftest.
$ac_ext >&5
24385 ac_lo
=`expr $ac_mid + 1`
24386 if test $ac_lo -le $ac_mid; then
24390 ac_mid
=`expr 2 '*' $ac_mid + 1`
24393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24396 echo "$as_me: failed program was:" >&5
24397 sed 's/^/| /' conftest.
$ac_ext >&5
24399 cat >conftest.
$ac_ext <<_ACEOF
24402 cat confdefs.h
>>conftest.
$ac_ext
24403 cat >>conftest.
$ac_ext <<_ACEOF
24404 /* end confdefs.h. */
24405 $ac_includes_default
24406 typedef long long ac__type_sizeof_;
24410 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24417 rm -f conftest.
$ac_objext
24418 if { (ac_try
="$ac_compile"
24419 case "(($ac_try" in
24420 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24421 *) ac_try_echo=$ac_try;;
24423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24424 (eval "$ac_compile") 2>conftest.er1
24426 grep -v '^ *+' conftest.er1 >conftest.err
24428 cat conftest.err >&5
24429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24430 (exit $ac_status); } && {
24431 test -z "$ac_c_werror_flag" ||
24432 test ! -s conftest.err
24433 } && test -s conftest.$ac_objext; then
24436 cat >conftest.$ac_ext <<_ACEOF
24439 cat confdefs.h >>conftest.$ac_ext
24440 cat >>conftest.$ac_ext <<_ACEOF
24441 /* end confdefs.h. */
24442 $ac_includes_default
24443 typedef long long ac__type_sizeof_;
24447 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24454 rm -f conftest.$ac_objext
24455 if { (ac_try="$ac_compile"
24456 case "(($ac_try" in
24457 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24458 *) ac_try_echo
=$ac_try;;
24460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24461 (eval "$ac_compile") 2>conftest.er1
24463 grep -v '^ *+' conftest.er1
>conftest.err
24465 cat conftest.err
>&5
24466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24467 (exit $ac_status); } && {
24468 test -z "$ac_c_werror_flag" ||
24469 test ! -s conftest.err
24470 } && test -s conftest.
$ac_objext; then
24471 ac_lo
=$ac_mid; break
24473 echo "$as_me: failed program was:" >&5
24474 sed 's/^/| /' conftest.
$ac_ext >&5
24476 ac_hi
=`expr '(' $ac_mid ')' - 1`
24477 if test $ac_mid -le $ac_hi; then
24481 ac_mid
=`expr 2 '*' $ac_mid`
24484 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24487 echo "$as_me: failed program was:" >&5
24488 sed 's/^/| /' conftest.
$ac_ext >&5
24493 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24496 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24497 # Binary search between lo and hi bounds.
24498 while test "x$ac_lo" != "x$ac_hi"; do
24499 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24500 cat >conftest.
$ac_ext <<_ACEOF
24503 cat confdefs.h
>>conftest.
$ac_ext
24504 cat >>conftest.
$ac_ext <<_ACEOF
24505 /* end confdefs.h. */
24506 $ac_includes_default
24507 typedef long long ac__type_sizeof_;
24511 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24518 rm -f conftest.
$ac_objext
24519 if { (ac_try
="$ac_compile"
24520 case "(($ac_try" in
24521 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24522 *) ac_try_echo=$ac_try;;
24524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24525 (eval "$ac_compile") 2>conftest.er1
24527 grep -v '^ *+' conftest.er1 >conftest.err
24529 cat conftest.err >&5
24530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24531 (exit $ac_status); } && {
24532 test -z "$ac_c_werror_flag" ||
24533 test ! -s conftest.err
24534 } && test -s conftest.$ac_objext; then
24537 echo "$as_me: failed program was:" >&5
24538 sed 's/^/| /' conftest.$ac_ext >&5
24540 ac_lo=`expr '(' $ac_mid ')' + 1`
24543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24546 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24547 '') if test "$ac_cv_type_long_long" = yes; then
24548 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24549 See \`config.log
' for more details." >&5
24550 echo "$as_me: error: cannot compute sizeof (long long)
24551 See \`config.log' for more details.
" >&2;}
24552 { (exit 77); exit 77; }; }
24554 ac_cv_sizeof_long_long=0
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_;
24566 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24567 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24569 #include <stdlib.h>
24574 FILE *f = fopen ("conftest.val
", "w
");
24577 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24579 long int i = longval ();
24580 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24582 fprintf (f, "%ld
\n", i);
24586 unsigned long int i = ulongval ();
24587 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24589 fprintf (f, "%lu
\n", i);
24591 return ferror (f) || fclose (f) != 0;
24597 rm -f conftest$ac_exeext
24598 if { (ac_try="$ac_link"
24599 case "(($ac_try" in
24600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24601 *) ac_try_echo=$ac_try;;
24603 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24604 (eval "$ac_link") 2>&5
24606 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24607 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24608 { (case "(($ac_try" in
24609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24610 *) ac_try_echo=$ac_try;;
24612 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24613 (eval "$ac_try") 2>&5
24615 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24616 (exit $ac_status); }; }; then
24617 ac_cv_sizeof_long_long=`cat conftest.val`
24619 echo "$as_me: program exited with status
$ac_status" >&5
24620 echo "$as_me: failed program was
:" >&5
24621 sed 's/^/| /' conftest.$ac_ext >&5
24623 ( exit $ac_status )
24624 if test "$ac_cv_type_long_long" = yes; then
24625 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24626 See \
`config.log' for more details." >&5
24627 echo "$as_me: error: cannot compute sizeof (long long)
24628 See \`config.log
' for more details." >&2;}
24629 { (exit 77); exit 77; }; }
24631 ac_cv_sizeof_long_long=0
24634 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24638 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24639 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24643 cat >>confdefs.h <<_ACEOF
24644 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24648 if test "$ac_cv_sizeof_long_long" != 0; then
24649 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24653 { echo "$as_me:$LINENO: checking for long long" >&5
24654 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24655 if test "${ac_cv_type_long_long+set}" = set; then
24656 echo $ECHO_N "(cached) $ECHO_C" >&6
24658 cat >conftest.$ac_ext <<_ACEOF
24661 cat confdefs.h >>conftest.$ac_ext
24662 cat >>conftest.$ac_ext <<_ACEOF
24663 /* end confdefs.h. */
24664 $ac_includes_default
24665 typedef long long ac__type_new_;
24669 if ((ac__type_new_ *) 0)
24671 if (sizeof (ac__type_new_))
24677 rm -f conftest.$ac_objext
24678 if { (ac_try="$ac_compile"
24679 case "(($ac_try" in
24680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24681 *) ac_try_echo=$ac_try;;
24683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24684 (eval "$ac_compile") 2>conftest.er1
24686 grep -v '^
*+' conftest.er1 >conftest.err
24688 cat conftest.err >&5
24689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24690 (exit $ac_status); } && {
24691 test -z "$ac_c_werror_flag" ||
24692 test ! -s conftest.err
24693 } && test -s conftest.$ac_objext; then
24694 ac_cv_type_long_long=yes
24696 echo "$as_me: failed program was:" >&5
24697 sed 's
/^
/| /' conftest.$ac_ext >&5
24699 ac_cv_type_long_long=no
24702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24704 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24705 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24707 # The cast to long int works around a bug in the HP C Compiler
24708 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24709 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24710 # This bug is HP SR number 8606223364.
24711 { echo "$as_me:$LINENO: checking size of long long" >&5
24712 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24713 if test "${ac_cv_sizeof_long_long+set}" = set; then
24714 echo $ECHO_N "(cached) $ECHO_C" >&6
24716 if test "$cross_compiling" = yes; then
24717 # Depending upon the size, compute the lo and hi bounds.
24718 cat >conftest.
$ac_ext <<_ACEOF
24721 cat confdefs.h
>>conftest.
$ac_ext
24722 cat >>conftest.
$ac_ext <<_ACEOF
24723 /* end confdefs.h. */
24724 $ac_includes_default
24725 typedef long long ac__type_sizeof_;
24729 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24736 rm -f conftest.
$ac_objext
24737 if { (ac_try
="$ac_compile"
24738 case "(($ac_try" in
24739 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24740 *) ac_try_echo=$ac_try;;
24742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24743 (eval "$ac_compile") 2>conftest.er1
24745 grep -v '^ *+' conftest.er1 >conftest.err
24747 cat conftest.err >&5
24748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24749 (exit $ac_status); } && {
24750 test -z "$ac_c_werror_flag" ||
24751 test ! -s conftest.err
24752 } && test -s conftest.$ac_objext; then
24755 cat >conftest.$ac_ext <<_ACEOF
24758 cat confdefs.h >>conftest.$ac_ext
24759 cat >>conftest.$ac_ext <<_ACEOF
24760 /* end confdefs.h. */
24761 $ac_includes_default
24762 typedef long long ac__type_sizeof_;
24766 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24773 rm -f conftest.$ac_objext
24774 if { (ac_try="$ac_compile"
24775 case "(($ac_try" in
24776 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24777 *) ac_try_echo
=$ac_try;;
24779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24780 (eval "$ac_compile") 2>conftest.er1
24782 grep -v '^ *+' conftest.er1
>conftest.err
24784 cat conftest.err
>&5
24785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24786 (exit $ac_status); } && {
24787 test -z "$ac_c_werror_flag" ||
24788 test ! -s conftest.err
24789 } && test -s conftest.
$ac_objext; then
24790 ac_hi
=$ac_mid; break
24792 echo "$as_me: failed program was:" >&5
24793 sed 's/^/| /' conftest.
$ac_ext >&5
24795 ac_lo
=`expr $ac_mid + 1`
24796 if test $ac_lo -le $ac_mid; then
24800 ac_mid
=`expr 2 '*' $ac_mid + 1`
24803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24806 echo "$as_me: failed program was:" >&5
24807 sed 's/^/| /' conftest.
$ac_ext >&5
24809 cat >conftest.
$ac_ext <<_ACEOF
24812 cat confdefs.h
>>conftest.
$ac_ext
24813 cat >>conftest.
$ac_ext <<_ACEOF
24814 /* end confdefs.h. */
24815 $ac_includes_default
24816 typedef long long ac__type_sizeof_;
24820 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24827 rm -f conftest.
$ac_objext
24828 if { (ac_try
="$ac_compile"
24829 case "(($ac_try" in
24830 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24831 *) ac_try_echo=$ac_try;;
24833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24834 (eval "$ac_compile") 2>conftest.er1
24836 grep -v '^ *+' conftest.er1 >conftest.err
24838 cat conftest.err >&5
24839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24840 (exit $ac_status); } && {
24841 test -z "$ac_c_werror_flag" ||
24842 test ! -s conftest.err
24843 } && test -s conftest.$ac_objext; then
24846 cat >conftest.$ac_ext <<_ACEOF
24849 cat confdefs.h >>conftest.$ac_ext
24850 cat >>conftest.$ac_ext <<_ACEOF
24851 /* end confdefs.h. */
24852 $ac_includes_default
24853 typedef long long ac__type_sizeof_;
24857 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24864 rm -f conftest.$ac_objext
24865 if { (ac_try="$ac_compile"
24866 case "(($ac_try" in
24867 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24868 *) ac_try_echo
=$ac_try;;
24870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24871 (eval "$ac_compile") 2>conftest.er1
24873 grep -v '^ *+' conftest.er1
>conftest.err
24875 cat conftest.err
>&5
24876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24877 (exit $ac_status); } && {
24878 test -z "$ac_c_werror_flag" ||
24879 test ! -s conftest.err
24880 } && test -s conftest.
$ac_objext; then
24881 ac_lo
=$ac_mid; break
24883 echo "$as_me: failed program was:" >&5
24884 sed 's/^/| /' conftest.
$ac_ext >&5
24886 ac_hi
=`expr '(' $ac_mid ')' - 1`
24887 if test $ac_mid -le $ac_hi; then
24891 ac_mid
=`expr 2 '*' $ac_mid`
24894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24897 echo "$as_me: failed program was:" >&5
24898 sed 's/^/| /' conftest.
$ac_ext >&5
24903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24906 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24907 # Binary search between lo and hi bounds.
24908 while test "x$ac_lo" != "x$ac_hi"; do
24909 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24910 cat >conftest.
$ac_ext <<_ACEOF
24913 cat confdefs.h
>>conftest.
$ac_ext
24914 cat >>conftest.
$ac_ext <<_ACEOF
24915 /* end confdefs.h. */
24916 $ac_includes_default
24917 typedef long long ac__type_sizeof_;
24921 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24928 rm -f conftest.
$ac_objext
24929 if { (ac_try
="$ac_compile"
24930 case "(($ac_try" in
24931 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24932 *) ac_try_echo=$ac_try;;
24934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24935 (eval "$ac_compile") 2>conftest.er1
24937 grep -v '^ *+' conftest.er1 >conftest.err
24939 cat conftest.err >&5
24940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24941 (exit $ac_status); } && {
24942 test -z "$ac_c_werror_flag" ||
24943 test ! -s conftest.err
24944 } && test -s conftest.$ac_objext; then
24947 echo "$as_me: failed program was:" >&5
24948 sed 's/^/| /' conftest.$ac_ext >&5
24950 ac_lo=`expr '(' $ac_mid ')' + 1`
24953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24956 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24957 '') if test "$ac_cv_type_long_long" = yes; then
24958 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24959 See \`config.log
' for more details." >&5
24960 echo "$as_me: error: cannot compute sizeof (long long)
24961 See \`config.log' for more details.
" >&2;}
24962 { (exit 77); exit 77; }; }
24964 ac_cv_sizeof_long_long=0
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_;
24976 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24977 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24979 #include <stdlib.h>
24984 FILE *f = fopen ("conftest.val
", "w
");
24987 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24989 long int i = longval ();
24990 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24992 fprintf (f, "%ld
\n", i);
24996 unsigned long int i = ulongval ();
24997 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24999 fprintf (f, "%lu
\n", i);
25001 return ferror (f) || fclose (f) != 0;
25007 rm -f conftest$ac_exeext
25008 if { (ac_try="$ac_link"
25009 case "(($ac_try" in
25010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25011 *) ac_try_echo=$ac_try;;
25013 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25014 (eval "$ac_link") 2>&5
25016 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25017 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25018 { (case "(($ac_try" in
25019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25020 *) ac_try_echo=$ac_try;;
25022 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25023 (eval "$ac_try") 2>&5
25025 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25026 (exit $ac_status); }; }; then
25027 ac_cv_sizeof_long_long=`cat conftest.val`
25029 echo "$as_me: program exited with status
$ac_status" >&5
25030 echo "$as_me: failed program was
:" >&5
25031 sed 's/^/| /' conftest.$ac_ext >&5
25033 ( exit $ac_status )
25034 if test "$ac_cv_type_long_long" = yes; then
25035 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
25036 See \
`config.log' for more details." >&5
25037 echo "$as_me: error: cannot compute sizeof (long long)
25038 See \`config.log
' for more details." >&2;}
25039 { (exit 77); exit 77; }; }
25041 ac_cv_sizeof_long_long=0
25044 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25048 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25049 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25053 cat >>confdefs.h <<_ACEOF
25054 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25060 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25061 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25062 if test "${ac_cv_type_wchar_t+set}" = set; then
25063 echo $ECHO_N "(cached) $ECHO_C" >&6
25065 cat >conftest.$ac_ext <<_ACEOF
25068 cat confdefs.h >>conftest.$ac_ext
25069 cat >>conftest.$ac_ext <<_ACEOF
25070 /* end confdefs.h. */
25072 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
25073 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25074 # error "fake wchar_t"
25076 #ifdef HAVE_WCHAR_H
25078 # include <stddef.h>
25080 # include <wchar.h>
25082 #ifdef HAVE_STDLIB_H
25083 # include <stdlib.h>
25089 typedef wchar_t ac__type_new_
;
25093 if ((ac__type_new_
*) 0)
25095 if (sizeof
(ac__type_new_
))
25101 rm -f conftest.
$ac_objext
25102 if { (ac_try
="$ac_compile"
25103 case "(($ac_try" in
25104 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25105 *) ac_try_echo=$ac_try;;
25107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25108 (eval "$ac_compile") 2>conftest.er1
25110 grep -v '^ *+' conftest.er1 >conftest.err
25112 cat conftest.err >&5
25113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25114 (exit $ac_status); } && {
25115 test -z "$ac_c_werror_flag" ||
25116 test ! -s conftest.err
25117 } && test -s conftest.$ac_objext; then
25118 ac_cv_type_wchar_t=yes
25120 echo "$as_me: failed program was:" >&5
25121 sed 's/^/| /' conftest.$ac_ext >&5
25123 ac_cv_type_wchar_t=no
25126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25128 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25129 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25131 # The cast to long int works around a bug in the HP C Compiler
25132 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25133 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
25134 # This bug is HP SR number 8606223364.
25135 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25136 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25137 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25138 echo $ECHO_N "(cached) $ECHO_C" >&6
25140 if test "$cross_compiling" = yes; then
25141 # Depending upon the size, compute the lo and hi bounds.
25142 cat >conftest.$ac_ext <<_ACEOF
25145 cat confdefs.h >>conftest.$ac_ext
25146 cat >>conftest.$ac_ext <<_ACEOF
25147 /* end confdefs.h. */
25149 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
25150 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25151 # error "fake wchar_t"
25153 #ifdef HAVE_WCHAR_H
25155 # include <stddef.h>
25157 # include <wchar.h>
25159 #ifdef HAVE_STDLIB_H
25160 # include <stdlib.h>
25166 typedef wchar_t ac__type_sizeof_
;
25170 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
25177 rm -f conftest.
$ac_objext
25178 if { (ac_try
="$ac_compile"
25179 case "(($ac_try" in
25180 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25181 *) ac_try_echo=$ac_try;;
25183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25184 (eval "$ac_compile") 2>conftest.er1
25186 grep -v '^ *+' conftest.er1 >conftest.err
25188 cat conftest.err >&5
25189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25190 (exit $ac_status); } && {
25191 test -z "$ac_c_werror_flag" ||
25192 test ! -s conftest.err
25193 } && test -s conftest.$ac_objext; then
25196 cat >conftest.$ac_ext <<_ACEOF
25199 cat confdefs.h >>conftest.$ac_ext
25200 cat >>conftest.$ac_ext <<_ACEOF
25201 /* end confdefs.h. */
25203 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25204 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25205 # error "fake wchar_t"
25207 #ifdef HAVE_WCHAR_H
25209 # include <stddef.h>
25211 # include <wchar.h>
25213 #ifdef HAVE_STDLIB_H
25214 # include <stdlib.h>
25220 typedef wchar_t ac__type_sizeof_;
25224 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25231 rm -f conftest.$ac_objext
25232 if { (ac_try="$ac_compile"
25233 case "(($ac_try" in
25234 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25235 *) ac_try_echo
=$ac_try;;
25237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25238 (eval "$ac_compile") 2>conftest.er1
25240 grep -v '^ *+' conftest.er1
>conftest.err
25242 cat conftest.err
>&5
25243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25244 (exit $ac_status); } && {
25245 test -z "$ac_c_werror_flag" ||
25246 test ! -s conftest.err
25247 } && test -s conftest.
$ac_objext; then
25248 ac_hi
=$ac_mid; break
25250 echo "$as_me: failed program was:" >&5
25251 sed 's/^/| /' conftest.
$ac_ext >&5
25253 ac_lo
=`expr $ac_mid + 1`
25254 if test $ac_lo -le $ac_mid; then
25258 ac_mid
=`expr 2 '*' $ac_mid + 1`
25261 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25264 echo "$as_me: failed program was:" >&5
25265 sed 's/^/| /' conftest.
$ac_ext >&5
25267 cat >conftest.
$ac_ext <<_ACEOF
25270 cat confdefs.h
>>conftest.
$ac_ext
25271 cat >>conftest.
$ac_ext <<_ACEOF
25272 /* end confdefs.h. */
25274 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25275 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25276 # error "fake wchar_t"
25278 #ifdef HAVE_WCHAR_H
25280 # include <stddef.h>
25282 # include <wchar.h>
25284 #ifdef HAVE_STDLIB_H
25285 # include <stdlib.h>
25291 typedef wchar_t ac__type_sizeof_;
25295 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25302 rm -f conftest.
$ac_objext
25303 if { (ac_try
="$ac_compile"
25304 case "(($ac_try" in
25305 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25306 *) ac_try_echo=$ac_try;;
25308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25309 (eval "$ac_compile") 2>conftest.er1
25311 grep -v '^ *+' conftest.er1 >conftest.err
25313 cat conftest.err >&5
25314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25315 (exit $ac_status); } && {
25316 test -z "$ac_c_werror_flag" ||
25317 test ! -s conftest.err
25318 } && test -s conftest.$ac_objext; then
25321 cat >conftest.$ac_ext <<_ACEOF
25324 cat confdefs.h >>conftest.$ac_ext
25325 cat >>conftest.$ac_ext <<_ACEOF
25326 /* end confdefs.h. */
25328 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25329 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25330 # error "fake wchar_t"
25332 #ifdef HAVE_WCHAR_H
25334 # include <stddef.h>
25336 # include <wchar.h>
25338 #ifdef HAVE_STDLIB_H
25339 # include <stdlib.h>
25345 typedef wchar_t ac__type_sizeof_;
25349 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25356 rm -f conftest.$ac_objext
25357 if { (ac_try="$ac_compile"
25358 case "(($ac_try" in
25359 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25360 *) ac_try_echo
=$ac_try;;
25362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25363 (eval "$ac_compile") 2>conftest.er1
25365 grep -v '^ *+' conftest.er1
>conftest.err
25367 cat conftest.err
>&5
25368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25369 (exit $ac_status); } && {
25370 test -z "$ac_c_werror_flag" ||
25371 test ! -s conftest.err
25372 } && test -s conftest.
$ac_objext; then
25373 ac_lo
=$ac_mid; break
25375 echo "$as_me: failed program was:" >&5
25376 sed 's/^/| /' conftest.
$ac_ext >&5
25378 ac_hi
=`expr '(' $ac_mid ')' - 1`
25379 if test $ac_mid -le $ac_hi; then
25383 ac_mid
=`expr 2 '*' $ac_mid`
25386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25389 echo "$as_me: failed program was:" >&5
25390 sed 's/^/| /' conftest.
$ac_ext >&5
25395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25398 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25399 # Binary search between lo and hi bounds.
25400 while test "x$ac_lo" != "x$ac_hi"; do
25401 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25402 cat >conftest.
$ac_ext <<_ACEOF
25405 cat confdefs.h
>>conftest.
$ac_ext
25406 cat >>conftest.
$ac_ext <<_ACEOF
25407 /* end confdefs.h. */
25409 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25410 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25411 # error "fake wchar_t"
25413 #ifdef HAVE_WCHAR_H
25415 # include <stddef.h>
25417 # include <wchar.h>
25419 #ifdef HAVE_STDLIB_H
25420 # include <stdlib.h>
25426 typedef wchar_t ac__type_sizeof_;
25430 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25437 rm -f conftest.
$ac_objext
25438 if { (ac_try
="$ac_compile"
25439 case "(($ac_try" in
25440 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25441 *) ac_try_echo=$ac_try;;
25443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25444 (eval "$ac_compile") 2>conftest.er1
25446 grep -v '^ *+' conftest.er1 >conftest.err
25448 cat conftest.err >&5
25449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25450 (exit $ac_status); } && {
25451 test -z "$ac_c_werror_flag" ||
25452 test ! -s conftest.err
25453 } && test -s conftest.$ac_objext; then
25456 echo "$as_me: failed program was:" >&5
25457 sed 's/^/| /' conftest.$ac_ext >&5
25459 ac_lo=`expr '(' $ac_mid ')' + 1`
25462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25465 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25466 '') if test "$ac_cv_type_wchar_t" = yes; then
25467 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25468 See \`config.log
' for more details." >&5
25469 echo "$as_me: error: cannot compute sizeof (wchar_t)
25470 See \`config.log' for more details.
" >&2;}
25471 { (exit 77); exit 77; }; }
25473 ac_cv_sizeof_wchar_t=0
25477 cat >conftest.$ac_ext <<_ACEOF
25480 cat confdefs.h >>conftest.$ac_ext
25481 cat >>conftest.$ac_ext <<_ACEOF
25482 /* end confdefs.h. */
25484 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25485 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25486 # error "fake wchar_t
"
25488 #ifdef HAVE_WCHAR_H
25490 # include <stddef.h>
25492 # include <wchar.h>
25494 #ifdef HAVE_STDLIB_H
25495 # include <stdlib.h>
25501 typedef wchar_t ac__type_sizeof_;
25502 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25503 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25505 #include <stdlib.h>
25510 FILE *f = fopen ("conftest.val
", "w
");
25513 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25515 long int i = longval ();
25516 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25518 fprintf (f, "%ld
\n", i);
25522 unsigned long int i = ulongval ();
25523 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25525 fprintf (f, "%lu
\n", i);
25527 return ferror (f) || fclose (f) != 0;
25533 rm -f conftest$ac_exeext
25534 if { (ac_try="$ac_link"
25535 case "(($ac_try" in
25536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25537 *) ac_try_echo=$ac_try;;
25539 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25540 (eval "$ac_link") 2>&5
25542 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25543 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25544 { (case "(($ac_try" in
25545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25546 *) ac_try_echo=$ac_try;;
25548 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25549 (eval "$ac_try") 2>&5
25551 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25552 (exit $ac_status); }; }; then
25553 ac_cv_sizeof_wchar_t=`cat conftest.val`
25555 echo "$as_me: program exited with status
$ac_status" >&5
25556 echo "$as_me: failed program was
:" >&5
25557 sed 's/^/| /' conftest.$ac_ext >&5
25559 ( exit $ac_status )
25560 if test "$ac_cv_type_wchar_t" = yes; then
25561 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
25562 See \
`config.log' for more details." >&5
25563 echo "$as_me: error: cannot compute sizeof (wchar_t)
25564 See \`config.log
' for more details." >&2;}
25565 { (exit 77); exit 77; }; }
25567 ac_cv_sizeof_wchar_t=0
25570 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25574 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25575 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25579 cat >>confdefs.h <<_ACEOF
25580 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25584 if test "$ac_cv_sizeof_wchar_t" != 0; then
25590 { echo "$as_me:$LINENO: checking for va_copy" >&5
25591 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25592 if test "${wx_cv_func_va_copy+set}" = set; then
25593 echo $ECHO_N "(cached) $ECHO_C" >&6
25597 ac_cpp='$CXXCPP $CPPFLAGS'
25598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25599 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25602 cat >conftest.$ac_ext <<_ACEOF
25604 #include <stdarg.h>
25605 void foo(char *f, ...)
25619 rm -f conftest.$ac_objext conftest$ac_exeext
25620 if { (ac_try="$ac_link"
25621 case "(($ac_try" in
25622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25623 *) ac_try_echo=$ac_try;;
25625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25626 (eval "$ac_link") 2>conftest.er1
25628 grep -v '^
*+' conftest.er1 >conftest.err
25630 cat conftest.err >&5
25631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25632 (exit $ac_status); } && {
25633 test -z "$ac_cxx_werror_flag" ||
25634 test ! -s conftest.err
25635 } && test -s conftest$ac_exeext &&
25636 $as_test_x conftest$ac_exeext; then
25637 wx_cv_func_va_copy=yes
25639 echo "$as_me: failed program was:" >&5
25640 sed 's
/^
/| /' conftest.$ac_ext >&5
25642 wx_cv_func_va_copy=no
25646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25647 conftest$ac_exeext conftest.$ac_ext
25649 ac_cpp='$CPP $CPPFLAGS'
25650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25651 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25657 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25658 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25660 if test $wx_cv_func_va_copy = "yes"; then
25661 cat >>confdefs.h <<\_ACEOF
25662 #define HAVE_VA_COPY 1
25666 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25667 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25668 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25669 echo $ECHO_N "(cached) $ECHO_C" >&6
25672 if test "$cross_compiling" = yes; then
25673 wx_cv_type_va_list_lvalue=yes
25676 cat >conftest.$ac_ext <<_ACEOF
25678 #include <stdarg.h>
25679 int foo(char *f, ...)
25684 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25692 return foo("hi", 17);
25695 rm -f conftest$ac_exeext
25696 if { (ac_try="$ac_link"
25697 case "(($ac_try" in
25698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25699 *) ac_try_echo=$ac_try;;
25701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25702 (eval "$ac_link") 2>&5
25704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25705 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25706 { (case "(($ac_try" in
25707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25708 *) ac_try_echo=$ac_try;;
25710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25711 (eval "$ac_try") 2>&5
25713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25714 (exit $ac_status); }; }; then
25715 wx_cv_type_va_list_lvalue=yes
25717 echo "$as_me: program exited with status $ac_status" >&5
25718 echo "$as_me: failed program was:" >&5
25719 sed 's
/^
/| /' conftest.$ac_ext >&5
25721 ( exit $ac_status )
25722 wx_cv_type_va_list_lvalue=no
25724 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25731 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25732 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25734 if test $wx_cv_type_va_list_lvalue != "yes"; then
25735 cat >>confdefs.h <<\_ACEOF
25736 #define VA_LIST_IS_ARRAY 1
25742 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25744 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25745 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25746 if test "${wx_cv_have_variadic_macros+set}" = set; then
25747 echo $ECHO_N "(cached) $ECHO_C" >&6
25751 ac_cpp='$CXXCPP $CPPFLAGS'
25752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25753 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25756 cat >conftest.$ac_ext <<_ACEOF
25759 cat confdefs.h >>conftest.$ac_ext
25760 cat >>conftest.$ac_ext <<_ACEOF
25761 /* end confdefs.h. */
25764 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25770 test("%s %d %p", "test", 1, 0);
25777 rm -f conftest.$ac_objext
25778 if { (ac_try="$ac_compile"
25779 case "(($ac_try" in
25780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25781 *) ac_try_echo=$ac_try;;
25783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25784 (eval "$ac_compile") 2>conftest.er1
25786 grep -v '^
*+' conftest.er1 >conftest.err
25788 cat conftest.err >&5
25789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25790 (exit $ac_status); } && {
25791 test -z "$ac_cxx_werror_flag" ||
25792 test ! -s conftest.err
25793 } && test -s conftest.$ac_objext; then
25794 wx_cv_have_variadic_macros=yes
25796 echo "$as_me: failed program was:" >&5
25797 sed 's
/^
/| /' conftest.$ac_ext >&5
25799 wx_cv_have_variadic_macros=no
25803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25805 ac_cpp='$CPP $CPPFLAGS'
25806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25807 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25813 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25814 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25816 if test $wx_cv_have_variadic_macros = "yes"; then
25817 cat >>confdefs.h <<\_ACEOF
25818 #define HAVE_VARIADIC_MACROS 1
25824 # Check whether --enable-largefile was given.
25825 if test "${enable_largefile+set}" = set; then
25826 enableval=$enable_largefile;
25829 if test "$enable_largefile" != no; then
25832 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25833 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25834 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25835 echo $ECHO_N "(cached) $ECHO_C" >&6
25838 cat >conftest.$ac_ext <<_ACEOF
25841 cat confdefs.h >>conftest.$ac_ext
25842 cat >>conftest.$ac_ext <<_ACEOF
25843 /* end confdefs.h. */
25844 #define _FILE_OFFSET_BITS 64
25845 #include <sys/types.h>
25850 unsigned int field: sizeof(off_t) == 8;
25857 rm -f conftest.$ac_objext
25858 if { (ac_try="$ac_compile"
25859 case "(($ac_try" in
25860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25861 *) ac_try_echo=$ac_try;;
25863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25864 (eval "$ac_compile") 2>conftest.er1
25866 grep -v '^
*+' conftest.er1 >conftest.err
25868 cat conftest.err >&5
25869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25870 (exit $ac_status); } && {
25871 test -z "$ac_c_werror_flag" ||
25872 test ! -s conftest.err
25873 } && test -s conftest.$ac_objext; then
25874 ac_cv_sys_file_offset_bits=64
25876 echo "$as_me: failed program was:" >&5
25877 sed 's
/^
/| /' conftest.$ac_ext >&5
25879 ac_cv_sys_file_offset_bits=no
25882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25886 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25887 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25889 if test "$ac_cv_sys_file_offset_bits" != no; then
25891 cat >>confdefs.h <<_ACEOF
25892 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25897 if test "x$wx_largefile" != "xyes"; then
25899 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25900 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25901 if test "${ac_cv_sys_large_files+set}" = set; then
25902 echo $ECHO_N "(cached) $ECHO_C" >&6
25905 cat >conftest.$ac_ext <<_ACEOF
25908 cat confdefs.h >>conftest.$ac_ext
25909 cat >>conftest.$ac_ext <<_ACEOF
25910 /* end confdefs.h. */
25911 #define _LARGE_FILES 1
25912 #include <sys/types.h>
25917 unsigned int field: sizeof(off_t) == 8;
25924 rm -f conftest.$ac_objext
25925 if { (ac_try="$ac_compile"
25926 case "(($ac_try" in
25927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25928 *) ac_try_echo=$ac_try;;
25930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25931 (eval "$ac_compile") 2>conftest.er1
25933 grep -v '^
*+' conftest.er1 >conftest.err
25935 cat conftest.err >&5
25936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937 (exit $ac_status); } && {
25938 test -z "$ac_c_werror_flag" ||
25939 test ! -s conftest.err
25940 } && test -s conftest.$ac_objext; then
25941 ac_cv_sys_large_files=1
25943 echo "$as_me: failed program was:" >&5
25944 sed 's
/^
/| /' conftest.$ac_ext >&5
25946 ac_cv_sys_large_files=no
25949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25953 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25954 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25956 if test "$ac_cv_sys_large_files" != no; then
25958 cat >>confdefs.h <<_ACEOF
25959 #define _LARGE_FILES $ac_cv_sys_large_files
25966 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25967 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25968 if test "x$wx_largefile" = "xyes"; then
25969 cat >>confdefs.h <<\_ACEOF
25970 #define HAVE_LARGEFILE_SUPPORT 1
25974 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25975 echo "${ECHO_T}$wx_largefile" >&6; }
25979 if test "x$wx_largefile" = "xyes"; then
25980 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25981 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25983 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25984 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25985 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25986 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25987 echo $ECHO_N "(cached) $ECHO_C" >&6
25991 ac_cpp='$CXXCPP $CPPFLAGS'
25992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25993 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25996 cat >conftest.$ac_ext <<_ACEOF
25999 cat confdefs.h >>conftest.$ac_ext
26000 cat >>conftest.$ac_ext <<_ACEOF
26001 /* end confdefs.h. */
26007 #ifndef __STDC_EXT__
26015 rm -f conftest.$ac_objext
26016 if { (ac_try="$ac_compile"
26017 case "(($ac_try" in
26018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26019 *) ac_try_echo=$ac_try;;
26021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26022 (eval "$ac_compile") 2>conftest.er1
26024 grep -v '^
*+' conftest.er1 >conftest.err
26026 cat conftest.err >&5
26027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028 (exit $ac_status); } && {
26029 test -z "$ac_cxx_werror_flag" ||
26030 test ! -s conftest.err
26031 } && test -s conftest.$ac_objext; then
26032 wx_cv_STDC_EXT_required=no
26034 echo "$as_me: failed program was:" >&5
26035 sed 's
/^
/| /' conftest.$ac_ext >&5
26037 wx_cv_STDC_EXT_required=yes
26041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26043 ac_cpp='$CPP $CPPFLAGS'
26044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26045 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26051 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
26052 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
26053 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26054 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26058 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26060 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26061 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26062 if test "${ac_cv_sys_largefile_source+set}" = set; then
26063 echo $ECHO_N "(cached) $ECHO_C" >&6
26066 cat >conftest.$ac_ext <<_ACEOF
26069 cat confdefs.h >>conftest.$ac_ext
26070 cat >>conftest.$ac_ext <<_ACEOF
26071 /* end confdefs.h. */
26072 #include <sys/types.h> /* for off_t */
26077 int (*fp) (FILE *, off_t, int) = fseeko;
26078 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26083 rm -f conftest.$ac_objext conftest$ac_exeext
26084 if { (ac_try="$ac_link"
26085 case "(($ac_try" in
26086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26087 *) ac_try_echo=$ac_try;;
26089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26090 (eval "$ac_link") 2>conftest.er1
26092 grep -v '^
*+' conftest.er1 >conftest.err
26094 cat conftest.err >&5
26095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26096 (exit $ac_status); } && {
26097 test -z "$ac_c_werror_flag" ||
26098 test ! -s conftest.err
26099 } && test -s conftest$ac_exeext &&
26100 $as_test_x conftest$ac_exeext; then
26101 ac_cv_sys_largefile_source=no; break
26103 echo "$as_me: failed program was:" >&5
26104 sed 's
/^
/| /' conftest.$ac_ext >&5
26109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26110 conftest$ac_exeext conftest.$ac_ext
26111 cat >conftest.$ac_ext <<_ACEOF
26114 cat confdefs.h >>conftest.$ac_ext
26115 cat >>conftest.$ac_ext <<_ACEOF
26116 /* end confdefs.h. */
26117 #define _LARGEFILE_SOURCE 1
26118 #include <sys/types.h> /* for off_t */
26123 int (*fp) (FILE *, off_t, int) = fseeko;
26124 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26129 rm -f conftest.$ac_objext conftest$ac_exeext
26130 if { (ac_try="$ac_link"
26131 case "(($ac_try" in
26132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26133 *) ac_try_echo=$ac_try;;
26135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26136 (eval "$ac_link") 2>conftest.er1
26138 grep -v '^
*+' conftest.er1 >conftest.err
26140 cat conftest.err >&5
26141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26142 (exit $ac_status); } && {
26143 test -z "$ac_c_werror_flag" ||
26144 test ! -s conftest.err
26145 } && test -s conftest$ac_exeext &&
26146 $as_test_x conftest$ac_exeext; then
26147 ac_cv_sys_largefile_source=1; break
26149 echo "$as_me: failed program was:" >&5
26150 sed 's
/^
/| /' conftest.$ac_ext >&5
26155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26156 conftest$ac_exeext conftest.$ac_ext
26157 ac_cv_sys_largefile_source=unknown
26161 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26162 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26163 case $ac_cv_sys_largefile_source in #(
26166 cat >>confdefs.h <<_ACEOF
26167 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26173 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26174 # in glibc 2.1.3, but that breaks too many other things.
26175 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26176 if test $ac_cv_sys_largefile_source != unknown; then
26178 cat >>confdefs.h <<\_ACEOF
26179 #define HAVE_FSEEKO 1
26184 if test "$ac_cv_sys_largefile_source" != no; then
26185 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26189 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26190 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26191 if test "${ac_cv_c_bigendian+set}" = set; then
26192 echo $ECHO_N "(cached) $ECHO_C" >&6
26194 ac_cv_c_bigendian=unknown
26195 # See if sys/param.h defines the BYTE_ORDER macro.
26196 cat >conftest.$ac_ext <<_ACEOF
26199 cat confdefs.h >>conftest.$ac_ext
26200 cat >>conftest.$ac_ext <<_ACEOF
26201 /* end confdefs.h. */
26202 #include <sys/types.h>
26203 #include <sys/param.h>
26208 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26209 bogus endian macros
26215 rm -f conftest.$ac_objext
26216 if { (ac_try="$ac_compile"
26217 case "(($ac_try" in
26218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26219 *) ac_try_echo=$ac_try;;
26221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26222 (eval "$ac_compile") 2>conftest.er1
26224 grep -v '^
*+' conftest.er1 >conftest.err
26226 cat conftest.err >&5
26227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26228 (exit $ac_status); } && {
26229 test -z "$ac_c_werror_flag" ||
26230 test ! -s conftest.err
26231 } && test -s conftest.$ac_objext; then
26232 # It does; now see whether it defined to BIG_ENDIAN or not.
26233 cat >conftest.$ac_ext <<_ACEOF
26236 cat confdefs.h >>conftest.$ac_ext
26237 cat >>conftest.$ac_ext <<_ACEOF
26238 /* end confdefs.h. */
26239 #include <sys/types.h>
26240 #include <sys/param.h>
26245 #if BYTE_ORDER != BIG_ENDIAN
26252 rm -f conftest.$ac_objext
26253 if { (ac_try="$ac_compile"
26254 case "(($ac_try" in
26255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26256 *) ac_try_echo=$ac_try;;
26258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26259 (eval "$ac_compile") 2>conftest.er1
26261 grep -v '^
*+' conftest.er1 >conftest.err
26263 cat conftest.err >&5
26264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26265 (exit $ac_status); } && {
26266 test -z "$ac_c_werror_flag" ||
26267 test ! -s conftest.err
26268 } && test -s conftest.$ac_objext; then
26269 ac_cv_c_bigendian=yes
26271 echo "$as_me: failed program was:" >&5
26272 sed 's
/^
/| /' conftest.$ac_ext >&5
26274 ac_cv_c_bigendian=no
26277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26279 echo "$as_me: failed program was:" >&5
26280 sed 's
/^
/| /' conftest.$ac_ext >&5
26285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26286 if test $ac_cv_c_bigendian = unknown; then
26287 if test "$cross_compiling" = yes; then
26288 ac_cv_c_bigendian=unknown
26290 cat >conftest.$ac_ext <<_ACEOF
26293 cat confdefs.h >>conftest.$ac_ext
26294 cat >>conftest.$ac_ext <<_ACEOF
26295 /* end confdefs.h. */
26297 /* Are we little or big endian? From Harbison&Steele. */
26301 char c[sizeof (long)];
26304 exit (u.c[sizeof (long) - 1] == 1);
26307 rm -f conftest$ac_exeext
26308 if { (ac_try="$ac_link"
26309 case "(($ac_try" in
26310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26311 *) ac_try_echo=$ac_try;;
26313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26314 (eval "$ac_link") 2>&5
26316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26317 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
26318 { (case "(($ac_try" in
26319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26320 *) ac_try_echo=$ac_try;;
26322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26323 (eval "$ac_try") 2>&5
26325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26326 (exit $ac_status); }; }; then
26327 ac_cv_c_bigendian=no
26329 echo "$as_me: program exited with status $ac_status" >&5
26330 echo "$as_me: failed program was:" >&5
26331 sed 's
/^
/| /' conftest.$ac_ext >&5
26333 ( exit $ac_status )
26334 ac_cv_c_bigendian=yes
26336 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26342 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26343 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26344 if test $ac_cv_c_bigendian = unknown; then
26345 { 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
26346 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;}
26348 if test $ac_cv_c_bigendian = yes; then
26349 cat >>confdefs.h <<\_ACEOF
26350 #define WORDS_BIGENDIAN 1
26359 ac_cpp='$CXXCPP $CPPFLAGS'
26360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26361 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26366 for ac_header in iostream
26368 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26369 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26371 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26372 echo $ECHO_N "(cached) $ECHO_C" >&6
26374 cat >conftest.$ac_ext <<_ACEOF
26377 cat confdefs.h >>conftest.$ac_ext
26378 cat >>conftest.$ac_ext <<_ACEOF
26379 /* end confdefs.h. */
26382 #include <$ac_header>
26384 rm -f conftest.$ac_objext
26385 if { (ac_try="$ac_compile"
26386 case "(($ac_try" in
26387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26388 *) ac_try_echo=$ac_try;;
26390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26391 (eval "$ac_compile") 2>conftest.er1
26393 grep -v '^
*+' conftest.er1 >conftest.err
26395 cat conftest.err >&5
26396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26397 (exit $ac_status); } && {
26398 test -z "$ac_cxx_werror_flag" ||
26399 test ! -s conftest.err
26400 } && test -s conftest.$ac_objext; then
26401 eval "$as_ac_Header=yes"
26403 echo "$as_me: failed program was:" >&5
26404 sed 's
/^
/| /' conftest.$ac_ext >&5
26406 eval "$as_ac_Header=no"
26409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26411 ac_res=`eval echo '${'$as_ac_Header'}'`
26412 { echo "$as_me:$LINENO: result: $ac_res" >&5
26413 echo "${ECHO_T}$ac_res" >&6; }
26414 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26415 cat >>confdefs.h <<_ACEOF
26416 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26424 if test "$ac_cv_header_iostream" = "yes" ; then
26427 cat >>confdefs.h <<\_ACEOF
26428 #define wxUSE_IOSTREAMH 1
26434 ac_cpp='$CPP $CPPFLAGS'
26435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26436 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26442 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26443 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26444 if test "${wx_cv_cpp_bool+set}" = set; then
26445 echo $ECHO_N "(cached) $ECHO_C" >&6
26450 ac_cpp='$CXXCPP $CPPFLAGS'
26451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26452 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26456 cat >conftest.$ac_ext <<_ACEOF
26459 cat confdefs.h >>conftest.$ac_ext
26460 cat >>conftest.$ac_ext <<_ACEOF
26461 /* end confdefs.h. */
26476 rm -f conftest.$ac_objext
26477 if { (ac_try="$ac_compile"
26478 case "(($ac_try" in
26479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26480 *) ac_try_echo=$ac_try;;
26482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26483 (eval "$ac_compile") 2>conftest.er1
26485 grep -v '^
*+' conftest.er1 >conftest.err
26487 cat conftest.err >&5
26488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26489 (exit $ac_status); } && {
26490 test -z "$ac_cxx_werror_flag" ||
26491 test ! -s conftest.err
26492 } && test -s conftest.$ac_objext; then
26497 echo "$as_me: failed program was:" >&5
26498 sed 's
/^
/| /' conftest.$ac_ext >&5
26506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26509 ac_cpp='$CPP $CPPFLAGS'
26510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26511 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26516 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26517 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26519 if test "$wx_cv_cpp_bool" = "yes"; then
26520 cat >>confdefs.h <<\_ACEOF
26521 #define HAVE_BOOL 1
26528 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26529 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26530 if test "${wx_cv_explicit+set}" = set; then
26531 echo $ECHO_N "(cached) $ECHO_C" >&6
26536 ac_cpp='$CXXCPP $CPPFLAGS'
26537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26538 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26542 cat >conftest.$ac_ext <<_ACEOF
26545 cat confdefs.h >>conftest.$ac_ext
26546 cat >>conftest.$ac_ext <<_ACEOF
26547 /* end confdefs.h. */
26549 class Foo { public: explicit Foo(int) {} };
26561 rm -f conftest.$ac_objext
26562 if { (ac_try="$ac_compile"
26563 case "(($ac_try" in
26564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26565 *) ac_try_echo=$ac_try;;
26567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26568 (eval "$ac_compile") 2>conftest.er1
26570 grep -v '^
*+' conftest.er1 >conftest.err
26572 cat conftest.err >&5
26573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26574 (exit $ac_status); } && {
26575 test -z "$ac_cxx_werror_flag" ||
26576 test ! -s conftest.err
26577 } && test -s conftest.$ac_objext; then
26579 cat >conftest.$ac_ext <<_ACEOF
26582 cat confdefs.h >>conftest.$ac_ext
26583 cat >>conftest.$ac_ext <<_ACEOF
26584 /* end confdefs.h. */
26586 class Foo { public: explicit Foo(int) {} };
26587 static void TakeFoo(const Foo& foo) { }
26600 rm -f conftest.$ac_objext
26601 if { (ac_try="$ac_compile"
26602 case "(($ac_try" in
26603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26604 *) ac_try_echo=$ac_try;;
26606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26607 (eval "$ac_compile") 2>conftest.er1
26609 grep -v '^
*+' conftest.er1 >conftest.err
26611 cat conftest.err >&5
26612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26613 (exit $ac_status); } && {
26614 test -z "$ac_cxx_werror_flag" ||
26615 test ! -s conftest.err
26616 } && test -s conftest.$ac_objext; then
26619 echo "$as_me: failed program was:" >&5
26620 sed 's
/^
/| /' conftest.$ac_ext >&5
26626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26629 echo "$as_me: failed program was:" >&5
26630 sed 's
/^
/| /' conftest.$ac_ext >&5
26636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26639 ac_cpp='$CPP $CPPFLAGS'
26640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26641 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26646 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26647 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26649 if test "$wx_cv_explicit" = "yes"; then
26650 cat >>confdefs.h <<\_ACEOF
26651 #define HAVE_EXPLICIT 1
26657 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26658 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26659 if test "${ac_cv_cxx_const_cast+set}" = set; then
26660 echo $ECHO_N "(cached) $ECHO_C" >&6
26664 ac_cpp='$CXXCPP $CPPFLAGS'
26665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26666 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26669 cat >conftest.$ac_ext <<_ACEOF
26672 cat confdefs.h >>conftest.$ac_ext
26673 cat >>conftest.$ac_ext <<_ACEOF
26674 /* end confdefs.h. */
26679 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26684 rm -f conftest.$ac_objext
26685 if { (ac_try="$ac_compile"
26686 case "(($ac_try" in
26687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26688 *) ac_try_echo=$ac_try;;
26690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26691 (eval "$ac_compile") 2>conftest.er1
26693 grep -v '^
*+' conftest.er1 >conftest.err
26695 cat conftest.err >&5
26696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26697 (exit $ac_status); } && {
26698 test -z "$ac_cxx_werror_flag" ||
26699 test ! -s conftest.err
26700 } && test -s conftest.$ac_objext; then
26701 ac_cv_cxx_const_cast=yes
26703 echo "$as_me: failed program was:" >&5
26704 sed 's
/^
/| /' conftest.$ac_ext >&5
26706 ac_cv_cxx_const_cast=no
26709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26711 ac_cpp='$CPP $CPPFLAGS'
26712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26713 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26718 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26719 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26720 if test "$ac_cv_cxx_const_cast" = yes; then
26722 cat >>confdefs.h <<\_ACEOF
26723 #define HAVE_CONST_CAST
26728 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26729 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26730 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26731 echo $ECHO_N "(cached) $ECHO_C" >&6
26735 ac_cpp='$CXXCPP $CPPFLAGS'
26736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26737 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26740 cat >conftest.$ac_ext <<_ACEOF
26743 cat confdefs.h >>conftest.$ac_ext
26744 cat >>conftest.$ac_ext <<_ACEOF
26745 /* end confdefs.h. */
26746 #include <typeinfo>
26747 class Base { public : Base () {} virtual void f () = 0;};
26748 class Derived : public Base { public : Derived () {} virtual void f () {} };
26749 class Unrelated { public : Unrelated () {} };
26750 int g (Unrelated&) { return 0; }
26755 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26760 rm -f conftest.$ac_objext
26761 if { (ac_try="$ac_compile"
26762 case "(($ac_try" in
26763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26764 *) ac_try_echo=$ac_try;;
26766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26767 (eval "$ac_compile") 2>conftest.er1
26769 grep -v '^
*+' conftest.er1 >conftest.err
26771 cat conftest.err >&5
26772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26773 (exit $ac_status); } && {
26774 test -z "$ac_cxx_werror_flag" ||
26775 test ! -s conftest.err
26776 } && test -s conftest.$ac_objext; then
26777 ac_cv_cxx_reinterpret_cast=yes
26779 echo "$as_me: failed program was:" >&5
26780 sed 's
/^
/| /' conftest.$ac_ext >&5
26782 ac_cv_cxx_reinterpret_cast=no
26785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26787 ac_cpp='$CPP $CPPFLAGS'
26788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26789 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26794 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26795 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26796 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26798 cat >>confdefs.h <<\_ACEOF
26799 #define HAVE_REINTERPRET_CAST
26804 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26805 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26806 if test "${ac_cv_cxx_static_cast+set}" = set; then
26807 echo $ECHO_N "(cached) $ECHO_C" >&6
26811 ac_cpp='$CXXCPP $CPPFLAGS'
26812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26813 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26816 cat >conftest.$ac_ext <<_ACEOF
26819 cat confdefs.h >>conftest.$ac_ext
26820 cat >>conftest.$ac_ext <<_ACEOF
26821 /* end confdefs.h. */
26822 #include <typeinfo>
26823 class Base { public : Base () {} virtual void f () = 0; };
26824 class Derived : public Base { public : Derived () {} virtual void f () {} };
26825 int g (Derived&) { return 0; }
26830 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26835 rm -f conftest.$ac_objext
26836 if { (ac_try="$ac_compile"
26837 case "(($ac_try" in
26838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26839 *) ac_try_echo=$ac_try;;
26841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26842 (eval "$ac_compile") 2>conftest.er1
26844 grep -v '^
*+' conftest.er1 >conftest.err
26846 cat conftest.err >&5
26847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26848 (exit $ac_status); } && {
26849 test -z "$ac_cxx_werror_flag" ||
26850 test ! -s conftest.err
26851 } && test -s conftest.$ac_objext; then
26852 ac_cv_cxx_static_cast=yes
26854 echo "$as_me: failed program was:" >&5
26855 sed 's
/^
/| /' conftest.$ac_ext >&5
26857 ac_cv_cxx_static_cast=no
26860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26862 ac_cpp='$CPP $CPPFLAGS'
26863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26864 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26869 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26870 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26871 if test "$ac_cv_cxx_static_cast" = yes; then
26873 cat >>confdefs.h <<\_ACEOF
26874 #define HAVE_STATIC_CAST
26880 if test "x$SUNCXX" = xyes; then
26881 CXXFLAGS="-features=tmplife $CXXFLAGS"
26884 if test "x$SUNCC" = xyes; then
26885 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26888 if test "x$SGICC" = "xyes"; then
26889 CFLAGS="-woff 3970 $CFLAGS"
26891 if test "x$SGICXX" = "xyes"; then
26892 CXXFLAGS="-woff 3970 $CXXFLAGS"
26895 if test "x$HPCC" = "xyes"; then
26896 CFLAGS="+W 2011,2450 $CFLAGS"
26898 if test "x$HPCXX" = "xyes"; then
26899 CXXFLAGS="+W 2340 $CXXFLAGS"
26902 if test "x$COMPAQCXX" = "xyes"; then
26903 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26907 ac_cpp='$CXXCPP $CPPFLAGS'
26908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26909 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26913 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26914 if test "$wxUSE_UNICODE" = "yes"; then
26915 std_string="std::wstring"
26916 char_type="wchar_t"
26918 std_string="std::string"
26922 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26923 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26924 if test "${wx_cv_class_stdstring+set}" = set; then
26925 echo $ECHO_N "(cached) $ECHO_C" >&6
26928 cat >conftest.$ac_ext <<_ACEOF
26931 cat confdefs.h >>conftest.$ac_ext
26932 cat >>conftest.$ac_ext <<_ACEOF
26933 /* end confdefs.h. */
26943 rm -f conftest.$ac_objext
26944 if { (ac_try="$ac_compile"
26945 case "(($ac_try" in
26946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26947 *) ac_try_echo=$ac_try;;
26949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26950 (eval "$ac_compile") 2>conftest.er1
26952 grep -v '^
*+' conftest.er1 >conftest.err
26954 cat conftest.err >&5
26955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26956 (exit $ac_status); } && {
26957 test -z "$ac_cxx_werror_flag" ||
26958 test ! -s conftest.err
26959 } && test -s conftest.$ac_objext; then
26960 wx_cv_class_stdstring=yes
26962 echo "$as_me: failed program was:" >&5
26963 sed 's
/^
/| /' conftest.$ac_ext >&5
26965 wx_cv_class_stdstring=no
26969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26973 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26974 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26976 if test "$wx_cv_class_stdstring" = yes; then
26977 if test "$wxUSE_UNICODE" = "yes"; then
26978 cat >>confdefs.h <<\_ACEOF
26979 #define HAVE_STD_WSTRING 1
26984 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26985 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26986 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26987 echo $ECHO_N "(cached) $ECHO_C" >&6
26990 cat >conftest.$ac_ext <<_ACEOF
26993 cat confdefs.h >>conftest.$ac_ext
26994 cat >>conftest.$ac_ext <<_ACEOF
26995 /* end confdefs.h. */
26997 #ifdef HAVE_WCHAR_H
26999 # include <stddef.h>
27001 # include <wchar.h>
27003 #ifdef HAVE_STDLIB_H
27004 # include <stdlib.h>
27012 std::basic_string<$char_type> foo;
27013 const $char_type* dummy = foo.c_str();
27018 rm -f conftest.$ac_objext
27019 if { (ac_try="$ac_compile"
27020 case "(($ac_try" in
27021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27022 *) ac_try_echo=$ac_try;;
27024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27025 (eval "$ac_compile") 2>conftest.er1
27027 grep -v '^
*+' conftest.er1 >conftest.err
27029 cat conftest.err >&5
27030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27031 (exit $ac_status); } && {
27032 test -z "$ac_cxx_werror_flag" ||
27033 test ! -s conftest.err
27034 } && test -s conftest.$ac_objext; then
27035 wx_cv_class_stdbasicstring=yes
27037 echo "$as_me: failed program was:" >&5
27038 sed 's
/^
/| /' conftest.$ac_ext >&5
27040 wx_cv_class_stdbasicstring=no
27044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27048 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
27049 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
27051 if test "$wx_cv_class_stdbasicstring" != yes; then
27052 if test "$wxUSE_STL" = "yes"; then
27053 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
27054 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27055 { (exit 1); exit 1; }; }
27056 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27057 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
27058 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27059 { (exit 1); exit 1; }; }
27061 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27062 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27063 wxUSE_STD_STRING=no
27069 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27070 { echo "$as_me:$LINENO: checking for std::istream" >&5
27071 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27072 if test "${ac_cv_type_std__istream+set}" = set; then
27073 echo $ECHO_N "(cached) $ECHO_C" >&6
27075 cat >conftest.$ac_ext <<_ACEOF
27078 cat confdefs.h >>conftest.$ac_ext
27079 cat >>conftest.$ac_ext <<_ACEOF
27080 /* end confdefs.h. */
27081 #include <iostream>
27083 typedef std::istream ac__type_new_;
27087 if ((ac__type_new_ *) 0)
27089 if (sizeof (ac__type_new_))
27095 rm -f conftest.$ac_objext
27096 if { (ac_try="$ac_compile"
27097 case "(($ac_try" in
27098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27099 *) ac_try_echo=$ac_try;;
27101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27102 (eval "$ac_compile") 2>conftest.er1
27104 grep -v '^
*+' conftest.er1 >conftest.err
27106 cat conftest.err >&5
27107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27108 (exit $ac_status); } && {
27109 test -z "$ac_cxx_werror_flag" ||
27110 test ! -s conftest.err
27111 } && test -s conftest.$ac_objext; then
27112 ac_cv_type_std__istream=yes
27114 echo "$as_me: failed program was:" >&5
27115 sed 's
/^
/| /' conftest.$ac_ext >&5
27117 ac_cv_type_std__istream=no
27120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27122 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27123 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27124 if test $ac_cv_type_std__istream = yes; then
27126 cat >>confdefs.h <<_ACEOF
27127 #define HAVE_STD__ISTREAM 1
27132 wxUSE_STD_IOSTREAM=no
27134 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27135 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27136 if test "${ac_cv_type_std__ostream+set}" = set; then
27137 echo $ECHO_N "(cached) $ECHO_C" >&6
27139 cat >conftest.$ac_ext <<_ACEOF
27142 cat confdefs.h >>conftest.$ac_ext
27143 cat >>conftest.$ac_ext <<_ACEOF
27144 /* end confdefs.h. */
27145 #include <iostream>
27147 typedef std::ostream ac__type_new_;
27151 if ((ac__type_new_ *) 0)
27153 if (sizeof (ac__type_new_))
27159 rm -f conftest.$ac_objext
27160 if { (ac_try="$ac_compile"
27161 case "(($ac_try" in
27162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27163 *) ac_try_echo=$ac_try;;
27165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27166 (eval "$ac_compile") 2>conftest.er1
27168 grep -v '^
*+' conftest.er1 >conftest.err
27170 cat conftest.err >&5
27171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27172 (exit $ac_status); } && {
27173 test -z "$ac_cxx_werror_flag" ||
27174 test ! -s conftest.err
27175 } && test -s conftest.$ac_objext; then
27176 ac_cv_type_std__ostream=yes
27178 echo "$as_me: failed program was:" >&5
27179 sed 's
/^
/| /' conftest.$ac_ext >&5
27181 ac_cv_type_std__ostream=no
27184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27186 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27187 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27188 if test $ac_cv_type_std__ostream = yes; then
27190 cat >>confdefs.h <<_ACEOF
27191 #define HAVE_STD__OSTREAM 1
27196 wxUSE_STD_IOSTREAM=no
27200 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27201 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27202 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
27203 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27204 { (exit 1); exit 1; }; }
27206 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27207 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27212 if test "$wxUSE_STL" = "yes"; then
27213 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27214 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27215 if test "${wx_cv_lib_stl+set}" = set; then
27216 echo $ECHO_N "(cached) $ECHO_C" >&6
27218 cat >conftest.$ac_ext <<_ACEOF
27221 cat confdefs.h >>conftest.$ac_ext
27222 cat >>conftest.$ac_ext <<_ACEOF
27223 /* end confdefs.h. */
27225 #include <functional>
27226 #include <algorithm>
27232 std::vector<int> moo;
27233 std::list<int> foo;
27234 std::vector<int>::iterator it =
27235 std::find_if(moo.begin(), moo.end(),
27236 std::bind2nd(std::less<int>(), 3));
27241 rm -f conftest.$ac_objext
27242 if { (ac_try="$ac_compile"
27243 case "(($ac_try" in
27244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27245 *) ac_try_echo=$ac_try;;
27247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27248 (eval "$ac_compile") 2>conftest.er1
27250 grep -v '^
*+' conftest.er1 >conftest.err
27252 cat conftest.err >&5
27253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27254 (exit $ac_status); } && {
27255 test -z "$ac_cxx_werror_flag" ||
27256 test ! -s conftest.err
27257 } && test -s conftest.$ac_objext; then
27260 echo "$as_me: failed program was:" >&5
27261 sed 's
/^
/| /' conftest.$ac_ext >&5
27267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27270 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27271 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27273 if test "$wx_cv_lib_stl" != yes; then
27274 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
27275 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
27276 { (exit 1); exit 1; }; }
27279 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27280 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27281 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27282 echo $ECHO_N "(cached) $ECHO_C" >&6
27284 cat >conftest.$ac_ext <<_ACEOF
27287 cat confdefs.h >>conftest.$ac_ext
27288 cat >>conftest.$ac_ext <<_ACEOF
27289 /* end confdefs.h. */
27294 std::string foo, bar;
27296 foo.compare(1, 1, bar);
27297 foo.compare(1, 1, bar, 1, 1);
27299 foo.compare(1, 1, "");
27300 foo.compare(1, 1, "", 2);
27305 rm -f conftest.$ac_objext
27306 if { (ac_try="$ac_compile"
27307 case "(($ac_try" in
27308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27309 *) ac_try_echo=$ac_try;;
27311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27312 (eval "$ac_compile") 2>conftest.er1
27314 grep -v '^
*+' conftest.er1 >conftest.err
27316 cat conftest.err >&5
27317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27318 (exit $ac_status); } && {
27319 test -z "$ac_cxx_werror_flag" ||
27320 test ! -s conftest.err
27321 } && test -s conftest.$ac_objext; then
27322 wx_cv_func_stdstring_compare=yes
27324 echo "$as_me: failed program was:" >&5
27325 sed 's
/^
/| /' conftest.$ac_ext >&5
27327 wx_cv_func_stdstring_compare=no
27331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27334 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27335 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27337 if test "$wx_cv_func_stdstring_compare" = yes; then
27338 cat >>confdefs.h <<\_ACEOF
27339 #define HAVE_STD_STRING_COMPARE 1
27344 { echo "$as_me:$LINENO: checking for hash_map" >&5
27345 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27346 if test "${ac_cv_header_hash_map+set}" = set; then
27347 echo $ECHO_N "(cached) $ECHO_C" >&6
27349 cat >conftest.$ac_ext <<_ACEOF
27352 cat confdefs.h >>conftest.$ac_ext
27353 cat >>conftest.$ac_ext <<_ACEOF
27354 /* end confdefs.h. */
27358 #include <hash_map>
27360 rm -f conftest.$ac_objext
27361 if { (ac_try="$ac_compile"
27362 case "(($ac_try" in
27363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27364 *) ac_try_echo=$ac_try;;
27366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27367 (eval "$ac_compile") 2>conftest.er1
27369 grep -v '^
*+' conftest.er1 >conftest.err
27371 cat conftest.err >&5
27372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27373 (exit $ac_status); } && {
27374 test -z "$ac_cxx_werror_flag" ||
27375 test ! -s conftest.err
27376 } && test -s conftest.$ac_objext; then
27377 ac_cv_header_hash_map=yes
27379 echo "$as_me: failed program was:" >&5
27380 sed 's
/^
/| /' conftest.$ac_ext >&5
27382 ac_cv_header_hash_map=no
27385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27387 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27388 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27389 if test $ac_cv_header_hash_map = yes; then
27390 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27391 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27392 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27393 echo $ECHO_N "(cached) $ECHO_C" >&6
27395 cat >conftest.$ac_ext <<_ACEOF
27398 cat confdefs.h >>conftest.$ac_ext
27399 cat >>conftest.$ac_ext <<_ACEOF
27400 /* end confdefs.h. */
27401 #include <hash_map>
27402 #include <hash_set>
27406 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27407 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27412 rm -f conftest.$ac_objext
27413 if { (ac_try="$ac_compile"
27414 case "(($ac_try" in
27415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27416 *) ac_try_echo=$ac_try;;
27418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27419 (eval "$ac_compile") 2>conftest.er1
27421 grep -v '^
*+' conftest.er1 >conftest.err
27423 cat conftest.err >&5
27424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27425 (exit $ac_status); } && {
27426 test -z "$ac_cxx_werror_flag" ||
27427 test ! -s conftest.err
27428 } && test -s conftest.$ac_objext; then
27429 wx_cv_class_stdhashmapset=yes
27431 echo "$as_me: failed program was:" >&5
27432 sed 's
/^
/| /' conftest.$ac_ext >&5
27434 wx_cv_class_stdhashmapset=no
27437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27441 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27442 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27447 if test "$wx_cv_class_stdhashmapset" = yes; then
27448 cat >>confdefs.h <<\_ACEOF
27449 #define HAVE_HASH_MAP 1
27452 cat >>confdefs.h <<\_ACEOF
27453 #define HAVE_STD_HASH_MAP 1
27458 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27459 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27460 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27461 echo $ECHO_N "(cached) $ECHO_C" >&6
27463 cat >conftest.$ac_ext <<_ACEOF
27466 cat confdefs.h >>conftest.$ac_ext
27467 cat >>conftest.$ac_ext <<_ACEOF
27468 /* end confdefs.h. */
27472 #include <ext/hash_map>
27474 rm -f conftest.$ac_objext
27475 if { (ac_try="$ac_compile"
27476 case "(($ac_try" in
27477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27478 *) ac_try_echo=$ac_try;;
27480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27481 (eval "$ac_compile") 2>conftest.er1
27483 grep -v '^
*+' conftest.er1 >conftest.err
27485 cat conftest.err >&5
27486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27487 (exit $ac_status); } && {
27488 test -z "$ac_cxx_werror_flag" ||
27489 test ! -s conftest.err
27490 } && test -s conftest.$ac_objext; then
27491 ac_cv_header_ext_hash_map=yes
27493 echo "$as_me: failed program was:" >&5
27494 sed 's
/^
/| /' conftest.$ac_ext >&5
27496 ac_cv_header_ext_hash_map=no
27499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27501 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27502 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27503 if test $ac_cv_header_ext_hash_map = yes; then
27504 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27505 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27506 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27507 echo $ECHO_N "(cached) $ECHO_C" >&6
27509 cat >conftest.$ac_ext <<_ACEOF
27512 cat confdefs.h >>conftest.$ac_ext
27513 cat >>conftest.$ac_ext <<_ACEOF
27514 /* end confdefs.h. */
27515 #include <ext/hash_map>
27516 #include <ext/hash_set>
27520 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27521 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27526 rm -f conftest.$ac_objext
27527 if { (ac_try="$ac_compile"
27528 case "(($ac_try" in
27529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27530 *) ac_try_echo=$ac_try;;
27532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27533 (eval "$ac_compile") 2>conftest.er1
27535 grep -v '^
*+' conftest.er1 >conftest.err
27537 cat conftest.err >&5
27538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27539 (exit $ac_status); } && {
27540 test -z "$ac_cxx_werror_flag" ||
27541 test ! -s conftest.err
27542 } && test -s conftest.$ac_objext; then
27543 wx_cv_class_gnuhashmapset=yes
27545 echo "$as_me: failed program was:" >&5
27546 sed 's
/^
/| /' conftest.$ac_ext >&5
27548 wx_cv_class_gnuhashmapset=no
27551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27555 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27556 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27561 if test "$wx_cv_class_gnuhashmapset" = yes; then
27562 cat >>confdefs.h <<\_ACEOF
27563 #define HAVE_EXT_HASH_MAP 1
27566 cat >>confdefs.h <<\_ACEOF
27567 #define HAVE_GNU_CXX_HASH_MAP 1
27575 if test -n "$GCC"; then
27576 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
27577 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
27578 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27579 echo $ECHO_N "(cached) $ECHO_C" >&6
27582 cat >conftest.$ac_ext <<_ACEOF
27585 cat confdefs.h >>conftest.$ac_ext
27586 cat >>conftest.$ac_ext <<_ACEOF
27587 /* end confdefs.h. */
27594 __sync_fetch_and_add(&value, 1);
27595 __sync_sub_and_fetch(&value, 1);
27601 rm -f conftest.$ac_objext
27602 if { (ac_try="$ac_compile"
27603 case "(($ac_try" in
27604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27605 *) ac_try_echo=$ac_try;;
27607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27608 (eval "$ac_compile") 2>conftest.er1
27610 grep -v '^
*+' conftest.er1 >conftest.err
27612 cat conftest.err >&5
27613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614 (exit $ac_status); } && {
27615 test -z "$ac_cxx_werror_flag" ||
27616 test ! -s conftest.err
27617 } && test -s conftest.$ac_objext; then
27618 wx_cv_cc_gcc_atomic_builtins=yes
27620 echo "$as_me: failed program was:" >&5
27621 sed 's
/^
/| /' conftest.$ac_ext >&5
27623 wx_cv_cc_gcc_atomic_builtins=no
27626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27630 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27631 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27632 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27633 cat >>confdefs.h <<\_ACEOF
27634 #define HAVE_GCC_ATOMIC_BUILTINS 1
27642 ac_cpp='$CPP $CPPFLAGS'
27643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27644 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27650 /usr/local/include \
27652 /usr/Motif-2.1/include \
27653 /usr/Motif-1.2/include \
27654 /usr/include/Motif1.2 \
27657 /usr/openwin/include \
27661 /usr/X11R6/include \
27662 /usr/X11R6.4/include \
27663 /usr/X11R5/include \
27664 /usr/X11R4/include \
27666 /usr/include/X11R6 \
27667 /usr/include/X11R5 \
27668 /usr/include/X11R4 \
27670 /usr/local/X11R6/include \
27671 /usr/local/X11R5/include \
27672 /usr/local/X11R4/include \
27674 /usr/local/include/X11R6 \
27675 /usr/local/include/X11R5 \
27676 /usr/local/include/X11R4 \
27680 /usr/local/X11/include \
27681 /usr/local/include/X11 \
27683 /usr/XFree86/include/X11 \
27686 /usr/openwin/share/include"
27688 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27689 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27693 if test "${wx_cv_std_libpath+set}" = set; then
27694 echo $ECHO_N "(cached) $ECHO_C" >&6
27697 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27698 for e in a so sl dylib dll.a; do
27700 if test -f $libc; then
27703 cat >conftest.$ac_ext <<_ACEOF
27704 int main() { return 0; }
27706 rm -f conftest.$ac_objext conftest$ac_exeext
27707 if { (ac_try="$ac_link"
27708 case "(($ac_try" in
27709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27710 *) ac_try_echo=$ac_try;;
27712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27713 (eval "$ac_link") 2>conftest.er1
27715 grep -v '^
*+' conftest.er1 >conftest.err
27717 cat conftest.err >&5
27718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27719 (exit $ac_status); } && {
27720 test -z "$ac_c_werror_flag" ||
27721 test ! -s conftest.err
27722 } && test -s conftest$ac_exeext &&
27723 $as_test_x conftest$ac_exeext; then
27724 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27726 echo "$as_me: failed program was:" >&5
27727 sed 's
/^
/| /' conftest.$ac_ext >&5
27732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27733 conftest$ac_exeext conftest.$ac_ext
27735 if test "x$wx_cv_std_libpath" != "x"; then
27741 if test "x$wx_cv_std_libpath" = "x"; then
27742 wx_cv_std_libpath="lib"
27751 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27752 wx_cv_std_libpath="lib/64"
27754 wx_cv_std_libpath="lib"
27759 if test "$ac_cv_sizeof_void_p" = 8 -a \
27760 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27761 wx_cv_std_libpath="lib64"
27763 wx_cv_std_libpath="lib"
27768 wx_cv_std_libpath="lib";
27772 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27773 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27775 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27777 if test "$build" != "$host" -a "$GCC" = yes; then
27778 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27779 cross_root=`dirname $cross_root`
27780 cross_root=`dirname $cross_root`
27782 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27783 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27784 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27786 if test -z "$PKG_CONFIG_PATH"; then
27787 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27788 export PKG_CONFIG_PATH
27791 if test -z "$x_includes" -o "$x_includes" = NONE; then
27794 for ac_dir in $SEARCH_INCLUDE /usr/include;
27796 if test -f "$ac_dir/X11/Intrinsic.h"; then
27797 ac_find_includes=$ac_dir
27802 x_includes=$ac_find_includes
27804 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27807 for ac_dir in $SEARCH_LIB;
27809 for ac_extension in a so sl dylib dll.a; do
27810 if test -f "$ac_dir/libXt.$ac_extension"; then
27811 ac_find_libraries=$ac_dir
27817 x_libraries=$ac_find_libraries
27823 cat >confcache <<\_ACEOF
27824 # This file is a shell script that caches the results of configure
27825 # tests run on this system so they can be shared between configure
27826 # scripts and configure runs, see configure's option
--config-cache.
27827 # It is not useful on other systems. If it contains results you don't
27828 # want to keep, you may remove or edit it.
27830 # config.status only pays attention to the cache file if you give it
27831 # the --recheck option to rerun configure.
27833 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27834 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27835 # following values.
27839 # The following way of writing the cache mishandles newlines in values,
27840 # but we know of no workaround that is simple, portable, and efficient.
27841 # So, we kill variables containing newlines.
27842 # Ultrix sh set writes to stderr and can't be redirected directly,
27843 # and sets the high bit in the cache file unless we assign to the vars.
27845 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27846 eval ac_val
=\$
$ac_var
27850 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27851 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27854 _
| IFS
| as_nl
) ;; #(
27855 *) $as_unset $ac_var ;;
27861 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27862 *${as_nl}ac_space
=\
*)
27863 # `set' does not quote correctly, so add quotes (double-quote
27864 # substitution turns \\\\ into \\, and sed turns \\ into \).
27867 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27870 # `set' quotes correctly as required by POSIX, so do not add quotes.
27871 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27880 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27882 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27884 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27885 if test -w "$cache_file"; then
27886 test "x$cache_file" != "x/dev/null" &&
27887 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27888 echo "$as_me: updating cache $cache_file" >&6;}
27889 cat confcache
>$cache_file
27891 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27892 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27897 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27898 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27899 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27900 if test "${wx_cv_lib_glibc21+set}" = set; then
27901 echo $ECHO_N "(cached) $ECHO_C" >&6
27904 cat >conftest.
$ac_ext <<_ACEOF
27907 cat confdefs.h
>>conftest.
$ac_ext
27908 cat >>conftest.
$ac_ext <<_ACEOF
27909 /* end confdefs.h. */
27910 #include <features.h>
27915 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27923 rm -f conftest.
$ac_objext
27924 if { (ac_try
="$ac_compile"
27925 case "(($ac_try" in
27926 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27927 *) ac_try_echo=$ac_try;;
27929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27930 (eval "$ac_compile") 2>conftest.er1
27932 grep -v '^ *+' conftest.er1 >conftest.err
27934 cat conftest.err >&5
27935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27936 (exit $ac_status); } && {
27937 test -z "$ac_c_werror_flag" ||
27938 test ! -s conftest.err
27939 } && test -s conftest.$ac_objext; then
27941 wx_cv_lib_glibc21=yes
27944 echo "$as_me: failed program was:" >&5
27945 sed 's/^/| /' conftest.$ac_ext >&5
27948 wx_cv_lib_glibc21=no
27953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27956 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27957 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27958 if test "$wx_cv_lib_glibc21" = "yes"; then
27959 cat >>confdefs.h <<\_ACEOF
27960 #define wxHAVE_GLIBC2 1
27966 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27967 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27968 cat >>confdefs.h <<\_ACEOF
27969 #define _GNU_SOURCE 1
27980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27981 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27983 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27984 echo $ECHO_N "(cached) $ECHO_C" >&6
27986 cat >conftest.$ac_ext <<_ACEOF
27989 cat confdefs.h >>conftest.$ac_ext
27990 cat >>conftest.$ac_ext <<_ACEOF
27991 /* end confdefs.h. */
27992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27994 #define $ac_func innocuous_$ac_func
27996 /* System header to define __stub macros and hopefully few prototypes,
27997 which can conflict with char $ac_func (); below.
27998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27999 <limits.h> exists even on freestanding compilers. */
28002 # include <limits.h>
28004 # include <assert.h>
28009 /* Override any GCC internal prototype to avoid an error.
28010 Use char because int might match the return type of a GCC
28011 builtin and then its argument prototype would still apply. */
28016 /* The GNU C library defines this for functions which it implements
28017 to always fail with ENOSYS. Some functions are actually named
28018 something starting with __ and the normal name is an alias. */
28019 #if defined __stub_$ac_func || defined __stub___$ac_func
28026 return $ac_func ();
28031 rm -f conftest.$ac_objext conftest$ac_exeext
28032 if { (ac_try="$ac_link"
28033 case "(($ac_try" in
28034 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28035 *) ac_try_echo
=$ac_try;;
28037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28038 (eval "$ac_link") 2>conftest.er1
28040 grep -v '^ *+' conftest.er1
>conftest.err
28042 cat conftest.err
>&5
28043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28044 (exit $ac_status); } && {
28045 test -z "$ac_c_werror_flag" ||
28046 test ! -s conftest.err
28047 } && test -s conftest
$ac_exeext &&
28048 $as_test_x conftest
$ac_exeext; then
28049 eval "$as_ac_var=yes"
28051 echo "$as_me: failed program was:" >&5
28052 sed 's/^/| /' conftest.
$ac_ext >&5
28054 eval "$as_ac_var=no"
28057 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28058 conftest
$ac_exeext conftest.
$ac_ext
28060 ac_res
=`eval echo '${'$as_ac_var'}'`
28061 { echo "$as_me:$LINENO: result: $ac_res" >&5
28062 echo "${ECHO_T}$ac_res" >&6; }
28063 if test `eval echo '${'$as_ac_var'}'` = yes; then
28064 cat >>confdefs.h
<<_ACEOF
28065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28072 for ac_func
in floor
28074 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28075 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28077 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28078 echo $ECHO_N "(cached) $ECHO_C" >&6
28080 cat >conftest.
$ac_ext <<_ACEOF
28083 cat confdefs.h
>>conftest.
$ac_ext
28084 cat >>conftest.
$ac_ext <<_ACEOF
28085 /* end confdefs.h. */
28086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28088 #define $ac_func innocuous_$ac_func
28090 /* System header to define __stub macros and hopefully few prototypes,
28091 which can conflict with char $ac_func (); below.
28092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28093 <limits.h> exists even on freestanding compilers. */
28096 # include <limits.h>
28098 # include <assert.h>
28103 /* Override any GCC internal prototype to avoid an error.
28104 Use char because int might match the return type of a GCC
28105 builtin and then its argument prototype would still apply. */
28110 /* The GNU C library defines this for functions which it implements
28111 to always fail with ENOSYS. Some functions are actually named
28112 something starting with __ and the normal name is an alias. */
28113 #if defined __stub_$ac_func || defined __stub___$ac_func
28120 return $ac_func ();
28125 rm -f conftest.
$ac_objext conftest
$ac_exeext
28126 if { (ac_try
="$ac_link"
28127 case "(($ac_try" in
28128 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28129 *) ac_try_echo=$ac_try;;
28131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28132 (eval "$ac_link") 2>conftest.er1
28134 grep -v '^ *+' conftest.er1 >conftest.err
28136 cat conftest.err >&5
28137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28138 (exit $ac_status); } && {
28139 test -z "$ac_c_werror_flag" ||
28140 test ! -s conftest.err
28141 } && test -s conftest$ac_exeext &&
28142 $as_test_x conftest$ac_exeext; then
28143 eval "$as_ac_var=yes"
28145 echo "$as_me: failed program was:" >&5
28146 sed 's/^/| /' conftest.$ac_ext >&5
28148 eval "$as_ac_var=no"
28151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28152 conftest$ac_exeext conftest.$ac_ext
28154 ac_res=`eval echo '${'$as_ac_var'}'`
28155 { echo "$as_me:$LINENO: result: $ac_res" >&5
28156 echo "${ECHO_T}$ac_res" >&6; }
28157 if test `eval echo '${'$as_ac_var'}'` = yes; then
28158 cat >>confdefs.h <<_ACEOF
28159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28165 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28166 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28167 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28168 { echo "$as_me:$LINENO: result: yes" >&5
28169 echo "${ECHO_T}yes" >&6; }
28171 { echo "$as_me:$LINENO: result: no" >&5
28172 echo "${ECHO_T}no" >&6; }
28174 # use different functions to avoid configure caching
28180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28181 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28183 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28184 echo $ECHO_N "(cached) $ECHO_C" >&6
28186 cat >conftest.$ac_ext <<_ACEOF
28189 cat confdefs.h >>conftest.$ac_ext
28190 cat >>conftest.$ac_ext <<_ACEOF
28191 /* end confdefs.h. */
28192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28194 #define $ac_func innocuous_$ac_func
28196 /* System header to define __stub macros and hopefully few prototypes,
28197 which can conflict with char $ac_func (); below.
28198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28199 <limits.h> exists even on freestanding compilers. */
28202 # include <limits.h>
28204 # include <assert.h>
28209 /* Override any GCC internal prototype to avoid an error.
28210 Use char because int might match the return type of a GCC
28211 builtin and then its argument prototype would still apply. */
28216 /* The GNU C library defines this for functions which it implements
28217 to always fail with ENOSYS. Some functions are actually named
28218 something starting with __ and the normal name is an alias. */
28219 #if defined __stub_$ac_func || defined __stub___$ac_func
28226 return $ac_func ();
28231 rm -f conftest.$ac_objext conftest$ac_exeext
28232 if { (ac_try="$ac_link"
28233 case "(($ac_try" in
28234 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28235 *) ac_try_echo
=$ac_try;;
28237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28238 (eval "$ac_link") 2>conftest.er1
28240 grep -v '^ *+' conftest.er1
>conftest.err
28242 cat conftest.err
>&5
28243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28244 (exit $ac_status); } && {
28245 test -z "$ac_c_werror_flag" ||
28246 test ! -s conftest.err
28247 } && test -s conftest
$ac_exeext &&
28248 $as_test_x conftest
$ac_exeext; then
28249 eval "$as_ac_var=yes"
28251 echo "$as_me: failed program was:" >&5
28252 sed 's/^/| /' conftest.
$ac_ext >&5
28254 eval "$as_ac_var=no"
28257 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28258 conftest
$ac_exeext conftest.
$ac_ext
28260 ac_res
=`eval echo '${'$as_ac_var'}'`
28261 { echo "$as_me:$LINENO: result: $ac_res" >&5
28262 echo "${ECHO_T}$ac_res" >&6; }
28263 if test `eval echo '${'$as_ac_var'}'` = yes; then
28264 cat >>confdefs.h
<<_ACEOF
28265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28272 for ac_func
in ceil
28274 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28275 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28277 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28278 echo $ECHO_N "(cached) $ECHO_C" >&6
28280 cat >conftest.
$ac_ext <<_ACEOF
28283 cat confdefs.h
>>conftest.
$ac_ext
28284 cat >>conftest.
$ac_ext <<_ACEOF
28285 /* end confdefs.h. */
28286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28288 #define $ac_func innocuous_$ac_func
28290 /* System header to define __stub macros and hopefully few prototypes,
28291 which can conflict with char $ac_func (); below.
28292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28293 <limits.h> exists even on freestanding compilers. */
28296 # include <limits.h>
28298 # include <assert.h>
28303 /* Override any GCC internal prototype to avoid an error.
28304 Use char because int might match the return type of a GCC
28305 builtin and then its argument prototype would still apply. */
28310 /* The GNU C library defines this for functions which it implements
28311 to always fail with ENOSYS. Some functions are actually named
28312 something starting with __ and the normal name is an alias. */
28313 #if defined __stub_$ac_func || defined __stub___$ac_func
28320 return $ac_func ();
28325 rm -f conftest.
$ac_objext conftest
$ac_exeext
28326 if { (ac_try
="$ac_link"
28327 case "(($ac_try" in
28328 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28329 *) ac_try_echo=$ac_try;;
28331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28332 (eval "$ac_link") 2>conftest.er1
28334 grep -v '^ *+' conftest.er1 >conftest.err
28336 cat conftest.err >&5
28337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28338 (exit $ac_status); } && {
28339 test -z "$ac_c_werror_flag" ||
28340 test ! -s conftest.err
28341 } && test -s conftest$ac_exeext &&
28342 $as_test_x conftest$ac_exeext; then
28343 eval "$as_ac_var=yes"
28345 echo "$as_me: failed program was:" >&5
28346 sed 's/^/| /' conftest.$ac_ext >&5
28348 eval "$as_ac_var=no"
28351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28352 conftest$ac_exeext conftest.$ac_ext
28354 ac_res=`eval echo '${'$as_ac_var'}'`
28355 { echo "$as_me:$LINENO: result: $ac_res" >&5
28356 echo "${ECHO_T}$ac_res" >&6; }
28357 if test `eval echo '${'$as_ac_var'}'` = yes; then
28358 cat >>confdefs.h <<_ACEOF
28359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28365 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28366 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28367 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28368 { echo "$as_me:$LINENO: result: yes" >&5
28369 echo "${ECHO_T}yes" >&6; }
28371 { echo "$as_me:$LINENO: result: no" >&5
28372 echo "${ECHO_T}no" >&6; }
28373 # not sure we should warn the user, crash, etc.
28378 ac_cpp='$CXXCPP $CPPFLAGS'
28379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28383 if test "wxUSE_UNICODE" = "yes"; then
28385 for wx_func in wcstoull
28387 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28388 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28389 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28390 echo $ECHO_N "(cached) $ECHO_C" >&6
28393 cat >conftest.$ac_ext <<_ACEOF
28397 cat confdefs.h >>conftest.$ac_ext
28398 cat >>conftest.$ac_ext <<_ACEOF
28399 /* end confdefs.h. */
28402 $ac_includes_default
28418 rm -f conftest.$ac_objext conftest$ac_exeext
28419 if { (ac_try="$ac_link"
28420 case "(($ac_try" in
28421 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28422 *) ac_try_echo
=$ac_try;;
28424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28425 (eval "$ac_link") 2>conftest.er1
28427 grep -v '^ *+' conftest.er1
>conftest.err
28429 cat conftest.err
>&5
28430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28431 (exit $ac_status); } && {
28432 test -z "$ac_cxx_werror_flag" ||
28433 test ! -s conftest.err
28434 } && test -s conftest
$ac_exeext &&
28435 $as_test_x conftest
$ac_exeext; then
28436 eval wx_cv_func_
$wx_func=yes
28438 echo "$as_me: failed program was:" >&5
28439 sed 's/^/| /' conftest.
$ac_ext >&5
28441 eval wx_cv_func_
$wx_func=no
28444 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28445 conftest
$ac_exeext conftest.
$ac_ext
28448 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
28449 { echo "$as_me:$LINENO: result: $ac_res" >&5
28450 echo "${ECHO_T}$ac_res" >&6; }
28452 if eval test \
$wx_cv_func_$wx_func = yes
28454 cat >>confdefs.h
<<_ACEOF
28455 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28467 for wx_func
in strtoull
28469 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28470 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28471 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28472 echo $ECHO_N "(cached) $ECHO_C" >&6
28475 cat >conftest.
$ac_ext <<_ACEOF
28479 cat confdefs.h
>>conftest.
$ac_ext
28480 cat >>conftest.
$ac_ext <<_ACEOF
28481 /* end confdefs.h. */
28484 $ac_includes_default
28500 rm -f conftest.
$ac_objext conftest
$ac_exeext
28501 if { (ac_try
="$ac_link"
28502 case "(($ac_try" in
28503 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28504 *) ac_try_echo=$ac_try;;
28506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28507 (eval "$ac_link") 2>conftest.er1
28509 grep -v '^ *+' conftest.er1 >conftest.err
28511 cat conftest.err >&5
28512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28513 (exit $ac_status); } && {
28514 test -z "$ac_cxx_werror_flag" ||
28515 test ! -s conftest.err
28516 } && test -s conftest$ac_exeext &&
28517 $as_test_x conftest$ac_exeext; then
28518 eval wx_cv_func_$wx_func=yes
28520 echo "$as_me: failed program was:" >&5
28521 sed 's/^/| /' conftest.$ac_ext >&5
28523 eval wx_cv_func_$wx_func=no
28526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28527 conftest$ac_exeext conftest.$ac_ext
28530 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28531 { echo "$as_me:$LINENO: result: $ac_res" >&5
28532 echo "${ECHO_T}$ac_res" >&6; }
28534 if eval test \$wx_cv_func_$wx_func = yes
28536 cat >>confdefs.h <<_ACEOF
28537 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28549 ac_cpp='$CPP $CPPFLAGS'
28550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28557 if test "$wxUSE_REGEX" != "no"; then
28558 cat >>confdefs.h <<\_ACEOF
28559 #define wxUSE_REGEX 1
28563 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28564 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28565 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28566 wxUSE_REGEX=builtin
28569 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28570 { echo "$as_me:$LINENO: checking for regex.h" >&5
28571 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28572 if test "${ac_cv_header_regex_h+set}" = set; then
28573 echo $ECHO_N "(cached) $ECHO_C" >&6
28575 cat >conftest.$ac_ext <<_ACEOF
28578 cat confdefs.h >>conftest.$ac_ext
28579 cat >>conftest.$ac_ext <<_ACEOF
28580 /* end confdefs.h. */
28585 rm -f conftest.$ac_objext
28586 if { (ac_try="$ac_compile"
28587 case "(($ac_try" in
28588 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28589 *) ac_try_echo
=$ac_try;;
28591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28592 (eval "$ac_compile") 2>conftest.er1
28594 grep -v '^ *+' conftest.er1
>conftest.err
28596 cat conftest.err
>&5
28597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28598 (exit $ac_status); } && {
28599 test -z "$ac_c_werror_flag" ||
28600 test ! -s conftest.err
28601 } && test -s conftest.
$ac_objext; then
28602 ac_cv_header_regex_h
=yes
28604 echo "$as_me: failed program was:" >&5
28605 sed 's/^/| /' conftest.
$ac_ext >&5
28607 ac_cv_header_regex_h
=no
28610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28612 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28613 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28614 if test $ac_cv_header_regex_h = yes; then
28617 for ac_func
in regcomp re_search
28619 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28620 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28622 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28623 echo $ECHO_N "(cached) $ECHO_C" >&6
28625 cat >conftest.
$ac_ext <<_ACEOF
28628 cat confdefs.h
>>conftest.
$ac_ext
28629 cat >>conftest.
$ac_ext <<_ACEOF
28630 /* end confdefs.h. */
28631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28633 #define $ac_func innocuous_$ac_func
28635 /* System header to define __stub macros and hopefully few prototypes,
28636 which can conflict with char $ac_func (); below.
28637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28638 <limits.h> exists even on freestanding compilers. */
28641 # include <limits.h>
28643 # include <assert.h>
28648 /* Override any GCC internal prototype to avoid an error.
28649 Use char because int might match the return type of a GCC
28650 builtin and then its argument prototype would still apply. */
28655 /* The GNU C library defines this for functions which it implements
28656 to always fail with ENOSYS. Some functions are actually named
28657 something starting with __ and the normal name is an alias. */
28658 #if defined __stub_$ac_func || defined __stub___$ac_func
28665 return $ac_func ();
28670 rm -f conftest.
$ac_objext conftest
$ac_exeext
28671 if { (ac_try
="$ac_link"
28672 case "(($ac_try" in
28673 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28674 *) ac_try_echo=$ac_try;;
28676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28677 (eval "$ac_link") 2>conftest.er1
28679 grep -v '^ *+' conftest.er1 >conftest.err
28681 cat conftest.err >&5
28682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28683 (exit $ac_status); } && {
28684 test -z "$ac_c_werror_flag" ||
28685 test ! -s conftest.err
28686 } && test -s conftest$ac_exeext &&
28687 $as_test_x conftest$ac_exeext; then
28688 eval "$as_ac_var=yes"
28690 echo "$as_me: failed program was:" >&5
28691 sed 's/^/| /' conftest.$ac_ext >&5
28693 eval "$as_ac_var=no"
28696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28697 conftest$ac_exeext conftest.$ac_ext
28699 ac_res=`eval echo '${'$as_ac_var'}'`
28700 { echo "$as_me:$LINENO: result: $ac_res" >&5
28701 echo "${ECHO_T}$ac_res" >&6; }
28702 if test `eval echo '${'$as_ac_var'}'` = yes; then
28703 cat >>confdefs.h <<_ACEOF
28704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28714 if test "x$ac_cv_func_regcomp" != "xyes"; then
28715 if test "$wxUSE_REGEX" = "sys" ; then
28716 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28717 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28718 { (exit 1); exit 1; }; }
28720 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28721 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28722 wxUSE_REGEX=builtin
28726 cat >>confdefs.h <<\_ACEOF
28727 #define WX_NO_REGEX_ADVANCED 1
28736 if test "$wxUSE_ZLIB" != "no" ; then
28737 cat >>confdefs.h <<\_ACEOF
28738 #define wxUSE_ZLIB 1
28742 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28743 if test "$USE_DARWIN" = 1; then
28744 system_zlib_h_ok="yes"
28746 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28747 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28748 if test "${ac_cv_header_zlib_h+set}" = set; then
28749 echo $ECHO_N "(cached) $ECHO_C" >&6
28751 if test "$cross_compiling" = yes; then
28752 unset ac_cv_header_zlib_h
28755 cat >conftest.$ac_ext <<_ACEOF
28758 cat confdefs.h >>conftest.$ac_ext
28759 cat >>conftest.$ac_ext <<_ACEOF
28760 /* end confdefs.h. */
28767 FILE *f=fopen("conftestval", "w");
28770 ZLIB_VERSION[0] == '1' &&
28771 (ZLIB_VERSION[2] > '1' ||
28772 (ZLIB_VERSION[2] == '1' &&
28773 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28778 rm -f conftest$ac_exeext
28779 if { (ac_try="$ac_link"
28780 case "(($ac_try" in
28781 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28782 *) ac_try_echo
=$ac_try;;
28784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28785 (eval "$ac_link") 2>&5
28787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28788 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28789 { (case "(($ac_try" in
28790 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28791 *) ac_try_echo=$ac_try;;
28793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28794 (eval "$ac_try") 2>&5
28796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28797 (exit $ac_status); }; }; then
28798 ac_cv_header_zlib_h=`cat conftestval
`
28800 echo "$as_me: program exited with status $ac_status" >&5
28801 echo "$as_me: failed program was:" >&5
28802 sed 's/^/| /' conftest.$ac_ext >&5
28804 ( exit $ac_status )
28805 ac_cv_header_zlib_h=no
28807 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28813 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28814 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28815 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28816 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28817 if test "${ac_cv_header_zlib_h+set}" = set; then
28818 echo $ECHO_N "(cached) $ECHO_C" >&6
28820 cat >conftest.$ac_ext <<_ACEOF
28823 cat confdefs.h >>conftest.$ac_ext
28824 cat >>conftest.$ac_ext <<_ACEOF
28825 /* end confdefs.h. */
28830 rm -f conftest.$ac_objext
28831 if { (ac_try="$ac_compile"
28832 case "(($ac_try" in
28833 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28834 *) ac_try_echo
=$ac_try;;
28836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28837 (eval "$ac_compile") 2>conftest.er1
28839 grep -v '^ *+' conftest.er1
>conftest.err
28841 cat conftest.err
>&5
28842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28843 (exit $ac_status); } && {
28844 test -z "$ac_c_werror_flag" ||
28845 test ! -s conftest.err
28846 } && test -s conftest.
$ac_objext; then
28847 ac_cv_header_zlib_h
=yes
28849 echo "$as_me: failed program was:" >&5
28850 sed 's/^/| /' conftest.
$ac_ext >&5
28852 ac_cv_header_zlib_h
=no
28855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28857 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28858 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28862 system_zlib_h_ok
=$ac_cv_header_zlib_h
28865 if test "$system_zlib_h_ok" = "yes"; then
28866 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28867 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28868 if test "${ac_cv_lib_z_deflate+set}" = set; then
28869 echo $ECHO_N "(cached) $ECHO_C" >&6
28871 ac_check_lib_save_LIBS
=$LIBS
28873 cat >conftest.
$ac_ext <<_ACEOF
28876 cat confdefs.h
>>conftest.
$ac_ext
28877 cat >>conftest.
$ac_ext <<_ACEOF
28878 /* end confdefs.h. */
28880 /* Override any GCC internal prototype to avoid an error.
28881 Use char because int might match the return type of a GCC
28882 builtin and then its argument prototype would still apply. */
28895 rm -f conftest.
$ac_objext conftest
$ac_exeext
28896 if { (ac_try
="$ac_link"
28897 case "(($ac_try" in
28898 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28899 *) ac_try_echo=$ac_try;;
28901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28902 (eval "$ac_link") 2>conftest.er1
28904 grep -v '^ *+' conftest.er1 >conftest.err
28906 cat conftest.err >&5
28907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28908 (exit $ac_status); } && {
28909 test -z "$ac_c_werror_flag" ||
28910 test ! -s conftest.err
28911 } && test -s conftest$ac_exeext &&
28912 $as_test_x conftest$ac_exeext; then
28913 ac_cv_lib_z_deflate=yes
28915 echo "$as_me: failed program was:" >&5
28916 sed 's/^/| /' conftest.$ac_ext >&5
28918 ac_cv_lib_z_deflate=no
28921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28922 conftest$ac_exeext conftest.$ac_ext
28923 LIBS=$ac_check_lib_save_LIBS
28925 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28926 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28927 if test $ac_cv_lib_z_deflate = yes; then
28933 if test "x$ZLIB_LINK" = "x" ; then
28934 if test "$wxUSE_ZLIB" = "sys" ; then
28935 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28936 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28937 { (exit 1); exit 1; }; }
28939 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28940 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28951 if test "$wxUSE_LIBPNG" != "no" ; then
28952 cat >>confdefs.h <<\_ACEOF
28953 #define wxUSE_LIBPNG 1
28957 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28958 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28959 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28963 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28964 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28965 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28966 wxUSE_LIBPNG=builtin
28969 if test "$wxUSE_MGL" != 1 ; then
28970 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28971 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28972 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28973 if test "${ac_cv_header_png_h+set}" = set; then
28974 echo $ECHO_N "(cached) $ECHO_C" >&6
28976 if test "$cross_compiling" = yes; then
28977 unset ac_cv_header_png_h
28980 cat >conftest.$ac_ext <<_ACEOF
28983 cat confdefs.h >>conftest.$ac_ext
28984 cat >>conftest.$ac_ext <<_ACEOF
28985 /* end confdefs.h. */
28992 FILE *f=fopen("conftestval", "w");
28995 PNG_LIBPNG_VER > 90 ? "yes" : "no");
29000 rm -f conftest$ac_exeext
29001 if { (ac_try="$ac_link"
29002 case "(($ac_try" in
29003 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29004 *) ac_try_echo
=$ac_try;;
29006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29007 (eval "$ac_link") 2>&5
29009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29010 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29011 { (case "(($ac_try" in
29012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29013 *) ac_try_echo=$ac_try;;
29015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29016 (eval "$ac_try") 2>&5
29018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29019 (exit $ac_status); }; }; then
29020 ac_cv_header_png_h=`cat conftestval
`
29022 echo "$as_me: program exited with status $ac_status" >&5
29023 echo "$as_me: failed program was:" >&5
29024 sed 's/^/| /' conftest.$ac_ext >&5
29026 ( exit $ac_status )
29027 ac_cv_header_png_h=no
29029 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29035 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29036 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29037 { echo "$as_me:$LINENO: checking for png.h" >&5
29038 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29039 if test "${ac_cv_header_png_h+set}" = set; then
29040 echo $ECHO_N "(cached) $ECHO_C" >&6
29042 cat >conftest.$ac_ext <<_ACEOF
29045 cat confdefs.h >>conftest.$ac_ext
29046 cat >>conftest.$ac_ext <<_ACEOF
29047 /* end confdefs.h. */
29052 rm -f conftest.$ac_objext
29053 if { (ac_try="$ac_compile"
29054 case "(($ac_try" in
29055 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29056 *) ac_try_echo
=$ac_try;;
29058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29059 (eval "$ac_compile") 2>conftest.er1
29061 grep -v '^ *+' conftest.er1
>conftest.err
29063 cat conftest.err
>&5
29064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29065 (exit $ac_status); } && {
29066 test -z "$ac_c_werror_flag" ||
29067 test ! -s conftest.err
29068 } && test -s conftest.
$ac_objext; then
29069 ac_cv_header_png_h
=yes
29071 echo "$as_me: failed program was:" >&5
29072 sed 's/^/| /' conftest.
$ac_ext >&5
29074 ac_cv_header_png_h
=no
29077 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29079 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29080 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29084 if test "$ac_cv_header_png_h" = "yes"; then
29085 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
29086 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
29087 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
29088 echo $ECHO_N "(cached) $ECHO_C" >&6
29090 ac_check_lib_save_LIBS
=$LIBS
29091 LIBS
="-lpng -lz -lm $LIBS"
29092 cat >conftest.
$ac_ext <<_ACEOF
29095 cat confdefs.h
>>conftest.
$ac_ext
29096 cat >>conftest.
$ac_ext <<_ACEOF
29097 /* end confdefs.h. */
29099 /* Override any GCC internal prototype to avoid an error.
29100 Use char because int might match the return type of a GCC
29101 builtin and then its argument prototype would still apply. */
29105 char png_check_sig ();
29109 return png_check_sig ();
29114 rm -f conftest.
$ac_objext conftest
$ac_exeext
29115 if { (ac_try
="$ac_link"
29116 case "(($ac_try" in
29117 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29118 *) ac_try_echo=$ac_try;;
29120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29121 (eval "$ac_link") 2>conftest.er1
29123 grep -v '^ *+' conftest.er1 >conftest.err
29125 cat conftest.err >&5
29126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29127 (exit $ac_status); } && {
29128 test -z "$ac_c_werror_flag" ||
29129 test ! -s conftest.err
29130 } && test -s conftest$ac_exeext &&
29131 $as_test_x conftest$ac_exeext; then
29132 ac_cv_lib_png_png_check_sig=yes
29134 echo "$as_me: failed program was:" >&5
29135 sed 's/^/| /' conftest.$ac_ext >&5
29137 ac_cv_lib_png_png_check_sig=no
29140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29141 conftest$ac_exeext conftest.$ac_ext
29142 LIBS=$ac_check_lib_save_LIBS
29144 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29145 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29146 if test $ac_cv_lib_png_png_check_sig = yes; then
29147 PNG_LINK=" -lpng -lz"
29152 if test "x$PNG_LINK" = "x" ; then
29153 if test "$wxUSE_LIBPNG" = "sys" ; then
29154 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29155 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29156 { (exit 1); exit 1; }; }
29158 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29159 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29160 wxUSE_LIBPNG=builtin
29171 if test "$wxUSE_LIBJPEG" != "no" ; then
29172 cat >>confdefs.h <<\_ACEOF
29173 #define wxUSE_LIBJPEG 1
29177 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29178 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29179 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29183 if test "$wxUSE_MGL" != 1 ; then
29184 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29185 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29186 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29187 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29188 echo $ECHO_N "(cached) $ECHO_C" >&6
29190 cat >conftest.$ac_ext <<_ACEOF
29193 cat confdefs.h >>conftest.$ac_ext
29194 cat >>conftest.$ac_ext <<_ACEOF
29195 /* end confdefs.h. */
29197 #undef HAVE_STDLIB_H
29199 #include <jpeglib.h>
29210 rm -f conftest.$ac_objext
29211 if { (ac_try="$ac_compile"
29212 case "(($ac_try" in
29213 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29214 *) ac_try_echo
=$ac_try;;
29216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29217 (eval "$ac_compile") 2>conftest.er1
29219 grep -v '^ *+' conftest.er1
>conftest.err
29221 cat conftest.err
>&5
29222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29223 (exit $ac_status); } && {
29224 test -z "$ac_c_werror_flag" ||
29225 test ! -s conftest.err
29226 } && test -s conftest.
$ac_objext; then
29227 ac_cv_header_jpeglib_h
=yes
29229 echo "$as_me: failed program was:" >&5
29230 sed 's/^/| /' conftest.
$ac_ext >&5
29232 ac_cv_header_jpeglib_h
=no
29236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29240 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29241 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29243 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29244 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29245 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29246 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29247 echo $ECHO_N "(cached) $ECHO_C" >&6
29249 ac_check_lib_save_LIBS
=$LIBS
29250 LIBS
="-ljpeg $LIBS"
29251 cat >conftest.
$ac_ext <<_ACEOF
29254 cat confdefs.h
>>conftest.
$ac_ext
29255 cat >>conftest.
$ac_ext <<_ACEOF
29256 /* end confdefs.h. */
29258 /* Override any GCC internal prototype to avoid an error.
29259 Use char because int might match the return type of a GCC
29260 builtin and then its argument prototype would still apply. */
29264 char jpeg_read_header ();
29268 return jpeg_read_header ();
29273 rm -f conftest.
$ac_objext conftest
$ac_exeext
29274 if { (ac_try
="$ac_link"
29275 case "(($ac_try" in
29276 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29277 *) ac_try_echo=$ac_try;;
29279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29280 (eval "$ac_link") 2>conftest.er1
29282 grep -v '^ *+' conftest.er1 >conftest.err
29284 cat conftest.err >&5
29285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29286 (exit $ac_status); } && {
29287 test -z "$ac_c_werror_flag" ||
29288 test ! -s conftest.err
29289 } && test -s conftest$ac_exeext &&
29290 $as_test_x conftest$ac_exeext; then
29291 ac_cv_lib_jpeg_jpeg_read_header=yes
29293 echo "$as_me: failed program was:" >&5
29294 sed 's/^/| /' conftest.$ac_ext >&5
29296 ac_cv_lib_jpeg_jpeg_read_header=no
29299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29300 conftest$ac_exeext conftest.$ac_ext
29301 LIBS=$ac_check_lib_save_LIBS
29303 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29304 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29305 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29306 JPEG_LINK=" -ljpeg"
29311 if test "x$JPEG_LINK" = "x" ; then
29312 if test "$wxUSE_LIBJPEG" = "sys" ; then
29313 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29314 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29315 { (exit 1); exit 1; }; }
29317 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29318 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29319 wxUSE_LIBJPEG=builtin
29324 if test "$wxUSE_MSW" = 1; then
29325 { echo "$as_me:$LINENO: checking for boolean" >&5
29326 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29327 if test "${ac_cv_type_boolean+set}" = set; then
29328 echo $ECHO_N "(cached) $ECHO_C" >&6
29330 cat >conftest.$ac_ext <<_ACEOF
29333 cat confdefs.h >>conftest.$ac_ext
29334 cat >>conftest.$ac_ext <<_ACEOF
29335 /* end confdefs.h. */
29336 #include <windows.h>
29338 typedef boolean ac__type_new_;
29342 if ((ac__type_new_ *) 0)
29344 if (sizeof (ac__type_new_))
29350 rm -f conftest.$ac_objext
29351 if { (ac_try="$ac_compile"
29352 case "(($ac_try" in
29353 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29354 *) ac_try_echo
=$ac_try;;
29356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29357 (eval "$ac_compile") 2>conftest.er1
29359 grep -v '^ *+' conftest.er1
>conftest.err
29361 cat conftest.err
>&5
29362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29363 (exit $ac_status); } && {
29364 test -z "$ac_c_werror_flag" ||
29365 test ! -s conftest.err
29366 } && test -s conftest.
$ac_objext; then
29367 ac_cv_type_boolean
=yes
29369 echo "$as_me: failed program was:" >&5
29370 sed 's/^/| /' conftest.
$ac_ext >&5
29372 ac_cv_type_boolean
=no
29375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29377 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29378 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29379 if test $ac_cv_type_boolean = yes; then
29381 cat >>confdefs.h
<<_ACEOF
29382 #define HAVE_BOOLEAN 1
29386 { echo "$as_me:$LINENO: checking for boolean" >&5
29387 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29388 if test "${ac_cv_type_boolean+set}" = set; then
29389 echo $ECHO_N "(cached) $ECHO_C" >&6
29391 cat >conftest.
$ac_ext <<_ACEOF
29394 cat confdefs.h
>>conftest.
$ac_ext
29395 cat >>conftest.
$ac_ext <<_ACEOF
29396 /* end confdefs.h. */
29398 #undef HAVE_BOOLEAN
29400 #include <jpeglib.h>
29403 typedef boolean ac__type_new_;
29407 if ((ac__type_new_ *) 0)
29409 if (sizeof (ac__type_new_))
29415 rm -f conftest.
$ac_objext
29416 if { (ac_try
="$ac_compile"
29417 case "(($ac_try" in
29418 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29419 *) ac_try_echo=$ac_try;;
29421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29422 (eval "$ac_compile") 2>conftest.er1
29424 grep -v '^ *+' conftest.er1 >conftest.err
29426 cat conftest.err >&5
29427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29428 (exit $ac_status); } && {
29429 test -z "$ac_c_werror_flag" ||
29430 test ! -s conftest.err
29431 } && test -s conftest.$ac_objext; then
29432 ac_cv_type_boolean=yes
29434 echo "$as_me: failed program was:" >&5
29435 sed 's/^/| /' conftest.$ac_ext >&5
29437 ac_cv_type_boolean=no
29440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29442 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29443 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29445 # The cast to long int works around a bug in the HP C Compiler
29446 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29447 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
29448 # This bug is HP SR number 8606223364.
29449 { echo "$as_me:$LINENO: checking size of boolean" >&5
29450 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29451 if test "${ac_cv_sizeof_boolean+set}" = set; then
29452 echo $ECHO_N "(cached) $ECHO_C" >&6
29454 if test "$cross_compiling" = yes; then
29455 # Depending upon the size, compute the lo and hi bounds.
29456 cat >conftest.$ac_ext <<_ACEOF
29459 cat confdefs.h >>conftest.$ac_ext
29460 cat >>conftest.$ac_ext <<_ACEOF
29461 /* end confdefs.h. */
29463 #undef HAVE_BOOLEAN
29465 #include <jpeglib.h>
29468 typedef boolean ac__type_sizeof_;
29472 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29479 rm -f conftest.$ac_objext
29480 if { (ac_try="$ac_compile"
29481 case "(($ac_try" in
29482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29483 *) ac_try_echo=$ac_try;;
29485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29486 (eval "$ac_compile") 2>conftest.er1
29488 grep -v '^
*+' conftest.er1 >conftest.err
29490 cat conftest.err >&5
29491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29492 (exit $ac_status); } && {
29493 test -z "$ac_c_werror_flag" ||
29494 test ! -s conftest.err
29495 } && test -s conftest.$ac_objext; then
29498 cat >conftest.$ac_ext <<_ACEOF
29501 cat confdefs.h >>conftest.$ac_ext
29502 cat >>conftest.$ac_ext <<_ACEOF
29503 /* end confdefs.h. */
29505 #undef HAVE_BOOLEAN
29507 #include <jpeglib.h>
29510 typedef boolean ac__type_sizeof_;
29514 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29521 rm -f conftest.$ac_objext
29522 if { (ac_try="$ac_compile"
29523 case "(($ac_try" in
29524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29525 *) ac_try_echo=$ac_try;;
29527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29528 (eval "$ac_compile") 2>conftest.er1
29530 grep -v '^
*+' conftest.er1 >conftest.err
29532 cat conftest.err >&5
29533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29534 (exit $ac_status); } && {
29535 test -z "$ac_c_werror_flag" ||
29536 test ! -s conftest.err
29537 } && test -s conftest.$ac_objext; then
29538 ac_hi=$ac_mid; break
29540 echo "$as_me: failed program was:" >&5
29541 sed 's
/^
/| /' conftest.$ac_ext >&5
29543 ac_lo=`expr $ac_mid + 1`
29544 if test $ac_lo -le $ac_mid; then
29548 ac_mid=`expr 2 '*' $ac_mid + 1`
29551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29554 echo "$as_me: failed program was:" >&5
29555 sed 's
/^
/| /' conftest.$ac_ext >&5
29557 cat >conftest.$ac_ext <<_ACEOF
29560 cat confdefs.h >>conftest.$ac_ext
29561 cat >>conftest.$ac_ext <<_ACEOF
29562 /* end confdefs.h. */
29564 #undef HAVE_BOOLEAN
29566 #include <jpeglib.h>
29569 typedef boolean ac__type_sizeof_;
29573 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29580 rm -f conftest.$ac_objext
29581 if { (ac_try="$ac_compile"
29582 case "(($ac_try" in
29583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29584 *) ac_try_echo=$ac_try;;
29586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29587 (eval "$ac_compile") 2>conftest.er1
29589 grep -v '^
*+' conftest.er1 >conftest.err
29591 cat conftest.err >&5
29592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29593 (exit $ac_status); } && {
29594 test -z "$ac_c_werror_flag" ||
29595 test ! -s conftest.err
29596 } && test -s conftest.$ac_objext; then
29599 cat >conftest.$ac_ext <<_ACEOF
29602 cat confdefs.h >>conftest.$ac_ext
29603 cat >>conftest.$ac_ext <<_ACEOF
29604 /* end confdefs.h. */
29606 #undef HAVE_BOOLEAN
29608 #include <jpeglib.h>
29611 typedef boolean ac__type_sizeof_;
29615 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29622 rm -f conftest.$ac_objext
29623 if { (ac_try="$ac_compile"
29624 case "(($ac_try" in
29625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29626 *) ac_try_echo=$ac_try;;
29628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29629 (eval "$ac_compile") 2>conftest.er1
29631 grep -v '^
*+' conftest.er1 >conftest.err
29633 cat conftest.err >&5
29634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29635 (exit $ac_status); } && {
29636 test -z "$ac_c_werror_flag" ||
29637 test ! -s conftest.err
29638 } && test -s conftest.$ac_objext; then
29639 ac_lo=$ac_mid; break
29641 echo "$as_me: failed program was:" >&5
29642 sed 's
/^
/| /' conftest.$ac_ext >&5
29644 ac_hi=`expr '(' $ac_mid ')' - 1`
29645 if test $ac_mid -le $ac_hi; then
29649 ac_mid=`expr 2 '*' $ac_mid`
29652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29655 echo "$as_me: failed program was:" >&5
29656 sed 's
/^
/| /' conftest.$ac_ext >&5
29661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29665 # Binary search between lo and hi bounds.
29666 while test "x$ac_lo" != "x$ac_hi"; do
29667 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29668 cat >conftest.$ac_ext <<_ACEOF
29671 cat confdefs.h >>conftest.$ac_ext
29672 cat >>conftest.$ac_ext <<_ACEOF
29673 /* end confdefs.h. */
29675 #undef HAVE_BOOLEAN
29677 #include <jpeglib.h>
29680 typedef boolean ac__type_sizeof_;
29684 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29691 rm -f conftest.$ac_objext
29692 if { (ac_try="$ac_compile"
29693 case "(($ac_try" in
29694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29695 *) ac_try_echo=$ac_try;;
29697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29698 (eval "$ac_compile") 2>conftest.er1
29700 grep -v '^
*+' conftest.er1 >conftest.err
29702 cat conftest.err >&5
29703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29704 (exit $ac_status); } && {
29705 test -z "$ac_c_werror_flag" ||
29706 test ! -s conftest.err
29707 } && test -s conftest.$ac_objext; then
29710 echo "$as_me: failed program was:" >&5
29711 sed 's
/^
/| /' conftest.$ac_ext >&5
29713 ac_lo=`expr '(' $ac_mid ')' + 1`
29716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29719 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29720 '') if test "$ac_cv_type_boolean" = yes; then
29721 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29722 See \`config.log' for more details.
" >&5
29723 echo "$as_me: error
: cannot compute sizeof
(boolean
)
29724 See \
`config.log' for more details." >&2;}
29725 { (exit 77); exit 77; }; }
29727 ac_cv_sizeof_boolean=0
29731 cat >conftest.$ac_ext <<_ACEOF
29734 cat confdefs.h >>conftest.$ac_ext
29735 cat >>conftest.$ac_ext <<_ACEOF
29736 /* end confdefs.h. */
29738 #undef HAVE_BOOLEAN
29740 #include <jpeglib.h>
29743 typedef boolean ac__type_sizeof_;
29744 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29745 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29747 #include <stdlib.h>
29752 FILE *f = fopen ("conftest.val", "w");
29755 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29757 long int i = longval ();
29758 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29760 fprintf (f, "%ld\n", i);
29764 unsigned long int i = ulongval ();
29765 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29767 fprintf (f, "%lu\n", i);
29769 return ferror (f) || fclose (f) != 0;
29775 rm -f conftest$ac_exeext
29776 if { (ac_try="$ac_link"
29777 case "(($ac_try" in
29778 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29779 *) ac_try_echo
=$ac_try;;
29781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29782 (eval "$ac_link") 2>&5
29784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29785 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29786 { (case "(($ac_try" in
29787 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29788 *) ac_try_echo=$ac_try;;
29790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29791 (eval "$ac_try") 2>&5
29793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29794 (exit $ac_status); }; }; then
29795 ac_cv_sizeof_boolean=`cat conftest.val
`
29797 echo "$as_me: program exited with status $ac_status" >&5
29798 echo "$as_me: failed program was:" >&5
29799 sed 's/^/| /' conftest.$ac_ext >&5
29801 ( exit $ac_status )
29802 if test "$ac_cv_type_boolean" = yes; then
29803 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29804 See \`config.log
' for more details." >&5
29805 echo "$as_me: error: cannot compute sizeof (boolean)
29806 See \`config.log' for more details.
" >&2;}
29807 { (exit 77); exit 77; }; }
29809 ac_cv_sizeof_boolean=0
29812 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29816 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
29817 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29821 cat >>confdefs.h <<_ACEOF
29822 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29826 cat >>confdefs.h <<_ACEOF
29827 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29841 TIFF_PREREQ_LINKS=-lm
29842 if test "$wxUSE_LIBTIFF" != "no
" ; then
29843 cat >>confdefs.h <<\_ACEOF
29844 #define wxUSE_LIBTIFF 1
29848 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
29849 if test "$wxUSE_LIBJPEG" = "sys
"; then
29850 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29852 if test "$wxUSE_ZLIB" = "sys
"; then
29853 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29855 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
29856 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
29857 if test "${ac_cv_header_tiffio_h+set}" = set; then
29858 echo $ECHO_N "(cached
) $ECHO_C" >&6
29860 cat >conftest.$ac_ext <<_ACEOF
29863 cat confdefs.h >>conftest.$ac_ext
29864 cat >>conftest.$ac_ext <<_ACEOF
29865 /* end confdefs.h. */
29869 #include <tiffio.h>
29871 rm -f conftest.$ac_objext
29872 if { (ac_try="$ac_compile"
29873 case "(($ac_try" in
29874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29875 *) ac_try_echo=$ac_try;;
29877 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29878 (eval "$ac_compile") 2>conftest.er1
29880 grep -v '^ *+' conftest.er1 >conftest.err
29882 cat conftest.err >&5
29883 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29884 (exit $ac_status); } && {
29885 test -z "$ac_c_werror_flag" ||
29886 test ! -s conftest.err
29887 } && test -s conftest.$ac_objext; then
29888 ac_cv_header_tiffio_h=yes
29890 echo "$as_me: failed program was
:" >&5
29891 sed 's/^/| /' conftest.$ac_ext >&5
29893 ac_cv_header_tiffio_h=no
29896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29898 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
29899 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29900 if test $ac_cv_header_tiffio_h = yes; then
29902 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
29903 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
29904 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29905 echo $ECHO_N "(cached
) $ECHO_C" >&6
29907 ac_check_lib_save_LIBS=$LIBS
29908 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29909 cat >conftest.$ac_ext <<_ACEOF
29912 cat confdefs.h >>conftest.$ac_ext
29913 cat >>conftest.$ac_ext <<_ACEOF
29914 /* end confdefs.h. */
29916 /* Override any GCC internal prototype to avoid an error.
29917 Use char because int might match the return type of a GCC
29918 builtin and then its argument prototype would still apply. */
29926 return TIFFError ();
29931 rm -f conftest.$ac_objext conftest$ac_exeext
29932 if { (ac_try="$ac_link"
29933 case "(($ac_try" in
29934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29935 *) ac_try_echo=$ac_try;;
29937 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29938 (eval "$ac_link") 2>conftest.er1
29940 grep -v '^ *+' conftest.er1 >conftest.err
29942 cat conftest.err >&5
29943 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29944 (exit $ac_status); } && {
29945 test -z "$ac_c_werror_flag" ||
29946 test ! -s conftest.err
29947 } && test -s conftest$ac_exeext &&
29948 $as_test_x conftest$ac_exeext; then
29949 ac_cv_lib_tiff_TIFFError=yes
29951 echo "$as_me: failed program was
:" >&5
29952 sed 's/^/| /' conftest.$ac_ext >&5
29954 ac_cv_lib_tiff_TIFFError=no
29957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29958 conftest$ac_exeext conftest.$ac_ext
29959 LIBS=$ac_check_lib_save_LIBS
29961 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
29962 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29963 if test $ac_cv_lib_tiff_TIFFError = yes; then
29964 TIFF_LINK=" -ltiff"
29972 if test "x
$TIFF_LINK" = "x
" ; then
29973 if test "$wxUSE_LIBTIFF" = "sys
" ; then
29974 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
29975 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
29976 { (exit 1); exit 1; }; }
29978 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
29979 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
29980 wxUSE_LIBTIFF=builtin
29986 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29987 if test "$wxUSE_LIBJPEG" = "no
"; then
29988 ac_configure_args="$ac_configure_args --disable-jpeg"
29990 subdirs="$subdirs src
/tiff
"
29996 if test "$wxUSE_WCHAR_T" != "yes"; then
29997 if test "$wxUSE_EXPAT" != "no
"; then
29998 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
29999 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
30002 if test "$wxUSE_XML" != "no
"; then
30003 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
30004 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
30009 if test "$wxUSE_EXPAT" != "no
"; then
30011 cat >>confdefs.h <<\_ACEOF
30012 #define wxUSE_EXPAT 1
30015 cat >>confdefs.h <<\_ACEOF
30016 #define wxUSE_XML 1
30020 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
30021 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
30022 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
30023 if test "${ac_cv_header_expat_h+set}" = set; then
30024 echo $ECHO_N "(cached
) $ECHO_C" >&6
30026 cat >conftest.$ac_ext <<_ACEOF
30029 cat confdefs.h >>conftest.$ac_ext
30030 cat >>conftest.$ac_ext <<_ACEOF
30031 /* end confdefs.h. */
30036 rm -f conftest.$ac_objext
30037 if { (ac_try="$ac_compile"
30038 case "(($ac_try" in
30039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30040 *) ac_try_echo=$ac_try;;
30042 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30043 (eval "$ac_compile") 2>conftest.er1
30045 grep -v '^ *+' conftest.er1 >conftest.err
30047 cat conftest.err >&5
30048 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30049 (exit $ac_status); } && {
30050 test -z "$ac_c_werror_flag" ||
30051 test ! -s conftest.err
30052 } && test -s conftest.$ac_objext; then
30053 ac_cv_header_expat_h=yes
30055 echo "$as_me: failed program was
:" >&5
30056 sed 's/^/| /' conftest.$ac_ext >&5
30058 ac_cv_header_expat_h=no
30061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30063 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
30064 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30065 if test $ac_cv_header_expat_h = yes; then
30070 if test "x
$found_expat_h" = "x1
"; then
30071 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
30072 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
30073 if test "${wx_cv_expat_is_not_broken+set}" = set; then
30074 echo $ECHO_N "(cached
) $ECHO_C" >&6
30078 ac_cpp='$CXXCPP $CPPFLAGS'
30079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30083 cat >conftest.$ac_ext <<_ACEOF
30086 cat confdefs.h >>conftest.$ac_ext
30087 cat >>conftest.$ac_ext <<_ACEOF
30088 /* end confdefs.h. */
30098 rm -f conftest.$ac_objext
30099 if { (ac_try="$ac_compile"
30100 case "(($ac_try" in
30101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30102 *) ac_try_echo=$ac_try;;
30104 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30105 (eval "$ac_compile") 2>conftest.er1
30107 grep -v '^ *+' conftest.er1 >conftest.err
30109 cat conftest.err >&5
30110 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30111 (exit $ac_status); } && {
30112 test -z "$ac_cxx_werror_flag" ||
30113 test ! -s conftest.err
30114 } && test -s conftest.$ac_objext; then
30115 wx_cv_expat_is_not_broken=yes
30117 echo "$as_me: failed program was
:" >&5
30118 sed 's/^/| /' conftest.$ac_ext >&5
30120 wx_cv_expat_is_not_broken=no
30124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30126 ac_cpp='$CPP $CPPFLAGS'
30127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30134 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
30135 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30136 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30137 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
30138 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
30139 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30140 echo $ECHO_N "(cached
) $ECHO_C" >&6
30142 ac_check_lib_save_LIBS=$LIBS
30143 LIBS="-lexpat $LIBS"
30144 cat >conftest.$ac_ext <<_ACEOF
30147 cat confdefs.h >>conftest.$ac_ext
30148 cat >>conftest.$ac_ext <<_ACEOF
30149 /* end confdefs.h. */
30151 /* Override any GCC internal prototype to avoid an error.
30152 Use char because int might match the return type of a GCC
30153 builtin and then its argument prototype would still apply. */
30157 char XML_ParserCreate ();
30161 return XML_ParserCreate ();
30166 rm -f conftest.$ac_objext conftest$ac_exeext
30167 if { (ac_try="$ac_link"
30168 case "(($ac_try" in
30169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30170 *) ac_try_echo=$ac_try;;
30172 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30173 (eval "$ac_link") 2>conftest.er1
30175 grep -v '^ *+' conftest.er1 >conftest.err
30177 cat conftest.err >&5
30178 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30179 (exit $ac_status); } && {
30180 test -z "$ac_c_werror_flag" ||
30181 test ! -s conftest.err
30182 } && test -s conftest$ac_exeext &&
30183 $as_test_x conftest$ac_exeext; then
30184 ac_cv_lib_expat_XML_ParserCreate=yes
30186 echo "$as_me: failed program was
:" >&5
30187 sed 's/^/| /' conftest.$ac_ext >&5
30189 ac_cv_lib_expat_XML_ParserCreate=no
30192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30193 conftest$ac_exeext conftest.$ac_ext
30194 LIBS=$ac_check_lib_save_LIBS
30196 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
30197 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30198 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30199 EXPAT_LINK=" -lexpat"
30204 if test "x
$EXPAT_LINK" = "x
" ; then
30205 if test "$wxUSE_EXPAT" = "sys
" ; then
30206 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
30207 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
30208 { (exit 1); exit 1; }; }
30210 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
30211 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
30212 wxUSE_EXPAT=builtin
30218 if test "$wxUSE_EXPAT" = "builtin" ; then
30219 subdirs="$subdirs src
/expat
"
30226 if test "$wxUSE_LIBMSPACK" != "no
"; then
30227 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
30228 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
30229 if test "${ac_cv_header_mspack_h+set}" = set; then
30230 echo $ECHO_N "(cached
) $ECHO_C" >&6
30232 cat >conftest.$ac_ext <<_ACEOF
30235 cat confdefs.h >>conftest.$ac_ext
30236 cat >>conftest.$ac_ext <<_ACEOF
30237 /* end confdefs.h. */
30240 #include <mspack.h>
30242 rm -f conftest.$ac_objext
30243 if { (ac_try="$ac_compile"
30244 case "(($ac_try" in
30245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30246 *) ac_try_echo=$ac_try;;
30248 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30249 (eval "$ac_compile") 2>conftest.er1
30251 grep -v '^ *+' conftest.er1 >conftest.err
30253 cat conftest.err >&5
30254 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30255 (exit $ac_status); } && {
30256 test -z "$ac_c_werror_flag" ||
30257 test ! -s conftest.err
30258 } && test -s conftest.$ac_objext; then
30259 ac_cv_header_mspack_h=yes
30261 echo "$as_me: failed program was
:" >&5
30262 sed 's/^/| /' conftest.$ac_ext >&5
30264 ac_cv_header_mspack_h=no
30267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30269 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
30270 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30271 if test $ac_cv_header_mspack_h = yes; then
30276 if test "x
$found_mspack_h" = "x1
"; then
30277 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
30278 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
30279 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30280 echo $ECHO_N "(cached
) $ECHO_C" >&6
30282 ac_check_lib_save_LIBS=$LIBS
30283 LIBS="-lmspack $LIBS"
30284 cat >conftest.$ac_ext <<_ACEOF
30287 cat confdefs.h >>conftest.$ac_ext
30288 cat >>conftest.$ac_ext <<_ACEOF
30289 /* end confdefs.h. */
30291 /* Override any GCC internal prototype to avoid an error.
30292 Use char because int might match the return type of a GCC
30293 builtin and then its argument prototype would still apply. */
30297 char mspack_create_chm_decompressor ();
30301 return mspack_create_chm_decompressor ();
30306 rm -f conftest.$ac_objext conftest$ac_exeext
30307 if { (ac_try="$ac_link"
30308 case "(($ac_try" in
30309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30310 *) ac_try_echo=$ac_try;;
30312 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30313 (eval "$ac_link") 2>conftest.er1
30315 grep -v '^ *+' conftest.er1 >conftest.err
30317 cat conftest.err >&5
30318 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30319 (exit $ac_status); } && {
30320 test -z "$ac_c_werror_flag" ||
30321 test ! -s conftest.err
30322 } && test -s conftest$ac_exeext &&
30323 $as_test_x conftest$ac_exeext; then
30324 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30326 echo "$as_me: failed program was
:" >&5
30327 sed 's/^/| /' conftest.$ac_ext >&5
30329 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30333 conftest$ac_exeext conftest.$ac_ext
30334 LIBS=$ac_check_lib_save_LIBS
30336 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30337 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30338 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30339 MSPACK_LINK=" -lmspack"
30343 if test "x
$MSPACK_LINK" = "x
" ; then
30348 if test "$wxUSE_LIBMSPACK" != "no
"; then
30349 cat >>confdefs.h <<\_ACEOF
30350 #define wxUSE_LIBMSPACK 1
30364 if test "$USE_WIN32" = 1 ; then
30366 for ac_header in w32api.h
30368 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
30369 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
30370 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
30371 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
30372 echo $ECHO_N "(cached
) $ECHO_C" >&6
30374 cat >conftest.$ac_ext <<_ACEOF
30377 cat confdefs.h >>conftest.$ac_ext
30378 cat >>conftest.$ac_ext <<_ACEOF
30379 /* end confdefs.h. */
30382 #include <$ac_header>
30384 rm -f conftest.$ac_objext
30385 if { (ac_try="$ac_compile"
30386 case "(($ac_try" in
30387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30388 *) ac_try_echo=$ac_try;;
30390 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30391 (eval "$ac_compile") 2>conftest.er1
30393 grep -v '^ *+' conftest.er1 >conftest.err
30395 cat conftest.err >&5
30396 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30397 (exit $ac_status); } && {
30398 test -z "$ac_c_werror_flag" ||
30399 test ! -s conftest.err
30400 } && test -s conftest.$ac_objext; then
30401 eval "$as_ac_Header=yes"
30403 echo "$as_me: failed program was
:" >&5
30404 sed 's/^/| /' conftest.$ac_ext >&5
30406 eval "$as_ac_Header=no
"
30409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30411 ac_res=`eval echo '${'$as_ac_Header'}'`
30412 { echo "$as_me:$LINENO: result
: $ac_res" >&5
30413 echo "${ECHO_T}$ac_res" >&6; }
30414 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30415 cat >>confdefs.h <<_ACEOF
30416 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
30423 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
30424 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
30425 if test "${ac_cv_header_windows_h+set}" = set; then
30426 echo $ECHO_N "(cached
) $ECHO_C" >&6
30428 cat >conftest.$ac_ext <<_ACEOF
30431 cat confdefs.h >>conftest.$ac_ext
30432 cat >>conftest.$ac_ext <<_ACEOF
30433 /* end confdefs.h. */
30436 #include <windows.h>
30438 rm -f conftest.$ac_objext
30439 if { (ac_try="$ac_compile"
30440 case "(($ac_try" in
30441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30442 *) ac_try_echo=$ac_try;;
30444 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30445 (eval "$ac_compile") 2>conftest.er1
30447 grep -v '^ *+' conftest.er1 >conftest.err
30449 cat conftest.err >&5
30450 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30451 (exit $ac_status); } && {
30452 test -z "$ac_c_werror_flag" ||
30453 test ! -s conftest.err
30454 } && test -s conftest.$ac_objext; then
30455 ac_cv_header_windows_h=yes
30457 echo "$as_me: failed program was
:" >&5
30458 sed 's/^/| /' conftest.$ac_ext >&5
30460 ac_cv_header_windows_h=no
30463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30465 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
30466 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30467 if test $ac_cv_header_windows_h = yes; then
30471 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
30472 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
30473 { (exit 1); exit 1; }; }
30479 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30481 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30482 LIBS="$LIBS -loleacc"
30487 LIBS="$LIBS -lkernel32 -luser32"
30490 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
30491 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
30493 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
30495 WIN32INSTALL=win32install
30497 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
30498 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
30499 if test "${ac_cv_header_pbt_h+set}" = set; then
30500 echo $ECHO_N "(cached
) $ECHO_C" >&6
30502 cat >conftest.$ac_ext <<_ACEOF
30505 cat confdefs.h >>conftest.$ac_ext
30506 cat >>conftest.$ac_ext <<_ACEOF
30507 /* end confdefs.h. */
30512 rm -f conftest.$ac_objext
30513 if { (ac_try="$ac_compile"
30514 case "(($ac_try" in
30515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30516 *) ac_try_echo=$ac_try;;
30518 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30519 (eval "$ac_compile") 2>conftest.er1
30521 grep -v '^ *+' conftest.er1 >conftest.err
30523 cat conftest.err >&5
30524 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30525 (exit $ac_status); } && {
30526 test -z "$ac_c_werror_flag" ||
30527 test ! -s conftest.err
30528 } && test -s conftest.$ac_objext; then
30529 ac_cv_header_pbt_h=yes
30531 echo "$as_me: failed program was
:" >&5
30532 sed 's/^/| /' conftest.$ac_ext >&5
30534 ac_cv_header_pbt_h=no
30537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30539 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
30540 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30541 if test $ac_cv_header_pbt_h = yes; then
30544 cat >>confdefs.h <<\_ACEOF
30545 #define NEED_PBT_H 1
30553 if test "$wxUSE_GUI" = "yes"; then
30563 if test "$wxUSE_COCOA" = 1 ; then
30564 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30565 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
30566 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
30567 wxUSE_PRINTING_ARCHITECTURE=no
30569 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30570 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
30571 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
30572 wxUSE_DRAG_AND_DROP=no
30574 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30575 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
30576 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
30581 if test "$wxUSE_MSW" = 1 ; then
30587 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
30591 if test "$wxUSE_GTK" = 1; then
30592 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
30593 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
30595 gtk_version_cached=1
30596 if test "${wx_cv_lib_gtk+set}" = set; then
30597 echo $ECHO_N "(cached
) $ECHO_C" >&6
30600 gtk_version_cached=0
30601 { echo "$as_me:$LINENO: result
: " >&5
30602 echo "${ECHO_T}" >&6; }
30605 if test "$wxUSE_THREADS" = "yes"; then
30606 GTK_MODULES=gthread
30610 if test "x
$wxGTK_VERSION" != "x1
"
30614 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30619 # Check whether --enable-gtktest was given.
30620 if test "${enable_gtktest+set}" = set; then
30621 enableval=$enable_gtktest;
30627 pkg_config_args=gtk+-2.0
30628 for module in . $GTK_MODULES
30632 pkg_config_args="$pkg_config_args gthread
-2.0
"
30639 # Extract the first word of "pkg
-config", so it can be a program name with args.
30640 set dummy pkg-config; ac_word=$2
30641 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30642 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30643 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30644 echo $ECHO_N "(cached
) $ECHO_C" >&6
30646 case $PKG_CONFIG in
30648 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30652 for as_dir in $PATH
30655 test -z "$as_dir" && as_dir=.
30656 for ac_exec_ext in '' $ac_executable_extensions; do
30657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30658 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30659 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30666 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
30670 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30671 if test -n "$PKG_CONFIG"; then
30672 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
30673 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30675 { echo "$as_me:$LINENO: result
: no
" >&5
30676 echo "${ECHO_T}no
" >&6; }
30681 if test x$PKG_CONFIG != xno ; then
30682 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30685 echo "*** pkg
-config too old
; version
0.7 or better required.
"
30693 min_gtk_version=2.4.0
30694 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
30695 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
30697 if test x$PKG_CONFIG != xno ; then
30698 ## don't try to run the test against uninstalled libtool libs
30699 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30700 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
30704 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30711 if test x"$no_gtk" = x ; then
30712 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30713 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30714 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30715 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30716 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30717 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30718 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30719 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30720 if test "x
$enable_gtktest" = "xyes
" ; then
30721 ac_save_CFLAGS="$CFLAGS"
30722 ac_save_LIBS="$LIBS"
30723 CFLAGS="$CFLAGS $GTK_CFLAGS"
30724 LIBS="$GTK_LIBS $LIBS"
30726 if test "$cross_compiling" = yes; then
30727 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30729 cat >conftest.$ac_ext <<_ACEOF
30732 cat confdefs.h >>conftest.$ac_ext
30733 cat >>conftest.$ac_ext <<_ACEOF
30734 /* end confdefs.h. */
30736 #include <gtk/gtk.h>
30738 #include <stdlib.h>
30743 int major, minor, micro;
30746 system ("touch conf.gtktest
");
30748 /* HP/UX 9 (%@#!) writes to sscanf strings */
30749 tmp_version = g_strdup("$min_gtk_version");
30750 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30751 printf("%s
, bad version string
\n", "$min_gtk_version");
30755 if ((gtk_major_version != $gtk_config_major_version) ||
30756 (gtk_minor_version != $gtk_config_minor_version) ||
30757 (gtk_micro_version != $gtk_config_micro_version))
30759 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30760 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30761 gtk_major_version, gtk_minor_version, gtk_micro_version);
30762 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
30763 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30764 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30765 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30766 printf("*** required on your system.
\n");
30767 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
30768 printf("*** to point to the correct configuration files
\n");
30770 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30771 (gtk_minor_version != GTK_MINOR_VERSION) ||
30772 (gtk_micro_version != GTK_MICRO_VERSION))
30774 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30775 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30776 printf("*** library
(version
%d.
%d.
%d
)\n",
30777 gtk_major_version, gtk_minor_version, gtk_micro_version);
30781 if ((gtk_major_version > major) ||
30782 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30783 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30789 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30790 gtk_major_version, gtk_minor_version, gtk_micro_version);
30791 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30792 major, minor, micro);
30793 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30795 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30796 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
30797 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30798 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
30799 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
30800 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30801 printf("*** so that the correct libraries are found
at run
-time))\n");
30808 rm -f conftest$ac_exeext
30809 if { (ac_try="$ac_link"
30810 case "(($ac_try" in
30811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30812 *) ac_try_echo=$ac_try;;
30814 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30815 (eval "$ac_link") 2>&5
30817 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30818 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30819 { (case "(($ac_try" in
30820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30821 *) ac_try_echo=$ac_try;;
30823 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30824 (eval "$ac_try") 2>&5
30826 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30827 (exit $ac_status); }; }; then
30830 echo "$as_me: program exited with status
$ac_status" >&5
30831 echo "$as_me: failed program was
:" >&5
30832 sed 's/^/| /' conftest.$ac_ext >&5
30834 ( exit $ac_status )
30837 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30841 CFLAGS="$ac_save_CFLAGS"
30842 LIBS="$ac_save_LIBS"
30845 if test "x
$no_gtk" = x ; then
30846 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
30847 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
30850 { echo "$as_me:$LINENO: result
: no
" >&5
30851 echo "${ECHO_T}no
" >&6; }
30852 if test "$PKG_CONFIG" = "no
" ; then
30853 echo "*** A new enough version of pkg
-config was not found.
"
30854 echo "*** See http
://pkgconfig.sourceforge.net
"
30856 if test -f conf.gtktest ; then
30859 echo "*** Could not run GTK
+ test program
, checking why...
"
30860 ac_save_CFLAGS="$CFLAGS"
30861 ac_save_LIBS="$LIBS"
30862 CFLAGS="$CFLAGS $GTK_CFLAGS"
30863 LIBS="$LIBS $GTK_LIBS"
30864 cat >conftest.$ac_ext <<_ACEOF
30867 cat confdefs.h >>conftest.$ac_ext
30868 cat >>conftest.$ac_ext <<_ACEOF
30869 /* end confdefs.h. */
30871 #include <gtk/gtk.h>
30877 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30882 rm -f conftest.$ac_objext conftest$ac_exeext
30883 if { (ac_try="$ac_link"
30884 case "(($ac_try" in
30885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30886 *) ac_try_echo=$ac_try;;
30888 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30889 (eval "$ac_link") 2>conftest.er1
30891 grep -v '^ *+' conftest.er1 >conftest.err
30893 cat conftest.err >&5
30894 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30895 (exit $ac_status); } && {
30896 test -z "$ac_c_werror_flag" ||
30897 test ! -s conftest.err
30898 } && test -s conftest$ac_exeext &&
30899 $as_test_x conftest$ac_exeext; then
30900 echo "*** The
test program compiled
, but did not run. This usually means
"
30901 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
30902 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
30903 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30904 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30905 echo "*** is required on your system"
30907 echo "*** If you have an old version installed, it is best to remove it, although"
30908 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30910 echo "$as_me: failed program was:" >&5
30911 sed 's
/^
/| /' conftest.$ac_ext >&5
30913 echo "*** The test program failed to compile or link. See the file config.log for the"
30914 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30918 conftest$ac_exeext conftest.$ac_ext
30919 CFLAGS="$ac_save_CFLAGS"
30920 LIBS="$ac_save_LIBS"
30934 if test "$wxUSE_SHARED" != "yes"; then
30935 GTK_LIBS="$GTK_LIBS -lX11"
30940 if test -z "$wx_cv_lib_gtk"; then
30941 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30943 # Check whether --with-gtk-prefix was given.
30944 if test "${with_gtk_prefix+set}" = set; then
30945 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30947 gtk_config_prefix=""
30951 # Check whether --with-gtk-exec-prefix was given.
30952 if test "${with_gtk_exec_prefix+set}" = set; then
30953 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30955 gtk_config_exec_prefix=""
30958 # Check whether --enable-gtktest was given.
30959 if test "${enable_gtktest+set}" = set; then
30960 enableval=$enable_gtktest;
30966 for module in . $GTK_MODULES
30970 gtk_config_args="$gtk_config_args gthread"
30975 if test x$gtk_config_exec_prefix != x ; then
30976 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30977 if test x${GTK_CONFIG+set} != xset ; then
30978 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30981 if test x$gtk_config_prefix != x ; then
30982 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30983 if test x${GTK_CONFIG+set} != xset ; then
30984 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30988 # Extract the first word of "gtk-config", so it can be a program name with args.
30989 set dummy gtk-config; ac_word=$2
30990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30992 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30993 echo $ECHO_N "(cached) $ECHO_C" >&6
30995 case $GTK_CONFIG in
30997 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31001 for as_dir in $PATH
31004 test -z "$as_dir" && as_dir=.
31005 for ac_exec_ext in '' $ac_executable_extensions; do
31006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31007 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31015 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31019 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31020 if test -n "$GTK_CONFIG"; then
31021 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31022 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31024 { echo "$as_me:$LINENO: result: no" >&5
31025 echo "${ECHO_T}no" >&6; }
31029 min_gtk_version=1.2.7
31030 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31031 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31033 if test "$GTK_CONFIG" = "no" ; then
31036 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31037 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31038 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31039 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
31040 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31041 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
31042 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31043 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
31044 if test "x$enable_gtktest" = "xyes" ; then
31045 ac_save_CFLAGS="$CFLAGS"
31046 ac_save_LIBS="$LIBS"
31047 CFLAGS="$CFLAGS $GTK_CFLAGS"
31048 LIBS="$GTK_LIBS $LIBS"
31050 if test "$cross_compiling" = yes; then
31051 echo $ac_n "cross compiling; assumed OK... $ac_c"
31053 cat >conftest.$ac_ext <<_ACEOF
31056 cat confdefs.h >>conftest.$ac_ext
31057 cat >>conftest.$ac_ext <<_ACEOF
31058 /* end confdefs.h. */
31060 #include <gtk/gtk.h>
31062 #include <stdlib.h>
31067 int major, minor, micro;
31070 system ("touch conf.gtktest");
31072 /* HP/UX 9 (%@#!) writes to sscanf strings */
31073 tmp_version = g_strdup("$min_gtk_version");
31074 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31075 printf("%s, bad version string\n", "$min_gtk_version");
31079 if ((gtk_major_version != $gtk_config_major_version) ||
31080 (gtk_minor_version != $gtk_config_minor_version) ||
31081 (gtk_micro_version != $gtk_config_micro_version))
31083 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31084 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31085 gtk_major_version, gtk_minor_version, gtk_micro_version);
31086 printf ("*** was found! If gtk-config was correct, then it is best\n");
31087 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31088 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31089 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31090 printf("*** required on your system.\n");
31091 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31092 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31093 printf("*** before re-running configure\n");
31095 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31096 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31097 (gtk_minor_version != GTK_MINOR_VERSION) ||
31098 (gtk_micro_version != GTK_MICRO_VERSION))
31100 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31101 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31102 printf("*** library (version %d.%d.%d)\n",
31103 gtk_major_version, gtk_minor_version, gtk_micro_version);
31105 #endif /* defined (GTK_MAJOR_VERSION) ... */
31108 if ((gtk_major_version > major) ||
31109 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31110 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31116 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31117 gtk_major_version, gtk_minor_version, gtk_micro_version);
31118 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31119 major, minor, micro);
31120 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31122 printf("*** If you have already installed a sufficiently new version, this error\n");
31123 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31124 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31125 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31126 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31127 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31128 printf("*** so that the correct libraries are found at run-time))\n");
31135 rm -f conftest$ac_exeext
31136 if { (ac_try="$ac_link"
31137 case "(($ac_try" in
31138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31139 *) ac_try_echo=$ac_try;;
31141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31142 (eval "$ac_link") 2>&5
31144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31145 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
31146 { (case "(($ac_try" in
31147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31148 *) ac_try_echo=$ac_try;;
31150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31151 (eval "$ac_try") 2>&5
31153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31154 (exit $ac_status); }; }; then
31157 echo "$as_me: program exited with status $ac_status" >&5
31158 echo "$as_me: failed program was:" >&5
31159 sed 's
/^
/| /' conftest.$ac_ext >&5
31161 ( exit $ac_status )
31164 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31168 CFLAGS="$ac_save_CFLAGS"
31169 LIBS="$ac_save_LIBS"
31172 if test "x$no_gtk" = x ; then
31173 { echo "$as_me:$LINENO: result: yes" >&5
31174 echo "${ECHO_T}yes" >&6; }
31175 wx_cv_lib_gtk=1.2.7
31177 { echo "$as_me:$LINENO: result: no" >&5
31178 echo "${ECHO_T}no" >&6; }
31179 if test "$GTK_CONFIG" = "no" ; then
31180 echo "*** The gtk-config script installed by GTK could not be found"
31181 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31182 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31183 echo "*** full path to gtk-config."
31185 if test -f conf.gtktest ; then
31188 echo "*** Could not run GTK test program, checking why..."
31189 CFLAGS="$CFLAGS $GTK_CFLAGS"
31190 LIBS="$LIBS $GTK_LIBS"
31191 cat >conftest.$ac_ext <<_ACEOF
31194 cat confdefs.h >>conftest.$ac_ext
31195 cat >>conftest.$ac_ext <<_ACEOF
31196 /* end confdefs.h. */
31198 #include <gtk/gtk.h>
31204 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31209 rm -f conftest.$ac_objext conftest$ac_exeext
31210 if { (ac_try="$ac_link"
31211 case "(($ac_try" in
31212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31213 *) ac_try_echo=$ac_try;;
31215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31216 (eval "$ac_link") 2>conftest.er1
31218 grep -v '^
*+' conftest.er1 >conftest.err
31220 cat conftest.err >&5
31221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31222 (exit $ac_status); } && {
31223 test -z "$ac_c_werror_flag" ||
31224 test ! -s conftest.err
31225 } && test -s conftest$ac_exeext &&
31226 $as_test_x conftest$ac_exeext; then
31227 echo "*** The test program compiled, but did not run. This usually means"
31228 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31229 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
31230 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
31231 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
31232 echo "*** is required on your system
"
31234 echo "*** If you have an old version installed
, it is best to remove it
, although
"
31235 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
31237 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
31238 echo "*** came with the system with the
command"
31240 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
31242 echo "$as_me: failed program was
:" >&5
31243 sed 's/^/| /' conftest.$ac_ext >&5
31245 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
31246 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
31247 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
31248 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
31251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31252 conftest$ac_exeext conftest.$ac_ext
31253 CFLAGS="$ac_save_CFLAGS"
31254 LIBS="$ac_save_LIBS"
31266 if test -z "$wx_cv_lib_gtk"; then
31268 # Check whether --with-gtk-prefix was given.
31269 if test "${with_gtk_prefix+set}" = set; then
31270 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31272 gtk_config_prefix=""
31276 # Check whether --with-gtk-exec-prefix was given.
31277 if test "${with_gtk_exec_prefix+set}" = set; then
31278 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31280 gtk_config_exec_prefix=""
31283 # Check whether --enable-gtktest was given.
31284 if test "${enable_gtktest+set}" = set; then
31285 enableval=$enable_gtktest;
31291 for module in . $GTK_MODULES
31295 gtk_config_args="$gtk_config_args gthread
"
31300 if test x$gtk_config_exec_prefix != x ; then
31301 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31302 if test x${GTK_CONFIG+set} != xset ; then
31303 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31306 if test x$gtk_config_prefix != x ; then
31307 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31308 if test x${GTK_CONFIG+set} != xset ; then
31309 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31313 # Extract the first word of "gtk
-config", so it can be a program name with args.
31314 set dummy gtk-config; ac_word=$2
31315 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
31316 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
31317 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31318 echo $ECHO_N "(cached
) $ECHO_C" >&6
31320 case $GTK_CONFIG in
31322 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31326 for as_dir in $PATH
31329 test -z "$as_dir" && as_dir=.
31330 for ac_exec_ext in '' $ac_executable_extensions; do
31331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31332 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31333 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
31340 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
31344 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31345 if test -n "$GTK_CONFIG"; then
31346 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
31347 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31349 { echo "$as_me:$LINENO: result
: no
" >&5
31350 echo "${ECHO_T}no
" >&6; }
31354 min_gtk_version=1.2.3
31355 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
31356 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
31358 if test "$GTK_CONFIG" = "no
" ; then
31361 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31362 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31363 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31364 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31365 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31366 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31367 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31368 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31369 if test "x
$enable_gtktest" = "xyes
" ; then
31370 ac_save_CFLAGS="$CFLAGS"
31371 ac_save_LIBS="$LIBS"
31372 CFLAGS="$CFLAGS $GTK_CFLAGS"
31373 LIBS="$GTK_LIBS $LIBS"
31375 if test "$cross_compiling" = yes; then
31376 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
31378 cat >conftest.$ac_ext <<_ACEOF
31381 cat confdefs.h >>conftest.$ac_ext
31382 cat >>conftest.$ac_ext <<_ACEOF
31383 /* end confdefs.h. */
31385 #include <gtk/gtk.h>
31387 #include <stdlib.h>
31392 int major, minor, micro;
31395 system ("touch conf.gtktest
");
31397 /* HP/UX 9 (%@#!) writes to sscanf strings */
31398 tmp_version = g_strdup("$min_gtk_version");
31399 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
31400 printf("%s
, bad version string
\n", "$min_gtk_version");
31404 if ((gtk_major_version != $gtk_config_major_version) ||
31405 (gtk_minor_version != $gtk_config_minor_version) ||
31406 (gtk_micro_version != $gtk_config_micro_version))
31408 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
31409 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31410 gtk_major_version, gtk_minor_version, gtk_micro_version);
31411 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
31412 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
31413 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
31414 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
31415 printf("*** required on your system.
\n");
31416 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
31417 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
31418 printf("*** before re
-running configure
\n");
31420 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31421 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31422 (gtk_minor_version != GTK_MINOR_VERSION) ||
31423 (gtk_micro_version != GTK_MICRO_VERSION))
31425 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
31426 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31427 printf("*** library
(version
%d.
%d.
%d
)\n",
31428 gtk_major_version, gtk_minor_version, gtk_micro_version);
31430 #endif /* defined (GTK_MAJOR_VERSION) ... */
31433 if ((gtk_major_version > major) ||
31434 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31435 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31441 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
31442 gtk_major_version, gtk_minor_version, gtk_micro_version);
31443 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
31444 major, minor, micro);
31445 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
31447 printf("*** If you have already installed a sufficiently new version
, this error
\n");
31448 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
31449 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
31450 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
31451 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
31452 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
31453 printf("*** so that the correct libraries are found
at run
-time))\n");
31460 rm -f conftest$ac_exeext
31461 if { (ac_try="$ac_link"
31462 case "(($ac_try" in
31463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31464 *) ac_try_echo=$ac_try;;
31466 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31467 (eval "$ac_link") 2>&5
31469 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31470 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31471 { (case "(($ac_try" in
31472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31473 *) ac_try_echo=$ac_try;;
31475 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31476 (eval "$ac_try") 2>&5
31478 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31479 (exit $ac_status); }; }; then
31482 echo "$as_me: program exited with status
$ac_status" >&5
31483 echo "$as_me: failed program was
:" >&5
31484 sed 's/^/| /' conftest.$ac_ext >&5
31486 ( exit $ac_status )
31489 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31493 CFLAGS="$ac_save_CFLAGS"
31494 LIBS="$ac_save_LIBS"
31497 if test "x
$no_gtk" = x ; then
31498 { echo "$as_me:$LINENO: result
: yes" >&5
31499 echo "${ECHO_T}yes" >&6; }
31500 wx_cv_lib_gtk=1.2.3
31502 { echo "$as_me:$LINENO: result
: no
" >&5
31503 echo "${ECHO_T}no
" >&6; }
31504 if test "$GTK_CONFIG" = "no
" ; then
31505 echo "*** The gtk
-config script installed by GTK could not be found
"
31506 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
31507 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
31508 echo "*** full path to gtk
-config.
"
31510 if test -f conf.gtktest ; then
31513 echo "*** Could not run GTK
test program
, checking why...
"
31514 CFLAGS="$CFLAGS $GTK_CFLAGS"
31515 LIBS="$LIBS $GTK_LIBS"
31516 cat >conftest.$ac_ext <<_ACEOF
31519 cat confdefs.h >>conftest.$ac_ext
31520 cat >>conftest.$ac_ext <<_ACEOF
31521 /* end confdefs.h. */
31523 #include <gtk/gtk.h>
31529 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31534 rm -f conftest.$ac_objext conftest$ac_exeext
31535 if { (ac_try="$ac_link"
31536 case "(($ac_try" in
31537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31538 *) ac_try_echo=$ac_try;;
31540 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31541 (eval "$ac_link") 2>conftest.er1
31543 grep -v '^ *+' conftest.er1 >conftest.err
31545 cat conftest.err >&5
31546 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31547 (exit $ac_status); } && {
31548 test -z "$ac_c_werror_flag" ||
31549 test ! -s conftest.err
31550 } && test -s conftest$ac_exeext &&
31551 $as_test_x conftest$ac_exeext; then
31552 echo "*** The
test program compiled
, but did not run. This usually means
"
31553 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
31554 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
31555 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31556 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31557 echo "*** is required on your system"
31559 echo "*** If you have an old version installed, it is best to remove it, although"
31560 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31562 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31563 echo "*** came with the system with the command"
31565 echo "*** rpm --erase --nodeps gtk gtk-devel"
31567 echo "$as_me: failed program was:" >&5
31568 sed 's
/^
/| /' conftest.$ac_ext >&5
31570 echo "*** The test program failed to compile or link. See the file config.log for the"
31571 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31572 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31573 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31577 conftest$ac_exeext conftest.$ac_ext
31578 CFLAGS="$ac_save_CFLAGS"
31579 LIBS="$ac_save_LIBS"
31594 if test -z "$wx_cv_lib_gtk"; then
31597 wx_cv_cflags_gtk=$GTK_CFLAGS
31598 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
31605 if test "$gtk_version_cached" = 1; then
31606 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31607 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31610 case "$wx_cv_lib_gtk" in
31619 *) { { echo "$as_me:$LINENO: error:
31620 The development files for GTK+ were not found. For GTK+ 2, please
31621 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31622 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31623 and that the version is 1.2.3 or above. Also check that the
31624 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31625 --libs' are in the LD_LIBRARY_PATH or equivalent.
31627 echo "$as_me: error:
31628 The development files for GTK+ were not found. For GTK+ 2, please
31629 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31630 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31631 and that the version is 1.2.3 or above. Also check that the
31632 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31633 --libs' are in the LD_LIBRARY_PATH or equivalent.
31635 { (exit 1); exit 1; }; }
31639 if test "$WXGTK2" = 1; then
31640 save_CFLAGS="$CFLAGS"
31642 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31643 LIBS="$LIBS $wx_cv_libs_gtk"
31645 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31646 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31647 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31648 echo $ECHO_N "(cached) $ECHO_C" >&6
31650 cat >conftest.$ac_ext <<_ACEOF
31653 cat confdefs.h >>conftest.$ac_ext
31654 cat >>conftest.$ac_ext <<_ACEOF
31655 /* end confdefs.h. */
31656 #include <gtk/gtk.h>
31661 #ifndef gtk_icon_size_lookup
31662 (void) gtk_icon_size_lookup;
31669 rm -f conftest.$ac_objext
31670 if { (ac_try="$ac_compile"
31671 case "(($ac_try" in
31672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31673 *) ac_try_echo=$ac_try;;
31675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31676 (eval "$ac_compile") 2>conftest.er1
31678 grep -v '^
*+' conftest.er1 >conftest.err
31680 cat conftest.err >&5
31681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31682 (exit $ac_status); } && {
31683 test -z "$ac_c_werror_flag" ||
31684 test ! -s conftest.err
31685 } && test -s conftest.$ac_objext; then
31686 ac_cv_have_decl_gtk_icon_size_lookup=yes
31688 echo "$as_me: failed program was:" >&5
31689 sed 's
/^
/| /' conftest.$ac_ext >&5
31691 ac_cv_have_decl_gtk_icon_size_lookup=no
31694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31696 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31697 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31698 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31700 cat >>confdefs.h <<_ACEOF
31701 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31706 cat >>confdefs.h <<_ACEOF
31707 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31710 cat >>confdefs.h <<\_ACEOF
31711 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31719 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31720 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31721 cat >conftest.$ac_ext <<_ACEOF
31724 cat confdefs.h >>conftest.$ac_ext
31725 cat >>conftest.$ac_ext <<_ACEOF
31726 /* end confdefs.h. */
31728 #include <gtk/gtk.h>
31734 #if !GTK_CHECK_VERSION(2,10,0)
31742 rm -f conftest.$ac_objext
31743 if { (ac_try="$ac_compile"
31744 case "(($ac_try" in
31745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31746 *) ac_try_echo=$ac_try;;
31748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31749 (eval "$ac_compile") 2>conftest.er1
31751 grep -v '^
*+' conftest.er1 >conftest.err
31753 cat conftest.err >&5
31754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31755 (exit $ac_status); } && {
31756 test -z "$ac_c_werror_flag" ||
31757 test ! -s conftest.err
31758 } && test -s conftest.$ac_objext; then
31760 cat >>confdefs.h <<\_ACEOF
31761 #define __WXGTK210__ 1
31764 cat >>confdefs.h <<\_ACEOF
31765 #define __WXGTK26__ 1
31768 { echo "$as_me:$LINENO: result: yes" >&5
31769 echo "${ECHO_T}yes" >&6; }
31773 echo "$as_me: failed program was:" >&5
31774 sed 's
/^
/| /' conftest.$ac_ext >&5
31777 { echo "$as_me:$LINENO: result: no" >&5
31778 echo "${ECHO_T}no" >&6; }
31783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31785 if test "$ac_wxgtk210" = 0; then
31786 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31787 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31788 cat >conftest.$ac_ext <<_ACEOF
31791 cat confdefs.h >>conftest.$ac_ext
31792 cat >>conftest.$ac_ext <<_ACEOF
31793 /* end confdefs.h. */
31795 #include <gtk/gtk.h>
31801 #if !GTK_CHECK_VERSION(2,6,0)
31809 rm -f conftest.$ac_objext
31810 if { (ac_try="$ac_compile"
31811 case "(($ac_try" in
31812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31813 *) ac_try_echo=$ac_try;;
31815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31816 (eval "$ac_compile") 2>conftest.er1
31818 grep -v '^
*+' conftest.er1 >conftest.err
31820 cat conftest.err >&5
31821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31822 (exit $ac_status); } && {
31823 test -z "$ac_c_werror_flag" ||
31824 test ! -s conftest.err
31825 } && test -s conftest.$ac_objext; then
31827 cat >>confdefs.h <<\_ACEOF
31828 #define __WXGTK26__ 1
31831 { echo "$as_me:$LINENO: result: yes" >&5
31832 echo "${ECHO_T}yes" >&6; }
31836 echo "$as_me: failed program was:" >&5
31837 sed 's
/^
/| /' conftest.$ac_ext >&5
31840 { echo "$as_me:$LINENO: result: no" >&5
31841 echo "${ECHO_T}no" >&6; }
31846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31849 CFLAGS="$save_CFLAGS"
31852 if test "$wxUSE_UNICODE" = "yes"; then
31853 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31854 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31858 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31859 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31860 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31861 echo $ECHO_N "(cached) $ECHO_C" >&6
31863 ac_check_lib_save_LIBS=$LIBS
31865 cat >conftest.$ac_ext <<_ACEOF
31868 cat confdefs.h >>conftest.$ac_ext
31869 cat >>conftest.$ac_ext <<_ACEOF
31870 /* end confdefs.h. */
31872 /* Override any GCC internal prototype to avoid an error.
31873 Use char because int might match the return type of a GCC
31874 builtin and then its argument prototype would still apply. */
31878 char gdk_im_open ();
31882 return gdk_im_open ();
31887 rm -f conftest.$ac_objext conftest$ac_exeext
31888 if { (ac_try="$ac_link"
31889 case "(($ac_try" in
31890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31891 *) ac_try_echo=$ac_try;;
31893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31894 (eval "$ac_link") 2>conftest.er1
31896 grep -v '^
*+' conftest.er1 >conftest.err
31898 cat conftest.err >&5
31899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31900 (exit $ac_status); } && {
31901 test -z "$ac_c_werror_flag" ||
31902 test ! -s conftest.err
31903 } && test -s conftest$ac_exeext &&
31904 $as_test_x conftest$ac_exeext; then
31905 ac_cv_lib_gdk_gdk_im_open=yes
31907 echo "$as_me: failed program was:" >&5
31908 sed 's
/^
/| /' conftest.$ac_ext >&5
31910 ac_cv_lib_gdk_gdk_im_open=no
31913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31914 conftest$ac_exeext conftest.$ac_ext
31915 LIBS=$ac_check_lib_save_LIBS
31917 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31918 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31919 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31920 cat >>confdefs.h <<\_ACEOF
31927 if test "$USE_DARWIN" != 1; then
31929 for ac_func in poll
31931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31932 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31934 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31935 echo $ECHO_N "(cached) $ECHO_C" >&6
31937 cat >conftest.$ac_ext <<_ACEOF
31940 cat confdefs.h >>conftest.$ac_ext
31941 cat >>conftest.$ac_ext <<_ACEOF
31942 /* end confdefs.h. */
31943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31945 #define $ac_func innocuous_$ac_func
31947 /* System header to define __stub macros and hopefully few prototypes,
31948 which can conflict with char $ac_func (); below.
31949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31950 <limits.h> exists even on freestanding compilers. */
31953 # include <limits.h>
31955 # include <assert.h>
31960 /* Override any GCC internal prototype to avoid an error.
31961 Use char because int might match the return type of a GCC
31962 builtin and then its argument prototype would still apply. */
31967 /* The GNU C library defines this for functions which it implements
31968 to always fail with ENOSYS. Some functions are actually named
31969 something starting with __ and the normal name is an alias. */
31970 #if defined __stub_$ac_func || defined __stub___$ac_func
31977 return $ac_func ();
31982 rm -f conftest.$ac_objext conftest$ac_exeext
31983 if { (ac_try="$ac_link"
31984 case "(($ac_try" in
31985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31986 *) ac_try_echo=$ac_try;;
31988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31989 (eval "$ac_link") 2>conftest.er1
31991 grep -v '^
*+' conftest.er1 >conftest.err
31993 cat conftest.err >&5
31994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31995 (exit $ac_status); } && {
31996 test -z "$ac_c_werror_flag" ||
31997 test ! -s conftest.err
31998 } && test -s conftest$ac_exeext &&
31999 $as_test_x conftest$ac_exeext; then
32000 eval "$as_ac_var=yes"
32002 echo "$as_me: failed program was:" >&5
32003 sed 's
/^
/| /' conftest.$ac_ext >&5
32005 eval "$as_ac_var=no"
32008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32009 conftest$ac_exeext conftest.$ac_ext
32011 ac_res=`eval echo '${'$as_ac_var'}'`
32012 { echo "$as_me:$LINENO: result: $ac_res" >&5
32013 echo "${ECHO_T}$ac_res" >&6; }
32014 if test `eval echo '${'$as_ac_var'}'` = yes; then
32015 cat >>confdefs.h <<_ACEOF
32016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32025 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
32026 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
32028 AFMINSTALL=afminstall
32032 if test "$wxUSE_GPE" = "yes"; then
32033 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
32034 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
32037 for ac_dir in $SEARCH_LIB;
32039 for ac_extension in a so sl dylib dll.a; do
32040 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
32041 ac_find_libraries=$ac_dir
32047 if test "$ac_find_libraries" != "" ; then
32049 if test "$ac_find_libraries" = "default location"; then
32052 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32054 if test $result = 0; then
32057 ac_path_to_link=" -L$ac_find_libraries"
32061 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32063 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32064 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32066 { echo "$as_me:$LINENO: result: not found" >&5
32067 echo "${ECHO_T}not found" >&6; }
32073 if test "$wxUSE_MGL" = 1; then
32074 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32075 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32076 if test "x$MGL_ROOT" = x ; then
32077 { echo "$as_me:$LINENO: result: not found" >&5
32078 echo "${ECHO_T}not found" >&6; }
32079 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32080 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32081 { (exit 1); exit 1; }; }
32083 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32084 echo "${ECHO_T}$MGL_ROOT" >&6; }
32087 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32088 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32091 if test "x$wxUSE_SHARED" = xyes ; then
32092 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32094 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32098 mgl_os_candidates="dos32/dj2"
32101 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32102 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32103 { (exit 1); exit 1; }; }
32109 for mgl_os_i in $mgl_os_candidates ; do
32110 if test "x$mgl_os" = x ; then
32111 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32112 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32113 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32118 if test "x$mgl_lib_type" = x ; then
32119 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32120 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32121 mgl_lib_type=release
32128 if test "x$mgl_os" = x ; then
32129 { echo "$as_me:$LINENO: result: not found" >&5
32130 echo "${ECHO_T}not found" >&6; }
32131 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32132 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32133 { (exit 1); exit 1; }; }
32135 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32136 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32138 wxUSE_UNIVERSAL="yes"
32140 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32141 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32143 AFMINSTALL=afminstall
32148 if test "$wxUSE_DFB" = 1; then
32151 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32152 if test -n "$ac_tool_prefix"; then
32153 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32154 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32157 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32158 echo $ECHO_N "(cached) $ECHO_C" >&6
32160 case $PKG_CONFIG in
32162 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32166 for as_dir in $PATH
32169 test -z "$as_dir" && as_dir=.
32170 for ac_exec_ext in '' $ac_executable_extensions; do
32171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32172 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32183 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32184 if test -n "$PKG_CONFIG"; then
32185 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32186 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32188 { echo "$as_me:$LINENO: result: no" >&5
32189 echo "${ECHO_T}no" >&6; }
32194 if test -z "$ac_cv_path_PKG_CONFIG"; then
32195 ac_pt_PKG_CONFIG=$PKG_CONFIG
32196 # Extract the first word of "pkg-config", so it can be a program name with args.
32197 set dummy pkg-config; ac_word=$2
32198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32200 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32201 echo $ECHO_N "(cached) $ECHO_C" >&6
32203 case $ac_pt_PKG_CONFIG in
32205 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32209 for as_dir in $PATH
32212 test -z "$as_dir" && as_dir=.
32213 for ac_exec_ext in '' $ac_executable_extensions; do
32214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32215 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32226 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32227 if test -n "$ac_pt_PKG_CONFIG"; then
32228 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32229 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32231 { echo "$as_me:$LINENO: result: no" >&5
32232 echo "${ECHO_T}no" >&6; }
32235 if test "x$ac_pt_PKG_CONFIG" = x; then
32238 case $cross_compiling:$ac_tool_warned in
32240 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32241 whose name does not start with the host triplet. If you think this
32242 configuration is useful to you, please write to autoconf@gnu.org." >&5
32243 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32244 whose name does not start with the host triplet. If you think this
32245 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32246 ac_tool_warned=yes ;;
32248 PKG_CONFIG=$ac_pt_PKG_CONFIG
32251 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32255 if test -n "$PKG_CONFIG"; then
32256 _pkg_min_version=0.9.0
32257 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32258 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32259 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32260 { echo "$as_me:$LINENO: result: yes" >&5
32261 echo "${ECHO_T}yes" >&6; }
32263 { echo "$as_me:$LINENO: result: no" >&5
32264 echo "${ECHO_T}no" >&6; }
32272 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32273 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32275 if test -n "$PKG_CONFIG"; then
32276 if test -n "$DIRECTFB_CFLAGS"; then
32277 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32279 if test -n "$PKG_CONFIG" && \
32280 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32281 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32284 (exit $ac_status); }; then
32285 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32293 if test -n "$PKG_CONFIG"; then
32294 if test -n "$DIRECTFB_LIBS"; then
32295 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32297 if test -n "$PKG_CONFIG" && \
32298 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32299 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32302 (exit $ac_status); }; then
32303 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32314 if test $pkg_failed = yes; then
32316 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32317 _pkg_short_errors_supported=yes
32319 _pkg_short_errors_supported=no
32321 if test $_pkg_short_errors_supported = yes; then
32322 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32324 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32326 # Put the nasty error message in config.log where it belongs
32327 echo "$DIRECTFB_PKG_ERRORS" >&5
32330 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32331 echo "$as_me: error: DirectFB not found." >&2;}
32332 { (exit 1); exit 1; }; }
32335 elif test $pkg_failed = untried; then
32337 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32338 echo "$as_me: error: DirectFB not found." >&2;}
32339 { (exit 1); exit 1; }; }
32343 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32344 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32345 { echo "$as_me:$LINENO: result: yes" >&5
32346 echo "${ECHO_T}yes" >&6; }
32348 wxUSE_UNIVERSAL="yes"
32349 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32350 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32357 if test "$wxUSE_MICROWIN" = 1; then
32358 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32359 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32360 if test "x$MICROWINDOWS" = x ; then
32361 { echo "$as_me:$LINENO: result: not found" >&5
32362 echo "${ECHO_T}not found" >&6; }
32363 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32364 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32365 { (exit 1); exit 1; }; }
32367 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32368 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32371 if test -f $MICROWINDOWS/lib/libmwin.a; then
32372 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
32373 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
32375 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32376 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32377 { (exit 1); exit 1; }; }
32380 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32381 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32383 wxUSE_UNIVERSAL="yes"
32385 AFMINSTALL=afminstall
32387 GUIDIST=MICROWIN_DIST
32389 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32392 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32393 { echo "$as_me:$LINENO: checking for X" >&5
32394 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32397 # Check whether --with-x was given.
32398 if test "${with_x+set}" = set; then
32402 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
32403 if test "x$with_x" = xno; then
32404 # The user explicitly disabled X.
32407 case $x_includes,$x_libraries in #(
32408 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32409 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
32410 { (exit 1); exit 1; }; };; #(
32411 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32412 echo $ECHO_N "(cached) $ECHO_C" >&6
32414 # One or both of the vars are not set, and there is no cached value.
32415 ac_x_includes=no ac_x_libraries=no
32416 rm -f -r conftest.dir
32417 if mkdir conftest.dir; then
32419 cat >Imakefile <<'_ACEOF'
32421 @echo incroot='${INCROOT}'
32423 @echo usrlibdir='${USRLIBDIR}'
32425 @echo libdir='${LIBDIR}'
32427 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32428 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32429 for ac_var in incroot usrlibdir libdir; do
32430 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
32432 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32433 for ac_extension in a so sl; do
32434 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32435 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32436 ac_im_usrlibdir=$ac_im_libdir; break
32439 # Screen out bogus values from the imake configuration. They are
32440 # bogus both because they are the default anyway, and because
32441 # using them would break gcc on systems where it needs fixed includes.
32442 case $ac_im_incroot in
32443 /usr/include) ac_x_includes= ;;
32444 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32446 case $ac_im_usrlibdir in
32447 /usr/lib | /lib) ;;
32448 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32452 rm -f -r conftest.dir
32455 # Standard set of common directories for X headers.
32456 # Check X11 before X11Rn because it is often a symlink to the current release.
32468 /usr
/local
/X
11/include
32469 /usr
/local
/X
11R
6/include
32470 /usr
/local
/X
11R
5/include
32471 /usr
/local
/X
11R
4/include
32473 /usr
/local
/include
/X11
32474 /usr
/local
/include
/X11R6
32475 /usr
/local
/include
/X11R5
32476 /usr
/local
/include
/X11R4
32480 /usr
/XFree
86/include
/X11
32484 /usr
/unsupported
/include
32485 /usr
/athena
/include
32486 /usr
/local
/x
11r
5/include
32487 /usr
/lpp
/Xamples
/include
32489 /usr
/openwin
/include
32490 /usr
/openwin
/share
/include
'
32492 if test "$ac_x_includes" = no; then
32493 # Guess where to find include files, by looking for Xlib.h.
32494 # First, try using that file with no special directory specified.
32495 cat >conftest.$ac_ext <<_ACEOF
32498 cat confdefs.h >>conftest.$ac_ext
32499 cat >>conftest.$ac_ext <<_ACEOF
32500 /* end confdefs.h. */
32501 #include <X11/Xlib.h>
32503 if { (ac_try="$ac_cpp conftest.$ac_ext"
32504 case "(($ac_try" in
32505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32506 *) ac_try_echo=$ac_try;;
32508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32509 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32511 grep -v '^
*+' conftest.er1 >conftest.err
32513 cat conftest.err >&5
32514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32515 (exit $ac_status); } >/dev/null && {
32516 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32517 test ! -s conftest.err
32519 # We can compile using X headers with no special include directory.
32522 echo "$as_me: failed program was:" >&5
32523 sed 's
/^
/| /' conftest.$ac_ext >&5
32525 for ac_dir in $ac_x_header_dirs; do
32526 if test -r "$ac_dir/X11/Xlib.h"; then
32527 ac_x_includes=$ac_dir
32533 rm -f conftest.err conftest.$ac_ext
32534 fi # $ac_x_includes = no
32536 if test "$ac_x_libraries" = no; then
32537 # Check for the libraries.
32538 # See if we find them without any special options.
32539 # Don't add to
$LIBS permanently.
32542 cat >conftest.
$ac_ext <<_ACEOF
32545 cat confdefs.h
>>conftest.
$ac_ext
32546 cat >>conftest.
$ac_ext <<_ACEOF
32547 /* end confdefs.h. */
32548 #include <X11/Xlib.h>
32557 rm -f conftest.
$ac_objext conftest
$ac_exeext
32558 if { (ac_try
="$ac_link"
32559 case "(($ac_try" in
32560 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32561 *) ac_try_echo=$ac_try;;
32563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32564 (eval "$ac_link") 2>conftest.er1
32566 grep -v '^ *+' conftest.er1 >conftest.err
32568 cat conftest.err >&5
32569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32570 (exit $ac_status); } && {
32571 test -z "$ac_c_werror_flag" ||
32572 test ! -s conftest.err
32573 } && test -s conftest$ac_exeext &&
32574 $as_test_x conftest$ac_exeext; then
32576 # We can link X programs with no special library path.
32579 echo "$as_me: failed program was:" >&5
32580 sed 's/^/| /' conftest.$ac_ext >&5
32583 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
32585 # Don't even attempt the hair of trying to link an X program!
32586 for ac_extension in a so sl; do
32587 if test -r "$ac_dir/libX11.$ac_extension"; then
32588 ac_x_libraries=$ac_dir
32595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32596 conftest$ac_exeext conftest.$ac_ext
32597 fi # $ac_x_libraries = no
32599 case $ac_x_includes,$ac_x_libraries in #(
32600 no,* | *,no | *\'*)
32601 # Didn't find X, or a directory has "'" in its name.
32602 ac_cv_have_x="have_x=no";; #(
32604 # Record where we found X for the cache.
32605 ac_cv_have_x="have_x=yes\
32606 ac_x_includes='$ac_x_includes'\
32607 ac_x_libraries='$ac_x_libraries'"
32613 eval "$ac_cv_have_x"
32616 if test "$have_x" != yes; then
32617 { echo "$as_me:$LINENO: result: $have_x" >&5
32618 echo "${ECHO_T}$have_x" >&6; }
32621 # If each of the values was on the command line, it overrides each guess.
32622 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32623 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32624 # Update the cache value to reflect the command line values.
32625 ac_cv_have_x="have_x=yes\
32626 ac_x_includes='$x_includes'\
32627 ac_x_libraries='$x_libraries'"
32628 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32629 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32632 if test "$no_x" = yes; then
32633 # Not all programs may use this symbol, but it does not hurt to define it.
32635 cat >>confdefs.h <<\_ACEOF
32636 #define X_DISPLAY_MISSING 1
32639 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32641 if test -n "$x_includes"; then
32642 X_CFLAGS="$X_CFLAGS -I$x_includes"
32645 # It would also be nice to do this for all -L options, not just this one.
32646 if test -n "$x_libraries"; then
32647 X_LIBS="$X_LIBS -L$x_libraries"
32648 # For Solaris; some versions of Sun CC require a space after -R and
32649 # others require no space. Words are not sufficient . . . .
32650 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32651 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32652 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32653 ac_xsave_c_werror_flag=$ac_c_werror_flag
32654 ac_c_werror_flag=yes
32655 cat >conftest.$ac_ext <<_ACEOF
32658 cat confdefs.h >>conftest.$ac_ext
32659 cat >>conftest.$ac_ext <<_ACEOF
32660 /* end confdefs.h. */
32670 rm -f conftest.$ac_objext conftest$ac_exeext
32671 if { (ac_try="$ac_link"
32672 case "(($ac_try" in
32673 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32674 *) ac_try_echo
=$ac_try;;
32676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32677 (eval "$ac_link") 2>conftest.er1
32679 grep -v '^ *+' conftest.er1
>conftest.err
32681 cat conftest.err
>&5
32682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32683 (exit $ac_status); } && {
32684 test -z "$ac_c_werror_flag" ||
32685 test ! -s conftest.err
32686 } && test -s conftest
$ac_exeext &&
32687 $as_test_x conftest
$ac_exeext; then
32688 { echo "$as_me:$LINENO: result: no" >&5
32689 echo "${ECHO_T}no" >&6; }
32690 X_LIBS
="$X_LIBS -R$x_libraries"
32692 echo "$as_me: failed program was:" >&5
32693 sed 's/^/| /' conftest.
$ac_ext >&5
32695 LIBS
="$ac_xsave_LIBS -R $x_libraries"
32696 cat >conftest.
$ac_ext <<_ACEOF
32699 cat confdefs.h
>>conftest.
$ac_ext
32700 cat >>conftest.
$ac_ext <<_ACEOF
32701 /* end confdefs.h. */
32711 rm -f conftest.
$ac_objext conftest
$ac_exeext
32712 if { (ac_try
="$ac_link"
32713 case "(($ac_try" in
32714 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32715 *) ac_try_echo=$ac_try;;
32717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32718 (eval "$ac_link") 2>conftest.er1
32720 grep -v '^ *+' conftest.er1 >conftest.err
32722 cat conftest.err >&5
32723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32724 (exit $ac_status); } && {
32725 test -z "$ac_c_werror_flag" ||
32726 test ! -s conftest.err
32727 } && test -s conftest$ac_exeext &&
32728 $as_test_x conftest$ac_exeext; then
32729 { echo "$as_me:$LINENO: result: yes" >&5
32730 echo "${ECHO_T}yes" >&6; }
32731 X_LIBS="$X_LIBS -R $x_libraries"
32733 echo "$as_me: failed program was:" >&5
32734 sed 's/^/| /' conftest.$ac_ext >&5
32736 { echo "$as_me:$LINENO: result: neither works" >&5
32737 echo "${ECHO_T}neither works" >&6; }
32740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32741 conftest$ac_exeext conftest.$ac_ext
32744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32745 conftest$ac_exeext conftest.$ac_ext
32746 ac_c_werror_flag=$ac_xsave_c_werror_flag
32747 LIBS=$ac_xsave_LIBS
32750 # Check for system-dependent libraries X programs must link with.
32751 # Do this before checking for the system-independent R6 libraries
32752 # (-lICE), since we may need -lsocket or whatever for X linking.
32754 if test "$ISC" = yes; then
32755 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32757 # Martyn Johnson says this is needed for Ultrix, if the X
32758 # libraries were built with DECnet support. And Karl Berry says
32759 # the Alpha needs dnet_stub (dnet does not exist).
32760 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32761 cat >conftest.$ac_ext <<_ACEOF
32764 cat confdefs.h >>conftest.$ac_ext
32765 cat >>conftest.$ac_ext <<_ACEOF
32766 /* end confdefs.h. */
32768 /* Override any GCC internal prototype to avoid an error.
32769 Use char because int might match the return type of a GCC
32770 builtin and then its argument prototype would still apply. */
32774 char XOpenDisplay ();
32778 return XOpenDisplay ();
32783 rm -f conftest.$ac_objext conftest$ac_exeext
32784 if { (ac_try="$ac_link"
32785 case "(($ac_try" in
32786 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32787 *) ac_try_echo
=$ac_try;;
32789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32790 (eval "$ac_link") 2>conftest.er1
32792 grep -v '^ *+' conftest.er1
>conftest.err
32794 cat conftest.err
>&5
32795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32796 (exit $ac_status); } && {
32797 test -z "$ac_c_werror_flag" ||
32798 test ! -s conftest.err
32799 } && test -s conftest
$ac_exeext &&
32800 $as_test_x conftest
$ac_exeext; then
32803 echo "$as_me: failed program was:" >&5
32804 sed 's/^/| /' conftest.
$ac_ext >&5
32806 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32807 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32808 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32809 echo $ECHO_N "(cached) $ECHO_C" >&6
32811 ac_check_lib_save_LIBS
=$LIBS
32812 LIBS
="-ldnet $LIBS"
32813 cat >conftest.
$ac_ext <<_ACEOF
32816 cat confdefs.h
>>conftest.
$ac_ext
32817 cat >>conftest.
$ac_ext <<_ACEOF
32818 /* end confdefs.h. */
32820 /* Override any GCC internal prototype to avoid an error.
32821 Use char because int might match the return type of a GCC
32822 builtin and then its argument prototype would still apply. */
32830 return dnet_ntoa ();
32835 rm -f conftest.
$ac_objext conftest
$ac_exeext
32836 if { (ac_try
="$ac_link"
32837 case "(($ac_try" in
32838 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32839 *) ac_try_echo=$ac_try;;
32841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32842 (eval "$ac_link") 2>conftest.er1
32844 grep -v '^ *+' conftest.er1 >conftest.err
32846 cat conftest.err >&5
32847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32848 (exit $ac_status); } && {
32849 test -z "$ac_c_werror_flag" ||
32850 test ! -s conftest.err
32851 } && test -s conftest$ac_exeext &&
32852 $as_test_x conftest$ac_exeext; then
32853 ac_cv_lib_dnet_dnet_ntoa=yes
32855 echo "$as_me: failed program was:" >&5
32856 sed 's/^/| /' conftest.$ac_ext >&5
32858 ac_cv_lib_dnet_dnet_ntoa=no
32861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32862 conftest$ac_exeext conftest.$ac_ext
32863 LIBS=$ac_check_lib_save_LIBS
32865 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32866 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32867 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32868 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32871 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32872 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32873 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32874 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32875 echo $ECHO_N "(cached) $ECHO_C" >&6
32877 ac_check_lib_save_LIBS=$LIBS
32878 LIBS="-ldnet_stub $LIBS"
32879 cat >conftest.$ac_ext <<_ACEOF
32882 cat confdefs.h >>conftest.$ac_ext
32883 cat >>conftest.$ac_ext <<_ACEOF
32884 /* end confdefs.h. */
32886 /* Override any GCC internal prototype to avoid an error.
32887 Use char because int might match the return type of a GCC
32888 builtin and then its argument prototype would still apply. */
32896 return dnet_ntoa ();
32901 rm -f conftest.$ac_objext conftest$ac_exeext
32902 if { (ac_try="$ac_link"
32903 case "(($ac_try" in
32904 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32905 *) ac_try_echo
=$ac_try;;
32907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32908 (eval "$ac_link") 2>conftest.er1
32910 grep -v '^ *+' conftest.er1
>conftest.err
32912 cat conftest.err
>&5
32913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32914 (exit $ac_status); } && {
32915 test -z "$ac_c_werror_flag" ||
32916 test ! -s conftest.err
32917 } && test -s conftest
$ac_exeext &&
32918 $as_test_x conftest
$ac_exeext; then
32919 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
32921 echo "$as_me: failed program was:" >&5
32922 sed 's/^/| /' conftest.
$ac_ext >&5
32924 ac_cv_lib_dnet_stub_dnet_ntoa
=no
32927 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32928 conftest
$ac_exeext conftest.
$ac_ext
32929 LIBS
=$ac_check_lib_save_LIBS
32931 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32932 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32933 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32934 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
32940 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32941 conftest
$ac_exeext conftest.
$ac_ext
32942 LIBS
="$ac_xsave_LIBS"
32944 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32945 # to get the SysV transport functions.
32946 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32948 # The nsl library prevents programs from opening the X display
32949 # on Irix 5.2, according to T.E. Dickey.
32950 # The functions gethostbyname, getservbyname, and inet_addr are
32951 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32952 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32953 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32954 if test "${ac_cv_func_gethostbyname+set}" = set; then
32955 echo $ECHO_N "(cached) $ECHO_C" >&6
32957 cat >conftest.
$ac_ext <<_ACEOF
32960 cat confdefs.h
>>conftest.
$ac_ext
32961 cat >>conftest.
$ac_ext <<_ACEOF
32962 /* end confdefs.h. */
32963 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32965 #define gethostbyname innocuous_gethostbyname
32967 /* System header to define __stub macros and hopefully few prototypes,
32968 which can conflict with char gethostbyname (); below.
32969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32970 <limits.h> exists even on freestanding compilers. */
32973 # include <limits.h>
32975 # include <assert.h>
32978 #undef gethostbyname
32980 /* Override any GCC internal prototype to avoid an error.
32981 Use char because int might match the return type of a GCC
32982 builtin and then its argument prototype would still apply. */
32986 char gethostbyname ();
32987 /* The GNU C library defines this for functions which it implements
32988 to always fail with ENOSYS. Some functions are actually named
32989 something starting with __ and the normal name is an alias. */
32990 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32997 return gethostbyname ();
33002 rm -f conftest.
$ac_objext conftest
$ac_exeext
33003 if { (ac_try
="$ac_link"
33004 case "(($ac_try" in
33005 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33006 *) ac_try_echo=$ac_try;;
33008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33009 (eval "$ac_link") 2>conftest.er1
33011 grep -v '^ *+' conftest.er1 >conftest.err
33013 cat conftest.err >&5
33014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33015 (exit $ac_status); } && {
33016 test -z "$ac_c_werror_flag" ||
33017 test ! -s conftest.err
33018 } && test -s conftest$ac_exeext &&
33019 $as_test_x conftest$ac_exeext; then
33020 ac_cv_func_gethostbyname=yes
33022 echo "$as_me: failed program was:" >&5
33023 sed 's/^/| /' conftest.$ac_ext >&5
33025 ac_cv_func_gethostbyname=no
33028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33029 conftest$ac_exeext conftest.$ac_ext
33031 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
33032 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
33034 if test $ac_cv_func_gethostbyname = no; then
33035 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
33036 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
33037 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
33038 echo $ECHO_N "(cached) $ECHO_C" >&6
33040 ac_check_lib_save_LIBS=$LIBS
33042 cat >conftest.$ac_ext <<_ACEOF
33045 cat confdefs.h >>conftest.$ac_ext
33046 cat >>conftest.$ac_ext <<_ACEOF
33047 /* end confdefs.h. */
33049 /* Override any GCC internal prototype to avoid an error.
33050 Use char because int might match the return type of a GCC
33051 builtin and then its argument prototype would still apply. */
33055 char gethostbyname ();
33059 return gethostbyname ();
33064 rm -f conftest.$ac_objext conftest$ac_exeext
33065 if { (ac_try="$ac_link"
33066 case "(($ac_try" in
33067 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33068 *) ac_try_echo
=$ac_try;;
33070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33071 (eval "$ac_link") 2>conftest.er1
33073 grep -v '^ *+' conftest.er1
>conftest.err
33075 cat conftest.err
>&5
33076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33077 (exit $ac_status); } && {
33078 test -z "$ac_c_werror_flag" ||
33079 test ! -s conftest.err
33080 } && test -s conftest
$ac_exeext &&
33081 $as_test_x conftest
$ac_exeext; then
33082 ac_cv_lib_nsl_gethostbyname
=yes
33084 echo "$as_me: failed program was:" >&5
33085 sed 's/^/| /' conftest.
$ac_ext >&5
33087 ac_cv_lib_nsl_gethostbyname
=no
33090 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33091 conftest
$ac_exeext conftest.
$ac_ext
33092 LIBS
=$ac_check_lib_save_LIBS
33094 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33095 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33096 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33097 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
33100 if test $ac_cv_lib_nsl_gethostbyname = no
; then
33101 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33102 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33103 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33104 echo $ECHO_N "(cached) $ECHO_C" >&6
33106 ac_check_lib_save_LIBS
=$LIBS
33108 cat >conftest.
$ac_ext <<_ACEOF
33111 cat confdefs.h
>>conftest.
$ac_ext
33112 cat >>conftest.
$ac_ext <<_ACEOF
33113 /* end confdefs.h. */
33115 /* Override any GCC internal prototype to avoid an error.
33116 Use char because int might match the return type of a GCC
33117 builtin and then its argument prototype would still apply. */
33121 char gethostbyname ();
33125 return gethostbyname ();
33130 rm -f conftest.
$ac_objext conftest
$ac_exeext
33131 if { (ac_try
="$ac_link"
33132 case "(($ac_try" in
33133 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33134 *) ac_try_echo=$ac_try;;
33136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33137 (eval "$ac_link") 2>conftest.er1
33139 grep -v '^ *+' conftest.er1 >conftest.err
33141 cat conftest.err >&5
33142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33143 (exit $ac_status); } && {
33144 test -z "$ac_c_werror_flag" ||
33145 test ! -s conftest.err
33146 } && test -s conftest$ac_exeext &&
33147 $as_test_x conftest$ac_exeext; then
33148 ac_cv_lib_bsd_gethostbyname=yes
33150 echo "$as_me: failed program was:" >&5
33151 sed 's/^/| /' conftest.$ac_ext >&5
33153 ac_cv_lib_bsd_gethostbyname=no
33156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33157 conftest$ac_exeext conftest.$ac_ext
33158 LIBS=$ac_check_lib_save_LIBS
33160 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33161 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33162 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33163 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33169 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33170 # socket/setsockopt and other routines are undefined under SCO ODT
33171 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33172 # on later versions), says Simon Leinen: it contains gethostby*
33173 # variants that don't use the name server (or something). -lsocket
33174 # must be given before -lnsl if both are needed. We assume that
33175 # if connect needs -lnsl, so does gethostbyname.
33176 { echo "$as_me:$LINENO: checking for connect" >&5
33177 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33178 if test "${ac_cv_func_connect+set}" = set; then
33179 echo $ECHO_N "(cached) $ECHO_C" >&6
33181 cat >conftest.$ac_ext <<_ACEOF
33184 cat confdefs.h >>conftest.$ac_ext
33185 cat >>conftest.$ac_ext <<_ACEOF
33186 /* end confdefs.h. */
33187 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33189 #define connect innocuous_connect
33191 /* System header to define __stub macros and hopefully few prototypes,
33192 which can conflict with char connect (); below.
33193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33194 <limits.h> exists even on freestanding compilers. */
33197 # include <limits.h>
33199 # include <assert.h>
33204 /* Override any GCC internal prototype to avoid an error.
33205 Use char because int might match the return type of a GCC
33206 builtin and then its argument prototype would still apply. */
33211 /* The GNU C library defines this for functions which it implements
33212 to always fail with ENOSYS. Some functions are actually named
33213 something starting with __ and the normal name is an alias. */
33214 #if defined __stub_connect || defined __stub___connect
33226 rm -f conftest.$ac_objext conftest$ac_exeext
33227 if { (ac_try="$ac_link"
33228 case "(($ac_try" in
33229 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33230 *) ac_try_echo
=$ac_try;;
33232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33233 (eval "$ac_link") 2>conftest.er1
33235 grep -v '^ *+' conftest.er1
>conftest.err
33237 cat conftest.err
>&5
33238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33239 (exit $ac_status); } && {
33240 test -z "$ac_c_werror_flag" ||
33241 test ! -s conftest.err
33242 } && test -s conftest
$ac_exeext &&
33243 $as_test_x conftest
$ac_exeext; then
33244 ac_cv_func_connect
=yes
33246 echo "$as_me: failed program was:" >&5
33247 sed 's/^/| /' conftest.
$ac_ext >&5
33249 ac_cv_func_connect
=no
33252 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33253 conftest
$ac_exeext conftest.
$ac_ext
33255 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33256 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33258 if test $ac_cv_func_connect = no
; then
33259 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33260 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33261 if test "${ac_cv_lib_socket_connect+set}" = set; then
33262 echo $ECHO_N "(cached) $ECHO_C" >&6
33264 ac_check_lib_save_LIBS
=$LIBS
33265 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
33266 cat >conftest.
$ac_ext <<_ACEOF
33269 cat confdefs.h
>>conftest.
$ac_ext
33270 cat >>conftest.
$ac_ext <<_ACEOF
33271 /* end confdefs.h. */
33273 /* Override any GCC internal prototype to avoid an error.
33274 Use char because int might match the return type of a GCC
33275 builtin and then its argument prototype would still apply. */
33288 rm -f conftest.
$ac_objext conftest
$ac_exeext
33289 if { (ac_try
="$ac_link"
33290 case "(($ac_try" in
33291 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33292 *) ac_try_echo=$ac_try;;
33294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33295 (eval "$ac_link") 2>conftest.er1
33297 grep -v '^ *+' conftest.er1 >conftest.err
33299 cat conftest.err >&5
33300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33301 (exit $ac_status); } && {
33302 test -z "$ac_c_werror_flag" ||
33303 test ! -s conftest.err
33304 } && test -s conftest$ac_exeext &&
33305 $as_test_x conftest$ac_exeext; then
33306 ac_cv_lib_socket_connect=yes
33308 echo "$as_me: failed program was:" >&5
33309 sed 's/^/| /' conftest.$ac_ext >&5
33311 ac_cv_lib_socket_connect=no
33314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33315 conftest$ac_exeext conftest.$ac_ext
33316 LIBS=$ac_check_lib_save_LIBS
33318 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33319 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33320 if test $ac_cv_lib_socket_connect = yes; then
33321 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33326 # Guillermo Gomez says -lposix is necessary on A/UX.
33327 { echo "$as_me:$LINENO: checking for remove" >&5
33328 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33329 if test "${ac_cv_func_remove+set}" = set; then
33330 echo $ECHO_N "(cached) $ECHO_C" >&6
33332 cat >conftest.$ac_ext <<_ACEOF
33335 cat confdefs.h >>conftest.$ac_ext
33336 cat >>conftest.$ac_ext <<_ACEOF
33337 /* end confdefs.h. */
33338 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33340 #define remove innocuous_remove
33342 /* System header to define __stub macros and hopefully few prototypes,
33343 which can conflict with char remove (); below.
33344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33345 <limits.h> exists even on freestanding compilers. */
33348 # include <limits.h>
33350 # include <assert.h>
33355 /* Override any GCC internal prototype to avoid an error.
33356 Use char because int might match the return type of a GCC
33357 builtin and then its argument prototype would still apply. */
33362 /* The GNU C library defines this for functions which it implements
33363 to always fail with ENOSYS. Some functions are actually named
33364 something starting with __ and the normal name is an alias. */
33365 #if defined __stub_remove || defined __stub___remove
33377 rm -f conftest.$ac_objext conftest$ac_exeext
33378 if { (ac_try="$ac_link"
33379 case "(($ac_try" in
33380 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33381 *) ac_try_echo
=$ac_try;;
33383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33384 (eval "$ac_link") 2>conftest.er1
33386 grep -v '^ *+' conftest.er1
>conftest.err
33388 cat conftest.err
>&5
33389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33390 (exit $ac_status); } && {
33391 test -z "$ac_c_werror_flag" ||
33392 test ! -s conftest.err
33393 } && test -s conftest
$ac_exeext &&
33394 $as_test_x conftest
$ac_exeext; then
33395 ac_cv_func_remove
=yes
33397 echo "$as_me: failed program was:" >&5
33398 sed 's/^/| /' conftest.
$ac_ext >&5
33400 ac_cv_func_remove
=no
33403 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33404 conftest
$ac_exeext conftest.
$ac_ext
33406 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33407 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33409 if test $ac_cv_func_remove = no
; then
33410 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33411 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33412 if test "${ac_cv_lib_posix_remove+set}" = set; then
33413 echo $ECHO_N "(cached) $ECHO_C" >&6
33415 ac_check_lib_save_LIBS
=$LIBS
33416 LIBS
="-lposix $LIBS"
33417 cat >conftest.
$ac_ext <<_ACEOF
33420 cat confdefs.h
>>conftest.
$ac_ext
33421 cat >>conftest.
$ac_ext <<_ACEOF
33422 /* end confdefs.h. */
33424 /* Override any GCC internal prototype to avoid an error.
33425 Use char because int might match the return type of a GCC
33426 builtin and then its argument prototype would still apply. */
33439 rm -f conftest.
$ac_objext conftest
$ac_exeext
33440 if { (ac_try
="$ac_link"
33441 case "(($ac_try" in
33442 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33443 *) ac_try_echo=$ac_try;;
33445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33446 (eval "$ac_link") 2>conftest.er1
33448 grep -v '^ *+' conftest.er1 >conftest.err
33450 cat conftest.err >&5
33451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33452 (exit $ac_status); } && {
33453 test -z "$ac_c_werror_flag" ||
33454 test ! -s conftest.err
33455 } && test -s conftest$ac_exeext &&
33456 $as_test_x conftest$ac_exeext; then
33457 ac_cv_lib_posix_remove=yes
33459 echo "$as_me: failed program was:" >&5
33460 sed 's/^/| /' conftest.$ac_ext >&5
33462 ac_cv_lib_posix_remove=no
33465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33466 conftest$ac_exeext conftest.$ac_ext
33467 LIBS=$ac_check_lib_save_LIBS
33469 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33470 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33471 if test $ac_cv_lib_posix_remove = yes; then
33472 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33477 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33478 { echo "$as_me:$LINENO: checking for shmat" >&5
33479 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33480 if test "${ac_cv_func_shmat+set}" = set; then
33481 echo $ECHO_N "(cached) $ECHO_C" >&6
33483 cat >conftest.$ac_ext <<_ACEOF
33486 cat confdefs.h >>conftest.$ac_ext
33487 cat >>conftest.$ac_ext <<_ACEOF
33488 /* end confdefs.h. */
33489 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33491 #define shmat innocuous_shmat
33493 /* System header to define __stub macros and hopefully few prototypes,
33494 which can conflict with char shmat (); below.
33495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33496 <limits.h> exists even on freestanding compilers. */
33499 # include <limits.h>
33501 # include <assert.h>
33506 /* Override any GCC internal prototype to avoid an error.
33507 Use char because int might match the return type of a GCC
33508 builtin and then its argument prototype would still apply. */
33513 /* The GNU C library defines this for functions which it implements
33514 to always fail with ENOSYS. Some functions are actually named
33515 something starting with __ and the normal name is an alias. */
33516 #if defined __stub_shmat || defined __stub___shmat
33528 rm -f conftest.$ac_objext conftest$ac_exeext
33529 if { (ac_try="$ac_link"
33530 case "(($ac_try" in
33531 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33532 *) ac_try_echo
=$ac_try;;
33534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33535 (eval "$ac_link") 2>conftest.er1
33537 grep -v '^ *+' conftest.er1
>conftest.err
33539 cat conftest.err
>&5
33540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33541 (exit $ac_status); } && {
33542 test -z "$ac_c_werror_flag" ||
33543 test ! -s conftest.err
33544 } && test -s conftest
$ac_exeext &&
33545 $as_test_x conftest
$ac_exeext; then
33546 ac_cv_func_shmat
=yes
33548 echo "$as_me: failed program was:" >&5
33549 sed 's/^/| /' conftest.
$ac_ext >&5
33551 ac_cv_func_shmat
=no
33554 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33555 conftest
$ac_exeext conftest.
$ac_ext
33557 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33558 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33560 if test $ac_cv_func_shmat = no
; then
33561 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33562 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33563 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33564 echo $ECHO_N "(cached) $ECHO_C" >&6
33566 ac_check_lib_save_LIBS
=$LIBS
33568 cat >conftest.
$ac_ext <<_ACEOF
33571 cat confdefs.h
>>conftest.
$ac_ext
33572 cat >>conftest.
$ac_ext <<_ACEOF
33573 /* end confdefs.h. */
33575 /* Override any GCC internal prototype to avoid an error.
33576 Use char because int might match the return type of a GCC
33577 builtin and then its argument prototype would still apply. */
33590 rm -f conftest.
$ac_objext conftest
$ac_exeext
33591 if { (ac_try
="$ac_link"
33592 case "(($ac_try" in
33593 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33594 *) ac_try_echo=$ac_try;;
33596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33597 (eval "$ac_link") 2>conftest.er1
33599 grep -v '^ *+' conftest.er1 >conftest.err
33601 cat conftest.err >&5
33602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33603 (exit $ac_status); } && {
33604 test -z "$ac_c_werror_flag" ||
33605 test ! -s conftest.err
33606 } && test -s conftest$ac_exeext &&
33607 $as_test_x conftest$ac_exeext; then
33608 ac_cv_lib_ipc_shmat=yes
33610 echo "$as_me: failed program was:" >&5
33611 sed 's/^/| /' conftest.$ac_ext >&5
33613 ac_cv_lib_ipc_shmat=no
33616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33617 conftest$ac_exeext conftest.$ac_ext
33618 LIBS=$ac_check_lib_save_LIBS
33620 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33621 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33622 if test $ac_cv_lib_ipc_shmat = yes; then
33623 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33629 # Check for libraries that X11R6 Xt/Xaw programs need.
33630 ac_save_LDFLAGS=$LDFLAGS
33631 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33632 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33633 # check for ICE first), but we must link in the order -lSM -lICE or
33634 # we get undefined symbols. So assume we have SM if we have ICE.
33635 # These have to be linked with before -lX11, unlike the other
33636 # libraries we check for below, so use a different variable.
33637 # John Interrante, Karl Berry
33638 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33639 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33640 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33641 echo $ECHO_N "(cached) $ECHO_C" >&6
33643 ac_check_lib_save_LIBS=$LIBS
33644 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33645 cat >conftest.$ac_ext <<_ACEOF
33648 cat confdefs.h >>conftest.$ac_ext
33649 cat >>conftest.$ac_ext <<_ACEOF
33650 /* end confdefs.h. */
33652 /* Override any GCC internal prototype to avoid an error.
33653 Use char because int might match the return type of a GCC
33654 builtin and then its argument prototype would still apply. */
33658 char IceConnectionNumber ();
33662 return IceConnectionNumber ();
33667 rm -f conftest.$ac_objext conftest$ac_exeext
33668 if { (ac_try="$ac_link"
33669 case "(($ac_try" in
33670 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33671 *) ac_try_echo
=$ac_try;;
33673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33674 (eval "$ac_link") 2>conftest.er1
33676 grep -v '^ *+' conftest.er1
>conftest.err
33678 cat conftest.err
>&5
33679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33680 (exit $ac_status); } && {
33681 test -z "$ac_c_werror_flag" ||
33682 test ! -s conftest.err
33683 } && test -s conftest
$ac_exeext &&
33684 $as_test_x conftest
$ac_exeext; then
33685 ac_cv_lib_ICE_IceConnectionNumber
=yes
33687 echo "$as_me: failed program was:" >&5
33688 sed 's/^/| /' conftest.
$ac_ext >&5
33690 ac_cv_lib_ICE_IceConnectionNumber
=no
33693 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33694 conftest
$ac_exeext conftest.
$ac_ext
33695 LIBS
=$ac_check_lib_save_LIBS
33697 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33698 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33699 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33700 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
33703 LDFLAGS
=$ac_save_LDFLAGS
33708 if test "$no_x" = "yes"; then
33709 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33710 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33711 { (exit 1); exit 1; }; }
33714 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33715 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
33716 AFMINSTALL
=afminstall
33717 COMPILED_X_PROGRAM
=0
33721 if test "$wxUSE_X11" = 1; then
33722 if test "$wxUSE_NANOX" = "yes"; then
33723 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33724 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33725 if test "x$MICROWIN" = x
; then
33726 { echo "$as_me:$LINENO: result: not found" >&5
33727 echo "${ECHO_T}not found" >&6; }
33728 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33729 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33730 { (exit 1); exit 1; }; }
33732 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33733 echo "${ECHO_T}$MICROWIN" >&6; }
33734 cat >>confdefs.h
<<\_ACEOF
33735 #define wxUSE_NANOX 1
33741 if test "$wxUSE_UNICODE" = "yes"; then
33744 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33745 if test -n "$ac_tool_prefix"; then
33746 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33747 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33750 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33751 echo $ECHO_N "(cached) $ECHO_C" >&6
33753 case $PKG_CONFIG in
33755 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33759 for as_dir
in $PATH
33762 test -z "$as_dir" && as_dir
=.
33763 for ac_exec_ext
in '' $ac_executable_extensions; do
33764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33765 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33776 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33777 if test -n "$PKG_CONFIG"; then
33778 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33779 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33781 { echo "$as_me:$LINENO: result: no" >&5
33782 echo "${ECHO_T}no" >&6; }
33787 if test -z "$ac_cv_path_PKG_CONFIG"; then
33788 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33789 # Extract the first word of "pkg-config", so it can be a program name with args.
33790 set dummy pkg
-config; ac_word
=$2
33791 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33793 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33794 echo $ECHO_N "(cached) $ECHO_C" >&6
33796 case $ac_pt_PKG_CONFIG in
33798 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33802 for as_dir
in $PATH
33805 test -z "$as_dir" && as_dir
=.
33806 for ac_exec_ext
in '' $ac_executable_extensions; do
33807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33808 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33819 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33820 if test -n "$ac_pt_PKG_CONFIG"; then
33821 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33822 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33824 { echo "$as_me:$LINENO: result: no" >&5
33825 echo "${ECHO_T}no" >&6; }
33828 if test "x$ac_pt_PKG_CONFIG" = x
; then
33831 case $cross_compiling:$ac_tool_warned in
33833 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33834 whose name does not start with the host triplet. If you think this
33835 configuration is useful to you, please write to autoconf@gnu.org." >&5
33836 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33837 whose name does not start with the host triplet. If you think this
33838 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33839 ac_tool_warned
=yes ;;
33841 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33844 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33848 if test -n "$PKG_CONFIG"; then
33849 _pkg_min_version
=0.9.0
33850 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33851 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33852 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33853 { echo "$as_me:$LINENO: result: yes" >&5
33854 echo "${ECHO_T}yes" >&6; }
33856 { echo "$as_me:$LINENO: result: no" >&5
33857 echo "${ECHO_T}no" >&6; }
33865 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33866 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33868 if test -n "$PKG_CONFIG"; then
33869 if test -n "$PANGOX_CFLAGS"; then
33870 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
33872 if test -n "$PKG_CONFIG" && \
33873 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33874 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33877 (exit $ac_status); }; then
33878 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33886 if test -n "$PKG_CONFIG"; then
33887 if test -n "$PANGOX_LIBS"; then
33888 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
33890 if test -n "$PKG_CONFIG" && \
33891 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33892 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33895 (exit $ac_status); }; then
33896 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33907 if test $pkg_failed = yes; then
33909 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33910 _pkg_short_errors_supported
=yes
33912 _pkg_short_errors_supported
=no
33914 if test $_pkg_short_errors_supported = yes; then
33915 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33917 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33919 # Put the nasty error message in config.log where it belongs
33920 echo "$PANGOX_PKG_ERRORS" >&5
33923 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33924 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33925 { (exit 1); exit 1; }; }
33928 elif test $pkg_failed = untried
; then
33930 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33931 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33932 { (exit 1); exit 1; }; }
33936 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
33937 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
33938 { echo "$as_me:$LINENO: result: yes" >&5
33939 echo "${ECHO_T}yes" >&6; }
33941 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
33942 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
33943 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
33948 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33949 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33951 if test -n "$PKG_CONFIG"; then
33952 if test -n "$PANGOFT2_CFLAGS"; then
33953 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
33955 if test -n "$PKG_CONFIG" && \
33956 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33957 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33960 (exit $ac_status); }; then
33961 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33969 if test -n "$PKG_CONFIG"; then
33970 if test -n "$PANGOFT2_LIBS"; then
33971 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
33973 if test -n "$PKG_CONFIG" && \
33974 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33975 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33978 (exit $ac_status); }; then
33979 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33990 if test $pkg_failed = yes; then
33992 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33993 _pkg_short_errors_supported
=yes
33995 _pkg_short_errors_supported
=no
33997 if test $_pkg_short_errors_supported = yes; then
33998 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
34000 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
34002 # Put the nasty error message in config.log where it belongs
34003 echo "$PANGOFT2_PKG_ERRORS" >&5
34006 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34007 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34008 wxUSE_PRINTING_ARCHITECTURE
="no"
34011 elif test $pkg_failed = untried
; then
34013 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34014 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34015 wxUSE_PRINTING_ARCHITECTURE
="no"
34019 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
34020 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
34021 { echo "$as_me:$LINENO: result: yes" >&5
34022 echo "${ECHO_T}yes" >&6; }
34024 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
34025 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
34026 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
34031 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
34032 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
34034 if test -n "$PKG_CONFIG"; then
34035 if test -n "$PANGOXFT_CFLAGS"; then
34036 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
34038 if test -n "$PKG_CONFIG" && \
34039 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34040 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34043 (exit $ac_status); }; then
34044 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
34052 if test -n "$PKG_CONFIG"; then
34053 if test -n "$PANGOXFT_LIBS"; then
34054 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
34056 if test -n "$PKG_CONFIG" && \
34057 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34058 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34061 (exit $ac_status); }; then
34062 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34073 if test $pkg_failed = yes; then
34075 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34076 _pkg_short_errors_supported
=yes
34078 _pkg_short_errors_supported
=no
34080 if test $_pkg_short_errors_supported = yes; then
34081 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34083 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34085 # Put the nasty error message in config.log where it belongs
34086 echo "$PANGOXFT_PKG_ERRORS" >&5
34089 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34090 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34093 elif test $pkg_failed = untried
; then
34095 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34096 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34100 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
34101 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
34102 { echo "$as_me:$LINENO: result: yes" >&5
34103 echo "${ECHO_T}yes" >&6; }
34105 cat >>confdefs.h
<<\_ACEOF
34106 #define HAVE_PANGO_XFT 1
34109 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
34110 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
34111 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34115 LIBS
="$LIBS $PANGOX_LIBS"
34117 for ac_func
in pango_font_family_is_monospace
34119 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34120 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34122 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34123 echo $ECHO_N "(cached) $ECHO_C" >&6
34125 cat >conftest.
$ac_ext <<_ACEOF
34128 cat confdefs.h
>>conftest.
$ac_ext
34129 cat >>conftest.
$ac_ext <<_ACEOF
34130 /* end confdefs.h. */
34131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34133 #define $ac_func innocuous_$ac_func
34135 /* System header to define __stub macros and hopefully few prototypes,
34136 which can conflict with char $ac_func (); below.
34137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34138 <limits.h> exists even on freestanding compilers. */
34141 # include <limits.h>
34143 # include <assert.h>
34148 /* Override any GCC internal prototype to avoid an error.
34149 Use char because int might match the return type of a GCC
34150 builtin and then its argument prototype would still apply. */
34155 /* The GNU C library defines this for functions which it implements
34156 to always fail with ENOSYS. Some functions are actually named
34157 something starting with __ and the normal name is an alias. */
34158 #if defined __stub_$ac_func || defined __stub___$ac_func
34165 return $ac_func ();
34170 rm -f conftest.
$ac_objext conftest
$ac_exeext
34171 if { (ac_try
="$ac_link"
34172 case "(($ac_try" in
34173 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34174 *) ac_try_echo=$ac_try;;
34176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34177 (eval "$ac_link") 2>conftest.er1
34179 grep -v '^ *+' conftest.er1 >conftest.err
34181 cat conftest.err >&5
34182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34183 (exit $ac_status); } && {
34184 test -z "$ac_c_werror_flag" ||
34185 test ! -s conftest.err
34186 } && test -s conftest$ac_exeext &&
34187 $as_test_x conftest$ac_exeext; then
34188 eval "$as_ac_var=yes"
34190 echo "$as_me: failed program was:" >&5
34191 sed 's/^/| /' conftest.$ac_ext >&5
34193 eval "$as_ac_var=no"
34196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34197 conftest$ac_exeext conftest.$ac_ext
34199 ac_res=`eval echo '${'$as_ac_var'}'`
34200 { echo "$as_me:$LINENO: result: $ac_res" >&5
34201 echo "${ECHO_T}$ac_res" >&6; }
34202 if test `eval echo '${'$as_ac_var'}'` = yes; then
34203 cat >>confdefs.h <<_ACEOF
34204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34213 wxUSE_UNIVERSAL="yes"
34215 if test "$wxUSE_NANOX" = "yes"; then
34216 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34217 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"
34218 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34220 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34227 if test "$wxUSE_MOTIF" = 1; then
34228 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34229 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34232 for ac_dir in $SEARCH_INCLUDE /usr/include;
34234 if test -f "$ac_dir/Xm/Xm.h"; then
34235 ac_find_includes=$ac_dir
34240 if test "$ac_find_includes" != "" ; then
34241 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34242 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34244 if test "x$ac_find_includes" = "x/usr/include"; then
34245 ac_path_to_include=""
34247 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34249 if test $result = 0; then
34250 ac_path_to_include=""
34252 ac_path_to_include=" -I$ac_find_includes"
34256 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34258 save_CFLAGS=$CFLAGS
34259 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34261 cat >conftest.$ac_ext <<_ACEOF
34264 cat confdefs.h >>conftest.$ac_ext
34265 cat >>conftest.$ac_ext <<_ACEOF
34266 /* end confdefs.h. */
34275 version = xmUseVersion;
34281 rm -f conftest.$ac_objext
34282 if { (ac_try="$ac_compile"
34283 case "(($ac_try" in
34284 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34285 *) ac_try_echo
=$ac_try;;
34287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34288 (eval "$ac_compile") 2>conftest.er1
34290 grep -v '^ *+' conftest.er1
>conftest.err
34292 cat conftest.err
>&5
34293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34294 (exit $ac_status); } && {
34295 test -z "$ac_c_werror_flag" ||
34296 test ! -s conftest.err
34297 } && test -s conftest.
$ac_objext; then
34299 { echo "$as_me:$LINENO: result: found in default search path" >&5
34300 echo "${ECHO_T}found in default search path" >&6; }
34301 COMPILED_X_PROGRAM
=1
34304 echo "$as_me: failed program was:" >&5
34305 sed 's/^/| /' conftest.
$ac_ext >&5
34308 { echo "$as_me:$LINENO: result: no" >&5
34309 echo "${ECHO_T}no" >&6; }
34310 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34311 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34312 { (exit 1); exit 1; }; }
34317 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34319 CFLAGS
=$save_CFLAGS
34323 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34324 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34327 for ac_dir
in $SEARCH_LIB;
34329 for ac_extension
in a so sl dylib dll.a
; do
34330 if test -f "$ac_dir/libXm.$ac_extension"; then
34331 ac_find_libraries
=$ac_dir
34338 if test "x$ac_find_libraries" != "x" ; then
34339 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34340 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34343 if test "$ac_find_libraries" = "default location"; then
34346 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
34348 if test $result = 0; then
34351 ac_path_to_link
=" -L$ac_find_libraries"
34355 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
34357 save_CFLAGS
=$CFLAGS
34358 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
34360 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34362 cat >conftest.
$ac_ext <<_ACEOF
34365 cat confdefs.h
>>conftest.
$ac_ext
34366 cat >>conftest.
$ac_ext <<_ACEOF
34367 /* end confdefs.h. */
34376 version = xmUseVersion;
34382 rm -f conftest.
$ac_objext conftest
$ac_exeext
34383 if { (ac_try
="$ac_link"
34384 case "(($ac_try" in
34385 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34386 *) ac_try_echo=$ac_try;;
34388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34389 (eval "$ac_link") 2>conftest.er1
34391 grep -v '^ *+' conftest.er1 >conftest.err
34393 cat conftest.err >&5
34394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34395 (exit $ac_status); } && {
34396 test -z "$ac_c_werror_flag" ||
34397 test ! -s conftest.err
34398 } && test -s conftest$ac_exeext &&
34399 $as_test_x conftest$ac_exeext; then
34401 { echo "$as_me:$LINENO: result: found in default search path" >&5
34402 echo "${ECHO_T}found in default search path" >&6; }
34403 COMPILED_X_PROGRAM=1
34406 echo "$as_me: failed program was:" >&5
34407 sed 's/^/| /' conftest.$ac_ext >&5
34410 { echo "$as_me:$LINENO: result: no" >&5
34411 echo "${ECHO_T}no" >&6; }
34412 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34413 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34414 { (exit 1); exit 1; }; }
34419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34420 conftest$ac_exeext conftest.$ac_ext
34422 CFLAGS=$save_CFLAGS
34426 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34427 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34431 for libp in "" " -lXp"; do
34432 if test "$libs_found" = 0; then
34433 for libsm_ice in "" " -lSM -lICE"; do
34434 if test "$libs_found" = 0; then
34436 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34437 save_CFLAGS=$CFLAGS
34438 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34440 cat >conftest.$ac_ext <<_ACEOF
34443 cat confdefs.h >>conftest.$ac_ext
34444 cat >>conftest.$ac_ext <<_ACEOF
34445 /* end confdefs.h. */
34448 #include <Xm/List.h>
34454 XmString string = NULL;
34457 XmListAddItem(w, string, position);
34463 rm -f conftest.$ac_objext conftest$ac_exeext
34464 if { (ac_try="$ac_link"
34465 case "(($ac_try" in
34466 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34467 *) ac_try_echo
=$ac_try;;
34469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34470 (eval "$ac_link") 2>conftest.er1
34472 grep -v '^ *+' conftest.er1
>conftest.err
34474 cat conftest.err
>&5
34475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34476 (exit $ac_status); } && {
34477 test -z "$ac_c_werror_flag" ||
34478 test ! -s conftest.err
34479 } && test -s conftest
$ac_exeext &&
34480 $as_test_x conftest
$ac_exeext; then
34483 libsm_ice_link
="$libsm_ice"
34484 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34485 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34489 echo "$as_me: failed program was:" >&5
34490 sed 's/^/| /' conftest.
$ac_ext >&5
34496 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34497 conftest
$ac_exeext conftest.
$ac_ext
34500 CFLAGS
=$save_CFLAGS
34506 if test "$libs_found" = 0; then
34507 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34508 echo "${ECHO_T}can't find the right libraries" >&6; }
34509 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34510 echo "$as_me: error: can't link a simple motif program" >&2;}
34511 { (exit 1); exit 1; }; }
34514 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34515 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34516 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34517 echo $ECHO_N "(cached) $ECHO_C" >&6
34519 ac_check_lib_save_LIBS
=$LIBS
34521 cat >conftest.
$ac_ext <<_ACEOF
34524 cat confdefs.h
>>conftest.
$ac_ext
34525 cat >>conftest.
$ac_ext <<_ACEOF
34526 /* end confdefs.h. */
34528 /* Override any GCC internal prototype to avoid an error.
34529 Use char because int might match the return type of a GCC
34530 builtin and then its argument prototype would still apply. */
34534 char SgCreateList ();
34538 return SgCreateList ();
34543 rm -f conftest.
$ac_objext conftest
$ac_exeext
34544 if { (ac_try
="$ac_link"
34545 case "(($ac_try" in
34546 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34547 *) ac_try_echo=$ac_try;;
34549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34550 (eval "$ac_link") 2>conftest.er1
34552 grep -v '^ *+' conftest.er1 >conftest.err
34554 cat conftest.err >&5
34555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34556 (exit $ac_status); } && {
34557 test -z "$ac_c_werror_flag" ||
34558 test ! -s conftest.err
34559 } && test -s conftest$ac_exeext &&
34560 $as_test_x conftest$ac_exeext; then
34561 ac_cv_lib_Sgm_SgCreateList=yes
34563 echo "$as_me: failed program was:" >&5
34564 sed 's/^/| /' conftest.$ac_ext >&5
34566 ac_cv_lib_Sgm_SgCreateList=no
34569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34570 conftest$ac_exeext conftest.$ac_ext
34571 LIBS=$ac_check_lib_save_LIBS
34573 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34574 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34575 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34576 libsgm_link=" -lSgm"
34580 save_CFLAGS=$CFLAGS
34581 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34583 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34584 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34585 if test "${wx_cv_lib_motif2+set}" = set; then
34586 echo $ECHO_N "(cached) $ECHO_C" >&6
34588 cat >conftest.$ac_ext <<_ACEOF
34591 cat confdefs.h >>conftest.$ac_ext
34592 cat >>conftest.$ac_ext <<_ACEOF
34593 /* end confdefs.h. */
34601 #if XmVersion < 2000
34609 rm -f conftest.$ac_objext
34610 if { (ac_try="$ac_compile"
34611 case "(($ac_try" in
34612 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34613 *) ac_try_echo
=$ac_try;;
34615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34616 (eval "$ac_compile") 2>conftest.er1
34618 grep -v '^ *+' conftest.er1
>conftest.err
34620 cat conftest.err
>&5
34621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34622 (exit $ac_status); } && {
34623 test -z "$ac_c_werror_flag" ||
34624 test ! -s conftest.err
34625 } && test -s conftest.
$ac_objext; then
34626 wx_cv_lib_motif2
="yes"
34628 echo "$as_me: failed program was:" >&5
34629 sed 's/^/| /' conftest.
$ac_ext >&5
34631 wx_cv_lib_motif2
="no"
34634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34636 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34637 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34638 if test "$wx_cv_lib_motif2" = "yes"; then
34639 cat >>confdefs.h
<<\_ACEOF
34640 #define __WXMOTIF20__ 1
34644 cat >>confdefs.h
<<\_ACEOF
34645 #define __WXMOTIF20__ 0
34650 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34651 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34652 if test "${wx_cv_lib_lesstif+set}" = set; then
34653 echo $ECHO_N "(cached) $ECHO_C" >&6
34655 cat >conftest.
$ac_ext <<_ACEOF
34658 cat confdefs.h
>>conftest.
$ac_ext
34659 cat >>conftest.
$ac_ext <<_ACEOF
34660 /* end confdefs.h. */
34668 #if !defined(LesstifVersion) || LesstifVersion <= 0
34676 rm -f conftest.
$ac_objext
34677 if { (ac_try
="$ac_compile"
34678 case "(($ac_try" in
34679 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34680 *) ac_try_echo=$ac_try;;
34682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34683 (eval "$ac_compile") 2>conftest.er1
34685 grep -v '^ *+' conftest.er1 >conftest.err
34687 cat conftest.err >&5
34688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34689 (exit $ac_status); } && {
34690 test -z "$ac_c_werror_flag" ||
34691 test ! -s conftest.err
34692 } && test -s conftest.$ac_objext; then
34693 wx_cv_lib_lesstif="yes"
34695 echo "$as_me: failed program was:" >&5
34696 sed 's/^/| /' conftest.$ac_ext >&5
34698 wx_cv_lib_lesstif="no"
34701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34704 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34705 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34706 if test "$wx_cv_lib_lesstif" = "yes"; then
34707 cat >>confdefs.h <<\_ACEOF
34708 #define __WXLESSTIF__ 1
34712 cat >>confdefs.h <<\_ACEOF
34713 #define __WXLESSTIF__ 0
34718 CFLAGS=$save_CFLAGS
34720 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34725 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34726 if test "$wxUSE_LIBXPM" = "sys"; then
34727 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34728 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34731 for ac_dir in $SEARCH_LIB;
34733 for ac_extension in a so sl dylib dll.a; do
34734 if test -f "$ac_dir/libXpm.$ac_extension"; then
34735 ac_find_libraries=$ac_dir
34741 if test "$ac_find_libraries" != "" ; then
34743 if test "$ac_find_libraries" = "default location"; then
34746 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34748 if test $result = 0; then
34751 ac_path_to_link=" -L$ac_find_libraries"
34755 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34756 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34757 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34759 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34760 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34761 if test "${wx_cv_x11_xpm_h+set}" = set; then
34762 echo $ECHO_N "(cached) $ECHO_C" >&6
34765 save_CFLAGS=$CFLAGS
34766 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34768 cat >conftest.$ac_ext <<_ACEOF
34771 cat confdefs.h >>conftest.$ac_ext
34772 cat >>conftest.$ac_ext <<_ACEOF
34773 /* end confdefs.h. */
34775 #include <X11/xpm.h>
34782 version = XpmLibraryVersion();
34788 rm -f conftest.$ac_objext
34789 if { (ac_try="$ac_compile"
34790 case "(($ac_try" in
34791 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34792 *) ac_try_echo
=$ac_try;;
34794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34795 (eval "$ac_compile") 2>conftest.er1
34797 grep -v '^ *+' conftest.er1
>conftest.err
34799 cat conftest.err
>&5
34800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34801 (exit $ac_status); } && {
34802 test -z "$ac_c_werror_flag" ||
34803 test ! -s conftest.err
34804 } && test -s conftest.
$ac_objext; then
34805 wx_cv_x11_xpm_h
=yes
34807 echo "$as_me: failed program was:" >&5
34808 sed 's/^/| /' conftest.
$ac_ext >&5
34814 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34816 CFLAGS
=$save_CFLAGS
34820 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34821 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34823 if test $wx_cv_x11_xpm_h = "yes"; then
34824 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
34825 cat >>confdefs.h
<<\_ACEOF
34826 #define wxHAVE_LIB_XPM 1
34830 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34831 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34837 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34838 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34839 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34840 echo $ECHO_N "(cached) $ECHO_C" >&6
34842 ac_check_lib_save_LIBS
=$LIBS
34843 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34844 cat >conftest.
$ac_ext <<_ACEOF
34847 cat confdefs.h
>>conftest.
$ac_ext
34848 cat >>conftest.
$ac_ext <<_ACEOF
34849 /* end confdefs.h. */
34851 /* Override any GCC internal prototype to avoid an error.
34852 Use char because int might match the return type of a GCC
34853 builtin and then its argument prototype would still apply. */
34857 char XShapeQueryExtension ();
34861 return XShapeQueryExtension ();
34866 rm -f conftest.
$ac_objext conftest
$ac_exeext
34867 if { (ac_try
="$ac_link"
34868 case "(($ac_try" in
34869 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34870 *) ac_try_echo=$ac_try;;
34872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34873 (eval "$ac_link") 2>conftest.er1
34875 grep -v '^ *+' conftest.er1 >conftest.err
34877 cat conftest.err >&5
34878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34879 (exit $ac_status); } && {
34880 test -z "$ac_c_werror_flag" ||
34881 test ! -s conftest.err
34882 } && test -s conftest$ac_exeext &&
34883 $as_test_x conftest$ac_exeext; then
34884 ac_cv_lib_Xext_XShapeQueryExtension=yes
34886 echo "$as_me: failed program was:" >&5
34887 sed 's/^/| /' conftest.$ac_ext >&5
34889 ac_cv_lib_Xext_XShapeQueryExtension=no
34892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34893 conftest$ac_exeext conftest.$ac_ext
34894 LIBS=$ac_check_lib_save_LIBS
34896 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34897 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34898 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34900 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34906 if test "$wxHAVE_XEXT_LIB" = 1; then
34907 save_CFLAGS="$CFLAGS"
34908 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34910 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34911 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34912 cat >conftest.$ac_ext <<_ACEOF
34915 cat confdefs.h >>conftest.$ac_ext
34916 cat >>conftest.$ac_ext <<_ACEOF
34917 /* end confdefs.h. */
34919 #include <X11/Xlib.h>
34920 #include <X11/extensions/shape.h>
34926 int dummy1, dummy2;
34927 XShapeQueryExtension((Display*)NULL,
34928 (int*)NULL, (int*)NULL);
34934 rm -f conftest.$ac_objext
34935 if { (ac_try="$ac_compile"
34936 case "(($ac_try" in
34937 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34938 *) ac_try_echo
=$ac_try;;
34940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34941 (eval "$ac_compile") 2>conftest.er1
34943 grep -v '^ *+' conftest.er1
>conftest.err
34945 cat conftest.err
>&5
34946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34947 (exit $ac_status); } && {
34948 test -z "$ac_c_werror_flag" ||
34949 test ! -s conftest.err
34950 } && test -s conftest.
$ac_objext; then
34952 cat >>confdefs.h
<<\_ACEOF
34953 #define HAVE_XSHAPE 1
34956 { echo "$as_me:$LINENO: result: found" >&5
34957 echo "${ECHO_T}found" >&6; }
34960 echo "$as_me: failed program was:" >&5
34961 sed 's/^/| /' conftest.
$ac_ext >&5
34964 { echo "$as_me:$LINENO: result: not found" >&5
34965 echo "${ECHO_T}not found" >&6; }
34969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34970 CFLAGS
="$save_CFLAGS"
34975 if test "$wxUSE_MAC" = 1; then
34976 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34977 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34978 if test "$GCC" = yes; then
34979 { echo "$as_me:$LINENO: result: gcc" >&5
34980 echo "${ECHO_T}gcc" >&6; }
34981 CPPFLAGS_PASCAL
="-fpascal-strings"
34982 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34983 { echo "$as_me:$LINENO: result: xlc" >&5
34984 echo "${ECHO_T}xlc" >&6; }
34985 CPPFLAGS_PASCAL
="-qmacpstr"
34987 { echo "$as_me:$LINENO: result: none" >&5
34988 echo "${ECHO_T}none" >&6; }
34991 if test "x$wxUSE_UNIX" = "xyes"; then
34992 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34994 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34999 WXBASEPORT
="_carbon"
35002 if test "$wxUSE_COCOA" = 1; then
35007 if test "$wxUSE_PM" = 1; then
35010 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
35011 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
35012 if test "${wx_cv_spbcdata+set}" = set; then
35013 echo $ECHO_N "(cached) $ECHO_C" >&6
35016 cat >conftest.
$ac_ext <<_ACEOF
35019 cat confdefs.h
>>conftest.
$ac_ext
35020 cat >>conftest.
$ac_ext <<_ACEOF
35021 /* end confdefs.h. */
35036 rm -f conftest.
$ac_objext
35037 if { (ac_try
="$ac_compile"
35038 case "(($ac_try" in
35039 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35040 *) ac_try_echo=$ac_try;;
35042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35043 (eval "$ac_compile") 2>conftest.er1
35045 grep -v '^ *+' conftest.er1 >conftest.err
35047 cat conftest.err >&5
35048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35049 (exit $ac_status); } && {
35050 test -z "$ac_c_werror_flag" ||
35051 test ! -s conftest.err
35052 } && test -s conftest.$ac_objext; then
35055 echo "$as_me: failed program was:" >&5
35056 sed 's/^/| /' conftest.$ac_ext >&5
35062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35066 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35067 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35069 if test $wx_cv_spbcdata = "yes"; then
35070 cat >>confdefs.h <<\_ACEOF
35071 #define HAVE_SPBCDATA 1
35077 if test "$TOOLKIT" = "PM" ; then
35080 TOOLKIT_DIR=`echo ${TOOLKIT} | tr A
-Z a
-z`
35083 if test "$wxUSE_UNIVERSAL" = "yes"; then
35084 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35088 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35089 DISTDIR="wx\$(TOOLKIT)"
35095 if test "$USE_WIN32" = 1 ; then
35099 GUIDIST="BASE_DIST"
35105 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35106 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
35107 wxUSE_UNICODE_UTF8=yes
35108 elif test "$USE_OS2" = 1 ; then
35109 wxUSE_UNICODE_UTF8=yes
35111 wxUSE_UNICODE_UTF8=no
35116 if test "$wxUSE_GUI" = "yes"; then
35117 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35119 for ac_header in X11/Xlib.h
35121 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35122 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35124 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35125 echo $ECHO_N "(cached) $ECHO_C" >&6
35127 cat >conftest.$ac_ext <<_ACEOF
35130 cat confdefs.h >>conftest.$ac_ext
35131 cat >>conftest.$ac_ext <<_ACEOF
35132 /* end confdefs.h. */
35135 #include <$ac_header>
35137 rm -f conftest.$ac_objext
35138 if { (ac_try="$ac_compile"
35139 case "(($ac_try" in
35140 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35141 *) ac_try_echo
=$ac_try;;
35143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35144 (eval "$ac_compile") 2>conftest.er1
35146 grep -v '^ *+' conftest.er1
>conftest.err
35148 cat conftest.err
>&5
35149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35150 (exit $ac_status); } && {
35151 test -z "$ac_c_werror_flag" ||
35152 test ! -s conftest.err
35153 } && test -s conftest.
$ac_objext; then
35154 eval "$as_ac_Header=yes"
35156 echo "$as_me: failed program was:" >&5
35157 sed 's/^/| /' conftest.
$ac_ext >&5
35159 eval "$as_ac_Header=no"
35162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35164 ac_res
=`eval echo '${'$as_ac_Header'}'`
35165 { echo "$as_me:$LINENO: result: $ac_res" >&5
35166 echo "${ECHO_T}$ac_res" >&6; }
35167 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35168 cat >>confdefs.h
<<_ACEOF
35169 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35177 for ac_header
in X
11/XKBlib.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. */
35192 #if HAVE_X11_XLIB_H
35193 #include <X11/Xlib.h>
35197 #include <$ac_header>
35199 rm -f conftest.
$ac_objext
35200 if { (ac_try
="$ac_compile"
35201 case "(($ac_try" in
35202 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35203 *) ac_try_echo=$ac_try;;
35205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35206 (eval "$ac_compile") 2>conftest.er1
35208 grep -v '^ *+' conftest.er1 >conftest.err
35210 cat conftest.err >&5
35211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35212 (exit $ac_status); } && {
35213 test -z "$ac_c_werror_flag" ||
35214 test ! -s conftest.err
35215 } && test -s conftest.$ac_objext; then
35216 eval "$as_ac_Header=yes"
35218 echo "$as_me: failed program was:" >&5
35219 sed 's/^/| /' conftest.$ac_ext >&5
35221 eval "$as_ac_Header=no"
35224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35226 ac_res=`eval echo '${'$as_ac_Header'}'`
35227 { echo "$as_me:$LINENO: result: $ac_res" >&5
35228 echo "${ECHO_T}$ac_res" >&6; }
35229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35230 cat >>confdefs.h <<_ACEOF
35231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35243 if test "$wxUSE_DISPLAY" = "yes"; then
35244 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35245 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35246 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35249 for ac_dir in $SEARCH_LIB;
35251 for ac_extension in a so sl dylib dll.a; do
35252 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35253 ac_find_libraries=$ac_dir
35259 if test "$ac_find_libraries" != "" ; then
35261 if test "$ac_find_libraries" = "default location"; then
35264 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35266 if test $result = 0; then
35269 ac_path_to_link=" -L$ac_find_libraries"
35273 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35274 LDFLAGS="$LDFLAGS $ac_path_to_link"
35276 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35277 { echo "$as_me:$LINENO: result: yes" >&5
35278 echo "${ECHO_T}yes" >&6; }
35280 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35281 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35284 for ac_dir in $SEARCH_LIB;
35286 for ac_extension in a so sl dylib dll.a; do
35287 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35288 ac_find_libraries=$ac_dir
35294 if test "$ac_find_libraries" != "" ; then
35295 { echo "$as_me:$LINENO: result: yes" >&5
35296 echo "${ECHO_T}yes" >&6; }
35298 for ac_header in X11/extensions/xf86vmode.h
35300 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35301 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35303 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35304 echo $ECHO_N "(cached) $ECHO_C" >&6
35306 cat >conftest.$ac_ext <<_ACEOF
35309 cat confdefs.h >>conftest.$ac_ext
35310 cat >>conftest.$ac_ext <<_ACEOF
35311 /* end confdefs.h. */
35313 #if HAVE_X11_XLIB_H
35314 #include <X11/Xlib.h>
35318 #include <$ac_header>
35320 rm -f conftest.$ac_objext
35321 if { (ac_try="$ac_compile"
35322 case "(($ac_try" in
35323 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35324 *) ac_try_echo
=$ac_try;;
35326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35327 (eval "$ac_compile") 2>conftest.er1
35329 grep -v '^ *+' conftest.er1
>conftest.err
35331 cat conftest.err
>&5
35332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35333 (exit $ac_status); } && {
35334 test -z "$ac_c_werror_flag" ||
35335 test ! -s conftest.err
35336 } && test -s conftest.
$ac_objext; then
35337 eval "$as_ac_Header=yes"
35339 echo "$as_me: failed program was:" >&5
35340 sed 's/^/| /' conftest.
$ac_ext >&5
35342 eval "$as_ac_Header=no"
35345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35347 ac_res
=`eval echo '${'$as_ac_Header'}'`
35348 { echo "$as_me:$LINENO: result: $ac_res" >&5
35349 echo "${ECHO_T}$ac_res" >&6; }
35350 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35351 cat >>confdefs.h
<<_ACEOF
35352 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35355 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
35362 { echo "$as_me:$LINENO: result: no" >&5
35363 echo "${ECHO_T}no" >&6; }
35367 { echo "$as_me:$LINENO: result: no" >&5
35368 echo "${ECHO_T}no" >&6; }
35369 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35370 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35373 elif test "$wxUSE_MSW" = 1; then
35374 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35375 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35376 if test "${ac_cv_header_ddraw_h+set}" = set; then
35377 echo $ECHO_N "(cached) $ECHO_C" >&6
35379 cat >conftest.
$ac_ext <<_ACEOF
35382 cat confdefs.h
>>conftest.
$ac_ext
35383 cat >>conftest.
$ac_ext <<_ACEOF
35384 /* end confdefs.h. */
35385 #include <windows.h>
35389 rm -f conftest.
$ac_objext
35390 if { (ac_try
="$ac_compile"
35391 case "(($ac_try" in
35392 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35393 *) ac_try_echo=$ac_try;;
35395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35396 (eval "$ac_compile") 2>conftest.er1
35398 grep -v '^ *+' conftest.er1 >conftest.err
35400 cat conftest.err >&5
35401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35402 (exit $ac_status); } && {
35403 test -z "$ac_c_werror_flag" ||
35404 test ! -s conftest.err
35405 } && test -s conftest.$ac_objext; then
35406 ac_cv_header_ddraw_h=yes
35408 echo "$as_me: failed program was:" >&5
35409 sed 's/^/| /' conftest.$ac_ext >&5
35411 ac_cv_header_ddraw_h=no
35414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35416 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35417 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35423 if test "$wxUSE_DETECT_SM" = "yes"; then
35424 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35425 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35426 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35429 for ac_dir in $SEARCH_LIB;
35431 for ac_extension in a so sl dylib dll.a; do
35432 if test -f "$ac_dir/libSM.$ac_extension"; then
35433 ac_find_libraries=$ac_dir
35439 if test "$ac_find_libraries" != "" ; then
35441 if test "$ac_find_libraries" = "default location"; then
35444 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35446 if test $result = 0; then
35449 ac_path_to_link=" -L$ac_find_libraries"
35453 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35454 LDFLAGS="$LDFLAGS $ac_path_to_link"
35456 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35457 { echo "$as_me:$LINENO: result: yes" >&5
35458 echo "${ECHO_T}yes" >&6; }
35460 { echo "$as_me:$LINENO: result: no" >&5
35461 echo "${ECHO_T}no" >&6; }
35462 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35463 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35464 wxUSE_DETECT_SM="no"
35467 wxUSE_DETECT_SM="no"
35474 if test "$wxUSE_OPENGL" = "yes"; then
35475 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
35476 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35477 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35479 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
35480 OPENGL_LIBS="-framework OpenGL -framework AGL"
35481 elif test "$wxUSE_MSW" = 1; then
35482 OPENGL_LIBS="-lopengl32 -lglu32"
35484 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35485 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35488 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35490 if test -f "$ac_dir/GL/gl.h"; then
35491 ac_find_includes=$ac_dir
35496 if test "$ac_find_includes" != "" ; then
35497 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35498 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35500 if test "x$ac_find_includes" = "x/usr/include"; then
35501 ac_path_to_include=""
35503 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35505 if test $result = 0; then
35506 ac_path_to_include=""
35508 ac_path_to_include=" -I$ac_find_includes"
35512 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35514 { echo "$as_me:$LINENO: result: not found" >&5
35515 echo "${ECHO_T}not found" >&6; }
35518 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35519 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35520 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35521 echo $ECHO_N "(cached) $ECHO_C" >&6
35523 cat >conftest.$ac_ext <<_ACEOF
35526 cat confdefs.h >>conftest.$ac_ext
35527 cat >>conftest.$ac_ext <<_ACEOF
35528 /* end confdefs.h. */
35533 rm -f conftest.$ac_objext
35534 if { (ac_try="$ac_compile"
35535 case "(($ac_try" in
35536 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35537 *) ac_try_echo
=$ac_try;;
35539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35540 (eval "$ac_compile") 2>conftest.er1
35542 grep -v '^ *+' conftest.er1
>conftest.err
35544 cat conftest.err
>&5
35545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35546 (exit $ac_status); } && {
35547 test -z "$ac_c_werror_flag" ||
35548 test ! -s conftest.err
35549 } && test -s conftest.
$ac_objext; then
35550 ac_cv_header_GL_gl_h
=yes
35552 echo "$as_me: failed program was:" >&5
35553 sed 's/^/| /' conftest.
$ac_ext >&5
35555 ac_cv_header_GL_gl_h
=no
35558 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35560 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35561 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35562 if test $ac_cv_header_GL_gl_h = yes; then
35564 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35565 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35566 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35567 echo $ECHO_N "(cached) $ECHO_C" >&6
35569 cat >conftest.
$ac_ext <<_ACEOF
35572 cat confdefs.h
>>conftest.
$ac_ext
35573 cat >>conftest.
$ac_ext <<_ACEOF
35574 /* end confdefs.h. */
35577 #include <GL/glu.h>
35579 rm -f conftest.
$ac_objext
35580 if { (ac_try
="$ac_compile"
35581 case "(($ac_try" in
35582 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35583 *) ac_try_echo=$ac_try;;
35585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35586 (eval "$ac_compile") 2>conftest.er1
35588 grep -v '^ *+' conftest.er1 >conftest.err
35590 cat conftest.err >&5
35591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35592 (exit $ac_status); } && {
35593 test -z "$ac_c_werror_flag" ||
35594 test ! -s conftest.err
35595 } && test -s conftest.$ac_objext; then
35596 ac_cv_header_GL_glu_h=yes
35598 echo "$as_me: failed program was:" >&5
35599 sed 's/^/| /' conftest.$ac_ext >&5
35601 ac_cv_header_GL_glu_h=no
35604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35606 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35607 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35608 if test $ac_cv_header_GL_glu_h = yes; then
35612 { echo "$as_me:$LINENO: checking for -lGL" >&5
35613 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35616 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35618 for ac_extension in a so sl dylib dll.a; do
35619 if test -f "$ac_dir/libGL.$ac_extension"; then
35620 ac_find_libraries=$ac_dir
35626 if test "$ac_find_libraries" != "" ; then
35627 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35628 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35631 if test "$ac_find_libraries" = "default location"; then
35634 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35636 if test $result = 0; then
35639 ac_path_to_link=" -L$ac_find_libraries"
35643 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35644 LDFLAGS_GL="$ac_path_to_link"
35647 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35648 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35651 for ac_dir in $SEARCH_LIB;
35653 for ac_extension in a so sl dylib dll.a; do
35654 if test -f "$ac_dir/libGLU.$ac_extension"; then
35655 ac_find_libraries=$ac_dir
35661 if test "$ac_find_libraries" != "" ; then
35663 if test "$ac_find_libraries" = "default location"; then
35666 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35668 if test $result = 0; then
35671 ac_path_to_link=" -L$ac_find_libraries"
35675 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35676 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35677 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35681 OPENGL_LIBS="-lGL -lGLU"
35682 { echo "$as_me:$LINENO: result: yes" >&5
35683 echo "${ECHO_T}yes" >&6; }
35685 { echo "$as_me:$LINENO: result: no" >&5
35686 echo "${ECHO_T}no" >&6; }
35689 { echo "$as_me:$LINENO: result: no" >&5
35690 echo "${ECHO_T}no" >&6; }
35693 if test "$found_gl" != 1; then
35694 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35695 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35698 for ac_dir in $SEARCH_LIB;
35700 for ac_extension in a so sl dylib dll.a; do
35701 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35702 ac_find_libraries=$ac_dir
35708 if test "$ac_find_libraries" != "" ; then
35710 if test "$ac_find_libraries" = "default location"; then
35713 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35715 if test $result = 0; then
35718 ac_path_to_link=" -L$ac_find_libraries"
35722 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35723 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35724 { echo "$as_me:$LINENO: result: yes" >&5
35725 echo "${ECHO_T}yes" >&6; }
35727 { echo "$as_me:$LINENO: result: no" >&5
35728 echo "${ECHO_T}no" >&6; }
35740 if test "x$OPENGL_LIBS" = "x"; then
35741 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35742 echo "$as_me: error: OpenGL libraries not available" >&2;}
35743 { (exit 1); exit 1; }; }
35747 if test "$wxUSE_OPENGL" = "yes"; then
35749 cat >>confdefs.h <<\_ACEOF
35750 #define wxUSE_OPENGL 1
35753 cat >>confdefs.h <<\_ACEOF
35754 #define wxUSE_GLCANVAS 1
35757 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35762 if test -n "$TOOLKIT" ; then
35763 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35768 if test "$wxUSE_SHARED" = "yes"; then
35772 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35773 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35778 if test "$wxUSE_SHARED" = "yes"; then
35782 *-*-cygwin* | *-*-mingw* )
35783 wx_cv_version_script=no
35787 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35788 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35789 if test "${wx_cv_version_script+set}" = set; then
35790 echo $ECHO_N "(cached) $ECHO_C" >&6
35793 echo "VER_1 { *; };" >conftest.sym
35794 echo "int main() { return 0; }" >conftest.cpp
35797 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35798 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35800 (eval $ac_try) 2>&5
35802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35803 (exit $ac_status); }; } ; then
35804 if test -s conftest.stderr ; then
35805 wx_cv_version_script=no
35807 wx_cv_version_script=yes
35810 wx_cv_version_script=no
35813 if test $wx_cv_version_script = yes
35815 echo "struct B { virtual ~B() { } }; \
35816 struct D : public B { }; \
35817 void F() { D d; }" > conftest.cpp
35820 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35821 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35823 (eval $ac_try) 2>&5
35825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35826 (exit $ac_status); }; } &&
35828 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35829 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35831 (eval $ac_try) 2>&5
35833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35834 (exit $ac_status); }; }
35837 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35838 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35840 (eval $ac_try) 2>&5
35842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35843 (exit $ac_status); }; }
35845 wx_cv_version_script=yes
35847 wx_cv_version_script=no
35852 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35853 rm -f conftest1.output conftest2.output conftest3.output
35856 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35857 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35859 if test $wx_cv_version_script = yes ; then
35860 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35866 if test "$wxUSE_VISIBILITY" != "no"; then
35869 if test -n "$GCC"; then
35870 CFLAGS_VISIBILITY="-fvisibility=hidden"
35871 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35872 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35873 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35874 if test "${wx_cv_cc_visibility+set}" = set; then
35875 echo $ECHO_N "(cached) $ECHO_C" >&6
35878 wx_save_CXXFLAGS="$CXXFLAGS"
35879 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35881 ac_cpp='$CXXCPP $CPPFLAGS'
35882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35886 cat >conftest.$ac_ext <<_ACEOF
35889 cat confdefs.h >>conftest.$ac_ext
35890 cat >>conftest.$ac_ext <<_ACEOF
35891 /* end confdefs.h. */
35893 /* we need gcc >= 4.0, older versions with visibility support
35894 didn't have class visibility: */
35895 #if defined(__GNUC__) && __GNUC__ < 4
35896 error this gcc is too old;
35899 /* visibility only makes sense for ELF shared libs: */
35900 #if !defined(__ELF__) && !defined(__APPLE__)
35901 error this platform has no visibility;
35904 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35905 extern __attribute__((__visibility__("default"))) int exportedvar;
35906 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35907 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35908 class __attribute__((__visibility__("default"))) Foo {
35920 rm -f conftest.$ac_objext
35921 if { (ac_try="$ac_compile"
35922 case "(($ac_try" in
35923 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35924 *) ac_try_echo
=$ac_try;;
35926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35927 (eval "$ac_compile") 2>conftest.er1
35929 grep -v '^ *+' conftest.er1
>conftest.err
35931 cat conftest.err
>&5
35932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35933 (exit $ac_status); } && {
35934 test -z "$ac_cxx_werror_flag" ||
35935 test ! -s conftest.err
35936 } && test -s conftest.
$ac_objext; then
35937 wx_cv_cc_visibility
=yes
35939 echo "$as_me: failed program was:" >&5
35940 sed 's/^/| /' conftest.
$ac_ext >&5
35942 wx_cv_cc_visibility
=no
35945 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35947 ac_cpp
='$CPP $CPPFLAGS'
35948 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35949 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35950 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35952 CXXFLAGS
="$wx_save_CXXFLAGS"
35955 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35956 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35957 if test $wx_cv_cc_visibility = yes; then
35958 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35959 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35960 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35961 echo $ECHO_N "(cached) $ECHO_C" >&6
35964 wx_save_CXXFLAGS
="$CXXFLAGS"
35965 wx_save_LDFLAGS
="$LDFLAGS"
35966 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35967 LDFLAGS
="$LDFLAGS -shared -fPIC"
35969 ac_cpp
='$CXXCPP $CPPFLAGS'
35970 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35971 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35972 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35974 cat >conftest.
$ac_ext <<_ACEOF
35977 cat confdefs.h
>>conftest.
$ac_ext
35978 cat >>conftest.
$ac_ext <<_ACEOF
35979 /* end confdefs.h. */
35987 std::string s("hello");
35994 rm -f conftest.
$ac_objext conftest
$ac_exeext
35995 if { (ac_try
="$ac_link"
35996 case "(($ac_try" in
35997 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35998 *) ac_try_echo=$ac_try;;
36000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36001 (eval "$ac_link") 2>conftest.er1
36003 grep -v '^ *+' conftest.er1 >conftest.err
36005 cat conftest.err >&5
36006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36007 (exit $ac_status); } && {
36008 test -z "$ac_cxx_werror_flag" ||
36009 test ! -s conftest.err
36010 } && test -s conftest$ac_exeext &&
36011 $as_test_x conftest$ac_exeext; then
36012 wx_cv_cc_broken_libstdcxx_visibility=no
36014 echo "$as_me: failed program was:" >&5
36015 sed 's/^/| /' conftest.$ac_ext >&5
36017 wx_cv_cc_broken_libstdcxx_visibility=yes
36020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36021 conftest$ac_exeext conftest.$ac_ext
36023 ac_cpp='$CPP $CPPFLAGS'
36024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36028 CXXFLAGS="$wx_save_CXXFLAGS"
36029 LDFLAGS="$wx_save_LDFLAGS"
36032 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36033 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36035 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36036 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
36037 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
36038 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
36039 echo $ECHO_N "(cached) $ECHO_C" >&6
36043 ac_cpp='$CXXCPP $CPPFLAGS'
36044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36048 cat >conftest.$ac_ext <<_ACEOF
36051 cat confdefs.h >>conftest.$ac_ext
36052 cat >>conftest.$ac_ext <<_ACEOF
36053 /* end confdefs.h. */
36055 #pragma GCC visibility push(default)
36057 #pragma GCC visibility pop
36063 std::string s("hello");
36070 rm -f conftest.$ac_objext conftest$ac_exeext
36071 if { (ac_try="$ac_link"
36072 case "(($ac_try" in
36073 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36074 *) ac_try_echo
=$ac_try;;
36076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36077 (eval "$ac_link") 2>conftest.er1
36079 grep -v '^ *+' conftest.er1
>conftest.err
36081 cat conftest.err
>&5
36082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36083 (exit $ac_status); } && {
36084 test -z "$ac_cxx_werror_flag" ||
36085 test ! -s conftest.err
36086 } && test -s conftest
$ac_exeext &&
36087 $as_test_x conftest
$ac_exeext; then
36088 wx_cv_cc_visibility_workaround
=no
36090 echo "$as_me: failed program was:" >&5
36091 sed 's/^/| /' conftest.
$ac_ext >&5
36093 wx_cv_cc_visibility_workaround
=yes
36096 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36097 conftest
$ac_exeext conftest.
$ac_ext
36099 ac_cpp
='$CPP $CPPFLAGS'
36100 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36101 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36102 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36107 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
36108 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
36110 if test $wx_cv_cc_visibility_workaround = no
; then
36111 wx_cv_cc_visibility
=no
36116 if test $wx_cv_cc_visibility = yes; then
36117 cat >>confdefs.h
<<\_ACEOF
36118 #define HAVE_VISIBILITY 1
36121 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36122 cat >>confdefs.h
<<\_ACEOF
36123 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36128 CFLAGS_VISIBILITY
=""
36129 CXXFLAGS_VISIBILITY
=""
36137 if test "x$SUNCXX" = xyes
; then
36138 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
36139 WXCONFIG_RPATH
="-R\$libdir"
36142 *-*-linux* | *-*-gnu* )
36143 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
36144 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
36149 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
36151 saveLdflags
="$LDFLAGS"
36152 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
36153 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36154 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36155 cat >conftest.
$ac_ext <<_ACEOF
36158 cat confdefs.h
>>conftest.
$ac_ext
36159 cat >>conftest.
$ac_ext <<_ACEOF
36160 /* end confdefs.h. */
36170 rm -f conftest.
$ac_objext conftest
$ac_exeext
36171 if { (ac_try
="$ac_link"
36172 case "(($ac_try" in
36173 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36174 *) ac_try_echo=$ac_try;;
36176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36177 (eval "$ac_link") 2>conftest.er1
36179 grep -v '^ *+' conftest.er1 >conftest.err
36181 cat conftest.err >&5
36182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36183 (exit $ac_status); } && {
36184 test -z "$ac_c_werror_flag" ||
36185 test ! -s conftest.err
36186 } && test -s conftest$ac_exeext &&
36187 $as_test_x conftest$ac_exeext; then
36189 { echo "$as_me:$LINENO: result: yes" >&5
36190 echo "${ECHO_T}yes" >&6; }
36191 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36192 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36195 echo "$as_me: failed program was:" >&5
36196 sed 's/^/| /' conftest.$ac_ext >&5
36199 { echo "$as_me:$LINENO: result: no" >&5
36200 echo "${ECHO_T}no" >&6; }
36201 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36202 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36203 LDFLAGS="$saveLdflags -Wl,-R,/"
36204 cat >conftest.$ac_ext <<_ACEOF
36207 cat confdefs.h >>conftest.$ac_ext
36208 cat >>conftest.$ac_ext <<_ACEOF
36209 /* end confdefs.h. */
36219 rm -f conftest.$ac_objext conftest$ac_exeext
36220 if { (ac_try="$ac_link"
36221 case "(($ac_try" in
36222 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36223 *) ac_try_echo
=$ac_try;;
36225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36226 (eval "$ac_link") 2>conftest.er1
36228 grep -v '^ *+' conftest.er1
>conftest.err
36230 cat conftest.err
>&5
36231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36232 (exit $ac_status); } && {
36233 test -z "$ac_c_werror_flag" ||
36234 test ! -s conftest.err
36235 } && test -s conftest
$ac_exeext &&
36236 $as_test_x conftest
$ac_exeext; then
36238 { echo "$as_me:$LINENO: result: yes" >&5
36239 echo "${ECHO_T}yes" >&6; }
36240 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
36241 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
36244 echo "$as_me: failed program was:" >&5
36245 sed 's/^/| /' conftest.
$ac_ext >&5
36248 { echo "$as_me:$LINENO: result: no" >&5
36249 echo "${ECHO_T}no" >&6; }
36253 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36254 conftest
$ac_exeext conftest.
$ac_ext
36258 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36259 conftest
$ac_exeext conftest.
$ac_ext
36260 LDFLAGS
="$saveLdflags"
36264 install_name_tool
=`which install_name_tool`
36265 if test "$install_name_tool" -a -x "$install_name_tool"; then
36266 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36267 cat <<EOF >change-install-names
36269 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36270 inst_cmd="install_name_tool "
36271 for i in \${libnames} ; do
36272 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36276 chmod +x change
-install-names
36280 *-*-cygwin* | *-*-mingw32* )
36284 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
36285 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
36291 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36293 if test $wxUSE_RPATH = "no"; then
36294 SAMPLES_RPATH_FLAG
=''
36295 SAMPLES_RPATH_POSTLINK
=''
36303 config_linkage_component
="-static"
36310 lib_unicode_suffix
=
36312 if test "$wxUSE_UNICODE" = "yes"; then
36313 lib_unicode_suffix
=u
36314 WX_CHARTYPE
="unicode"
36319 WX_DEBUGTYPE
="release"
36321 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36323 WX_DEBUGTYPE
="debug"
36327 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
36328 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
36331 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36335 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr a-z A-Z`
36337 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36339 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36341 if test "$cross_compiling" = "yes"; then
36342 HOST_SUFFIX
="-$host_alias"
36343 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
36344 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
36347 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36348 if test "${TOOLKIT_DIR}" = "os2"; then
36349 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36351 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36356 if test "$wxUSE_COCOA" = 1; then
36359 ac_cpp
='$CPP $CPPFLAGS'
36360 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36361 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36362 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36366 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36367 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36368 cat >conftest.
$ac_ext <<_ACEOF
36371 cat confdefs.h
>>conftest.
$ac_ext
36372 cat >>conftest.
$ac_ext <<_ACEOF
36373 /* end confdefs.h. */
36374 #include <AppKit/NSEvent.h>
36375 #include <CoreFoundation/CoreFoundation.h>
36385 rm -f conftest.
$ac_objext
36386 if { (ac_try
="$ac_compile"
36387 case "(($ac_try" in
36388 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36389 *) ac_try_echo=$ac_try;;
36391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36392 (eval "$ac_compile") 2>conftest.er1
36394 grep -v '^ *+' conftest.er1 >conftest.err
36396 cat conftest.err >&5
36397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36398 (exit $ac_status); } && {
36399 test -z "$ac_c_werror_flag" ||
36400 test ! -s conftest.err
36401 } && test -s conftest.$ac_objext; then
36402 { echo "$as_me:$LINENO: result: no" >&5
36403 echo "${ECHO_T}no" >&6; }
36405 echo "$as_me: failed program was:" >&5
36406 sed 's/^/| /' conftest.$ac_ext >&5
36408 { echo "$as_me:$LINENO: result: yes" >&5
36409 echo "${ECHO_T}yes" >&6; }
36410 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36411 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36412 cat >conftest.$ac_ext <<_ACEOF
36415 cat confdefs.h >>conftest.$ac_ext
36416 cat >>conftest.$ac_ext <<_ACEOF
36417 /* end confdefs.h. */
36418 #define __Point__ 1
36419 #include <AppKit/NSEvent.h>
36420 #include <CoreFoundation/CoreFoundation.h>
36430 rm -f conftest.$ac_objext
36431 if { (ac_try="$ac_compile"
36432 case "(($ac_try" in
36433 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36434 *) ac_try_echo
=$ac_try;;
36436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36437 (eval "$ac_compile") 2>conftest.er1
36439 grep -v '^ *+' conftest.er1
>conftest.err
36441 cat conftest.err
>&5
36442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36443 (exit $ac_status); } && {
36444 test -z "$ac_c_werror_flag" ||
36445 test ! -s conftest.err
36446 } && test -s conftest.
$ac_objext; then
36447 { echo "$as_me:$LINENO: result: yes" >&5
36448 echo "${ECHO_T}yes" >&6; }
36449 cat >>confdefs.h
<<\_ACEOF
36450 #define __Point__ 1
36455 echo "$as_me: failed program was:" >&5
36456 sed 's/^/| /' conftest.
$ac_ext >&5
36458 { { echo "$as_me:$LINENO: error: no
36459 See \`config.log' for more details." >&5
36460 echo "$as_me: error: no
36461 See \`config.log' for more details." >&2;}
36462 { (exit 1); exit 1; }; }
36466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36472 ac_cpp
='$CPP $CPPFLAGS'
36473 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36474 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36475 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36480 { echo "$as_me:$LINENO: checking for mode_t" >&5
36481 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36482 if test "${ac_cv_type_mode_t+set}" = set; then
36483 echo $ECHO_N "(cached) $ECHO_C" >&6
36485 cat >conftest.
$ac_ext <<_ACEOF
36488 cat confdefs.h
>>conftest.
$ac_ext
36489 cat >>conftest.
$ac_ext <<_ACEOF
36490 /* end confdefs.h. */
36491 $ac_includes_default
36492 typedef mode_t ac__type_new_;
36496 if ((ac__type_new_ *) 0)
36498 if (sizeof (ac__type_new_))
36504 rm -f conftest.
$ac_objext
36505 if { (ac_try
="$ac_compile"
36506 case "(($ac_try" in
36507 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36508 *) ac_try_echo=$ac_try;;
36510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36511 (eval "$ac_compile") 2>conftest.er1
36513 grep -v '^ *+' conftest.er1 >conftest.err
36515 cat conftest.err >&5
36516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36517 (exit $ac_status); } && {
36518 test -z "$ac_c_werror_flag" ||
36519 test ! -s conftest.err
36520 } && test -s conftest.$ac_objext; then
36521 ac_cv_type_mode_t=yes
36523 echo "$as_me: failed program was:" >&5
36524 sed 's/^/| /' conftest.$ac_ext >&5
36526 ac_cv_type_mode_t=no
36529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36531 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36532 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36533 if test $ac_cv_type_mode_t = yes; then
36537 cat >>confdefs.h <<_ACEOF
36543 { echo "$as_me:$LINENO: checking for off_t" >&5
36544 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36545 if test "${ac_cv_type_off_t+set}" = set; then
36546 echo $ECHO_N "(cached) $ECHO_C" >&6
36548 cat >conftest.$ac_ext <<_ACEOF
36551 cat confdefs.h >>conftest.$ac_ext
36552 cat >>conftest.$ac_ext <<_ACEOF
36553 /* end confdefs.h. */
36554 $ac_includes_default
36555 typedef off_t ac__type_new_;
36559 if ((ac__type_new_ *) 0)
36561 if (sizeof (ac__type_new_))
36567 rm -f conftest.$ac_objext
36568 if { (ac_try="$ac_compile"
36569 case "(($ac_try" in
36570 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36571 *) ac_try_echo
=$ac_try;;
36573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36574 (eval "$ac_compile") 2>conftest.er1
36576 grep -v '^ *+' conftest.er1
>conftest.err
36578 cat conftest.err
>&5
36579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36580 (exit $ac_status); } && {
36581 test -z "$ac_c_werror_flag" ||
36582 test ! -s conftest.err
36583 } && test -s conftest.
$ac_objext; then
36584 ac_cv_type_off_t
=yes
36586 echo "$as_me: failed program was:" >&5
36587 sed 's/^/| /' conftest.
$ac_ext >&5
36589 ac_cv_type_off_t
=no
36592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36594 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36595 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36596 if test $ac_cv_type_off_t = yes; then
36600 cat >>confdefs.h
<<_ACEOF
36601 #define off_t long int
36606 { echo "$as_me:$LINENO: checking for pid_t" >&5
36607 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36608 if test "${ac_cv_type_pid_t+set}" = set; then
36609 echo $ECHO_N "(cached) $ECHO_C" >&6
36611 cat >conftest.
$ac_ext <<_ACEOF
36614 cat confdefs.h
>>conftest.
$ac_ext
36615 cat >>conftest.
$ac_ext <<_ACEOF
36616 /* end confdefs.h. */
36617 $ac_includes_default
36618 typedef pid_t ac__type_new_;
36622 if ((ac__type_new_ *) 0)
36624 if (sizeof (ac__type_new_))
36630 rm -f conftest.
$ac_objext
36631 if { (ac_try
="$ac_compile"
36632 case "(($ac_try" in
36633 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36634 *) ac_try_echo=$ac_try;;
36636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36637 (eval "$ac_compile") 2>conftest.er1
36639 grep -v '^ *+' conftest.er1 >conftest.err
36641 cat conftest.err >&5
36642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36643 (exit $ac_status); } && {
36644 test -z "$ac_c_werror_flag" ||
36645 test ! -s conftest.err
36646 } && test -s conftest.$ac_objext; then
36647 ac_cv_type_pid_t=yes
36649 echo "$as_me: failed program was:" >&5
36650 sed 's/^/| /' conftest.$ac_ext >&5
36652 ac_cv_type_pid_t=no
36655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36657 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36658 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36659 if test $ac_cv_type_pid_t = yes; then
36663 cat >>confdefs.h <<_ACEOF
36669 { echo "$as_me:$LINENO: checking for size_t" >&5
36670 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36671 if test "${ac_cv_type_size_t+set}" = set; then
36672 echo $ECHO_N "(cached) $ECHO_C" >&6
36674 cat >conftest.$ac_ext <<_ACEOF
36677 cat confdefs.h >>conftest.$ac_ext
36678 cat >>conftest.$ac_ext <<_ACEOF
36679 /* end confdefs.h. */
36680 $ac_includes_default
36681 typedef size_t ac__type_new_;
36685 if ((ac__type_new_ *) 0)
36687 if (sizeof (ac__type_new_))
36693 rm -f conftest.$ac_objext
36694 if { (ac_try="$ac_compile"
36695 case "(($ac_try" in
36696 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36697 *) ac_try_echo
=$ac_try;;
36699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36700 (eval "$ac_compile") 2>conftest.er1
36702 grep -v '^ *+' conftest.er1
>conftest.err
36704 cat conftest.err
>&5
36705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36706 (exit $ac_status); } && {
36707 test -z "$ac_c_werror_flag" ||
36708 test ! -s conftest.err
36709 } && test -s conftest.
$ac_objext; then
36710 ac_cv_type_size_t
=yes
36712 echo "$as_me: failed program was:" >&5
36713 sed 's/^/| /' conftest.
$ac_ext >&5
36715 ac_cv_type_size_t
=no
36718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36720 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36721 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36722 if test $ac_cv_type_size_t = yes; then
36726 cat >>confdefs.h
<<_ACEOF
36727 #define size_t unsigned int
36732 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36733 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36734 if test "${ac_cv_type_uid_t+set}" = set; then
36735 echo $ECHO_N "(cached) $ECHO_C" >&6
36737 cat >conftest.
$ac_ext <<_ACEOF
36740 cat confdefs.h
>>conftest.
$ac_ext
36741 cat >>conftest.
$ac_ext <<_ACEOF
36742 /* end confdefs.h. */
36743 #include <sys/types.h>
36746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36747 $EGREP "uid_t" >/dev
/null
2>&1; then
36748 ac_cv_type_uid_t
=yes
36750 ac_cv_type_uid_t
=no
36755 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36756 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36757 if test $ac_cv_type_uid_t = no
; then
36759 cat >>confdefs.h
<<\_ACEOF
36764 cat >>confdefs.h
<<\_ACEOF
36771 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36772 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36773 if test "${ac_cv_type_ssize_t+set}" = set; then
36774 echo $ECHO_N "(cached) $ECHO_C" >&6
36776 cat >conftest.
$ac_ext <<_ACEOF
36779 cat confdefs.h
>>conftest.
$ac_ext
36780 cat >>conftest.
$ac_ext <<_ACEOF
36781 /* end confdefs.h. */
36782 $ac_includes_default
36783 typedef ssize_t ac__type_new_;
36787 if ((ac__type_new_ *) 0)
36789 if (sizeof (ac__type_new_))
36795 rm -f conftest.
$ac_objext
36796 if { (ac_try
="$ac_compile"
36797 case "(($ac_try" in
36798 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36799 *) ac_try_echo=$ac_try;;
36801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36802 (eval "$ac_compile") 2>conftest.er1
36804 grep -v '^ *+' conftest.er1 >conftest.err
36806 cat conftest.err >&5
36807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36808 (exit $ac_status); } && {
36809 test -z "$ac_c_werror_flag" ||
36810 test ! -s conftest.err
36811 } && test -s conftest.$ac_objext; then
36812 ac_cv_type_ssize_t=yes
36814 echo "$as_me: failed program was:" >&5
36815 sed 's/^/| /' conftest.$ac_ext >&5
36817 ac_cv_type_ssize_t=no
36820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36822 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36823 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36824 if test $ac_cv_type_ssize_t = yes; then
36826 cat >>confdefs.h <<_ACEOF
36827 #define HAVE_SSIZE_T 1
36835 ac_cpp='$CXXCPP $CPPFLAGS'
36836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36839 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36840 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36841 if test "${wx_cv_size_t_is_uint+set}" = set; then
36842 echo $ECHO_N "(cached) $ECHO_C" >&6
36845 cat >conftest.$ac_ext <<_ACEOF
36848 cat confdefs.h >>conftest.$ac_ext
36849 cat >>conftest.$ac_ext <<_ACEOF
36850 /* end confdefs.h. */
36851 #include <stddef.h>
36858 struct Foo { void foo(size_t); void foo(unsigned int); };
36866 rm -f conftest.$ac_objext
36867 if { (ac_try="$ac_compile"
36868 case "(($ac_try" in
36869 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36870 *) ac_try_echo
=$ac_try;;
36872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36873 (eval "$ac_compile") 2>conftest.er1
36875 grep -v '^ *+' conftest.er1
>conftest.err
36877 cat conftest.err
>&5
36878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36879 (exit $ac_status); } && {
36880 test -z "$ac_cxx_werror_flag" ||
36881 test ! -s conftest.err
36882 } && test -s conftest.
$ac_objext; then
36883 wx_cv_size_t_is_uint
=no
36885 echo "$as_me: failed program was:" >&5
36886 sed 's/^/| /' conftest.
$ac_ext >&5
36888 wx_cv_size_t_is_uint
=yes
36892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36896 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36897 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36899 if test "$wx_cv_size_t_is_uint" = "yes"; then
36900 cat >>confdefs.h
<<\_ACEOF
36901 #define wxSIZE_T_IS_UINT 1
36905 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36906 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36907 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36908 echo $ECHO_N "(cached) $ECHO_C" >&6
36910 cat >conftest.
$ac_ext <<_ACEOF
36913 cat confdefs.h
>>conftest.
$ac_ext
36914 cat >>conftest.
$ac_ext <<_ACEOF
36915 /* end confdefs.h. */
36916 #include <stddef.h>
36923 struct Foo { void foo(size_t); void foo(unsigned long); };
36931 rm -f conftest.
$ac_objext
36932 if { (ac_try
="$ac_compile"
36933 case "(($ac_try" in
36934 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36935 *) ac_try_echo=$ac_try;;
36937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36938 (eval "$ac_compile") 2>conftest.er1
36940 grep -v '^ *+' conftest.er1 >conftest.err
36942 cat conftest.err >&5
36943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36944 (exit $ac_status); } && {
36945 test -z "$ac_cxx_werror_flag" ||
36946 test ! -s conftest.err
36947 } && test -s conftest.$ac_objext; then
36948 wx_cv_size_t_is_ulong=no
36950 echo "$as_me: failed program was:" >&5
36951 sed 's/^/| /' conftest.$ac_ext >&5
36953 wx_cv_size_t_is_ulong=yes
36957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36960 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36961 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36963 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36964 cat >>confdefs.h <<\_ACEOF
36965 #define wxSIZE_T_IS_ULONG 1
36971 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36972 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36973 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36974 echo $ECHO_N "(cached) $ECHO_C" >&6
36976 cat >conftest.$ac_ext <<_ACEOF
36979 cat confdefs.h >>conftest.$ac_ext
36980 cat >>conftest.$ac_ext <<_ACEOF
36981 /* end confdefs.h. */
36989 struct Foo { void foo(wchar_t);
36990 void foo(unsigned short);
36991 void foo(unsigned int);
36992 void foo(unsigned long); };
37000 rm -f conftest.$ac_objext
37001 if { (ac_try="$ac_compile"
37002 case "(($ac_try" in
37003 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37004 *) ac_try_echo
=$ac_try;;
37006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37007 (eval "$ac_compile") 2>conftest.er1
37009 grep -v '^ *+' conftest.er1
>conftest.err
37011 cat conftest.err
>&5
37012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37013 (exit $ac_status); } && {
37014 test -z "$ac_cxx_werror_flag" ||
37015 test ! -s conftest.err
37016 } && test -s conftest.
$ac_objext; then
37017 wx_cv_wchar_t_is_separate_type
=yes
37019 echo "$as_me: failed program was:" >&5
37020 sed 's/^/| /' conftest.
$ac_ext >&5
37022 wx_cv_wchar_t_is_separate_type
=no
37026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37029 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37030 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37032 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37033 cat >>confdefs.h
<<\_ACEOF
37034 #define wxWCHAR_T_IS_REAL_TYPE 1
37038 cat >>confdefs.h
<<\_ACEOF
37039 #define wxWCHAR_T_IS_REAL_TYPE 0
37045 ac_cpp
='$CPP $CPPFLAGS'
37046 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37047 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37048 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37051 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37052 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37053 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37054 echo $ECHO_N "(cached) $ECHO_C" >&6
37057 cat >conftest.
$ac_ext <<_ACEOF
37060 cat confdefs.h
>>conftest.
$ac_ext
37061 cat >>conftest.
$ac_ext <<_ACEOF
37062 /* end confdefs.h. */
37076 rm -f conftest.
$ac_objext
37077 if { (ac_try
="$ac_compile"
37078 case "(($ac_try" in
37079 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37080 *) ac_try_echo=$ac_try;;
37082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37083 (eval "$ac_compile") 2>conftest.er1
37085 grep -v '^ *+' conftest.er1 >conftest.err
37087 cat conftest.err >&5
37088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37089 (exit $ac_status); } && {
37090 test -z "$ac_c_werror_flag" ||
37091 test ! -s conftest.err
37092 } && test -s conftest.$ac_objext; then
37094 wx_cv_struct_pw_gecos=yes
37097 echo "$as_me: failed program was:" >&5
37098 sed 's/^/| /' conftest.$ac_ext >&5
37101 wx_cv_struct_pw_gecos=no
37106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37110 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37111 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37113 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37114 cat >>confdefs.h <<\_ACEOF
37115 #define HAVE_PW_GECOS 1
37121 if test "$wxUSE_WCHAR_T" = "yes"; then
37122 cat >>confdefs.h <<\_ACEOF
37123 #define wxUSE_WCHAR_T 1
37130 for ac_func in wcslen
37132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37133 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37135 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37136 echo $ECHO_N "(cached) $ECHO_C" >&6
37138 cat >conftest.$ac_ext <<_ACEOF
37141 cat confdefs.h >>conftest.$ac_ext
37142 cat >>conftest.$ac_ext <<_ACEOF
37143 /* end confdefs.h. */
37144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37146 #define $ac_func innocuous_$ac_func
37148 /* System header to define __stub macros and hopefully few prototypes,
37149 which can conflict with char $ac_func (); below.
37150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37151 <limits.h> exists even on freestanding compilers. */
37154 # include <limits.h>
37156 # include <assert.h>
37161 /* Override any GCC internal prototype to avoid an error.
37162 Use char because int might match the return type of a GCC
37163 builtin and then its argument prototype would still apply. */
37168 /* The GNU C library defines this for functions which it implements
37169 to always fail with ENOSYS. Some functions are actually named
37170 something starting with __ and the normal name is an alias. */
37171 #if defined __stub_$ac_func || defined __stub___$ac_func
37178 return $ac_func ();
37183 rm -f conftest.$ac_objext conftest$ac_exeext
37184 if { (ac_try="$ac_link"
37185 case "(($ac_try" in
37186 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37187 *) ac_try_echo
=$ac_try;;
37189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37190 (eval "$ac_link") 2>conftest.er1
37192 grep -v '^ *+' conftest.er1
>conftest.err
37194 cat conftest.err
>&5
37195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37196 (exit $ac_status); } && {
37197 test -z "$ac_c_werror_flag" ||
37198 test ! -s conftest.err
37199 } && test -s conftest
$ac_exeext &&
37200 $as_test_x conftest
$ac_exeext; then
37201 eval "$as_ac_var=yes"
37203 echo "$as_me: failed program was:" >&5
37204 sed 's/^/| /' conftest.
$ac_ext >&5
37206 eval "$as_ac_var=no"
37209 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37210 conftest
$ac_exeext conftest.
$ac_ext
37212 ac_res
=`eval echo '${'$as_ac_var'}'`
37213 { echo "$as_me:$LINENO: result: $ac_res" >&5
37214 echo "${ECHO_T}$ac_res" >&6; }
37215 if test `eval echo '${'$as_ac_var'}'` = yes; then
37216 cat >>confdefs.h
<<_ACEOF
37217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37224 if test "$WCSLEN_FOUND" = 0; then
37225 if test "$TOOLKIT" = "MSW"; then
37226 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37227 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37228 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37229 echo $ECHO_N "(cached) $ECHO_C" >&6
37231 ac_check_lib_save_LIBS
=$LIBS
37232 LIBS
="-lmsvcrt $LIBS"
37233 cat >conftest.
$ac_ext <<_ACEOF
37236 cat confdefs.h
>>conftest.
$ac_ext
37237 cat >>conftest.
$ac_ext <<_ACEOF
37238 /* end confdefs.h. */
37240 /* Override any GCC internal prototype to avoid an error.
37241 Use char because int might match the return type of a GCC
37242 builtin and then its argument prototype would still apply. */
37255 rm -f conftest.
$ac_objext conftest
$ac_exeext
37256 if { (ac_try
="$ac_link"
37257 case "(($ac_try" in
37258 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37259 *) ac_try_echo=$ac_try;;
37261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37262 (eval "$ac_link") 2>conftest.er1
37264 grep -v '^ *+' conftest.er1 >conftest.err
37266 cat conftest.err >&5
37267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37268 (exit $ac_status); } && {
37269 test -z "$ac_c_werror_flag" ||
37270 test ! -s conftest.err
37271 } && test -s conftest$ac_exeext &&
37272 $as_test_x conftest$ac_exeext; then
37273 ac_cv_lib_msvcrt_wcslen=yes
37275 echo "$as_me: failed program was:" >&5
37276 sed 's/^/| /' conftest.$ac_ext >&5
37278 ac_cv_lib_msvcrt_wcslen=no
37281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37282 conftest$ac_exeext conftest.$ac_ext
37283 LIBS=$ac_check_lib_save_LIBS
37285 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37286 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37287 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37292 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37293 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37294 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37295 echo $ECHO_N "(cached) $ECHO_C" >&6
37297 ac_check_lib_save_LIBS=$LIBS
37299 cat >conftest.$ac_ext <<_ACEOF
37302 cat confdefs.h >>conftest.$ac_ext
37303 cat >>conftest.$ac_ext <<_ACEOF
37304 /* end confdefs.h. */
37306 /* Override any GCC internal prototype to avoid an error.
37307 Use char because int might match the return type of a GCC
37308 builtin and then its argument prototype would still apply. */
37321 rm -f conftest.$ac_objext conftest$ac_exeext
37322 if { (ac_try="$ac_link"
37323 case "(($ac_try" in
37324 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37325 *) ac_try_echo
=$ac_try;;
37327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37328 (eval "$ac_link") 2>conftest.er1
37330 grep -v '^ *+' conftest.er1
>conftest.err
37332 cat conftest.err
>&5
37333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37334 (exit $ac_status); } && {
37335 test -z "$ac_c_werror_flag" ||
37336 test ! -s conftest.err
37337 } && test -s conftest
$ac_exeext &&
37338 $as_test_x conftest
$ac_exeext; then
37339 ac_cv_lib_w_wcslen
=yes
37341 echo "$as_me: failed program was:" >&5
37342 sed 's/^/| /' conftest.
$ac_ext >&5
37344 ac_cv_lib_w_wcslen
=no
37347 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37348 conftest
$ac_exeext conftest.
$ac_ext
37349 LIBS
=$ac_check_lib_save_LIBS
37351 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37352 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37353 if test $ac_cv_lib_w_wcslen = yes; then
37363 if test "$WCSLEN_FOUND" = 1; then
37364 cat >>confdefs.h
<<\_ACEOF
37365 #define HAVE_WCSLEN 1
37371 for ac_func
in wcsdup
37373 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37374 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37376 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37377 echo $ECHO_N "(cached) $ECHO_C" >&6
37379 cat >conftest.
$ac_ext <<_ACEOF
37382 cat confdefs.h
>>conftest.
$ac_ext
37383 cat >>conftest.
$ac_ext <<_ACEOF
37384 /* end confdefs.h. */
37385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37387 #define $ac_func innocuous_$ac_func
37389 /* System header to define __stub macros and hopefully few prototypes,
37390 which can conflict with char $ac_func (); below.
37391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37392 <limits.h> exists even on freestanding compilers. */
37395 # include <limits.h>
37397 # include <assert.h>
37402 /* Override any GCC internal prototype to avoid an error.
37403 Use char because int might match the return type of a GCC
37404 builtin and then its argument prototype would still apply. */
37409 /* The GNU C library defines this for functions which it implements
37410 to always fail with ENOSYS. Some functions are actually named
37411 something starting with __ and the normal name is an alias. */
37412 #if defined __stub_$ac_func || defined __stub___$ac_func
37419 return $ac_func ();
37424 rm -f conftest.
$ac_objext conftest
$ac_exeext
37425 if { (ac_try
="$ac_link"
37426 case "(($ac_try" in
37427 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37428 *) ac_try_echo=$ac_try;;
37430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37431 (eval "$ac_link") 2>conftest.er1
37433 grep -v '^ *+' conftest.er1 >conftest.err
37435 cat conftest.err >&5
37436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37437 (exit $ac_status); } && {
37438 test -z "$ac_c_werror_flag" ||
37439 test ! -s conftest.err
37440 } && test -s conftest$ac_exeext &&
37441 $as_test_x conftest$ac_exeext; then
37442 eval "$as_ac_var=yes"
37444 echo "$as_me: failed program was:" >&5
37445 sed 's/^/| /' conftest.$ac_ext >&5
37447 eval "$as_ac_var=no"
37450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37451 conftest$ac_exeext conftest.$ac_ext
37453 ac_res=`eval echo '${'$as_ac_var'}'`
37454 { echo "$as_me:$LINENO: result: $ac_res" >&5
37455 echo "${ECHO_T}$ac_res" >&6; }
37456 if test `eval echo '${'$as_ac_var'}'` = yes; then
37457 cat >>confdefs.h <<_ACEOF
37458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37465 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37466 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37469 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37470 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37471 if test "${ac_cv_type_mbstate_t+set}" = set; then
37472 echo $ECHO_N "(cached) $ECHO_C" >&6
37474 cat >conftest.$ac_ext <<_ACEOF
37477 cat confdefs.h >>conftest.$ac_ext
37478 cat >>conftest.$ac_ext <<_ACEOF
37479 /* end confdefs.h. */
37482 typedef mbstate_t ac__type_new_;
37486 if ((ac__type_new_ *) 0)
37488 if (sizeof (ac__type_new_))
37494 rm -f conftest.$ac_objext
37495 if { (ac_try="$ac_compile"
37496 case "(($ac_try" in
37497 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37498 *) ac_try_echo
=$ac_try;;
37500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37501 (eval "$ac_compile") 2>conftest.er1
37503 grep -v '^ *+' conftest.er1
>conftest.err
37505 cat conftest.err
>&5
37506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37507 (exit $ac_status); } && {
37508 test -z "$ac_c_werror_flag" ||
37509 test ! -s conftest.err
37510 } && test -s conftest.
$ac_objext; then
37511 ac_cv_type_mbstate_t
=yes
37513 echo "$as_me: failed program was:" >&5
37514 sed 's/^/| /' conftest.
$ac_ext >&5
37516 ac_cv_type_mbstate_t
=no
37519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37521 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37522 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37523 if test $ac_cv_type_mbstate_t = yes; then
37525 cat >>confdefs.h
<<_ACEOF
37526 #define HAVE_MBSTATE_T 1
37530 for ac_func
in wcsrtombs
37532 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37533 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37535 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37536 echo $ECHO_N "(cached) $ECHO_C" >&6
37538 cat >conftest.
$ac_ext <<_ACEOF
37541 cat confdefs.h
>>conftest.
$ac_ext
37542 cat >>conftest.
$ac_ext <<_ACEOF
37543 /* end confdefs.h. */
37544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37546 #define $ac_func innocuous_$ac_func
37548 /* System header to define __stub macros and hopefully few prototypes,
37549 which can conflict with char $ac_func (); below.
37550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37551 <limits.h> exists even on freestanding compilers. */
37554 # include <limits.h>
37556 # include <assert.h>
37561 /* Override any GCC internal prototype to avoid an error.
37562 Use char because int might match the return type of a GCC
37563 builtin and then its argument prototype would still apply. */
37568 /* The GNU C library defines this for functions which it implements
37569 to always fail with ENOSYS. Some functions are actually named
37570 something starting with __ and the normal name is an alias. */
37571 #if defined __stub_$ac_func || defined __stub___$ac_func
37578 return $ac_func ();
37583 rm -f conftest.
$ac_objext conftest
$ac_exeext
37584 if { (ac_try
="$ac_link"
37585 case "(($ac_try" in
37586 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37587 *) ac_try_echo=$ac_try;;
37589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37590 (eval "$ac_link") 2>conftest.er1
37592 grep -v '^ *+' conftest.er1 >conftest.err
37594 cat conftest.err >&5
37595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37596 (exit $ac_status); } && {
37597 test -z "$ac_c_werror_flag" ||
37598 test ! -s conftest.err
37599 } && test -s conftest$ac_exeext &&
37600 $as_test_x conftest$ac_exeext; then
37601 eval "$as_ac_var=yes"
37603 echo "$as_me: failed program was:" >&5
37604 sed 's/^/| /' conftest.$ac_ext >&5
37606 eval "$as_ac_var=no"
37609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37610 conftest$ac_exeext conftest.$ac_ext
37612 ac_res=`eval echo '${'$as_ac_var'}'`
37613 { echo "$as_me:$LINENO: result: $ac_res" >&5
37614 echo "${ECHO_T}$ac_res" >&6; }
37615 if test `eval echo '${'$as_ac_var'}'` = yes; then
37616 cat >>confdefs.h <<_ACEOF
37617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37626 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37627 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37632 for ac_func in snprintf vsnprintf
37634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37635 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37637 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37638 echo $ECHO_N "(cached) $ECHO_C" >&6
37640 cat >conftest.$ac_ext <<_ACEOF
37643 cat confdefs.h >>conftest.$ac_ext
37644 cat >>conftest.$ac_ext <<_ACEOF
37645 /* end confdefs.h. */
37646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37648 #define $ac_func innocuous_$ac_func
37650 /* System header to define __stub macros and hopefully few prototypes,
37651 which can conflict with char $ac_func (); below.
37652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37653 <limits.h> exists even on freestanding compilers. */
37656 # include <limits.h>
37658 # include <assert.h>
37663 /* Override any GCC internal prototype to avoid an error.
37664 Use char because int might match the return type of a GCC
37665 builtin and then its argument prototype would still apply. */
37670 /* The GNU C library defines this for functions which it implements
37671 to always fail with ENOSYS. Some functions are actually named
37672 something starting with __ and the normal name is an alias. */
37673 #if defined __stub_$ac_func || defined __stub___$ac_func
37680 return $ac_func ();
37685 rm -f conftest.$ac_objext conftest$ac_exeext
37686 if { (ac_try="$ac_link"
37687 case "(($ac_try" in
37688 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37689 *) ac_try_echo
=$ac_try;;
37691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37692 (eval "$ac_link") 2>conftest.er1
37694 grep -v '^ *+' conftest.er1
>conftest.err
37696 cat conftest.err
>&5
37697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37698 (exit $ac_status); } && {
37699 test -z "$ac_c_werror_flag" ||
37700 test ! -s conftest.err
37701 } && test -s conftest
$ac_exeext &&
37702 $as_test_x conftest
$ac_exeext; then
37703 eval "$as_ac_var=yes"
37705 echo "$as_me: failed program was:" >&5
37706 sed 's/^/| /' conftest.
$ac_ext >&5
37708 eval "$as_ac_var=no"
37711 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37712 conftest
$ac_exeext conftest.
$ac_ext
37714 ac_res
=`eval echo '${'$as_ac_var'}'`
37715 { echo "$as_me:$LINENO: result: $ac_res" >&5
37716 echo "${ECHO_T}$ac_res" >&6; }
37717 if test `eval echo '${'$as_ac_var'}'` = yes; then
37718 cat >>confdefs.h
<<_ACEOF
37719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37726 if test "$ac_cv_func_vsnprintf" = "yes"; then
37727 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37728 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37729 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37730 echo $ECHO_N "(cached) $ECHO_C" >&6
37733 cat >conftest.
$ac_ext <<_ACEOF
37736 cat confdefs.h
>>conftest.
$ac_ext
37737 cat >>conftest.
$ac_ext <<_ACEOF
37738 /* end confdefs.h. */
37741 #include <stdarg.h>
37743 #if __MSL__ >= 0x6000
37745 using namespace std;
37755 vsnprintf(buf, 10u, "%s", ap);
37761 rm -f conftest.
$ac_objext
37762 if { (ac_try
="$ac_compile"
37763 case "(($ac_try" in
37764 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37765 *) ac_try_echo=$ac_try;;
37767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37768 (eval "$ac_compile") 2>conftest.er1
37770 grep -v '^ *+' conftest.er1 >conftest.err
37772 cat conftest.err >&5
37773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37774 (exit $ac_status); } && {
37775 test -z "$ac_c_werror_flag" ||
37776 test ! -s conftest.err
37777 } && test -s conftest.$ac_objext; then
37778 wx_cv_func_vsnprintf_decl=yes
37780 echo "$as_me: failed program was:" >&5
37781 sed 's/^/| /' conftest.$ac_ext >&5
37783 wx_cv_func_vsnprintf_decl=no
37787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37791 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37792 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37794 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37795 cat >>confdefs.h <<\_ACEOF
37796 #define HAVE_VSNPRINTF_DECL 1
37800 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37801 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37802 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37803 echo $ECHO_N "(cached) $ECHO_C" >&6
37806 cat >conftest.$ac_ext <<_ACEOF
37809 cat confdefs.h >>conftest.$ac_ext
37810 cat >>conftest.$ac_ext <<_ACEOF
37811 /* end confdefs.h. */
37814 #include <stdarg.h>
37816 #if __MSL__ >= 0x6000
37818 using namespace std;
37828 const char *fmt = "%s";
37829 vsnprintf(buf, 10u, fmt, ap);
37835 rm -f conftest.$ac_objext
37836 if { (ac_try="$ac_compile"
37837 case "(($ac_try" in
37838 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37839 *) ac_try_echo
=$ac_try;;
37841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37842 (eval "$ac_compile") 2>conftest.er1
37844 grep -v '^ *+' conftest.er1
>conftest.err
37846 cat conftest.err
>&5
37847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37848 (exit $ac_status); } && {
37849 test -z "$ac_c_werror_flag" ||
37850 test ! -s conftest.err
37851 } && test -s conftest.
$ac_objext; then
37852 wx_cv_func_broken_vsnprintf_decl
=no
37854 echo "$as_me: failed program was:" >&5
37855 sed 's/^/| /' conftest.
$ac_ext >&5
37857 wx_cv_func_broken_vsnprintf_decl
=yes
37861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37865 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37866 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37868 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37869 cat >>confdefs.h
<<\_ACEOF
37870 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37877 if test "$ac_cv_func_snprintf" = "yes"; then
37878 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37879 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37880 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37881 echo $ECHO_N "(cached) $ECHO_C" >&6
37884 cat >conftest.
$ac_ext <<_ACEOF
37887 cat confdefs.h
>>conftest.
$ac_ext
37888 cat >>conftest.
$ac_ext <<_ACEOF
37889 /* end confdefs.h. */
37892 #include <stdarg.h>
37894 #if __MSL__ >= 0x6000
37896 using namespace std;
37905 snprintf(buf, 10u, "%s", "wx");
37911 rm -f conftest.
$ac_objext
37912 if { (ac_try
="$ac_compile"
37913 case "(($ac_try" in
37914 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37915 *) ac_try_echo=$ac_try;;
37917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37918 (eval "$ac_compile") 2>conftest.er1
37920 grep -v '^ *+' conftest.er1 >conftest.err
37922 cat conftest.err >&5
37923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37924 (exit $ac_status); } && {
37925 test -z "$ac_c_werror_flag" ||
37926 test ! -s conftest.err
37927 } && test -s conftest.$ac_objext; then
37928 wx_cv_func_snprintf_decl=yes
37930 echo "$as_me: failed program was:" >&5
37931 sed 's/^/| /' conftest.$ac_ext >&5
37933 wx_cv_func_snprintf_decl=no
37937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37941 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37942 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37944 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37945 cat >>confdefs.h <<\_ACEOF
37946 #define HAVE_SNPRINTF_DECL 1
37951 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37953 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37954 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37955 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37956 echo $ECHO_N "(cached) $ECHO_C" >&6
37959 if test "$cross_compiling" = yes; then
37961 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37962 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37963 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37964 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37965 wx_cv_func_snprintf_pos_params=no
37969 cat >conftest.$ac_ext <<_ACEOF
37972 cat confdefs.h >>conftest.$ac_ext
37973 cat >>conftest.$ac_ext <<_ACEOF
37974 /* end confdefs.h. */
37981 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37982 if (strcmp ("2 3 1", buffer) == 0)
37988 rm -f conftest$ac_exeext
37989 if { (ac_try="$ac_link"
37990 case "(($ac_try" in
37991 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37992 *) ac_try_echo
=$ac_try;;
37994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37995 (eval "$ac_link") 2>&5
37997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37998 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
37999 { (case "(($ac_try" in
38000 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38001 *) ac_try_echo=$ac_try;;
38003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38004 (eval "$ac_try") 2>&5
38006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38007 (exit $ac_status); }; }; then
38008 wx_cv_func_snprintf_pos_params=no
38010 echo "$as_me: program exited with status $ac_status" >&5
38011 echo "$as_me: failed program was:" >&5
38012 sed 's/^/| /' conftest.$ac_ext >&5
38014 ( exit $ac_status )
38015 wx_cv_func_snprintf_pos_params=yes
38017 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38024 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38025 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38027 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38028 cat >>confdefs.h <<\_ACEOF
38029 #define HAVE_UNIX98_PRINTF 1
38036 if test "$wxUSE_UNICODE" = yes; then
38038 wchar_headers="#include <stdio.h>
38039 #include <wchar.h>"
38043 for ac_header in widec.h
38045 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38046 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38048 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38049 echo $ECHO_N "(cached) $ECHO_C" >&6
38051 cat >conftest.$ac_ext <<_ACEOF
38054 cat confdefs.h >>conftest.$ac_ext
38055 cat >>conftest.$ac_ext <<_ACEOF
38056 /* end confdefs.h. */
38057 $ac_includes_default
38059 #include <$ac_header>
38061 rm -f conftest.$ac_objext
38062 if { (ac_try="$ac_compile"
38063 case "(($ac_try" in
38064 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38065 *) ac_try_echo
=$ac_try;;
38067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38068 (eval "$ac_compile") 2>conftest.er1
38070 grep -v '^ *+' conftest.er1
>conftest.err
38072 cat conftest.err
>&5
38073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38074 (exit $ac_status); } && {
38075 test -z "$ac_c_werror_flag" ||
38076 test ! -s conftest.err
38077 } && test -s conftest.
$ac_objext; then
38078 eval "$as_ac_Header=yes"
38080 echo "$as_me: failed program was:" >&5
38081 sed 's/^/| /' conftest.
$ac_ext >&5
38083 eval "$as_ac_Header=no"
38086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38088 ac_res
=`eval echo '${'$as_ac_Header'}'`
38089 { echo "$as_me:$LINENO: result: $ac_res" >&5
38090 echo "${ECHO_T}$ac_res" >&6; }
38091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38092 cat >>confdefs.h
<<_ACEOF
38093 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38100 if test "$ac_cv_header_widec_h" = "yes"; then
38101 wchar_headers
="$wchar_headers
38102 #include <widec.h>"
38107 for wx_func
in putws fputws wprintf vswprintf
38109 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38110 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38111 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38112 echo $ECHO_N "(cached) $ECHO_C" >&6
38115 cat >conftest.
$ac_ext <<_ACEOF
38119 cat confdefs.h
>>conftest.
$ac_ext
38120 cat >>conftest.
$ac_ext <<_ACEOF
38121 /* end confdefs.h. */
38124 $ac_includes_default
38140 rm -f conftest.
$ac_objext conftest
$ac_exeext
38141 if { (ac_try
="$ac_link"
38142 case "(($ac_try" in
38143 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38144 *) ac_try_echo=$ac_try;;
38146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38147 (eval "$ac_link") 2>conftest.er1
38149 grep -v '^ *+' conftest.er1 >conftest.err
38151 cat conftest.err >&5
38152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38153 (exit $ac_status); } && {
38154 test -z "$ac_c_werror_flag" ||
38155 test ! -s conftest.err
38156 } && test -s conftest$ac_exeext &&
38157 $as_test_x conftest$ac_exeext; then
38158 eval wx_cv_func_$wx_func=yes
38160 echo "$as_me: failed program was:" >&5
38161 sed 's/^/| /' conftest.$ac_ext >&5
38163 eval wx_cv_func_$wx_func=no
38166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38167 conftest$ac_exeext conftest.$ac_ext
38170 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38171 { echo "$as_me:$LINENO: result: $ac_res" >&5
38172 echo "${ECHO_T}$ac_res" >&6; }
38174 if eval test \$wx_cv_func_$wx_func = yes
38176 cat >>confdefs.h <<_ACEOF
38177 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38188 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38189 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38190 cat >conftest.$ac_ext <<_ACEOF
38193 cat confdefs.h >>conftest.$ac_ext
38194 cat >>conftest.$ac_ext <<_ACEOF
38195 /* end confdefs.h. */
38205 rm -f conftest.$ac_objext
38206 if { (ac_try="$ac_compile"
38207 case "(($ac_try" in
38208 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38209 *) ac_try_echo
=$ac_try;;
38211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38212 (eval "$ac_compile") 2>conftest.er1
38214 grep -v '^ *+' conftest.er1
>conftest.err
38216 cat conftest.err
>&5
38217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38218 (exit $ac_status); } && {
38219 test -z "$ac_c_werror_flag" ||
38220 test ! -s conftest.err
38221 } && test -s conftest.
$ac_objext; then
38222 { echo "$as_me:$LINENO: result: yes" >&5
38223 echo "${ECHO_T}yes" >&6; }
38224 cat >>confdefs.h
<<\_ACEOF
38225 #define HAVE__VSNWPRINTF 1
38229 echo "$as_me: failed program was:" >&5
38230 sed 's/^/| /' conftest.
$ac_ext >&5
38232 { echo "$as_me:$LINENO: result: no" >&5
38233 echo "${ECHO_T}no" >&6; }
38236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
38239 if test "$wxUSE_FILE" = "yes"; then
38241 for wx_func
in fsync
38243 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38244 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38245 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38246 echo $ECHO_N "(cached) $ECHO_C" >&6
38249 cat >conftest.
$ac_ext <<_ACEOF
38253 cat confdefs.h
>>conftest.
$ac_ext
38254 cat >>conftest.
$ac_ext <<_ACEOF
38255 /* end confdefs.h. */
38258 $ac_includes_default
38274 rm -f conftest.
$ac_objext conftest
$ac_exeext
38275 if { (ac_try
="$ac_link"
38276 case "(($ac_try" in
38277 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38278 *) ac_try_echo=$ac_try;;
38280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38281 (eval "$ac_link") 2>conftest.er1
38283 grep -v '^ *+' conftest.er1 >conftest.err
38285 cat conftest.err >&5
38286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38287 (exit $ac_status); } && {
38288 test -z "$ac_c_werror_flag" ||
38289 test ! -s conftest.err
38290 } && test -s conftest$ac_exeext &&
38291 $as_test_x conftest$ac_exeext; then
38292 eval wx_cv_func_$wx_func=yes
38294 echo "$as_me: failed program was:" >&5
38295 sed 's/^/| /' conftest.$ac_ext >&5
38297 eval wx_cv_func_$wx_func=no
38300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38301 conftest$ac_exeext conftest.$ac_ext
38304 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38305 { echo "$as_me:$LINENO: result: $ac_res" >&5
38306 echo "${ECHO_T}$ac_res" >&6; }
38308 if eval test \$wx_cv_func_$wx_func = yes
38310 cat >>confdefs.h <<_ACEOF
38311 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38324 ac_cpp='$CXXCPP $CPPFLAGS'
38325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38330 for wx_func in round
38332 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38333 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38334 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38335 echo $ECHO_N "(cached) $ECHO_C" >&6
38338 cat >conftest.$ac_ext <<_ACEOF
38342 cat confdefs.h >>conftest.$ac_ext
38343 cat >>conftest.$ac_ext <<_ACEOF
38344 /* end confdefs.h. */
38347 $ac_includes_default
38363 rm -f conftest.$ac_objext conftest$ac_exeext
38364 if { (ac_try="$ac_link"
38365 case "(($ac_try" in
38366 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38367 *) ac_try_echo
=$ac_try;;
38369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38370 (eval "$ac_link") 2>conftest.er1
38372 grep -v '^ *+' conftest.er1
>conftest.err
38374 cat conftest.err
>&5
38375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38376 (exit $ac_status); } && {
38377 test -z "$ac_cxx_werror_flag" ||
38378 test ! -s conftest.err
38379 } && test -s conftest
$ac_exeext &&
38380 $as_test_x conftest
$ac_exeext; then
38381 eval wx_cv_func_
$wx_func=yes
38383 echo "$as_me: failed program was:" >&5
38384 sed 's/^/| /' conftest.
$ac_ext >&5
38386 eval wx_cv_func_
$wx_func=no
38389 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38390 conftest
$ac_exeext conftest.
$ac_ext
38393 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38394 { echo "$as_me:$LINENO: result: $ac_res" >&5
38395 echo "${ECHO_T}$ac_res" >&6; }
38397 if eval test \
$wx_cv_func_$wx_func = yes
38399 cat >>confdefs.h
<<_ACEOF
38400 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38411 ac_cpp
='$CPP $CPPFLAGS'
38412 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38413 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38414 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38417 if test "$TOOLKIT" != "MSW"; then
38423 # Check whether --with-libiconv-prefix was given.
38424 if test "${with_libiconv_prefix+set}" = set; then
38425 withval
=$with_libiconv_prefix;
38426 for dir
in `echo "$withval" | tr : ' '`; do
38427 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
38428 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
38434 { echo "$as_me:$LINENO: checking for iconv" >&5
38435 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38436 if test "${am_cv_func_iconv+set}" = set; then
38437 echo $ECHO_N "(cached) $ECHO_C" >&6
38440 am_cv_func_iconv
="no, consider installing GNU libiconv"
38442 cat >conftest.
$ac_ext <<_ACEOF
38445 cat confdefs.h
>>conftest.
$ac_ext
38446 cat >>conftest.
$ac_ext <<_ACEOF
38447 /* end confdefs.h. */
38448 #include <stdlib.h>
38453 iconv_t cd = iconv_open("","");
38454 iconv(cd,NULL,NULL,NULL,NULL);
38460 rm -f conftest.
$ac_objext conftest
$ac_exeext
38461 if { (ac_try
="$ac_link"
38462 case "(($ac_try" in
38463 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38464 *) ac_try_echo=$ac_try;;
38466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38467 (eval "$ac_link") 2>conftest.er1
38469 grep -v '^ *+' conftest.er1 >conftest.err
38471 cat conftest.err >&5
38472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38473 (exit $ac_status); } && {
38474 test -z "$ac_c_werror_flag" ||
38475 test ! -s conftest.err
38476 } && test -s conftest$ac_exeext &&
38477 $as_test_x conftest$ac_exeext; then
38478 am_cv_func_iconv=yes
38480 echo "$as_me: failed program was:" >&5
38481 sed 's/^/| /' conftest.$ac_ext >&5
38486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38487 conftest$ac_exeext conftest.$ac_ext
38488 if test "$am_cv_func_iconv" != yes; then
38489 am_save_LIBS="$LIBS"
38490 LIBS="$LIBS -liconv"
38491 cat >conftest.$ac_ext <<_ACEOF
38494 cat confdefs.h >>conftest.$ac_ext
38495 cat >>conftest.$ac_ext <<_ACEOF
38496 /* end confdefs.h. */
38497 #include <stdlib.h>
38502 iconv_t cd = iconv_open("","");
38503 iconv(cd,NULL,NULL,NULL,NULL);
38509 rm -f conftest.$ac_objext conftest$ac_exeext
38510 if { (ac_try="$ac_link"
38511 case "(($ac_try" in
38512 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38513 *) ac_try_echo
=$ac_try;;
38515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38516 (eval "$ac_link") 2>conftest.er1
38518 grep -v '^ *+' conftest.er1
>conftest.err
38520 cat conftest.err
>&5
38521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38522 (exit $ac_status); } && {
38523 test -z "$ac_c_werror_flag" ||
38524 test ! -s conftest.err
38525 } && test -s conftest
$ac_exeext &&
38526 $as_test_x conftest
$ac_exeext; then
38527 am_cv_lib_iconv
=yes
38528 am_cv_func_iconv
=yes
38530 echo "$as_me: failed program was:" >&5
38531 sed 's/^/| /' conftest.
$ac_ext >&5
38536 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38537 conftest
$ac_exeext conftest.
$ac_ext
38538 LIBS
="$am_save_LIBS"
38542 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38543 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38544 if test "$am_cv_func_iconv" = yes; then
38546 cat >>confdefs.h
<<\_ACEOF
38547 #define HAVE_ICONV 1
38550 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38551 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38552 if test "${wx_cv_func_iconv_const+set}" = set; then
38553 echo $ECHO_N "(cached) $ECHO_C" >&6
38555 cat >conftest.
$ac_ext <<_ACEOF
38558 cat confdefs.h
>>conftest.
$ac_ext
38559 cat >>conftest.
$ac_ext <<_ACEOF
38560 /* end confdefs.h. */
38562 #include <stdlib.h>
38568 #if defined(__STDC__) || defined(__cplusplus)
38569 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38582 rm -f conftest.
$ac_objext
38583 if { (ac_try
="$ac_compile"
38584 case "(($ac_try" in
38585 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38586 *) ac_try_echo=$ac_try;;
38588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38589 (eval "$ac_compile") 2>conftest.er1
38591 grep -v '^ *+' conftest.er1 >conftest.err
38593 cat conftest.err >&5
38594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38595 (exit $ac_status); } && {
38596 test -z "$ac_c_werror_flag" ||
38597 test ! -s conftest.err
38598 } && test -s conftest.$ac_objext; then
38599 wx_cv_func_iconv_const="no"
38601 echo "$as_me: failed program was:" >&5
38602 sed 's/^/| /' conftest.$ac_ext >&5
38604 wx_cv_func_iconv_const="yes"
38608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38611 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38612 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38615 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38616 iconv_const="const"
38620 cat >>confdefs.h <<_ACEOF
38621 #define ICONV_CONST $iconv_const
38626 if test "$am_cv_lib_iconv" = yes; then
38631 LIBS="$LIBICONV $LIBS"
38633 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38635 for ac_func in sigaction
38637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38638 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38640 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38641 echo $ECHO_N "(cached) $ECHO_C" >&6
38643 cat >conftest.$ac_ext <<_ACEOF
38646 cat confdefs.h >>conftest.$ac_ext
38647 cat >>conftest.$ac_ext <<_ACEOF
38648 /* end confdefs.h. */
38649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38651 #define $ac_func innocuous_$ac_func
38653 /* System header to define __stub macros and hopefully few prototypes,
38654 which can conflict with char $ac_func (); below.
38655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38656 <limits.h> exists even on freestanding compilers. */
38659 # include <limits.h>
38661 # include <assert.h>
38666 /* Override any GCC internal prototype to avoid an error.
38667 Use char because int might match the return type of a GCC
38668 builtin and then its argument prototype would still apply. */
38673 /* The GNU C library defines this for functions which it implements
38674 to always fail with ENOSYS. Some functions are actually named
38675 something starting with __ and the normal name is an alias. */
38676 #if defined __stub_$ac_func || defined __stub___$ac_func
38683 return $ac_func ();
38688 rm -f conftest.$ac_objext conftest$ac_exeext
38689 if { (ac_try="$ac_link"
38690 case "(($ac_try" in
38691 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38692 *) ac_try_echo
=$ac_try;;
38694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38695 (eval "$ac_link") 2>conftest.er1
38697 grep -v '^ *+' conftest.er1
>conftest.err
38699 cat conftest.err
>&5
38700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38701 (exit $ac_status); } && {
38702 test -z "$ac_c_werror_flag" ||
38703 test ! -s conftest.err
38704 } && test -s conftest
$ac_exeext &&
38705 $as_test_x conftest
$ac_exeext; then
38706 eval "$as_ac_var=yes"
38708 echo "$as_me: failed program was:" >&5
38709 sed 's/^/| /' conftest.
$ac_ext >&5
38711 eval "$as_ac_var=no"
38714 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38715 conftest
$ac_exeext conftest.
$ac_ext
38717 ac_res
=`eval echo '${'$as_ac_var'}'`
38718 { echo "$as_me:$LINENO: result: $ac_res" >&5
38719 echo "${ECHO_T}$ac_res" >&6; }
38720 if test `eval echo '${'$as_ac_var'}'` = yes; then
38721 cat >>confdefs.h
<<_ACEOF
38722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38729 if test "$ac_cv_func_sigaction" = "no"; then
38730 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38731 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38732 wxUSE_ON_FATAL_EXCEPTION
=no
38735 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38736 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38737 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38738 if test "${wx_cv_type_sa_handler+set}" = set; then
38739 echo $ECHO_N "(cached) $ECHO_C" >&6
38743 ac_cpp
='$CXXCPP $CPPFLAGS'
38744 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38745 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38746 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38748 cat >conftest.
$ac_ext <<_ACEOF
38751 cat confdefs.h
>>conftest.
$ac_ext
38752 cat >>conftest.
$ac_ext <<_ACEOF
38753 /* end confdefs.h. */
38754 #include <signal.h>
38759 extern void testSigHandler(int);
38761 struct sigaction sa;
38762 sa.sa_handler = testSigHandler;
38768 rm -f conftest.
$ac_objext
38769 if { (ac_try
="$ac_compile"
38770 case "(($ac_try" in
38771 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38772 *) ac_try_echo=$ac_try;;
38774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38775 (eval "$ac_compile") 2>conftest.er1
38777 grep -v '^ *+' conftest.er1 >conftest.err
38779 cat conftest.err >&5
38780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38781 (exit $ac_status); } && {
38782 test -z "$ac_cxx_werror_flag" ||
38783 test ! -s conftest.err
38784 } && test -s conftest.$ac_objext; then
38786 wx_cv_type_sa_handler=int
38789 echo "$as_me: failed program was:" >&5
38790 sed 's/^/| /' conftest.$ac_ext >&5
38793 wx_cv_type_sa_handler=void
38797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38799 ac_cpp='$CPP $CPPFLAGS'
38800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38806 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38807 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38809 cat >>confdefs.h <<_ACEOF
38810 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38816 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38817 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38818 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38819 if test "${wx_cv_func_backtrace+set}" = set; then
38820 echo $ECHO_N "(cached) $ECHO_C" >&6
38824 ac_cpp='$CXXCPP $CPPFLAGS'
38825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38829 cat >conftest.$ac_ext <<_ACEOF
38832 cat confdefs.h >>conftest.$ac_ext
38833 cat >>conftest.$ac_ext <<_ACEOF
38834 /* end confdefs.h. */
38835 #include <execinfo.h>
38843 backtrace(trace, 1);
38844 messages = backtrace_symbols(trace, 1);
38850 rm -f conftest.$ac_objext
38851 if { (ac_try="$ac_compile"
38852 case "(($ac_try" in
38853 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38854 *) ac_try_echo
=$ac_try;;
38856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38857 (eval "$ac_compile") 2>conftest.er1
38859 grep -v '^ *+' conftest.er1
>conftest.err
38861 cat conftest.err
>&5
38862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38863 (exit $ac_status); } && {
38864 test -z "$ac_cxx_werror_flag" ||
38865 test ! -s conftest.err
38866 } && test -s conftest.
$ac_objext; then
38867 wx_cv_func_backtrace
=yes
38869 echo "$as_me: failed program was:" >&5
38870 sed 's/^/| /' conftest.
$ac_ext >&5
38872 wx_cv_func_backtrace
=no
38876 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38878 ac_cpp
='$CPP $CPPFLAGS'
38879 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38880 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38881 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38886 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38887 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38890 if test "$wx_cv_func_backtrace" = "no"; then
38891 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38892 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38893 wxUSE_STACKWALKER
=no
38895 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38896 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38897 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38898 echo $ECHO_N "(cached) $ECHO_C" >&6
38902 ac_cpp
='$CXXCPP $CPPFLAGS'
38903 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38904 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38905 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38907 cat >conftest.
$ac_ext <<_ACEOF
38910 cat confdefs.h
>>conftest.
$ac_ext
38911 cat >>conftest.
$ac_ext <<_ACEOF
38912 /* end confdefs.h. */
38913 #include <cxxabi.h>
38919 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38925 rm -f conftest.
$ac_objext conftest
$ac_exeext
38926 if { (ac_try
="$ac_link"
38927 case "(($ac_try" in
38928 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38929 *) ac_try_echo=$ac_try;;
38931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38932 (eval "$ac_link") 2>conftest.er1
38934 grep -v '^ *+' conftest.er1 >conftest.err
38936 cat conftest.err >&5
38937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38938 (exit $ac_status); } && {
38939 test -z "$ac_cxx_werror_flag" ||
38940 test ! -s conftest.err
38941 } && test -s conftest$ac_exeext &&
38942 $as_test_x conftest$ac_exeext; then
38943 wx_cv_func_cxa_demangle=yes
38945 echo "$as_me: failed program was:" >&5
38946 sed 's/^/| /' conftest.$ac_ext >&5
38948 wx_cv_func_cxa_demangle=no
38952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38953 conftest$ac_exeext conftest.$ac_ext
38955 ac_cpp='$CPP $CPPFLAGS'
38956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38963 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38964 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38966 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38967 cat >>confdefs.h <<\_ACEOF
38968 #define HAVE_CXA_DEMANGLE 1
38975 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
38976 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38977 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38978 wxUSE_STACKWALKER=no
38984 for ac_func in mkstemp mktemp
38986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38987 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38989 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38990 echo $ECHO_N "(cached) $ECHO_C" >&6
38992 cat >conftest.$ac_ext <<_ACEOF
38995 cat confdefs.h >>conftest.$ac_ext
38996 cat >>conftest.$ac_ext <<_ACEOF
38997 /* end confdefs.h. */
38998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39000 #define $ac_func innocuous_$ac_func
39002 /* System header to define __stub macros and hopefully few prototypes,
39003 which can conflict with char $ac_func (); below.
39004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39005 <limits.h> exists even on freestanding compilers. */
39008 # include <limits.h>
39010 # include <assert.h>
39015 /* Override any GCC internal prototype to avoid an error.
39016 Use char because int might match the return type of a GCC
39017 builtin and then its argument prototype would still apply. */
39022 /* The GNU C library defines this for functions which it implements
39023 to always fail with ENOSYS. Some functions are actually named
39024 something starting with __ and the normal name is an alias. */
39025 #if defined __stub_$ac_func || defined __stub___$ac_func
39032 return $ac_func ();
39037 rm -f conftest.$ac_objext conftest$ac_exeext
39038 if { (ac_try="$ac_link"
39039 case "(($ac_try" in
39040 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39041 *) ac_try_echo
=$ac_try;;
39043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39044 (eval "$ac_link") 2>conftest.er1
39046 grep -v '^ *+' conftest.er1
>conftest.err
39048 cat conftest.err
>&5
39049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39050 (exit $ac_status); } && {
39051 test -z "$ac_c_werror_flag" ||
39052 test ! -s conftest.err
39053 } && test -s conftest
$ac_exeext &&
39054 $as_test_x conftest
$ac_exeext; then
39055 eval "$as_ac_var=yes"
39057 echo "$as_me: failed program was:" >&5
39058 sed 's/^/| /' conftest.
$ac_ext >&5
39060 eval "$as_ac_var=no"
39063 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39064 conftest
$ac_exeext conftest.
$ac_ext
39066 ac_res
=`eval echo '${'$as_ac_var'}'`
39067 { echo "$as_me:$LINENO: result: $ac_res" >&5
39068 echo "${ECHO_T}$ac_res" >&6; }
39069 if test `eval echo '${'$as_ac_var'}'` = yes; then
39070 cat >>confdefs.h
<<_ACEOF
39071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39078 { echo "$as_me:$LINENO: checking for statfs" >&5
39079 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39080 if test "${wx_cv_func_statfs+set}" = set; then
39081 echo $ECHO_N "(cached) $ECHO_C" >&6
39083 cat >conftest.
$ac_ext <<_ACEOF
39086 cat confdefs.h
>>conftest.
$ac_ext
39087 cat >>conftest.
$ac_ext <<_ACEOF
39088 /* end confdefs.h. */
39090 #if defined(__BSD__)
39091 #include <sys/param.h>
39092 #include <sys/mount.h>
39094 #include <sys/vfs.h>
39112 rm -f conftest.
$ac_objext
39113 if { (ac_try
="$ac_compile"
39114 case "(($ac_try" in
39115 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39116 *) ac_try_echo=$ac_try;;
39118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39119 (eval "$ac_compile") 2>conftest.er1
39121 grep -v '^ *+' conftest.er1 >conftest.err
39123 cat conftest.err >&5
39124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39125 (exit $ac_status); } && {
39126 test -z "$ac_c_werror_flag" ||
39127 test ! -s conftest.err
39128 } && test -s conftest.$ac_objext; then
39129 wx_cv_func_statfs=yes
39131 echo "$as_me: failed program was:" >&5
39132 sed 's/^/| /' conftest.$ac_ext >&5
39134 wx_cv_func_statfs=no
39138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39141 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39142 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39144 if test "$wx_cv_func_statfs" = "yes"; then
39145 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39146 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39147 if test "${wx_cv_func_statfs_decl+set}" = set; then
39148 echo $ECHO_N "(cached) $ECHO_C" >&6
39151 ac_cpp='$CXXCPP $CPPFLAGS'
39152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39156 cat >conftest.$ac_ext <<_ACEOF
39159 cat confdefs.h >>conftest.$ac_ext
39160 cat >>conftest.$ac_ext <<_ACEOF
39161 /* end confdefs.h. */
39163 #if defined(__BSD__)
39164 #include <sys/param.h>
39165 #include <sys/mount.h>
39167 #include <sys/vfs.h>
39181 rm -f conftest.$ac_objext
39182 if { (ac_try="$ac_compile"
39183 case "(($ac_try" in
39184 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39185 *) ac_try_echo
=$ac_try;;
39187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39188 (eval "$ac_compile") 2>conftest.er1
39190 grep -v '^ *+' conftest.er1
>conftest.err
39192 cat conftest.err
>&5
39193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39194 (exit $ac_status); } && {
39195 test -z "$ac_cxx_werror_flag" ||
39196 test ! -s conftest.err
39197 } && test -s conftest.
$ac_objext; then
39198 wx_cv_func_statfs_decl
=yes
39200 echo "$as_me: failed program was:" >&5
39201 sed 's/^/| /' conftest.
$ac_ext >&5
39203 wx_cv_func_statfs_decl
=no
39207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39209 ac_cpp
='$CPP $CPPFLAGS'
39210 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39211 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39212 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39216 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39217 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39219 if test "$wx_cv_func_statfs_decl" = "yes"; then
39220 cat >>confdefs.h
<<\_ACEOF
39221 #define HAVE_STATFS_DECL 1
39226 wx_cv_type_statvfs_t
="struct statfs"
39227 cat >>confdefs.h
<<\_ACEOF
39228 #define HAVE_STATFS 1
39232 { echo "$as_me:$LINENO: checking for statvfs" >&5
39233 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39234 if test "${wx_cv_func_statvfs+set}" = set; then
39235 echo $ECHO_N "(cached) $ECHO_C" >&6
39237 cat >conftest.
$ac_ext <<_ACEOF
39240 cat confdefs.h
>>conftest.
$ac_ext
39241 cat >>conftest.
$ac_ext <<_ACEOF
39242 /* end confdefs.h. */
39244 #include <stddef.h>
39245 #include <sys/statvfs.h>
39251 statvfs("/", NULL);
39257 rm -f conftest.
$ac_objext
39258 if { (ac_try
="$ac_compile"
39259 case "(($ac_try" in
39260 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39261 *) ac_try_echo=$ac_try;;
39263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39264 (eval "$ac_compile") 2>conftest.er1
39266 grep -v '^ *+' conftest.er1 >conftest.err
39268 cat conftest.err >&5
39269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39270 (exit $ac_status); } && {
39271 test -z "$ac_c_werror_flag" ||
39272 test ! -s conftest.err
39273 } && test -s conftest.$ac_objext; then
39274 wx_cv_func_statvfs=yes
39276 echo "$as_me: failed program was:" >&5
39277 sed 's/^/| /' conftest.$ac_ext >&5
39279 wx_cv_func_statvfs=no
39283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39286 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39287 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39289 if test "$wx_cv_func_statvfs" = "yes"; then
39290 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39291 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39292 if test "${wx_cv_type_statvfs_t+set}" = set; then
39293 echo $ECHO_N "(cached) $ECHO_C" >&6
39296 ac_cpp='$CXXCPP $CPPFLAGS'
39297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39301 cat >conftest.$ac_ext <<_ACEOF
39304 cat confdefs.h >>conftest.$ac_ext
39305 cat >>conftest.$ac_ext <<_ACEOF
39306 /* end confdefs.h. */
39308 #include <sys/statvfs.h>
39325 rm -f conftest.$ac_objext
39326 if { (ac_try="$ac_compile"
39327 case "(($ac_try" in
39328 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39329 *) ac_try_echo
=$ac_try;;
39331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39332 (eval "$ac_compile") 2>conftest.er1
39334 grep -v '^ *+' conftest.er1
>conftest.err
39336 cat conftest.err
>&5
39337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39338 (exit $ac_status); } && {
39339 test -z "$ac_cxx_werror_flag" ||
39340 test ! -s conftest.err
39341 } && test -s conftest.
$ac_objext; then
39342 wx_cv_type_statvfs_t
=statvfs_t
39344 echo "$as_me: failed program was:" >&5
39345 sed 's/^/| /' conftest.
$ac_ext >&5
39348 cat >conftest.
$ac_ext <<_ACEOF
39351 cat confdefs.h
>>conftest.
$ac_ext
39352 cat >>conftest.
$ac_ext <<_ACEOF
39353 /* end confdefs.h. */
39355 #include <sys/statvfs.h>
39372 rm -f conftest.
$ac_objext
39373 if { (ac_try
="$ac_compile"
39374 case "(($ac_try" in
39375 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39376 *) ac_try_echo=$ac_try;;
39378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39379 (eval "$ac_compile") 2>conftest.er1
39381 grep -v '^ *+' conftest.er1 >conftest.err
39383 cat conftest.err >&5
39384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39385 (exit $ac_status); } && {
39386 test -z "$ac_cxx_werror_flag" ||
39387 test ! -s conftest.err
39388 } && test -s conftest.$ac_objext; then
39389 wx_cv_type_statvfs_t="struct statvfs"
39391 echo "$as_me: failed program was:" >&5
39392 sed 's/^/| /' conftest.$ac_ext >&5
39394 wx_cv_type_statvfs_t="unknown"
39398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39405 ac_cpp='$CPP $CPPFLAGS'
39406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39412 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39413 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39415 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39416 cat >>confdefs.h <<\_ACEOF
39417 #define HAVE_STATVFS 1
39422 wx_cv_type_statvfs_t="unknown"
39426 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39427 cat >>confdefs.h <<_ACEOF
39428 #define WX_STATFS_T $wx_cv_type_statvfs_t
39432 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39433 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39436 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39439 for ac_func in fcntl flock
39441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39442 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39444 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39445 echo $ECHO_N "(cached) $ECHO_C" >&6
39447 cat >conftest.$ac_ext <<_ACEOF
39450 cat confdefs.h >>conftest.$ac_ext
39451 cat >>conftest.$ac_ext <<_ACEOF
39452 /* end confdefs.h. */
39453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39455 #define $ac_func innocuous_$ac_func
39457 /* System header to define __stub macros and hopefully few prototypes,
39458 which can conflict with char $ac_func (); below.
39459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39460 <limits.h> exists even on freestanding compilers. */
39463 # include <limits.h>
39465 # include <assert.h>
39470 /* Override any GCC internal prototype to avoid an error.
39471 Use char because int might match the return type of a GCC
39472 builtin and then its argument prototype would still apply. */
39477 /* The GNU C library defines this for functions which it implements
39478 to always fail with ENOSYS. Some functions are actually named
39479 something starting with __ and the normal name is an alias. */
39480 #if defined __stub_$ac_func || defined __stub___$ac_func
39487 return $ac_func ();
39492 rm -f conftest.$ac_objext conftest$ac_exeext
39493 if { (ac_try="$ac_link"
39494 case "(($ac_try" in
39495 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39496 *) ac_try_echo
=$ac_try;;
39498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39499 (eval "$ac_link") 2>conftest.er1
39501 grep -v '^ *+' conftest.er1
>conftest.err
39503 cat conftest.err
>&5
39504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39505 (exit $ac_status); } && {
39506 test -z "$ac_c_werror_flag" ||
39507 test ! -s conftest.err
39508 } && test -s conftest
$ac_exeext &&
39509 $as_test_x conftest
$ac_exeext; then
39510 eval "$as_ac_var=yes"
39512 echo "$as_me: failed program was:" >&5
39513 sed 's/^/| /' conftest.
$ac_ext >&5
39515 eval "$as_ac_var=no"
39518 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39519 conftest
$ac_exeext conftest.
$ac_ext
39521 ac_res
=`eval echo '${'$as_ac_var'}'`
39522 { echo "$as_me:$LINENO: result: $ac_res" >&5
39523 echo "${ECHO_T}$ac_res" >&6; }
39524 if test `eval echo '${'$as_ac_var'}'` = yes; then
39525 cat >>confdefs.h
<<_ACEOF
39526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39533 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39534 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39535 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39536 wxUSE_SNGLINST_CHECKER
=no
39542 for ac_func
in setenv putenv
39544 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39545 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39547 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39548 echo $ECHO_N "(cached) $ECHO_C" >&6
39550 cat >conftest.
$ac_ext <<_ACEOF
39553 cat confdefs.h
>>conftest.
$ac_ext
39554 cat >>conftest.
$ac_ext <<_ACEOF
39555 /* end confdefs.h. */
39556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39558 #define $ac_func innocuous_$ac_func
39560 /* System header to define __stub macros and hopefully few prototypes,
39561 which can conflict with char $ac_func (); below.
39562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39563 <limits.h> exists even on freestanding compilers. */
39566 # include <limits.h>
39568 # include <assert.h>
39573 /* Override any GCC internal prototype to avoid an error.
39574 Use char because int might match the return type of a GCC
39575 builtin and then its argument prototype would still apply. */
39580 /* The GNU C library defines this for functions which it implements
39581 to always fail with ENOSYS. Some functions are actually named
39582 something starting with __ and the normal name is an alias. */
39583 #if defined __stub_$ac_func || defined __stub___$ac_func
39590 return $ac_func ();
39595 rm -f conftest.
$ac_objext conftest
$ac_exeext
39596 if { (ac_try
="$ac_link"
39597 case "(($ac_try" in
39598 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39599 *) ac_try_echo=$ac_try;;
39601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39602 (eval "$ac_link") 2>conftest.er1
39604 grep -v '^ *+' conftest.er1 >conftest.err
39606 cat conftest.err >&5
39607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39608 (exit $ac_status); } && {
39609 test -z "$ac_c_werror_flag" ||
39610 test ! -s conftest.err
39611 } && test -s conftest$ac_exeext &&
39612 $as_test_x conftest$ac_exeext; then
39613 eval "$as_ac_var=yes"
39615 echo "$as_me: failed program was:" >&5
39616 sed 's/^/| /' conftest.$ac_ext >&5
39618 eval "$as_ac_var=no"
39621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39622 conftest$ac_exeext conftest.$ac_ext
39624 ac_res=`eval echo '${'$as_ac_var'}'`
39625 { echo "$as_me:$LINENO: result: $ac_res" >&5
39626 echo "${ECHO_T}$ac_res" >&6; }
39627 if test `eval echo '${'$as_ac_var'}'` = yes; then
39628 cat >>confdefs.h <<_ACEOF
39629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39635 if test "$ac_cv_func_setenv" = "yes"; then
39637 for ac_func in unsetenv
39639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39640 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39642 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39643 echo $ECHO_N "(cached) $ECHO_C" >&6
39645 cat >conftest.$ac_ext <<_ACEOF
39648 cat confdefs.h >>conftest.$ac_ext
39649 cat >>conftest.$ac_ext <<_ACEOF
39650 /* end confdefs.h. */
39651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39653 #define $ac_func innocuous_$ac_func
39655 /* System header to define __stub macros and hopefully few prototypes,
39656 which can conflict with char $ac_func (); below.
39657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39658 <limits.h> exists even on freestanding compilers. */
39661 # include <limits.h>
39663 # include <assert.h>
39668 /* Override any GCC internal prototype to avoid an error.
39669 Use char because int might match the return type of a GCC
39670 builtin and then its argument prototype would still apply. */
39675 /* The GNU C library defines this for functions which it implements
39676 to always fail with ENOSYS. Some functions are actually named
39677 something starting with __ and the normal name is an alias. */
39678 #if defined __stub_$ac_func || defined __stub___$ac_func
39685 return $ac_func ();
39690 rm -f conftest.$ac_objext conftest$ac_exeext
39691 if { (ac_try="$ac_link"
39692 case "(($ac_try" in
39693 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39694 *) ac_try_echo
=$ac_try;;
39696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39697 (eval "$ac_link") 2>conftest.er1
39699 grep -v '^ *+' conftest.er1
>conftest.err
39701 cat conftest.err
>&5
39702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39703 (exit $ac_status); } && {
39704 test -z "$ac_c_werror_flag" ||
39705 test ! -s conftest.err
39706 } && test -s conftest
$ac_exeext &&
39707 $as_test_x conftest
$ac_exeext; then
39708 eval "$as_ac_var=yes"
39710 echo "$as_me: failed program was:" >&5
39711 sed 's/^/| /' conftest.
$ac_ext >&5
39713 eval "$as_ac_var=no"
39716 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39717 conftest
$ac_exeext conftest.
$ac_ext
39719 ac_res
=`eval echo '${'$as_ac_var'}'`
39720 { echo "$as_me:$LINENO: result: $ac_res" >&5
39721 echo "${ECHO_T}$ac_res" >&6; }
39722 if test `eval echo '${'$as_ac_var'}'` = yes; then
39723 cat >>confdefs.h
<<_ACEOF
39724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39732 HAVE_SOME_SLEEP_FUNC
=0
39733 if test "$USE_BEOS" = 1; then
39734 cat >>confdefs.h
<<\_ACEOF
39735 #define HAVE_SLEEP 1
39738 HAVE_SOME_SLEEP_FUNC
=1
39741 if test "$USE_DARWIN" = 1; then
39742 cat >>confdefs.h
<<\_ACEOF
39743 #define HAVE_USLEEP 1
39746 HAVE_SOME_SLEEP_FUNC
=1
39749 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39752 for ac_func
in nanosleep
39754 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39755 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39757 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39758 echo $ECHO_N "(cached) $ECHO_C" >&6
39760 cat >conftest.
$ac_ext <<_ACEOF
39763 cat confdefs.h
>>conftest.
$ac_ext
39764 cat >>conftest.
$ac_ext <<_ACEOF
39765 /* end confdefs.h. */
39766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39768 #define $ac_func innocuous_$ac_func
39770 /* System header to define __stub macros and hopefully few prototypes,
39771 which can conflict with char $ac_func (); below.
39772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39773 <limits.h> exists even on freestanding compilers. */
39776 # include <limits.h>
39778 # include <assert.h>
39783 /* Override any GCC internal prototype to avoid an error.
39784 Use char because int might match the return type of a GCC
39785 builtin and then its argument prototype would still apply. */
39790 /* The GNU C library defines this for functions which it implements
39791 to always fail with ENOSYS. Some functions are actually named
39792 something starting with __ and the normal name is an alias. */
39793 #if defined __stub_$ac_func || defined __stub___$ac_func
39800 return $ac_func ();
39805 rm -f conftest.
$ac_objext conftest
$ac_exeext
39806 if { (ac_try
="$ac_link"
39807 case "(($ac_try" in
39808 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39809 *) ac_try_echo=$ac_try;;
39811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39812 (eval "$ac_link") 2>conftest.er1
39814 grep -v '^ *+' conftest.er1 >conftest.err
39816 cat conftest.err >&5
39817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39818 (exit $ac_status); } && {
39819 test -z "$ac_c_werror_flag" ||
39820 test ! -s conftest.err
39821 } && test -s conftest$ac_exeext &&
39822 $as_test_x conftest$ac_exeext; then
39823 eval "$as_ac_var=yes"
39825 echo "$as_me: failed program was:" >&5
39826 sed 's/^/| /' conftest.$ac_ext >&5
39828 eval "$as_ac_var=no"
39831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39832 conftest$ac_exeext conftest.$ac_ext
39834 ac_res=`eval echo '${'$as_ac_var'}'`
39835 { echo "$as_me:$LINENO: result: $ac_res" >&5
39836 echo "${ECHO_T}$ac_res" >&6; }
39837 if test `eval echo '${'$as_ac_var'}'` = yes; then
39838 cat >>confdefs.h <<_ACEOF
39839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39841 cat >>confdefs.h <<\_ACEOF
39842 #define HAVE_NANOSLEEP 1
39847 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39848 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39849 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39850 echo $ECHO_N "(cached) $ECHO_C" >&6
39852 ac_check_lib_save_LIBS=$LIBS
39853 LIBS="-lposix4 $LIBS"
39854 cat >conftest.$ac_ext <<_ACEOF
39857 cat confdefs.h >>conftest.$ac_ext
39858 cat >>conftest.$ac_ext <<_ACEOF
39859 /* end confdefs.h. */
39861 /* Override any GCC internal prototype to avoid an error.
39862 Use char because int might match the return type of a GCC
39863 builtin and then its argument prototype would still apply. */
39871 return nanosleep ();
39876 rm -f conftest.$ac_objext conftest$ac_exeext
39877 if { (ac_try="$ac_link"
39878 case "(($ac_try" in
39879 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39880 *) ac_try_echo
=$ac_try;;
39882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39883 (eval "$ac_link") 2>conftest.er1
39885 grep -v '^ *+' conftest.er1
>conftest.err
39887 cat conftest.err
>&5
39888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39889 (exit $ac_status); } && {
39890 test -z "$ac_c_werror_flag" ||
39891 test ! -s conftest.err
39892 } && test -s conftest
$ac_exeext &&
39893 $as_test_x conftest
$ac_exeext; then
39894 ac_cv_lib_posix4_nanosleep
=yes
39896 echo "$as_me: failed program was:" >&5
39897 sed 's/^/| /' conftest.
$ac_ext >&5
39899 ac_cv_lib_posix4_nanosleep
=no
39902 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39903 conftest
$ac_exeext conftest.
$ac_ext
39904 LIBS
=$ac_check_lib_save_LIBS
39906 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39907 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39908 if test $ac_cv_lib_posix4_nanosleep = yes; then
39910 cat >>confdefs.h
<<\_ACEOF
39911 #define HAVE_NANOSLEEP 1
39914 POSIX4_LINK
=" -lposix4"
39919 for wx_func
in usleep
39921 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39922 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39923 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39924 echo $ECHO_N "(cached) $ECHO_C" >&6
39927 cat >conftest.
$ac_ext <<_ACEOF
39931 cat confdefs.h
>>conftest.
$ac_ext
39932 cat >>conftest.
$ac_ext <<_ACEOF
39933 /* end confdefs.h. */
39936 $ac_includes_default
39952 rm -f conftest.
$ac_objext conftest
$ac_exeext
39953 if { (ac_try
="$ac_link"
39954 case "(($ac_try" in
39955 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39956 *) ac_try_echo=$ac_try;;
39958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39959 (eval "$ac_link") 2>conftest.er1
39961 grep -v '^ *+' conftest.er1 >conftest.err
39963 cat conftest.err >&5
39964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39965 (exit $ac_status); } && {
39966 test -z "$ac_c_werror_flag" ||
39967 test ! -s conftest.err
39968 } && test -s conftest$ac_exeext &&
39969 $as_test_x conftest$ac_exeext; then
39970 eval wx_cv_func_$wx_func=yes
39972 echo "$as_me: failed program was:" >&5
39973 sed 's/^/| /' conftest.$ac_ext >&5
39975 eval wx_cv_func_$wx_func=no
39978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39979 conftest$ac_exeext conftest.$ac_ext
39982 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39983 { echo "$as_me:$LINENO: result: $ac_res" >&5
39984 echo "${ECHO_T}$ac_res" >&6; }
39986 if eval test \$wx_cv_func_$wx_func = yes
39988 cat >>confdefs.h <<_ACEOF
39989 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39995 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39996 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40013 for wx_func in uname
40015 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40016 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40017 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40018 echo $ECHO_N "(cached) $ECHO_C" >&6
40021 cat >conftest.$ac_ext <<_ACEOF
40025 cat confdefs.h >>conftest.$ac_ext
40026 cat >>conftest.$ac_ext <<_ACEOF
40027 /* end confdefs.h. */
40029 #include <sys/utsname.h>
40030 $ac_includes_default
40046 rm -f conftest.$ac_objext conftest$ac_exeext
40047 if { (ac_try="$ac_link"
40048 case "(($ac_try" in
40049 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40050 *) ac_try_echo
=$ac_try;;
40052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40053 (eval "$ac_link") 2>conftest.er1
40055 grep -v '^ *+' conftest.er1
>conftest.err
40057 cat conftest.err
>&5
40058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40059 (exit $ac_status); } && {
40060 test -z "$ac_c_werror_flag" ||
40061 test ! -s conftest.err
40062 } && test -s conftest
$ac_exeext &&
40063 $as_test_x conftest
$ac_exeext; then
40064 eval wx_cv_func_
$wx_func=yes
40066 echo "$as_me: failed program was:" >&5
40067 sed 's/^/| /' conftest.
$ac_ext >&5
40069 eval wx_cv_func_
$wx_func=no
40072 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40073 conftest
$ac_exeext conftest.
$ac_ext
40076 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40077 { echo "$as_me:$LINENO: result: $ac_res" >&5
40078 echo "${ECHO_T}$ac_res" >&6; }
40080 if eval test \
$wx_cv_func_$wx_func = yes
40082 cat >>confdefs.h
<<_ACEOF
40083 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40093 if test "$wx_cv_func_uname" != yes; then
40095 for wx_func
in gethostname
40097 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40098 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40099 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40100 echo $ECHO_N "(cached) $ECHO_C" >&6
40103 cat >conftest.
$ac_ext <<_ACEOF
40107 cat confdefs.h
>>conftest.
$ac_ext
40108 cat >>conftest.
$ac_ext <<_ACEOF
40109 /* end confdefs.h. */
40112 $ac_includes_default
40128 rm -f conftest.
$ac_objext conftest
$ac_exeext
40129 if { (ac_try
="$ac_link"
40130 case "(($ac_try" in
40131 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40132 *) ac_try_echo=$ac_try;;
40134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40135 (eval "$ac_link") 2>conftest.er1
40137 grep -v '^ *+' conftest.er1 >conftest.err
40139 cat conftest.err >&5
40140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40141 (exit $ac_status); } && {
40142 test -z "$ac_c_werror_flag" ||
40143 test ! -s conftest.err
40144 } && test -s conftest$ac_exeext &&
40145 $as_test_x conftest$ac_exeext; then
40146 eval wx_cv_func_$wx_func=yes
40148 echo "$as_me: failed program was:" >&5
40149 sed 's/^/| /' conftest.$ac_ext >&5
40151 eval wx_cv_func_$wx_func=no
40154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40155 conftest$ac_exeext conftest.$ac_ext
40158 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40159 { echo "$as_me:$LINENO: result: $ac_res" >&5
40160 echo "${ECHO_T}$ac_res" >&6; }
40162 if eval test \$wx_cv_func_$wx_func = yes
40164 cat >>confdefs.h <<_ACEOF
40165 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40178 for wx_func in strtok_r
40180 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40181 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40182 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40183 echo $ECHO_N "(cached) $ECHO_C" >&6
40186 cat >conftest.$ac_ext <<_ACEOF
40190 cat confdefs.h >>conftest.$ac_ext
40191 cat >>conftest.$ac_ext <<_ACEOF
40192 /* end confdefs.h. */
40195 $ac_includes_default
40211 rm -f conftest.$ac_objext conftest$ac_exeext
40212 if { (ac_try="$ac_link"
40213 case "(($ac_try" in
40214 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40215 *) ac_try_echo
=$ac_try;;
40217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40218 (eval "$ac_link") 2>conftest.er1
40220 grep -v '^ *+' conftest.er1
>conftest.err
40222 cat conftest.err
>&5
40223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40224 (exit $ac_status); } && {
40225 test -z "$ac_c_werror_flag" ||
40226 test ! -s conftest.err
40227 } && test -s conftest
$ac_exeext &&
40228 $as_test_x conftest
$ac_exeext; then
40229 eval wx_cv_func_
$wx_func=yes
40231 echo "$as_me: failed program was:" >&5
40232 sed 's/^/| /' conftest.
$ac_ext >&5
40234 eval wx_cv_func_
$wx_func=no
40237 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40238 conftest
$ac_exeext conftest.
$ac_ext
40241 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40242 { echo "$as_me:$LINENO: result: $ac_res" >&5
40243 echo "${ECHO_T}$ac_res" >&6; }
40245 if eval test \
$wx_cv_func_$wx_func = yes
40247 cat >>confdefs.h
<<_ACEOF
40248 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40261 for ac_func
in inet_addr
40263 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40264 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40266 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40267 echo $ECHO_N "(cached) $ECHO_C" >&6
40269 cat >conftest.
$ac_ext <<_ACEOF
40272 cat confdefs.h
>>conftest.
$ac_ext
40273 cat >>conftest.
$ac_ext <<_ACEOF
40274 /* end confdefs.h. */
40275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40277 #define $ac_func innocuous_$ac_func
40279 /* System header to define __stub macros and hopefully few prototypes,
40280 which can conflict with char $ac_func (); below.
40281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40282 <limits.h> exists even on freestanding compilers. */
40285 # include <limits.h>
40287 # include <assert.h>
40292 /* Override any GCC internal prototype to avoid an error.
40293 Use char because int might match the return type of a GCC
40294 builtin and then its argument prototype would still apply. */
40299 /* The GNU C library defines this for functions which it implements
40300 to always fail with ENOSYS. Some functions are actually named
40301 something starting with __ and the normal name is an alias. */
40302 #if defined __stub_$ac_func || defined __stub___$ac_func
40309 return $ac_func ();
40314 rm -f conftest.
$ac_objext conftest
$ac_exeext
40315 if { (ac_try
="$ac_link"
40316 case "(($ac_try" in
40317 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40318 *) ac_try_echo=$ac_try;;
40320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40321 (eval "$ac_link") 2>conftest.er1
40323 grep -v '^ *+' conftest.er1 >conftest.err
40325 cat conftest.err >&5
40326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40327 (exit $ac_status); } && {
40328 test -z "$ac_c_werror_flag" ||
40329 test ! -s conftest.err
40330 } && test -s conftest$ac_exeext &&
40331 $as_test_x conftest$ac_exeext; then
40332 eval "$as_ac_var=yes"
40334 echo "$as_me: failed program was:" >&5
40335 sed 's/^/| /' conftest.$ac_ext >&5
40337 eval "$as_ac_var=no"
40340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40341 conftest$ac_exeext conftest.$ac_ext
40343 ac_res=`eval echo '${'$as_ac_var'}'`
40344 { echo "$as_me:$LINENO: result: $ac_res" >&5
40345 echo "${ECHO_T}$ac_res" >&6; }
40346 if test `eval echo '${'$as_ac_var'}'` = yes; then
40347 cat >>confdefs.h <<_ACEOF
40348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40350 cat >>confdefs.h <<\_ACEOF
40351 #define HAVE_INET_ADDR 1
40356 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40357 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40358 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40359 echo $ECHO_N "(cached) $ECHO_C" >&6
40361 ac_check_lib_save_LIBS=$LIBS
40363 cat >conftest.$ac_ext <<_ACEOF
40366 cat confdefs.h >>conftest.$ac_ext
40367 cat >>conftest.$ac_ext <<_ACEOF
40368 /* end confdefs.h. */
40370 /* Override any GCC internal prototype to avoid an error.
40371 Use char because int might match the return type of a GCC
40372 builtin and then its argument prototype would still apply. */
40380 return inet_addr ();
40385 rm -f conftest.$ac_objext conftest$ac_exeext
40386 if { (ac_try="$ac_link"
40387 case "(($ac_try" in
40388 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40389 *) ac_try_echo
=$ac_try;;
40391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40392 (eval "$ac_link") 2>conftest.er1
40394 grep -v '^ *+' conftest.er1
>conftest.err
40396 cat conftest.err
>&5
40397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40398 (exit $ac_status); } && {
40399 test -z "$ac_c_werror_flag" ||
40400 test ! -s conftest.err
40401 } && test -s conftest
$ac_exeext &&
40402 $as_test_x conftest
$ac_exeext; then
40403 ac_cv_lib_nsl_inet_addr
=yes
40405 echo "$as_me: failed program was:" >&5
40406 sed 's/^/| /' conftest.
$ac_ext >&5
40408 ac_cv_lib_nsl_inet_addr
=no
40411 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40412 conftest
$ac_exeext conftest.
$ac_ext
40413 LIBS
=$ac_check_lib_save_LIBS
40415 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40416 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40417 if test $ac_cv_lib_nsl_inet_addr = yes; then
40421 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40422 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40423 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40424 echo $ECHO_N "(cached) $ECHO_C" >&6
40426 ac_check_lib_save_LIBS
=$LIBS
40427 LIBS
="-lresolv $LIBS"
40428 cat >conftest.
$ac_ext <<_ACEOF
40431 cat confdefs.h
>>conftest.
$ac_ext
40432 cat >>conftest.
$ac_ext <<_ACEOF
40433 /* end confdefs.h. */
40435 /* Override any GCC internal prototype to avoid an error.
40436 Use char because int might match the return type of a GCC
40437 builtin and then its argument prototype would still apply. */
40445 return inet_addr ();
40450 rm -f conftest.
$ac_objext conftest
$ac_exeext
40451 if { (ac_try
="$ac_link"
40452 case "(($ac_try" in
40453 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40454 *) ac_try_echo=$ac_try;;
40456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40457 (eval "$ac_link") 2>conftest.er1
40459 grep -v '^ *+' conftest.er1 >conftest.err
40461 cat conftest.err >&5
40462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40463 (exit $ac_status); } && {
40464 test -z "$ac_c_werror_flag" ||
40465 test ! -s conftest.err
40466 } && test -s conftest$ac_exeext &&
40467 $as_test_x conftest$ac_exeext; then
40468 ac_cv_lib_resolv_inet_addr=yes
40470 echo "$as_me: failed program was:" >&5
40471 sed 's/^/| /' conftest.$ac_ext >&5
40473 ac_cv_lib_resolv_inet_addr=no
40476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40477 conftest$ac_exeext conftest.$ac_ext
40478 LIBS=$ac_check_lib_save_LIBS
40480 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40481 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40482 if test $ac_cv_lib_resolv_inet_addr = yes; then
40486 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40487 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40488 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40489 echo $ECHO_N "(cached) $ECHO_C" >&6
40491 ac_check_lib_save_LIBS=$LIBS
40492 LIBS="-lsocket $LIBS"
40493 cat >conftest.$ac_ext <<_ACEOF
40496 cat confdefs.h >>conftest.$ac_ext
40497 cat >>conftest.$ac_ext <<_ACEOF
40498 /* end confdefs.h. */
40500 /* Override any GCC internal prototype to avoid an error.
40501 Use char because int might match the return type of a GCC
40502 builtin and then its argument prototype would still apply. */
40510 return inet_addr ();
40515 rm -f conftest.$ac_objext conftest$ac_exeext
40516 if { (ac_try="$ac_link"
40517 case "(($ac_try" in
40518 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40519 *) ac_try_echo
=$ac_try;;
40521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40522 (eval "$ac_link") 2>conftest.er1
40524 grep -v '^ *+' conftest.er1
>conftest.err
40526 cat conftest.err
>&5
40527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40528 (exit $ac_status); } && {
40529 test -z "$ac_c_werror_flag" ||
40530 test ! -s conftest.err
40531 } && test -s conftest
$ac_exeext &&
40532 $as_test_x conftest
$ac_exeext; then
40533 ac_cv_lib_socket_inet_addr
=yes
40535 echo "$as_me: failed program was:" >&5
40536 sed 's/^/| /' conftest.
$ac_ext >&5
40538 ac_cv_lib_socket_inet_addr
=no
40541 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40542 conftest
$ac_exeext conftest.
$ac_ext
40543 LIBS
=$ac_check_lib_save_LIBS
40545 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40546 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40547 if test $ac_cv_lib_socket_inet_addr = yes; then
40567 for ac_func
in inet_aton
40569 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40570 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40572 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40573 echo $ECHO_N "(cached) $ECHO_C" >&6
40575 cat >conftest.
$ac_ext <<_ACEOF
40578 cat confdefs.h
>>conftest.
$ac_ext
40579 cat >>conftest.
$ac_ext <<_ACEOF
40580 /* end confdefs.h. */
40581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40583 #define $ac_func innocuous_$ac_func
40585 /* System header to define __stub macros and hopefully few prototypes,
40586 which can conflict with char $ac_func (); below.
40587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40588 <limits.h> exists even on freestanding compilers. */
40591 # include <limits.h>
40593 # include <assert.h>
40598 /* Override any GCC internal prototype to avoid an error.
40599 Use char because int might match the return type of a GCC
40600 builtin and then its argument prototype would still apply. */
40605 /* The GNU C library defines this for functions which it implements
40606 to always fail with ENOSYS. Some functions are actually named
40607 something starting with __ and the normal name is an alias. */
40608 #if defined __stub_$ac_func || defined __stub___$ac_func
40615 return $ac_func ();
40620 rm -f conftest.
$ac_objext conftest
$ac_exeext
40621 if { (ac_try
="$ac_link"
40622 case "(($ac_try" in
40623 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40624 *) ac_try_echo=$ac_try;;
40626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40627 (eval "$ac_link") 2>conftest.er1
40629 grep -v '^ *+' conftest.er1 >conftest.err
40631 cat conftest.err >&5
40632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40633 (exit $ac_status); } && {
40634 test -z "$ac_c_werror_flag" ||
40635 test ! -s conftest.err
40636 } && test -s conftest$ac_exeext &&
40637 $as_test_x conftest$ac_exeext; then
40638 eval "$as_ac_var=yes"
40640 echo "$as_me: failed program was:" >&5
40641 sed 's/^/| /' conftest.$ac_ext >&5
40643 eval "$as_ac_var=no"
40646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40647 conftest$ac_exeext conftest.$ac_ext
40649 ac_res=`eval echo '${'$as_ac_var'}'`
40650 { echo "$as_me:$LINENO: result: $ac_res" >&5
40651 echo "${ECHO_T}$ac_res" >&6; }
40652 if test `eval echo '${'$as_ac_var'}'` = yes; then
40653 cat >>confdefs.h <<_ACEOF
40654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40656 cat >>confdefs.h <<\_ACEOF
40657 #define HAVE_INET_ATON 1
40662 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40663 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40664 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40665 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40666 echo $ECHO_N "(cached) $ECHO_C" >&6
40668 ac_check_lib_save_LIBS=$LIBS
40669 LIBS="-l$INET_LINK $LIBS"
40670 cat >conftest.$ac_ext <<_ACEOF
40673 cat confdefs.h >>conftest.$ac_ext
40674 cat >>conftest.$ac_ext <<_ACEOF
40675 /* end confdefs.h. */
40677 /* Override any GCC internal prototype to avoid an error.
40678 Use char because int might match the return type of a GCC
40679 builtin and then its argument prototype would still apply. */
40687 return inet_aton ();
40692 rm -f conftest.$ac_objext conftest$ac_exeext
40693 if { (ac_try="$ac_link"
40694 case "(($ac_try" in
40695 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40696 *) ac_try_echo
=$ac_try;;
40698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40699 (eval "$ac_link") 2>conftest.er1
40701 grep -v '^ *+' conftest.er1
>conftest.err
40703 cat conftest.err
>&5
40704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40705 (exit $ac_status); } && {
40706 test -z "$ac_c_werror_flag" ||
40707 test ! -s conftest.err
40708 } && test -s conftest
$ac_exeext &&
40709 $as_test_x conftest
$ac_exeext; then
40710 eval "$as_ac_Lib=yes"
40712 echo "$as_me: failed program was:" >&5
40713 sed 's/^/| /' conftest.
$ac_ext >&5
40715 eval "$as_ac_Lib=no"
40718 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40719 conftest
$ac_exeext conftest.
$ac_ext
40720 LIBS
=$ac_check_lib_save_LIBS
40722 ac_res
=`eval echo '${'$as_ac_Lib'}'`
40723 { echo "$as_me:$LINENO: result: $ac_res" >&5
40724 echo "${ECHO_T}$ac_res" >&6; }
40725 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40726 cat >>confdefs.h
<<\_ACEOF
40727 #define HAVE_INET_ATON 1
40737 if test "x$INET_LINK" != "x"; then
40738 cat >>confdefs.h
<<\_ACEOF
40739 #define HAVE_INET_ADDR 1
40742 INET_LINK
=" -l$INET_LINK"
40746 for wx_func
in fdopen
40748 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40749 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40750 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40751 echo $ECHO_N "(cached) $ECHO_C" >&6
40754 cat >conftest.
$ac_ext <<_ACEOF
40758 cat confdefs.h
>>conftest.
$ac_ext
40759 cat >>conftest.
$ac_ext <<_ACEOF
40760 /* end confdefs.h. */
40763 $ac_includes_default
40779 rm -f conftest.
$ac_objext conftest
$ac_exeext
40780 if { (ac_try
="$ac_link"
40781 case "(($ac_try" in
40782 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40783 *) ac_try_echo=$ac_try;;
40785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40786 (eval "$ac_link") 2>conftest.er1
40788 grep -v '^ *+' conftest.er1 >conftest.err
40790 cat conftest.err >&5
40791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40792 (exit $ac_status); } && {
40793 test -z "$ac_c_werror_flag" ||
40794 test ! -s conftest.err
40795 } && test -s conftest$ac_exeext &&
40796 $as_test_x conftest$ac_exeext; then
40797 eval wx_cv_func_$wx_func=yes
40799 echo "$as_me: failed program was:" >&5
40800 sed 's/^/| /' conftest.$ac_ext >&5
40802 eval wx_cv_func_$wx_func=no
40805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40806 conftest$ac_exeext conftest.$ac_ext
40809 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40810 { echo "$as_me:$LINENO: result: $ac_res" >&5
40811 echo "${ECHO_T}$ac_res" >&6; }
40813 if eval test \$wx_cv_func_$wx_func = yes
40815 cat >>confdefs.h <<_ACEOF
40816 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40827 if test "$wxUSE_TARSTREAM" = "yes"; then
40829 for wx_func in sysconf
40831 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40832 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40833 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40834 echo $ECHO_N "(cached) $ECHO_C" >&6
40837 cat >conftest.$ac_ext <<_ACEOF
40841 cat confdefs.h >>conftest.$ac_ext
40842 cat >>conftest.$ac_ext <<_ACEOF
40843 /* end confdefs.h. */
40846 $ac_includes_default
40862 rm -f conftest.$ac_objext conftest$ac_exeext
40863 if { (ac_try="$ac_link"
40864 case "(($ac_try" in
40865 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40866 *) ac_try_echo
=$ac_try;;
40868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40869 (eval "$ac_link") 2>conftest.er1
40871 grep -v '^ *+' conftest.er1
>conftest.err
40873 cat conftest.err
>&5
40874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40875 (exit $ac_status); } && {
40876 test -z "$ac_c_werror_flag" ||
40877 test ! -s conftest.err
40878 } && test -s conftest
$ac_exeext &&
40879 $as_test_x conftest
$ac_exeext; then
40880 eval wx_cv_func_
$wx_func=yes
40882 echo "$as_me: failed program was:" >&5
40883 sed 's/^/| /' conftest.
$ac_ext >&5
40885 eval wx_cv_func_
$wx_func=no
40888 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40889 conftest
$ac_exeext conftest.
$ac_ext
40892 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40893 { echo "$as_me:$LINENO: result: $ac_res" >&5
40894 echo "${ECHO_T}$ac_res" >&6; }
40896 if eval test \
$wx_cv_func_$wx_func = yes
40898 cat >>confdefs.h
<<_ACEOF
40899 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40911 for wx_func
in getpwuid_r
40913 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40914 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40915 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40916 echo $ECHO_N "(cached) $ECHO_C" >&6
40919 cat >conftest.
$ac_ext <<_ACEOF
40923 cat confdefs.h
>>conftest.
$ac_ext
40924 cat >>conftest.
$ac_ext <<_ACEOF
40925 /* end confdefs.h. */
40931 $ac_includes_default
40941 struct passwd pw, *ppw;
40943 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40951 rm -f conftest.
$ac_objext conftest
$ac_exeext
40952 if { (ac_try
="$ac_link"
40953 case "(($ac_try" in
40954 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40955 *) ac_try_echo=$ac_try;;
40957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40958 (eval "$ac_link") 2>conftest.er1
40960 grep -v '^ *+' conftest.er1 >conftest.err
40962 cat conftest.err >&5
40963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40964 (exit $ac_status); } && {
40965 test -z "$ac_c_werror_flag" ||
40966 test ! -s conftest.err
40967 } && test -s conftest$ac_exeext &&
40968 $as_test_x conftest$ac_exeext; then
40969 eval wx_cv_func_$wx_func=yes
40971 echo "$as_me: failed program was:" >&5
40972 sed 's/^/| /' conftest.$ac_ext >&5
40974 eval wx_cv_func_$wx_func=no
40977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40978 conftest$ac_exeext conftest.$ac_ext
40981 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40982 { echo "$as_me:$LINENO: result: $ac_res" >&5
40983 echo "${ECHO_T}$ac_res" >&6; }
40985 if eval test \$wx_cv_func_$wx_func = yes
40987 cat >>confdefs.h <<_ACEOF
40988 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41000 for wx_func in getgrgid_r
41002 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41003 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41004 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41005 echo $ECHO_N "(cached) $ECHO_C" >&6
41008 cat >conftest.$ac_ext <<_ACEOF
41012 cat confdefs.h >>conftest.$ac_ext
41013 cat >>conftest.$ac_ext <<_ACEOF
41014 /* end confdefs.h. */
41020 $ac_includes_default
41030 struct group grp, *pgrp;
41032 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
41040 rm -f conftest.$ac_objext conftest$ac_exeext
41041 if { (ac_try="$ac_link"
41042 case "(($ac_try" in
41043 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41044 *) ac_try_echo
=$ac_try;;
41046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41047 (eval "$ac_link") 2>conftest.er1
41049 grep -v '^ *+' conftest.er1
>conftest.err
41051 cat conftest.err
>&5
41052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41053 (exit $ac_status); } && {
41054 test -z "$ac_c_werror_flag" ||
41055 test ! -s conftest.err
41056 } && test -s conftest
$ac_exeext &&
41057 $as_test_x conftest
$ac_exeext; then
41058 eval wx_cv_func_
$wx_func=yes
41060 echo "$as_me: failed program was:" >&5
41061 sed 's/^/| /' conftest.
$ac_ext >&5
41063 eval wx_cv_func_
$wx_func=no
41066 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41067 conftest
$ac_exeext conftest.
$ac_ext
41070 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
41071 { echo "$as_me:$LINENO: result: $ac_res" >&5
41072 echo "${ECHO_T}$ac_res" >&6; }
41074 if eval test \
$wx_cv_func_$wx_func = yes
41076 cat >>confdefs.h
<<_ACEOF
41077 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41093 cat >confcache
<<\_ACEOF
41094 # This file is a shell script that caches the results of configure
41095 # tests run on this system so they can be shared between configure
41096 # scripts and configure runs, see configure's option --config-cache.
41097 # It is not useful on other systems. If it contains results you don't
41098 # want to keep, you may remove or edit it.
41100 # config.status only pays attention to the cache file if you give it
41101 # the --recheck option to rerun configure.
41103 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41104 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41105 # following values.
41109 # The following way of writing the cache mishandles newlines in values,
41110 # but we know of no workaround that is simple, portable, and efficient.
41111 # So, we kill variables containing newlines.
41112 # Ultrix sh set writes to stderr and can't be redirected directly,
41113 # and sets the high bit in the cache file unless we assign to the vars.
41115 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41116 eval ac_val
=\$
$ac_var
41120 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41121 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41124 _
| IFS
| as_nl
) ;; #(
41125 *) $as_unset $ac_var ;;
41131 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41132 *${as_nl}ac_space
=\
*)
41133 # `set' does not quote correctly, so add quotes (double-quote
41134 # substitution turns \\\\ into \\, and sed turns \\ into \).
41137 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41140 # `set' quotes correctly as required by POSIX, so do not add quotes.
41141 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41150 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41152 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41154 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41155 if test -w "$cache_file"; then
41156 test "x$cache_file" != "x/dev/null" &&
41157 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41158 echo "$as_me: updating cache $cache_file" >&6;}
41159 cat confcache
>$cache_file
41161 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41162 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41168 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41174 if test "$wxUSE_THREADS" = "yes" ; then
41175 if test "$USE_BEOS" = 1; then
41176 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41177 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41182 if test "$wxUSE_THREADS" = "yes" ; then
41185 THREAD_OPTS
="-pthread"
41186 if test "x$SUNCXX" = xyes
; then
41187 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
41191 *-*-solaris2* | *-*-sunos4* )
41192 if test "x$GCC" = "xyes"; then
41193 THREAD_OPTS
="-pthreads $THREAD_OPTS"
41197 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
41199 *-*-darwin* | *-*-cygwin* )
41203 THREAD_OPTS
="pthreads"
41206 if test "x$GCC" = "xyes"; then
41207 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
41215 if test "x$GCC" = "xyes"; then
41221 if test "x$GCC" != "xyes"; then
41222 THREAD_OPTS
="-Ethread"
41227 THREAD_OPTS
="$THREAD_OPTS pthread none"
41230 for flag
in $THREAD_OPTS; do
41233 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41234 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41238 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41239 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41240 THREADS_CFLAGS
="$flag"
41244 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41245 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41246 THREADS_LINK
="-l$flag"
41251 save_CFLAGS
="$CFLAGS"
41252 LIBS
="$THREADS_LINK $LIBS"
41253 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
41255 cat >conftest.
$ac_ext <<_ACEOF
41258 cat confdefs.h
>>conftest.
$ac_ext
41259 cat >>conftest.
$ac_ext <<_ACEOF
41260 /* end confdefs.h. */
41261 #include <pthread.h>
41265 pthread_create(0,0,0,0);
41270 rm -f conftest.
$ac_objext conftest
$ac_exeext
41271 if { (ac_try
="$ac_link"
41272 case "(($ac_try" in
41273 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41274 *) ac_try_echo=$ac_try;;
41276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41277 (eval "$ac_link") 2>conftest.er1
41279 grep -v '^ *+' conftest.er1 >conftest.err
41281 cat conftest.err >&5
41282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41283 (exit $ac_status); } && {
41284 test -z "$ac_c_werror_flag" ||
41285 test ! -s conftest.err
41286 } && test -s conftest$ac_exeext &&
41287 $as_test_x conftest$ac_exeext; then
41290 echo "$as_me: failed program was:" >&5
41291 sed 's/^/| /' conftest.$ac_ext >&5
41296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41297 conftest$ac_exeext conftest.$ac_ext
41300 CFLAGS="$save_CFLAGS"
41302 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41303 echo "${ECHO_T}$THREADS_OK" >&6; }
41304 if test "x$THREADS_OK" = "xyes"; then
41312 if test "x$THREADS_OK" != "xyes"; then
41314 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41315 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41317 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41318 LIBS="$THREADS_LINK $LIBS"
41320 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41321 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41325 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41326 flag="-D_THREAD_SAFE"
41329 flag="-D_THREAD_SAFE"
41332 flag="-D_REENTRANT"
41333 if test "x$GCC" != "xyes"; then
41334 flag="$flag -D_RWSTD_MULTI_THREAD"
41337 *solaris* | alpha*-osf*)
41338 flag="-D_REENTRANT"
41341 { echo "$as_me:$LINENO: result: ${flag}" >&5
41342 echo "${ECHO_T}${flag}" >&6; }
41343 if test "x$flag" != xno; then
41344 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41347 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41351 if test "$wxUSE_THREADS" = "yes" ; then
41353 for ac_func in thr_setconcurrency
41355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41356 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41358 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41359 echo $ECHO_N "(cached) $ECHO_C" >&6
41361 cat >conftest.$ac_ext <<_ACEOF
41364 cat confdefs.h >>conftest.$ac_ext
41365 cat >>conftest.$ac_ext <<_ACEOF
41366 /* end confdefs.h. */
41367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41369 #define $ac_func innocuous_$ac_func
41371 /* System header to define __stub macros and hopefully few prototypes,
41372 which can conflict with char $ac_func (); below.
41373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41374 <limits.h> exists even on freestanding compilers. */
41377 # include <limits.h>
41379 # include <assert.h>
41384 /* Override any GCC internal prototype to avoid an error.
41385 Use char because int might match the return type of a GCC
41386 builtin and then its argument prototype would still apply. */
41391 /* The GNU C library defines this for functions which it implements
41392 to always fail with ENOSYS. Some functions are actually named
41393 something starting with __ and the normal name is an alias. */
41394 #if defined __stub_$ac_func || defined __stub___$ac_func
41401 return $ac_func ();
41406 rm -f conftest.$ac_objext conftest$ac_exeext
41407 if { (ac_try="$ac_link"
41408 case "(($ac_try" in
41409 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41410 *) ac_try_echo
=$ac_try;;
41412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41413 (eval "$ac_link") 2>conftest.er1
41415 grep -v '^ *+' conftest.er1
>conftest.err
41417 cat conftest.err
>&5
41418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41419 (exit $ac_status); } && {
41420 test -z "$ac_c_werror_flag" ||
41421 test ! -s conftest.err
41422 } && test -s conftest
$ac_exeext &&
41423 $as_test_x conftest
$ac_exeext; then
41424 eval "$as_ac_var=yes"
41426 echo "$as_me: failed program was:" >&5
41427 sed 's/^/| /' conftest.
$ac_ext >&5
41429 eval "$as_ac_var=no"
41432 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41433 conftest
$ac_exeext conftest.
$ac_ext
41435 ac_res
=`eval echo '${'$as_ac_var'}'`
41436 { echo "$as_me:$LINENO: result: $ac_res" >&5
41437 echo "${ECHO_T}$ac_res" >&6; }
41438 if test `eval echo '${'$as_ac_var'}'` = yes; then
41439 cat >>confdefs.h
<<_ACEOF
41440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41447 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41448 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41449 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41450 echo $ECHO_N "(cached) $ECHO_C" >&6
41454 ac_cpp
='$CXXCPP $CPPFLAGS'
41455 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41456 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41457 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41459 cat >conftest.
$ac_ext <<_ACEOF
41462 cat confdefs.h
>>conftest.
$ac_ext
41463 cat >>conftest.
$ac_ext <<_ACEOF
41464 /* end confdefs.h. */
41465 #include <pthread.h>
41466 void ThreadCleanupFunc(void *p);
41473 pthread_cleanup_push(ThreadCleanupFunc, p);
41474 pthread_cleanup_pop(0);
41480 rm -f conftest.
$ac_objext
41481 if { (ac_try
="$ac_compile"
41482 case "(($ac_try" in
41483 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41484 *) ac_try_echo=$ac_try;;
41486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41487 (eval "$ac_compile") 2>conftest.er1
41489 grep -v '^ *+' conftest.er1 >conftest.err
41491 cat conftest.err >&5
41492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41493 (exit $ac_status); } && {
41494 test -z "$ac_cxx_werror_flag" ||
41495 test ! -s conftest.err
41496 } && test -s conftest.$ac_objext; then
41498 wx_cv_func_pthread_cleanup=yes
41501 echo "$as_me: failed program was:" >&5
41502 sed 's/^/| /' conftest.$ac_ext >&5
41505 wx_cv_func_pthread_cleanup=no
41510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41512 ac_cpp='$CPP $CPPFLAGS'
41513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41519 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41520 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41521 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41522 cat >>confdefs.h <<\_ACEOF
41523 #define wxHAVE_PTHREAD_CLEANUP 1
41529 for ac_header in sched.h
41531 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41532 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41534 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41535 echo $ECHO_N "(cached) $ECHO_C" >&6
41537 cat >conftest.$ac_ext <<_ACEOF
41540 cat confdefs.h >>conftest.$ac_ext
41541 cat >>conftest.$ac_ext <<_ACEOF
41542 /* end confdefs.h. */
41543 $ac_includes_default
41545 #include <$ac_header>
41547 rm -f conftest.$ac_objext
41548 if { (ac_try="$ac_compile"
41549 case "(($ac_try" in
41550 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41551 *) ac_try_echo
=$ac_try;;
41553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41554 (eval "$ac_compile") 2>conftest.er1
41556 grep -v '^ *+' conftest.er1
>conftest.err
41558 cat conftest.err
>&5
41559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41560 (exit $ac_status); } && {
41561 test -z "$ac_c_werror_flag" ||
41562 test ! -s conftest.err
41563 } && test -s conftest.
$ac_objext; then
41564 eval "$as_ac_Header=yes"
41566 echo "$as_me: failed program was:" >&5
41567 sed 's/^/| /' conftest.
$ac_ext >&5
41569 eval "$as_ac_Header=no"
41572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41574 ac_res
=`eval echo '${'$as_ac_Header'}'`
41575 { echo "$as_me:$LINENO: result: $ac_res" >&5
41576 echo "${ECHO_T}$ac_res" >&6; }
41577 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41578 cat >>confdefs.h
<<_ACEOF
41579 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41586 if test "$ac_cv_header_sched_h" = "yes"; then
41587 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41588 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41589 if test "${ac_cv_func_sched_yield+set}" = set; then
41590 echo $ECHO_N "(cached) $ECHO_C" >&6
41592 cat >conftest.
$ac_ext <<_ACEOF
41595 cat confdefs.h
>>conftest.
$ac_ext
41596 cat >>conftest.
$ac_ext <<_ACEOF
41597 /* end confdefs.h. */
41598 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41600 #define sched_yield innocuous_sched_yield
41602 /* System header to define __stub macros and hopefully few prototypes,
41603 which can conflict with char sched_yield (); below.
41604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41605 <limits.h> exists even on freestanding compilers. */
41608 # include <limits.h>
41610 # include <assert.h>
41615 /* Override any GCC internal prototype to avoid an error.
41616 Use char because int might match the return type of a GCC
41617 builtin and then its argument prototype would still apply. */
41621 char sched_yield ();
41622 /* The GNU C library defines this for functions which it implements
41623 to always fail with ENOSYS. Some functions are actually named
41624 something starting with __ and the normal name is an alias. */
41625 #if defined __stub_sched_yield || defined __stub___sched_yield
41632 return sched_yield ();
41637 rm -f conftest.
$ac_objext conftest
$ac_exeext
41638 if { (ac_try
="$ac_link"
41639 case "(($ac_try" in
41640 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41641 *) ac_try_echo=$ac_try;;
41643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41644 (eval "$ac_link") 2>conftest.er1
41646 grep -v '^ *+' conftest.er1 >conftest.err
41648 cat conftest.err >&5
41649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41650 (exit $ac_status); } && {
41651 test -z "$ac_c_werror_flag" ||
41652 test ! -s conftest.err
41653 } && test -s conftest$ac_exeext &&
41654 $as_test_x conftest$ac_exeext; then
41655 ac_cv_func_sched_yield=yes
41657 echo "$as_me: failed program was:" >&5
41658 sed 's/^/| /' conftest.$ac_ext >&5
41660 ac_cv_func_sched_yield=no
41663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41664 conftest$ac_exeext conftest.$ac_ext
41666 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41667 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41668 if test $ac_cv_func_sched_yield = yes; then
41669 cat >>confdefs.h <<\_ACEOF
41670 #define HAVE_SCHED_YIELD 1
41675 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41676 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41677 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41678 echo $ECHO_N "(cached) $ECHO_C" >&6
41680 ac_check_lib_save_LIBS=$LIBS
41681 LIBS="-lposix4 $LIBS"
41682 cat >conftest.$ac_ext <<_ACEOF
41685 cat confdefs.h >>conftest.$ac_ext
41686 cat >>conftest.$ac_ext <<_ACEOF
41687 /* end confdefs.h. */
41689 /* Override any GCC internal prototype to avoid an error.
41690 Use char because int might match the return type of a GCC
41691 builtin and then its argument prototype would still apply. */
41695 char sched_yield ();
41699 return sched_yield ();
41704 rm -f conftest.$ac_objext conftest$ac_exeext
41705 if { (ac_try="$ac_link"
41706 case "(($ac_try" in
41707 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41708 *) ac_try_echo
=$ac_try;;
41710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41711 (eval "$ac_link") 2>conftest.er1
41713 grep -v '^ *+' conftest.er1
>conftest.err
41715 cat conftest.err
>&5
41716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41717 (exit $ac_status); } && {
41718 test -z "$ac_c_werror_flag" ||
41719 test ! -s conftest.err
41720 } && test -s conftest
$ac_exeext &&
41721 $as_test_x conftest
$ac_exeext; then
41722 ac_cv_lib_posix4_sched_yield
=yes
41724 echo "$as_me: failed program was:" >&5
41725 sed 's/^/| /' conftest.
$ac_ext >&5
41727 ac_cv_lib_posix4_sched_yield
=no
41730 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41731 conftest
$ac_exeext conftest.
$ac_ext
41732 LIBS
=$ac_check_lib_save_LIBS
41734 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41735 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41736 if test $ac_cv_lib_posix4_sched_yield = yes; then
41737 cat >>confdefs.h
<<\_ACEOF
41738 #define HAVE_SCHED_YIELD 1
41740 POSIX4_LINK
=" -lposix4"
41742 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41743 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41754 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41755 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41756 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41757 echo $ECHO_N "(cached) $ECHO_C" >&6
41759 cat >conftest.
$ac_ext <<_ACEOF
41762 cat confdefs.h
>>conftest.
$ac_ext
41763 cat >>conftest.
$ac_ext <<_ACEOF
41764 /* end confdefs.h. */
41765 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41767 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41769 /* System header to define __stub macros and hopefully few prototypes,
41770 which can conflict with char pthread_attr_getschedpolicy (); below.
41771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41772 <limits.h> exists even on freestanding compilers. */
41775 # include <limits.h>
41777 # include <assert.h>
41780 #undef pthread_attr_getschedpolicy
41782 /* Override any GCC internal prototype to avoid an error.
41783 Use char because int might match the return type of a GCC
41784 builtin and then its argument prototype would still apply. */
41788 char pthread_attr_getschedpolicy ();
41789 /* The GNU C library defines this for functions which it implements
41790 to always fail with ENOSYS. Some functions are actually named
41791 something starting with __ and the normal name is an alias. */
41792 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41799 return pthread_attr_getschedpolicy ();
41804 rm -f conftest.
$ac_objext conftest
$ac_exeext
41805 if { (ac_try
="$ac_link"
41806 case "(($ac_try" in
41807 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41808 *) ac_try_echo=$ac_try;;
41810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41811 (eval "$ac_link") 2>conftest.er1
41813 grep -v '^ *+' conftest.er1 >conftest.err
41815 cat conftest.err >&5
41816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41817 (exit $ac_status); } && {
41818 test -z "$ac_c_werror_flag" ||
41819 test ! -s conftest.err
41820 } && test -s conftest$ac_exeext &&
41821 $as_test_x conftest$ac_exeext; then
41822 ac_cv_func_pthread_attr_getschedpolicy=yes
41824 echo "$as_me: failed program was:" >&5
41825 sed 's/^/| /' conftest.$ac_ext >&5
41827 ac_cv_func_pthread_attr_getschedpolicy=no
41830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41831 conftest$ac_exeext conftest.$ac_ext
41833 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41834 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41835 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41836 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41837 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41838 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41839 echo $ECHO_N "(cached) $ECHO_C" >&6
41841 cat >conftest.$ac_ext <<_ACEOF
41844 cat confdefs.h >>conftest.$ac_ext
41845 cat >>conftest.$ac_ext <<_ACEOF
41846 /* end confdefs.h. */
41847 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41849 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41851 /* System header to define __stub macros and hopefully few prototypes,
41852 which can conflict with char pthread_attr_setschedparam (); below.
41853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41854 <limits.h> exists even on freestanding compilers. */
41857 # include <limits.h>
41859 # include <assert.h>
41862 #undef pthread_attr_setschedparam
41864 /* Override any GCC internal prototype to avoid an error.
41865 Use char because int might match the return type of a GCC
41866 builtin and then its argument prototype would still apply. */
41870 char pthread_attr_setschedparam ();
41871 /* The GNU C library defines this for functions which it implements
41872 to always fail with ENOSYS. Some functions are actually named
41873 something starting with __ and the normal name is an alias. */
41874 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41881 return pthread_attr_setschedparam ();
41886 rm -f conftest.$ac_objext conftest$ac_exeext
41887 if { (ac_try="$ac_link"
41888 case "(($ac_try" in
41889 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41890 *) ac_try_echo
=$ac_try;;
41892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41893 (eval "$ac_link") 2>conftest.er1
41895 grep -v '^ *+' conftest.er1
>conftest.err
41897 cat conftest.err
>&5
41898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41899 (exit $ac_status); } && {
41900 test -z "$ac_c_werror_flag" ||
41901 test ! -s conftest.err
41902 } && test -s conftest
$ac_exeext &&
41903 $as_test_x conftest
$ac_exeext; then
41904 ac_cv_func_pthread_attr_setschedparam
=yes
41906 echo "$as_me: failed program was:" >&5
41907 sed 's/^/| /' conftest.
$ac_ext >&5
41909 ac_cv_func_pthread_attr_setschedparam
=no
41912 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41913 conftest
$ac_exeext conftest.
$ac_ext
41915 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41916 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41917 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41918 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41919 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41920 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41921 echo $ECHO_N "(cached) $ECHO_C" >&6
41923 cat >conftest.
$ac_ext <<_ACEOF
41926 cat confdefs.h
>>conftest.
$ac_ext
41927 cat >>conftest.
$ac_ext <<_ACEOF
41928 /* end confdefs.h. */
41929 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41931 #define sched_get_priority_max innocuous_sched_get_priority_max
41933 /* System header to define __stub macros and hopefully few prototypes,
41934 which can conflict with char sched_get_priority_max (); below.
41935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41936 <limits.h> exists even on freestanding compilers. */
41939 # include <limits.h>
41941 # include <assert.h>
41944 #undef sched_get_priority_max
41946 /* Override any GCC internal prototype to avoid an error.
41947 Use char because int might match the return type of a GCC
41948 builtin and then its argument prototype would still apply. */
41952 char sched_get_priority_max ();
41953 /* The GNU C library defines this for functions which it implements
41954 to always fail with ENOSYS. Some functions are actually named
41955 something starting with __ and the normal name is an alias. */
41956 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41963 return sched_get_priority_max ();
41968 rm -f conftest.
$ac_objext conftest
$ac_exeext
41969 if { (ac_try
="$ac_link"
41970 case "(($ac_try" in
41971 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41972 *) ac_try_echo=$ac_try;;
41974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41975 (eval "$ac_link") 2>conftest.er1
41977 grep -v '^ *+' conftest.er1 >conftest.err
41979 cat conftest.err >&5
41980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41981 (exit $ac_status); } && {
41982 test -z "$ac_c_werror_flag" ||
41983 test ! -s conftest.err
41984 } && test -s conftest$ac_exeext &&
41985 $as_test_x conftest$ac_exeext; then
41986 ac_cv_func_sched_get_priority_max=yes
41988 echo "$as_me: failed program was:" >&5
41989 sed 's/^/| /' conftest.$ac_ext >&5
41991 ac_cv_func_sched_get_priority_max=no
41994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41995 conftest$ac_exeext conftest.$ac_ext
41997 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41998 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41999 if test $ac_cv_func_sched_get_priority_max = yes; then
42002 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42003 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42004 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42005 echo $ECHO_N "(cached) $ECHO_C" >&6
42007 ac_check_lib_save_LIBS=$LIBS
42008 LIBS="-lposix4 $LIBS"
42009 cat >conftest.$ac_ext <<_ACEOF
42012 cat confdefs.h >>conftest.$ac_ext
42013 cat >>conftest.$ac_ext <<_ACEOF
42014 /* end confdefs.h. */
42016 /* Override any GCC internal prototype to avoid an error.
42017 Use char because int might match the return type of a GCC
42018 builtin and then its argument prototype would still apply. */
42022 char sched_get_priority_max ();
42026 return sched_get_priority_max ();
42031 rm -f conftest.$ac_objext conftest$ac_exeext
42032 if { (ac_try="$ac_link"
42033 case "(($ac_try" in
42034 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42035 *) ac_try_echo
=$ac_try;;
42037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42038 (eval "$ac_link") 2>conftest.er1
42040 grep -v '^ *+' conftest.er1
>conftest.err
42042 cat conftest.err
>&5
42043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42044 (exit $ac_status); } && {
42045 test -z "$ac_c_werror_flag" ||
42046 test ! -s conftest.err
42047 } && test -s conftest
$ac_exeext &&
42048 $as_test_x conftest
$ac_exeext; then
42049 ac_cv_lib_posix4_sched_get_priority_max
=yes
42051 echo "$as_me: failed program was:" >&5
42052 sed 's/^/| /' conftest.
$ac_ext >&5
42054 ac_cv_lib_posix4_sched_get_priority_max
=no
42057 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42058 conftest
$ac_exeext conftest.
$ac_ext
42059 LIBS
=$ac_check_lib_save_LIBS
42061 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42062 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42063 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42066 POSIX4_LINK
=" -lposix4"
42080 if test "$HAVE_PRIOR_FUNCS" = 1; then
42081 cat >>confdefs.h
<<\_ACEOF
42082 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42086 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42087 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42090 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42091 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42092 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42093 echo $ECHO_N "(cached) $ECHO_C" >&6
42095 cat >conftest.
$ac_ext <<_ACEOF
42098 cat confdefs.h
>>conftest.
$ac_ext
42099 cat >>conftest.
$ac_ext <<_ACEOF
42100 /* end confdefs.h. */
42101 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42103 #define pthread_cancel innocuous_pthread_cancel
42105 /* System header to define __stub macros and hopefully few prototypes,
42106 which can conflict with char pthread_cancel (); below.
42107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42108 <limits.h> exists even on freestanding compilers. */
42111 # include <limits.h>
42113 # include <assert.h>
42116 #undef pthread_cancel
42118 /* Override any GCC internal prototype to avoid an error.
42119 Use char because int might match the return type of a GCC
42120 builtin and then its argument prototype would still apply. */
42124 char pthread_cancel ();
42125 /* The GNU C library defines this for functions which it implements
42126 to always fail with ENOSYS. Some functions are actually named
42127 something starting with __ and the normal name is an alias. */
42128 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42135 return pthread_cancel ();
42140 rm -f conftest.
$ac_objext conftest
$ac_exeext
42141 if { (ac_try
="$ac_link"
42142 case "(($ac_try" in
42143 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42144 *) ac_try_echo=$ac_try;;
42146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42147 (eval "$ac_link") 2>conftest.er1
42149 grep -v '^ *+' conftest.er1 >conftest.err
42151 cat conftest.err >&5
42152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42153 (exit $ac_status); } && {
42154 test -z "$ac_c_werror_flag" ||
42155 test ! -s conftest.err
42156 } && test -s conftest$ac_exeext &&
42157 $as_test_x conftest$ac_exeext; then
42158 ac_cv_func_pthread_cancel=yes
42160 echo "$as_me: failed program was:" >&5
42161 sed 's/^/| /' conftest.$ac_ext >&5
42163 ac_cv_func_pthread_cancel=no
42166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42167 conftest$ac_exeext conftest.$ac_ext
42169 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42170 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42171 if test $ac_cv_func_pthread_cancel = yes; then
42172 cat >>confdefs.h <<\_ACEOF
42173 #define HAVE_PTHREAD_CANCEL 1
42177 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42178 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42182 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42183 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42184 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42185 echo $ECHO_N "(cached) $ECHO_C" >&6
42187 cat >conftest.$ac_ext <<_ACEOF
42190 cat confdefs.h >>conftest.$ac_ext
42191 cat >>conftest.$ac_ext <<_ACEOF
42192 /* end confdefs.h. */
42193 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42195 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42197 /* System header to define __stub macros and hopefully few prototypes,
42198 which can conflict with char pthread_mutex_timedlock (); below.
42199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42200 <limits.h> exists even on freestanding compilers. */
42203 # include <limits.h>
42205 # include <assert.h>
42208 #undef pthread_mutex_timedlock
42210 /* Override any GCC internal prototype to avoid an error.
42211 Use char because int might match the return type of a GCC
42212 builtin and then its argument prototype would still apply. */
42216 char pthread_mutex_timedlock ();
42217 /* The GNU C library defines this for functions which it implements
42218 to always fail with ENOSYS. Some functions are actually named
42219 something starting with __ and the normal name is an alias. */
42220 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42227 return pthread_mutex_timedlock ();
42232 rm -f conftest.$ac_objext conftest$ac_exeext
42233 if { (ac_try="$ac_link"
42234 case "(($ac_try" in
42235 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42236 *) ac_try_echo
=$ac_try;;
42238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42239 (eval "$ac_link") 2>conftest.er1
42241 grep -v '^ *+' conftest.er1
>conftest.err
42243 cat conftest.err
>&5
42244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42245 (exit $ac_status); } && {
42246 test -z "$ac_c_werror_flag" ||
42247 test ! -s conftest.err
42248 } && test -s conftest
$ac_exeext &&
42249 $as_test_x conftest
$ac_exeext; then
42250 ac_cv_func_pthread_mutex_timedlock
=yes
42252 echo "$as_me: failed program was:" >&5
42253 sed 's/^/| /' conftest.
$ac_ext >&5
42255 ac_cv_func_pthread_mutex_timedlock
=no
42258 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42259 conftest
$ac_exeext conftest.
$ac_ext
42261 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42262 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42263 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42264 cat >>confdefs.h
<<\_ACEOF
42265 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42269 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42270 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42274 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42275 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42276 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42277 echo $ECHO_N "(cached) $ECHO_C" >&6
42279 cat >conftest.
$ac_ext <<_ACEOF
42282 cat confdefs.h
>>conftest.
$ac_ext
42283 cat >>conftest.
$ac_ext <<_ACEOF
42284 /* end confdefs.h. */
42285 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42287 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42289 /* System header to define __stub macros and hopefully few prototypes,
42290 which can conflict with char pthread_attr_setstacksize (); below.
42291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42292 <limits.h> exists even on freestanding compilers. */
42295 # include <limits.h>
42297 # include <assert.h>
42300 #undef pthread_attr_setstacksize
42302 /* Override any GCC internal prototype to avoid an error.
42303 Use char because int might match the return type of a GCC
42304 builtin and then its argument prototype would still apply. */
42308 char pthread_attr_setstacksize ();
42309 /* The GNU C library defines this for functions which it implements
42310 to always fail with ENOSYS. Some functions are actually named
42311 something starting with __ and the normal name is an alias. */
42312 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42319 return pthread_attr_setstacksize ();
42324 rm -f conftest.
$ac_objext conftest
$ac_exeext
42325 if { (ac_try
="$ac_link"
42326 case "(($ac_try" in
42327 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42328 *) ac_try_echo=$ac_try;;
42330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42331 (eval "$ac_link") 2>conftest.er1
42333 grep -v '^ *+' conftest.er1 >conftest.err
42335 cat conftest.err >&5
42336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42337 (exit $ac_status); } && {
42338 test -z "$ac_c_werror_flag" ||
42339 test ! -s conftest.err
42340 } && test -s conftest$ac_exeext &&
42341 $as_test_x conftest$ac_exeext; then
42342 ac_cv_func_pthread_attr_setstacksize=yes
42344 echo "$as_me: failed program was:" >&5
42345 sed 's/^/| /' conftest.$ac_ext >&5
42347 ac_cv_func_pthread_attr_setstacksize=no
42350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42351 conftest$ac_exeext conftest.$ac_ext
42353 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42354 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42355 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42356 cat >>confdefs.h <<\_ACEOF
42357 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42364 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42365 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42366 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42367 echo $ECHO_N "(cached) $ECHO_C" >&6
42370 cat >conftest.$ac_ext <<_ACEOF
42373 cat confdefs.h >>conftest.$ac_ext
42374 cat >>conftest.$ac_ext <<_ACEOF
42375 /* end confdefs.h. */
42376 #include <pthread.h>
42381 pthread_mutexattr_t attr;
42382 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42388 rm -f conftest.$ac_objext
42389 if { (ac_try="$ac_compile"
42390 case "(($ac_try" in
42391 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42392 *) ac_try_echo
=$ac_try;;
42394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42395 (eval "$ac_compile") 2>conftest.er1
42397 grep -v '^ *+' conftest.er1
>conftest.err
42399 cat conftest.err
>&5
42400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42401 (exit $ac_status); } && {
42402 test -z "$ac_c_werror_flag" ||
42403 test ! -s conftest.err
42404 } && test -s conftest.
$ac_objext; then
42405 wx_cv_type_pthread_mutexattr_t
=yes
42407 echo "$as_me: failed program was:" >&5
42408 sed 's/^/| /' conftest.
$ac_ext >&5
42410 wx_cv_type_pthread_mutexattr_t
=no
42414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42417 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42418 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42420 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42421 cat >>confdefs.h
<<\_ACEOF
42422 #define HAVE_PTHREAD_MUTEXATTR_T 1
42426 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42427 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42428 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42429 echo $ECHO_N "(cached) $ECHO_C" >&6
42432 cat >conftest.
$ac_ext <<_ACEOF
42435 cat confdefs.h
>>conftest.
$ac_ext
42436 cat >>conftest.
$ac_ext <<_ACEOF
42437 /* end confdefs.h. */
42438 #include <pthread.h>
42443 pthread_mutexattr_t attr;
42444 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42450 rm -f conftest.
$ac_objext
42451 if { (ac_try
="$ac_compile"
42452 case "(($ac_try" in
42453 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42454 *) ac_try_echo=$ac_try;;
42456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42457 (eval "$ac_compile") 2>conftest.er1
42459 grep -v '^ *+' conftest.er1 >conftest.err
42461 cat conftest.err >&5
42462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42463 (exit $ac_status); } && {
42464 test -z "$ac_c_werror_flag" ||
42465 test ! -s conftest.err
42466 } && test -s conftest.$ac_objext; then
42467 wx_cv_func_pthread_mutexattr_settype_decl=yes
42469 echo "$as_me: failed program was:" >&5
42470 sed 's/^/| /' conftest.$ac_ext >&5
42472 wx_cv_func_pthread_mutexattr_settype_decl=no
42476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42479 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42480 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42481 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42482 cat >>confdefs.h <<\_ACEOF
42483 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42488 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42489 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42490 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42491 echo $ECHO_N "(cached) $ECHO_C" >&6
42494 cat >conftest.$ac_ext <<_ACEOF
42497 cat confdefs.h >>conftest.$ac_ext
42498 cat >>conftest.$ac_ext <<_ACEOF
42499 /* end confdefs.h. */
42500 #include <pthread.h>
42505 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42511 rm -f conftest.$ac_objext
42512 if { (ac_try="$ac_compile"
42513 case "(($ac_try" in
42514 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42515 *) ac_try_echo
=$ac_try;;
42517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42518 (eval "$ac_compile") 2>conftest.er1
42520 grep -v '^ *+' conftest.er1
>conftest.err
42522 cat conftest.err
>&5
42523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42524 (exit $ac_status); } && {
42525 test -z "$ac_c_werror_flag" ||
42526 test ! -s conftest.err
42527 } && test -s conftest.
$ac_objext; then
42529 wx_cv_type_pthread_rec_mutex_init
=yes
42532 echo "$as_me: failed program was:" >&5
42533 sed 's/^/| /' conftest.
$ac_ext >&5
42536 wx_cv_type_pthread_rec_mutex_init
=no
42541 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42544 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42545 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42546 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42547 cat >>confdefs.h
<<\_ACEOF
42548 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42552 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42553 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42559 if test "$wxUSE_THREADS" = "yes" ; then
42562 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42563 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42564 if test "${wx_cv_cflags_mthread+set}" = set; then
42565 echo $ECHO_N "(cached) $ECHO_C" >&6
42568 CFLAGS_OLD
="$CFLAGS"
42569 CFLAGS
="-mthreads $CFLAGS"
42570 cat >conftest.
$ac_ext <<_ACEOF
42573 cat confdefs.h
>>conftest.
$ac_ext
42574 cat >>conftest.
$ac_ext <<_ACEOF
42575 /* end confdefs.h. */
42585 rm -f conftest.
$ac_objext
42586 if { (ac_try
="$ac_compile"
42587 case "(($ac_try" in
42588 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42589 *) ac_try_echo=$ac_try;;
42591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42592 (eval "$ac_compile") 2>conftest.er1
42594 grep -v '^ *+' conftest.er1 >conftest.err
42596 cat conftest.err >&5
42597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42598 (exit $ac_status); } && {
42599 test -z "$ac_c_werror_flag" ||
42600 test ! -s conftest.err
42601 } && test -s conftest.$ac_objext; then
42602 wx_cv_cflags_mthread=yes
42604 echo "$as_me: failed program was:" >&5
42605 sed 's/^/| /' conftest.$ac_ext >&5
42607 wx_cv_cflags_mthread=no
42611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42615 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42616 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42618 if test "$wx_cv_cflags_mthread" = "yes"; then
42619 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42620 LDFLAGS="$LDFLAGS -mthreads"
42622 CFLAGS="$CFLAGS_OLD"
42626 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42627 LDFLAGS="$LDFLAGS -Zmt"
42633 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42634 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42635 if test "${ac_cv_func_localtime_r+set}" = set; then
42636 echo $ECHO_N "(cached) $ECHO_C" >&6
42638 cat >conftest.$ac_ext <<_ACEOF
42641 cat confdefs.h >>conftest.$ac_ext
42642 cat >>conftest.$ac_ext <<_ACEOF
42643 /* end confdefs.h. */
42644 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42646 #define localtime_r innocuous_localtime_r
42648 /* System header to define __stub macros and hopefully few prototypes,
42649 which can conflict with char localtime_r (); below.
42650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42651 <limits.h> exists even on freestanding compilers. */
42654 # include <limits.h>
42656 # include <assert.h>
42661 /* Override any GCC internal prototype to avoid an error.
42662 Use char because int might match the return type of a GCC
42663 builtin and then its argument prototype would still apply. */
42667 char localtime_r ();
42668 /* The GNU C library defines this for functions which it implements
42669 to always fail with ENOSYS. Some functions are actually named
42670 something starting with __ and the normal name is an alias. */
42671 #if defined __stub_localtime_r || defined __stub___localtime_r
42678 return localtime_r ();
42683 rm -f conftest.$ac_objext conftest$ac_exeext
42684 if { (ac_try="$ac_link"
42685 case "(($ac_try" in
42686 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42687 *) ac_try_echo
=$ac_try;;
42689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42690 (eval "$ac_link") 2>conftest.er1
42692 grep -v '^ *+' conftest.er1
>conftest.err
42694 cat conftest.err
>&5
42695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42696 (exit $ac_status); } && {
42697 test -z "$ac_c_werror_flag" ||
42698 test ! -s conftest.err
42699 } && test -s conftest
$ac_exeext &&
42700 $as_test_x conftest
$ac_exeext; then
42701 ac_cv_func_localtime_r
=yes
42703 echo "$as_me: failed program was:" >&5
42704 sed 's/^/| /' conftest.
$ac_ext >&5
42706 ac_cv_func_localtime_r
=no
42709 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42710 conftest
$ac_exeext conftest.
$ac_ext
42712 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42713 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42714 if test $ac_cv_func_localtime_r = yes; then
42715 cat >>confdefs.h
<<\_ACEOF
42716 #define HAVE_LOCALTIME_R 1
42721 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42722 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42723 if test "${ac_cv_func_gmtime_r+set}" = set; then
42724 echo $ECHO_N "(cached) $ECHO_C" >&6
42726 cat >conftest.
$ac_ext <<_ACEOF
42729 cat confdefs.h
>>conftest.
$ac_ext
42730 cat >>conftest.
$ac_ext <<_ACEOF
42731 /* end confdefs.h. */
42732 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42734 #define gmtime_r innocuous_gmtime_r
42736 /* System header to define __stub macros and hopefully few prototypes,
42737 which can conflict with char gmtime_r (); below.
42738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42739 <limits.h> exists even on freestanding compilers. */
42742 # include <limits.h>
42744 # include <assert.h>
42749 /* Override any GCC internal prototype to avoid an error.
42750 Use char because int might match the return type of a GCC
42751 builtin and then its argument prototype would still apply. */
42756 /* The GNU C library defines this for functions which it implements
42757 to always fail with ENOSYS. Some functions are actually named
42758 something starting with __ and the normal name is an alias. */
42759 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42766 return gmtime_r ();
42771 rm -f conftest.
$ac_objext conftest
$ac_exeext
42772 if { (ac_try
="$ac_link"
42773 case "(($ac_try" in
42774 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42775 *) ac_try_echo=$ac_try;;
42777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42778 (eval "$ac_link") 2>conftest.er1
42780 grep -v '^ *+' conftest.er1 >conftest.err
42782 cat conftest.err >&5
42783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42784 (exit $ac_status); } && {
42785 test -z "$ac_c_werror_flag" ||
42786 test ! -s conftest.err
42787 } && test -s conftest$ac_exeext &&
42788 $as_test_x conftest$ac_exeext; then
42789 ac_cv_func_gmtime_r=yes
42791 echo "$as_me: failed program was:" >&5
42792 sed 's/^/| /' conftest.$ac_ext >&5
42794 ac_cv_func_gmtime_r=no
42797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42798 conftest$ac_exeext conftest.$ac_ext
42800 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42801 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42802 if test $ac_cv_func_gmtime_r = yes; then
42803 cat >>confdefs.h <<\_ACEOF
42804 #define HAVE_GMTIME_R 1
42813 ac_cpp='$CPP $CPPFLAGS'
42814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42818 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42819 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42821 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42822 echo $ECHO_N "(cached) $ECHO_C" >&6
42826 ################################################################
42828 ac_cv_func_which_gethostbyname_r=unknown
42831 # ONE ARGUMENT (sanity check)
42834 # This should fail, as there is no variant of gethostbyname_r() that takes
42835 # a single argument. If it actually compiles, then we can assume that
42836 # netdb.h is not declaring the function, and the compiler is thereby
42837 # assuming an implicit prototype. In which case, we're out of luck.
42839 cat >conftest.$ac_ext <<_ACEOF
42842 cat confdefs.h >>conftest.$ac_ext
42843 cat >>conftest.$ac_ext <<_ACEOF
42844 /* end confdefs.h. */
42850 char *name = "www.gnu.org";
42851 (void)gethostbyname_r(name) /* ; */
42857 rm -f conftest.$ac_objext
42858 if { (ac_try="$ac_compile"
42859 case "(($ac_try" in
42860 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42861 *) ac_try_echo
=$ac_try;;
42863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42864 (eval "$ac_compile") 2>conftest.er1
42866 grep -v '^ *+' conftest.er1
>conftest.err
42868 cat conftest.err
>&5
42869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42870 (exit $ac_status); } && {
42871 test -z "$ac_c_werror_flag" ||
42872 test ! -s conftest.err
42873 } && test -s conftest.
$ac_objext; then
42874 ac_cv_func_which_gethostbyname_r
=no
42876 echo "$as_me: failed program was:" >&5
42877 sed 's/^/| /' conftest.
$ac_ext >&5
42882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42889 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42891 cat >conftest.
$ac_ext <<_ACEOF
42894 cat confdefs.h
>>conftest.
$ac_ext
42895 cat >>conftest.
$ac_ext <<_ACEOF
42896 /* end confdefs.h. */
42902 char *name = "www.gnu.org";
42903 struct hostent ret, *retp;
42907 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42913 rm -f conftest.
$ac_objext
42914 if { (ac_try
="$ac_compile"
42915 case "(($ac_try" in
42916 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42917 *) ac_try_echo=$ac_try;;
42919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42920 (eval "$ac_compile") 2>conftest.er1
42922 grep -v '^ *+' conftest.er1 >conftest.err
42924 cat conftest.err >&5
42925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42926 (exit $ac_status); } && {
42927 test -z "$ac_c_werror_flag" ||
42928 test ! -s conftest.err
42929 } && test -s conftest.$ac_objext; then
42930 ac_cv_func_which_gethostbyname_r=six
42932 echo "$as_me: failed program was:" >&5
42933 sed 's/^/| /' conftest.$ac_ext >&5
42938 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;
42965 (void)gethostbyname_r(name, &ret, buf, buflen, &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
=five
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
43002 # (e.g. AIX, HP-UX, Tru64)
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;
43020 struct hostent_data data;
43021 (void)gethostbyname_r(name, &ret, &data) /* ; */
43027 rm -f conftest.
$ac_objext
43028 if { (ac_try
="$ac_compile"
43029 case "(($ac_try" in
43030 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43031 *) ac_try_echo=$ac_try;;
43033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43034 (eval "$ac_compile") 2>conftest.er1
43036 grep -v '^ *+' conftest.er1 >conftest.err
43038 cat conftest.err >&5
43039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43040 (exit $ac_status); } && {
43041 test -z "$ac_c_werror_flag" ||
43042 test ! -s conftest.err
43043 } && test -s conftest.$ac_objext; then
43044 ac_cv_func_which_gethostbyname_r=three
43046 echo "$as_me: failed program was:" >&5
43047 sed 's/^/| /' conftest.$ac_ext >&5
43052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43056 ################################################################
43061 case "$ac_cv_func_which_gethostbyname_r" in
43063 { echo "$as_me:$LINENO: result: three" >&5
43064 echo "${ECHO_T}three" >&6; }
43065 cat >>confdefs.h <<\_ACEOF
43066 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43072 { echo "$as_me:$LINENO: result: five" >&5
43073 echo "${ECHO_T}five" >&6; }
43074 cat >>confdefs.h <<\_ACEOF
43075 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43081 { echo "$as_me:$LINENO: result: six" >&5
43082 echo "${ECHO_T}six" >&6; }
43083 cat >>confdefs.h <<\_ACEOF
43084 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43090 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43091 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43095 { echo "$as_me:$LINENO: result: can't tell" >&5
43096 echo "${ECHO_T}can't tell" >&6; }
43100 { { echo "$as_me:$LINENO: error: internal error" >&5
43101 echo "$as_me: error: internal error" >&2;}
43102 { (exit 1); exit 1; }; }
43107 ac_cpp='$CPP $CPPFLAGS'
43108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43114 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43115 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43116 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43117 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43118 if test "${ac_cv_func_gethostbyname+set}" = set; then
43119 echo $ECHO_N "(cached) $ECHO_C" >&6
43121 cat >conftest.$ac_ext <<_ACEOF
43124 cat confdefs.h >>conftest.$ac_ext
43125 cat >>conftest.$ac_ext <<_ACEOF
43126 /* end confdefs.h. */
43127 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43129 #define gethostbyname innocuous_gethostbyname
43131 /* System header to define __stub macros and hopefully few prototypes,
43132 which can conflict with char gethostbyname (); below.
43133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43134 <limits.h> exists even on freestanding compilers. */
43137 # include <limits.h>
43139 # include <assert.h>
43142 #undef gethostbyname
43144 /* Override any GCC internal prototype to avoid an error.
43145 Use char because int might match the return type of a GCC
43146 builtin and then its argument prototype would still apply. */
43150 char gethostbyname ();
43151 /* The GNU C library defines this for functions which it implements
43152 to always fail with ENOSYS. Some functions are actually named
43153 something starting with __ and the normal name is an alias. */
43154 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43161 return gethostbyname ();
43166 rm -f conftest.$ac_objext conftest$ac_exeext
43167 if { (ac_try="$ac_link"
43168 case "(($ac_try" in
43169 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43170 *) ac_try_echo
=$ac_try;;
43172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43173 (eval "$ac_link") 2>conftest.er1
43175 grep -v '^ *+' conftest.er1
>conftest.err
43177 cat conftest.err
>&5
43178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43179 (exit $ac_status); } && {
43180 test -z "$ac_c_werror_flag" ||
43181 test ! -s conftest.err
43182 } && test -s conftest
$ac_exeext &&
43183 $as_test_x conftest
$ac_exeext; then
43184 ac_cv_func_gethostbyname
=yes
43186 echo "$as_me: failed program was:" >&5
43187 sed 's/^/| /' conftest.
$ac_ext >&5
43189 ac_cv_func_gethostbyname
=no
43192 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43193 conftest
$ac_exeext conftest.
$ac_ext
43195 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43196 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43197 if test $ac_cv_func_gethostbyname = yes; then
43198 cat >>confdefs.h
<<\_ACEOF
43199 #define HAVE_GETHOSTBYNAME 1
43206 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43207 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43208 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43209 echo $ECHO_N "(cached) $ECHO_C" >&6
43213 ac_cpp
='$CXXCPP $CPPFLAGS'
43214 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43215 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43216 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43219 cat >conftest.
$ac_ext <<_ACEOF
43222 cat confdefs.h
>>conftest.
$ac_ext
43223 cat >>conftest.
$ac_ext <<_ACEOF
43224 /* end confdefs.h. */
43232 struct servent *se, *res;
43235 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43241 rm -f conftest.
$ac_objext
43242 if { (ac_try
="$ac_compile"
43243 case "(($ac_try" in
43244 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43245 *) ac_try_echo=$ac_try;;
43247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43248 (eval "$ac_compile") 2>conftest.er1
43250 grep -v '^ *+' conftest.er1 >conftest.err
43252 cat conftest.err >&5
43253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43254 (exit $ac_status); } && {
43255 test -z "$ac_cxx_werror_flag" ||
43256 test ! -s conftest.err
43257 } && test -s conftest.$ac_objext; then
43258 ac_cv_func_which_getservbyname_r=six
43260 echo "$as_me: failed program was:" >&5
43261 sed 's/^/| /' conftest.$ac_ext >&5
43264 cat >conftest.$ac_ext <<_ACEOF
43267 cat confdefs.h >>conftest.$ac_ext
43268 cat >>conftest.$ac_ext <<_ACEOF
43269 /* end confdefs.h. */
43277 struct servent *se;
43280 (void) getservbyname_r(name, proto, se, buffer, buflen)
43286 rm -f conftest.$ac_objext
43287 if { (ac_try="$ac_compile"
43288 case "(($ac_try" in
43289 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43290 *) ac_try_echo
=$ac_try;;
43292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43293 (eval "$ac_compile") 2>conftest.er1
43295 grep -v '^ *+' conftest.er1
>conftest.err
43297 cat conftest.err
>&5
43298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43299 (exit $ac_status); } && {
43300 test -z "$ac_cxx_werror_flag" ||
43301 test ! -s conftest.err
43302 } && test -s conftest.
$ac_objext; then
43303 ac_cv_func_which_getservbyname_r
=five
43305 echo "$as_me: failed program was:" >&5
43306 sed 's/^/| /' conftest.
$ac_ext >&5
43309 cat >conftest.
$ac_ext <<_ACEOF
43312 cat confdefs.h
>>conftest.
$ac_ext
43313 cat >>conftest.
$ac_ext <<_ACEOF
43314 /* end confdefs.h. */
43322 struct servent *se;
43323 struct servent_data data;
43324 (void) getservbyname_r(name, proto, se, &data);
43330 rm -f conftest.
$ac_objext
43331 if { (ac_try
="$ac_compile"
43332 case "(($ac_try" in
43333 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43334 *) ac_try_echo=$ac_try;;
43336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43337 (eval "$ac_compile") 2>conftest.er1
43339 grep -v '^ *+' conftest.er1 >conftest.err
43341 cat conftest.err >&5
43342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43343 (exit $ac_status); } && {
43344 test -z "$ac_cxx_werror_flag" ||
43345 test ! -s conftest.err
43346 } && test -s conftest.$ac_objext; then
43347 ac_cv_func_which_getservbyname_r=four
43349 echo "$as_me: failed program was:" >&5
43350 sed 's/^/| /' conftest.$ac_ext >&5
43352 ac_cv_func_which_getservbyname_r=no
43356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43368 ac_cpp='$CPP $CPPFLAGS'
43369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43376 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43377 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43379 if test $ac_cv_func_which_getservbyname_r = six; then
43380 cat >>confdefs.h <<\_ACEOF
43381 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43384 elif test $ac_cv_func_which_getservbyname_r = five; then
43385 cat >>confdefs.h <<\_ACEOF
43386 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43389 elif test $ac_cv_func_which_getservbyname_r = four; then
43390 cat >>confdefs.h <<\_ACEOF
43391 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43397 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43398 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43400 for ac_func in getservbyname
43402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43403 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43405 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43406 echo $ECHO_N "(cached) $ECHO_C" >&6
43408 cat >conftest.$ac_ext <<_ACEOF
43411 cat confdefs.h >>conftest.$ac_ext
43412 cat >>conftest.$ac_ext <<_ACEOF
43413 /* end confdefs.h. */
43414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43416 #define $ac_func innocuous_$ac_func
43418 /* System header to define __stub macros and hopefully few prototypes,
43419 which can conflict with char $ac_func (); below.
43420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43421 <limits.h> exists even on freestanding compilers. */
43424 # include <limits.h>
43426 # include <assert.h>
43431 /* Override any GCC internal prototype to avoid an error.
43432 Use char because int might match the return type of a GCC
43433 builtin and then its argument prototype would still apply. */
43438 /* The GNU C library defines this for functions which it implements
43439 to always fail with ENOSYS. Some functions are actually named
43440 something starting with __ and the normal name is an alias. */
43441 #if defined __stub_$ac_func || defined __stub___$ac_func
43448 return $ac_func ();
43453 rm -f conftest.$ac_objext conftest$ac_exeext
43454 if { (ac_try="$ac_link"
43455 case "(($ac_try" in
43456 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43457 *) ac_try_echo
=$ac_try;;
43459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43460 (eval "$ac_link") 2>conftest.er1
43462 grep -v '^ *+' conftest.er1
>conftest.err
43464 cat conftest.err
>&5
43465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43466 (exit $ac_status); } && {
43467 test -z "$ac_c_werror_flag" ||
43468 test ! -s conftest.err
43469 } && test -s conftest
$ac_exeext &&
43470 $as_test_x conftest
$ac_exeext; then
43471 eval "$as_ac_var=yes"
43473 echo "$as_me: failed program was:" >&5
43474 sed 's/^/| /' conftest.
$ac_ext >&5
43476 eval "$as_ac_var=no"
43479 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43480 conftest
$ac_exeext conftest.
$ac_ext
43482 ac_res
=`eval echo '${'$as_ac_var'}'`
43483 { echo "$as_me:$LINENO: result: $ac_res" >&5
43484 echo "${ECHO_T}$ac_res" >&6; }
43485 if test `eval echo '${'$as_ac_var'}'` = yes; then
43486 cat >>confdefs.h
<<_ACEOF
43487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43489 cat >>confdefs.h
<<\_ACEOF
43490 #define HAVE_GETSERVBYNAME 1
43498 if test "$wxUSE_THREADS" = "yes"; then
43499 cat >>confdefs.h
<<\_ACEOF
43500 #define wxUSE_THREADS 1
43504 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
43506 if test "$wx_cv_func_strtok_r" = "yes"; then
43507 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43508 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43509 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43510 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43511 { echo "$as_me:$LINENO: result: yes" >&5
43512 echo "${ECHO_T}yes" >&6; }
43514 { echo "$as_me:$LINENO: result: no" >&5
43515 echo "${ECHO_T}no" >&6; }
43520 if test "$WXGTK2" = 1 ; then
43521 cat >>confdefs.h
<<_ACEOF
43522 #define __WXGTK20__ $WXGTK2
43528 if test "$WXGTK12" = 1 ; then
43529 cat >>confdefs.h
<<_ACEOF
43530 #define __WXGTK12__ $WXGTK12
43535 if test "$WXGTK127" = 1 ; then
43536 cat >>confdefs.h
<<_ACEOF
43537 #define __WXGTK127__ $WXGTK127
43542 if test "$WXGPE" = 1 ; then
43543 cat >>confdefs.h
<<_ACEOF
43544 #define __WXGPE__ $WXGPE
43550 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43555 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43556 wxUSE_DEBUG_INFO
=yes
43557 if test "$GCC" = yes; then
43558 DEBUG_CFLAGS
="-ggdb"
43562 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43563 cat >>confdefs.h
<<\_ACEOF
43567 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43569 if test "$wxUSE_GTK" = 1 ; then
43570 if test "x$wxGTK_VERSION" = "x1" ; then
43571 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43576 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43577 cat >>confdefs.h
<<\_ACEOF
43578 #define wxUSE_MEMORY_TRACING 1
43581 cat >>confdefs.h
<<\_ACEOF
43582 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43585 cat >>confdefs.h
<<\_ACEOF
43586 #define wxUSE_DEBUG_NEW_ALWAYS 1
43589 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
43592 if test "$wxUSE_DMALLOC" = "yes" ; then
43593 DMALLOC_LIBS
="-ldmallocthcxx"
43597 if test "$wxUSE_PROFILE" = "yes" ; then
43598 PROFILE_FLAGS
=" -pg"
43601 if test "$GCC" = "yes" ; then
43602 if test "$wxUSE_NO_RTTI" = "yes" ; then
43603 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
43605 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43606 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
43608 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43609 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
43614 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
43617 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
43623 if test "$wxUSE_OPTIMISE" = "no" ; then
43624 if test "$GCC" = yes ; then
43625 OPTIMISE_CFLAGS
="-O0"
43628 if test "$GCC" = yes ; then
43630 *-pc-os2_emx | *-pc-os2-emx )
43631 OPTIMISE_CFLAGS
="-O2"
43634 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
43638 OPTIMISE_CFLAGS
="-O"
43643 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43644 cat >>confdefs.h
<<\_ACEOF
43645 #define WXWIN_COMPATIBILITY_2_6 1
43649 WXWIN_COMPATIBILITY_2_8
="yes"
43652 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43653 cat >>confdefs.h
<<\_ACEOF
43654 #define WXWIN_COMPATIBILITY_2_8 1
43660 if test "$wxUSE_GUI" = "yes"; then
43661 cat >>confdefs.h
<<\_ACEOF
43662 #define wxUSE_GUI 1
43669 if test "$wxUSE_UNIX" = "yes"; then
43670 cat >>confdefs.h
<<\_ACEOF
43671 #define wxUSE_UNIX 1
43677 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43681 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43682 if test "$USE_DARWIN" = 1; then
43684 elif test "$USE_DOS" = 1; then
43688 for ac_func
in dlopen
43690 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43691 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43693 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43694 echo $ECHO_N "(cached) $ECHO_C" >&6
43696 cat >conftest.
$ac_ext <<_ACEOF
43699 cat confdefs.h
>>conftest.
$ac_ext
43700 cat >>conftest.
$ac_ext <<_ACEOF
43701 /* end confdefs.h. */
43702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43704 #define $ac_func innocuous_$ac_func
43706 /* System header to define __stub macros and hopefully few prototypes,
43707 which can conflict with char $ac_func (); below.
43708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43709 <limits.h> exists even on freestanding compilers. */
43712 # include <limits.h>
43714 # include <assert.h>
43719 /* Override any GCC internal prototype to avoid an error.
43720 Use char because int might match the return type of a GCC
43721 builtin and then its argument prototype would still apply. */
43726 /* The GNU C library defines this for functions which it implements
43727 to always fail with ENOSYS. Some functions are actually named
43728 something starting with __ and the normal name is an alias. */
43729 #if defined __stub_$ac_func || defined __stub___$ac_func
43736 return $ac_func ();
43741 rm -f conftest.
$ac_objext conftest
$ac_exeext
43742 if { (ac_try
="$ac_link"
43743 case "(($ac_try" in
43744 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43745 *) ac_try_echo=$ac_try;;
43747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43748 (eval "$ac_link") 2>conftest.er1
43750 grep -v '^ *+' conftest.er1 >conftest.err
43752 cat conftest.err >&5
43753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43754 (exit $ac_status); } && {
43755 test -z "$ac_c_werror_flag" ||
43756 test ! -s conftest.err
43757 } && test -s conftest$ac_exeext &&
43758 $as_test_x conftest$ac_exeext; then
43759 eval "$as_ac_var=yes"
43761 echo "$as_me: failed program was:" >&5
43762 sed 's/^/| /' conftest.$ac_ext >&5
43764 eval "$as_ac_var=no"
43767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43768 conftest$ac_exeext conftest.$ac_ext
43770 ac_res=`eval echo '${'$as_ac_var'}'`
43771 { echo "$as_me:$LINENO: result: $ac_res" >&5
43772 echo "${ECHO_T}$ac_res" >&6; }
43773 if test `eval echo '${'$as_ac_var'}'` = yes; then
43774 cat >>confdefs.h <<_ACEOF
43775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43778 cat >>confdefs.h <<\_ACEOF
43779 #define HAVE_DLOPEN 1
43786 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43787 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43788 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43789 echo $ECHO_N "(cached) $ECHO_C" >&6
43791 ac_check_lib_save_LIBS=$LIBS
43793 cat >conftest.$ac_ext <<_ACEOF
43796 cat confdefs.h >>conftest.$ac_ext
43797 cat >>conftest.$ac_ext <<_ACEOF
43798 /* end confdefs.h. */
43800 /* Override any GCC internal prototype to avoid an error.
43801 Use char because int might match the return type of a GCC
43802 builtin and then its argument prototype would still apply. */
43815 rm -f conftest.$ac_objext conftest$ac_exeext
43816 if { (ac_try="$ac_link"
43817 case "(($ac_try" in
43818 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43819 *) ac_try_echo
=$ac_try;;
43821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43822 (eval "$ac_link") 2>conftest.er1
43824 grep -v '^ *+' conftest.er1
>conftest.err
43826 cat conftest.err
>&5
43827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43828 (exit $ac_status); } && {
43829 test -z "$ac_c_werror_flag" ||
43830 test ! -s conftest.err
43831 } && test -s conftest
$ac_exeext &&
43832 $as_test_x conftest
$ac_exeext; then
43833 ac_cv_lib_dl_dlopen
=yes
43835 echo "$as_me: failed program was:" >&5
43836 sed 's/^/| /' conftest.
$ac_ext >&5
43838 ac_cv_lib_dl_dlopen
=no
43841 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43842 conftest
$ac_exeext conftest.
$ac_ext
43843 LIBS
=$ac_check_lib_save_LIBS
43845 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43846 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43847 if test $ac_cv_lib_dl_dlopen = yes; then
43849 cat >>confdefs.h
<<\_ACEOF
43850 #define HAVE_DLOPEN 1
43854 DL_LINK
=" -ldl$DL_LINK"
43859 for ac_func
in shl_load
43861 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43862 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43864 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43865 echo $ECHO_N "(cached) $ECHO_C" >&6
43867 cat >conftest.
$ac_ext <<_ACEOF
43870 cat confdefs.h
>>conftest.
$ac_ext
43871 cat >>conftest.
$ac_ext <<_ACEOF
43872 /* end confdefs.h. */
43873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43875 #define $ac_func innocuous_$ac_func
43877 /* System header to define __stub macros and hopefully few prototypes,
43878 which can conflict with char $ac_func (); below.
43879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43880 <limits.h> exists even on freestanding compilers. */
43883 # include <limits.h>
43885 # include <assert.h>
43890 /* Override any GCC internal prototype to avoid an error.
43891 Use char because int might match the return type of a GCC
43892 builtin and then its argument prototype would still apply. */
43897 /* The GNU C library defines this for functions which it implements
43898 to always fail with ENOSYS. Some functions are actually named
43899 something starting with __ and the normal name is an alias. */
43900 #if defined __stub_$ac_func || defined __stub___$ac_func
43907 return $ac_func ();
43912 rm -f conftest.
$ac_objext conftest
$ac_exeext
43913 if { (ac_try
="$ac_link"
43914 case "(($ac_try" in
43915 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43916 *) ac_try_echo=$ac_try;;
43918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43919 (eval "$ac_link") 2>conftest.er1
43921 grep -v '^ *+' conftest.er1 >conftest.err
43923 cat conftest.err >&5
43924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43925 (exit $ac_status); } && {
43926 test -z "$ac_c_werror_flag" ||
43927 test ! -s conftest.err
43928 } && test -s conftest$ac_exeext &&
43929 $as_test_x conftest$ac_exeext; then
43930 eval "$as_ac_var=yes"
43932 echo "$as_me: failed program was:" >&5
43933 sed 's/^/| /' conftest.$ac_ext >&5
43935 eval "$as_ac_var=no"
43938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43939 conftest$ac_exeext conftest.$ac_ext
43941 ac_res=`eval echo '${'$as_ac_var'}'`
43942 { echo "$as_me:$LINENO: result: $ac_res" >&5
43943 echo "${ECHO_T}$ac_res" >&6; }
43944 if test `eval echo '${'$as_ac_var'}'` = yes; then
43945 cat >>confdefs.h <<_ACEOF
43946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43949 cat >>confdefs.h <<\_ACEOF
43950 #define HAVE_SHL_LOAD 1
43957 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43958 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43959 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43960 echo $ECHO_N "(cached) $ECHO_C" >&6
43962 ac_check_lib_save_LIBS=$LIBS
43963 LIBS="-lshl_load $LIBS"
43964 cat >conftest.$ac_ext <<_ACEOF
43967 cat confdefs.h >>conftest.$ac_ext
43968 cat >>conftest.$ac_ext <<_ACEOF
43969 /* end confdefs.h. */
43971 /* Override any GCC internal prototype to avoid an error.
43972 Use char because int might match the return type of a GCC
43973 builtin and then its argument prototype would still apply. */
43986 rm -f conftest.$ac_objext conftest$ac_exeext
43987 if { (ac_try="$ac_link"
43988 case "(($ac_try" in
43989 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43990 *) ac_try_echo
=$ac_try;;
43992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43993 (eval "$ac_link") 2>conftest.er1
43995 grep -v '^ *+' conftest.er1
>conftest.err
43997 cat conftest.err
>&5
43998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43999 (exit $ac_status); } && {
44000 test -z "$ac_c_werror_flag" ||
44001 test ! -s conftest.err
44002 } && test -s conftest
$ac_exeext &&
44003 $as_test_x conftest
$ac_exeext; then
44004 ac_cv_lib_shl_load_dld
=yes
44006 echo "$as_me: failed program was:" >&5
44007 sed 's/^/| /' conftest.
$ac_ext >&5
44009 ac_cv_lib_shl_load_dld
=no
44012 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44013 conftest
$ac_exeext conftest.
$ac_ext
44014 LIBS
=$ac_check_lib_save_LIBS
44016 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44017 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44018 if test $ac_cv_lib_shl_load_dld = yes; then
44021 DL_LINK
=" -ldld$DL_LINK"
44037 if test "$HAVE_DL_FUNCS" = 1; then
44039 for ac_func
in dlerror
44041 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44042 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44044 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44045 echo $ECHO_N "(cached) $ECHO_C" >&6
44047 cat >conftest.
$ac_ext <<_ACEOF
44050 cat confdefs.h
>>conftest.
$ac_ext
44051 cat >>conftest.
$ac_ext <<_ACEOF
44052 /* end confdefs.h. */
44053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44055 #define $ac_func innocuous_$ac_func
44057 /* System header to define __stub macros and hopefully few prototypes,
44058 which can conflict with char $ac_func (); below.
44059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44060 <limits.h> exists even on freestanding compilers. */
44063 # include <limits.h>
44065 # include <assert.h>
44070 /* Override any GCC internal prototype to avoid an error.
44071 Use char because int might match the return type of a GCC
44072 builtin and then its argument prototype would still apply. */
44077 /* The GNU C library defines this for functions which it implements
44078 to always fail with ENOSYS. Some functions are actually named
44079 something starting with __ and the normal name is an alias. */
44080 #if defined __stub_$ac_func || defined __stub___$ac_func
44087 return $ac_func ();
44092 rm -f conftest.
$ac_objext conftest
$ac_exeext
44093 if { (ac_try
="$ac_link"
44094 case "(($ac_try" in
44095 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44096 *) ac_try_echo=$ac_try;;
44098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44099 (eval "$ac_link") 2>conftest.er1
44101 grep -v '^ *+' conftest.er1 >conftest.err
44103 cat conftest.err >&5
44104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44105 (exit $ac_status); } && {
44106 test -z "$ac_c_werror_flag" ||
44107 test ! -s conftest.err
44108 } && test -s conftest$ac_exeext &&
44109 $as_test_x conftest$ac_exeext; then
44110 eval "$as_ac_var=yes"
44112 echo "$as_me: failed program was:" >&5
44113 sed 's/^/| /' conftest.$ac_ext >&5
44115 eval "$as_ac_var=no"
44118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44119 conftest$ac_exeext conftest.$ac_ext
44121 ac_res=`eval echo '${'$as_ac_var'}'`
44122 { echo "$as_me:$LINENO: result: $ac_res" >&5
44123 echo "${ECHO_T}$ac_res" >&6; }
44124 if test `eval echo '${'$as_ac_var'}'` = yes; then
44125 cat >>confdefs.h <<_ACEOF
44126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44128 cat >>confdefs.h <<\_ACEOF
44129 #define HAVE_DLERROR 1
44134 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44135 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44136 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44137 echo $ECHO_N "(cached) $ECHO_C" >&6
44139 ac_check_lib_save_LIBS=$LIBS
44141 cat >conftest.$ac_ext <<_ACEOF
44144 cat confdefs.h >>conftest.$ac_ext
44145 cat >>conftest.$ac_ext <<_ACEOF
44146 /* end confdefs.h. */
44148 /* Override any GCC internal prototype to avoid an error.
44149 Use char because int might match the return type of a GCC
44150 builtin and then its argument prototype would still apply. */
44163 rm -f conftest.$ac_objext conftest$ac_exeext
44164 if { (ac_try="$ac_link"
44165 case "(($ac_try" in
44166 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44167 *) ac_try_echo
=$ac_try;;
44169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44170 (eval "$ac_link") 2>conftest.er1
44172 grep -v '^ *+' conftest.er1
>conftest.err
44174 cat conftest.err
>&5
44175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44176 (exit $ac_status); } && {
44177 test -z "$ac_c_werror_flag" ||
44178 test ! -s conftest.err
44179 } && test -s conftest
$ac_exeext &&
44180 $as_test_x conftest
$ac_exeext; then
44181 ac_cv_lib_dl_dlerror
=yes
44183 echo "$as_me: failed program was:" >&5
44184 sed 's/^/| /' conftest.
$ac_ext >&5
44186 ac_cv_lib_dl_dlerror
=no
44189 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44190 conftest
$ac_exeext conftest.
$ac_ext
44191 LIBS
=$ac_check_lib_save_LIBS
44193 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44194 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44195 if test $ac_cv_lib_dl_dlerror = yes; then
44196 cat >>confdefs.h
<<\_ACEOF
44197 #define HAVE_DLERROR 1
44210 if test "$HAVE_DL_FUNCS" = 0; then
44211 if test "$HAVE_SHL_FUNCS" = 0; then
44212 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44213 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44214 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44215 wxUSE_DYNAMIC_LOADER
=no
44216 wxUSE_DYNLIB_CLASS
=no
44218 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44219 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44226 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44227 cat >>confdefs.h
<<\_ACEOF
44228 #define wxUSE_DYNAMIC_LOADER 1
44232 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44233 cat >>confdefs.h
<<\_ACEOF
44234 #define wxUSE_DYNLIB_CLASS 1
44241 if test "$wxUSE_PLUGINS" = "yes" ; then
44242 if test "$wxUSE_SHARED" = "no" ; then
44243 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44244 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44247 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44248 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44249 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44252 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44253 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44254 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44257 if test "$wxUSE_PLUGINS" = "yes" ; then
44258 cat >>confdefs.h
<<\_ACEOF
44259 #define wxUSE_PLUGINS 1
44266 if test "$wxUSE_STL" = "yes"; then
44267 cat >>confdefs.h
<<\_ACEOF
44268 #define wxUSE_STL 1
44273 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44274 cat >>confdefs.h
<<\_ACEOF
44275 #define wxUSE_EXTENDED_RTTI 1
44280 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44281 cat >>confdefs.h
<<\_ACEOF
44282 #define wxUSE_APPLE_IEEE 1
44287 if test "$wxUSE_TIMER" = "yes"; then
44288 cat >>confdefs.h
<<\_ACEOF
44289 #define wxUSE_TIMER 1
44294 if test "$USE_UNIX" = 1 ; then
44295 if test "$wxUSE_MGL" != 1; then
44296 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44297 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44298 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44299 echo $ECHO_N "(cached) $ECHO_C" >&6
44302 cat >conftest.
$ac_ext <<_ACEOF
44305 cat confdefs.h
>>conftest.
$ac_ext
44306 cat >>conftest.
$ac_ext <<_ACEOF
44307 /* end confdefs.h. */
44309 #include <sys/ioctl.h>
44310 #include <sys/soundcard.h>
44316 ioctl(0, SNDCTL_DSP_SPEED, 0);
44322 rm -f conftest.
$ac_objext conftest
$ac_exeext
44323 if { (ac_try
="$ac_link"
44324 case "(($ac_try" in
44325 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44326 *) ac_try_echo=$ac_try;;
44328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44329 (eval "$ac_link") 2>conftest.er1
44331 grep -v '^ *+' conftest.er1 >conftest.err
44333 cat conftest.err >&5
44334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44335 (exit $ac_status); } && {
44336 test -z "$ac_c_werror_flag" ||
44337 test ! -s conftest.err
44338 } && test -s conftest$ac_exeext &&
44339 $as_test_x conftest$ac_exeext; then
44340 ac_cv_header_sys_soundcard=yes
44342 echo "$as_me: failed program was:" >&5
44343 sed 's/^/| /' conftest.$ac_ext >&5
44347 LIBS="$saveLibs -lossaudio"
44348 cat >conftest.$ac_ext <<_ACEOF
44351 cat confdefs.h >>conftest.$ac_ext
44352 cat >>conftest.$ac_ext <<_ACEOF
44353 /* end confdefs.h. */
44355 #include <sys/ioctl.h>
44356 #include <sys/soundcard.h>
44362 ioctl(0, SNDCTL_DSP_SPEED, 0);
44368 rm -f conftest.$ac_objext conftest$ac_exeext
44369 if { (ac_try="$ac_link"
44370 case "(($ac_try" in
44371 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44372 *) ac_try_echo
=$ac_try;;
44374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44375 (eval "$ac_link") 2>conftest.er1
44377 grep -v '^ *+' conftest.er1
>conftest.err
44379 cat conftest.err
>&5
44380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44381 (exit $ac_status); } && {
44382 test -z "$ac_c_werror_flag" ||
44383 test ! -s conftest.err
44384 } && test -s conftest
$ac_exeext &&
44385 $as_test_x conftest
$ac_exeext; then
44386 ac_cv_header_sys_soundcard
=yes
44388 echo "$as_me: failed program was:" >&5
44389 sed 's/^/| /' conftest.
$ac_ext >&5
44393 ac_cv_header_sys_soundcard
=no
44398 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44399 conftest
$ac_exeext conftest.
$ac_ext
44404 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44405 conftest
$ac_exeext conftest.
$ac_ext
44408 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44409 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44412 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44413 cat >>confdefs.h
<<\_ACEOF
44414 #define HAVE_SYS_SOUNDCARD_H 1
44421 if test "$wxUSE_SOUND" = "yes"; then
44422 if test "$USE_UNIX" = 1 ; then
44423 if test "$wxUSE_LIBSDL" != "no"; then
44425 # Check whether --with-sdl-prefix was given.
44426 if test "${with_sdl_prefix+set}" = set; then
44427 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
44433 # Check whether --with-sdl-exec-prefix was given.
44434 if test "${with_sdl_exec_prefix+set}" = set; then
44435 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
44440 # Check whether --enable-sdltest was given.
44441 if test "${enable_sdltest+set}" = set; then
44442 enableval
=$enable_sdltest;
44448 if test x
$sdl_exec_prefix != x
; then
44449 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
44450 if test x
${SDL_CONFIG+set} != xset
; then
44451 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
44454 if test x
$sdl_prefix != x
; then
44455 sdl_args
="$sdl_args --prefix=$sdl_prefix"
44456 if test x
${SDL_CONFIG+set} != xset
; then
44457 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
44461 if test "x$prefix" != xNONE
; then
44462 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
44464 # Extract the first word of "sdl-config", so it can be a program name with args.
44465 set dummy sdl
-config; ac_word
=$2
44466 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44468 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44469 echo $ECHO_N "(cached) $ECHO_C" >&6
44471 case $SDL_CONFIG in
44473 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
44476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44477 for as_dir
in $PATH
44480 test -z "$as_dir" && as_dir
=.
44481 for ac_exec_ext
in '' $ac_executable_extensions; do
44482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44483 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44491 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
44495 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
44496 if test -n "$SDL_CONFIG"; then
44497 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44498 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44500 { echo "$as_me:$LINENO: result: no" >&5
44501 echo "${ECHO_T}no" >&6; }
44505 min_sdl_version
=1.2.0
44506 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44507 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44509 if test "$SDL_CONFIG" = "no" ; then
44512 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
44513 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
44515 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
44516 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44517 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
44518 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44519 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
44520 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44521 if test "x$enable_sdltest" = "xyes" ; then
44522 ac_save_CFLAGS
="$CFLAGS"
44523 ac_save_CXXFLAGS
="$CXXFLAGS"
44524 ac_save_LIBS
="$LIBS"
44525 CFLAGS
="$CFLAGS $SDL_CFLAGS"
44526 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
44527 LIBS
="$LIBS $SDL_LIBS"
44529 if test "$cross_compiling" = yes; then
44530 echo $ac_n "cross compiling; assumed OK... $ac_c"
44532 cat >conftest.
$ac_ext <<_ACEOF
44535 cat confdefs.h
>>conftest.
$ac_ext
44536 cat >>conftest.
$ac_ext <<_ACEOF
44537 /* end confdefs.h. */
44540 #include <stdlib.h>
44541 #include <string.h>
44545 my_strdup (char *str)
44551 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44552 strcpy (new_str, str);
44560 int main (int argc, char *argv[])
44562 int major, minor, micro;
44565 /* This hangs on some systems (?)
44566 system ("touch conf.sdltest");
44568 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44570 /* HP/UX 9 (%@#!) writes to sscanf strings */
44571 tmp_version = my_strdup("$min_sdl_version");
44572 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44573 printf("%s, bad version string\n", "$min_sdl_version");
44577 if (($sdl_major_version > major) ||
44578 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44579 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44585 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44586 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44587 printf("*** best to upgrade to the required version.\n");
44588 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44589 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44590 printf("*** config.cache before re-running configure\n");
44597 rm -f conftest
$ac_exeext
44598 if { (ac_try
="$ac_link"
44599 case "(($ac_try" in
44600 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44601 *) ac_try_echo=$ac_try;;
44603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44604 (eval "$ac_link") 2>&5
44606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44607 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44608 { (case "(($ac_try" in
44609 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44610 *) ac_try_echo
=$ac_try;;
44612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44613 (eval "$ac_try") 2>&5
44615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44616 (exit $ac_status); }; }; then
44619 echo "$as_me: program exited with status $ac_status" >&5
44620 echo "$as_me: failed program was:" >&5
44621 sed 's/^/| /' conftest.
$ac_ext >&5
44623 ( exit $ac_status )
44626 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
44630 CFLAGS
="$ac_save_CFLAGS"
44631 CXXFLAGS
="$ac_save_CXXFLAGS"
44632 LIBS
="$ac_save_LIBS"
44635 if test "x$no_sdl" = x
; then
44636 { echo "$as_me:$LINENO: result: yes" >&5
44637 echo "${ECHO_T}yes" >&6; }
44639 EXTRALIBS_SDL
="$SDL_LIBS"
44640 CFLAGS
="$SDL_CFLAGS $CFLAGS"
44641 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
44642 cat >>confdefs.h
<<\_ACEOF
44643 #define wxUSE_LIBSDL 1
44648 { echo "$as_me:$LINENO: result: no" >&5
44649 echo "${ECHO_T}no" >&6; }
44650 if test "$SDL_CONFIG" = "no" ; then
44651 echo "*** The sdl-config script installed by SDL could not be found"
44652 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44653 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44654 echo "*** full path to sdl-config."
44656 if test -f conf.sdltest
; then
44659 echo "*** Could not run SDL test program, checking why..."
44660 CFLAGS
="$CFLAGS $SDL_CFLAGS"
44661 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
44662 LIBS
="$LIBS $SDL_LIBS"
44663 cat >conftest.
$ac_ext <<_ACEOF
44666 cat confdefs.h
>>conftest.
$ac_ext
44667 cat >>conftest.
$ac_ext <<_ACEOF
44668 /* end confdefs.h. */
44673 int main(int argc, char *argv[])
44676 #define main K_and_R_C_main
44686 rm -f conftest.
$ac_objext conftest
$ac_exeext
44687 if { (ac_try
="$ac_link"
44688 case "(($ac_try" in
44689 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44690 *) ac_try_echo=$ac_try;;
44692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44693 (eval "$ac_link") 2>conftest.er1
44695 grep -v '^ *+' conftest.er1 >conftest.err
44697 cat conftest.err >&5
44698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44699 (exit $ac_status); } && {
44700 test -z "$ac_c_werror_flag" ||
44701 test ! -s conftest.err
44702 } && test -s conftest$ac_exeext &&
44703 $as_test_x conftest$ac_exeext; then
44704 echo "*** The test program compiled, but did not run. This usually means"
44705 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44706 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44707 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44708 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44709 echo "*** is required on your system"
44711 echo "*** If you have an old version installed, it is best to remove it, although"
44712 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44714 echo "$as_me: failed program was:" >&5
44715 sed 's/^/| /' conftest.$ac_ext >&5
44717 echo "*** The test program failed to compile or link. See the file config.log for the"
44718 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44719 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44720 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44724 conftest$ac_exeext conftest.$ac_ext
44725 CFLAGS="$ac_save_CFLAGS"
44726 CXXFLAGS="$ac_save_CXXFLAGS"
44727 LIBS="$ac_save_LIBS"
44738 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44743 if test "$wxUSE_MGL" = 1; then
44744 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44745 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44751 if test "$wxUSE_SOUND" = "yes"; then
44752 cat >>confdefs.h <<\_ACEOF
44753 #define wxUSE_SOUND 1
44756 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44759 if test "$WXGTK2" = 1; then
44762 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44763 if test -n "$ac_tool_prefix"; then
44764 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44765 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44766 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44768 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44769 echo $ECHO_N "(cached) $ECHO_C" >&6
44771 case $PKG_CONFIG in
44773 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44777 for as_dir in $PATH
44780 test -z "$as_dir" && as_dir=.
44781 for ac_exec_ext in '' $ac_executable_extensions; do
44782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44783 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44794 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44795 if test -n "$PKG_CONFIG"; then
44796 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44797 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44799 { echo "$as_me:$LINENO: result: no" >&5
44800 echo "${ECHO_T}no" >&6; }
44805 if test -z "$ac_cv_path_PKG_CONFIG"; then
44806 ac_pt_PKG_CONFIG=$PKG_CONFIG
44807 # Extract the first word of "pkg-config", so it can be a program name with args.
44808 set dummy pkg-config; ac_word=$2
44809 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44811 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44812 echo $ECHO_N "(cached) $ECHO_C" >&6
44814 case $ac_pt_PKG_CONFIG in
44816 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44820 for as_dir in $PATH
44823 test -z "$as_dir" && as_dir=.
44824 for ac_exec_ext in '' $ac_executable_extensions; do
44825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44826 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44837 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44838 if test -n "$ac_pt_PKG_CONFIG"; then
44839 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44840 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44842 { echo "$as_me:$LINENO: result: no" >&5
44843 echo "${ECHO_T}no" >&6; }
44846 if test "x$ac_pt_PKG_CONFIG" = x; then
44849 case $cross_compiling:$ac_tool_warned in
44851 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44852 whose name does not start with the host triplet. If you think this
44853 configuration is useful to you, please write to autoconf@gnu.org." >&5
44854 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44855 whose name does not start with the host triplet. If you think this
44856 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44857 ac_tool_warned=yes ;;
44859 PKG_CONFIG=$ac_pt_PKG_CONFIG
44862 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44866 if test -n "$PKG_CONFIG"; then
44867 _pkg_min_version=0.9.0
44868 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44869 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44870 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44871 { echo "$as_me:$LINENO: result: yes" >&5
44872 echo "${ECHO_T}yes" >&6; }
44874 { echo "$as_me:$LINENO: result: no" >&5
44875 echo "${ECHO_T}no" >&6; }
44881 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44883 if test "$wxUSE_GTKPRINT" = "yes" ; then
44887 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44888 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44890 if test -n "$PKG_CONFIG"; then
44891 if test -n "$GTKPRINT_CFLAGS"; then
44892 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44894 if test -n "$PKG_CONFIG" && \
44895 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44896 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44899 (exit $ac_status); }; then
44900 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
44908 if test -n "$PKG_CONFIG"; then
44909 if test -n "$GTKPRINT_LIBS"; then
44910 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44912 if test -n "$PKG_CONFIG" && \
44913 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44914 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44917 (exit $ac_status); }; then
44918 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
44929 if test $pkg_failed = yes; then
44931 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44932 _pkg_short_errors_supported=yes
44934 _pkg_short_errors_supported=no
44936 if test $_pkg_short_errors_supported = yes; then
44937 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44939 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44941 # Put the nasty error message in config.log where it belongs
44942 echo "$GTKPRINT_PKG_ERRORS" >&5
44945 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44946 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44947 wxUSE_GTKPRINT="no"
44950 elif test $pkg_failed = untried; then
44952 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44953 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44954 wxUSE_GTKPRINT="no"
44958 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44959 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44960 { echo "$as_me:$LINENO: result: yes" >&5
44961 echo "${ECHO_T}yes" >&6; }
44963 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44964 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44965 cat >>confdefs.h <<\_ACEOF
44966 #define wxUSE_GTKPRINT 1
44973 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44977 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44978 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44980 if test -n "$PKG_CONFIG"; then
44981 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44982 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44984 if test -n "$PKG_CONFIG" && \
44985 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44986 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44989 (exit $ac_status); }; then
44990 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
44998 if test -n "$PKG_CONFIG"; then
44999 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45000 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45002 if test -n "$PKG_CONFIG" && \
45003 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45004 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45007 (exit $ac_status); }; then
45008 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
45019 if test $pkg_failed = yes; then
45021 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45022 _pkg_short_errors_supported=yes
45024 _pkg_short_errors_supported=no
45026 if test $_pkg_short_errors_supported = yes; then
45027 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45029 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45031 # Put the nasty error message in config.log where it belongs
45032 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45035 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45036 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45037 wxUSE_LIBGNOMEPRINT="no"
45040 elif test $pkg_failed = untried; then
45042 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45043 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45044 wxUSE_LIBGNOMEPRINT="no"
45048 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45049 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45050 { echo "$as_me:$LINENO: result: yes" >&5
45051 echo "${ECHO_T}yes" >&6; }
45053 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45054 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45055 cat >>confdefs.h <<\_ACEOF
45056 #define wxUSE_LIBGNOMEPRINT 1
45064 if test "$wxUSE_MIMETYPE" = "yes" ; then
45065 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45069 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45070 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45072 if test -n "$PKG_CONFIG"; then
45073 if test -n "$GNOMEVFS_CFLAGS"; then
45074 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45076 if test -n "$PKG_CONFIG" && \
45077 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45078 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45081 (exit $ac_status); }; then
45082 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
45090 if test -n "$PKG_CONFIG"; then
45091 if test -n "$GNOMEVFS_LIBS"; then
45092 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45094 if test -n "$PKG_CONFIG" && \
45095 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45096 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45099 (exit $ac_status); }; then
45100 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
45111 if test $pkg_failed = yes; then
45113 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45114 _pkg_short_errors_supported=yes
45116 _pkg_short_errors_supported=no
45118 if test $_pkg_short_errors_supported = yes; then
45119 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45121 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45123 # Put the nasty error message in config.log where it belongs
45124 echo "$GNOMEVFS_PKG_ERRORS" >&5
45127 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45128 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45129 wxUSE_LIBGNOMEVFS="no"
45132 elif test $pkg_failed = untried; then
45134 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45135 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45136 wxUSE_LIBGNOMEVFS="no"
45140 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45141 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45142 { echo "$as_me:$LINENO: result: yes" >&5
45143 echo "${ECHO_T}yes" >&6; }
45145 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45146 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45147 cat >>confdefs.h <<\_ACEOF
45148 #define wxUSE_LIBGNOMEVFS 1
45156 if test "$wxUSE_LIBHILDON" = "yes" ; then
45159 { echo "$as_me:$LINENO: checking for HILDON" >&5
45160 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45162 if test -n "$PKG_CONFIG"; then
45163 if test -n "$HILDON_CFLAGS"; then
45164 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45166 if test -n "$PKG_CONFIG" && \
45167 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45168 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45171 (exit $ac_status); }; then
45172 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev
/null
`
45180 if test -n "$PKG_CONFIG"; then
45181 if test -n "$HILDON_LIBS"; then
45182 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45184 if test -n "$PKG_CONFIG" && \
45185 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45186 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45189 (exit $ac_status); }; then
45190 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev
/null
`
45201 if test $pkg_failed = yes; then
45203 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45204 _pkg_short_errors_supported=yes
45206 _pkg_short_errors_supported=no
45208 if test $_pkg_short_errors_supported = yes; then
45209 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45211 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45213 # Put the nasty error message in config.log where it belongs
45214 echo "$HILDON_PKG_ERRORS" >&5
45217 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45218 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45219 wxUSE_LIBHILDON="no"
45222 elif test $pkg_failed = untried; then
45224 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45225 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45226 wxUSE_LIBHILDON="no"
45230 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45231 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45232 { echo "$as_me:$LINENO: result: yes" >&5
45233 echo "${ECHO_T}yes" >&6; }
45235 EXTRALIBS_HILDON="$HILDON_LIBS"
45236 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45237 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45238 cat >>confdefs.h <<\_ACEOF
45239 #define wxUSE_LIBHILDON 1
45247 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45248 cat >>confdefs.h <<\_ACEOF
45249 #define wxUSE_CMDLINE_PARSER 1
45254 if test "$wxUSE_STOPWATCH" = "yes"; then
45255 cat >>confdefs.h <<\_ACEOF
45256 #define wxUSE_STOPWATCH 1
45261 if test "$wxUSE_DATETIME" = "yes"; then
45262 cat >>confdefs.h <<\_ACEOF
45263 #define wxUSE_DATETIME 1
45268 if test "$wxUSE_FILE" = "yes"; then
45269 cat >>confdefs.h <<\_ACEOF
45270 #define wxUSE_FILE 1
45275 if test "$wxUSE_FFILE" = "yes"; then
45276 cat >>confdefs.h <<\_ACEOF
45277 #define wxUSE_FFILE 1
45282 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45283 if test "$wxUSE_STREAMS" != yes; then
45284 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45285 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45286 wxUSE_ARCHIVE_STREAMS=no
45288 cat >>confdefs.h <<\_ACEOF
45289 #define wxUSE_ARCHIVE_STREAMS 1
45295 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45296 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45297 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45298 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45299 elif test "$wxUSE_ZLIB" = "no"; then
45300 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45301 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45303 cat >>confdefs.h <<\_ACEOF
45304 #define wxUSE_ZIPSTREAM 1
45310 if test "$wxUSE_TARSTREAM" = "yes"; then
45311 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45312 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45313 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45315 cat >>confdefs.h <<\_ACEOF
45316 #define wxUSE_TARSTREAM 1
45322 if test "$wxUSE_FILESYSTEM" = "yes"; then
45323 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45324 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45325 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45326 wxUSE_FILESYSTEM=no
45328 cat >>confdefs.h <<\_ACEOF
45329 #define wxUSE_FILESYSTEM 1
45335 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45336 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45337 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45338 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45340 cat >>confdefs.h <<\_ACEOF
45341 #define wxUSE_FS_ARCHIVE 1
45347 if test "$wxUSE_FS_ZIP" = "yes"; then
45348 if test "$wxUSE_FS_ARCHIVE" != yes; then
45349 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45350 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45352 cat >>confdefs.h <<\_ACEOF
45353 #define wxUSE_FS_ZIP 1
45359 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45360 if test "$USE_UNIX" != 1; then
45361 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45362 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45363 wxUSE_ON_FATAL_EXCEPTION=no
45365 cat >>confdefs.h <<\_ACEOF
45366 #define wxUSE_ON_FATAL_EXCEPTION 1
45372 if test "$wxUSE_STACKWALKER" = "yes"; then
45373 cat >>confdefs.h <<\_ACEOF
45374 #define wxUSE_STACKWALKER 1
45379 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45380 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
45381 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45382 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45383 wxUSE_DEBUGREPORT=no
45385 cat >>confdefs.h <<\_ACEOF
45386 #define wxUSE_DEBUGREPORT 1
45389 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45395 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45396 cat >>confdefs.h <<\_ACEOF
45397 #define wxUSE_SNGLINST_CHECKER 1
45402 if test "$wxUSE_BUSYINFO" = "yes"; then
45403 cat >>confdefs.h <<\_ACEOF
45404 #define wxUSE_BUSYINFO 1
45409 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45410 cat >>confdefs.h <<\_ACEOF
45411 #define wxUSE_STD_IOSTREAM 1
45416 if test "$wxUSE_STD_STRING" = "yes"; then
45417 cat >>confdefs.h <<\_ACEOF
45418 #define wxUSE_STD_STRING 1
45423 if test "$wxUSE_STDPATHS" = "yes"; then
45424 cat >>confdefs.h <<\_ACEOF
45425 #define wxUSE_STDPATHS 1
45430 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45431 cat >>confdefs.h <<\_ACEOF
45432 #define wxUSE_TEXTBUFFER 1
45437 if test "$wxUSE_TEXTFILE" = "yes"; then
45438 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45439 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45440 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45442 cat >>confdefs.h <<\_ACEOF
45443 #define wxUSE_TEXTFILE 1
45449 if test "$wxUSE_CONFIG" = "yes" ; then
45450 if test "$wxUSE_TEXTFILE" != "yes"; then
45451 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45452 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45454 cat >>confdefs.h <<\_ACEOF
45455 #define wxUSE_CONFIG 1
45458 cat >>confdefs.h <<\_ACEOF
45459 #define wxUSE_CONFIG_NATIVE 1
45462 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45466 if test "$wxUSE_INTL" = "yes" ; then
45467 if test "$wxUSE_FILE" != "yes"; then
45468 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45469 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45471 cat >>confdefs.h <<\_ACEOF
45472 #define wxUSE_INTL 1
45475 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45476 GUIDIST="$GUIDIST INTL_DIST"
45480 if test "$wxUSE_LOG" = "yes"; then
45481 cat >>confdefs.h <<\_ACEOF
45482 #define wxUSE_LOG 1
45486 if test "$wxUSE_LOGGUI" = "yes"; then
45487 cat >>confdefs.h <<\_ACEOF
45488 #define wxUSE_LOGGUI 1
45493 if test "$wxUSE_LOGWINDOW" = "yes"; then
45494 cat >>confdefs.h <<\_ACEOF
45495 #define wxUSE_LOGWINDOW 1
45500 if test "$wxUSE_LOGDIALOG" = "yes"; then
45501 cat >>confdefs.h <<\_ACEOF
45502 #define wxUSE_LOG_DIALOG 1
45507 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45510 if test "$wxUSE_LONGLONG" = "yes"; then
45511 cat >>confdefs.h <<\_ACEOF
45512 #define wxUSE_LONGLONG 1
45517 if test "$wxUSE_GEOMETRY" = "yes"; then
45518 cat >>confdefs.h <<\_ACEOF
45519 #define wxUSE_GEOMETRY 1
45524 if test "$wxUSE_BASE64" = "yes"; then
45525 cat >>confdefs.h <<\_ACEOF
45526 #define wxUSE_BASE64 1
45531 if test "$wxUSE_STREAMS" = "yes" ; then
45532 cat >>confdefs.h <<\_ACEOF
45533 #define wxUSE_STREAMS 1
45538 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45539 cat >>confdefs.h <<\_ACEOF
45540 #define wxUSE_PRINTF_POS_PARAMS 1
45545 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45546 cat >>confdefs.h <<\_ACEOF
45547 #define wxUSE_OBJC_UNIQUIFYING 1
45553 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45554 cat >>confdefs.h <<\_ACEOF
45555 #define wxUSE_CONSOLE_EVENTLOOP 1
45559 if test "$wxUSE_UNIX" = "yes"; then
45560 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45561 cat >>confdefs.h <<\_ACEOF
45562 #define wxUSE_SELECT_DISPATCHER 1
45567 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45569 for ac_header in sys/epoll.h
45571 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45572 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45574 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45575 echo $ECHO_N "(cached) $ECHO_C" >&6
45577 cat >conftest.$ac_ext <<_ACEOF
45580 cat confdefs.h >>conftest.$ac_ext
45581 cat >>conftest.$ac_ext <<_ACEOF
45582 /* end confdefs.h. */
45583 $ac_includes_default
45585 #include <$ac_header>
45587 rm -f conftest.$ac_objext
45588 if { (ac_try="$ac_compile"
45589 case "(($ac_try" in
45590 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45591 *) ac_try_echo
=$ac_try;;
45593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45594 (eval "$ac_compile") 2>conftest.er1
45596 grep -v '^ *+' conftest.er1
>conftest.err
45598 cat conftest.err
>&5
45599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45600 (exit $ac_status); } && {
45601 test -z "$ac_c_werror_flag" ||
45602 test ! -s conftest.err
45603 } && test -s conftest.
$ac_objext; then
45604 eval "$as_ac_Header=yes"
45606 echo "$as_me: failed program was:" >&5
45607 sed 's/^/| /' conftest.
$ac_ext >&5
45609 eval "$as_ac_Header=no"
45612 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45614 ac_res
=`eval echo '${'$as_ac_Header'}'`
45615 { echo "$as_me:$LINENO: result: $ac_res" >&5
45616 echo "${ECHO_T}$ac_res" >&6; }
45617 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45618 cat >>confdefs.h
<<_ACEOF
45619 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45626 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45627 cat >>confdefs.h
<<\_ACEOF
45628 #define wxUSE_EPOLL_DISPATCHER 1
45632 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45633 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45642 for ac_func
in gettimeofday ftime
45644 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45645 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45647 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45648 echo $ECHO_N "(cached) $ECHO_C" >&6
45650 cat >conftest.
$ac_ext <<_ACEOF
45653 cat confdefs.h
>>conftest.
$ac_ext
45654 cat >>conftest.
$ac_ext <<_ACEOF
45655 /* end confdefs.h. */
45656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45658 #define $ac_func innocuous_$ac_func
45660 /* System header to define __stub macros and hopefully few prototypes,
45661 which can conflict with char $ac_func (); below.
45662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45663 <limits.h> exists even on freestanding compilers. */
45666 # include <limits.h>
45668 # include <assert.h>
45673 /* Override any GCC internal prototype to avoid an error.
45674 Use char because int might match the return type of a GCC
45675 builtin and then its argument prototype would still apply. */
45680 /* The GNU C library defines this for functions which it implements
45681 to always fail with ENOSYS. Some functions are actually named
45682 something starting with __ and the normal name is an alias. */
45683 #if defined __stub_$ac_func || defined __stub___$ac_func
45690 return $ac_func ();
45695 rm -f conftest.
$ac_objext conftest
$ac_exeext
45696 if { (ac_try
="$ac_link"
45697 case "(($ac_try" in
45698 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45699 *) ac_try_echo=$ac_try;;
45701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45702 (eval "$ac_link") 2>conftest.er1
45704 grep -v '^ *+' conftest.er1 >conftest.err
45706 cat conftest.err >&5
45707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45708 (exit $ac_status); } && {
45709 test -z "$ac_c_werror_flag" ||
45710 test ! -s conftest.err
45711 } && test -s conftest$ac_exeext &&
45712 $as_test_x conftest$ac_exeext; then
45713 eval "$as_ac_var=yes"
45715 echo "$as_me: failed program was:" >&5
45716 sed 's/^/| /' conftest.$ac_ext >&5
45718 eval "$as_ac_var=no"
45721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45722 conftest$ac_exeext conftest.$ac_ext
45724 ac_res=`eval echo '${'$as_ac_var'}'`
45725 { echo "$as_me:$LINENO: result: $ac_res" >&5
45726 echo "${ECHO_T}$ac_res" >&6; }
45727 if test `eval echo '${'$as_ac_var'}'` = yes; then
45728 cat >>confdefs.h <<_ACEOF
45729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45736 if test "$ac_cv_func_gettimeofday" = "yes"; then
45737 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45738 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45739 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45740 echo $ECHO_N "(cached) $ECHO_C" >&6
45743 cat >conftest.$ac_ext <<_ACEOF
45746 cat confdefs.h >>conftest.$ac_ext
45747 cat >>conftest.$ac_ext <<_ACEOF
45748 /* end confdefs.h. */
45750 #include <sys/time.h>
45751 #include <unistd.h>
45758 gettimeofday(&tv, NULL);
45764 rm -f conftest.$ac_objext
45765 if { (ac_try="$ac_compile"
45766 case "(($ac_try" in
45767 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45768 *) ac_try_echo
=$ac_try;;
45770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45771 (eval "$ac_compile") 2>conftest.er1
45773 grep -v '^ *+' conftest.er1
>conftest.err
45775 cat conftest.err
>&5
45776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45777 (exit $ac_status); } && {
45778 test -z "$ac_c_werror_flag" ||
45779 test ! -s conftest.err
45780 } && test -s conftest.
$ac_objext; then
45781 wx_cv_func_gettimeofday_has_2_args
=yes
45783 echo "$as_me: failed program was:" >&5
45784 sed 's/^/| /' conftest.
$ac_ext >&5
45786 cat >conftest.
$ac_ext <<_ACEOF
45789 cat confdefs.h
>>conftest.
$ac_ext
45790 cat >>conftest.
$ac_ext <<_ACEOF
45791 /* end confdefs.h. */
45793 #include <sys/time.h>
45794 #include <unistd.h>
45807 rm -f conftest.
$ac_objext
45808 if { (ac_try
="$ac_compile"
45809 case "(($ac_try" in
45810 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45811 *) ac_try_echo=$ac_try;;
45813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45814 (eval "$ac_compile") 2>conftest.er1
45816 grep -v '^ *+' conftest.er1 >conftest.err
45818 cat conftest.err >&5
45819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45820 (exit $ac_status); } && {
45821 test -z "$ac_c_werror_flag" ||
45822 test ! -s conftest.err
45823 } && test -s conftest.$ac_objext; then
45824 wx_cv_func_gettimeofday_has_2_args=no
45826 echo "$as_me: failed program was:" >&5
45827 sed 's/^/| /' conftest.$ac_ext >&5
45830 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45831 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45832 wx_cv_func_gettimeofday_has_2_args=unknown
45837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45844 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45845 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45847 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45848 cat >>confdefs.h <<\_ACEOF
45849 #define WX_GETTIMEOFDAY_NO_TZ 1
45855 if test "$wxUSE_DATETIME" = "yes"; then
45856 { echo "$as_me:$LINENO: checking for strptime" >&5
45857 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45858 if test "${ac_cv_func_strptime+set}" = set; then
45859 echo $ECHO_N "(cached) $ECHO_C" >&6
45861 cat >conftest.$ac_ext <<_ACEOF
45864 cat confdefs.h >>conftest.$ac_ext
45865 cat >>conftest.$ac_ext <<_ACEOF
45866 /* end confdefs.h. */
45867 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45869 #define strptime innocuous_strptime
45871 /* System header to define __stub macros and hopefully few prototypes,
45872 which can conflict with char strptime (); below.
45873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45874 <limits.h> exists even on freestanding compilers. */
45877 # include <limits.h>
45879 # include <assert.h>
45884 /* Override any GCC internal prototype to avoid an error.
45885 Use char because int might match the return type of a GCC
45886 builtin and then its argument prototype would still apply. */
45891 /* The GNU C library defines this for functions which it implements
45892 to always fail with ENOSYS. Some functions are actually named
45893 something starting with __ and the normal name is an alias. */
45894 #if defined __stub_strptime || defined __stub___strptime
45901 return strptime ();
45906 rm -f conftest.$ac_objext conftest$ac_exeext
45907 if { (ac_try="$ac_link"
45908 case "(($ac_try" in
45909 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45910 *) ac_try_echo
=$ac_try;;
45912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45913 (eval "$ac_link") 2>conftest.er1
45915 grep -v '^ *+' conftest.er1
>conftest.err
45917 cat conftest.err
>&5
45918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45919 (exit $ac_status); } && {
45920 test -z "$ac_c_werror_flag" ||
45921 test ! -s conftest.err
45922 } && test -s conftest
$ac_exeext &&
45923 $as_test_x conftest
$ac_exeext; then
45924 ac_cv_func_strptime
=yes
45926 echo "$as_me: failed program was:" >&5
45927 sed 's/^/| /' conftest.
$ac_ext >&5
45929 ac_cv_func_strptime
=no
45932 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45933 conftest
$ac_exeext conftest.
$ac_ext
45935 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
45936 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
45938 if test "$ac_cv_func_strptime" = "yes"; then
45939 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
45940 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
45941 if test "${wx_cv_func_strptime_decl+set}" = set; then
45942 echo $ECHO_N "(cached) $ECHO_C" >&6
45946 ac_cpp
='$CXXCPP $CPPFLAGS'
45947 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45948 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45949 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45951 cat >conftest.
$ac_ext <<_ACEOF
45954 cat confdefs.h
>>conftest.
$ac_ext
45955 cat >>conftest.
$ac_ext <<_ACEOF
45956 /* end confdefs.h. */
45965 strptime("foo", "bar", &t);
45971 rm -f conftest.
$ac_objext
45972 if { (ac_try
="$ac_compile"
45973 case "(($ac_try" in
45974 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45975 *) ac_try_echo=$ac_try;;
45977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45978 (eval "$ac_compile") 2>conftest.er1
45980 grep -v '^ *+' conftest.er1 >conftest.err
45982 cat conftest.err >&5
45983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45984 (exit $ac_status); } && {
45985 test -z "$ac_cxx_werror_flag" ||
45986 test ! -s conftest.err
45987 } && test -s conftest.$ac_objext; then
45988 wx_cv_func_strptime_decl=yes
45990 echo "$as_me: failed program was:" >&5
45991 sed 's/^/| /' conftest.$ac_ext >&5
45993 wx_cv_func_strptime_decl=no
45997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45999 ac_cpp='$CPP $CPPFLAGS'
46000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46007 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46008 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46010 if test "$wx_cv_func_strptime_decl" = "yes"; then
46011 cat >>confdefs.h <<\_ACEOF
46012 #define HAVE_STRPTIME_DECL 1
46016 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46018 if test "$ac_cv_func_strptime" = "yes"; then
46019 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46020 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46021 if test "${wx_cv_func_strptime_ok+set}" = set; then
46022 echo $ECHO_N "(cached) $ECHO_C" >&6
46024 if test "$cross_compiling" = yes; then
46025 wx_cv_func_strptime_ok=no
46028 cat >conftest.$ac_ext <<_ACEOF
46030 #include <stdlib.h>
46032 #include "confdefs.h"
46039 return !!strptime("", "%x", &t);
46043 rm -f conftest$ac_exeext
46044 if { (ac_try="$ac_link"
46045 case "(($ac_try" in
46046 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46047 *) ac_try_echo
=$ac_try;;
46049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46050 (eval "$ac_link") 2>&5
46052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46053 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
46054 { (case "(($ac_try" in
46055 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46056 *) ac_try_echo=$ac_try;;
46058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46059 (eval "$ac_try") 2>&5
46061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46062 (exit $ac_status); }; }; then
46063 wx_cv_func_strptime_ok=yes
46065 echo "$as_me: program exited with status $ac_status" >&5
46066 echo "$as_me: failed program was:" >&5
46067 sed 's/^/| /' conftest.$ac_ext >&5
46069 ( exit $ac_status )
46070 wx_cv_func_strptime_ok=no
46072 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46078 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46079 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46081 if test "$wx_cv_func_strptime_ok" = "yes"; then
46082 cat >>confdefs.h <<\_ACEOF
46083 #define HAVE_STRPTIME 1
46089 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46090 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46091 if test "${wx_cv_var_timezone+set}" = set; then
46092 echo $ECHO_N "(cached) $ECHO_C" >&6
46096 ac_cpp='$CXXCPP $CPPFLAGS'
46097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46101 cat >conftest.$ac_ext <<_ACEOF
46104 cat confdefs.h >>conftest.$ac_ext
46105 cat >>conftest.$ac_ext <<_ACEOF
46106 /* end confdefs.h. */
46121 rm -f conftest.$ac_objext
46122 if { (ac_try="$ac_compile"
46123 case "(($ac_try" in
46124 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46125 *) ac_try_echo
=$ac_try;;
46127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46128 (eval "$ac_compile") 2>conftest.er1
46130 grep -v '^ *+' conftest.er1
>conftest.err
46132 cat conftest.err
>&5
46133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46134 (exit $ac_status); } && {
46135 test -z "$ac_cxx_werror_flag" ||
46136 test ! -s conftest.err
46137 } && test -s conftest.
$ac_objext; then
46139 wx_cv_var_timezone
=timezone
46142 echo "$as_me: failed program was:" >&5
46143 sed 's/^/| /' conftest.
$ac_ext >&5
46146 cat >conftest.
$ac_ext <<_ACEOF
46149 cat confdefs.h
>>conftest.
$ac_ext
46150 cat >>conftest.
$ac_ext <<_ACEOF
46151 /* end confdefs.h. */
46166 rm -f conftest.
$ac_objext
46167 if { (ac_try
="$ac_compile"
46168 case "(($ac_try" in
46169 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46170 *) ac_try_echo=$ac_try;;
46172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46173 (eval "$ac_compile") 2>conftest.er1
46175 grep -v '^ *+' conftest.er1 >conftest.err
46177 cat conftest.err >&5
46178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46179 (exit $ac_status); } && {
46180 test -z "$ac_cxx_werror_flag" ||
46181 test ! -s conftest.err
46182 } && test -s conftest.$ac_objext; then
46184 wx_cv_var_timezone=_timezone
46187 echo "$as_me: failed program was:" >&5
46188 sed 's/^/| /' conftest.$ac_ext >&5
46191 cat >conftest.$ac_ext <<_ACEOF
46194 cat confdefs.h >>conftest.$ac_ext
46195 cat >>conftest.$ac_ext <<_ACEOF
46196 /* end confdefs.h. */
46211 rm -f conftest.$ac_objext
46212 if { (ac_try="$ac_compile"
46213 case "(($ac_try" in
46214 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46215 *) ac_try_echo
=$ac_try;;
46217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46218 (eval "$ac_compile") 2>conftest.er1
46220 grep -v '^ *+' conftest.er1
>conftest.err
46222 cat conftest.err
>&5
46223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46224 (exit $ac_status); } && {
46225 test -z "$ac_cxx_werror_flag" ||
46226 test ! -s conftest.err
46227 } && test -s conftest.
$ac_objext; then
46229 wx_cv_var_timezone
=__timezone
46232 echo "$as_me: failed program was:" >&5
46233 sed 's/^/| /' conftest.
$ac_ext >&5
46236 if test "$USE_DOS" = 0 ; then
46237 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46238 echo "$as_me: WARNING: no timezone variable" >&2;}
46244 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46256 ac_cpp
='$CPP $CPPFLAGS'
46257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46264 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46265 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46267 if test "x$wx_cv_var_timezone" != x
; then
46268 cat >>confdefs.h
<<_ACEOF
46269 #define WX_TIMEZONE $wx_cv_var_timezone
46275 for ac_func
in localtime
46277 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46278 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46280 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46281 echo $ECHO_N "(cached) $ECHO_C" >&6
46283 cat >conftest.
$ac_ext <<_ACEOF
46286 cat confdefs.h
>>conftest.
$ac_ext
46287 cat >>conftest.
$ac_ext <<_ACEOF
46288 /* end confdefs.h. */
46289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46291 #define $ac_func innocuous_$ac_func
46293 /* System header to define __stub macros and hopefully few prototypes,
46294 which can conflict with char $ac_func (); below.
46295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46296 <limits.h> exists even on freestanding compilers. */
46299 # include <limits.h>
46301 # include <assert.h>
46306 /* Override any GCC internal prototype to avoid an error.
46307 Use char because int might match the return type of a GCC
46308 builtin and then its argument prototype would still apply. */
46313 /* The GNU C library defines this for functions which it implements
46314 to always fail with ENOSYS. Some functions are actually named
46315 something starting with __ and the normal name is an alias. */
46316 #if defined __stub_$ac_func || defined __stub___$ac_func
46323 return $ac_func ();
46328 rm -f conftest.
$ac_objext conftest
$ac_exeext
46329 if { (ac_try
="$ac_link"
46330 case "(($ac_try" in
46331 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46332 *) ac_try_echo=$ac_try;;
46334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46335 (eval "$ac_link") 2>conftest.er1
46337 grep -v '^ *+' conftest.er1 >conftest.err
46339 cat conftest.err >&5
46340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46341 (exit $ac_status); } && {
46342 test -z "$ac_c_werror_flag" ||
46343 test ! -s conftest.err
46344 } && test -s conftest$ac_exeext &&
46345 $as_test_x conftest$ac_exeext; then
46346 eval "$as_ac_var=yes"
46348 echo "$as_me: failed program was:" >&5
46349 sed 's/^/| /' conftest.$ac_ext >&5
46351 eval "$as_ac_var=no"
46354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46355 conftest$ac_exeext conftest.$ac_ext
46357 ac_res=`eval echo '${'$as_ac_var'}'`
46358 { echo "$as_me:$LINENO: result: $ac_res" >&5
46359 echo "${ECHO_T}$ac_res" >&6; }
46360 if test `eval echo '${'$as_ac_var'}'` = yes; then
46361 cat >>confdefs.h <<_ACEOF
46362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46369 if test "$ac_cv_func_localtime" = "yes"; then
46370 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46371 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46372 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46373 echo $ECHO_N "(cached) $ECHO_C" >&6
46376 cat >conftest.$ac_ext <<_ACEOF
46379 cat confdefs.h >>conftest.$ac_ext
46380 cat >>conftest.$ac_ext <<_ACEOF
46381 /* end confdefs.h. */
46396 rm -f conftest.$ac_objext
46397 if { (ac_try="$ac_compile"
46398 case "(($ac_try" in
46399 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46400 *) ac_try_echo
=$ac_try;;
46402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46403 (eval "$ac_compile") 2>conftest.er1
46405 grep -v '^ *+' conftest.er1
>conftest.err
46407 cat conftest.err
>&5
46408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46409 (exit $ac_status); } && {
46410 test -z "$ac_c_werror_flag" ||
46411 test ! -s conftest.err
46412 } && test -s conftest.
$ac_objext; then
46414 wx_cv_struct_tm_has_gmtoff
=yes
46417 echo "$as_me: failed program was:" >&5
46418 sed 's/^/| /' conftest.
$ac_ext >&5
46420 wx_cv_struct_tm_has_gmtoff
=no
46424 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46427 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46428 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46431 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46432 cat >>confdefs.h
<<\_ACEOF
46433 #define WX_GMTOFF_IN_TM 1
46438 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
46442 if test "$wxUSE_SOCKETS" = "yes"; then
46443 if test "$wxUSE_MGL" = 1; then
46444 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46445 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46450 if test "$wxUSE_SOCKETS" = "yes"; then
46451 if test "$TOOLKIT" != "MSW"; then
46452 { echo "$as_me:$LINENO: checking for socket" >&5
46453 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46454 if test "${ac_cv_func_socket+set}" = set; then
46455 echo $ECHO_N "(cached) $ECHO_C" >&6
46457 cat >conftest.
$ac_ext <<_ACEOF
46460 cat confdefs.h
>>conftest.
$ac_ext
46461 cat >>conftest.
$ac_ext <<_ACEOF
46462 /* end confdefs.h. */
46463 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46465 #define socket innocuous_socket
46467 /* System header to define __stub macros and hopefully few prototypes,
46468 which can conflict with char socket (); below.
46469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46470 <limits.h> exists even on freestanding compilers. */
46473 # include <limits.h>
46475 # include <assert.h>
46480 /* Override any GCC internal prototype to avoid an error.
46481 Use char because int might match the return type of a GCC
46482 builtin and then its argument prototype would still apply. */
46487 /* The GNU C library defines this for functions which it implements
46488 to always fail with ENOSYS. Some functions are actually named
46489 something starting with __ and the normal name is an alias. */
46490 #if defined __stub_socket || defined __stub___socket
46502 rm -f conftest.
$ac_objext conftest
$ac_exeext
46503 if { (ac_try
="$ac_link"
46504 case "(($ac_try" in
46505 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46506 *) ac_try_echo=$ac_try;;
46508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46509 (eval "$ac_link") 2>conftest.er1
46511 grep -v '^ *+' conftest.er1 >conftest.err
46513 cat conftest.err >&5
46514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46515 (exit $ac_status); } && {
46516 test -z "$ac_c_werror_flag" ||
46517 test ! -s conftest.err
46518 } && test -s conftest$ac_exeext &&
46519 $as_test_x conftest$ac_exeext; then
46520 ac_cv_func_socket=yes
46522 echo "$as_me: failed program was:" >&5
46523 sed 's/^/| /' conftest.$ac_ext >&5
46525 ac_cv_func_socket=no
46528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46529 conftest$ac_exeext conftest.$ac_ext
46531 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46532 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46533 if test $ac_cv_func_socket = yes; then
46537 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46538 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46539 if test "${ac_cv_lib_socket_socket+set}" = set; then
46540 echo $ECHO_N "(cached) $ECHO_C" >&6
46542 ac_check_lib_save_LIBS=$LIBS
46543 LIBS="-lsocket $LIBS"
46544 cat >conftest.$ac_ext <<_ACEOF
46547 cat confdefs.h >>conftest.$ac_ext
46548 cat >>conftest.$ac_ext <<_ACEOF
46549 /* end confdefs.h. */
46551 /* Override any GCC internal prototype to avoid an error.
46552 Use char because int might match the return type of a GCC
46553 builtin and then its argument prototype would still apply. */
46566 rm -f conftest.$ac_objext conftest$ac_exeext
46567 if { (ac_try="$ac_link"
46568 case "(($ac_try" in
46569 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46570 *) ac_try_echo
=$ac_try;;
46572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46573 (eval "$ac_link") 2>conftest.er1
46575 grep -v '^ *+' conftest.er1
>conftest.err
46577 cat conftest.err
>&5
46578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46579 (exit $ac_status); } && {
46580 test -z "$ac_c_werror_flag" ||
46581 test ! -s conftest.err
46582 } && test -s conftest
$ac_exeext &&
46583 $as_test_x conftest
$ac_exeext; then
46584 ac_cv_lib_socket_socket
=yes
46586 echo "$as_me: failed program was:" >&5
46587 sed 's/^/| /' conftest.
$ac_ext >&5
46589 ac_cv_lib_socket_socket
=no
46592 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46593 conftest
$ac_exeext conftest.
$ac_ext
46594 LIBS
=$ac_check_lib_save_LIBS
46596 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46597 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46598 if test $ac_cv_lib_socket_socket = yes; then
46599 if test "$INET_LINK" != " -lsocket"; then
46600 INET_LINK
="$INET_LINK -lsocket"
46604 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46605 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46618 if test "$wxUSE_SOCKETS" = "yes" ; then
46619 if test "$TOOLKIT" != "MSW"; then
46620 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46621 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46622 if test "${wx_cv_type_getsockname3+set}" = set; then
46623 echo $ECHO_N "(cached) $ECHO_C" >&6
46627 ac_cpp
='$CXXCPP $CPPFLAGS'
46628 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46629 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46630 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46632 cat >conftest.
$ac_ext <<_ACEOF
46635 cat confdefs.h
>>conftest.
$ac_ext
46636 cat >>conftest.
$ac_ext <<_ACEOF
46637 /* end confdefs.h. */
46639 #include <sys/types.h>
46640 #include <sys/socket.h>
46647 getsockname(0, 0, &len);
46653 rm -f conftest.
$ac_objext
46654 if { (ac_try
="$ac_compile"
46655 case "(($ac_try" in
46656 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46657 *) ac_try_echo=$ac_try;;
46659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46660 (eval "$ac_compile") 2>conftest.er1
46662 grep -v '^ *+' conftest.er1 >conftest.err
46664 cat conftest.err >&5
46665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46666 (exit $ac_status); } && {
46667 test -z "$ac_cxx_werror_flag" ||
46668 test ! -s conftest.err
46669 } && test -s conftest.$ac_objext; then
46670 wx_cv_type_getsockname3=socklen_t
46672 echo "$as_me: failed program was:" >&5
46673 sed 's/^/| /' conftest.$ac_ext >&5
46676 CFLAGS_OLD="$CFLAGS"
46677 if test "$GCC" = yes ; then
46678 CFLAGS="-Werror $CFLAGS"
46681 cat >conftest.$ac_ext <<_ACEOF
46684 cat confdefs.h >>conftest.$ac_ext
46685 cat >>conftest.$ac_ext <<_ACEOF
46686 /* end confdefs.h. */
46688 #include <sys/types.h>
46689 #include <sys/socket.h>
46696 getsockname(0, 0, &len);
46702 rm -f conftest.$ac_objext
46703 if { (ac_try="$ac_compile"
46704 case "(($ac_try" in
46705 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46706 *) ac_try_echo
=$ac_try;;
46708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46709 (eval "$ac_compile") 2>conftest.er1
46711 grep -v '^ *+' conftest.er1
>conftest.err
46713 cat conftest.err
>&5
46714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46715 (exit $ac_status); } && {
46716 test -z "$ac_cxx_werror_flag" ||
46717 test ! -s conftest.err
46718 } && test -s conftest.
$ac_objext; then
46719 wx_cv_type_getsockname3
=size_t
46721 echo "$as_me: failed program was:" >&5
46722 sed 's/^/| /' conftest.
$ac_ext >&5
46724 cat >conftest.
$ac_ext <<_ACEOF
46727 cat confdefs.h
>>conftest.
$ac_ext
46728 cat >>conftest.
$ac_ext <<_ACEOF
46729 /* end confdefs.h. */
46731 #include <sys/types.h>
46732 #include <sys/socket.h>
46739 getsockname(0, 0, &len);
46745 rm -f conftest.
$ac_objext
46746 if { (ac_try
="$ac_compile"
46747 case "(($ac_try" in
46748 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46749 *) ac_try_echo=$ac_try;;
46751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46752 (eval "$ac_compile") 2>conftest.er1
46754 grep -v '^ *+' conftest.er1 >conftest.err
46756 cat conftest.err >&5
46757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46758 (exit $ac_status); } && {
46759 test -z "$ac_cxx_werror_flag" ||
46760 test ! -s conftest.err
46761 } && test -s conftest.$ac_objext; then
46762 wx_cv_type_getsockname3=int
46764 echo "$as_me: failed program was:" >&5
46765 sed 's/^/| /' conftest.$ac_ext >&5
46767 wx_cv_type_getsockname3=unknown
46771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46777 CFLAGS="$CFLAGS_OLD"
46782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46784 ac_cpp='$CPP $CPPFLAGS'
46785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46791 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46792 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46794 if test "$wx_cv_type_getsockname3" = "unknown"; then
46796 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46797 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46799 cat >>confdefs.h <<_ACEOF
46800 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46804 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46805 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46806 if test "${wx_cv_type_getsockopt5+set}" = set; then
46807 echo $ECHO_N "(cached) $ECHO_C" >&6
46811 ac_cpp='$CXXCPP $CPPFLAGS'
46812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46816 cat >conftest.$ac_ext <<_ACEOF
46819 cat confdefs.h >>conftest.$ac_ext
46820 cat >>conftest.$ac_ext <<_ACEOF
46821 /* end confdefs.h. */
46823 #include <sys/types.h>
46824 #include <sys/socket.h>
46831 getsockopt(0, 0, 0, 0, &len);
46837 rm -f conftest.$ac_objext
46838 if { (ac_try="$ac_compile"
46839 case "(($ac_try" in
46840 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46841 *) ac_try_echo
=$ac_try;;
46843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46844 (eval "$ac_compile") 2>conftest.er1
46846 grep -v '^ *+' conftest.er1
>conftest.err
46848 cat conftest.err
>&5
46849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46850 (exit $ac_status); } && {
46851 test -z "$ac_cxx_werror_flag" ||
46852 test ! -s conftest.err
46853 } && test -s conftest.
$ac_objext; then
46854 wx_cv_type_getsockopt5
=socklen_t
46856 echo "$as_me: failed program was:" >&5
46857 sed 's/^/| /' conftest.
$ac_ext >&5
46860 cat >conftest.
$ac_ext <<_ACEOF
46863 cat confdefs.h
>>conftest.
$ac_ext
46864 cat >>conftest.
$ac_ext <<_ACEOF
46865 /* end confdefs.h. */
46867 #include <sys/types.h>
46868 #include <sys/socket.h>
46875 getsockopt(0, 0, 0, 0, &len);
46881 rm -f conftest.
$ac_objext
46882 if { (ac_try
="$ac_compile"
46883 case "(($ac_try" in
46884 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46885 *) ac_try_echo=$ac_try;;
46887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46888 (eval "$ac_compile") 2>conftest.er1
46890 grep -v '^ *+' conftest.er1 >conftest.err
46892 cat conftest.err >&5
46893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46894 (exit $ac_status); } && {
46895 test -z "$ac_cxx_werror_flag" ||
46896 test ! -s conftest.err
46897 } && test -s conftest.$ac_objext; then
46898 wx_cv_type_getsockopt5=size_t
46900 echo "$as_me: failed program was:" >&5
46901 sed 's/^/| /' conftest.$ac_ext >&5
46903 cat >conftest.$ac_ext <<_ACEOF
46906 cat confdefs.h >>conftest.$ac_ext
46907 cat >>conftest.$ac_ext <<_ACEOF
46908 /* end confdefs.h. */
46910 #include <sys/types.h>
46911 #include <sys/socket.h>
46918 getsockopt(0, 0, 0, 0, &len);
46924 rm -f conftest.$ac_objext
46925 if { (ac_try="$ac_compile"
46926 case "(($ac_try" in
46927 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46928 *) ac_try_echo
=$ac_try;;
46930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46931 (eval "$ac_compile") 2>conftest.er1
46933 grep -v '^ *+' conftest.er1
>conftest.err
46935 cat conftest.err
>&5
46936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46937 (exit $ac_status); } && {
46938 test -z "$ac_cxx_werror_flag" ||
46939 test ! -s conftest.err
46940 } && test -s conftest.
$ac_objext; then
46941 wx_cv_type_getsockopt5
=int
46943 echo "$as_me: failed program was:" >&5
46944 sed 's/^/| /' conftest.
$ac_ext >&5
46946 wx_cv_type_getsockopt5
=unknown
46950 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46959 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46961 ac_cpp
='$CPP $CPPFLAGS'
46962 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46963 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46964 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46968 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46969 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46971 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46973 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46974 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46976 cat >>confdefs.h
<<_ACEOF
46977 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46984 if test "$wxUSE_SOCKETS" = "yes" ; then
46985 cat >>confdefs.h
<<\_ACEOF
46986 #define wxUSE_SOCKETS 1
46989 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
46992 if test "$wxUSE_PROTOCOL" = "yes"; then
46993 if test "$wxUSE_SOCKETS" != "yes"; then
46994 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46995 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47000 if test "$wxUSE_PROTOCOL" = "yes"; then
47001 cat >>confdefs.h
<<\_ACEOF
47002 #define wxUSE_PROTOCOL 1
47006 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47007 cat >>confdefs.h
<<\_ACEOF
47008 #define wxUSE_PROTOCOL_HTTP 1
47012 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47013 cat >>confdefs.h
<<\_ACEOF
47014 #define wxUSE_PROTOCOL_FTP 1
47018 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47019 cat >>confdefs.h
<<\_ACEOF
47020 #define wxUSE_PROTOCOL_FILE 1
47025 if test "$wxUSE_FS_INET" = "yes"; then
47026 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47027 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47032 if test "$wxUSE_URL" = "yes"; then
47033 if test "$wxUSE_PROTOCOL" != "yes"; then
47034 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47035 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47038 if test "$wxUSE_URL" = "yes"; then
47039 cat >>confdefs.h
<<\_ACEOF
47040 #define wxUSE_URL 1
47046 if test "$wxUSE_VARIANT" = "yes"; then
47047 cat >>confdefs.h
<<\_ACEOF
47048 #define wxUSE_VARIANT 1
47053 if test "$wxUSE_FS_INET" = "yes"; then
47054 cat >>confdefs.h
<<\_ACEOF
47055 #define wxUSE_FS_INET 1
47061 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47064 if test "$TOOLKIT" = "MSW"; then
47067 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47068 if test "$USE_DARWIN" = 1; then
47069 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47070 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47072 ac_cpp
='$CXXCPP $CPPFLAGS'
47073 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47074 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47075 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47077 cat >conftest.
$ac_ext <<_ACEOF
47080 cat confdefs.h
>>conftest.
$ac_ext
47081 cat >>conftest.
$ac_ext <<_ACEOF
47082 /* end confdefs.h. */
47083 #include <IOKit/hid/IOHIDLib.h>
47087 IOHIDQueueInterface *qi = NULL;
47088 IOHIDCallbackFunction cb = NULL;
47089 qi->setEventCallout(NULL, cb, NULL, NULL);
47094 rm -f conftest.
$ac_objext
47095 if { (ac_try
="$ac_compile"
47096 case "(($ac_try" in
47097 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47098 *) ac_try_echo=$ac_try;;
47100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47101 (eval "$ac_compile") 2>conftest.er1
47103 grep -v '^ *+' conftest.er1 >conftest.err
47105 cat conftest.err >&5
47106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47107 (exit $ac_status); } && {
47108 test -z "$ac_cxx_werror_flag" ||
47109 test ! -s conftest.err
47110 } && test -s conftest.$ac_objext; then
47114 echo "$as_me: failed program was:" >&5
47115 sed 's/^/| /' conftest.$ac_ext >&5
47120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47122 ac_cpp='$CPP $CPPFLAGS'
47123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47127 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47128 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47132 if test "$wxUSE_MGL" != 1; then
47134 for ac_header in linux/joystick.h
47136 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47137 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47139 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47140 echo $ECHO_N "(cached) $ECHO_C" >&6
47142 cat >conftest.$ac_ext <<_ACEOF
47145 cat confdefs.h >>conftest.$ac_ext
47146 cat >>conftest.$ac_ext <<_ACEOF
47147 /* end confdefs.h. */
47148 $ac_includes_default
47150 #include <$ac_header>
47152 rm -f conftest.$ac_objext
47153 if { (ac_try="$ac_compile"
47154 case "(($ac_try" in
47155 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47156 *) ac_try_echo
=$ac_try;;
47158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47159 (eval "$ac_compile") 2>conftest.er1
47161 grep -v '^ *+' conftest.er1
>conftest.err
47163 cat conftest.err
>&5
47164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47165 (exit $ac_status); } && {
47166 test -z "$ac_c_werror_flag" ||
47167 test ! -s conftest.err
47168 } && test -s conftest.
$ac_objext; then
47169 eval "$as_ac_Header=yes"
47171 echo "$as_me: failed program was:" >&5
47172 sed 's/^/| /' conftest.
$ac_ext >&5
47174 eval "$as_ac_Header=no"
47177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47179 ac_res
=`eval echo '${'$as_ac_Header'}'`
47180 { echo "$as_me:$LINENO: result: $ac_res" >&5
47181 echo "${ECHO_T}$ac_res" >&6; }
47182 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47183 cat >>confdefs.h
<<_ACEOF
47184 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47194 if test "$wxUSE_JOYSTICK" = "yes"; then
47195 cat >>confdefs.h
<<\_ACEOF
47196 #define wxUSE_JOYSTICK 1
47199 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
47201 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47202 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47208 if test "$wxUSE_FONTENUM" = "yes" ; then
47209 cat >>confdefs.h
<<\_ACEOF
47210 #define wxUSE_FONTENUM 1
47215 if test "$wxUSE_FONTMAP" = "yes" ; then
47216 cat >>confdefs.h
<<\_ACEOF
47217 #define wxUSE_FONTMAP 1
47222 if test "$wxUSE_UNICODE" = "yes" ; then
47223 cat >>confdefs.h
<<\_ACEOF
47224 #define wxUSE_UNICODE 1
47228 if test "$USE_WIN32" != 1; then
47229 wxUSE_UNICODE_MSLU
=no
47232 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47233 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47234 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47235 if test "${ac_cv_lib_unicows_main+set}" = set; then
47236 echo $ECHO_N "(cached) $ECHO_C" >&6
47238 ac_check_lib_save_LIBS
=$LIBS
47239 LIBS
="-lunicows $LIBS"
47240 cat >conftest.
$ac_ext <<_ACEOF
47243 cat confdefs.h
>>conftest.
$ac_ext
47244 cat >>conftest.
$ac_ext <<_ACEOF
47245 /* end confdefs.h. */
47256 rm -f conftest.
$ac_objext conftest
$ac_exeext
47257 if { (ac_try
="$ac_link"
47258 case "(($ac_try" in
47259 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47260 *) ac_try_echo=$ac_try;;
47262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47263 (eval "$ac_link") 2>conftest.er1
47265 grep -v '^ *+' conftest.er1 >conftest.err
47267 cat conftest.err >&5
47268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47269 (exit $ac_status); } && {
47270 test -z "$ac_c_werror_flag" ||
47271 test ! -s conftest.err
47272 } && test -s conftest$ac_exeext &&
47273 $as_test_x conftest$ac_exeext; then
47274 ac_cv_lib_unicows_main=yes
47276 echo "$as_me: failed program was:" >&5
47277 sed 's/^/| /' conftest.$ac_ext >&5
47279 ac_cv_lib_unicows_main=no
47282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47283 conftest$ac_exeext conftest.$ac_ext
47284 LIBS=$ac_check_lib_save_LIBS
47286 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47287 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47288 if test $ac_cv_lib_unicows_main = yes; then
47290 cat >>confdefs.h <<\_ACEOF
47291 #define wxUSE_UNICODE_MSLU 1
47297 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47298 Applications will only run on Windows NT/2000/XP!" >&5
47299 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47300 Applications will only run on Windows NT/2000/XP!" >&2;}
47301 wxUSE_UNICODE_MSLU=no
47308 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47309 cat >>confdefs.h <<\_ACEOF
47310 #define wxUSE_UNICODE_UTF8 1
47314 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47315 cat >>confdefs.h <<\_ACEOF
47316 #define wxUSE_UTF8_LOCALE_ONLY 1
47323 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47324 cat >>confdefs.h <<\_ACEOF
47325 #define wxUSE_CONSTRAINTS 1
47328 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47331 if test "$wxUSE_MDI" = "yes"; then
47332 cat >>confdefs.h <<\_ACEOF
47333 #define wxUSE_MDI 1
47337 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47338 cat >>confdefs.h <<\_ACEOF
47339 #define wxUSE_MDI_ARCHITECTURE 1
47342 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47346 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47347 cat >>confdefs.h <<\_ACEOF
47348 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47352 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47357 if test "$wxUSE_HELP" = "yes"; then
47358 cat >>confdefs.h <<\_ACEOF
47359 #define wxUSE_HELP 1
47362 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47364 if test "$wxUSE_MSW" = 1; then
47365 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47366 cat >>confdefs.h <<\_ACEOF
47367 #define wxUSE_MS_HTML_HELP 1
47373 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47374 if test "$wxUSE_HTML" = "yes"; then
47375 cat >>confdefs.h <<\_ACEOF
47376 #define wxUSE_WXHTML_HELP 1
47380 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47381 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47382 wxUSE_WXHTML_HELP=no
47387 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47388 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47389 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47390 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47392 cat >>confdefs.h <<\_ACEOF
47393 #define wxUSE_PRINTING_ARCHITECTURE 1
47397 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47400 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47401 cat >>confdefs.h <<\_ACEOF
47402 #define wxUSE_POSTSCRIPT 1
47407 cat >>confdefs.h <<\_ACEOF
47408 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47412 if test "$wxUSE_SVG" = "yes"; then
47413 cat >>confdefs.h <<\_ACEOF
47414 #define wxUSE_SVG 1
47420 if test "$wxUSE_METAFILE" = "yes"; then
47421 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47422 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47423 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47429 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47430 -o "$wxUSE_CLIPBOARD" = "yes" \
47431 -o "$wxUSE_OLE" = "yes" \
47432 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47433 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47434 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47435 if test "${ac_cv_header_ole2_h+set}" = set; then
47436 echo $ECHO_N "(cached) $ECHO_C" >&6
47438 cat >conftest.$ac_ext <<_ACEOF
47441 cat confdefs.h >>conftest.$ac_ext
47442 cat >>conftest.$ac_ext <<_ACEOF
47443 /* end confdefs.h. */
47448 rm -f conftest.$ac_objext
47449 if { (ac_try="$ac_compile"
47450 case "(($ac_try" in
47451 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47452 *) ac_try_echo
=$ac_try;;
47454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47455 (eval "$ac_compile") 2>conftest.er1
47457 grep -v '^ *+' conftest.er1
>conftest.err
47459 cat conftest.err
>&5
47460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47461 (exit $ac_status); } && {
47462 test -z "$ac_c_werror_flag" ||
47463 test ! -s conftest.err
47464 } && test -s conftest.
$ac_objext; then
47465 ac_cv_header_ole2_h
=yes
47467 echo "$as_me: failed program was:" >&5
47468 sed 's/^/| /' conftest.
$ac_ext >&5
47470 ac_cv_header_ole2_h
=no
47473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47475 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47476 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47480 if test "$ac_cv_header_ole2_h" = "yes" ; then
47481 if test "$GCC" = yes ; then
47482 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47483 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47484 cat >conftest.
$ac_ext <<_ACEOF
47487 cat confdefs.h
>>conftest.
$ac_ext
47488 cat >>conftest.
$ac_ext <<_ACEOF
47489 /* end confdefs.h. */
47490 #include <windows.h>
47500 rm -f conftest.
$ac_objext
47501 if { (ac_try
="$ac_compile"
47502 case "(($ac_try" in
47503 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47504 *) ac_try_echo=$ac_try;;
47506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47507 (eval "$ac_compile") 2>conftest.er1
47509 grep -v '^ *+' conftest.er1 >conftest.err
47511 cat conftest.err >&5
47512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47513 (exit $ac_status); } && {
47514 test -z "$ac_c_werror_flag" ||
47515 test ! -s conftest.err
47516 } && test -s conftest.$ac_objext; then
47517 { echo "$as_me:$LINENO: result: no" >&5
47518 echo "${ECHO_T}no" >&6; }
47520 echo "$as_me: failed program was:" >&5
47521 sed 's/^/| /' conftest.$ac_ext >&5
47523 { echo "$as_me:$LINENO: result: yes" >&5
47524 echo "${ECHO_T}yes" >&6; }
47525 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47529 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47530 if test "$wxUSE_OLE" = "yes" ; then
47531 cat >>confdefs.h <<\_ACEOF
47532 #define wxUSE_OLE 1
47535 cat >>confdefs.h <<\_ACEOF
47536 #define wxUSE_OLE_AUTOMATION 1
47539 cat >>confdefs.h <<\_ACEOF
47540 #define wxUSE_ACTIVEX 1
47543 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47547 if test "$wxUSE_DATAOBJ" = "yes" ; then
47548 cat >>confdefs.h <<\_ACEOF
47549 #define wxUSE_DATAOBJ 1
47554 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47555 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47558 wxUSE_DRAG_AND_DROP=no
47563 if test "$wxUSE_METAFILE" = "yes"; then
47564 cat >>confdefs.h <<\_ACEOF
47565 #define wxUSE_METAFILE 1
47569 cat >>confdefs.h <<\_ACEOF
47570 #define wxUSE_ENH_METAFILE 1
47576 if test "$wxUSE_IPC" = "yes"; then
47577 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47578 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47579 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47583 if test "$wxUSE_IPC" = "yes"; then
47584 cat >>confdefs.h <<\_ACEOF
47585 #define wxUSE_IPC 1
47588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47592 if test "$wxUSE_DATAOBJ" = "yes"; then
47593 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47594 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47595 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47598 cat >>confdefs.h <<\_ACEOF
47599 #define wxUSE_DATAOBJ 1
47604 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47605 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47607 wxUSE_DRAG_AND_DROP=no
47610 if test "$wxUSE_CLIPBOARD" = "yes"; then
47611 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47612 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47613 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47617 if test "$wxUSE_CLIPBOARD" = "yes"; then
47618 cat >>confdefs.h <<\_ACEOF
47619 #define wxUSE_CLIPBOARD 1
47625 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47626 if test "$wxUSE_GTK" = 1; then
47627 if test "$WXGTK12" != 1; then
47628 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47629 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47630 wxUSE_DRAG_AND_DROP=no
47634 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47635 "$wxUSE_DFB" = 1; then
47636 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47637 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47638 wxUSE_DRAG_AND_DROP=no
47641 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47642 cat >>confdefs.h <<\_ACEOF
47643 #define wxUSE_DRAG_AND_DROP 1
47650 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47651 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47654 if test "$wxUSE_SPLINES" = "yes" ; then
47655 cat >>confdefs.h <<\_ACEOF
47656 #define wxUSE_SPLINES 1
47661 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47662 cat >>confdefs.h <<\_ACEOF
47663 #define wxUSE_MOUSEWHEEL 1
47670 if test "$wxUSE_CONTROLS" = "yes"; then
47674 if test "$wxUSE_ACCEL" = "yes"; then
47675 cat >>confdefs.h <<\_ACEOF
47676 #define wxUSE_ACCEL 1
47682 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47683 cat >>confdefs.h <<\_ACEOF
47684 #define wxUSE_ANIMATIONCTRL 1
47688 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47691 if test "$wxUSE_BUTTON" = "yes"; then
47692 cat >>confdefs.h <<\_ACEOF
47693 #define wxUSE_BUTTON 1
47699 if test "$wxUSE_BMPBUTTON" = "yes"; then
47700 cat >>confdefs.h <<\_ACEOF
47701 #define wxUSE_BMPBUTTON 1
47707 if test "$wxUSE_CALCTRL" = "yes"; then
47708 cat >>confdefs.h <<\_ACEOF
47709 #define wxUSE_CALENDARCTRL 1
47713 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47716 if test "$wxUSE_CARET" = "yes"; then
47717 cat >>confdefs.h <<\_ACEOF
47718 #define wxUSE_CARET 1
47722 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47725 if test "$wxUSE_COLLPANE" = "yes"; then
47726 cat >>confdefs.h <<\_ACEOF
47727 #define wxUSE_COLLPANE 1
47731 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47734 if test "$wxUSE_COMBOBOX" = "yes"; then
47735 cat >>confdefs.h <<\_ACEOF
47736 #define wxUSE_COMBOBOX 1
47742 if test "$wxUSE_COMBOCTRL" = "yes"; then
47743 cat >>confdefs.h <<\_ACEOF
47744 #define wxUSE_COMBOCTRL 1
47750 if test "$wxUSE_CHOICE" = "yes"; then
47751 cat >>confdefs.h <<\_ACEOF
47752 #define wxUSE_CHOICE 1
47758 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47759 cat >>confdefs.h <<\_ACEOF
47760 #define wxUSE_CHOICEBOOK 1
47766 if test "$wxUSE_CHECKBOX" = "yes"; then
47767 cat >>confdefs.h <<\_ACEOF
47768 #define wxUSE_CHECKBOX 1
47774 if test "$wxUSE_CHECKLST" = "yes"; then
47775 cat >>confdefs.h <<\_ACEOF
47776 #define wxUSE_CHECKLISTBOX 1
47782 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47783 cat >>confdefs.h <<\_ACEOF
47784 #define wxUSE_COLOURPICKERCTRL 1
47790 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47791 cat >>confdefs.h <<\_ACEOF
47792 #define wxUSE_DATEPICKCTRL 1
47798 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47799 cat >>confdefs.h <<\_ACEOF
47800 #define wxUSE_DIRPICKERCTRL 1
47806 if test "$wxUSE_FILECTRL" = "yes"; then
47807 cat >>confdefs.h <<\_ACEOF
47808 #define wxUSE_FILECTRL 1
47814 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47815 cat >>confdefs.h <<\_ACEOF
47816 #define wxUSE_FILEPICKERCTRL 1
47822 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47823 cat >>confdefs.h <<\_ACEOF
47824 #define wxUSE_FONTPICKERCTRL 1
47830 if test "$wxUSE_DISPLAY" = "yes"; then
47831 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47832 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47833 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47836 cat >>confdefs.h <<\_ACEOF
47837 #define wxUSE_DISPLAY 1
47840 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47844 if test "$wxUSE_DETECT_SM" = "yes"; then
47845 cat >>confdefs.h <<\_ACEOF
47846 #define wxUSE_DETECT_SM 1
47851 if test "$wxUSE_GAUGE" = "yes"; then
47852 cat >>confdefs.h <<\_ACEOF
47853 #define wxUSE_GAUGE 1
47859 if test "$wxUSE_GRID" = "yes"; then
47860 cat >>confdefs.h <<\_ACEOF
47861 #define wxUSE_GRID 1
47865 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47868 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47869 cat >>confdefs.h <<\_ACEOF
47870 #define wxUSE_HYPERLINKCTRL 1
47876 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47877 cat >>confdefs.h <<\_ACEOF
47878 #define wxUSE_BITMAPCOMBOBOX 1
47884 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47885 cat >>confdefs.h <<\_ACEOF
47886 #define wxUSE_DATAVIEWCTRL 1
47890 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47893 if test "$wxUSE_IMAGLIST" = "yes"; then
47894 cat >>confdefs.h <<\_ACEOF
47895 #define wxUSE_IMAGLIST 1
47900 if test "$wxUSE_LISTBOOK" = "yes"; then
47901 cat >>confdefs.h <<\_ACEOF
47902 #define wxUSE_LISTBOOK 1
47908 if test "$wxUSE_LISTBOX" = "yes"; then
47909 cat >>confdefs.h <<\_ACEOF
47910 #define wxUSE_LISTBOX 1
47916 if test "$wxUSE_LISTCTRL" = "yes"; then
47917 if test "$wxUSE_IMAGLIST" = "yes"; then
47918 cat >>confdefs.h <<\_ACEOF
47919 #define wxUSE_LISTCTRL 1
47923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47925 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47926 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47930 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47931 cat >>confdefs.h <<\_ACEOF
47932 #define wxUSE_EDITABLELISTBOX 1
47936 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
47939 if test "$wxUSE_NOTEBOOK" = "yes"; then
47940 cat >>confdefs.h <<\_ACEOF
47941 #define wxUSE_NOTEBOOK 1
47945 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47948 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47949 cat >>confdefs.h <<\_ACEOF
47950 #define wxUSE_ODCOMBOBOX 1
47954 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47957 if test "$wxUSE_RADIOBOX" = "yes"; then
47958 cat >>confdefs.h <<\_ACEOF
47959 #define wxUSE_RADIOBOX 1
47965 if test "$wxUSE_RADIOBTN" = "yes"; then
47966 cat >>confdefs.h <<\_ACEOF
47967 #define wxUSE_RADIOBTN 1
47973 if test "$wxUSE_SASH" = "yes"; then
47974 cat >>confdefs.h <<\_ACEOF
47975 #define wxUSE_SASH 1
47978 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47981 if test "$wxUSE_SCROLLBAR" = "yes"; then
47982 cat >>confdefs.h <<\_ACEOF
47983 #define wxUSE_SCROLLBAR 1
47987 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
47990 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47991 cat >>confdefs.h <<\_ACEOF
47992 #define wxUSE_SEARCHCTRL 1
47998 if test "$wxUSE_SLIDER" = "yes"; then
47999 cat >>confdefs.h <<\_ACEOF
48000 #define wxUSE_SLIDER 1
48006 if test "$wxUSE_SPINBTN" = "yes"; then
48007 cat >>confdefs.h <<\_ACEOF
48008 #define wxUSE_SPINBTN 1
48014 if test "$wxUSE_SPINCTRL" = "yes"; then
48015 cat >>confdefs.h <<\_ACEOF
48016 #define wxUSE_SPINCTRL 1
48022 if test "$wxUSE_SPLITTER" = "yes"; then
48023 cat >>confdefs.h <<\_ACEOF
48024 #define wxUSE_SPLITTER 1
48027 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48030 if test "$wxUSE_STATBMP" = "yes"; then
48031 cat >>confdefs.h <<\_ACEOF
48032 #define wxUSE_STATBMP 1
48038 if test "$wxUSE_STATBOX" = "yes"; then
48039 cat >>confdefs.h <<\_ACEOF
48040 #define wxUSE_STATBOX 1
48046 if test "$wxUSE_STATTEXT" = "yes"; then
48047 cat >>confdefs.h <<\_ACEOF
48048 #define wxUSE_STATTEXT 1
48054 if test "$wxUSE_STATLINE" = "yes"; then
48055 cat >>confdefs.h <<\_ACEOF
48056 #define wxUSE_STATLINE 1
48062 if test "$wxUSE_STATUSBAR" = "yes"; then
48063 cat >>confdefs.h <<\_ACEOF
48064 #define wxUSE_NATIVE_STATUSBAR 1
48067 cat >>confdefs.h <<\_ACEOF
48068 #define wxUSE_STATUSBAR 1
48073 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48076 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48077 cat >>confdefs.h <<\_ACEOF
48078 #define wxUSE_TAB_DIALOG 1
48083 if test "$wxUSE_TEXTCTRL" = "yes"; then
48084 cat >>confdefs.h <<\_ACEOF
48085 #define wxUSE_TEXTCTRL 1
48089 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48092 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48093 if test "$wxUSE_COCOA" = 1 ; then
48094 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48095 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48099 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48100 cat >>confdefs.h <<\_ACEOF
48101 #define wxUSE_TOGGLEBTN 1
48108 if test "$wxUSE_TOOLBAR" = "yes"; then
48109 cat >>confdefs.h <<\_ACEOF
48110 #define wxUSE_TOOLBAR 1
48115 if test "$wxUSE_UNIVERSAL" = "yes"; then
48116 wxUSE_TOOLBAR_NATIVE="no"
48118 wxUSE_TOOLBAR_NATIVE="yes"
48119 cat >>confdefs.h <<\_ACEOF
48120 #define wxUSE_TOOLBAR_NATIVE 1
48125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48128 if test "$wxUSE_TOOLTIPS" = "yes"; then
48129 if test "$wxUSE_MOTIF" = 1; then
48130 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48131 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48133 if test "$wxUSE_UNIVERSAL" = "yes"; then
48134 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48135 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48137 cat >>confdefs.h <<\_ACEOF
48138 #define wxUSE_TOOLTIPS 1
48145 if test "$wxUSE_TREEBOOK" = "yes"; then
48146 cat >>confdefs.h <<\_ACEOF
48147 #define wxUSE_TREEBOOK 1
48153 if test "$wxUSE_TOOLBOOK" = "yes"; then
48154 cat >>confdefs.h <<\_ACEOF
48155 #define wxUSE_TOOLBOOK 1
48161 if test "$wxUSE_TREECTRL" = "yes"; then
48162 if test "$wxUSE_IMAGLIST" = "yes"; then
48163 cat >>confdefs.h <<\_ACEOF
48164 #define wxUSE_TREECTRL 1
48168 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48170 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48171 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48175 if test "$wxUSE_POPUPWIN" = "yes"; then
48176 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48177 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48178 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48180 if test "$wxUSE_PM" = 1; then
48181 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48182 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48184 cat >>confdefs.h <<\_ACEOF
48185 #define wxUSE_POPUPWIN 1
48188 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48195 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48196 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48197 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48198 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48200 cat >>confdefs.h <<\_ACEOF
48201 #define wxUSE_DIALUP_MANAGER 1
48204 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48208 if test "$wxUSE_TIPWINDOW" = "yes"; then
48209 if test "$wxUSE_PM" = 1; then
48210 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48211 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48213 cat >>confdefs.h <<\_ACEOF
48214 #define wxUSE_TIPWINDOW 1
48220 if test "$USES_CONTROLS" = 1; then
48221 cat >>confdefs.h <<\_ACEOF
48222 #define wxUSE_CONTROLS 1
48228 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48229 cat >>confdefs.h <<\_ACEOF
48230 #define wxUSE_ACCESSIBILITY 1
48233 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48236 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48237 cat >>confdefs.h <<\_ACEOF
48238 #define wxUSE_DRAGIMAGE 1
48241 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48244 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48245 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48246 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48247 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48249 cat >>confdefs.h <<\_ACEOF
48250 #define wxUSE_EXCEPTIONS 1
48253 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48258 if test "$wxUSE_HTML" = "yes"; then
48259 cat >>confdefs.h <<\_ACEOF
48260 #define wxUSE_HTML 1
48264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48265 if test "$wxUSE_MAC" = 1; then
48266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48269 if test "$wxUSE_WEBKIT" = "yes"; then
48270 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48271 old_CPPFLAGS="$CPPFLAGS"
48272 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48273 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48274 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48275 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48276 echo $ECHO_N "(cached) $ECHO_C" >&6
48278 cat >conftest.$ac_ext <<_ACEOF
48281 cat confdefs.h >>conftest.$ac_ext
48282 cat >>conftest.$ac_ext <<_ACEOF
48283 /* end confdefs.h. */
48285 #include <Carbon/Carbon.h>
48286 #include <WebKit/WebKit.h>
48289 #include <WebKit/HIWebView.h>
48291 rm -f conftest.$ac_objext
48292 if { (ac_try="$ac_compile"
48293 case "(($ac_try" in
48294 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48295 *) ac_try_echo
=$ac_try;;
48297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48298 (eval "$ac_compile") 2>conftest.er1
48300 grep -v '^ *+' conftest.er1
>conftest.err
48302 cat conftest.err
>&5
48303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48304 (exit $ac_status); } && {
48305 test -z "$ac_c_werror_flag" ||
48306 test ! -s conftest.err
48307 } && test -s conftest.
$ac_objext; then
48308 ac_cv_header_WebKit_HIWebView_h
=yes
48310 echo "$as_me: failed program was:" >&5
48311 sed 's/^/| /' conftest.
$ac_ext >&5
48313 ac_cv_header_WebKit_HIWebView_h
=no
48316 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48318 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48319 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48320 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48322 cat >>confdefs.h
<<\_ACEOF
48323 #define wxUSE_WEBKIT 1
48326 WEBKIT_LINK
="-framework WebKit"
48330 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48331 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48337 CPPFLAGS
="$old_CPPFLAGS"
48338 elif test "$wxUSE_COCOA" = 1; then
48339 cat >>confdefs.h
<<\_ACEOF
48340 #define wxUSE_WEBKIT 1
48349 if test "$wxUSE_XRC" = "yes"; then
48350 if test "$wxUSE_XML" != "yes"; then
48351 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48352 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48355 cat >>confdefs.h
<<\_ACEOF
48356 #define wxUSE_XRC 1
48360 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
48365 if test "$wxUSE_AUI" = "yes"; then
48366 cat >>confdefs.h
<<\_ACEOF
48367 #define wxUSE_AUI 1
48371 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
48375 if test "$wxUSE_STC" = "yes"; then
48376 cat >>confdefs.h
<<\_ACEOF
48377 #define wxUSE_STC 1
48381 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
48384 if test "$wxUSE_MENUS" = "yes"; then
48385 cat >>confdefs.h
<<\_ACEOF
48386 #define wxUSE_MENUS 1
48389 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
48392 if test "$wxUSE_METAFILE" = "yes"; then
48393 cat >>confdefs.h
<<\_ACEOF
48394 #define wxUSE_METAFILE 1
48399 if test "$wxUSE_MIMETYPE" = "yes"; then
48400 cat >>confdefs.h
<<\_ACEOF
48401 #define wxUSE_MIMETYPE 1
48406 if test "$wxUSE_MINIFRAME" = "yes"; then
48407 cat >>confdefs.h
<<\_ACEOF
48408 #define wxUSE_MINIFRAME 1
48413 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48414 cat >>confdefs.h
<<\_ACEOF
48415 #define wxUSE_SYSTEM_OPTIONS 1
48420 if test "$wxUSE_TASKBARICON" = "yes"; then
48421 cat >>confdefs.h
<<\_ACEOF
48422 #define wxUSE_TASKBARICON 1
48425 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
48429 if test "$wxUSE_VALIDATORS" = "yes"; then
48430 cat >>confdefs.h
<<\_ACEOF
48431 #define wxUSE_VALIDATORS 1
48434 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
48437 if test "$wxUSE_PALETTE" = "yes" ; then
48438 if test "$wxUSE_DFB" = 1; then
48439 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48440 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48443 cat >>confdefs.h
<<\_ACEOF
48444 #define wxUSE_PALETTE 1
48450 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48451 LIBS
=" -lunicows $LIBS"
48455 if test "$wxUSE_RICHTEXT" = "yes"; then
48456 cat >>confdefs.h
<<\_ACEOF
48457 #define wxUSE_RICHTEXT 1
48461 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
48465 if test "$wxUSE_IMAGE" = "yes" ; then
48466 cat >>confdefs.h
<<\_ACEOF
48467 #define wxUSE_IMAGE 1
48471 if test "$wxUSE_GIF" = "yes" ; then
48472 cat >>confdefs.h
<<\_ACEOF
48473 #define wxUSE_GIF 1
48478 if test "$wxUSE_PCX" = "yes" ; then
48479 cat >>confdefs.h
<<\_ACEOF
48480 #define wxUSE_PCX 1
48485 if test "$wxUSE_TGA" = "yes" ; then
48486 cat >>confdefs.h
<<\_ACEOF
48487 #define wxUSE_TGA 1
48492 if test "$wxUSE_IFF" = "yes" ; then
48493 cat >>confdefs.h
<<\_ACEOF
48494 #define wxUSE_IFF 1
48499 if test "$wxUSE_PNM" = "yes" ; then
48500 cat >>confdefs.h
<<\_ACEOF
48501 #define wxUSE_PNM 1
48506 if test "$wxUSE_XPM" = "yes" ; then
48507 cat >>confdefs.h
<<\_ACEOF
48508 #define wxUSE_XPM 1
48513 if test "$wxUSE_ICO_CUR" = "yes" ; then
48514 cat >>confdefs.h
<<\_ACEOF
48515 #define wxUSE_ICO_CUR 1
48522 if test "$wxUSE_ABOUTDLG" = "yes"; then
48523 cat >>confdefs.h
<<\_ACEOF
48524 #define wxUSE_ABOUTDLG 1
48529 if test "$wxUSE_CHOICEDLG" = "yes"; then
48530 cat >>confdefs.h
<<\_ACEOF
48531 #define wxUSE_CHOICEDLG 1
48536 if test "$wxUSE_COLOURDLG" = "yes"; then
48537 cat >>confdefs.h
<<\_ACEOF
48538 #define wxUSE_COLOURDLG 1
48543 if test "$wxUSE_FILEDLG" = "yes"; then
48544 cat >>confdefs.h
<<\_ACEOF
48545 #define wxUSE_FILEDLG 1
48550 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48551 cat >>confdefs.h
<<\_ACEOF
48552 #define wxUSE_FINDREPLDLG 1
48557 if test "$wxUSE_FONTDLG" = "yes"; then
48558 cat >>confdefs.h
<<\_ACEOF
48559 #define wxUSE_FONTDLG 1
48564 if test "$wxUSE_DIRDLG" = "yes"; then
48565 if test "$wxUSE_TREECTRL" != "yes"; then
48566 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48567 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48569 cat >>confdefs.h
<<\_ACEOF
48570 #define wxUSE_DIRDLG 1
48576 if test "$wxUSE_MSGDLG" = "yes"; then
48577 cat >>confdefs.h
<<\_ACEOF
48578 #define wxUSE_MSGDLG 1
48583 if test "$wxUSE_NUMBERDLG" = "yes"; then
48584 cat >>confdefs.h
<<\_ACEOF
48585 #define wxUSE_NUMBERDLG 1
48590 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48591 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48592 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48593 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48595 cat >>confdefs.h
<<\_ACEOF
48596 #define wxUSE_PROGRESSDLG 1
48602 if test "$wxUSE_SPLASH" = "yes"; then
48603 cat >>confdefs.h
<<\_ACEOF
48604 #define wxUSE_SPLASH 1
48607 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
48610 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48611 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48612 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48613 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48615 cat >>confdefs.h
<<\_ACEOF
48616 #define wxUSE_STARTUP_TIPS 1
48622 if test "$wxUSE_TEXTDLG" = "yes"; then
48623 cat >>confdefs.h
<<\_ACEOF
48624 #define wxUSE_TEXTDLG 1
48629 if test "$wxUSE_WIZARDDLG" = "yes"; then
48630 cat >>confdefs.h
<<\_ACEOF
48631 #define wxUSE_WIZARDDLG 1
48634 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
48638 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48639 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48640 cat >>confdefs.h
<<\_ACEOF
48641 #define wxUSE_OWNER_DRAWN 1
48648 if test "$wxUSE_MSW" = 1 ; then
48650 if test "$wxUSE_DC_CACHEING" = "yes"; then
48651 cat >>confdefs.h
<<\_ACEOF
48652 #define wxUSE_DC_CACHEING 1
48657 if test "$wxUSE_DIB" = "yes"; then
48658 cat >>confdefs.h
<<\_ACEOF
48659 #define wxUSE_WXDIB 1
48664 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48665 cat >>confdefs.h
<<\_ACEOF
48666 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48671 if test "$wxUSE_UXTHEME" = "yes"; then
48672 cat >>confdefs.h
<<\_ACEOF
48673 #define wxUSE_UXTHEME 1
48681 if test "$USE_WIN32" = 1 ; then
48682 if test "$wxUSE_INICONF" = "yes"; then
48683 cat >>confdefs.h
<<\_ACEOF
48684 #define wxUSE_INICONF 1
48689 if test "$wxUSE_REGKEY" = "yes"; then
48690 cat >>confdefs.h
<<\_ACEOF
48691 #define wxUSE_REGKEY 1
48698 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48699 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
48700 cat >>confdefs.h
<<\_ACEOF
48701 #define wxUSE_GRAPHICS_CONTEXT 1
48704 elif test "$wxUSE_GTK" != 1; then
48705 cat >>confdefs.h
<<\_ACEOF
48706 #define wxUSE_GRAPHICS_CONTEXT 1
48712 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48713 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48715 if test -n "$PKG_CONFIG"; then
48716 if test -n "$CAIRO_CFLAGS"; then
48717 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
48719 if test -n "$PKG_CONFIG" && \
48720 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48721 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48724 (exit $ac_status); }; then
48725 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48733 if test -n "$PKG_CONFIG"; then
48734 if test -n "$CAIRO_LIBS"; then
48735 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
48737 if test -n "$PKG_CONFIG" && \
48738 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48739 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48742 (exit $ac_status); }; then
48743 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48754 if test $pkg_failed = yes; then
48756 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48757 _pkg_short_errors_supported
=yes
48759 _pkg_short_errors_supported
=no
48761 if test $_pkg_short_errors_supported = yes; then
48762 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48764 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48766 # Put the nasty error message in config.log where it belongs
48767 echo "$CAIRO_PKG_ERRORS" >&5
48769 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48770 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48772 elif test $pkg_failed = untried
; then
48773 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48774 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48777 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
48778 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
48779 { echo "$as_me:$LINENO: result: yes" >&5
48780 echo "${ECHO_T}yes" >&6; }
48781 cat >>confdefs.h
<<\_ACEOF
48782 #define wxUSE_GRAPHICS_CONTEXT 1
48792 if test "$wxUSE_MEDIACTRL" = "yes"; then
48795 if test "$wxUSE_GTK" = 1; then
48796 wxUSE_GSTREAMER
="no"
48798 GST_VERSION_MAJOR
=0
48799 GST_VERSION_MINOR
=10
48800 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48802 if test "$wxUSE_GSTREAMER8" = "no"; then
48805 { echo "$as_me:$LINENO: checking for GST" >&5
48806 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48808 if test -n "$PKG_CONFIG"; then
48809 if test -n "$GST_CFLAGS"; then
48810 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48812 if test -n "$PKG_CONFIG" && \
48813 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48814 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48817 (exit $ac_status); }; then
48818 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48826 if test -n "$PKG_CONFIG"; then
48827 if test -n "$GST_LIBS"; then
48828 pkg_cv_GST_LIBS
="$GST_LIBS"
48830 if test -n "$PKG_CONFIG" && \
48831 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48832 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48835 (exit $ac_status); }; then
48836 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48847 if test $pkg_failed = yes; then
48849 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48850 _pkg_short_errors_supported
=yes
48852 _pkg_short_errors_supported
=no
48854 if test $_pkg_short_errors_supported = yes; then
48855 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48857 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48859 # Put the nasty error message in config.log where it belongs
48860 echo "$GST_PKG_ERRORS" >&5
48863 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48864 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48865 GST_VERSION_MINOR
=8
48868 elif test $pkg_failed = untried
; then
48870 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48871 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48872 GST_VERSION_MINOR
=8
48876 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
48877 GST_LIBS
=$pkg_cv_GST_LIBS
48878 { echo "$as_me:$LINENO: result: yes" >&5
48879 echo "${ECHO_T}yes" >&6; }
48881 wxUSE_GSTREAMER
="yes"
48882 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48886 GST_VERSION_MINOR
=8
48889 if test $GST_VERSION_MINOR = "8"; then
48890 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48893 { echo "$as_me:$LINENO: checking for GST" >&5
48894 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48896 if test -n "$PKG_CONFIG"; then
48897 if test -n "$GST_CFLAGS"; then
48898 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48900 if test -n "$PKG_CONFIG" && \
48901 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48902 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48905 (exit $ac_status); }; then
48906 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48914 if test -n "$PKG_CONFIG"; then
48915 if test -n "$GST_LIBS"; then
48916 pkg_cv_GST_LIBS
="$GST_LIBS"
48918 if test -n "$PKG_CONFIG" && \
48919 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48920 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48923 (exit $ac_status); }; then
48924 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48935 if test $pkg_failed = yes; then
48937 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48938 _pkg_short_errors_supported
=yes
48940 _pkg_short_errors_supported
=no
48942 if test $_pkg_short_errors_supported = yes; then
48943 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48945 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48947 # Put the nasty error message in config.log where it belongs
48948 echo "$GST_PKG_ERRORS" >&5
48951 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48952 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48954 elif test $pkg_failed = untried
; then
48956 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48957 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48960 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
48961 GST_LIBS
=$pkg_cv_GST_LIBS
48962 { echo "$as_me:$LINENO: result: yes" >&5
48963 echo "${ECHO_T}yes" >&6; }
48964 wxUSE_GSTREAMER
="yes"
48969 if test "$wxUSE_GSTREAMER" = "yes"; then
48970 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
48971 LIBS
="$GST_LIBS $LIBS"
48973 cat >>confdefs.h
<<\_ACEOF
48974 #define wxUSE_GSTREAMER 1
48982 if test $USE_MEDIA = 1; then
48983 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
48984 cat >>confdefs.h
<<\_ACEOF
48985 #define wxUSE_MEDIACTRL 1
48992 if test "$cross_compiling" = "yes"; then
48995 OSINFO
=`uname -s -r -m`
48996 OSINFO
="\"$OSINFO\""
48999 cat >>confdefs.h
<<_ACEOF
49000 #define WXWIN_OS_DESCRIPTION $OSINFO
49005 if test "x$prefix" != "xNONE"; then
49008 wxPREFIX
=$ac_default_prefix
49011 cat >>confdefs.h
<<_ACEOF
49012 #define wxINSTALL_PREFIX "$wxPREFIX"
49018 STD_BASE_LIBS
="base"
49020 BUILT_WX_LIBS
="base"
49021 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
49023 if test "$wxUSE_SOCKETS" = "yes" ; then
49024 STD_BASE_LIBS
="net $STD_BASE_LIBS"
49025 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
49027 if test "$wxUSE_XML" = "yes" ; then
49028 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
49029 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
49032 if test "$wxUSE_GUI" = "yes"; then
49033 STD_GUI_LIBS
="adv core"
49034 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
49036 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49037 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
49038 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
49040 if test "$wxUSE_HTML" = "yes" ; then
49041 STD_GUI_LIBS
="html $STD_GUI_LIBS"
49042 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
49044 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49045 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
49047 if test "$wxUSE_OPENGL" = "yes" ; then
49048 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
49050 if test "$wxUSE_AUI" = "yes" ; then
49051 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
49053 if test "$wxUSE_STC" = "yes" ; then
49054 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
49056 if test "$wxUSE_XRC" = "yes" ; then
49057 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
49058 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
49069 if test "$wxUSE_MAC" = 1 ; then
49070 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49071 if test "$USE_DARWIN" = 1; then
49072 LDFLAGS
="$LDFLAGS -framework QuickTime"
49074 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
49077 if test "$USE_DARWIN" = 1; then
49078 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49080 LDFLAGS
="$LDFLAGS -lCarbonLib"
49083 if test "$wxUSE_COCOA" = 1 ; then
49084 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
49085 if test "$wxUSE_MEDIACTRL" = "yes"; then
49086 LDFLAGS
="$LDFLAGS -framework QuickTime"
49089 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49090 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49093 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49095 if test "$wxUSE_GUI" = "yes"; then
49098 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49099 erase event exec font image minimal mobile \
49100 mobile/wxedit mobile/styles render \
49101 shaped svg taborder vscroll widgets"
49103 if test "$wxUSE_MONOLITHIC" != "yes"; then
49104 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
49106 if test "$TOOLKIT" = "MSW"; then
49107 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
49108 if test "$wxUSE_UNIVERSAL" != "yes"; then
49109 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49112 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49113 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
49116 SAMPLES_SUBDIRS
="console"
49120 if test "x$INTELCC" = "xyes" ; then
49121 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
49122 elif test "$GCC" = yes ; then
49123 CWARNINGS
="-Wall -Wundef"
49126 if test "x$INTELCXX" = "xyes" ; then
49127 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
49128 elif test "$GXX" = yes ; then
49129 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49133 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
49134 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49137 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
49138 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49139 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49142 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49143 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49144 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49146 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49149 if test "x$MWCC" = "xyes"; then
49151 CC
="$CC -cwd source -I-"
49152 CXX
="$CXX -cwd source -I-"
49157 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49158 EXTRALIBS_XML
="$EXPAT_LINK"
49159 EXTRALIBS_HTML
="$MSPACK_LINK"
49160 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49161 if test "$wxUSE_GUI" = "yes"; then
49162 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49164 if test "$wxUSE_OPENGL" = "yes"; then
49165 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
49168 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
49170 WXCONFIG_LIBS
="$LIBS"
49172 if test "$wxUSE_REGEX" = "builtin" ; then
49173 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49175 if test "$wxUSE_EXPAT" = "builtin" ; then
49176 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
49178 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49179 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
49181 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49182 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
49184 if test "$wxUSE_LIBPNG" = "builtin" ; then
49185 wxconfig_3rdparty
="png $wxconfig_3rdparty"
49187 if test "$wxUSE_ZLIB" = "builtin" ; then
49188 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
49191 for i
in $wxconfig_3rdparty ; do
49192 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49196 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49199 case "$wxUNIV_THEMES" in
49201 cat >>confdefs.h
<<\_ACEOF
49202 #define wxUSE_ALL_THEMES 1
49208 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49209 cat >>confdefs.h
<<_ACEOF
49210 #define wxUSE_THEME_$t 1
49226 if test $wxUSE_MONOLITHIC = "yes" ; then
49232 if test $wxUSE_PLUGINS = "yes" ; then
49238 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49244 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49275 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr A-Z a-z`
49286 TOOLKIT_DESC
="GTK+"
49287 if test "$WXGTK2" = 1; then
49288 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
49289 if test "$wxUSE_GTKPRINT" = "yes" ; then
49290 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
49292 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49293 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
49295 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49296 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
49298 if test "$wxUSE_LIBHILDON" = "yes"; then
49299 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
49302 if test "$TOOLKIT_EXTRA" != ""; then
49303 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49309 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
49313 TOOLKIT_DESC
="base only"
49317 if test "$wxUSE_WINE" = "yes"; then
49318 BAKEFILE_FORCE_PLATFORM
=win32
49321 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49323 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49324 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49325 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49326 echo $ECHO_N "(cached) $ECHO_C" >&6
49329 echo '#include <stdio.h>
49330 const wchar_t test_var[] = L"awidetest";' > conftest.h
49332 echo '#include "conftest.h"
49335 printf("%ls", test_var);
49339 wx_cv_gcc_pch_bug
="pch not supported"
49341 if $CXX conftest.h
>/dev
/null
2>&1
49345 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
49347 if tr -dc a
-z < conftest
$PROGRAM_EXT |
49348 grep awidetest
>/dev
/null
49350 wx_cv_gcc_pch_bug
=no
49352 wx_cv_gcc_pch_bug
=yes
49357 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
49360 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49361 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49363 if test "$wx_cv_gcc_pch_bug" = yes; then
49371 if test "x$BAKEFILE_HOST" = "x"; then
49372 if test "x${host}" = "x" ; then
49373 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49374 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49375 { (exit 1); exit 1; }; }
49378 BAKEFILE_HOST
="${host}"
49381 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49383 if test -n "$ac_tool_prefix"; then
49384 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49385 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
49386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49388 if test "${ac_cv_prog_RANLIB+set}" = set; then
49389 echo $ECHO_N "(cached) $ECHO_C" >&6
49391 if test -n "$RANLIB"; then
49392 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
49394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49395 for as_dir
in $PATH
49398 test -z "$as_dir" && as_dir
=.
49399 for ac_exec_ext
in '' $ac_executable_extensions; do
49400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49401 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
49402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49411 RANLIB
=$ac_cv_prog_RANLIB
49412 if test -n "$RANLIB"; then
49413 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49414 echo "${ECHO_T}$RANLIB" >&6; }
49416 { echo "$as_me:$LINENO: result: no" >&5
49417 echo "${ECHO_T}no" >&6; }
49422 if test -z "$ac_cv_prog_RANLIB"; then
49423 ac_ct_RANLIB
=$RANLIB
49424 # Extract the first word of "ranlib", so it can be a program name with args.
49425 set dummy ranlib
; ac_word
=$2
49426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49428 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49429 echo $ECHO_N "(cached) $ECHO_C" >&6
49431 if test -n "$ac_ct_RANLIB"; then
49432 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
49434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49435 for as_dir
in $PATH
49438 test -z "$as_dir" && as_dir
=.
49439 for ac_exec_ext
in '' $ac_executable_extensions; do
49440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49441 ac_cv_prog_ac_ct_RANLIB
="ranlib"
49442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49451 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
49452 if test -n "$ac_ct_RANLIB"; then
49453 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49454 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49456 { echo "$as_me:$LINENO: result: no" >&5
49457 echo "${ECHO_T}no" >&6; }
49460 if test "x$ac_ct_RANLIB" = x
; then
49463 case $cross_compiling:$ac_tool_warned in
49465 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49466 whose name does not start with the host triplet. If you think this
49467 configuration is useful to you, please write to autoconf@gnu.org." >&5
49468 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49469 whose name does not start with the host triplet. If you think this
49470 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49471 ac_tool_warned
=yes ;;
49473 RANLIB
=$ac_ct_RANLIB
49476 RANLIB
="$ac_cv_prog_RANLIB"
49479 # Find a good install program. We prefer a C program (faster),
49480 # so one script is as good as another. But avoid the broken or
49481 # incompatible versions:
49482 # SysV /etc/install, /usr/sbin/install
49483 # SunOS /usr/etc/install
49484 # IRIX /sbin/install
49486 # AmigaOS /C/install, which installs bootblocks on floppy discs
49487 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49488 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49489 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49490 # OS/2's system install, which has a completely different semantic
49491 # ./install, which can be erroneously created by make from ./install.sh.
49492 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49493 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49494 if test -z "$INSTALL"; then
49495 if test "${ac_cv_path_install+set}" = set; then
49496 echo $ECHO_N "(cached) $ECHO_C" >&6
49498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49499 for as_dir
in $PATH
49502 test -z "$as_dir" && as_dir
=.
49503 # Account for people who put trailing slashes in PATH elements.
49505 .
/ | .
// | /cC
/* | \
49506 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
49507 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
49510 # OSF1 and SCO ODT 3.0 have their own names for install.
49511 # Don't use installbsd from OSF since it installs stuff as root
49513 for ac_prog
in ginstall scoinst
install; do
49514 for ac_exec_ext
in '' $ac_executable_extensions; do
49515 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49516 if test $ac_prog = install &&
49517 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49518 # AIX install. It has an incompatible calling convention.
49520 elif test $ac_prog = install &&
49521 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49522 # program-specific install script used by HP pwplus--don't use.
49525 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
49538 if test "${ac_cv_path_install+set}" = set; then
49539 INSTALL
=$ac_cv_path_install
49541 # As a last resort, use the slow shell script. Don't cache a
49542 # value for INSTALL within a source directory, because that will
49543 # break other packages using the cache if that directory is
49544 # removed, or if the value is a relative name.
49545 INSTALL
=$ac_install_sh
49548 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49549 echo "${ECHO_T}$INSTALL" >&6; }
49551 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49552 # It thinks the first close brace ends the variable substitution.
49553 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
49555 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
49557 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
49559 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49560 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49562 if test "$LN_S" = "ln -s"; then
49563 { echo "$as_me:$LINENO: result: yes" >&5
49564 echo "${ECHO_T}yes" >&6; }
49566 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49567 echo "${ECHO_T}no, using $LN_S" >&6; }
49571 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49572 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49573 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49574 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
49575 echo $ECHO_N "(cached) $ECHO_C" >&6
49577 cat >conftest.
make <<\_ACEOF
49580 @
echo '@@@%%%=$(MAKE)=@@@%%%'
49582 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49583 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49584 *@@@
%%%=?
*=@@@
%%%*)
49585 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
49587 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
49589 rm -f conftest.
make
49591 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
49592 { echo "$as_me:$LINENO: result: yes" >&5
49593 echo "${ECHO_T}yes" >&6; }
49596 { echo "$as_me:$LINENO: result: no" >&5
49597 echo "${ECHO_T}no" >&6; }
49598 SET_MAKE
="MAKE=${MAKE-make}"
49603 if test "x$SUNCXX" = "xyes"; then
49605 AROPTIONS
="-xar -o"
49607 elif test "x$SGICC" = "xyes"; then
49612 if test -n "$ac_tool_prefix"; then
49613 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49614 set dummy
${ac_tool_prefix}ar; ac_word
=$2
49615 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49617 if test "${ac_cv_prog_AR+set}" = set; then
49618 echo $ECHO_N "(cached) $ECHO_C" >&6
49620 if test -n "$AR"; then
49621 ac_cv_prog_AR
="$AR" # Let the user override the test.
49623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49624 for as_dir
in $PATH
49627 test -z "$as_dir" && as_dir
=.
49628 for ac_exec_ext
in '' $ac_executable_extensions; do
49629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49630 ac_cv_prog_AR
="${ac_tool_prefix}ar"
49631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49641 if test -n "$AR"; then
49642 { echo "$as_me:$LINENO: result: $AR" >&5
49643 echo "${ECHO_T}$AR" >&6; }
49645 { echo "$as_me:$LINENO: result: no" >&5
49646 echo "${ECHO_T}no" >&6; }
49651 if test -z "$ac_cv_prog_AR"; then
49653 # Extract the first word of "ar", so it can be a program name with args.
49654 set dummy
ar; ac_word
=$2
49655 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49657 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49658 echo $ECHO_N "(cached) $ECHO_C" >&6
49660 if test -n "$ac_ct_AR"; then
49661 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
49663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49664 for as_dir
in $PATH
49667 test -z "$as_dir" && as_dir
=.
49668 for ac_exec_ext
in '' $ac_executable_extensions; do
49669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49670 ac_cv_prog_ac_ct_AR
="ar"
49671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49680 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
49681 if test -n "$ac_ct_AR"; then
49682 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49683 echo "${ECHO_T}$ac_ct_AR" >&6; }
49685 { echo "$as_me:$LINENO: result: no" >&5
49686 echo "${ECHO_T}no" >&6; }
49689 if test "x$ac_ct_AR" = x
; then
49692 case $cross_compiling:$ac_tool_warned in
49694 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49695 whose name does not start with the host triplet. If you think this
49696 configuration is useful to you, please write to autoconf@gnu.org." >&5
49697 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49698 whose name does not start with the host triplet. If you think this
49699 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49700 ac_tool_warned
=yes ;;
49705 AR
="$ac_cv_prog_AR"
49712 if test -n "$ac_tool_prefix"; then
49713 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49714 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
49715 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49717 if test "${ac_cv_prog_STRIP+set}" = set; then
49718 echo $ECHO_N "(cached) $ECHO_C" >&6
49720 if test -n "$STRIP"; then
49721 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
49723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49724 for as_dir
in $PATH
49727 test -z "$as_dir" && as_dir
=.
49728 for ac_exec_ext
in '' $ac_executable_extensions; do
49729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49730 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
49731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49740 STRIP
=$ac_cv_prog_STRIP
49741 if test -n "$STRIP"; then
49742 { echo "$as_me:$LINENO: result: $STRIP" >&5
49743 echo "${ECHO_T}$STRIP" >&6; }
49745 { echo "$as_me:$LINENO: result: no" >&5
49746 echo "${ECHO_T}no" >&6; }
49751 if test -z "$ac_cv_prog_STRIP"; then
49753 # Extract the first word of "strip", so it can be a program name with args.
49754 set dummy strip
; ac_word
=$2
49755 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49757 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49758 echo $ECHO_N "(cached) $ECHO_C" >&6
49760 if test -n "$ac_ct_STRIP"; then
49761 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
49763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49764 for as_dir
in $PATH
49767 test -z "$as_dir" && as_dir
=.
49768 for ac_exec_ext
in '' $ac_executable_extensions; do
49769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49770 ac_cv_prog_ac_ct_STRIP
="strip"
49771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49780 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
49781 if test -n "$ac_ct_STRIP"; then
49782 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49783 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49785 { echo "$as_me:$LINENO: result: no" >&5
49786 echo "${ECHO_T}no" >&6; }
49789 if test "x$ac_ct_STRIP" = x
; then
49792 case $cross_compiling:$ac_tool_warned in
49794 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49795 whose name does not start with the host triplet. If you think this
49796 configuration is useful to you, please write to autoconf@gnu.org." >&5
49797 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49798 whose name does not start with the host triplet. If you think this
49799 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49800 ac_tool_warned
=yes ;;
49805 STRIP
="$ac_cv_prog_STRIP"
49808 if test -n "$ac_tool_prefix"; then
49809 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49810 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
49811 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49813 if test "${ac_cv_prog_NM+set}" = set; then
49814 echo $ECHO_N "(cached) $ECHO_C" >&6
49816 if test -n "$NM"; then
49817 ac_cv_prog_NM
="$NM" # Let the user override the test.
49819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49820 for as_dir
in $PATH
49823 test -z "$as_dir" && as_dir
=.
49824 for ac_exec_ext
in '' $ac_executable_extensions; do
49825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49826 ac_cv_prog_NM
="${ac_tool_prefix}nm"
49827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49837 if test -n "$NM"; then
49838 { echo "$as_me:$LINENO: result: $NM" >&5
49839 echo "${ECHO_T}$NM" >&6; }
49841 { echo "$as_me:$LINENO: result: no" >&5
49842 echo "${ECHO_T}no" >&6; }
49847 if test -z "$ac_cv_prog_NM"; then
49849 # Extract the first word of "nm", so it can be a program name with args.
49850 set dummy nm
; ac_word
=$2
49851 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49853 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49854 echo $ECHO_N "(cached) $ECHO_C" >&6
49856 if test -n "$ac_ct_NM"; then
49857 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
49859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49860 for as_dir
in $PATH
49863 test -z "$as_dir" && as_dir
=.
49864 for ac_exec_ext
in '' $ac_executable_extensions; do
49865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49866 ac_cv_prog_ac_ct_NM
="nm"
49867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49876 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
49877 if test -n "$ac_ct_NM"; then
49878 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49879 echo "${ECHO_T}$ac_ct_NM" >&6; }
49881 { echo "$as_me:$LINENO: result: no" >&5
49882 echo "${ECHO_T}no" >&6; }
49885 if test "x$ac_ct_NM" = x
; then
49888 case $cross_compiling:$ac_tool_warned in
49890 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49891 whose name does not start with the host triplet. If you think this
49892 configuration is useful to you, please write to autoconf@gnu.org." >&5
49893 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49894 whose name does not start with the host triplet. If you think this
49895 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49896 ac_tool_warned
=yes ;;
49901 NM
="$ac_cv_prog_NM"
49905 case ${BAKEFILE_HOST} in
49907 INSTALL_DIR
="mkdir -p"
49910 INSTALL_DIR
='$(INSTALL) -d'
49916 case ${BAKEFILE_HOST} in
49917 *-*-cygwin* | *-*-mingw32* )
49918 LDFLAGS_GUI
="-mwindows"
49924 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49925 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49926 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49927 echo $ECHO_N "(cached) $ECHO_C" >&6
49930 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
49931 egrep -s GNU
> /dev
/null
); then
49932 bakefile_cv_prog_makeisgnu
="yes"
49934 bakefile_cv_prog_makeisgnu
="no"
49938 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49939 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49941 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49958 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49959 case "${BAKEFILE_HOST}" in
49966 *-pc-os2_emx | *-pc-os2-emx )
49976 powerpc
-apple-macos* )
49985 case "$BAKEFILE_FORCE_PLATFORM" in
50020 # Check whether --enable-omf was given.
50021 if test "${enable_omf+set}" = set; then
50022 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
50026 case "${BAKEFILE_HOST}" in
50028 if test "x$GCC" = "xyes"; then
50029 CFLAGS
="$CFLAGS -fno-common"
50030 CXXFLAGS
="$CXXFLAGS -fno-common"
50032 if test "x$XLCC" = "xyes"; then
50033 CFLAGS
="$CFLAGS -qnocommon"
50034 CXXFLAGS
="$CXXFLAGS -qnocommon"
50038 *-pc-os2_emx | *-pc-os2-emx )
50039 if test "x$bk_os2_use_omf" = "xyes" ; then
50042 LDFLAGS
="-Zomf $LDFLAGS"
50043 CFLAGS
="-Zomf $CFLAGS"
50044 CXXFLAGS
="-Zomf $CXXFLAGS"
50052 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
50058 SO_SUFFIX_MODULE
="so"
50063 DLLPREFIX_MODULE
=""
50067 case "${BAKEFILE_HOST}" in
50070 SO_SUFFIX_MODULE
="sl"
50074 SO_SUFFIX_MODULE
="a"
50078 SO_SUFFIX_MODULE
="dll"
50079 DLLIMP_SUFFIX
="dll.a"
50086 SO_SUFFIX_MODULE
="dll"
50087 DLLIMP_SUFFIX
="dll.a"
50097 *-pc-os2_emx | *-pc-os2-emx )
50099 SO_SUFFIX_MODULE
="dll"
50100 DLLIMP_SUFFIX
=$OS2_LIBEXT
50104 LIBEXT
=".$OS2_LIBEXT"
50109 SO_SUFFIX_MODULE
="bundle"
50113 if test "x$DLLIMP_SUFFIX" = "x" ; then
50114 DLLIMP_SUFFIX
="$SO_SUFFIX"
50129 if test "x$GCC" = "xyes"; then
50133 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
50134 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
50137 case "${BAKEFILE_HOST}" in
50139 if test "x$GCC" != "xyes"; then
50140 LDFLAGS
="$LDFLAGS -L/usr/lib"
50142 SHARED_LD_CC
="${CC} -b -o"
50143 SHARED_LD_CXX
="${CXX} -b -o"
50149 if test "$INTELCC" = "yes"; then
50151 elif test "x$SUNCXX" = "xyes"; then
50152 SHARED_LD_CC
="${CC} -G -o"
50153 SHARED_LD_CXX
="${CXX} -G -o"
50159 if test "x$SUNCXX" = xyes
; then
50160 SHARED_LD_CC
="${CC} -G -o"
50161 SHARED_LD_CXX
="${CXX} -G -o"
50169 cat <<EOF >shared-ld-sh
50171 #-----------------------------------------------------------------------------
50172 #-- Name: distrib/mac/shared-ld-sh
50173 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50174 #-- Author: Gilles Depeyrot
50175 #-- Copyright: (c) 2002 Gilles Depeyrot
50176 #-- Licence: any use permitted
50177 #-----------------------------------------------------------------------------
50182 linking_flag="-dynamiclib"
50183 ldargs="-r -keep_private_externs -nostdlib"
50185 while test ${D}# -gt 0; do
50192 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50193 # collect these options and values
50194 args="${D}{args} ${D}1 ${D}2"
50199 # collect these load args
50200 ldargs="${D}{ldargs} ${D}1"
50203 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50204 # collect these options
50205 args="${D}{args} ${D}1"
50208 -dynamiclib|-bundle)
50209 linking_flag="${D}1"
50213 echo "shared-ld: unhandled option '${D}1'"
50217 *.o | *.a | *.dylib)
50218 # collect object files
50219 objects="${D}{objects} ${D}1"
50223 echo "shared-ld: unhandled argument '${D}1'"
50234 # Link one module containing all the others
50236 if test ${D}{verbose} = 1; then
50237 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50239 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50243 # Link the shared library from the single module created, but only if the
50244 # previous command didn't fail:
50246 if test ${D}{status} = 0; then
50247 if test ${D}{verbose} = 1; then
50248 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50250 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50255 # Remove intermediate module
50257 rm -f master.${D}${D}.o
50262 chmod +x shared
-ld-sh
50264 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50265 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
50268 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50269 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50270 if test "${bakefile_cv_gcc31+set}" = set; then
50271 echo $ECHO_N "(cached) $ECHO_C" >&6
50274 cat >conftest.
$ac_ext <<_ACEOF
50277 cat confdefs.h
>>conftest.
$ac_ext
50278 cat >>conftest.
$ac_ext <<_ACEOF
50279 /* end confdefs.h. */
50285 #if (__GNUC__ < 3) || \
50286 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50294 rm -f conftest.
$ac_objext
50295 if { (ac_try
="$ac_compile"
50296 case "(($ac_try" in
50297 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50298 *) ac_try_echo=$ac_try;;
50300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50301 (eval "$ac_compile") 2>conftest.er1
50303 grep -v '^ *+' conftest.er1 >conftest.err
50305 cat conftest.err >&5
50306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50307 (exit $ac_status); } && {
50308 test -z "$ac_c_werror_flag" ||
50309 test ! -s conftest.err
50310 } && test -s conftest.$ac_objext; then
50312 bakefile_cv_gcc31=yes
50315 echo "$as_me: failed program was:" >&5
50316 sed 's/^/| /' conftest.$ac_ext >&5
50319 bakefile_cv_gcc31=no
50324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50327 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50328 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50329 if test "$bakefile_cv_gcc31" = "no"; then
50330 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50331 SHARED_LD_CXX="$SHARED_LD_CC"
50333 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50334 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50337 if test "x$GCC" == "xyes"; then
50338 PIC_FLAG="-dynamic -fPIC"
50340 if test "x$XLCC" = "xyes"; then
50341 PIC_FLAG="-dynamic -DPIC"
50346 if test "x$GCC" = "xyes"; then
50349 case "${BAKEFILE_HOST}" in
50351 LD_EXPFULL="-Wl,-bexpfull"
50355 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50356 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50358 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50359 set dummy makeC++SharedLib; ac_word=$2
50360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50362 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50363 echo $ECHO_N "(cached) $ECHO_C" >&6
50365 if test -n "$AIX_CXX_LD"; then
50366 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50369 for as_dir in $PATH
50372 test -z "$as_dir" && as_dir=.
50373 for ac_exec_ext in '' $ac_executable_extensions; do
50374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50375 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50383 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50386 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50387 if test -n "$AIX_CXX_LD"; then
50388 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50389 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50391 { echo "$as_me:$LINENO: result: no" >&5
50392 echo "${ECHO_T}no" >&6; }
50396 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50397 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50402 SHARED_LD_CC="${LD} -nostart -o"
50403 SHARED_LD_CXX="${LD} -nostart -o"
50407 if test "x$GCC" != "xyes"; then
50412 *-*-cygwin* | *-*-mingw32* )
50414 SHARED_LD_CC="\$(CC) -shared -o"
50415 SHARED_LD_CXX="\$(CXX) -shared -o"
50419 *-pc-os2_emx | *-pc-os2-emx )
50420 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50421 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50425 cat <<EOF >dllar.sh
50428 # dllar - a tool to build both a .dll and an .a file
50429 # from a set of object (.o) files for EMX/OS2.
50431 # Written by Andrew Zabolotny, bit@freya.etu.ru
50432 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50434 # This script will accept a set of files on the command line.
50435 # All the public symbols from the .o files will be exported into
50436 # a .DEF file, then linker will be run (through gcc) against them to
50437 # build a shared library consisting of all given .o files. All libraries
50438 # (.a) will be first decompressed into component .o files then act as
50439 # described above. You can optionally give a description (-d "description")
50440 # which will be put into .DLL. To see the list of accepted options (as well
50441 # as command-line format) simply run this program without options. The .DLL
50442 # is built to be imported by name (there is no guarantee that new versions
50443 # of the library you build will have same ordinals for same symbols).
50445 # dllar is free software; you can redistribute it and/or modify
50446 # it under the terms of the GNU General Public License as published by
50447 # the Free Software Foundation; either version 2, or (at your option)
50448 # any later version.
50450 # dllar is distributed in the hope that it will be useful,
50451 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50452 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50453 # GNU General Public License for more details.
50455 # You should have received a copy of the GNU General Public License
50456 # along with dllar; see the file COPYING. If not, write to the Free
50457 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50460 # To successfuly run this program you will need:
50461 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50462 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50464 # (used to build the .dll)
50466 # (used to create .def file from .o files)
50468 # (used to create .a file from .def file)
50469 # - GNU text utilites (cat, sort, uniq)
50470 # used to process emxexp output
50471 # - GNU file utilities (mv, rm)
50473 # - lxlite (optional, see flag below)
50474 # (used for general .dll cleanup)
50481 # basnam, variant of basename, which does _not_ remove the path, _iff_
50482 # second argument (suffix to remove) is given
50486 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50489 echo ${D}1 | sed 's/'${D}2'${D}//'
50492 echo "error in basnam ${D}*"
50498 # Cleanup temporary files and output
50501 for i in ${D}inputFiles ; do
50504 rm -rf \`basnam
${D}i
!\
`
50511 # Kill result in case of failure as there is just to many stupid make/nmake
50512 # things out there which doesn't do this.
50513 if [ ${D}# -eq 0 ]; then
50514 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50518 # Print usage and exit script with rc=1.
50520 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50521 echo ' [-name-mangler-script script.sh]'
50522 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50523 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50524 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50525 echo ' [*.o] [*.a]'
50526 echo '*> "output_file" should have no extension.'
50527 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50528 echo ' The import library name is derived from this and is set to "name".a,'
50529 echo ' unless overridden by -import'
50530 echo '*> "importlib_name" should have no extension.'
50531 echo ' If it has the .o, or .a extension, it is automatically removed.'
50532 echo ' This name is used as the import library name and may be longer and'
50533 echo ' more descriptive than the DLL name which has to follow the old '
50534 echo ' 8.3 convention of FAT.'
50535 echo '*> "script.sh may be given to override the output_file name by a'
50536 echo ' different name. It is mainly useful if the regular make process'
50537 echo ' of some package does not take into account OS/2 restriction of'
50538 echo ' DLL name lengths. It takes the importlib name as input and is'
50539 echo ' supposed to procude a shorter name as output. The script should'
50540 echo ' expect to get importlib_name without extension and should produce'
50541 echo ' a (max.) 8 letter name without extension.'
50542 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50543 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50544 echo ' These flags will be put at the start of GCC command line.'
50545 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50546 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50547 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50548 echo ' If the last character of a symbol is "*", all symbols beginning'
50549 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50550 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50551 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50552 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50553 echo ' C runtime DLLs.'
50554 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50555 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50556 echo ' unchanged to GCC at the end of command line.'
50557 echo '*> If you create a DLL from a library and you do not specify -o,'
50558 echo ' the basename for DLL and import library will be set to library name,'
50559 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50560 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50561 echo ' library will be renamed into gcc_s.a.'
50564 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50565 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50570 # Execute a command.
50571 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50572 # @Uses Whatever CleanUp() uses.
50578 if [ ${D}rcCmd -ne 0 ]; then
50579 echo "command failed, exit code="${D}rcCmd
50594 CFLAGS="-s -Zcrtdll"
50596 EXPORT_BY_ORDINALS=0
50601 case ${D}curDirS in
50605 curDirS=${D}{curDirS}"/"
50608 # Parse commandline
50611 while [ ${D}1 ]; do
50614 EXPORT_BY_ORDINALS=1;
50624 -name-mangler-script)
50645 exclude_symbols=${D}{exclude_symbols}${D}1" "
50649 library_flags=${D}{library_flags}${D}1" "
50668 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50671 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
50672 if [ ${D}omfLinking -eq 1 ]; then
50673 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50675 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50680 if [ ${D}libsToLink -ne 0 ]; then
50681 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50683 for file in ${D}1 ; do
50684 if [ -f ${D}file ]; then
50685 inputFiles="${D}{inputFiles} ${D}file"
50689 if [ ${D}found -eq 0 ]; then
50690 echo "ERROR: No file(s) found: "${D}1
50697 done # iterate cmdline words
50700 if [ -z "${D}inputFiles" ]; then
50701 echo "dllar: no input files"
50705 # Now extract all .o files from .a files
50707 for file in ${D}inputFiles ; do
50718 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50723 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
50725 if [ ${D}? -ne 0 ]; then
50726 echo "Failed to create subdirectory ./${D}dirname"
50730 # Append '!' to indicate archive
50731 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50732 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50735 for subfile in ${D}dirname/*.o* ; do
50736 if [ -f ${D}subfile ]; then
50738 if [ -s ${D}subfile ]; then
50739 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50740 newInputFiles="${D}newInputFiles ${D}subfile"
50744 if [ ${D}found -eq 0 ]; then
50745 echo "WARNING: there are no files in archive \\'${D}file\\'"
50749 newInputFiles="${D}{newInputFiles} ${D}file"
50753 inputFiles="${D}newInputFiles"
50755 # Output filename(s).
50757 if [ -z ${D}outFile ]; then
50759 set outFile ${D}inputFiles; outFile=${D}2
50762 # If it is an archive, remove the '!' and the '_%' suffixes
50763 case ${D}outFile in
50765 outFile=\`basnam
${D}outFile _
%!\
`
50770 case ${D}outFile in
50772 outFile=\`basnam
${D}outFile .dll\
`
50775 outFile=\`basnam
${D}outFile .DLL\
`
50778 outFile=\`basnam
${D}outFile .o\
`
50781 outFile=\`basnam
${D}outFile .obj\
`
50784 outFile=\`basnam
${D}outFile .a\
`
50787 outFile=\`basnam
${D}outFile .lib\
`
50792 case ${D}outimpFile in
50794 outimpFile=\`basnam
${D}outimpFile .a\
`
50797 outimpFile=\`basnam
${D}outimpFile .lib\
`
50802 if [ -z ${D}outimpFile ]; then
50803 outimpFile=${D}outFile
50805 defFile="${D}{outFile}.def"
50806 arcFile="${D}{outimpFile}.a"
50807 arcFile2="${D}{outimpFile}.lib"
50809 #create ${D}dllFile as something matching 8.3 restrictions,
50810 if [ -z ${D}renameScript ] ; then
50811 dllFile="${D}outFile"
50813 dllFile=\`${D}renameScript
${D}outimpFile\
`
50816 if [ ${D}do_backup -ne 0 ] ; then
50817 if [ -f ${D}arcFile ] ; then
50818 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50820 if [ -f ${D}arcFile2 ] ; then
50821 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50825 # Extract public symbols from all the object files.
50826 tmpdefFile=${D}{defFile}_%
50827 rm -f ${D}tmpdefFile
50828 for file in ${D}inputFiles ; do
50833 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50838 # Create the def file.
50840 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
50841 dllFile="${D}{dllFile}.dll"
50842 if [ ! -z ${D}description ]; then
50843 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50845 echo "EXPORTS" >> ${D}defFile
50847 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50848 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50850 # Checks if the export is ok or not.
50851 for word in ${D}exclude_symbols; do
50852 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50853 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50857 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50858 sed "=" < ${D}tmpdefFile | \\
50862 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50864 ' > ${D}{tmpdefFile}%
50865 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50867 rm -f ${D}{tmpdefFile}%
50869 cat ${D}tmpdefFile >> ${D}defFile
50870 rm -f ${D}tmpdefFile
50872 # Do linking, create implib, and apply lxlite.
50874 for file in ${D}inputFiles ; do
50879 gccCmdl="${D}gccCmdl ${D}file"
50883 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50884 touch "${D}{outFile}.dll"
50886 doCommand "emximp -o ${D}arcFile ${D}defFile"
50887 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50889 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50892 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50894 doCommand "emxomf -s -l ${D}arcFile"
50904 powerpc-apple-macos* | \
50905 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50915 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50916 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50917 { (exit 1); exit 1; }; }
50920 if test "x$PIC_FLAG" != "x" ; then
50921 PIC_FLAG="$PIC_FLAG -DPIC"
50924 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50925 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50927 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50928 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50947 case "${BAKEFILE_HOST}" in
50948 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
50949 if test "x$SUNCXX" = "xyes"; then
50952 SONAME_FLAG="-Wl,-soname,"
50987 # Check whether --enable-dependency-tracking was given.
50988 if test "${enable_dependency_tracking+set}" = set; then
50989 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50993 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50994 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50997 if test "x$bk_use_trackdeps" = "xno" ; then
50999 { echo "$as_me:$LINENO: result: disabled" >&5
51000 echo "${ECHO_T}disabled" >&6; }
51004 if test "x$GCC" = "xyes"; then
51006 case "${BAKEFILE_HOST}" in
51008 DEPSFLAG="-no-cpp-precomp -MMD"
51014 { echo "$as_me:$LINENO: result: gcc" >&5
51015 echo "${ECHO_T}gcc" >&6; }
51016 elif test "x$MWCC" = "xyes"; then
51019 { echo "$as_me:$LINENO: result: mwcc" >&5
51020 echo "${ECHO_T}mwcc" >&6; }
51021 elif test "x$SUNCC" = "xyes"; then
51024 { echo "$as_me:$LINENO: result: Sun cc" >&5
51025 echo "${ECHO_T}Sun cc" >&6; }
51026 elif test "x$SGICC" = "xyes"; then
51029 { echo "$as_me:$LINENO: result: SGI cc" >&5
51030 echo "${ECHO_T}SGI cc" >&6; }
51031 elif test "x$HPCC" = "xyes"; then
51034 { echo "$as_me:$LINENO: result: HP cc" >&5
51035 echo "${ECHO_T}HP cc" >&6; }
51036 elif test "x$COMPAQCC" = "xyes"; then
51039 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51040 echo "${ECHO_T}Compaq cc" >&6; }
51043 { echo "$as_me:$LINENO: result: none" >&5
51044 echo "${ECHO_T}none" >&6; }
51047 if test $DEPS_TRACKING = 1 ; then
51053 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51054 # script. It is used to track C/C++ files dependencies in portable way.
51056 # Permission is given to use this file in any way.
51058 DEPSMODE=${DEPSMODE}
51060 DEPSFLAG="${DEPSFLAG}"
51062 mkdir -p ${D}DEPSDIR
51064 if test ${D}DEPSMODE = gcc ; then
51065 ${D}* ${D}{DEPSFLAG}
51067 if test ${D}{status} != 0 ; then
51070 # move created file to the location we want it in:
51071 while test ${D}# -gt 0; do
51085 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
51086 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
51087 if test -f ${D}depfile ; then
51088 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51091 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51092 depfile=\`basename ${D}objfile
| sed -e 's/\\..*${D}/.d/g'\
`
51093 if test ! -f ${D}depfile ; then
51094 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51095 depfile="${D}objfile.d"
51097 if test -f ${D}depfile ; then
51098 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51103 elif test ${D}DEPSMODE = mwcc ; then
51104 ${D}* || exit ${D}?
51105 # Run mwcc again with -MM and redirect into the dep file we want
51106 # NOTE: We can't use shift here because we need ${D}* to be valid
51108 for arg in ${D}* ; do
51109 if test "${D}prevarg" = "-o"; then
51122 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51124 elif test ${D}DEPSMODE = unixcc; then
51125 ${D}* || exit ${D}?
51126 # Run compiler again with deps flag and redirect into the dep file.
51127 # It doesn't work if the '-o FILE' option is used, but without it the
51128 # dependency file will contain the wrong name for the object. So it is
51129 # removed from the command line, and the dep file is fixed with sed.
51131 while test ${D}# -gt 0; do
51138 eval arg${D}#=\\${D}1
51139 cmd="${D}cmd \\${D}arg${D}#"
51144 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51153 BK_DEPS="`pwd`/bk-deps"
51161 case ${BAKEFILE_HOST} in
51162 *-*-cygwin* | *-*-mingw32* )
51163 if test -n "$ac_tool_prefix"; then
51164 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51165 set dummy ${ac_tool_prefix}windres; ac_word=$2
51166 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51168 if test "${ac_cv_prog_WINDRES+set}" = set; then
51169 echo $ECHO_N "(cached) $ECHO_C" >&6
51171 if test -n "$WINDRES"; then
51172 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51175 for as_dir in $PATH
51178 test -z "$as_dir" && as_dir=.
51179 for ac_exec_ext in '' $ac_executable_extensions; do
51180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51181 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51191 WINDRES=$ac_cv_prog_WINDRES
51192 if test -n "$WINDRES"; then
51193 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51194 echo "${ECHO_T}$WINDRES" >&6; }
51196 { echo "$as_me:$LINENO: result: no" >&5
51197 echo "${ECHO_T}no" >&6; }
51202 if test -z "$ac_cv_prog_WINDRES"; then
51203 ac_ct_WINDRES=$WINDRES
51204 # Extract the first word of "windres", so it can be a program name with args.
51205 set dummy windres; ac_word=$2
51206 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51208 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51209 echo $ECHO_N "(cached) $ECHO_C" >&6
51211 if test -n "$ac_ct_WINDRES"; then
51212 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51215 for as_dir in $PATH
51218 test -z "$as_dir" && as_dir=.
51219 for ac_exec_ext in '' $ac_executable_extensions; do
51220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51221 ac_cv_prog_ac_ct_WINDRES="windres"
51222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51231 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51232 if test -n "$ac_ct_WINDRES"; then
51233 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51234 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51236 { echo "$as_me:$LINENO: result: no" >&5
51237 echo "${ECHO_T}no" >&6; }
51240 if test "x$ac_ct_WINDRES" = x; then
51243 case $cross_compiling:$ac_tool_warned in
51245 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51246 whose name does not start with the host triplet. If you think this
51247 configuration is useful to you, please write to autoconf@gnu.org." >&5
51248 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51249 whose name does not start with the host triplet. If you think this
51250 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51251 ac_tool_warned=yes ;;
51253 WINDRES=$ac_ct_WINDRES
51256 WINDRES="$ac_cv_prog_WINDRES"
51261 *-*-darwin* | powerpc-apple-macos* )
51262 # Extract the first word of "Rez", so it can be a program name with args.
51263 set dummy Rez; ac_word=$2
51264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51266 if test "${ac_cv_prog_REZ+set}" = set; then
51267 echo $ECHO_N "(cached) $ECHO_C" >&6
51269 if test -n "$REZ"; then
51270 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51273 for as_dir in $PATH
51276 test -z "$as_dir" && as_dir=.
51277 for ac_exec_ext in '' $ac_executable_extensions; do
51278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51279 ac_cv_prog_REZ="Rez"
51280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51287 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51290 REZ=$ac_cv_prog_REZ
51291 if test -n "$REZ"; then
51292 { echo "$as_me:$LINENO: result: $REZ" >&5
51293 echo "${ECHO_T}$REZ" >&6; }
51295 { echo "$as_me:$LINENO: result: no" >&5
51296 echo "${ECHO_T}no" >&6; }
51300 # Extract the first word of "SetFile", so it can be a program name with args.
51301 set dummy SetFile; ac_word=$2
51302 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51304 if test "${ac_cv_prog_SETFILE+set}" = set; then
51305 echo $ECHO_N "(cached) $ECHO_C" >&6
51307 if test -n "$SETFILE"; then
51308 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51311 for as_dir in $PATH
51314 test -z "$as_dir" && as_dir=.
51315 for ac_exec_ext in '' $ac_executable_extensions; do
51316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51317 ac_cv_prog_SETFILE="SetFile"
51318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51325 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51328 SETFILE=$ac_cv_prog_SETFILE
51329 if test -n "$SETFILE"; then
51330 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51331 echo "${ECHO_T}$SETFILE" >&6; }
51333 { echo "$as_me:$LINENO: result: no" >&5
51334 echo "${ECHO_T}no" >&6; }
51346 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51349 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51353 # Check whether --enable-precomp-headers was given.
51354 if test "${enable_precomp_headers+set}" = set; then
51355 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51364 case ${BAKEFILE_HOST} in
51370 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51371 if test "x$GCC" = "xyes"; then
51372 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51373 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51374 cat >conftest.$ac_ext <<_ACEOF
51377 cat confdefs.h >>conftest.$ac_ext
51378 cat >>conftest.$ac_ext <<_ACEOF
51379 /* end confdefs.h. */
51385 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51386 There is no PCH support
51389 There is no PCH support
51391 #if (__GNUC__ == 3) && \
51392 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51393 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51394 ( defined(__INTEL_COMPILER) )
51395 There is no PCH support
51402 rm -f conftest.$ac_objext
51403 if { (ac_try="$ac_compile"
51404 case "(($ac_try" in
51405 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51406 *) ac_try_echo
=$ac_try;;
51408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51409 (eval "$ac_compile") 2>conftest.er1
51411 grep -v '^ *+' conftest.er1
>conftest.err
51413 cat conftest.err
>&5
51414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51415 (exit $ac_status); } && {
51416 test -z "$ac_c_werror_flag" ||
51417 test ! -s conftest.err
51418 } && test -s conftest.
$ac_objext; then
51420 { echo "$as_me:$LINENO: result: yes" >&5
51421 echo "${ECHO_T}yes" >&6; }
51425 echo "$as_me: failed program was:" >&5
51426 sed 's/^/| /' conftest.
$ac_ext >&5
51429 cat >conftest.
$ac_ext <<_ACEOF
51432 cat confdefs.h
>>conftest.
$ac_ext
51433 cat >>conftest.
$ac_ext <<_ACEOF
51434 /* end confdefs.h. */
51440 #if !defined(__INTEL_COMPILER) || \
51441 (__INTEL_COMPILER < 800)
51442 There is no PCH support
51449 rm -f conftest.
$ac_objext
51450 if { (ac_try
="$ac_compile"
51451 case "(($ac_try" in
51452 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51453 *) ac_try_echo=$ac_try;;
51455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51456 (eval "$ac_compile") 2>conftest.er1
51458 grep -v '^ *+' conftest.er1 >conftest.err
51460 cat conftest.err >&5
51461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51462 (exit $ac_status); } && {
51463 test -z "$ac_c_werror_flag" ||
51464 test ! -s conftest.err
51465 } && test -s conftest.$ac_objext; then
51467 { echo "$as_me:$LINENO: result: yes" >&5
51468 echo "${ECHO_T}yes" >&6; }
51472 echo "$as_me: failed program was:" >&5
51473 sed 's/^/| /' conftest.$ac_ext >&5
51476 { echo "$as_me:$LINENO: result: no" >&5
51477 echo "${ECHO_T}no" >&6; }
51481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51486 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51490 cat <<EOF >bk-make-pch
51493 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51494 # script. It is used to generated precompiled headers.
51496 # Permission is given to use this file in any way.
51506 while test ${D}{#} -gt 0; do
51510 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
51511 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51512 headerfile="${D}{incdir}/${D}{header}"
51515 -use-pch|-use_pch )
51520 if test ${D}add_to_cmdline = 1 ; then
51521 compiler="${D}{compiler} ${D}{1}"
51526 if test "x${D}{headerfile}" = "x" ; then
51527 echo "error: can't find header ${D}{header} in include paths" >&2
51529 if test -f ${D}{outfile} ; then
51530 rm -f ${D}{outfile}
51532 mkdir -p \`dirname ${D}{outfile
}\
`
51534 depsfile=".deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
51536 if test "x${GCC_PCH}" = "x1" ; then
51537 # can do this because gcc is >= 3.4:
51538 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51539 elif test "x${ICC_PCH}" = "x1" ; then
51540 filename=pch_gen-${D}${D}
51541 file=${D}{filename}.c
51542 dfile=${D}{filename}.d
51543 cat > ${D}file <<EOT
51544 #include "${D}header"
51546 # using -MF icc complains about differing command lines in creation/use
51547 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51548 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51549 rm -f ${D}file ${D}dfile ${D}{filename}.o
51555 chmod +x bk-make-pch
51556 BK_MAKE_PCH="`pwd`/bk-make-pch"
51565 COND_BUILD_DEBUG="#"
51566 if test "x$BUILD" = "xdebug" ; then
51567 COND_BUILD_DEBUG=""
51570 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51571 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51572 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51575 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51576 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51577 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51580 COND_BUILD_DEBUG_UNICODE_0="#"
51581 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51582 COND_BUILD_DEBUG_UNICODE_0=""
51585 COND_BUILD_DEBUG_UNICODE_1="#"
51586 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51587 COND_BUILD_DEBUG_UNICODE_1=""
51590 COND_BUILD_RELEASE="#"
51591 if test "x$BUILD" = "xrelease" ; then
51592 COND_BUILD_RELEASE=""
51595 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51596 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51597 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51600 COND_BUILD_RELEASE_UNICODE_0="#"
51601 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51602 COND_BUILD_RELEASE_UNICODE_0=""
51605 COND_BUILD_RELEASE_UNICODE_1="#"
51606 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51607 COND_BUILD_RELEASE_UNICODE_1=""
51610 COND_DEBUG_FLAG_1="#"
51611 if test "x$DEBUG_FLAG" = "x1" ; then
51612 COND_DEBUG_FLAG_1=""
51615 COND_DEBUG_INFO_0="#"
51616 if test "x$DEBUG_INFO" = "x0" ; then
51617 COND_DEBUG_INFO_0=""
51620 COND_DEBUG_INFO_1="#"
51621 if test "x$DEBUG_INFO" = "x1" ; then
51622 COND_DEBUG_INFO_1=""
51625 COND_DEPS_TRACKING_0="#"
51626 if test "x$DEPS_TRACKING" = "x0" ; then
51627 COND_DEPS_TRACKING_0=""
51630 COND_DEPS_TRACKING_1="#"
51631 if test "x$DEPS_TRACKING" = "x1" ; then
51632 COND_DEPS_TRACKING_1=""
51636 if test "x$GCC_PCH" = "x1" ; then
51641 if test "x$ICC_PCH" = "x1" ; then
51645 COND_MONOLITHIC_0="#"
51646 if test "x$MONOLITHIC" = "x0" ; then
51647 COND_MONOLITHIC_0=""
51650 COND_MONOLITHIC_0_SHARED_0="#"
51651 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51652 COND_MONOLITHIC_0_SHARED_0=""
51655 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51656 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51657 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51660 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51661 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51662 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51665 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51666 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51667 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51670 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51671 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51672 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51675 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51676 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51677 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51680 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51681 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51682 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51685 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51686 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51687 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51690 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51691 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51692 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51695 COND_MONOLITHIC_0_SHARED_1="#"
51696 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51697 COND_MONOLITHIC_0_SHARED_1=""
51700 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51701 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51702 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51705 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51706 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51707 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51710 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51711 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51712 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51715 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51716 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51717 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51720 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51721 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51722 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51725 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51726 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51727 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51730 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51731 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51732 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51735 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51736 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51737 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51740 COND_MONOLITHIC_0_USE_AUI_1="#"
51741 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51742 COND_MONOLITHIC_0_USE_AUI_1=""
51745 COND_MONOLITHIC_0_USE_GUI_1="#"
51746 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51747 COND_MONOLITHIC_0_USE_GUI_1=""
51750 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51751 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51752 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51755 COND_MONOLITHIC_0_USE_HTML_1="#"
51756 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51757 COND_MONOLITHIC_0_USE_HTML_1=""
51760 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51761 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51762 COND_MONOLITHIC_0_USE_MEDIA_1=""
51765 COND_MONOLITHIC_0_USE_QA_1="#"
51766 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51767 COND_MONOLITHIC_0_USE_QA_1=""
51770 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51771 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51772 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51775 COND_MONOLITHIC_0_USE_STC_1="#"
51776 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51777 COND_MONOLITHIC_0_USE_STC_1=""
51780 COND_MONOLITHIC_0_USE_XRC_1="#"
51781 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51782 COND_MONOLITHIC_0_USE_XRC_1=""
51785 COND_MONOLITHIC_1="#"
51786 if test "x$MONOLITHIC" = "x1" ; then
51787 COND_MONOLITHIC_1=""
51790 COND_MONOLITHIC_1_SHARED_0="#"
51791 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51792 COND_MONOLITHIC_1_SHARED_0=""
51795 COND_MONOLITHIC_1_SHARED_1="#"
51796 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51797 COND_MONOLITHIC_1_SHARED_1=""
51800 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51801 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51802 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51805 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51806 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51807 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51810 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51811 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51812 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51815 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51816 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51817 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51820 COND_PLATFORM_MACOSX_1="#"
51821 if test "x$PLATFORM_MACOSX" = "x1" ; then
51822 COND_PLATFORM_MACOSX_1=""
51825 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51826 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51827 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51830 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51831 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51832 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51835 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51836 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51837 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51840 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51841 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51842 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51845 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51846 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51847 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51850 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51851 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51852 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51855 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51856 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51857 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51860 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51861 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51862 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51865 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51866 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51867 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51870 COND_PLATFORM_MACOS_1="#"
51871 if test "x$PLATFORM_MACOS" = "x1" ; then
51872 COND_PLATFORM_MACOS_1=""
51875 COND_PLATFORM_MAC_1="#"
51876 if test "x$PLATFORM_MAC" = "x1" ; then
51877 COND_PLATFORM_MAC_1=""
51880 COND_PLATFORM_MSDOS_1="#"
51881 if test "x$PLATFORM_MSDOS" = "x1" ; then
51882 COND_PLATFORM_MSDOS_1=""
51885 COND_PLATFORM_OS2_1="#"
51886 if test "x$PLATFORM_OS2" = "x1" ; then
51887 COND_PLATFORM_OS2_1=""
51890 COND_PLATFORM_UNIX_0="#"
51891 if test "x$PLATFORM_UNIX" = "x0" ; then
51892 COND_PLATFORM_UNIX_0=""
51895 COND_PLATFORM_UNIX_1="#"
51896 if test "x$PLATFORM_UNIX" = "x1" ; then
51897 COND_PLATFORM_UNIX_1=""
51900 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51901 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51902 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51905 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51906 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51907 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51910 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51911 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51912 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51915 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51916 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51917 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51920 COND_PLATFORM_WIN32_0="#"
51921 if test "x$PLATFORM_WIN32" = "x0" ; then
51922 COND_PLATFORM_WIN32_0=""
51925 COND_PLATFORM_WIN32_1="#"
51926 if test "x$PLATFORM_WIN32" = "x1" ; then
51927 COND_PLATFORM_WIN32_1=""
51931 if test "x$SHARED" = "x0" ; then
51935 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51936 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51937 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51940 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51941 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51942 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51945 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51946 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51947 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51950 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51951 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51952 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51955 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51956 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51957 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51960 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51961 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51962 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51965 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51966 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51967 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51970 COND_SHARED_0_USE_STC_1="#"
51971 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51972 COND_SHARED_0_USE_STC_1=""
51975 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
51976 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51977 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
51980 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
51981 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51982 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
51985 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
51986 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51987 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
51991 if test "x$SHARED" = "x1" ; then
51995 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51996 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51997 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52001 if test "x$TOOLKIT" = "x" ; then
52005 COND_TOOLKIT_COCOA="#"
52006 if test "x$TOOLKIT" = "xCOCOA" ; then
52007 COND_TOOLKIT_COCOA=""
52010 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52011 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52012 COND_TOOLKIT_COCOA_USE_GUI_1=""
52015 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52016 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52017 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52020 COND_TOOLKIT_DFB="#"
52021 if test "x$TOOLKIT" = "xDFB" ; then
52022 COND_TOOLKIT_DFB=""
52025 COND_TOOLKIT_DFB_USE_GUI_1="#"
52026 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52027 COND_TOOLKIT_DFB_USE_GUI_1=""
52030 COND_TOOLKIT_GTK="#"
52031 if test "x$TOOLKIT" = "xGTK" ; then
52032 COND_TOOLKIT_GTK=""
52035 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52036 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52037 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52040 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52041 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52042 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52045 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52046 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52047 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52050 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52051 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52052 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52055 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
52056 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
52057 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
52060 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52061 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52062 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52065 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52066 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52067 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52070 COND_TOOLKIT_GTK_USE_GUI_1="#"
52071 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52072 COND_TOOLKIT_GTK_USE_GUI_1=""
52075 COND_TOOLKIT_MAC="#"
52076 if test "x$TOOLKIT" = "xMAC" ; then
52077 COND_TOOLKIT_MAC=""
52080 COND_TOOLKIT_MAC_USE_GUI_1="#"
52081 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52082 COND_TOOLKIT_MAC_USE_GUI_1=""
52085 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52086 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52087 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52090 COND_TOOLKIT_MGL="#"
52091 if test "x$TOOLKIT" = "xMGL" ; then
52092 COND_TOOLKIT_MGL=""
52095 COND_TOOLKIT_MGL_USE_GUI_1="#"
52096 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52097 COND_TOOLKIT_MGL_USE_GUI_1=""
52100 COND_TOOLKIT_MOTIF="#"
52101 if test "x$TOOLKIT" = "xMOTIF" ; then
52102 COND_TOOLKIT_MOTIF=""
52105 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52106 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52107 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52110 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52111 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52112 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52115 COND_TOOLKIT_MSW="#"
52116 if test "x$TOOLKIT" = "xMSW" ; then
52117 COND_TOOLKIT_MSW=""
52120 COND_TOOLKIT_MSW_USE_GUI_1="#"
52121 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52122 COND_TOOLKIT_MSW_USE_GUI_1=""
52125 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52126 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52127 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52130 COND_TOOLKIT_MSW_WXUNIV_0="#"
52131 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52132 COND_TOOLKIT_MSW_WXUNIV_0=""
52135 COND_TOOLKIT_PM="#"
52136 if test "x$TOOLKIT" = "xPM" ; then
52140 COND_TOOLKIT_PM_USE_GUI_1="#"
52141 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52142 COND_TOOLKIT_PM_USE_GUI_1=""
52145 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52146 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52147 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52150 COND_TOOLKIT_WINCE="#"
52151 if test "x$TOOLKIT" = "xWINCE" ; then
52152 COND_TOOLKIT_WINCE=""
52155 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52156 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52157 COND_TOOLKIT_WINCE_USE_GUI_1=""
52160 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52161 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52162 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52165 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52166 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52167 COND_TOOLKIT_WINCE_WXUNIV_0=""
52170 COND_TOOLKIT_X11="#"
52171 if test "x$TOOLKIT" = "xX11" ; then
52172 COND_TOOLKIT_X11=""
52175 COND_TOOLKIT_X11_USE_GUI_1="#"
52176 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52177 COND_TOOLKIT_X11_USE_GUI_1=""
52181 if test "x$UNICODE" = "x1" ; then
52185 COND_USE_EXCEPTIONS_0="#"
52186 if test "x$USE_EXCEPTIONS" = "x0" ; then
52187 COND_USE_EXCEPTIONS_0=""
52190 COND_USE_EXCEPTIONS_1="#"
52191 if test "x$USE_EXCEPTIONS" = "x1" ; then
52192 COND_USE_EXCEPTIONS_1=""
52196 if test "x$USE_GUI" = "x0" ; then
52201 if test "x$USE_GUI" = "x1" ; then
52205 COND_USE_GUI_1_USE_OPENGL_1="#"
52206 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52207 COND_USE_GUI_1_USE_OPENGL_1=""
52210 COND_USE_GUI_1_WXUNIV_0="#"
52211 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52212 COND_USE_GUI_1_WXUNIV_0=""
52215 COND_USE_GUI_1_WXUNIV_1="#"
52216 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52217 COND_USE_GUI_1_WXUNIV_1=""
52220 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52221 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52222 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52225 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52226 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52227 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52230 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52231 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52232 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52236 if test "x$USE_PCH" = "x1" ; then
52240 COND_USE_PLUGINS_0="#"
52241 if test "x$USE_PLUGINS" = "x0" ; then
52242 COND_USE_PLUGINS_0=""
52245 COND_USE_RTTI_0="#"
52246 if test "x$USE_RTTI" = "x0" ; then
52250 COND_USE_RTTI_1="#"
52251 if test "x$USE_RTTI" = "x1" ; then
52255 COND_USE_SOSYMLINKS_1="#"
52256 if test "x$USE_SOSYMLINKS" = "x1" ; then
52257 COND_USE_SOSYMLINKS_1=""
52260 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52261 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52262 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52265 COND_USE_SOVERLINUX_1="#"
52266 if test "x$USE_SOVERLINUX" = "x1" ; then
52267 COND_USE_SOVERLINUX_1=""
52270 COND_USE_SOVERSION_0="#"
52271 if test "x$USE_SOVERSION" = "x0" ; then
52272 COND_USE_SOVERSION_0=""
52275 COND_USE_SOVERSOLARIS_1="#"
52276 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52277 COND_USE_SOVERSOLARIS_1=""
52281 if test "x$USE_STC" = "x1" ; then
52285 COND_USE_THREADS_0="#"
52286 if test "x$USE_THREADS" = "x0" ; then
52287 COND_USE_THREADS_0=""
52290 COND_USE_THREADS_1="#"
52291 if test "x$USE_THREADS" = "x1" ; then
52292 COND_USE_THREADS_1=""
52296 if test "x$USE_XRC" = "x1" ; then
52300 COND_WINDOWS_IMPLIB_1="#"
52301 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52302 COND_WINDOWS_IMPLIB_1=""
52305 COND_WITH_PLUGIN_SDL_1="#"
52306 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52307 COND_WITH_PLUGIN_SDL_1=""
52311 if test "x$WXUNIV" = "x0" ; then
52316 if test "x$WXUNIV" = "x1" ; then
52320 COND_WXUSE_EXPAT_BUILTIN="#"
52321 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52322 COND_WXUSE_EXPAT_BUILTIN=""
52325 COND_WXUSE_LIBJPEG_BUILTIN="#"
52326 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52327 COND_WXUSE_LIBJPEG_BUILTIN=""
52330 COND_WXUSE_LIBPNG_BUILTIN="#"
52331 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52332 COND_WXUSE_LIBPNG_BUILTIN=""
52335 COND_WXUSE_LIBTIFF_BUILTIN="#"
52336 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52337 COND_WXUSE_LIBTIFF_BUILTIN=""
52340 COND_WXUSE_REGEX_BUILTIN="#"
52341 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52342 COND_WXUSE_REGEX_BUILTIN=""
52345 COND_WXUSE_ZLIB_BUILTIN="#"
52346 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52347 COND_WXUSE_ZLIB_BUILTIN=""
52352 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52353 { { 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
52354 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;}
52355 { (exit 1); exit 1; }; }
52358 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52359 { { 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
52360 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;}
52361 { (exit 1); exit 1; }; }
52368 ?:* ) # Drive letter, considered as absolute.
52371 INSTALL=`pwd`/${INSTALL} ;;
52374 if test "$wxUSE_GUI" = "yes"; then
52376 if test "$wxUSE_MSW" = 1 ; then
52377 if test "x$WINDRES" = "x"; then
52378 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52379 echo "$as_me: error: Required windres program not found" >&2;}
52380 { (exit 1); exit 1; }; }
52386 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
52387 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52388 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52390 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52392 # Extract the first word of "DeRez", so it can be a program name with args.
52393 set dummy DeRez; ac_word=$2
52394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52396 if test "${ac_cv_prog_DEREZ+set}" = set; then
52397 echo $ECHO_N "(cached) $ECHO_C" >&6
52399 if test -n "$DEREZ"; then
52400 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52403 for as_dir in $PATH
52406 test -z "$as_dir" && as_dir=.
52407 for ac_exec_ext in '' $ac_executable_extensions; do
52408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52409 ac_cv_prog_DEREZ="DeRez"
52410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52417 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52420 DEREZ=$ac_cv_prog_DEREZ
52421 if test -n "$DEREZ"; then
52422 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52423 echo "${ECHO_T}$DEREZ" >&6; }
52425 { echo "$as_me:$LINENO: result: no" >&5
52426 echo "${ECHO_T}no" >&6; }
52431 MACSETFILE="\$(SETFILE)"
52433 if test "$wxUSE_MAC" = 1; then
52434 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52436 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52438 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52439 RESCOMP="cat /dev/null \| $REZ"
52440 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52446 if test "$wxUSE_PM" = 1; then
52448 WXCONFIG_RESFLAGS="-ep"
52450 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52452 POSTLINK_COMMAND="@true"
52459 if test $GCC_PCH = 1
52461 if test "$wx_cv_gcc_pch_bug" = yes; then
52462 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52463 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52464 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52465 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52466 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52467 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52470 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52474 if test "$wxUSE_MAC" = 1 ; then
52475 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52476 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52482 if test "$wxUSE_SHARED" = "yes"; then
52484 *-pc-os2_emx | *-pc-os2-emx )
52485 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52486 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52487 cp -p ${srcdir}/src/os2/dllnames.sh .
52488 cp -p ${srcdir}/src/os2/dllar.sh .
52492 if test "$wxUSE_OMF" = "yes"; then
52494 *-pc-os2_emx | *-pc-os2-emx )
52495 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52496 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52497 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52502 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52507 if test "$GCC" = yes; then
52508 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52509 LIBS=`echo $LIBS | sed 's/-mt//'`
52510 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52515 if test "x$SUNCXX" = xyes; then
52516 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52517 LIBS=`echo $LIBS | sed 's/-pthread//'`
52518 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52523 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52524 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52526 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52587 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52588 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52589 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52590 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52591 echo $ECHO_N "(cached) $ECHO_C" >&6
52593 cat >conftest.make <<\_ACEOF
52596 @echo '@@@%%%=$(MAKE)=@@@%%%'
52598 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52599 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
52600 *@@@%%%=?*=@@@%%%*)
52601 eval ac_cv_prog_make_${ac_make}_set=yes;;
52603 eval ac_cv_prog_make_${ac_make}_set=no;;
52605 rm -f conftest.make
52607 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52608 { echo "$as_me:$LINENO: result: yes" >&5
52609 echo "${ECHO_T}yes" >&6; }
52612 { echo "$as_me:$LINENO: result: no" >&5
52613 echo "${ECHO_T}no" >&6; }
52614 SET_MAKE="MAKE=${MAKE-make}"
52619 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52622 if test "$USE_WIN32" = 1; then
52623 ac_config_commands="$ac_config_commands
52629 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52632 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52635 if test "$wx_cv_version_script" = "yes"; then
52636 ac_config_files="$ac_config_files version-script"
52639 ac_config_files="$ac_config_files Makefile"
52642 ac_config_commands="$ac_config_commands wx-config"
52646 if test "$wxWITH_SUBDIRS" != "no"; then
52647 if test "$wxUSE_GUI" = "yes"; then
52648 SUBDIRS="samples demos utils"
52650 SUBDIRS="samples utils"
52655 # Check whether --with-cppunit-prefix was given.
52656 if test "${with_cppunit_prefix+set}" = set; then
52657 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52659 cppunit_config_prefix=""
52663 # Check whether --with-cppunit-exec-prefix was given.
52664 if test "${with_cppunit_exec_prefix+set}" = set; then
52665 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52667 cppunit_config_exec_prefix=""
52671 if test x$cppunit_config_exec_prefix != x ; then
52672 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52673 if test x${CPPUNIT_CONFIG+set} != xset ; then
52674 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52677 if test x$cppunit_config_prefix != x ; then
52678 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52679 if test x${CPPUNIT_CONFIG+set} != xset ; then
52680 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52684 # Extract the first word of "cppunit-config", so it can be a program name with args.
52685 set dummy cppunit-config; ac_word=$2
52686 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52688 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52689 echo $ECHO_N "(cached) $ECHO_C" >&6
52691 case $CPPUNIT_CONFIG in
52693 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52697 for as_dir in $PATH
52700 test -z "$as_dir" && as_dir=.
52701 for ac_exec_ext in '' $ac_executable_extensions; do
52702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52703 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52711 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52715 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52716 if test -n "$CPPUNIT_CONFIG"; then
52717 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52718 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52720 { echo "$as_me:$LINENO: result: no" >&5
52721 echo "${ECHO_T}no" >&6; }
52725 cppunit_version_min=1.8.0
52727 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52728 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52730 if test "$CPPUNIT_CONFIG" = "no" ; then
52731 { echo "$as_me:$LINENO: result: no" >&5
52732 echo "${ECHO_T}no" >&6; }
52735 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52736 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52737 cppunit_version=`$CPPUNIT_CONFIG --version`
52739 cppunit_major_version=`echo $cppunit_version | \
52740 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52741 cppunit_minor_version=`echo $cppunit_version | \
52742 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52743 cppunit_micro_version=`echo $cppunit_version | \
52744 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52746 cppunit_major_min=`echo $cppunit_version_min | \
52747 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52748 cppunit_minor_min=`echo $cppunit_version_min | \
52749 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52750 cppunit_micro_min=`echo $cppunit_version_min | \
52751 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52753 cppunit_version_proper=`expr \
52754 $cppunit_major_version \
> $cppunit_major_min \
| \
52755 $cppunit_major_version \
= $cppunit_major_min \
& \
52756 $cppunit_minor_version \
> $cppunit_minor_min \
| \
52757 $cppunit_major_version \
= $cppunit_major_min \
& \
52758 $cppunit_minor_version \
= $cppunit_minor_min \
& \
52759 $cppunit_micro_version \
>= $cppunit_micro_min `
52761 if test "$cppunit_version_proper" = "1" ; then
52762 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52763 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52765 { echo "$as_me:$LINENO: result: no" >&5
52766 echo "${ECHO_T}no" >&6; }
52771 if test "x$no_cppunit" = x ; then
52772 SUBDIRS="$SUBDIRS tests"
52783 for subdir in $SUBDIRS; do
52784 if test -d ${srcdir}/${subdir} ; then
52785 if test "$wxUSE_GUI" = "yes"; then
52786 if test ${subdir} = "samples"; then
52787 makefiles="samples/Makefile.in $makefiles"
52788 for sample in $SAMPLES_SUBDIRS; do
52789 if test -d $srcdir/samples/$sample; then
52790 makefiles="samples/$sample/Makefile.in $makefiles"
52794 disabled_var=DISABLED_`echo $subdir | tr a
-z A
-Z`
52795 eval "disabled=\$$disabled_var"
52796 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
52797 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
52800 if test ${subdir} = "samples"; then
52801 makefiles="samples/Makefile.in samples/console/Makefile.in"
52802 elif test ${subdir} = "utils"; then
52804 for util in HelpGen tex2rtf ; do
52805 if test -d $srcdir/utils/$util ; then
52806 makefiles="utils/$util/Makefile.in \
52807 utils/$util/src/Makefile.in \
52812 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
52816 for mkin in $makefiles ; do
52817 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52818 ac_config_files="$ac_config_files $mk"
52824 cat >confcache <<\_ACEOF
52825 # This file is a shell script that caches the results of configure
52826 # tests run on this system so they can be shared between configure
52827 # scripts and configure runs, see configure's option --config-cache.
52828 # It is not useful on other systems. If it contains results you don't
52829 # want to keep, you may remove or edit it.
52831 # config.status only pays attention to the cache file if you give it
52832 # the --recheck option to rerun configure.
52834 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
52835 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52836 # following values.
52840 # The following way of writing the cache mishandles newlines in values,
52841 # but we know of no workaround that is simple, portable, and efficient.
52842 # So, we kill variables containing newlines.
52843 # Ultrix sh set writes to stderr and can't be redirected directly,
52844 # and sets the high bit in the cache file unless we assign to the vars.
52846 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52847 eval ac_val
=\$
$ac_var
52851 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52852 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52855 _
| IFS
| as_nl
) ;; #(
52856 *) $as_unset $ac_var ;;
52862 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52863 *${as_nl}ac_space
=\
*)
52864 # `set' does not quote correctly, so add quotes (double-quote
52865 # substitution turns \\\\ into \\, and sed turns \\ into \).
52868 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52871 # `set' quotes correctly as required by POSIX, so do not add quotes.
52872 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52881 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52883 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52885 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
52886 if test -w "$cache_file"; then
52887 test "x$cache_file" != "x/dev/null" &&
52888 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52889 echo "$as_me: updating cache $cache_file" >&6;}
52890 cat confcache
>$cache_file
52892 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52893 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52898 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
52899 # Let make expand exec_prefix.
52900 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
52902 DEFS
=-DHAVE_CONFIG_H
52906 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
52907 # 1. Remove the extension, and $U if already installed.
52908 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
52909 ac_i
=`echo "$ac_i" | sed "$ac_script"`
52910 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52911 # will be set to the directory where LIBOBJS objects are built.
52912 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52913 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52915 LIBOBJS
=$ac_libobjs
52917 LTLIBOBJS
=$ac_ltlibobjs
52921 : ${CONFIG_STATUS=./config.status}
52922 ac_clean_files_save
=$ac_clean_files
52923 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
52924 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52925 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52926 cat >$CONFIG_STATUS <<_ACEOF
52928 # Generated by $as_me.
52929 # Run this file to recreate the current configuration.
52930 # Compiler output produced by configure, useful for debugging
52931 # configure, is in config.log if it exists.
52934 ac_cs_recheck=false
52936 SHELL=\${CONFIG_SHELL-$SHELL}
52939 cat >>$CONFIG_STATUS <<\_ACEOF
52940 ## --------------------- ##
52941 ## M4sh Initialization. ##
52942 ## --------------------- ##
52944 # Be more Bourne compatible
52945 DUALCASE
=1; export DUALCASE
# for MKS sh
52946 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
52949 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52950 # is contrary to our usage. Disable this feature.
52951 alias -g '${1+"$@"}'='"$@"'
52952 setopt NO_GLOB_SUBST
52954 case `(set -o) 2>/dev/null` in
52955 *posix
*) set -o posix
;;
52964 # Avoid depending upon Character Ranges.
52965 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
52966 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52967 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
52968 as_cr_digits
='0123456789'
52969 as_cr_alnum
=$as_cr_Letters$as_cr_digits
52971 # The user is always right.
52972 if test "${PATH_SEPARATOR+set}" != set; then
52973 echo "#! /bin/sh" >conf$$.sh
52974 echo "exit 0" >>conf$$.sh
52976 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
52984 # Support unset when possible.
52985 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
52993 # We need space, tab and new line, in precisely that order. Quoting is
52994 # there to prevent editors from complaining about space-tab.
52995 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52996 # splitting by setting IFS to empty value.)
53001 # Find who we are. Look in the path if we contain no directory separator.
53003 *[\\/]* ) as_myself
=$0 ;;
53004 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53005 for as_dir
in $PATH
53008 test -z "$as_dir" && as_dir
=.
53009 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
53015 # We did not find ourselves, most probably we were run as `sh COMMAND'
53016 # in which case we are not to be found in the path.
53017 if test "x$as_myself" = x
; then
53020 if test ! -f "$as_myself"; then
53021 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53022 { (exit 1); exit 1; }
53025 # Work around bugs in pre-3.0 UWIN ksh.
53026 for as_var
in ENV MAIL MAILPATH
53027 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53035 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53036 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53037 LC_TELEPHONE LC_TIME
53039 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53040 eval $as_var=C
; export $as_var
53042 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53046 # Required to use basename.
53047 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53048 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53054 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53055 as_basename
=basename
53061 # Name of the executable.
53062 as_me
=`$as_basename -- "$0" ||
53063 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53064 X"$0" : 'X\(//\)$' \| \
53065 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53067 sed '/^.*\/\([^/][^/]*\)\/*$/{
53086 as_lineno_1
=$LINENO
53087 as_lineno_2
=$LINENO
53088 test "x$as_lineno_1" != "x$as_lineno_2" &&
53089 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53091 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53092 # uniformly replaced by the line number. The first 'sed' inserts a
53093 # line-number line after each line using $LINENO; the second 'sed'
53094 # does the real work. The second script uses 'N' to pair each
53095 # line-number line with the line containing $LINENO, and appends
53096 # trailing '-' during substitution so that $LINENO is not a special
53097 # case at line end.
53098 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53099 # scripts with optimization help from Paolo Bonzini. Blame Lee
53100 # E. McMahon (1931-1989) for sed's syntax. :-)
53112 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53115 ' >$as_me.lineno
&&
53116 chmod +x
"$as_me.lineno" ||
53117 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53118 { (exit 1); exit 1; }; }
53120 # Don't try to exec as it changes $[0], causing all sort of problems
53121 # (the dirname of $[0] is not the place where we might find the
53122 # original and so on. Autoconf is especially sensitive to this).
53123 .
"./$as_me.lineno"
53124 # Exit status is that of the last command.
53129 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
53135 ECHO_C
= ECHO_N
= ECHO_T
=
53136 case `echo -n x` in
53138 case `echo 'x\c'` in
53139 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
53146 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53147 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53153 rm -f conf$$ conf$$.exe conf$$.
file
53154 if test -d conf$$.dir
; then
53155 rm -f conf$$.dir
/conf$$.
file
53161 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
53163 # ... but there are two gotchas:
53164 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53165 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53166 # In both cases, we have to default to `cp -p'.
53167 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
53169 elif ln conf$$.
file conf$$
2>/dev
/null
; then
53174 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
53175 rmdir conf$$.dir
2>/dev
/null
53177 if mkdir -p .
2>/dev
/null
; then
53180 test -d .
/-p && rmdir .
/-p
53184 if test -x / >/dev
/null
2>&1; then
53185 as_test_x
='test -x'
53187 if ls -dL / >/dev
/null
2>&1; then
53194 if test -d "$1"; then
53200 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53201 ???[sx]*):;;*)false;;esac;fi
53205 as_executable_p
=$as_test_x
53207 # Sed expression to map a string onto a valid CPP name.
53208 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53210 # Sed expression to map a string onto a valid variable name.
53211 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53216 # Save the log message, to keep $[0] and so on meaningful, and to
53217 # report actual input values of CONFIG_FILES etc. instead of their
53218 # values after options handling.
53220 This file was extended by wxWidgets $as_me 2.9.0, which was
53221 generated by GNU Autoconf 2.61. Invocation command line was
53223 CONFIG_FILES = $CONFIG_FILES
53224 CONFIG_HEADERS = $CONFIG_HEADERS
53225 CONFIG_LINKS = $CONFIG_LINKS
53226 CONFIG_COMMANDS = $CONFIG_COMMANDS
53229 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53234 cat >>$CONFIG_STATUS <<_ACEOF
53235 # Files that config.status was made for.
53236 config_files="$ac_config_files"
53237 config_headers="$ac_config_headers"
53238 config_commands="$ac_config_commands"
53242 cat >>$CONFIG_STATUS <<\_ACEOF
53244 \`$as_me' instantiates files from templates according to the
53245 current configuration.
53247 Usage: $0 [OPTIONS] [FILE]...
53249 -h, --help print this help, then exit
53250 -V, --version print version number and configuration settings, then exit
53251 -q, --quiet do not print progress messages
53252 -d, --debug don't remove temporary files
53253 --recheck update $as_me by reconfiguring in the same conditions
53254 --file=FILE[:TEMPLATE]
53255 instantiate the configuration file FILE
53256 --header=FILE[:TEMPLATE]
53257 instantiate the configuration header FILE
53259 Configuration files:
53262 Configuration headers:
53265 Configuration commands:
53268 Report bugs to <bug-autoconf@gnu.org>."
53271 cat >>$CONFIG_STATUS <<_ACEOF
53273 wxWidgets config.status 2.9.0
53274 configured by $0, generated by GNU Autoconf 2.61,
53275 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53277 Copyright (C) 2006 Free Software Foundation, Inc.
53278 This config.status script is free software; the Free Software Foundation
53279 gives unlimited permission to copy, distribute and modify it."
53286 cat >>$CONFIG_STATUS <<\_ACEOF
53287 # If no file are specified by the user, then we need to provide default
53288 # value. By we need to know if files were specified by the user.
53294 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
53295 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
53306 # Handling of the options.
53307 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53309 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53310 echo "$ac_cs_version"; exit ;;
53311 --debug | --debu | --deb | --de | --d | -d )
53313 --file | --fil | --fi | --f )
53315 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
53316 ac_need_defaults
=false
;;
53317 --header | --heade | --head | --hea )
53319 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
53320 ac_need_defaults
=false
;;
53322 # Conflict between --help and --header
53323 { echo "$as_me: error: ambiguous option: $1
53324 Try \`$0 --help' for more information." >&2
53325 { (exit 1); exit 1; }; };;
53326 --help | --hel | -h )
53327 echo "$ac_cs_usage"; exit ;;
53328 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53329 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53332 # This is an error.
53333 -*) { echo "$as_me: error: unrecognized option: $1
53334 Try \`$0 --help' for more information." >&2
53335 { (exit 1); exit 1; }; } ;;
53337 *) ac_config_targets
="$ac_config_targets $1"
53338 ac_need_defaults
=false
;;
53344 ac_configure_extra_args
=
53346 if $ac_cs_silent; then
53348 ac_configure_extra_args
="$ac_configure_extra_args --silent"
53352 cat >>$CONFIG_STATUS <<_ACEOF
53353 if \$ac_cs_recheck; then
53354 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53355 CONFIG_SHELL=$SHELL
53356 export CONFIG_SHELL
53357 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53361 cat >>$CONFIG_STATUS <<\_ACEOF
53365 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53366 ## Running $as_me. ##
53372 cat >>$CONFIG_STATUS <<_ACEOF
53378 infile="$srcdir/include/wx/msw/genrcdefs.h"
53379 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53382 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53383 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53384 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53390 cat >>$CONFIG_STATUS <<\_ACEOF
53392 # Handling of arguments.
53393 for ac_config_target
in $ac_config_targets
53395 case $ac_config_target in
53396 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53397 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
53398 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53399 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53400 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
53401 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
53402 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
53403 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
53405 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53406 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53407 { (exit 1); exit 1; }; };;
53412 # If the user did not use the arguments to specify the items to instantiate,
53413 # then the envvar interface is used. Set only those that are not.
53414 # We use the long form for the default assignment because of an extremely
53415 # bizarre bug on SunOS 4.1.3.
53416 if $ac_need_defaults; then
53417 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
53418 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
53419 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
53422 # Have a temporary directory for convenience. Make it in the build tree
53423 # simply because there is no reason against having it here, and in addition,
53424 # creating and moving files from /tmp can sometimes cause problems.
53425 # Hook for its removal unless debugging.
53426 # Note that there is a small window in which the directory will not be cleaned:
53427 # after its creation but before its name has been assigned to `$tmp'.
53431 trap 'exit_status=$?
53432 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53434 trap '{ (exit 1); exit 1; }' 1 2 13 15
53436 # Create a (secure) tmp directory for tmp files.
53439 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53440 test -n "$tmp" && test -d "$tmp"
53443 tmp
=.
/conf$$
-$RANDOM
53444 (umask 077 && mkdir "$tmp")
53447 echo "$me: cannot create a temporary directory in ." >&2
53448 { (exit 1); exit 1; }
53452 # Set up the sed scripts for CONFIG_FILES section.
53455 # No need to generate the scripts if there are no CONFIG_FILES.
53456 # This happens for instance when ./config.status config.h
53457 if test -n "$CONFIG_FILES"; then
53464 for ac_last_try
in false false false false false
:; do
53465 cat >conf$
$subs.
sed <<_ACEOF
53466 SHELL!$SHELL$ac_delim
53467 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53468 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53469 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53470 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53471 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53472 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53473 exec_prefix!$exec_prefix$ac_delim
53474 prefix!$prefix$ac_delim
53475 program_transform_name!$program_transform_name$ac_delim
53476 bindir!$bindir$ac_delim
53477 sbindir!$sbindir$ac_delim
53478 libexecdir!$libexecdir$ac_delim
53479 datarootdir!$datarootdir$ac_delim
53480 datadir!$datadir$ac_delim
53481 sysconfdir!$sysconfdir$ac_delim
53482 sharedstatedir!$sharedstatedir$ac_delim
53483 localstatedir!$localstatedir$ac_delim
53484 includedir!$includedir$ac_delim
53485 oldincludedir!$oldincludedir$ac_delim
53486 docdir!$docdir$ac_delim
53487 infodir!$infodir$ac_delim
53488 htmldir!$htmldir$ac_delim
53489 dvidir!$dvidir$ac_delim
53490 pdfdir!$pdfdir$ac_delim
53491 psdir!$psdir$ac_delim
53492 libdir!$libdir$ac_delim
53493 localedir!$localedir$ac_delim
53494 mandir!$mandir$ac_delim
53495 DEFS!$DEFS$ac_delim
53496 ECHO_C!$ECHO_C$ac_delim
53497 ECHO_N!$ECHO_N$ac_delim
53498 ECHO_T!$ECHO_T$ac_delim
53499 LIBS!$LIBS$ac_delim
53500 build_alias!$build_alias$ac_delim
53501 host_alias!$host_alias$ac_delim
53502 target_alias!$target_alias$ac_delim
53503 build!$build$ac_delim
53504 build_cpu!$build_cpu$ac_delim
53505 build_vendor!$build_vendor$ac_delim
53506 build_os!$build_os$ac_delim
53507 host!$host$ac_delim
53508 host_cpu!$host_cpu$ac_delim
53509 host_vendor!$host_vendor$ac_delim
53510 host_os!$host_os$ac_delim
53511 target!$target$ac_delim
53512 target_cpu!$target_cpu$ac_delim
53513 target_vendor!$target_vendor$ac_delim
53514 target_os!$target_os$ac_delim
53515 wx_top_builddir!$wx_top_builddir$ac_delim
53517 CFLAGS!$CFLAGS$ac_delim
53518 LDFLAGS!$LDFLAGS$ac_delim
53519 CPPFLAGS!$CPPFLAGS$ac_delim
53520 ac_ct_CC!$ac_ct_CC$ac_delim
53521 EXEEXT!$EXEEXT$ac_delim
53522 OBJEXT!$OBJEXT$ac_delim
53524 GREP!$GREP$ac_delim
53525 EGREP!$EGREP$ac_delim
53527 CXXFLAGS!$CXXFLAGS$ac_delim
53528 ac_ct_CXX!$ac_ct_CXX$ac_delim
53530 subdirs!$subdirs$ac_delim
53531 PKG_CONFIG!$PKG_CONFIG$ac_delim
53532 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53533 GTK_LIBS!$GTK_LIBS$ac_delim
53534 GTK_CONFIG!$GTK_CONFIG$ac_delim
53535 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53536 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53537 XMKMF!$XMKMF$ac_delim
53538 X_CFLAGS!$X_CFLAGS$ac_delim
53539 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53540 X_LIBS!$X_LIBS$ac_delim
53541 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53542 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53543 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53544 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53545 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53546 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53547 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53548 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53549 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53550 LIBICONV!$LIBICONV$ac_delim
53551 SDL_CONFIG!$SDL_CONFIG$ac_delim
53552 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53553 SDL_LIBS!$SDL_LIBS$ac_delim
53554 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53555 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53556 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53557 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53558 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53559 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53560 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53561 HILDON_LIBS!$HILDON_LIBS$ac_delim
53562 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53565 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53567 elif $ac_last_try; then
53568 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53569 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53570 { (exit 1); exit 1; }; }
53572 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53576 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53577 if test -n "$ac_eof"; then
53578 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53579 ac_eof
=`expr $ac_eof + 1`
53582 cat >>$CONFIG_STATUS <<_ACEOF
53583 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53584 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53587 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53588 s/^/s,@/; s/!/@,|#_!!_#|/
53591 s/'"$ac_delim"'$/,g/; t
53593 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53594 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53595 rm -f conf$
$subs.
sed
53596 cat >>$CONFIG_STATUS <<_ACEOF
53602 for ac_last_try
in false false false false false
:; do
53603 cat >conf$
$subs.
sed <<_ACEOF
53604 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53605 GST_CFLAGS!$GST_CFLAGS$ac_delim
53606 GST_LIBS!$GST_LIBS$ac_delim
53607 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53608 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53609 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53610 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53611 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53612 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53613 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53614 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53615 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53616 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53617 VENDOR!$VENDOR$ac_delim
53618 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53619 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53620 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53621 WXUNIV!$WXUNIV$ac_delim
53622 MONOLITHIC!$MONOLITHIC$ac_delim
53623 USE_PLUGINS!$USE_PLUGINS$ac_delim
53624 CXXWARNINGS!$CXXWARNINGS$ac_delim
53625 EXTRALIBS!$EXTRALIBS$ac_delim
53626 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53627 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53628 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53629 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53630 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53631 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53632 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53633 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53634 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53635 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53636 UNICODE!$UNICODE$ac_delim
53637 BUILD!$BUILD$ac_delim
53638 DEBUG_INFO!$DEBUG_INFO$ac_delim
53639 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53640 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53641 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53642 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53643 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53644 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53645 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53646 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53647 RANLIB!$RANLIB$ac_delim
53648 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53649 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53650 INSTALL_DATA!$INSTALL_DATA$ac_delim
53651 LN_S!$LN_S$ac_delim
53652 SET_MAKE!$SET_MAKE$ac_delim
53653 MAKE_SET!$MAKE_SET$ac_delim
53654 AROPTIONS!$AROPTIONS$ac_delim
53655 STRIP!$STRIP$ac_delim
53657 INSTALL_DIR!$INSTALL_DIR$ac_delim
53658 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53659 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53660 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53661 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53662 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53663 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53664 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53665 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53666 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53667 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53668 SO_SUFFIX!$SO_SUFFIX$ac_delim
53669 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53670 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53671 LIBPREFIX!$LIBPREFIX$ac_delim
53672 LIBEXT!$LIBEXT$ac_delim
53673 DLLPREFIX!$DLLPREFIX$ac_delim
53674 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53675 dlldir!$dlldir$ac_delim
53676 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53677 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53678 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53679 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53680 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53681 PIC_FLAG!$PIC_FLAG$ac_delim
53682 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53683 USE_SOVERSION!$USE_SOVERSION$ac_delim
53684 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53685 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53686 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53687 USE_MACVERSION!$USE_MACVERSION$ac_delim
53688 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53689 SONAME_FLAG!$SONAME_FLAG$ac_delim
53690 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53691 BK_DEPS!$BK_DEPS$ac_delim
53692 WINDRES!$WINDRES$ac_delim
53694 SETFILE!$SETFILE$ac_delim
53695 GCC_PCH!$GCC_PCH$ac_delim
53696 ICC_PCH!$ICC_PCH$ac_delim
53697 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53698 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53699 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53700 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53703 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53705 elif $ac_last_try; then
53706 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53707 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53708 { (exit 1); exit 1; }; }
53710 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53714 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53715 if test -n "$ac_eof"; then
53716 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53717 ac_eof
=`expr $ac_eof + 1`
53720 cat >>$CONFIG_STATUS <<_ACEOF
53721 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53722 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53725 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53726 s/^/s,@/; s/!/@,|#_!!_#|/
53729 s/'"$ac_delim"'$/,g/; t
53731 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53732 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53733 rm -f conf$
$subs.
sed
53734 cat >>$CONFIG_STATUS <<_ACEOF
53740 for ac_last_try
in false false false false false
:; do
53741 cat >conf$
$subs.
sed <<_ACEOF
53742 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53743 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53744 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53745 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53746 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53747 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53748 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53749 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53750 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53751 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53752 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53753 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53754 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53755 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53756 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53757 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53758 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53759 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53760 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53761 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53762 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53763 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53764 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53765 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53766 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53767 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53768 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53769 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53770 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53771 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53772 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53773 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53774 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53775 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53776 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53777 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53778 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53779 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53780 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53781 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53782 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53783 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53784 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53785 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53786 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53787 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53788 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53789 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53790 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53791 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53792 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53793 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53794 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53795 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53796 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53797 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53798 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53799 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53800 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53801 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53802 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53803 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53804 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53805 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53806 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53807 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53808 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53809 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53810 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53811 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53812 COND_SHARED_0!$COND_SHARED_0$ac_delim
53813 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53814 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53815 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53816 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53817 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53818 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53819 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53820 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53821 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53822 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53823 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53824 COND_SHARED_1!$COND_SHARED_1$ac_delim
53825 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53826 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53827 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53828 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53829 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53830 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53831 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53832 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53833 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53834 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53835 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53836 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53837 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
53838 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53841 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53843 elif $ac_last_try; then
53844 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53845 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53846 { (exit 1); exit 1; }; }
53848 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53852 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53853 if test -n "$ac_eof"; then
53854 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53855 ac_eof
=`expr $ac_eof + 1`
53858 cat >>$CONFIG_STATUS <<_ACEOF
53859 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53860 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53863 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53864 s/^/s,@/; s/!/@,|#_!!_#|/
53867 s/'"$ac_delim"'$/,g/; t
53869 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53870 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53871 rm -f conf$
$subs.
sed
53872 cat >>$CONFIG_STATUS <<_ACEOF
53878 for ac_last_try
in false false false false false
:; do
53879 cat >conf$
$subs.
sed <<_ACEOF
53880 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53881 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53882 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53883 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
53884 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
53885 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53886 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53887 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53888 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53889 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53890 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53891 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53892 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53893 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53894 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53895 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53896 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53897 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53898 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53899 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53900 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53901 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53902 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53903 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53904 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53905 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53906 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53907 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53908 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53909 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53910 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53911 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53912 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53913 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53914 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53915 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53916 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53917 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53918 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
53919 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53920 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53921 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53922 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53923 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53924 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53925 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53926 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53927 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53928 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53929 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53930 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53931 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53932 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53933 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53934 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53935 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53936 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53937 DEREZ!$DEREZ$ac_delim
53938 SHARED!$SHARED$ac_delim
53939 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53940 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53941 USE_GUI!$USE_GUI$ac_delim
53942 AFMINSTALL!$AFMINSTALL$ac_delim
53943 WIN32INSTALL!$WIN32INSTALL$ac_delim
53944 TOOLKIT!$TOOLKIT$ac_delim
53945 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53946 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53947 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53948 cross_compiling!$cross_compiling$ac_delim
53949 WIDGET_SET!$WIDGET_SET$ac_delim
53950 WX_RELEASE!$WX_RELEASE$ac_delim
53951 WX_VERSION!$WX_VERSION$ac_delim
53952 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53953 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53954 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
53955 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53956 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53957 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53958 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53959 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53960 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53961 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53962 GUIDIST!$GUIDIST$ac_delim
53963 DISTDIR!$DISTDIR$ac_delim
53964 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53965 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53966 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53967 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53968 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53969 RESCOMP!$RESCOMP$ac_delim
53970 RESFLAGS!$RESFLAGS$ac_delim
53971 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53972 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53973 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53974 LIBWXMACRES!$LIBWXMACRES$ac_delim
53975 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53976 MACSETFILE!$MACSETFILE$ac_delim
53979 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53981 elif $ac_last_try; then
53982 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53983 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53984 { (exit 1); exit 1; }; }
53986 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53990 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53991 if test -n "$ac_eof"; then
53992 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53993 ac_eof
=`expr $ac_eof + 1`
53996 cat >>$CONFIG_STATUS <<_ACEOF
53997 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53998 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54001 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54002 s/^/s,@/; s/!/@,|#_!!_#|/
54005 s/'"$ac_delim"'$/,g/; t
54007 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54008 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54009 rm -f conf$
$subs.
sed
54010 cat >>$CONFIG_STATUS <<_ACEOF
54016 for ac_last_try
in false false false false false
:; do
54017 cat >conf$
$subs.
sed <<_ACEOF
54019 DLLTOOL!$DLLTOOL$ac_delim
54020 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54021 LIBOBJS!$LIBOBJS$ac_delim
54022 LTLIBOBJS!$LTLIBOBJS$ac_delim
54025 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5; then
54027 elif $ac_last_try; then
54028 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54029 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54030 { (exit 1); exit 1; }; }
54032 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54036 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54037 if test -n "$ac_eof"; then
54038 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54039 ac_eof
=`expr $ac_eof + 1`
54042 cat >>$CONFIG_STATUS <<_ACEOF
54043 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54044 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54047 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54048 s/^/s,@/; s/!/@,|#_!!_#|/
54051 s/'"$ac_delim"'$/,g/; t
54053 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54054 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54055 rm -f conf$
$subs.
sed
54056 cat >>$CONFIG_STATUS <<_ACEOF
54063 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54064 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54065 # trailing colons and then remove the whole line if VPATH becomes empty
54066 # (actually we leave an empty line to preserve line numbers).
54067 if test "x$srcdir" = x.
; then
54068 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
54069 s/:*\$(srcdir):*/:/
54070 s/:*\${srcdir}:*/:/
54072 s/^\([^=]*=[ ]*\):*/\1/
54078 cat >>$CONFIG_STATUS <<\_ACEOF
54079 fi # test -n "$CONFIG_FILES"
54082 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
54085 :[FHLC
]) ac_mode
=$ac_tag; continue;;
54087 case $ac_mode$ac_tag in
54089 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54090 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54091 { (exit 1); exit 1; }; };;
54092 :[FH
]-) ac_tag
=-:-;;
54093 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
54110 -) ac_f
="$tmp/stdin";;
54111 *) # Look for the file first in the build tree, then in the source tree
54112 # (if the path is not absolute). The absolute path cannot be DOS-style,
54113 # because $ac_f cannot contain `:'.
54117 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
54119 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54120 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54121 { (exit 1); exit 1; }; };;
54123 ac_file_inputs
="$ac_file_inputs $ac_f"
54126 # Let's still pretend it is `configure' which instantiates (i.e., don't
54127 # use $as_me), people would be surprised to read:
54128 # /* config.h. Generated by config.status. */
54129 configure_input
="Generated from "`IFS=:
54130 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54131 if test x
"$ac_file" != x
-; then
54132 configure_input
="$ac_file. $configure_input"
54133 { echo "$as_me:$LINENO: creating $ac_file" >&5
54134 echo "$as_me: creating $ac_file" >&6;}
54138 *:-:* | *:-) cat >"$tmp/stdin";;
54143 ac_dir
=`$as_dirname -- "$ac_file" ||
54144 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54145 X"$ac_file" : 'X\(//\)[^/]' \| \
54146 X"$ac_file" : 'X\(//\)$' \| \
54147 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54153 /^X\(\/\/\)[^/].*/{
54168 -*) as_dir
=.
/$as_dir;;
54170 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54174 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54175 *) as_qdir
=$as_dir;;
54177 as_dirs
="'$as_qdir' $as_dirs"
54178 as_dir
=`$as_dirname -- "$as_dir" ||
54179 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54180 X"$as_dir" : 'X\(//\)[^/]' \| \
54181 X"$as_dir" : 'X\(//\)$' \| \
54182 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54188 /^X\(\/\/\)[^/].*/{
54201 test -d "$as_dir" && break
54203 test -z "$as_dirs" || eval "mkdir $as_dirs"
54204 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54205 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54206 { (exit 1); exit 1; }; }; }
54210 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54212 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54213 # A ".." for each directory in $ac_dir_suffix.
54214 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54215 case $ac_top_builddir_sub in
54216 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54217 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54220 ac_abs_top_builddir
=$ac_pwd
54221 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54222 # for backward compatibility:
54223 ac_top_builddir
=$ac_top_build_prefix
54226 .
) # We are building in place.
54228 ac_top_srcdir
=$ac_top_builddir_sub
54229 ac_abs_top_srcdir
=$ac_pwd ;;
54230 [\\/]* | ?
:[\\/]* ) # Absolute name.
54231 ac_srcdir
=$srcdir$ac_dir_suffix;
54232 ac_top_srcdir
=$srcdir
54233 ac_abs_top_srcdir
=$srcdir ;;
54234 *) # Relative name.
54235 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54236 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54237 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54239 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54249 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
54250 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
54254 cat >>$CONFIG_STATUS <<\_ACEOF
54255 # If the template does not know about datarootdir, expand it.
54256 # FIXME: This hack should be removed a few years after 2.60.
54257 ac_datarootdir_hack
=; ac_datarootdir_seen
=
54259 case `sed -n '/datarootdir/ {
54268 ' $ac_file_inputs` in
54269 *datarootdir
*) ac_datarootdir_seen
=yes;;
54270 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
54271 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54272 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54274 cat >>$CONFIG_STATUS <<_ACEOF
54275 ac_datarootdir_hack='
54276 s&@datadir@&$datadir&g
54277 s&@docdir@&$docdir&g
54278 s&@infodir@&$infodir&g
54279 s&@localedir@&$localedir&g
54280 s&@mandir@&$mandir&g
54281 s&\\\${datarootdir}&$datarootdir&g' ;;
54285 # Neutralize VPATH when `$srcdir' = `.'.
54286 # Shell code in configure.ac might set extrasub.
54287 # FIXME: do we really want to maintain this feature?
54288 cat >>$CONFIG_STATUS <<_ACEOF
54292 cat >>$CONFIG_STATUS <<\_ACEOF
54294 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
54295 s
&@configure_input@
&$configure_input&;t t
54296 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
54297 s
&@srcdir@
&$ac_srcdir&;t t
54298 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
54299 s
&@top_srcdir@
&$ac_top_srcdir&;t t
54300 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
54301 s
&@builddir@
&$ac_builddir&;t t
54302 s
&@abs_builddir@
&$ac_abs_builddir&;t t
54303 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
54304 s
&@INSTALL@
&$ac_INSTALL&;t t
54305 $ac_datarootdir_hack
54306 " $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
54308 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54309 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
54310 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
54311 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
54312 which seems to be undefined. Please make sure it is defined." >&5
54313 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
54314 which seems to be undefined. Please make sure it is defined." >&2;}
54318 -) cat "$tmp/out"; rm -f "$tmp/out";;
54319 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54328 # Transform confdefs.h into a sed script `conftest.defines', that
54329 # substitutes the proper values into config.h.in to produce config.h.
54330 rm -f conftest.defines conftest.
tail
54331 # First, append a space to every undef/define line, to ease matching.
54332 echo 's/$/ /' >conftest.defines
54333 # Then, protect against being on the right side of a sed subst, or in
54334 # an unquoted here document, in config.status. If some macros were
54335 # called several times there might be several #defines for the same
54336 # symbol, which is useless. But do not sort them, since the last
54337 # AC_DEFINE must be honored.
54338 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
54339 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54340 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54341 # PARAMS is the parameter list in the macro definition--in most cases, it's
54342 # just an empty string.
54343 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54344 ac_dB
='\\)[ (].*,\\1define\\2'
54352 s/^[ ]*#[ ]*define[ ][ ]*//
54357 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54358 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54359 ' >>conftest.defines
54361 # Remove the space that was appended to ease matching.
54362 # Then replace #undef with comments. This is necessary, for
54363 # example, in the case of _POSIX_SOURCE, which is predefined and required
54364 # on some systems where configure will not decide to define it.
54365 # (The regexp can be short, since the line contains either #define or #undef.)
54367 s,^[ #]*u.*,/* & */,' >>conftest.defines
54369 # Break up conftest.defines:
54370 ac_max_sed_lines
=50
54372 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54373 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54374 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54376 ac_in
='$ac_file_inputs'
54377 ac_out
='"$tmp/out1"'
54378 ac_nxt
='"$tmp/out2"'
54382 # Write a here document:
54383 cat >>$CONFIG_STATUS <<_ACEOF
54384 # First, check the format of the line:
54385 cat >"\$tmp/defines.sed" <<\\CEOF
54386 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54387 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54391 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
54393 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54394 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
54395 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
54396 grep . conftest.
tail >/dev
/null
|| break
54397 rm -f conftest.defines
54398 mv conftest.
tail conftest.defines
54400 rm -f conftest.defines conftest.
tail
54402 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54403 cat >>$CONFIG_STATUS <<\_ACEOF
54404 if test x
"$ac_file" != x
-; then
54405 echo "/* $configure_input */" >"$tmp/config.h"
54406 cat "$ac_result" >>"$tmp/config.h"
54407 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
54408 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54409 echo "$as_me: $ac_file is unchanged" >&6;}
54412 mv "$tmp/config.h" $ac_file
54415 echo "/* $configure_input */"
54421 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54422 echo "$as_me: executing $ac_file commands" >&6;}
54427 case $ac_file$ac_mode in
54429 mkdir -p $outdir &&
54430 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54432 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
54433 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
54434 "wx-config":C
) rm -f wx
-config
54435 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
54442 { (exit 0); exit 0; }
54444 chmod +x
$CONFIG_STATUS
54445 ac_clean_files
=$ac_clean_files_save
54448 # configure is writing to config.log, and then calls config.status.
54449 # config.status does its own redirection, appending to config.log.
54450 # Unfortunately, on DOS this fails, as config.log is still kept open
54451 # by configure, so config.status won't be able to write to it; its
54452 # output is simply discarded. So we exec the FD to /dev/null,
54453 # effectively closing config.log, so it can be properly (re)opened and
54454 # appended to by config.status. When coming back to configure, we
54455 # need to make the FD available again.
54456 if test "$no_create" != yes; then
54458 ac_config_status_args
=
54459 test "$silent" = yes &&
54460 ac_config_status_args
="$ac_config_status_args --quiet"
54462 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
54464 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54465 # would make configure fail if this is the last instruction.
54466 $ac_cs_success || { (exit 1); exit 1; }
54470 # CONFIG_SUBDIRS section.
54472 if test "$no_recursion" != yes; then
54474 # Remove --cache-file and --srcdir arguments so they do not pile up.
54475 ac_sub_configure_args
=
54477 eval "set x $ac_configure_args"
54481 if test -n "$ac_prev"; then
54486 -cache-file | --cache-file | --cache-fil | --cache-fi \
54487 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54488 ac_prev
=cache_file
;;
54489 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54490 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54493 --config-cache | -C)
54495 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54497 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54499 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54501 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54505 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54507 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
54511 # Always prepend --prefix to ensure using the same prefix
54512 # in subdir configurations.
54513 ac_arg
="--prefix=$prefix"
54515 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54517 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
54520 if test "$silent" = yes; then
54521 ac_sub_configure_args
="--silent $ac_sub_configure_args"
54525 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
54527 # Do not complain, so a configure script can configure whichever
54528 # parts of a large source tree are present.
54529 test -d "$srcdir/$ac_dir" || continue
54531 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54532 echo "$as_me:$LINENO: $ac_msg" >&5
54536 -*) as_dir
=.
/$as_dir;;
54538 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54542 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54543 *) as_qdir
=$as_dir;;
54545 as_dirs
="'$as_qdir' $as_dirs"
54546 as_dir
=`$as_dirname -- "$as_dir" ||
54547 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54548 X"$as_dir" : 'X\(//\)[^/]' \| \
54549 X"$as_dir" : 'X\(//\)$' \| \
54550 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54552 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54556 /^X\(\/\/\)[^/].*/{
54569 test -d "$as_dir" && break
54571 test -z "$as_dirs" || eval "mkdir $as_dirs"
54572 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54573 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54574 { (exit 1); exit 1; }; }; }
54578 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54580 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54581 # A ".." for each directory in $ac_dir_suffix.
54582 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54583 case $ac_top_builddir_sub in
54584 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54585 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54588 ac_abs_top_builddir
=$ac_pwd
54589 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54590 # for backward compatibility:
54591 ac_top_builddir
=$ac_top_build_prefix
54594 .
) # We are building in place.
54596 ac_top_srcdir
=$ac_top_builddir_sub
54597 ac_abs_top_srcdir
=$ac_pwd ;;
54598 [\\/]* | ?
:[\\/]* ) # Absolute name.
54599 ac_srcdir
=$srcdir$ac_dir_suffix;
54600 ac_top_srcdir
=$srcdir
54601 ac_abs_top_srcdir
=$srcdir ;;
54602 *) # Relative name.
54603 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54604 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54605 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54607 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54612 # Check for guested configure; otherwise get Cygnus style configure.
54613 if test -f "$ac_srcdir/configure.gnu"; then
54614 ac_sub_configure
=$ac_srcdir/configure.gnu
54615 elif test -f "$ac_srcdir/configure"; then
54616 ac_sub_configure
=$ac_srcdir/configure
54617 elif test -f "$ac_srcdir/configure.in"; then
54618 # This should be Cygnus configure.
54619 ac_sub_configure
=$ac_aux_dir/configure
54621 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54622 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54626 # The recursion is here.
54627 if test -n "$ac_sub_configure"; then
54628 # Make the cache file name correct relative to the subdirectory.
54629 case $cache_file in
54630 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
54631 *) # Relative name.
54632 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
54635 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54636 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54637 # The eval makes quoting arguments work.
54638 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54639 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54640 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54641 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54642 { (exit 1); exit 1; }; }
54651 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54653 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54654 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54656 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54657 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54658 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54659 if test "$wxUSE_UNICODE" = "yes"; then
54660 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54661 echo " (using UTF-8)"
54663 echo " (using wchar_t)"
54669 echo " What level of wxWidgets compatibility should be enabled?"
54670 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54671 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54673 echo " Which libraries should wxWidgets use?"
54674 echo " STL ${wxUSE_STL}"
54675 echo " jpeg ${wxUSE_LIBJPEG-none}"
54676 echo " png ${wxUSE_LIBPNG-none}"
54677 echo " regex ${wxUSE_REGEX}"
54678 echo " tiff ${wxUSE_LIBTIFF-none}"
54679 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54680 echo " xpm ${wxUSE_LIBXPM-none}"
54682 echo " zlib ${wxUSE_ZLIB}"
54683 echo " expat ${wxUSE_EXPAT}"
54684 echo " libmspack ${wxUSE_LIBMSPACK}"
54685 echo " sdl ${wxUSE_LIBSDL}"