2 # From configure.in Id: configure.in 47544 2007-07-18 12:58:28Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.0'
579 PACKAGE_STRING
='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
719 LIBGNOMEPRINTUI_CFLAGS
766 SAMPLES_RPATH_POSTLINK
812 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
813 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
814 COND_BUILD_DEBUG_UNICODE_0
815 COND_BUILD_DEBUG_UNICODE_1
817 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
818 COND_BUILD_RELEASE_UNICODE_0
819 COND_BUILD_RELEASE_UNICODE_1
828 COND_MONOLITHIC_0_SHARED_0
829 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
835 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
837 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
838 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
839 COND_MONOLITHIC_0_SHARED_1
840 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
846 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
847 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
848 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
849 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
850 COND_MONOLITHIC_0_USE_AUI_1
851 COND_MONOLITHIC_0_USE_GUI_1
852 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
853 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
854 COND_MONOLITHIC_0_USE_HTML_1
855 COND_MONOLITHIC_0_USE_MEDIA_1
856 COND_MONOLITHIC_0_USE_ODBC_1
857 COND_MONOLITHIC_0_USE_QA_1
858 COND_MONOLITHIC_0_USE_RICHTEXT_1
859 COND_MONOLITHIC_0_USE_STC_1
860 COND_MONOLITHIC_0_USE_XRC_1
862 COND_MONOLITHIC_1_SHARED_0
863 COND_MONOLITHIC_1_SHARED_1
864 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
865 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
866 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
867 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
868 COND_PLATFORM_MACOSX_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_
870 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
871 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
872 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
873 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
874 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
875 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
876 COND_PLATFORM_MACOSX_1_USE_GUI_1
877 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
878 COND_PLATFORM_MACOS_1
880 COND_PLATFORM_MSDOS_0
881 COND_PLATFORM_MSDOS_1
885 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
886 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
887 COND_PLATFORM_UNIX_1_USE_GUI_1
888 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
889 COND_PLATFORM_WIN32_0
890 COND_PLATFORM_WIN32_1
892 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
893 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
894 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
895 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
898 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
899 COND_SHARED_0_USE_STC_1
900 COND_SHARED_0_USE_XRC_1
901 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
902 COND_SHARED_0_WXUSE_ODBC_BUILTIN
903 COND_SHARED_0_WXUSE_REGEX_BUILTIN
904 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
906 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_1_USE_XRC_1
910 COND_TOOLKIT_COCOA_USE_GUI_1
911 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
913 COND_TOOLKIT_DFB_USE_GUI_1
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_GTK_USE_GUI_1
923 COND_TOOLKIT_MAC_USE_GUI_1
924 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_MGL_USE_GUI_1
928 COND_TOOLKIT_MOTIF_USE_GUI_1
929 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_MSW_USE_GUI_1
932 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_MSW_WXUNIV_0
935 COND_TOOLKIT_PM_USE_GUI_1
936 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_WINCE_USE_GUI_1
939 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_WINCE_WXUNIV_0
942 COND_TOOLKIT_X11_USE_GUI_1
944 COND_USE_EXCEPTIONS_0
945 COND_USE_EXCEPTIONS_1
948 COND_USE_GUI_1_USE_OPENGL_1
949 COND_USE_GUI_1_WXUNIV_0
950 COND_USE_GUI_1_WXUNIV_1
951 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
952 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
953 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
960 COND_USE_SOSYMLINKS_1
961 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
962 COND_USE_SOVERLINUX_1
964 COND_USE_SOVERSOLARIS_1
969 COND_WINDOWS_IMPLIB_1
970 COND_WITH_PLUGIN_SDL_1
973 COND_WXUSE_EXPAT_BUILTIN
974 COND_WXUSE_LIBJPEG_BUILTIN
975 COND_WXUSE_LIBPNG_BUILTIN
976 COND_WXUSE_LIBTIFF_BUILTIN
977 COND_WXUSE_ODBC_BUILTIN
978 COND_WXUSE_REGEX_BUILTIN
979 COND_WXUSE_ZLIB_BUILTIN
981 WX_LIBRARY_BASENAME_NOGUI
982 WX_LIBRARY_BASENAME_GUI
1002 WXCONFIG_LDFLAGS_GUI
1015 WX_RESOURCES_MACOSX_ASCII
1016 WX_RESOURCES_MACOSX_DATA
1025 ac_precious_vars
='build_alias
1047 LIBGNOMEPRINTUI_CFLAGS
1048 LIBGNOMEPRINTUI_LIBS
1057 ac_subdirs_all
='src/expat'
1059 # Initialize some variables set by options.
1061 ac_init_version
=false
1062 # The variables have the same names as the options, with
1063 # dashes changed to underlines.
1064 cache_file
=/dev
/null
1071 program_transform_name
=s
,x
,x
,
1079 # Installation directory options.
1080 # These are left unexpanded so users can "make install exec_prefix=/foo"
1081 # and all the variables that are supposed to be based on exec_prefix
1082 # by default will actually change.
1083 # Use braces instead of parens because sh, perl, etc. also accept them.
1084 # (The list follows the same order as the GNU Coding Standards.)
1085 bindir
='${exec_prefix}/bin'
1086 sbindir
='${exec_prefix}/sbin'
1087 libexecdir
='${exec_prefix}/libexec'
1088 datarootdir
='${prefix}/share'
1089 datadir
='${datarootdir}'
1090 sysconfdir
='${prefix}/etc'
1091 sharedstatedir
='${prefix}/com'
1092 localstatedir
='${prefix}/var'
1093 includedir
='${prefix}/include'
1094 oldincludedir
='/usr/include'
1095 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1096 infodir
='${datarootdir}/info'
1101 libdir
='${exec_prefix}/lib'
1102 localedir
='${datarootdir}/locale'
1103 mandir
='${datarootdir}/man'
1109 # If the previous option needs an argument, assign it.
1110 if test -n "$ac_prev"; then
1111 eval $ac_prev=\
$ac_option
1117 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1121 # Accept the important Cygnus configure options, so we can diagnose typos.
1123 case $ac_dashdash$ac_option in
1127 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1129 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1130 bindir
=$ac_optarg ;;
1132 -build | --build | --buil | --bui | --bu)
1133 ac_prev
=build_alias
;;
1134 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1135 build_alias
=$ac_optarg ;;
1137 -cache-file | --cache-file | --cache-fil | --cache-fi \
1138 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1139 ac_prev
=cache_file
;;
1140 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1141 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1142 cache_file
=$ac_optarg ;;
1144 --config-cache | -C)
1145 cache_file
=config.cache
;;
1147 -datadir | --datadir | --datadi | --datad)
1149 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1150 datadir
=$ac_optarg ;;
1152 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1153 | --dataroo | --dataro | --datar)
1154 ac_prev
=datarootdir
;;
1155 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1156 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1157 datarootdir
=$ac_optarg ;;
1159 -disable-* | --disable-*)
1160 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1163 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1164 { (exit 1); exit 1; }; }
1165 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1166 eval enable_
$ac_feature=no
;;
1168 -docdir | --docdir | --docdi | --doc | --do)
1170 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1171 docdir
=$ac_optarg ;;
1173 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1175 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1176 dvidir
=$ac_optarg ;;
1178 -enable-* | --enable-*)
1179 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1182 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1183 { (exit 1); exit 1; }; }
1184 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1185 eval enable_
$ac_feature=\
$ac_optarg ;;
1187 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1188 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1189 | --exec | --exe | --ex)
1190 ac_prev
=exec_prefix
;;
1191 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1192 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1193 | --exec=* | --exe=* | --ex=*)
1194 exec_prefix
=$ac_optarg ;;
1196 -gas | --gas | --ga | --g)
1197 # Obsolete; use --with-gas.
1200 -help | --help | --hel | --he | -h)
1201 ac_init_help
=long
;;
1202 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1203 ac_init_help
=recursive
;;
1204 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1205 ac_init_help
=short
;;
1207 -host | --host | --hos | --ho)
1208 ac_prev
=host_alias
;;
1209 -host=* | --host=* | --hos=* | --ho=*)
1210 host_alias
=$ac_optarg ;;
1212 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1214 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1216 htmldir
=$ac_optarg ;;
1218 -includedir | --includedir | --includedi | --included | --include \
1219 | --includ | --inclu | --incl | --inc)
1220 ac_prev
=includedir
;;
1221 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1222 | --includ=* | --inclu=* | --incl=* | --inc=*)
1223 includedir
=$ac_optarg ;;
1225 -infodir | --infodir | --infodi | --infod | --info | --inf)
1227 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1228 infodir
=$ac_optarg ;;
1230 -libdir | --libdir | --libdi | --libd)
1232 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1233 libdir
=$ac_optarg ;;
1235 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1236 | --libexe | --libex | --libe)
1237 ac_prev
=libexecdir
;;
1238 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1239 | --libexe=* | --libex=* | --libe=*)
1240 libexecdir
=$ac_optarg ;;
1242 -localedir | --localedir | --localedi | --localed | --locale)
1243 ac_prev
=localedir
;;
1244 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1245 localedir
=$ac_optarg ;;
1247 -localstatedir | --localstatedir | --localstatedi | --localstated \
1248 | --localstate | --localstat | --localsta | --localst | --locals)
1249 ac_prev
=localstatedir
;;
1250 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1251 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1252 localstatedir
=$ac_optarg ;;
1254 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1256 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1257 mandir
=$ac_optarg ;;
1259 -nfp | --nfp | --nf)
1260 # Obsolete; use --without-fp.
1263 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1264 | --no-cr | --no-c | -n)
1267 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1268 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1271 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1272 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1273 | --oldin | --oldi | --old | --ol | --o)
1274 ac_prev
=oldincludedir
;;
1275 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1276 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1277 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1278 oldincludedir
=$ac_optarg ;;
1280 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1282 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1283 prefix
=$ac_optarg ;;
1285 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1286 | --program-pre | --program-pr | --program-p)
1287 ac_prev
=program_prefix
;;
1288 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1289 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1290 program_prefix
=$ac_optarg ;;
1292 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1293 | --program-suf | --program-su | --program-s)
1294 ac_prev
=program_suffix
;;
1295 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1296 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1297 program_suffix
=$ac_optarg ;;
1299 -program-transform-name | --program-transform-name \
1300 | --program-transform-nam | --program-transform-na \
1301 | --program-transform-n | --program-transform- \
1302 | --program-transform | --program-transfor \
1303 | --program-transfo | --program-transf \
1304 | --program-trans | --program-tran \
1305 | --progr-tra | --program-tr | --program-t)
1306 ac_prev
=program_transform_name
;;
1307 -program-transform-name=* | --program-transform-name=* \
1308 | --program-transform-nam=* | --program-transform-na=* \
1309 | --program-transform-n=* | --program-transform-=* \
1310 | --program-transform=* | --program-transfor=* \
1311 | --program-transfo=* | --program-transf=* \
1312 | --program-trans=* | --program-tran=* \
1313 | --progr-tra=* | --program-tr=* | --program-t=*)
1314 program_transform_name
=$ac_optarg ;;
1316 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1318 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1319 pdfdir
=$ac_optarg ;;
1321 -psdir | --psdir | --psdi | --psd | --ps)
1323 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1327 | -silent | --silent | --silen | --sile | --sil)
1330 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1332 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1334 sbindir
=$ac_optarg ;;
1336 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1337 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1338 | --sharedst | --shareds | --shared | --share | --shar \
1340 ac_prev
=sharedstatedir
;;
1341 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1342 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1343 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1345 sharedstatedir
=$ac_optarg ;;
1347 -site | --site | --sit)
1349 -site=* | --site=* | --sit=*)
1352 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1354 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1355 srcdir
=$ac_optarg ;;
1357 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1358 | --syscon | --sysco | --sysc | --sys | --sy)
1359 ac_prev
=sysconfdir
;;
1360 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1361 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1362 sysconfdir
=$ac_optarg ;;
1364 -target | --target | --targe | --targ | --tar | --ta | --t)
1365 ac_prev
=target_alias
;;
1366 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1367 target_alias
=$ac_optarg ;;
1369 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1372 -version | --version | --versio | --versi | --vers | -V)
1373 ac_init_version
=: ;;
1376 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
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=\
$ac_optarg ;;
1384 -without-* | --without-*)
1385 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1386 # Reject names that are not valid shell variable names.
1387 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1388 { echo "$as_me: error: invalid package name: $ac_package" >&2
1389 { (exit 1); exit 1; }; }
1390 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1391 eval with_
$ac_package=no
;;
1394 # Obsolete; use --with-x.
1397 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1398 | --x-incl | --x-inc | --x-in | --x-i)
1399 ac_prev
=x_includes
;;
1400 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1401 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1402 x_includes
=$ac_optarg ;;
1404 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1405 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1406 ac_prev
=x_libraries
;;
1407 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1408 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1409 x_libraries
=$ac_optarg ;;
1411 -*) { echo "$as_me: error: unrecognized option: $ac_option
1412 Try \`$0 --help' for more information." >&2
1413 { (exit 1); exit 1; }; }
1417 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1418 # Reject names that are not valid shell variable names.
1419 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1420 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1421 { (exit 1); exit 1; }; }
1422 eval $ac_envvar=\
$ac_optarg
1423 export $ac_envvar ;;
1426 # FIXME: should be removed in autoconf 3.0.
1427 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1428 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1429 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1430 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1436 if test -n "$ac_prev"; then
1437 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1438 { echo "$as_me: error: missing argument to $ac_option" >&2
1439 { (exit 1); exit 1; }; }
1442 # Be sure to have absolute directory names.
1443 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1444 datadir sysconfdir sharedstatedir localstatedir includedir \
1445 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1446 libdir localedir mandir
1448 eval ac_val
=\$
$ac_var
1450 [\\/$
]* | ?
:[\\/]* ) continue;;
1451 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1453 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1454 { (exit 1); exit 1; }; }
1457 # There might be people who depend on the old broken behavior: `$host'
1458 # used to hold the argument of --host etc.
1459 # FIXME: To remove some day.
1462 target
=$target_alias
1464 # FIXME: To remove some day.
1465 if test "x$host_alias" != x
; then
1466 if test "x$build_alias" = x
; then
1467 cross_compiling
=maybe
1468 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1469 If a cross compiler is detected then cross compile mode will be used." >&2
1470 elif test "x$build_alias" != "x$host_alias"; then
1476 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1478 test "$silent" = yes && exec 6>/dev
/null
1481 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1482 ac_ls_di
=`ls -di .` &&
1483 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1484 { echo "$as_me: error: Working directory cannot be determined" >&2
1485 { (exit 1); exit 1; }; }
1486 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1487 { echo "$as_me: error: pwd does not report name of working directory" >&2
1488 { (exit 1); exit 1; }; }
1491 # Find the source files, if location was not specified.
1492 if test -z "$srcdir"; then
1493 ac_srcdir_defaulted
=yes
1494 # Try the directory containing this script, then the parent directory.
1495 ac_confdir
=`$as_dirname -- "$0" ||
1496 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1497 X"$0" : 'X\(//\)[^/]' \| \
1498 X"$0" : 'X\(//\)$' \| \
1499 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1523 ac_srcdir_defaulted
=no
1525 if test ! -r "$srcdir/$ac_unique_file"; then
1526 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1527 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1528 { (exit 1); exit 1; }; }
1530 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1532 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1533 { (exit 1); exit 1; }; }
1535 # When building in place, set srcdir=.
1536 if test "$ac_abs_confdir" = "$ac_pwd"; then
1539 # Remove unnecessary trailing slashes from srcdir.
1540 # Double slashes in file names in object file debugging info
1541 # mess up M-x gdb in Emacs.
1543 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1545 for ac_var
in $ac_precious_vars; do
1546 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1547 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1548 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1549 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1553 # Report the --help message.
1555 if test "$ac_init_help" = "long"; then
1556 # Omit some internal or obsolete options to make the list less imposing.
1557 # This message is too long to be a string in the A/UX 3.1 sh.
1559 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1561 Usage: $0 [OPTION]... [VAR=VALUE]...
1563 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1564 VAR=VALUE. See below for descriptions of some of the useful variables.
1566 Defaults for the options are specified in brackets.
1569 -h, --help display this help and exit
1570 --help=short display options specific to this package
1571 --help=recursive display the short help of all the included packages
1572 -V, --version display version information and exit
1573 -q, --quiet, --silent do not print \`checking...' messages
1574 --cache-file=FILE cache test results in FILE [disabled]
1575 -C, --config-cache alias for \`--cache-file=config.cache'
1576 -n, --no-create do not create output files
1577 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1579 Installation directories:
1580 --prefix=PREFIX install architecture-independent files in PREFIX
1581 [$ac_default_prefix]
1582 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1585 By default, \`make install' will install all the files in
1586 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1587 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1588 for instance \`--prefix=\$HOME'.
1590 For better control, use the options below.
1592 Fine tuning of the installation directories:
1593 --bindir=DIR user executables [EPREFIX/bin]
1594 --sbindir=DIR system admin executables [EPREFIX/sbin]
1595 --libexecdir=DIR program executables [EPREFIX/libexec]
1596 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1597 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1598 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1599 --libdir=DIR object code libraries [EPREFIX/lib]
1600 --includedir=DIR C header files [PREFIX/include]
1601 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1602 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1603 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1604 --infodir=DIR info documentation [DATAROOTDIR/info]
1605 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1606 --mandir=DIR man documentation [DATAROOTDIR/man]
1607 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1608 --htmldir=DIR html documentation [DOCDIR]
1609 --dvidir=DIR dvi documentation [DOCDIR]
1610 --pdfdir=DIR pdf documentation [DOCDIR]
1611 --psdir=DIR ps documentation [DOCDIR]
1617 --x-includes=DIR X include files are
in DIR
1618 --x-libraries=DIR X library files are
in DIR
1621 --build=BUILD configure
for building on BUILD
[guessed
]
1622 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1623 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1627 if test -n "$ac_init_help"; then
1628 case $ac_init_help in
1629 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1634 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1635 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1636 --disable-gui don
't build GUI parts of the library
1637 --enable-monolithic build wxWidgets as single library
1638 --enable-plugins build parts of wxWidgets as loadable components
1639 --enable-official_build official build of wxWidgets (win32 DLL only)
1640 --enable-vendor=VENDOR vendor name (win32 DLL only)
1641 --disable-all-features disable all optional features to build minimal library
1642 --enable-universal use wxWidgets GUI controls instead of native ones
1643 --enable-nanox use NanoX
1644 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1645 --enable-gpe use GNOME PDA Environment features if possible
1646 --disable-shared create static library instead of shared
1647 --disable-optimise create optimised code
1648 --enable-debug same as debug_flag and debug_info
1649 --enable-stl use STL for containers
1650 --enable-std_iostreams use standard C++ stream classes
1651 --enable-std_string use standard C++ string classes
1652 --disable-unicode compile without Unicode support
1653 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1654 --enable-utf8 use UTF-8 representation for strings (Unix only)
1655 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1656 --enable-extended_rtti use extended RTTI (XTI)
1657 --enable-omf use OMF object format
1658 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1659 --enable-debug_info create code with debugging information
1660 --enable-debug_gdb create code with extra GDB debugging information
1661 --enable-debug_cntxt use wxDebugContext
1662 --enable-mem_tracing create code with memory tracing
1663 --enable-profile create code with profiling information
1664 --enable-no_rtti create code without RTTI information
1665 --enable-no_exceptions create code without C++ exceptions handling
1666 --enable-permissive compile code disregarding strict ANSI
1667 --enable-no_deps create code without dependency information
1668 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1669 --enable-universal_binary[=SDK
] create Mac PowerPC and Intel Universal binary
(not yet working
)
1670 --enable-compat26 enable wxWidgets
2.6 compatibility
1671 --disable-compat28 disable wxWidgets
2.8 compatibility
1672 --disable-rpath disable use of rpath
for uninstalled builds
1673 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1674 --disable-visibility disable use of ELF symbols visibility even
if supported
1675 --enable-intl use internationalization system
1676 --enable-config use wxConfig
(and derived
) classes
1677 --enable-protocols use wxProtocol and derived classes
1678 --enable-ftp use wxFTP
(requires wxProtocol
1679 --enable-http use wxHTTP
(requires wxProtocol
1680 --enable-fileproto use wxFileProto class
(requires wxProtocol
1681 --enable-sockets use socket
/network classes
1682 --enable-ole use OLE classes
(Win32 only
)
1683 --enable-dataobj use data object classes
1684 --enable-ipc use interprocess communication
(wxSocket etc.
)
1685 --enable-baseevtloop use event loop
in console programs too
1686 --enable-epoolloop use wxEpollDispatcher class
(Linux only
)
1687 --enable-selectloop use wxSelectDispatcher class
1688 --enable-apple_ieee use the Apple IEEE codec
1689 --enable-arcstream use wxArchive streams
1690 --enable-base64 use base64 encoding
/decoding functions
1691 --enable-backtrace use wxStackWalker class
for getting backtraces
1692 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1693 --enable-cmdline use wxCmdLineParser class
1694 --enable-datetime use wxDateTime class
1695 --enable-debugreport use wxDebugReport class
1696 --enable-dialupman use dialup network classes
1697 --enable-dynlib use wxLibrary class
for DLL loading
1698 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1699 --enable-exceptions build exception
-safe library
1700 --enable-ffile use wxFFile class
1701 --enable-file use wxFile class
1702 --enable-filesystem use virtual
file systems classes
1703 --enable-fontmap use font encodings conversion classes
1704 --enable-fs_archive use virtual archive filesystems
1705 --enable-fs_inet use virtual HTTP
/FTP filesystems
1706 --enable-fs_zip now replaced by fs_archive
1707 --enable-geometry use geometry class
1708 --enable-log use logging system
1709 --enable-longlong use wxLongLong class
1710 --enable-mimetype use wxMimeTypesManager
1711 --enable-snglinst use wxSingleInstanceChecker class
1712 --enable-stdpaths use wxStandardPaths class
1713 --enable-stopwatch use wxStopWatch class
1714 --enable-streams use wxStream etc classes
1715 --enable-sysoptions use wxSystemOptions
1716 --enable-tarstream use wxTar streams
1717 --enable-textbuf use wxTextBuffer class
1718 --enable-textfile use wxTextFile class
1719 --enable-timer use wxTimer class
1720 --enable-sound use wxSound class
1721 --enable-mediactrl use wxMediaCtrl class
1722 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1723 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1724 --enable-zipstream use wxZip streams
1725 --enable-url use wxURL class
1726 --enable-variant use wxVariant class
1727 --enable-protocol use wxProtocol class
1728 --enable-protocol-http HTTP support
in wxProtocol
1729 --enable-protocol-ftp FTP support
in wxProtocol
1730 --enable-protocol-file FILE support
in wxProtocol
1731 --enable-threads use threads
1732 --enable-docview use document view architecture
1733 --enable-help use
help subsystem
1734 --enable-mshtmlhelp use MS HTML Help
(win32
)
1735 --enable-html use wxHTML sub
-library
1736 --enable-htmlhelp use wxHTML
-based help
1737 --enable-xrc use XRC resources sub
-library
1738 --enable-aui use AUI docking library
1739 --enable-stc use wxStyledTextCtrl library
1740 --enable-constraints use layout
-constraints system
1741 --enable-printarch use printing architecture
1742 --enable-mdi use multiple document interface architecture
1743 --enable-mdidoc use docview architecture with MDI
1744 --enable-loggui use standard GUI logger
1745 --enable-logwin use wxLogWindow
1746 --enable-logdialog use wxLogDialog
1747 --enable-webkit use wxWebKitCtrl
(Mac
)
1748 --enable-richtext use wxRichTextCtrl
1749 --enable-graphics_ctx use graphics context
2D drawing API
1750 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1751 --enable-svg use wxSVGFileDC device context
1752 --enable-clipboard use wxClipboard class
1753 --enable-dnd use Drag
'n'Drop classes
1754 --enable-metafile use win32 metafiles
1755 --disable-controls disable compilation of all standard controls
1756 --enable-accel use accelerators
1757 --enable-animatectrl use wxAnimationCtrl class
1758 --enable-button use wxButton class
1759 --enable-bmpbutton use wxBitmapButton class
1760 --enable-bmpcombobox use wxBitmapComboBox class
1761 --enable-calendar use wxCalendarCtrl class
1762 --enable-caret use wxCaret class
1763 --enable-checkbox use wxCheckBox class
1764 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1765 --enable-choice use wxChoice class
1766 --enable-choicebook use wxChoicebook class
1767 --enable-collpane use wxCollapsiblePane class
1768 --enable-colourpicker use wxColourPickerCtrl class
1769 --enable-combobox use wxComboBox class
1770 --enable-comboctrl use wxComboCtrl class
1771 --enable-datepick use wxDatePickerCtrl class
1772 --enable-dirpicker use wxDirPickerCtrl class
1773 --enable-display use wxDisplay class
1774 --enable-detect_sm use code to detect X11 session manager
1775 --enable-editablebox use wxEditableListBox class
1776 --enable-filepicker use wxFilePickerCtrl class
1777 --enable-fontpicker use wxFontPickerCtrl class
1778 --enable-gauge use wxGauge class
1779 --enable-grid use wxGrid class
1780 --enable-dataviewctrl use wxDataViewCtrl class
1781 --enable-hyperlink use wxHyperlinkCtrl class
1782 --enable-imaglist use wxImageList class
1783 --enable-listbook use wxListbook class
1784 --enable-listbox use wxListBox class
1785 --enable-listctrl use wxListCtrl class
1786 --enable-notebook use wxNotebook class
1787 --enable-odcombobox use wxOwnerDrawnComboBox class
1788 --enable-radiobox use wxRadioBox class
1789 --enable-radiobtn use wxRadioButton class
1790 --enable-sash use wxSashWindow class
1791 --enable-scrollbar use wxScrollBar class and scrollable windows
1792 --enable-searchctrl use wxSearchCtrl class
1793 --enable-slider use wxSlider class
1794 --enable-spinbtn use wxSpinButton class
1795 --enable-spinctrl use wxSpinCtrl class
1796 --enable-splitter use wxSplitterWindow class
1797 --enable-statbmp use wxStaticBitmap class
1798 --enable-statbox use wxStaticBox class
1799 --enable-statline use wxStaticLine class
1800 --enable-stattext use wxStaticText class
1801 --enable-statusbar use wxStatusBar class
1802 --enable-tabdialog use wxTabControl class
1803 --enable-taskbaricon use wxTaskBarIcon class
1804 --enable-textctrl use wxTextCtrl class
1805 --enable-togglebtn use wxToggleButton class
1806 --enable-toolbar use wxToolBar class
1807 --enable-tbarnative use native wxToolBar class
1808 --enable-treebook use wxTreebook class
1809 --enable-toolbook use wxToolbook class
1810 --enable-treectrl use wxTreeCtrl class
1811 --enable-tipwindow use wxTipWindow class
1812 --enable-popupwin use wxPopUpWindow class
1813 --enable-commondlg use all common dialogs
1814 --enable-aboutdlg use wxAboutBox
1815 --enable-choicedlg use wxChoiceDialog
1816 --enable-coldlg use wxColourDialog
1817 --enable-filedlg use wxFileDialog
1818 --enable-finddlg use wxFindReplaceDialog
1819 --enable-fontdlg use wxFontDialog
1820 --enable-dirdlg use wxDirDialog
1821 --enable-msgdlg use wxMessageDialog
1822 --enable-numberdlg use wxNumberEntryDialog
1823 --enable-splash use wxSplashScreen
1824 --enable-textdlg use wxTextDialog
1825 --enable-tipdlg use startup tips
1826 --enable-progressdlg use wxProgressDialog
1827 --enable-wizarddlg use wxWizard
1828 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1829 --enable-miniframe use wxMiniFrame class
1830 --enable-tooltips use wxToolTip class
1831 --enable-splines use spline drawing code
1832 --enable-mousewheel use mousewheel
1833 --enable-validators use wxValidator and derived classes
1834 --enable-busyinfo use wxBusyInfo
1835 --enable-joystick use wxJoystick
1836 --enable-metafiles use wxMetaFile
(Win32 only
)
1837 --enable-dragimage use wxDragImage
1838 --enable-accessibility enable accessibility support
1839 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1840 --enable-palette use wxPalette class
1841 --enable-image use wxImage class
1842 --enable-gif use gif images
(GIF
file format
)
1843 --enable-pcx use pcx images
(PCX
file format
)
1844 --enable-tga use tga images
(TGA
file format
)
1845 --enable-iff use iff images
(IFF
file format
)
1846 --enable-pnm use pnm images
(PNM
file format
)
1847 --enable-xpm use xpm images
(XPM
file format
)
1848 --enable-icocur use Windows ICO and CUR formats
1849 --disable-largefile omit support
for large files
1850 --disable-gtktest do not try to compile and run a
test GTK
+ program
1851 --disable-gtktest Do not try to compile and run a
test GTK program
1852 --disable-sdltest Do not try to compile and run a
test SDL program
1853 --enable-omf use OMF object format
(OS
/2)
1854 --disable-dependency-tracking
1855 don
't use dependency tracking even if the compiler
1857 --disable-precomp-headers
1858 don't use precompiled headers even
if compiler can
1861 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1862 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1863 --without-subdirs don
't generate makefiles for samples/demos/...
1864 --with-flavour=NAME specify a name to identify this build
1865 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1866 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1867 --with-motif use Motif/Lesstif
1868 --with-mac use Mac OS X
1869 --with-cocoa use Cocoa
1870 --with-wine use Wine
1871 --with-msw use MS-Windows
1872 --with-pm use OS/2 Presentation Manager
1873 --with-mgl use SciTech MGL
1874 --with-directfb use DirectFB
1875 --with-microwin use MicroWindows
1877 --with-libpng use libpng (PNG image format)
1878 --with-libjpeg use libjpeg (JPEG file format)
1879 --with-libtiff use libtiff (TIFF file format)
1880 --with-libxpm use libxpm (XPM file format)
1881 --with-libmspack use libmspack (CHM help files loading)
1882 --without-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-odbc use the IODBC and wxODBC classes
1891 --with-expat enable XML support using expat parser
1892 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1893 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1894 --with-x use the X Window System
1895 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1896 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1897 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1898 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1899 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1901 Some influential environment variables
:
1902 CC C compiler
command
1903 CFLAGS C compiler flags
1904 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1905 nonstandard directory
<lib dir
>
1906 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1907 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1908 you have headers
in a nonstandard directory
<include dir
>
1910 CXX C
++ compiler
command
1911 CXXFLAGS C
++ compiler flags
1912 PKG_CONFIG path to pkg
-config utility
1914 C compiler flags
for DIRECTFB
, overriding pkg
-config
1916 linker flags
for DIRECTFB
, overriding pkg
-config
1917 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1919 C compiler flags
for PANGOX
, overriding pkg
-config
1920 PANGOX_LIBS linker flags
for PANGOX
, overriding pkg
-config
1922 C compiler flags
for PANGOFT2
, overriding pkg
-config
1924 linker flags
for PANGOFT2
, overriding pkg
-config
1926 C compiler flags
for PANGOXFT
, overriding pkg
-config
1928 linker flags
for PANGOXFT
, overriding pkg
-config
1929 LIBGNOMEPRINTUI_CFLAGS
1930 C compiler flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1931 LIBGNOMEPRINTUI_LIBS
1932 linker flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1934 C compiler flags
for GNOMEVFS
, overriding pkg
-config
1936 linker flags
for GNOMEVFS
, overriding pkg
-config
1938 C compiler flags
for HILDON
, overriding pkg
-config
1939 HILDON_LIBS linker flags
for HILDON
, overriding pkg
-config
1941 C compiler flags
for CAIRO
, overriding pkg
-config
1942 CAIRO_LIBS linker flags
for CAIRO
, overriding pkg
-config
1943 GST_CFLAGS C compiler flags
for GST
, overriding pkg
-config
1944 GST_LIBS linker flags
for GST
, overriding pkg
-config
1946 Use these variables to override the choices made by
`configure' or to help
1947 it to find libraries and programs with nonstandard names/locations.
1949 Report bugs to <wx-dev@lists.wxwidgets.org>.
1954 if test "$ac_init_help" = "recursive"; then
1955 # If there are subdirs, report their specific --help.
1956 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1957 test -d "$ac_dir" || continue
1961 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1963 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1964 # A ".." for each directory in $ac_dir_suffix.
1965 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1966 case $ac_top_builddir_sub in
1967 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1968 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1971 ac_abs_top_builddir=$ac_pwd
1972 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1973 # for backward compatibility:
1974 ac_top_builddir=$ac_top_build_prefix
1977 .) # We are building in place.
1979 ac_top_srcdir=$ac_top_builddir_sub
1980 ac_abs_top_srcdir=$ac_pwd ;;
1981 [\\/]* | ?:[\\/]* ) # Absolute name.
1982 ac_srcdir=$srcdir$ac_dir_suffix;
1983 ac_top_srcdir=$srcdir
1984 ac_abs_top_srcdir=$srcdir ;;
1986 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1987 ac_top_srcdir=$ac_top_build_prefix$srcdir
1988 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1990 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1992 cd "$ac_dir" || { ac_status=$?; continue; }
1993 # Check for guested configure.
1994 if test -f "$ac_srcdir/configure.gnu"; then
1996 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1997 elif test -f "$ac_srcdir/configure"; then
1999 $SHELL "$ac_srcdir/configure" --help=recursive
2001 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2003 cd "$ac_pwd" || { ac_status=$?; break; }
2007 test -n "$ac_init_help" && exit $ac_status
2008 if $ac_init_version; then
2010 wxWidgets configure 2.9.0
2011 generated by GNU Autoconf 2.61
2013 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2014 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2015 This configure script is free software; the Free Software Foundation
2016 gives unlimited permission to copy, distribute and modify it.
2020 cat >config.log <<_ACEOF
2021 This file contains any messages produced by compilers while
2022 running configure, to aid debugging if configure makes a mistake.
2024 It was created by wxWidgets $as_me 2.9.0, which was
2025 generated by GNU Autoconf 2.61. Invocation command line was
2037 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2038 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2039 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2040 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2041 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2043 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2044 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2046 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2047 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2048 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2049 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2050 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2051 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2052 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2060 test -z "$as_dir" && as_dir=.
2061 echo "PATH: $as_dir"
2077 # Keep a trace of the command line.
2078 # Strip out --no-create and --no-recursion so they do not pile up.
2079 # Strip out --silent because we don't want to record it for future runs.
2080 # Also quote any args containing shell meta-characters.
2081 # Make two passes to allow for proper duplicate-argument suppression.
2085 ac_must_keep_next=false
2091 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2092 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2093 | -silent | --silent | --silen | --sile | --sil)
2096 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2099 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2101 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2102 if test $ac_must_keep_next = true; then
2103 ac_must_keep_next=false # Got value, back to normal.
2106 *=* | --config-cache | -C | -disable-* | --disable-* \
2107 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2108 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2109 | -with-* | --with-* | -without-* | --without-* | --x)
2110 case "$ac_configure_args0 " in
2111 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2114 -* ) ac_must_keep_next=true ;;
2117 ac_configure_args="$ac_configure_args '$ac_arg'"
2122 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2123 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2125 # When interrupted or exit'd, cleanup temporary files, and complete
2126 # config.log. We remove comments because anyway the quotes in there
2127 # would cause problems or look ugly.
2128 # WARNING: Use '\'' to represent an apostrophe within the trap.
2129 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2130 trap 'exit_status=$?
2131 # Save into config.log some information that might help in debugging.
2136 ## ---------------- ##
2137 ## Cache variables. ##
2138 ## ---------------- ##
2141 # The following way of writing the cache mishandles newlines in values,
2143 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2144 eval ac_val=\$$ac_var
2148 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2149 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2152 _ | IFS | as_nl) ;; #(
2153 *) $as_unset $ac_var ;;
2158 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2159 *${as_nl}ac_space=\ *)
2161 "s/'\''/'\''\\\\'\'''\''/g;
2162 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2165 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2173 ## ----------------- ##
2174 ## Output variables. ##
2175 ## ----------------- ##
2178 for ac_var in $ac_subst_vars
2180 eval ac_val=\$$ac_var
2182 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2184 echo "$ac_var='\''$ac_val'\''"
2188 if test -n "$ac_subst_files"; then
2190 ## ------------------- ##
2191 ## File substitutions. ##
2192 ## ------------------- ##
2195 for ac_var in $ac_subst_files
2197 eval ac_val=\$$ac_var
2199 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2201 echo "$ac_var='\''$ac_val'\''"
2206 if test -s confdefs.h; then
2216 test "$ac_signal" != 0 &&
2217 echo "$as_me: caught signal $ac_signal"
2218 echo "$as_me: exit $exit_status"
2220 rm -f core *.core core.conftest.* &&
2221 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2224 for ac_signal in 1 2 13 15; do
2225 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2229 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2230 rm -f -r conftest* confdefs.h
2232 # Predefined preprocessor variables.
2234 cat >>confdefs.h <<_ACEOF
2235 #define PACKAGE_NAME "$PACKAGE_NAME"
2239 cat >>confdefs.h <<_ACEOF
2240 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2244 cat >>confdefs.h <<_ACEOF
2245 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2249 cat >>confdefs.h <<_ACEOF
2250 #define PACKAGE_STRING "$PACKAGE_STRING"
2254 cat >>confdefs.h <<_ACEOF
2255 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2259 # Let the site file select an alternate cache file if it wants to.
2260 # Prefer explicitly selected file to automatically selected ones.
2261 if test -n "$CONFIG_SITE"; then
2262 set x "$CONFIG_SITE"
2263 elif test "x$prefix" != xNONE; then
2264 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2266 set x "$ac_default_prefix/share/config.site" \
2267 "$ac_default_prefix/etc/config.site"
2272 if test -r "$ac_site_file"; then
2273 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2274 echo "$as_me: loading site script $ac_site_file" >&6;}
2275 sed 's/^/| /' "$ac_site_file" >&5
2280 if test -r "$cache_file"; then
2281 # Some versions of bash will fail to source /dev/null (special
2282 # files actually), so we avoid doing that.
2283 if test -f "$cache_file"; then
2284 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2285 echo "$as_me: loading cache $cache_file" >&6;}
2287 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2288 *) . "./$cache_file";;
2292 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2293 echo "$as_me: creating cache $cache_file" >&6;}
2297 # Check that the precious variables saved in the cache have kept the same
2299 ac_cache_corrupted=false
2300 for ac_var in $ac_precious_vars; do
2301 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2302 eval ac_new_set=\$ac_env_${ac_var}_set
2303 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2304 eval ac_new_val=\$ac_env_${ac_var}_value
2305 case $ac_old_set,$ac_new_set in
2307 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2308 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2309 ac_cache_corrupted=: ;;
2311 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
2312 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2313 ac_cache_corrupted=: ;;
2316 if test "x$ac_old_val" != "x$ac_new_val"; then
2317 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2318 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2319 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
2320 echo "$as_me: former value
: $ac_old_val" >&2;}
2321 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
2322 echo "$as_me: current value
: $ac_new_val" >&2;}
2323 ac_cache_corrupted=:
2326 # Pass precious variables to config.status.
2327 if test "$ac_new_set" = set; then
2329 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2330 *) ac_arg=$ac_var=$ac_new_val ;;
2332 case " $ac_configure_args " in
2333 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2334 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2338 if $ac_cache_corrupted; then
2339 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
2340 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
2341 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
2342 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
2343 { (exit 1); exit 1; }; }
2371 ac_cpp='$CPP $CPPFLAGS'
2372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2381 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2382 if test -f "$ac_dir/install-sh"; then
2384 ac_install_sh="$ac_aux_dir/install-sh -c"
2386 elif test -f "$ac_dir/install.sh"; then
2388 ac_install_sh="$ac_aux_dir/install.sh -c"
2390 elif test -f "$ac_dir/shtool"; then
2392 ac_install_sh="$ac_aux_dir/shtool install -c"
2396 if test -z "$ac_aux_dir"; then
2397 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2398 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2399 { (exit 1); exit 1; }; }
2402 # These three variables are undocumented and unsupported,
2403 # and are intended to be withdrawn in a future Autoconf release.
2404 # They can cause serious problems if a builder's source tree is in a directory
2405 # whose full name contains unusual characters.
2406 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2407 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2408 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2411 # Make sure we can run config.sub.
2412 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2413 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2414 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2415 { (exit 1); exit 1; }; }
2417 { echo "$as_me:$LINENO: checking build system type" >&5
2418 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2419 if test "${ac_cv_build+set}" = set; then
2420 echo $ECHO_N "(cached) $ECHO_C" >&6
2422 ac_build_alias=$build_alias
2423 test "x$ac_build_alias" = x &&
2424 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2425 test "x$ac_build_alias" = x &&
2426 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2427 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2428 { (exit 1); exit 1; }; }
2429 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2430 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2431 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2432 { (exit 1); exit 1; }; }
2435 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2436 echo "${ECHO_T}$ac_cv_build" >&6; }
2437 case $ac_cv_build in
2439 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2440 echo "$as_me: error: invalid value of canonical build" >&2;}
2441 { (exit 1); exit 1; }; };;
2444 ac_save_IFS=$IFS; IFS='-'
2450 # Remember, the first character of IFS is used to create $*,
2451 # except with old shells:
2454 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2457 { echo "$as_me:$LINENO: checking host system type" >&5
2458 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2459 if test "${ac_cv_host+set}" = set; then
2460 echo $ECHO_N "(cached) $ECHO_C" >&6
2462 if test "x$host_alias" = x; then
2463 ac_cv_host=$ac_cv_build
2465 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2466 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2467 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2468 { (exit 1); exit 1; }; }
2472 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2473 echo "${ECHO_T}$ac_cv_host" >&6; }
2476 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2477 echo "$as_me: error: invalid value of canonical host" >&2;}
2478 { (exit 1); exit 1; }; };;
2481 ac_save_IFS=$IFS; IFS='-'
2487 # Remember, the first character of IFS is used to create $*,
2488 # except with old shells:
2491 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2494 { echo "$as_me:$LINENO: checking target system type" >&5
2495 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2496 if test "${ac_cv_target+set}" = set; then
2497 echo $ECHO_N "(cached) $ECHO_C" >&6
2499 if test "x$target_alias" = x; then
2500 ac_cv_target=$ac_cv_host
2502 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2503 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2504 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2505 { (exit 1); exit 1; }; }
2509 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2510 echo "${ECHO_T}$ac_cv_target" >&6; }
2511 case $ac_cv_target in
2513 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2514 echo "$as_me: error: invalid value of canonical target" >&2;}
2515 { (exit 1); exit 1; }; };;
2517 target=$ac_cv_target
2518 ac_save_IFS=$IFS; IFS='-'
2524 # Remember, the first character of IFS is used to create $*,
2525 # except with old shells:
2528 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2531 # The aliases save the names the user supplied, while $host etc.
2532 # will get canonicalized.
2533 test -n "$target_alias" &&
2534 test "$program_prefix$program_suffix$program_transform_name" = \
2536 program_prefix=${target_alias}-
2540 wx_major_version_number=2
2541 wx_minor_version_number=9
2543 wx_subrelease_number=0
2545 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2546 WX_VERSION=$WX_RELEASE.$wx_release_number
2547 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2549 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2552 wx_top_builddir="`pwd`"
2565 USE_BSD= USE_DARWIN= USE_FREEBSD=
2571 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2577 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2579 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2581 DEFAULT_wxUSE_COCOA=0
2585 DEFAULT_wxUSE_MICROWIN=0
2586 DEFAULT_wxUSE_MOTIF=0
2592 DEFAULT_DEFAULT_wxUSE_COCOA=0
2593 DEFAULT_DEFAULT_wxUSE_GTK=0
2594 DEFAULT_DEFAULT_wxUSE_MAC=0
2595 DEFAULT_DEFAULT_wxUSE_MGL=0
2596 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2597 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2598 DEFAULT_DEFAULT_wxUSE_MSW=0
2599 DEFAULT_DEFAULT_wxUSE_PM=0
2600 DEFAULT_DEFAULT_wxUSE_X11=0
2601 DEFAULT_DEFAULT_wxUSE_DFB=0
2606 SAMPLES_RPATH_POSTLINK=
2608 DEFAULT_STD_FLAG=yes
2613 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2614 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2616 cat >>confdefs.h <<\_ACEOF
2621 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2625 cat >>confdefs.h <<\_ACEOF
2630 if test "x$TMP" = "xalpha"; then
2632 cat >>confdefs.h <<\_ACEOF
2637 DEFAULT_DEFAULT_wxUSE_GTK=1
2639 *-*-gnu* | *-*-k*bsd*-gnu )
2642 if test "x$TMP" = "xalpha"; then
2644 cat >>confdefs.h <<\_ACEOF
2649 DEFAULT_DEFAULT_wxUSE_GTK=1
2651 *-*-irix5* | *-*-irix6* )
2654 cat >>confdefs.h <<\_ACEOF
2658 cat >>confdefs.h <<\_ACEOF
2662 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2668 cat >>confdefs.h <<\_ACEOF
2672 cat >>confdefs.h <<\_ACEOF
2673 #define __SOLARIS__ 1
2676 cat >>confdefs.h <<\_ACEOF
2680 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2681 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2687 cat >>confdefs.h <<\_ACEOF
2691 cat >>confdefs.h <<\_ACEOF
2695 cat >>confdefs.h <<\_ACEOF
2699 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __FREEBSD__ 1
2708 cat >>confdefs.h <<\_ACEOF
2712 DEFAULT_DEFAULT_wxUSE_GTK=1
2714 *-*-openbsd*|*-*-mirbsd*)
2717 cat >>confdefs.h <<\_ACEOF
2718 #define __OPENBSD__ 1
2721 cat >>confdefs.h <<\_ACEOF
2725 DEFAULT_DEFAULT_wxUSE_GTK=1
2730 cat >>confdefs.h <<\_ACEOF
2731 #define __NETBSD__ 1
2734 cat >>confdefs.h <<\_ACEOF
2738 DEFAULT_DEFAULT_wxUSE_GTK=1
2739 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2741 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2746 cat >>confdefs.h <<\_ACEOF
2750 cat >>confdefs.h <<\_ACEOF
2754 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2755 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2760 cat >>confdefs.h <<\_ACEOF
2764 cat >>confdefs.h <<\_ACEOF
2768 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2773 cat >>confdefs.h <<\_ACEOF
2777 cat >>confdefs.h <<\_ACEOF
2781 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2788 cat >>confdefs.h <<\_ACEOF
2792 cat >>confdefs.h <<\_ACEOF
2796 cat >>confdefs.h <<\_ACEOF
2800 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2807 cat >>confdefs.h <<\_ACEOF
2808 #define __UNIXWARE__ 1
2813 *-*-cygwin* | *-*-mingw32* )
2816 DEFAULT_DEFAULT_wxUSE_MSW=1
2822 cat >>confdefs.h <<\_ACEOF
2827 DEFAULT_DEFAULT_wxUSE_MGL=1
2830 *-pc-os2_emx | *-pc-os2-emx )
2831 cat >>confdefs.h <<\_ACEOF
2836 cat >>confdefs.h <<\_ACEOF
2841 DEFAULT_DEFAULT_wxUSE_PM=1
2843 LDFLAGS="$LDFLAGS -Zcrtdll"
2844 ac_executable_extensions=".exe"
2845 export ac_executable_extensions
2849 for ac_dir in $PATH; do
2851 if test -z "$ac_TEMP_PATH"; then
2852 ac_TEMP_PATH="$ac_dir"
2854 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2857 export PATH="$ac_TEMP_PATH"
2866 cat >>confdefs.h <<\_ACEOF
2870 cat >>confdefs.h <<\_ACEOF
2871 #define __DARWIN__ 1
2874 cat >>confdefs.h <<\_ACEOF
2875 #define TARGET_CARBON 1
2878 DEFAULT_DEFAULT_wxUSE_MAC=1
2881 powerpc-apple-macos* )
2883 ac_cv_c_bigendian=yes
2885 DEFAULT_DEFAULT_wxUSE_MAC=1
2891 cat >>confdefs.h <<\_ACEOF
2898 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2899 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2900 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2901 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2903 DEFAULT_DEFAULT_wxUSE_X11=1
2904 DEFAULT_wxUSE_SHARED=no
2910 wx_arg_cache_file="configarg.cache"
2911 echo "loading argument cache $wx_arg_cache_file"
2912 rm -f ${wx_arg_cache_file}.tmp
2913 touch ${wx_arg_cache_file}.tmp
2914 touch ${wx_arg_cache_file}
2917 DEFAULT_wxUSE_ALL_FEATURES=yes
2919 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2920 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2922 DEFAULT_wxUSE_DMALLOC=no
2923 DEFAULT_wxUSE_LIBGNOMEVFS=no
2924 DEFAULT_wxUSE_LIBHILDON=no
2925 DEFAULT_wxUSE_LIBMSPACK=no
2926 DEFAULT_wxUSE_LIBSDL=no
2927 DEFAULT_wxUSE_ODBC=no
2928 DEFAULT_wxUSE_OPENGL=no
2930 DEFAULT_wxUSE_ACCESSIBILITY=no
2931 DEFAULT_wxUSE_DATAVIEWCTRL=no
2932 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2933 DEFAULT_wxUSE_MEDIACTRL=no
2934 DEFAULT_wxUSE_TAB_DIALOG=no
2936 DEFAULT_wxUSE_UNICODE_UTF8=auto
2937 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2939 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2941 DEFAULT_wxUSE_GTK2=yes
2943 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2946 for toolkit in `echo $ALL_TOOLKITS`; do
2947 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2948 if test "x$LINE" != "x" ; then
2949 has_toolkit_in_cache=1
2950 eval "DEFAULT_$LINE"
2951 eval "CACHE_$toolkit=1"
2953 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2954 if test "x$LINE" != "x" ; then
2955 eval "DEFAULT_$LINE"
2964 enablestring=disable
2966 if test -z "$defaultval"; then
2967 if test x"$enablestring" = xdisable; then
2974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2975 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2977 # Check whether --enable-gui was given.
2978 if test "${enable_gui+set}" = set; then
2979 enableval=$enable_gui;
2980 if test "$enableval" = yes; then
2981 wx_cv_use_gui='wxUSE_GUI=yes'
2983 wx_cv_use_gui='wxUSE_GUI=no'
2988 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2989 if test "x$LINE" != x ; then
2990 eval "DEFAULT_$LINE"
2995 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3000 eval "$wx_cv_use_gui"
3001 if test "$no_cache" != 1; then
3002 echo $wx_cv_use_gui >> ${wx_arg_cache_file}.tmp
3005 if test x"$enablestring" = xdisable; then
3006 if test $wxUSE_GUI = yes; then
3015 { echo "$as_me:$LINENO: result: $result" >&5
3016 echo "${ECHO_T}$result" >&6; }
3021 if test -z "$defaultval"; then
3022 if test x"$enablestring" = xdisable; then
3029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3030 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3032 # Check whether --enable-monolithic was given.
3033 if test "${enable_monolithic+set}" = set; then
3034 enableval=$enable_monolithic;
3035 if test "$enableval" = yes; then
3036 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3038 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3043 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3044 if test "x$LINE" != x ; then
3045 eval "DEFAULT_$LINE"
3050 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3055 eval "$wx_cv_use_monolithic"
3056 if test "$no_cache" != 1; then
3057 echo $wx_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3060 if test x"$enablestring" = xdisable; then
3061 if test $wxUSE_MONOLITHIC = yes; then
3067 result=$wxUSE_MONOLITHIC
3070 { echo "$as_me:$LINENO: result: $result" >&5
3071 echo "${ECHO_T}$result" >&6; }
3076 if test -z "$defaultval"; then
3077 if test x"$enablestring" = xdisable; then
3084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3085 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3087 # Check whether --enable-plugins was given.
3088 if test "${enable_plugins+set}" = set; then
3089 enableval=$enable_plugins;
3090 if test "$enableval" = yes; then
3091 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3093 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3098 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3099 if test "x$LINE" != x ; then
3100 eval "DEFAULT_$LINE"
3105 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3110 eval "$wx_cv_use_plugins"
3111 if test "$no_cache" != 1; then
3112 echo $wx_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3115 if test x"$enablestring" = xdisable; then
3116 if test $wxUSE_PLUGINS = yes; then
3122 result=$wxUSE_PLUGINS
3125 { echo "$as_me:$LINENO: result: $result" >&5
3126 echo "${ECHO_T}$result" >&6; }
3130 defaultval=$wxUSE_ALL_FEATURES
3131 if test -z "$defaultval"; then
3132 if test x"$withstring" = xwithout; then
3138 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3139 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3142 # Check whether --with-subdirs was given.
3143 if test "${with_subdirs+set}" = set; then
3144 withval=$with_subdirs;
3145 if test "$withval" = yes; then
3146 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3148 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3153 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3154 if test "x$LINE" != x ; then
3155 eval "DEFAULT_$LINE"
3160 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3165 eval "$wx_cv_use_subdirs"
3166 if test "$no_cache" != 1; then
3167 echo $wx_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3170 if test x"$withstring" = xwithout; then
3171 if test $wxWITH_SUBDIRS = yes; then
3177 result=$wxWITH_SUBDIRS
3180 { echo "$as_me:$LINENO: result: $result" >&5
3181 echo "${ECHO_T}$result" >&6; }
3184 # Check whether --with-flavour was given.
3185 if test "${with_flavour+set}" = set; then
3186 withval=$with_flavour; WX_FLAVOUR="$withval"
3192 if test -z "$defaultval"; then
3193 if test x"$enablestring" = xdisable; then
3200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3201 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3203 # Check whether --enable-official_build was given.
3204 if test "${enable_official_build+set}" = set; then
3205 enableval=$enable_official_build;
3206 if test "$enableval" = yes; then
3207 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3209 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3214 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3215 if test "x$LINE" != x ; then
3216 eval "DEFAULT_$LINE"
3221 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3226 eval "$wx_cv_use_official_build"
3227 if test "$no_cache" != 1; then
3228 echo $wx_cv_use_official_build >> ${wx_arg_cache_file}.tmp
3231 if test x"$enablestring" = xdisable; then
3232 if test $wxUSE_OFFICIAL_BUILD = yes; then
3238 result=$wxUSE_OFFICIAL_BUILD
3241 { echo "$as_me:$LINENO: result: $result" >&5
3242 echo "${ECHO_T}$result" >&6; }
3244 # Check whether --enable-vendor was given.
3245 if test "${enable_vendor+set}" = set; then
3246 enableval=$enable_vendor; VENDOR="$enableval"
3249 if test "x$VENDOR" = "x"; then
3254 enablestring=disable
3256 if test -z "$defaultval"; then
3257 if test x"$enablestring" = xdisable; then
3264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3265 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3267 # Check whether --enable-all-features was given.
3268 if test "${enable_all_features+set}" = set; then
3269 enableval=$enable_all_features;
3270 if test "$enableval" = yes; then
3271 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3273 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3278 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3279 if test "x$LINE" != x ; then
3280 eval "DEFAULT_$LINE"
3285 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3290 eval "$wx_cv_use_all_features"
3291 if test "$no_cache" != 1; then
3292 echo $wx_cv_use_all_features >> ${wx_arg_cache_file}.tmp
3295 if test x"$enablestring" = xdisable; then
3296 if test $wxUSE_ALL_FEATURES = yes; then
3302 result=$wxUSE_ALL_FEATURES
3305 { echo "$as_me:$LINENO: result: $result" >&5
3306 echo "${ECHO_T}$result" >&6; }
3310 if test "$wxUSE_GUI" = "yes"; then
3315 if test -z "$defaultval"; then
3316 if test x"$enablestring" = xdisable; then
3323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3324 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3326 # Check whether --enable-universal was given.
3327 if test "${enable_universal+set}" = set; then
3328 enableval=$enable_universal;
3329 if test "$enableval" = yes; then
3330 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3332 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3337 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3338 if test "x$LINE" != x ; then
3339 eval "DEFAULT_$LINE"
3344 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3349 eval "$wx_cv_use_universal"
3350 if test "$no_cache" != 1; then
3351 echo $wx_cv_use_universal >> ${wx_arg_cache_file}.tmp
3354 if test x"$enablestring" = xdisable; then
3355 if test $wxUSE_UNIVERSAL = yes; then
3361 result=$wxUSE_UNIVERSAL
3364 { echo "$as_me:$LINENO: result: $result" >&5
3365 echo "${ECHO_T}$result" >&6; }
3367 if test "$wxUSE_UNIVERSAL" = "yes"; then
3369 # Check whether --with-themes was given.
3370 if test "${with_themes+set}" = set; then
3371 withval=$with_themes; wxUNIV_THEMES="$withval"
3377 # Check whether --with-gtk was given.
3378 if test "${with_gtk+set}" = set; then
3379 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3383 # Check whether --with-motif was given.
3384 if test "${with_motif+set}" = set; then
3385 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3389 # Check whether --with-mac was given.
3390 if test "${with_mac+set}" = set; then
3391 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3395 # Check whether --with-cocoa was given.
3396 if test "${with_cocoa+set}" = set; then
3397 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3401 # Check whether --with-wine was given.
3402 if test "${with_wine+set}" = set; then
3403 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3407 # Check whether --with-msw was given.
3408 if test "${with_msw+set}" = set; then
3409 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3413 # Check whether --with-pm was given.
3414 if test "${with_pm+set}" = set; then
3415 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3419 # Check whether --with-mgl was given.
3420 if test "${with_mgl+set}" = set; then
3421 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3425 # Check whether --with-directfb was given.
3426 if test "${with_directfb+set}" = set; then
3427 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3431 # Check whether --with-microwin was given.
3432 if test "${with_microwin+set}" = set; then
3433 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3437 # Check whether --with-x11 was given.
3438 if test "${with_x11+set}" = set; then
3439 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3445 if test -z "$defaultval"; then
3446 if test x"$enablestring" = xdisable; then
3453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3454 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3456 # Check whether --enable-nanox was given.
3457 if test "${enable_nanox+set}" = set; then
3458 enableval=$enable_nanox;
3459 if test "$enableval" = yes; then
3460 wx_cv_use_nanox='wxUSE_NANOX=yes'
3462 wx_cv_use_nanox='wxUSE_NANOX=no'
3467 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3468 if test "x$LINE" != x ; then
3469 eval "DEFAULT_$LINE"
3474 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3479 eval "$wx_cv_use_nanox"
3480 if test "$no_cache" != 1; then
3481 echo $wx_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3484 if test x"$enablestring" = xdisable; then
3485 if test $wxUSE_NANOX = yes; then
3494 { echo "$as_me:$LINENO: result: $result" >&5
3495 echo "${ECHO_T}$result" >&6; }
3498 # Check whether --enable-gtk2 was given.
3499 if test "${enable_gtk2+set}" = set; then
3500 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3506 if test -z "$defaultval"; then
3507 if test x"$enablestring" = xdisable; then
3514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3515 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3517 # Check whether --enable-gpe was given.
3518 if test "${enable_gpe+set}" = set; then
3519 enableval=$enable_gpe;
3520 if test "$enableval" = yes; then
3521 wx_cv_use_gpe='wxUSE_GPE=yes'
3523 wx_cv_use_gpe='wxUSE_GPE=no'
3528 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3529 if test "x$LINE" != x ; then
3530 eval "DEFAULT_$LINE"
3535 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3540 eval "$wx_cv_use_gpe"
3541 if test "$no_cache" != 1; then
3542 echo $wx_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3545 if test x"$enablestring" = xdisable; then
3546 if test $wxUSE_GPE = yes; then
3555 { echo "$as_me:$LINENO: result: $result" >&5
3556 echo "${ECHO_T}$result" >&6; }
3561 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3562 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3565 # Check whether --with-libpng was given.
3566 if test "${with_libpng+set}" = set; then
3567 withval=$with_libpng;
3568 if test "$withval" = yes; then
3569 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3570 elif test "$withval" = no; then
3571 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3572 elif test "$withval" = sys; then
3573 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3574 elif test "$withval" = builtin; then
3575 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3577 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3578 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3579 { (exit 1); exit 1; }; }
3584 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3585 if test "x$LINE" != x ; then
3586 eval "DEFAULT_$LINE"
3591 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3596 eval "$wx_cv_use_libpng"
3597 if test "$no_cache" != 1; then
3598 echo $wx_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3601 if test "$wxUSE_LIBPNG" = yes; then
3602 { echo "$as_me:$LINENO: result: yes" >&5
3603 echo "${ECHO_T}yes" >&6; }
3604 elif test "$wxUSE_LIBPNG" = no; then
3605 { echo "$as_me:$LINENO: result: no" >&5
3606 echo "${ECHO_T}no" >&6; }
3607 elif test "$wxUSE_LIBPNG" = sys; then
3608 { echo "$as_me:$LINENO: result: system version" >&5
3609 echo "${ECHO_T}system version" >&6; }
3610 elif test "$wxUSE_LIBPNG" = builtin; then
3611 { echo "$as_me:$LINENO: result: builtin version" >&5
3612 echo "${ECHO_T}builtin version" >&6; }
3614 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3615 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3616 { (exit 1); exit 1; }; }
3620 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3621 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3624 # Check whether --with-libjpeg was given.
3625 if test "${with_libjpeg+set}" = set; then
3626 withval=$with_libjpeg;
3627 if test "$withval" = yes; then
3628 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3629 elif test "$withval" = no; then
3630 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3631 elif test "$withval" = sys; then
3632 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3633 elif test "$withval" = builtin; then
3634 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3636 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3637 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3638 { (exit 1); exit 1; }; }
3643 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3644 if test "x$LINE" != x ; then
3645 eval "DEFAULT_$LINE"
3650 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3655 eval "$wx_cv_use_libjpeg"
3656 if test "$no_cache" != 1; then
3657 echo $wx_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3660 if test "$wxUSE_LIBJPEG" = yes; then
3661 { echo "$as_me:$LINENO: result: yes" >&5
3662 echo "${ECHO_T}yes" >&6; }
3663 elif test "$wxUSE_LIBJPEG" = no; then
3664 { echo "$as_me:$LINENO: result: no" >&5
3665 echo "${ECHO_T}no" >&6; }
3666 elif test "$wxUSE_LIBJPEG" = sys; then
3667 { echo "$as_me:$LINENO: result: system version" >&5
3668 echo "${ECHO_T}system version" >&6; }
3669 elif test "$wxUSE_LIBJPEG" = builtin; then
3670 { echo "$as_me:$LINENO: result: builtin version" >&5
3671 echo "${ECHO_T}builtin version" >&6; }
3673 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3674 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3675 { (exit 1); exit 1; }; }
3679 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3680 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3683 # Check whether --with-libtiff was given.
3684 if test "${with_libtiff+set}" = set; then
3685 withval=$with_libtiff;
3686 if test "$withval" = yes; then
3687 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3688 elif test "$withval" = no; then
3689 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3690 elif test "$withval" = sys; then
3691 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3692 elif test "$withval" = builtin; then
3693 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3695 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3696 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3697 { (exit 1); exit 1; }; }
3702 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3703 if test "x$LINE" != x ; then
3704 eval "DEFAULT_$LINE"
3709 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3714 eval "$wx_cv_use_libtiff"
3715 if test "$no_cache" != 1; then
3716 echo $wx_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3719 if test "$wxUSE_LIBTIFF" = yes; then
3720 { echo "$as_me:$LINENO: result: yes" >&5
3721 echo "${ECHO_T}yes" >&6; }
3722 elif test "$wxUSE_LIBTIFF" = no; then
3723 { echo "$as_me:$LINENO: result: no" >&5
3724 echo "${ECHO_T}no" >&6; }
3725 elif test "$wxUSE_LIBTIFF" = sys; then
3726 { echo "$as_me:$LINENO: result: system version" >&5
3727 echo "${ECHO_T}system version" >&6; }
3728 elif test "$wxUSE_LIBTIFF" = builtin; then
3729 { echo "$as_me:$LINENO: result: builtin version" >&5
3730 echo "${ECHO_T}builtin version" >&6; }
3732 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3733 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3734 { (exit 1); exit 1; }; }
3738 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3739 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3742 # Check whether --with-libxpm was given.
3743 if test "${with_libxpm+set}" = set; then
3744 withval=$with_libxpm;
3745 if test "$withval" = yes; then
3746 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3747 elif test "$withval" = no; then
3748 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3749 elif test "$withval" = sys; then
3750 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3751 elif test "$withval" = builtin; then
3752 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3754 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3755 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3756 { (exit 1); exit 1; }; }
3761 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3762 if test "x$LINE" != x ; then
3763 eval "DEFAULT_$LINE"
3768 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3773 eval "$wx_cv_use_libxpm"
3774 if test "$no_cache" != 1; then
3775 echo $wx_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3778 if test "$wxUSE_LIBXPM" = yes; then
3779 { echo "$as_me:$LINENO: result: yes" >&5
3780 echo "${ECHO_T}yes" >&6; }
3781 elif test "$wxUSE_LIBXPM" = no; then
3782 { echo "$as_me:$LINENO: result: no" >&5
3783 echo "${ECHO_T}no" >&6; }
3784 elif test "$wxUSE_LIBXPM" = sys; then
3785 { echo "$as_me:$LINENO: result: system version" >&5
3786 echo "${ECHO_T}system version" >&6; }
3787 elif test "$wxUSE_LIBXPM" = builtin; then
3788 { echo "$as_me:$LINENO: result: builtin version" >&5
3789 echo "${ECHO_T}builtin version" >&6; }
3791 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3792 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3793 { (exit 1); exit 1; }; }
3798 defaultval=$wxUSE_ALL_FEATURES
3799 if test -z "$defaultval"; then
3800 if test x"$withstring" = xwithout; then
3806 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3807 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3810 # Check whether --with-libmspack was given.
3811 if test "${with_libmspack+set}" = set; then
3812 withval=$with_libmspack;
3813 if test "$withval" = yes; then
3814 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3816 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3821 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3822 if test "x$LINE" != x ; then
3823 eval "DEFAULT_$LINE"
3828 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3833 eval "$wx_cv_use_libmspack"
3834 if test "$no_cache" != 1; then
3835 echo $wx_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3838 if test x"$withstring" = xwithout; then
3839 if test $wxUSE_LIBMSPACK = yes; then
3845 result=$wxUSE_LIBMSPACK
3848 { echo "$as_me:$LINENO: result: $result" >&5
3849 echo "${ECHO_T}$result" >&6; }
3853 defaultval=$wxUSE_ALL_FEATURES
3854 if test -z "$defaultval"; then
3855 if test x"$withstring" = xwithout; then
3861 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3862 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3865 # Check whether --with-gnomeprint was given.
3866 if test "${with_gnomeprint+set}" = set; then
3867 withval=$with_gnomeprint;
3868 if test "$withval" = yes; then
3869 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3871 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3876 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3877 if test "x$LINE" != x ; then
3878 eval "DEFAULT_$LINE"
3883 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3888 eval "$wx_cv_use_gnomeprint"
3889 if test "$no_cache" != 1; then
3890 echo $wx_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3893 if test x"$withstring" = xwithout; then
3894 if test $wxUSE_LIBGNOMEPRINT = yes; then
3900 result=$wxUSE_LIBGNOMEPRINT
3903 { echo "$as_me:$LINENO: result: $result" >&5
3904 echo "${ECHO_T}$result" >&6; }
3908 defaultval=$wxUSE_ALL_FEATURES
3909 if test -z "$defaultval"; then
3910 if test x"$withstring" = xwithout; then
3916 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3917 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3920 # Check whether --with-gnomevfs was given.
3921 if test "${with_gnomevfs+set}" = set; then
3922 withval=$with_gnomevfs;
3923 if test "$withval" = yes; then
3924 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3926 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3931 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3932 if test "x$LINE" != x ; then
3933 eval "DEFAULT_$LINE"
3938 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3943 eval "$wx_cv_use_gnomevfs"
3944 if test "$no_cache" != 1; then
3945 echo $wx_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3948 if test x"$withstring" = xwithout; then
3949 if test $wxUSE_LIBGNOMEVFS = yes; then
3955 result=$wxUSE_LIBGNOMEVFS
3958 { echo "$as_me:$LINENO: result: $result" >&5
3959 echo "${ECHO_T}$result" >&6; }
3963 defaultval=$wxUSE_ALL_FEATURES
3964 if test -z "$defaultval"; then
3965 if test x"$withstring" = xwithout; then
3971 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3972 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3975 # Check whether --with-hildon was given.
3976 if test "${with_hildon+set}" = set; then
3977 withval=$with_hildon;
3978 if test "$withval" = yes; then
3979 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3981 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3986 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3987 if test "x$LINE" != x ; then
3988 eval "DEFAULT_$LINE"
3993 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3998 eval "$wx_cv_use_hildon"
3999 if test "$no_cache" != 1; then
4000 echo $wx_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4003 if test x"$withstring" = xwithout; then
4004 if test $wxUSE_LIBHILDON = yes; then
4010 result=$wxUSE_LIBHILDON
4013 { echo "$as_me:$LINENO: result: $result" >&5
4014 echo "${ECHO_T}$result" >&6; }
4018 defaultval=$wxUSE_ALL_FEATURES
4019 if test -z "$defaultval"; then
4020 if test x"$withstring" = xwithout; then
4026 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4027 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4030 # Check whether --with-opengl was given.
4031 if test "${with_opengl+set}" = set; then
4032 withval=$with_opengl;
4033 if test "$withval" = yes; then
4034 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4036 wx_cv_use_opengl='wxUSE_OPENGL=no'
4041 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4042 if test "x$LINE" != x ; then
4043 eval "DEFAULT_$LINE"
4048 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4053 eval "$wx_cv_use_opengl"
4054 if test "$no_cache" != 1; then
4055 echo $wx_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4058 if test x"$withstring" = xwithout; then
4059 if test $wxUSE_OPENGL = yes; then
4065 result=$wxUSE_OPENGL
4068 { echo "$as_me:$LINENO: result: $result" >&5
4069 echo "${ECHO_T}$result" >&6; }
4076 defaultval=$wxUSE_ALL_FEATURES
4077 if test -z "$defaultval"; then
4078 if test x"$withstring" = xwithout; then
4084 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4085 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4088 # Check whether --with-dmalloc was given.
4089 if test "${with_dmalloc+set}" = set; then
4090 withval=$with_dmalloc;
4091 if test "$withval" = yes; then
4092 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4094 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4099 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4100 if test "x$LINE" != x ; then
4101 eval "DEFAULT_$LINE"
4106 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4111 eval "$wx_cv_use_dmalloc"
4112 if test "$no_cache" != 1; then
4113 echo $wx_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4116 if test x"$withstring" = xwithout; then
4117 if test $wxUSE_DMALLOC = yes; then
4123 result=$wxUSE_DMALLOC
4126 { echo "$as_me:$LINENO: result: $result" >&5
4127 echo "${ECHO_T}$result" >&6; }
4131 defaultval=$wxUSE_ALL_FEATURES
4132 if test -z "$defaultval"; then
4133 if test x"$withstring" = xwithout; then
4139 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4140 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4143 # Check whether --with-sdl was given.
4144 if test "${with_sdl+set}" = set; then
4146 if test "$withval" = yes; then
4147 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4149 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4154 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4155 if test "x$LINE" != x ; then
4156 eval "DEFAULT_$LINE"
4161 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4166 eval "$wx_cv_use_sdl"
4167 if test "$no_cache" != 1; then
4168 echo $wx_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4171 if test x"$withstring" = xwithout; then
4172 if test $wxUSE_LIBSDL = yes; then
4178 result=$wxUSE_LIBSDL
4181 { echo "$as_me:$LINENO: result: $result" >&5
4182 echo "${ECHO_T}$result" >&6; }
4185 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4186 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4189 # Check whether --with-regex was given.
4190 if test "${with_regex+set}" = set; then
4191 withval=$with_regex;
4192 if test "$withval" = yes; then
4193 wx_cv_use_regex='wxUSE_REGEX=yes'
4194 elif test "$withval" = no; then
4195 wx_cv_use_regex='wxUSE_REGEX=no'
4196 elif test "$withval" = sys; then
4197 wx_cv_use_regex='wxUSE_REGEX=sys'
4198 elif test "$withval" = builtin; then
4199 wx_cv_use_regex='wxUSE_REGEX=builtin'
4201 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4202 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4203 { (exit 1); exit 1; }; }
4208 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4209 if test "x$LINE" != x ; then
4210 eval "DEFAULT_$LINE"
4215 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4220 eval "$wx_cv_use_regex"
4221 if test "$no_cache" != 1; then
4222 echo $wx_cv_use_regex >> ${wx_arg_cache_file}.tmp
4225 if test "$wxUSE_REGEX" = yes; then
4226 { echo "$as_me:$LINENO: result: yes" >&5
4227 echo "${ECHO_T}yes" >&6; }
4228 elif test "$wxUSE_REGEX" = no; then
4229 { echo "$as_me:$LINENO: result: no" >&5
4230 echo "${ECHO_T}no" >&6; }
4231 elif test "$wxUSE_REGEX" = sys; then
4232 { echo "$as_me:$LINENO: result: system version" >&5
4233 echo "${ECHO_T}system version" >&6; }
4234 elif test "$wxUSE_REGEX" = builtin; then
4235 { echo "$as_me:$LINENO: result: builtin version" >&5
4236 echo "${ECHO_T}builtin version" >&6; }
4238 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4239 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4240 { (exit 1); exit 1; }; }
4244 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4245 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4248 # Check whether --with-zlib was given.
4249 if test "${with_zlib+set}" = set; then
4251 if test "$withval" = yes; then
4252 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4253 elif test "$withval" = no; then
4254 wx_cv_use_zlib='wxUSE_ZLIB=no'
4255 elif test "$withval" = sys; then
4256 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4257 elif test "$withval" = builtin; then
4258 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4260 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4261 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4262 { (exit 1); exit 1; }; }
4267 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4268 if test "x$LINE" != x ; then
4269 eval "DEFAULT_$LINE"
4274 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4279 eval "$wx_cv_use_zlib"
4280 if test "$no_cache" != 1; then
4281 echo $wx_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4284 if test "$wxUSE_ZLIB" = yes; then
4285 { echo "$as_me:$LINENO: result: yes" >&5
4286 echo "${ECHO_T}yes" >&6; }
4287 elif test "$wxUSE_ZLIB" = no; then
4288 { echo "$as_me:$LINENO: result: no" >&5
4289 echo "${ECHO_T}no" >&6; }
4290 elif test "$wxUSE_ZLIB" = sys; then
4291 { echo "$as_me:$LINENO: result: system version" >&5
4292 echo "${ECHO_T}system version" >&6; }
4293 elif test "$wxUSE_ZLIB" = builtin; then
4294 { echo "$as_me:$LINENO: result: builtin version" >&5
4295 echo "${ECHO_T}builtin version" >&6; }
4297 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4298 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4299 { (exit 1); exit 1; }; }
4303 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4304 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4307 # Check whether --with-odbc was given.
4308 if test "${with_odbc+set}" = set; then
4310 if test "$withval" = yes; then
4311 wx_cv_use_odbc='wxUSE_ODBC=yes'
4312 elif test "$withval" = no; then
4313 wx_cv_use_odbc='wxUSE_ODBC=no'
4314 elif test "$withval" = sys; then
4315 wx_cv_use_odbc='wxUSE_ODBC=sys'
4316 elif test "$withval" = builtin; then
4317 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4319 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4320 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4321 { (exit 1); exit 1; }; }
4326 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4327 if test "x$LINE" != x ; then
4328 eval "DEFAULT_$LINE"
4333 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4338 eval "$wx_cv_use_odbc"
4339 if test "$no_cache" != 1; then
4340 echo $wx_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4343 if test "$wxUSE_ODBC" = yes; then
4344 { echo "$as_me:$LINENO: result: yes" >&5
4345 echo "${ECHO_T}yes" >&6; }
4346 elif test "$wxUSE_ODBC" = no; then
4347 { echo "$as_me:$LINENO: result: no" >&5
4348 echo "${ECHO_T}no" >&6; }
4349 elif test "$wxUSE_ODBC" = sys; then
4350 { echo "$as_me:$LINENO: result: system version" >&5
4351 echo "${ECHO_T}system version" >&6; }
4352 elif test "$wxUSE_ODBC" = builtin; then
4353 { echo "$as_me:$LINENO: result: builtin version" >&5
4354 echo "${ECHO_T}builtin version" >&6; }
4356 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4357 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4358 { (exit 1); exit 1; }; }
4362 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4363 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4366 # Check whether --with-expat was given.
4367 if test "${with_expat+set}" = set; then
4368 withval=$with_expat;
4369 if test "$withval" = yes; then
4370 wx_cv_use_expat='wxUSE_EXPAT=yes'
4371 elif test "$withval" = no; then
4372 wx_cv_use_expat='wxUSE_EXPAT=no'
4373 elif test "$withval" = sys; then
4374 wx_cv_use_expat='wxUSE_EXPAT=sys'
4375 elif test "$withval" = builtin; then
4376 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4378 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4379 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4380 { (exit 1); exit 1; }; }
4385 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4386 if test "x$LINE" != x ; then
4387 eval "DEFAULT_$LINE"
4392 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4397 eval "$wx_cv_use_expat"
4398 if test "$no_cache" != 1; then
4399 echo $wx_cv_use_expat >> ${wx_arg_cache_file}.tmp
4402 if test "$wxUSE_EXPAT" = yes; then
4403 { echo "$as_me:$LINENO: result: yes" >&5
4404 echo "${ECHO_T}yes" >&6; }
4405 elif test "$wxUSE_EXPAT" = no; then
4406 { echo "$as_me:$LINENO: result: no" >&5
4407 echo "${ECHO_T}no" >&6; }
4408 elif test "$wxUSE_EXPAT" = sys; then
4409 { echo "$as_me:$LINENO: result: system version" >&5
4410 echo "${ECHO_T}system version" >&6; }
4411 elif test "$wxUSE_EXPAT" = builtin; then
4412 { echo "$as_me:$LINENO: result: builtin version" >&5
4413 echo "${ECHO_T}builtin version" >&6; }
4415 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4416 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4417 { (exit 1); exit 1; }; }
4423 enablestring=disable
4425 if test -z "$defaultval"; then
4426 if test x"$enablestring" = xdisable; then
4433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4434 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4436 # Check whether --enable-shared was given.
4437 if test "${enable_shared+set}" = set; then
4438 enableval=$enable_shared;
4439 if test "$enableval" = yes; then
4440 wx_cv_use_shared='wxUSE_SHARED=yes'
4442 wx_cv_use_shared='wxUSE_SHARED=no'
4447 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4448 if test "x$LINE" != x ; then
4449 eval "DEFAULT_$LINE"
4454 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4459 eval "$wx_cv_use_shared"
4460 if test "$no_cache" != 1; then
4461 echo $wx_cv_use_shared >> ${wx_arg_cache_file}.tmp
4464 if test x"$enablestring" = xdisable; then
4465 if test $wxUSE_SHARED = yes; then
4471 result=$wxUSE_SHARED
4474 { echo "$as_me:$LINENO: result: $result" >&5
4475 echo "${ECHO_T}$result" >&6; }
4478 enablestring=disable
4480 if test -z "$defaultval"; then
4481 if test x"$enablestring" = xdisable; then
4488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4489 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4491 # Check whether --enable-optimise was given.
4492 if test "${enable_optimise+set}" = set; then
4493 enableval=$enable_optimise;
4494 if test "$enableval" = yes; then
4495 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4497 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4502 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4503 if test "x$LINE" != x ; then
4504 eval "DEFAULT_$LINE"
4509 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4514 eval "$wx_cv_use_optimise"
4515 if test "$no_cache" != 1; then
4516 echo $wx_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4519 if test x"$enablestring" = xdisable; then
4520 if test $wxUSE_OPTIMISE = yes; then
4526 result=$wxUSE_OPTIMISE
4529 { echo "$as_me:$LINENO: result: $result" >&5
4530 echo "${ECHO_T}$result" >&6; }
4535 if test -z "$defaultval"; then
4536 if test x"$enablestring" = xdisable; then
4543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4544 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4546 # Check whether --enable-debug was given.
4547 if test "${enable_debug+set}" = set; then
4548 enableval=$enable_debug;
4549 if test "$enableval" = yes; then
4550 wx_cv_use_debug='wxUSE_DEBUG=yes'
4552 wx_cv_use_debug='wxUSE_DEBUG=no'
4557 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4558 if test "x$LINE" != x ; then
4559 eval "DEFAULT_$LINE"
4564 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4569 eval "$wx_cv_use_debug"
4570 if test "$no_cache" != 1; then
4571 echo $wx_cv_use_debug >> ${wx_arg_cache_file}.tmp
4574 if test x"$enablestring" = xdisable; then
4575 if test $wxUSE_DEBUG = yes; then
4584 { echo "$as_me:$LINENO: result: $result" >&5
4585 echo "${ECHO_T}$result" >&6; }
4590 if test -z "$defaultval"; then
4591 if test x"$enablestring" = xdisable; then
4598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4599 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4601 # Check whether --enable-stl was given.
4602 if test "${enable_stl+set}" = set; then
4603 enableval=$enable_stl;
4604 if test "$enableval" = yes; then
4605 wx_cv_use_stl='wxUSE_STL=yes'
4607 wx_cv_use_stl='wxUSE_STL=no'
4612 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4613 if test "x$LINE" != x ; then
4614 eval "DEFAULT_$LINE"
4619 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4624 eval "$wx_cv_use_stl"
4625 if test "$no_cache" != 1; then
4626 echo $wx_cv_use_stl >> ${wx_arg_cache_file}.tmp
4629 if test x"$enablestring" = xdisable; then
4630 if test $wxUSE_STL = yes; then
4639 { echo "$as_me:$LINENO: result: $result" >&5
4640 echo "${ECHO_T}$result" >&6; }
4645 if test -z "$defaultval"; then
4646 if test x"$enablestring" = xdisable; then
4653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4654 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4656 # Check whether --enable-std_iostreams was given.
4657 if test "${enable_std_iostreams+set}" = set; then
4658 enableval=$enable_std_iostreams;
4659 if test "$enableval" = yes; then
4660 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4662 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4667 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4668 if test "x$LINE" != x ; then
4669 eval "DEFAULT_$LINE"
4674 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4679 eval "$wx_cv_use_std_iostreams"
4680 if test "$no_cache" != 1; then
4681 echo $wx_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4684 if test x"$enablestring" = xdisable; then
4685 if test $wxUSE_STD_IOSTREAM = yes; then
4691 result=$wxUSE_STD_IOSTREAM
4694 { echo "$as_me:$LINENO: result: $result" >&5
4695 echo "${ECHO_T}$result" >&6; }
4700 if test -z "$defaultval"; then
4701 if test x"$enablestring" = xdisable; then
4708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4709 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4711 # Check whether --enable-std_string was given.
4712 if test "${enable_std_string+set}" = set; then
4713 enableval=$enable_std_string;
4714 if test "$enableval" = yes; then
4715 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4717 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4722 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4723 if test "x$LINE" != x ; then
4724 eval "DEFAULT_$LINE"
4729 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4734 eval "$wx_cv_use_std_string"
4735 if test "$no_cache" != 1; then
4736 echo $wx_cv_use_std_string >> ${wx_arg_cache_file}.tmp
4739 if test x"$enablestring" = xdisable; then
4740 if test $wxUSE_STD_STRING = yes; then
4746 result=$wxUSE_STD_STRING
4749 { echo "$as_me:$LINENO: result: $result" >&5
4750 echo "${ECHO_T}$result" >&6; }
4753 enablestring=disable
4755 if test -z "$defaultval"; then
4756 if test x"$enablestring" = xdisable; then
4763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4764 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4766 # Check whether --enable-unicode was given.
4767 if test "${enable_unicode+set}" = set; then
4768 enableval=$enable_unicode;
4769 if test "$enableval" = yes; then
4770 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4772 wx_cv_use_unicode='wxUSE_UNICODE=no'
4777 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4778 if test "x$LINE" != x ; then
4779 eval "DEFAULT_$LINE"
4784 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4789 eval "$wx_cv_use_unicode"
4790 if test "$no_cache" != 1; then
4791 echo $wx_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4794 if test x"$enablestring" = xdisable; then
4795 if test $wxUSE_UNICODE = yes; then
4801 result=$wxUSE_UNICODE
4804 { echo "$as_me:$LINENO: result: $result" >&5
4805 echo "${ECHO_T}$result" >&6; }
4810 if test -z "$defaultval"; then
4811 if test x"$enablestring" = xdisable; then
4818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4819 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4821 # Check whether --enable-mslu was given.
4822 if test "${enable_mslu+set}" = set; then
4823 enableval=$enable_mslu;
4824 if test "$enableval" = yes; then
4825 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4827 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4832 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4833 if test "x$LINE" != x ; then
4834 eval "DEFAULT_$LINE"
4839 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4844 eval "$wx_cv_use_mslu"
4845 if test "$no_cache" != 1; then
4846 echo $wx_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4849 if test x"$enablestring" = xdisable; then
4850 if test $wxUSE_UNICODE_MSLU = yes; then
4856 result=$wxUSE_UNICODE_MSLU
4859 { echo "$as_me:$LINENO: result: $result" >&5
4860 echo "${ECHO_T}$result" >&6; }
4864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4865 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4867 # Check whether --enable-utf8 was given.
4868 if test "${enable_utf8+set}" = set; then
4869 enableval=$enable_utf8;
4870 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4874 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4875 if test "x$LINE" != x ; then
4876 eval "DEFAULT_$LINE"
4881 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4886 eval "$wx_cv_use_utf8"
4887 if test "$no_cache" != 1; then
4888 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
4891 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4892 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4897 if test -z "$defaultval"; then
4898 if test x"$enablestring" = xdisable; then
4905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4906 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4908 # Check whether --enable-utf8only was given.
4909 if test "${enable_utf8only+set}" = set; then
4910 enableval=$enable_utf8only;
4911 if test "$enableval" = yes; then
4912 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4914 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4919 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4920 if test "x$LINE" != x ; then
4921 eval "DEFAULT_$LINE"
4926 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4931 eval "$wx_cv_use_utf8only"
4932 if test "$no_cache" != 1; then
4933 echo $wx_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
4936 if test x"$enablestring" = xdisable; then
4937 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4943 result=$wxUSE_UNICODE_UTF8_LOCALE
4946 { echo "$as_me:$LINENO: result: $result" >&5
4947 echo "${ECHO_T}$result" >&6; }
4952 if test -z "$defaultval"; then
4953 if test x"$enablestring" = xdisable; then
4960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4961 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4963 # Check whether --enable-extended_rtti was given.
4964 if test "${enable_extended_rtti+set}" = set; then
4965 enableval=$enable_extended_rtti;
4966 if test "$enableval" = yes; then
4967 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4969 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4974 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4975 if test "x$LINE" != x ; then
4976 eval "DEFAULT_$LINE"
4981 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4986 eval "$wx_cv_use_extended_rtti"
4987 if test "$no_cache" != 1; then
4988 echo $wx_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4991 if test x"$enablestring" = xdisable; then
4992 if test $wxUSE_EXTENDED_RTTI = yes; then
4998 result=$wxUSE_EXTENDED_RTTI
5001 { echo "$as_me:$LINENO: result: $result" >&5
5002 echo "${ECHO_T}$result" >&6; }
5004 if test "$USE_OS2" = "1"; then
5005 DEFAULT_wxUSE_OMF=no
5009 if test -z "$defaultval"; then
5010 if test x"$enablestring" = xdisable; then
5017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5018 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5020 # Check whether --enable-omf was given.
5021 if test "${enable_omf+set}" = set; then
5022 enableval=$enable_omf;
5023 if test "$enableval" = yes; then
5024 wx_cv_use_omf='wxUSE_OMF=yes'
5026 wx_cv_use_omf='wxUSE_OMF=no'
5031 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5032 if test "x$LINE" != x ; then
5033 eval "DEFAULT_$LINE"
5038 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5043 eval "$wx_cv_use_omf"
5044 if test "$no_cache" != 1; then
5045 echo $wx_cv_use_omf >> ${wx_arg_cache_file}.tmp
5048 if test x"$enablestring" = xdisable; then
5049 if test $wxUSE_OMF = yes; then
5058 { echo "$as_me:$LINENO: result: $result" >&5
5059 echo "${ECHO_T}$result" >&6; }
5063 if test "$wxUSE_DEBUG" = "yes"; then
5064 DEFAULT_wxUSE_DEBUG_FLAG=yes
5065 DEFAULT_wxUSE_DEBUG_INFO=yes
5067 elif test "$wxUSE_DEBUG" = "no"; then
5068 DEFAULT_wxUSE_DEBUG_FLAG=no
5069 DEFAULT_wxUSE_DEBUG_INFO=no
5076 if test -z "$defaultval"; then
5077 if test x"$enablestring" = xdisable; then
5084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5085 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5087 # Check whether --enable-debug_flag was given.
5088 if test "${enable_debug_flag+set}" = set; then
5089 enableval=$enable_debug_flag;
5090 if test "$enableval" = yes; then
5091 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5093 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5098 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5099 if test "x$LINE" != x ; then
5100 eval "DEFAULT_$LINE"
5105 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5110 eval "$wx_cv_use_debug_flag"
5111 if test "$no_cache" != 1; then
5112 echo $wx_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
5115 if test x"$enablestring" = xdisable; then
5116 if test $wxUSE_DEBUG_FLAG = yes; then
5122 result=$wxUSE_DEBUG_FLAG
5125 { echo "$as_me:$LINENO: result: $result" >&5
5126 echo "${ECHO_T}$result" >&6; }
5131 if test -z "$defaultval"; then
5132 if test x"$enablestring" = xdisable; then
5139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5140 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5142 # Check whether --enable-debug_info was given.
5143 if test "${enable_debug_info+set}" = set; then
5144 enableval=$enable_debug_info;
5145 if test "$enableval" = yes; then
5146 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5148 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5153 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5154 if test "x$LINE" != x ; then
5155 eval "DEFAULT_$LINE"
5160 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5165 eval "$wx_cv_use_debug_info"
5166 if test "$no_cache" != 1; then
5167 echo $wx_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
5170 if test x"$enablestring" = xdisable; then
5171 if test $wxUSE_DEBUG_INFO = yes; then
5177 result=$wxUSE_DEBUG_INFO
5180 { echo "$as_me:$LINENO: result: $result" >&5
5181 echo "${ECHO_T}$result" >&6; }
5186 if test -z "$defaultval"; then
5187 if test x"$enablestring" = xdisable; then
5194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5195 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5197 # Check whether --enable-debug_gdb was given.
5198 if test "${enable_debug_gdb+set}" = set; then
5199 enableval=$enable_debug_gdb;
5200 if test "$enableval" = yes; then
5201 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5203 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5208 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5209 if test "x$LINE" != x ; then
5210 eval "DEFAULT_$LINE"
5215 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5220 eval "$wx_cv_use_debug_gdb"
5221 if test "$no_cache" != 1; then
5222 echo $wx_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
5225 if test x"$enablestring" = xdisable; then
5226 if test $wxUSE_DEBUG_GDB = yes; then
5232 result=$wxUSE_DEBUG_GDB
5235 { echo "$as_me:$LINENO: result: $result" >&5
5236 echo "${ECHO_T}$result" >&6; }
5241 if test -z "$defaultval"; then
5242 if test x"$enablestring" = xdisable; then
5249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5250 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5252 # Check whether --enable-debug_cntxt was given.
5253 if test "${enable_debug_cntxt+set}" = set; then
5254 enableval=$enable_debug_cntxt;
5255 if test "$enableval" = yes; then
5256 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5258 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5263 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5264 if test "x$LINE" != x ; then
5265 eval "DEFAULT_$LINE"
5270 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5275 eval "$wx_cv_use_debug_cntxt"
5276 if test "$no_cache" != 1; then
5277 echo $wx_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
5280 if test x"$enablestring" = xdisable; then
5281 if test $wxUSE_DEBUG_CONTEXT = yes; then
5287 result=$wxUSE_DEBUG_CONTEXT
5290 { echo "$as_me:$LINENO: result: $result" >&5
5291 echo "${ECHO_T}$result" >&6; }
5296 if test -z "$defaultval"; then
5297 if test x"$enablestring" = xdisable; then
5304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5305 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5307 # Check whether --enable-mem_tracing was given.
5308 if test "${enable_mem_tracing+set}" = set; then
5309 enableval=$enable_mem_tracing;
5310 if test "$enableval" = yes; then
5311 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5313 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5318 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5319 if test "x$LINE" != x ; then
5320 eval "DEFAULT_$LINE"
5325 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5330 eval "$wx_cv_use_mem_tracing"
5331 if test "$no_cache" != 1; then
5332 echo $wx_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
5335 if test x"$enablestring" = xdisable; then
5336 if test $wxUSE_MEM_TRACING = yes; then
5342 result=$wxUSE_MEM_TRACING
5345 { echo "$as_me:$LINENO: result: $result" >&5
5346 echo "${ECHO_T}$result" >&6; }
5351 if test -z "$defaultval"; then
5352 if test x"$enablestring" = xdisable; then
5359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5360 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5362 # Check whether --enable-profile was given.
5363 if test "${enable_profile+set}" = set; then
5364 enableval=$enable_profile;
5365 if test "$enableval" = yes; then
5366 wx_cv_use_profile='wxUSE_PROFILE=yes'
5368 wx_cv_use_profile='wxUSE_PROFILE=no'
5373 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5374 if test "x$LINE" != x ; then
5375 eval "DEFAULT_$LINE"
5380 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5385 eval "$wx_cv_use_profile"
5386 if test "$no_cache" != 1; then
5387 echo $wx_cv_use_profile >> ${wx_arg_cache_file}.tmp
5390 if test x"$enablestring" = xdisable; then
5391 if test $wxUSE_PROFILE = yes; then
5397 result=$wxUSE_PROFILE
5400 { echo "$as_me:$LINENO: result: $result" >&5
5401 echo "${ECHO_T}$result" >&6; }
5406 if test -z "$defaultval"; then
5407 if test x"$enablestring" = xdisable; then
5414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5415 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5417 # Check whether --enable-no_rtti was given.
5418 if test "${enable_no_rtti+set}" = set; then
5419 enableval=$enable_no_rtti;
5420 if test "$enableval" = yes; then
5421 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5423 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5428 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5429 if test "x$LINE" != x ; then
5430 eval "DEFAULT_$LINE"
5435 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5440 eval "$wx_cv_use_no_rtti"
5441 if test "$no_cache" != 1; then
5442 echo $wx_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5445 if test x"$enablestring" = xdisable; then
5446 if test $wxUSE_NO_RTTI = yes; then
5452 result=$wxUSE_NO_RTTI
5455 { echo "$as_me:$LINENO: result: $result" >&5
5456 echo "${ECHO_T}$result" >&6; }
5461 if test -z "$defaultval"; then
5462 if test x"$enablestring" = xdisable; then
5469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5470 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5472 # Check whether --enable-no_exceptions was given.
5473 if test "${enable_no_exceptions+set}" = set; then
5474 enableval=$enable_no_exceptions;
5475 if test "$enableval" = yes; then
5476 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5478 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5483 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5484 if test "x$LINE" != x ; then
5485 eval "DEFAULT_$LINE"
5490 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5495 eval "$wx_cv_use_no_exceptions"
5496 if test "$no_cache" != 1; then
5497 echo $wx_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5500 if test x"$enablestring" = xdisable; then
5501 if test $wxUSE_NO_EXCEPTIONS = yes; then
5507 result=$wxUSE_NO_EXCEPTIONS
5510 { echo "$as_me:$LINENO: result: $result" >&5
5511 echo "${ECHO_T}$result" >&6; }
5516 if test -z "$defaultval"; then
5517 if test x"$enablestring" = xdisable; then
5524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5525 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5527 # Check whether --enable-permissive was given.
5528 if test "${enable_permissive+set}" = set; then
5529 enableval=$enable_permissive;
5530 if test "$enableval" = yes; then
5531 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5533 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5538 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5539 if test "x$LINE" != x ; then
5540 eval "DEFAULT_$LINE"
5545 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5550 eval "$wx_cv_use_permissive"
5551 if test "$no_cache" != 1; then
5552 echo $wx_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5555 if test x"$enablestring" = xdisable; then
5556 if test $wxUSE_PERMISSIVE = yes; then
5562 result=$wxUSE_PERMISSIVE
5565 { echo "$as_me:$LINENO: result: $result" >&5
5566 echo "${ECHO_T}$result" >&6; }
5571 if test -z "$defaultval"; then
5572 if test x"$enablestring" = xdisable; then
5579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5580 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5582 # Check whether --enable-no_deps was given.
5583 if test "${enable_no_deps+set}" = set; then
5584 enableval=$enable_no_deps;
5585 if test "$enableval" = yes; then
5586 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5588 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5593 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5594 if test "x$LINE" != x ; then
5595 eval "DEFAULT_$LINE"
5600 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5605 eval "$wx_cv_use_no_deps"
5606 if test "$no_cache" != 1; then
5607 echo $wx_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5610 if test x"$enablestring" = xdisable; then
5611 if test $wxUSE_NO_DEPS = yes; then
5617 result=$wxUSE_NO_DEPS
5620 { echo "$as_me:$LINENO: result: $result" >&5
5621 echo "${ECHO_T}$result" >&6; }
5624 enablestring=disable
5626 if test -z "$defaultval"; then
5627 if test x"$enablestring" = xdisable; then
5634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5635 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5637 # Check whether --enable-vararg_macros was given.
5638 if test "${enable_vararg_macros+set}" = set; then
5639 enableval=$enable_vararg_macros;
5640 if test "$enableval" = yes; then
5641 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5643 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5648 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5649 if test "x$LINE" != x ; then
5650 eval "DEFAULT_$LINE"
5655 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5660 eval "$wx_cv_use_vararg_macros"
5661 if test "$no_cache" != 1; then
5662 echo $wx_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5665 if test x"$enablestring" = xdisable; then
5666 if test $wxUSE_VARARG_MACROS = yes; then
5672 result=$wxUSE_VARARG_MACROS
5675 { echo "$as_me:$LINENO: result: $result" >&5
5676 echo "${ECHO_T}$result" >&6; }
5680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5681 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5683 # Check whether --enable-universal_binary was given.
5684 if test "${enable_universal_binary+set}" = set; then
5685 enableval=$enable_universal_binary;
5686 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5690 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5691 if test "x$LINE" != x ; then
5692 eval "DEFAULT_$LINE"
5697 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5702 eval "$wx_cv_use_universal_binary"
5703 if test "$no_cache" != 1; then
5704 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5707 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5708 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5714 if test -z "$defaultval"; then
5715 if test x"$enablestring" = xdisable; then
5722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5723 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5725 # Check whether --enable-compat26 was given.
5726 if test "${enable_compat26+set}" = set; then
5727 enableval=$enable_compat26;
5728 if test "$enableval" = yes; then
5729 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5731 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5736 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5737 if test "x$LINE" != x ; then
5738 eval "DEFAULT_$LINE"
5743 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5748 eval "$wx_cv_use_compat26"
5749 if test "$no_cache" != 1; then
5750 echo $wx_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5753 if test x"$enablestring" = xdisable; then
5754 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5760 result=$WXWIN_COMPATIBILITY_2_6
5763 { echo "$as_me:$LINENO: result: $result" >&5
5764 echo "${ECHO_T}$result" >&6; }
5767 enablestring=disable
5769 if test -z "$defaultval"; then
5770 if test x"$enablestring" = xdisable; then
5777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5778 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5780 # Check whether --enable-compat28 was given.
5781 if test "${enable_compat28+set}" = set; then
5782 enableval=$enable_compat28;
5783 if test "$enableval" = yes; then
5784 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5786 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5791 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5792 if test "x$LINE" != x ; then
5793 eval "DEFAULT_$LINE"
5798 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5803 eval "$wx_cv_use_compat28"
5804 if test "$no_cache" != 1; then
5805 echo $wx_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5808 if test x"$enablestring" = xdisable; then
5809 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5815 result=$WXWIN_COMPATIBILITY_2_8
5818 { echo "$as_me:$LINENO: result: $result" >&5
5819 echo "${ECHO_T}$result" >&6; }
5823 enablestring=disable
5825 if test -z "$defaultval"; then
5826 if test x"$enablestring" = xdisable; then
5833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5834 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5836 # Check whether --enable-rpath was given.
5837 if test "${enable_rpath+set}" = set; then
5838 enableval=$enable_rpath;
5839 if test "$enableval" = yes; then
5840 wx_cv_use_rpath='wxUSE_RPATH=yes'
5842 wx_cv_use_rpath='wxUSE_RPATH=no'
5847 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5848 if test "x$LINE" != x ; then
5849 eval "DEFAULT_$LINE"
5854 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5859 eval "$wx_cv_use_rpath"
5860 if test "$no_cache" != 1; then
5861 echo $wx_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5864 if test x"$enablestring" = xdisable; then
5865 if test $wxUSE_RPATH = yes; then
5874 { echo "$as_me:$LINENO: result: $result" >&5
5875 echo "${ECHO_T}$result" >&6; }
5881 if test -z "$defaultval"; then
5882 if test x"$enablestring" = xdisable; then
5889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5890 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5892 # Check whether --enable-objc_uniquifying was given.
5893 if test "${enable_objc_uniquifying+set}" = set; then
5894 enableval=$enable_objc_uniquifying;
5895 if test "$enableval" = yes; then
5896 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5898 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5903 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5904 if test "x$LINE" != x ; then
5905 eval "DEFAULT_$LINE"
5910 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5915 eval "$wx_cv_use_objc_uniquifying"
5916 if test "$no_cache" != 1; then
5917 echo $wx_cv_use_objc_uniquifying >> ${wx_arg_cache_file}.tmp
5920 if test x"$enablestring" = xdisable; then
5921 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5927 result=$wxUSE_OBJC_UNIQUIFYING
5930 { echo "$as_me:$LINENO: result: $result" >&5
5931 echo "${ECHO_T}$result" >&6; }
5935 enablestring=disable
5937 if test -z "$defaultval"; then
5938 if test x"$enablestring" = xdisable; then
5945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5946 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5948 # Check whether --enable-visibility was given.
5949 if test "${enable_visibility+set}" = set; then
5950 enableval=$enable_visibility;
5951 if test "$enableval" = yes; then
5952 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5954 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5959 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
5960 if test "x$LINE" != x ; then
5961 eval "DEFAULT_$LINE"
5966 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5971 eval "$wx_cv_use_visibility"
5972 if test "$no_cache" != 1; then
5973 echo $wx_cv_use_visibility >> ${wx_arg_cache_file}.tmp
5976 if test x"$enablestring" = xdisable; then
5977 if test $wxUSE_VISIBILITY = yes; then
5983 result=$wxUSE_VISIBILITY
5986 { echo "$as_me:$LINENO: result: $result" >&5
5987 echo "${ECHO_T}$result" >&6; }
5993 defaultval=$wxUSE_ALL_FEATURES
5994 if test -z "$defaultval"; then
5995 if test x"$enablestring" = xdisable; then
6002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6003 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6005 # Check whether --enable-intl was given.
6006 if test "${enable_intl+set}" = set; then
6007 enableval=$enable_intl;
6008 if test "$enableval" = yes; then
6009 wx_cv_use_intl='wxUSE_INTL=yes'
6011 wx_cv_use_intl='wxUSE_INTL=no'
6016 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6017 if test "x$LINE" != x ; then
6018 eval "DEFAULT_$LINE"
6023 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6028 eval "$wx_cv_use_intl"
6029 if test "$no_cache" != 1; then
6030 echo $wx_cv_use_intl >> ${wx_arg_cache_file}.tmp
6033 if test x"$enablestring" = xdisable; then
6034 if test $wxUSE_INTL = yes; then
6043 { echo "$as_me:$LINENO: result: $result" >&5
6044 echo "${ECHO_T}$result" >&6; }
6048 defaultval=$wxUSE_ALL_FEATURES
6049 if test -z "$defaultval"; then
6050 if test x"$enablestring" = xdisable; then
6057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6058 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6060 # Check whether --enable-config was given.
6061 if test "${enable_config+set}" = set; then
6062 enableval=$enable_config;
6063 if test "$enableval" = yes; then
6064 wx_cv_use_config='wxUSE_CONFIG=yes'
6066 wx_cv_use_config='wxUSE_CONFIG=no'
6071 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6072 if test "x$LINE" != x ; then
6073 eval "DEFAULT_$LINE"
6078 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6083 eval "$wx_cv_use_config"
6084 if test "$no_cache" != 1; then
6085 echo $wx_cv_use_config >> ${wx_arg_cache_file}.tmp
6088 if test x"$enablestring" = xdisable; then
6089 if test $wxUSE_CONFIG = yes; then
6095 result=$wxUSE_CONFIG
6098 { echo "$as_me:$LINENO: result: $result" >&5
6099 echo "${ECHO_T}$result" >&6; }
6104 defaultval=$wxUSE_ALL_FEATURES
6105 if test -z "$defaultval"; then
6106 if test x"$enablestring" = xdisable; then
6113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6114 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6116 # Check whether --enable-protocols was given.
6117 if test "${enable_protocols+set}" = set; then
6118 enableval=$enable_protocols;
6119 if test "$enableval" = yes; then
6120 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6122 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6127 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6128 if test "x$LINE" != x ; then
6129 eval "DEFAULT_$LINE"
6134 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6139 eval "$wx_cv_use_protocols"
6140 if test "$no_cache" != 1; then
6141 echo $wx_cv_use_protocols >> ${wx_arg_cache_file}.tmp
6144 if test x"$enablestring" = xdisable; then
6145 if test $wxUSE_PROTOCOL = yes; then
6151 result=$wxUSE_PROTOCOL
6154 { echo "$as_me:$LINENO: result: $result" >&5
6155 echo "${ECHO_T}$result" >&6; }
6159 defaultval=$wxUSE_ALL_FEATURES
6160 if test -z "$defaultval"; then
6161 if test x"$enablestring" = xdisable; then
6168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6169 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6171 # Check whether --enable-ftp was given.
6172 if test "${enable_ftp+set}" = set; then
6173 enableval=$enable_ftp;
6174 if test "$enableval" = yes; then
6175 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6177 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6182 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6183 if test "x$LINE" != x ; then
6184 eval "DEFAULT_$LINE"
6189 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6194 eval "$wx_cv_use_ftp"
6195 if test "$no_cache" != 1; then
6196 echo $wx_cv_use_ftp >> ${wx_arg_cache_file}.tmp
6199 if test x"$enablestring" = xdisable; then
6200 if test $wxUSE_PROTOCOL_FTP = yes; then
6206 result=$wxUSE_PROTOCOL_FTP
6209 { echo "$as_me:$LINENO: result: $result" >&5
6210 echo "${ECHO_T}$result" >&6; }
6214 defaultval=$wxUSE_ALL_FEATURES
6215 if test -z "$defaultval"; then
6216 if test x"$enablestring" = xdisable; then
6223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6224 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6226 # Check whether --enable-http was given.
6227 if test "${enable_http+set}" = set; then
6228 enableval=$enable_http;
6229 if test "$enableval" = yes; then
6230 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6232 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6237 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6238 if test "x$LINE" != x ; then
6239 eval "DEFAULT_$LINE"
6244 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6249 eval "$wx_cv_use_http"
6250 if test "$no_cache" != 1; then
6251 echo $wx_cv_use_http >> ${wx_arg_cache_file}.tmp
6254 if test x"$enablestring" = xdisable; then
6255 if test $wxUSE_PROTOCOL_HTTP = yes; then
6261 result=$wxUSE_PROTOCOL_HTTP
6264 { echo "$as_me:$LINENO: result: $result" >&5
6265 echo "${ECHO_T}$result" >&6; }
6269 defaultval=$wxUSE_ALL_FEATURES
6270 if test -z "$defaultval"; then
6271 if test x"$enablestring" = xdisable; then
6278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6279 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6281 # Check whether --enable-fileproto was given.
6282 if test "${enable_fileproto+set}" = set; then
6283 enableval=$enable_fileproto;
6284 if test "$enableval" = yes; then
6285 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6287 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6292 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6293 if test "x$LINE" != x ; then
6294 eval "DEFAULT_$LINE"
6299 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6304 eval "$wx_cv_use_fileproto"
6305 if test "$no_cache" != 1; then
6306 echo $wx_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
6309 if test x"$enablestring" = xdisable; then
6310 if test $wxUSE_PROTOCOL_FILE = yes; then
6316 result=$wxUSE_PROTOCOL_FILE
6319 { echo "$as_me:$LINENO: result: $result" >&5
6320 echo "${ECHO_T}$result" >&6; }
6324 defaultval=$wxUSE_ALL_FEATURES
6325 if test -z "$defaultval"; then
6326 if test x"$enablestring" = xdisable; then
6333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6334 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6336 # Check whether --enable-sockets was given.
6337 if test "${enable_sockets+set}" = set; then
6338 enableval=$enable_sockets;
6339 if test "$enableval" = yes; then
6340 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6342 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6347 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6348 if test "x$LINE" != x ; then
6349 eval "DEFAULT_$LINE"
6354 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6359 eval "$wx_cv_use_sockets"
6360 if test "$no_cache" != 1; then
6361 echo $wx_cv_use_sockets >> ${wx_arg_cache_file}.tmp
6364 if test x"$enablestring" = xdisable; then
6365 if test $wxUSE_SOCKETS = yes; then
6371 result=$wxUSE_SOCKETS
6374 { echo "$as_me:$LINENO: result: $result" >&5
6375 echo "${ECHO_T}$result" >&6; }
6379 defaultval=$wxUSE_ALL_FEATURES
6380 if test -z "$defaultval"; then
6381 if test x"$enablestring" = xdisable; then
6388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6389 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6391 # Check whether --enable-ole was given.
6392 if test "${enable_ole+set}" = set; then
6393 enableval=$enable_ole;
6394 if test "$enableval" = yes; then
6395 wx_cv_use_ole='wxUSE_OLE=yes'
6397 wx_cv_use_ole='wxUSE_OLE=no'
6402 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6403 if test "x$LINE" != x ; then
6404 eval "DEFAULT_$LINE"
6409 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6414 eval "$wx_cv_use_ole"
6415 if test "$no_cache" != 1; then
6416 echo $wx_cv_use_ole >> ${wx_arg_cache_file}.tmp
6419 if test x"$enablestring" = xdisable; then
6420 if test $wxUSE_OLE = yes; then
6429 { echo "$as_me:$LINENO: result: $result" >&5
6430 echo "${ECHO_T}$result" >&6; }
6434 defaultval=$wxUSE_ALL_FEATURES
6435 if test -z "$defaultval"; then
6436 if test x"$enablestring" = xdisable; then
6443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6444 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6446 # Check whether --enable-dataobj was given.
6447 if test "${enable_dataobj+set}" = set; then
6448 enableval=$enable_dataobj;
6449 if test "$enableval" = yes; then
6450 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6452 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6457 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6458 if test "x$LINE" != x ; then
6459 eval "DEFAULT_$LINE"
6464 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6469 eval "$wx_cv_use_dataobj"
6470 if test "$no_cache" != 1; then
6471 echo $wx_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
6474 if test x"$enablestring" = xdisable; then
6475 if test $wxUSE_DATAOBJ = yes; then
6481 result=$wxUSE_DATAOBJ
6484 { echo "$as_me:$LINENO: result: $result" >&5
6485 echo "${ECHO_T}$result" >&6; }
6490 defaultval=$wxUSE_ALL_FEATURES
6491 if test -z "$defaultval"; then
6492 if test x"$enablestring" = xdisable; then
6499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6500 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6502 # Check whether --enable-ipc was given.
6503 if test "${enable_ipc+set}" = set; then
6504 enableval=$enable_ipc;
6505 if test "$enableval" = yes; then
6506 wx_cv_use_ipc='wxUSE_IPC=yes'
6508 wx_cv_use_ipc='wxUSE_IPC=no'
6513 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6514 if test "x$LINE" != x ; then
6515 eval "DEFAULT_$LINE"
6520 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6525 eval "$wx_cv_use_ipc"
6526 if test "$no_cache" != 1; then
6527 echo $wx_cv_use_ipc >> ${wx_arg_cache_file}.tmp
6530 if test x"$enablestring" = xdisable; then
6531 if test $wxUSE_IPC = yes; then
6540 { echo "$as_me:$LINENO: result: $result" >&5
6541 echo "${ECHO_T}$result" >&6; }
6546 defaultval=$wxUSE_ALL_FEATURES
6547 if test -z "$defaultval"; then
6548 if test x"$enablestring" = xdisable; then
6555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6556 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6558 # Check whether --enable-baseevtloop was given.
6559 if test "${enable_baseevtloop+set}" = set; then
6560 enableval=$enable_baseevtloop;
6561 if test "$enableval" = yes; then
6562 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6564 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6569 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6570 if test "x$LINE" != x ; then
6571 eval "DEFAULT_$LINE"
6576 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6581 eval "$wx_cv_use_baseevtloop"
6582 if test "$no_cache" != 1; then
6583 echo $wx_cv_use_baseevtloop >> ${wx_arg_cache_file}.tmp
6586 if test x"$enablestring" = xdisable; then
6587 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6593 result=$wxUSE_CONSOLE_EVENTLOOP
6596 { echo "$as_me:$LINENO: result: $result" >&5
6597 echo "${ECHO_T}$result" >&6; }
6601 defaultval=$wxUSE_ALL_FEATURES
6602 if test -z "$defaultval"; then
6603 if test x"$enablestring" = xdisable; then
6610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6611 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6; }
6613 # Check whether --enable-epoolloop was given.
6614 if test "${enable_epoolloop+set}" = set; then
6615 enableval=$enable_epoolloop;
6616 if test "$enableval" = yes; then
6617 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6619 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6624 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6625 if test "x$LINE" != x ; then
6626 eval "DEFAULT_$LINE"
6631 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6636 eval "$wx_cv_use_epoolloop"
6637 if test "$no_cache" != 1; then
6638 echo $wx_cv_use_epoolloop >> ${wx_arg_cache_file}.tmp
6641 if test x"$enablestring" = xdisable; then
6642 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6648 result=$wxUSE_EPOLL_DISPATCHER
6651 { echo "$as_me:$LINENO: result: $result" >&5
6652 echo "${ECHO_T}$result" >&6; }
6656 defaultval=$wxUSE_ALL_FEATURES
6657 if test -z "$defaultval"; then
6658 if test x"$enablestring" = xdisable; then
6665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6666 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6668 # Check whether --enable-selectloop was given.
6669 if test "${enable_selectloop+set}" = set; then
6670 enableval=$enable_selectloop;
6671 if test "$enableval" = yes; then
6672 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6674 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6679 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6680 if test "x$LINE" != x ; then
6681 eval "DEFAULT_$LINE"
6686 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6691 eval "$wx_cv_use_selectloop"
6692 if test "$no_cache" != 1; then
6693 echo $wx_cv_use_selectloop >> ${wx_arg_cache_file}.tmp
6696 if test x"$enablestring" = xdisable; then
6697 if test $wxUSE_SELECT_DISPATCHER = yes; then
6703 result=$wxUSE_SELECT_DISPATCHER
6706 { echo "$as_me:$LINENO: result: $result" >&5
6707 echo "${ECHO_T}$result" >&6; }
6712 defaultval=$wxUSE_ALL_FEATURES
6713 if test -z "$defaultval"; then
6714 if test x"$enablestring" = xdisable; then
6721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6722 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6724 # Check whether --enable-apple_ieee was given.
6725 if test "${enable_apple_ieee+set}" = set; then
6726 enableval=$enable_apple_ieee;
6727 if test "$enableval" = yes; then
6728 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6730 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6735 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6736 if test "x$LINE" != x ; then
6737 eval "DEFAULT_$LINE"
6742 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6747 eval "$wx_cv_use_apple_ieee"
6748 if test "$no_cache" != 1; then
6749 echo $wx_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
6752 if test x"$enablestring" = xdisable; then
6753 if test $wxUSE_APPLE_IEEE = yes; then
6759 result=$wxUSE_APPLE_IEEE
6762 { echo "$as_me:$LINENO: result: $result" >&5
6763 echo "${ECHO_T}$result" >&6; }
6767 defaultval=$wxUSE_ALL_FEATURES
6768 if test -z "$defaultval"; then
6769 if test x"$enablestring" = xdisable; then
6776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6777 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6779 # Check whether --enable-arcstream was given.
6780 if test "${enable_arcstream+set}" = set; then
6781 enableval=$enable_arcstream;
6782 if test "$enableval" = yes; then
6783 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6785 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6790 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6791 if test "x$LINE" != x ; then
6792 eval "DEFAULT_$LINE"
6797 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6802 eval "$wx_cv_use_arcstream"
6803 if test "$no_cache" != 1; then
6804 echo $wx_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
6807 if test x"$enablestring" = xdisable; then
6808 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6814 result=$wxUSE_ARCHIVE_STREAMS
6817 { echo "$as_me:$LINENO: result: $result" >&5
6818 echo "${ECHO_T}$result" >&6; }
6822 defaultval=$wxUSE_ALL_FEATURES
6823 if test -z "$defaultval"; then
6824 if test x"$enablestring" = xdisable; then
6831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6832 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6834 # Check whether --enable-base64 was given.
6835 if test "${enable_base64+set}" = set; then
6836 enableval=$enable_base64;
6837 if test "$enableval" = yes; then
6838 wx_cv_use_base64='wxUSE_BASE64=yes'
6840 wx_cv_use_base64='wxUSE_BASE64=no'
6845 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6846 if test "x$LINE" != x ; then
6847 eval "DEFAULT_$LINE"
6852 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6857 eval "$wx_cv_use_base64"
6858 if test "$no_cache" != 1; then
6859 echo $wx_cv_use_base64 >> ${wx_arg_cache_file}.tmp
6862 if test x"$enablestring" = xdisable; then
6863 if test $wxUSE_BASE64 = yes; then
6869 result=$wxUSE_BASE64
6872 { echo "$as_me:$LINENO: result: $result" >&5
6873 echo "${ECHO_T}$result" >&6; }
6877 defaultval=$wxUSE_ALL_FEATURES
6878 if test -z "$defaultval"; then
6879 if test x"$enablestring" = xdisable; then
6886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6887 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6889 # Check whether --enable-backtrace was given.
6890 if test "${enable_backtrace+set}" = set; then
6891 enableval=$enable_backtrace;
6892 if test "$enableval" = yes; then
6893 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6895 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6900 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
6901 if test "x$LINE" != x ; then
6902 eval "DEFAULT_$LINE"
6907 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6912 eval "$wx_cv_use_backtrace"
6913 if test "$no_cache" != 1; then
6914 echo $wx_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
6917 if test x"$enablestring" = xdisable; then
6918 if test $wxUSE_STACKWALKER = yes; then
6924 result=$wxUSE_STACKWALKER
6927 { echo "$as_me:$LINENO: result: $result" >&5
6928 echo "${ECHO_T}$result" >&6; }
6932 defaultval=$wxUSE_ALL_FEATURES
6933 if test -z "$defaultval"; then
6934 if test x"$enablestring" = xdisable; then
6941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6942 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6944 # Check whether --enable-catch_segvs was given.
6945 if test "${enable_catch_segvs+set}" = set; then
6946 enableval=$enable_catch_segvs;
6947 if test "$enableval" = yes; then
6948 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6950 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6955 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
6956 if test "x$LINE" != x ; then
6957 eval "DEFAULT_$LINE"
6962 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6967 eval "$wx_cv_use_catch_segvs"
6968 if test "$no_cache" != 1; then
6969 echo $wx_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
6972 if test x"$enablestring" = xdisable; then
6973 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6979 result=$wxUSE_ON_FATAL_EXCEPTION
6982 { echo "$as_me:$LINENO: result: $result" >&5
6983 echo "${ECHO_T}$result" >&6; }
6987 defaultval=$wxUSE_ALL_FEATURES
6988 if test -z "$defaultval"; then
6989 if test x"$enablestring" = xdisable; then
6996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6997 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6999 # Check whether --enable-cmdline was given.
7000 if test "${enable_cmdline+set}" = set; then
7001 enableval=$enable_cmdline;
7002 if test "$enableval" = yes; then
7003 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7005 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7010 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7011 if test "x$LINE" != x ; then
7012 eval "DEFAULT_$LINE"
7017 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7022 eval "$wx_cv_use_cmdline"
7023 if test "$no_cache" != 1; then
7024 echo $wx_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
7027 if test x"$enablestring" = xdisable; then
7028 if test $wxUSE_CMDLINE_PARSER = yes; then
7034 result=$wxUSE_CMDLINE_PARSER
7037 { echo "$as_me:$LINENO: result: $result" >&5
7038 echo "${ECHO_T}$result" >&6; }
7042 defaultval=$wxUSE_ALL_FEATURES
7043 if test -z "$defaultval"; then
7044 if test x"$enablestring" = xdisable; then
7051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7052 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7054 # Check whether --enable-datetime was given.
7055 if test "${enable_datetime+set}" = set; then
7056 enableval=$enable_datetime;
7057 if test "$enableval" = yes; then
7058 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7060 wx_cv_use_datetime='wxUSE_DATETIME=no'
7065 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7066 if test "x$LINE" != x ; then
7067 eval "DEFAULT_$LINE"
7072 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7077 eval "$wx_cv_use_datetime"
7078 if test "$no_cache" != 1; then
7079 echo $wx_cv_use_datetime >> ${wx_arg_cache_file}.tmp
7082 if test x"$enablestring" = xdisable; then
7083 if test $wxUSE_DATETIME = yes; then
7089 result=$wxUSE_DATETIME
7092 { echo "$as_me:$LINENO: result: $result" >&5
7093 echo "${ECHO_T}$result" >&6; }
7097 defaultval=$wxUSE_ALL_FEATURES
7098 if test -z "$defaultval"; then
7099 if test x"$enablestring" = xdisable; then
7106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7107 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7109 # Check whether --enable-debugreport was given.
7110 if test "${enable_debugreport+set}" = set; then
7111 enableval=$enable_debugreport;
7112 if test "$enableval" = yes; then
7113 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7115 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7120 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7121 if test "x$LINE" != x ; then
7122 eval "DEFAULT_$LINE"
7127 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7132 eval "$wx_cv_use_debugreport"
7133 if test "$no_cache" != 1; then
7134 echo $wx_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
7137 if test x"$enablestring" = xdisable; then
7138 if test $wxUSE_DEBUGREPORT = yes; then
7144 result=$wxUSE_DEBUGREPORT
7147 { echo "$as_me:$LINENO: result: $result" >&5
7148 echo "${ECHO_T}$result" >&6; }
7152 defaultval=$wxUSE_ALL_FEATURES
7153 if test -z "$defaultval"; then
7154 if test x"$enablestring" = xdisable; then
7161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7162 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7164 # Check whether --enable-dialupman was given.
7165 if test "${enable_dialupman+set}" = set; then
7166 enableval=$enable_dialupman;
7167 if test "$enableval" = yes; then
7168 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7170 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7175 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7176 if test "x$LINE" != x ; then
7177 eval "DEFAULT_$LINE"
7182 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7187 eval "$wx_cv_use_dialupman"
7188 if test "$no_cache" != 1; then
7189 echo $wx_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
7192 if test x"$enablestring" = xdisable; then
7193 if test $wxUSE_DIALUP_MANAGER = yes; then
7199 result=$wxUSE_DIALUP_MANAGER
7202 { echo "$as_me:$LINENO: result: $result" >&5
7203 echo "${ECHO_T}$result" >&6; }
7207 defaultval=$wxUSE_ALL_FEATURES
7208 if test -z "$defaultval"; then
7209 if test x"$enablestring" = xdisable; then
7216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7217 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7219 # Check whether --enable-dynlib was given.
7220 if test "${enable_dynlib+set}" = set; then
7221 enableval=$enable_dynlib;
7222 if test "$enableval" = yes; then
7223 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7225 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7230 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7231 if test "x$LINE" != x ; then
7232 eval "DEFAULT_$LINE"
7237 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7242 eval "$wx_cv_use_dynlib"
7243 if test "$no_cache" != 1; then
7244 echo $wx_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
7247 if test x"$enablestring" = xdisable; then
7248 if test $wxUSE_DYNLIB_CLASS = yes; then
7254 result=$wxUSE_DYNLIB_CLASS
7257 { echo "$as_me:$LINENO: result: $result" >&5
7258 echo "${ECHO_T}$result" >&6; }
7262 defaultval=$wxUSE_ALL_FEATURES
7263 if test -z "$defaultval"; then
7264 if test x"$enablestring" = xdisable; then
7271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7272 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7274 # Check whether --enable-dynamicloader was given.
7275 if test "${enable_dynamicloader+set}" = set; then
7276 enableval=$enable_dynamicloader;
7277 if test "$enableval" = yes; then
7278 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7280 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7285 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7286 if test "x$LINE" != x ; then
7287 eval "DEFAULT_$LINE"
7292 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7297 eval "$wx_cv_use_dynamicloader"
7298 if test "$no_cache" != 1; then
7299 echo $wx_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
7302 if test x"$enablestring" = xdisable; then
7303 if test $wxUSE_DYNAMIC_LOADER = yes; then
7309 result=$wxUSE_DYNAMIC_LOADER
7312 { echo "$as_me:$LINENO: result: $result" >&5
7313 echo "${ECHO_T}$result" >&6; }
7317 defaultval=$wxUSE_ALL_FEATURES
7318 if test -z "$defaultval"; then
7319 if test x"$enablestring" = xdisable; then
7326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7327 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7329 # Check whether --enable-exceptions was given.
7330 if test "${enable_exceptions+set}" = set; then
7331 enableval=$enable_exceptions;
7332 if test "$enableval" = yes; then
7333 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7335 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7340 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7341 if test "x$LINE" != x ; then
7342 eval "DEFAULT_$LINE"
7347 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7352 eval "$wx_cv_use_exceptions"
7353 if test "$no_cache" != 1; then
7354 echo $wx_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
7357 if test x"$enablestring" = xdisable; then
7358 if test $wxUSE_EXCEPTIONS = yes; then
7364 result=$wxUSE_EXCEPTIONS
7367 { echo "$as_me:$LINENO: result: $result" >&5
7368 echo "${ECHO_T}$result" >&6; }
7372 defaultval=$wxUSE_ALL_FEATURES
7373 if test -z "$defaultval"; then
7374 if test x"$enablestring" = xdisable; then
7381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7382 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7384 # Check whether --enable-ffile was given.
7385 if test "${enable_ffile+set}" = set; then
7386 enableval=$enable_ffile;
7387 if test "$enableval" = yes; then
7388 wx_cv_use_ffile='wxUSE_FFILE=yes'
7390 wx_cv_use_ffile='wxUSE_FFILE=no'
7395 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7396 if test "x$LINE" != x ; then
7397 eval "DEFAULT_$LINE"
7402 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7407 eval "$wx_cv_use_ffile"
7408 if test "$no_cache" != 1; then
7409 echo $wx_cv_use_ffile >> ${wx_arg_cache_file}.tmp
7412 if test x"$enablestring" = xdisable; then
7413 if test $wxUSE_FFILE = yes; then
7422 { echo "$as_me:$LINENO: result: $result" >&5
7423 echo "${ECHO_T}$result" >&6; }
7427 defaultval=$wxUSE_ALL_FEATURES
7428 if test -z "$defaultval"; then
7429 if test x"$enablestring" = xdisable; then
7436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7437 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7439 # Check whether --enable-file was given.
7440 if test "${enable_file+set}" = set; then
7441 enableval=$enable_file;
7442 if test "$enableval" = yes; then
7443 wx_cv_use_file='wxUSE_FILE=yes'
7445 wx_cv_use_file='wxUSE_FILE=no'
7450 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7451 if test "x$LINE" != x ; then
7452 eval "DEFAULT_$LINE"
7457 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7462 eval "$wx_cv_use_file"
7463 if test "$no_cache" != 1; then
7464 echo $wx_cv_use_file >> ${wx_arg_cache_file}.tmp
7467 if test x"$enablestring" = xdisable; then
7468 if test $wxUSE_FILE = yes; then
7477 { echo "$as_me:$LINENO: result: $result" >&5
7478 echo "${ECHO_T}$result" >&6; }
7482 defaultval=$wxUSE_ALL_FEATURES
7483 if test -z "$defaultval"; then
7484 if test x"$enablestring" = xdisable; then
7491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7492 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7494 # Check whether --enable-filesystem was given.
7495 if test "${enable_filesystem+set}" = set; then
7496 enableval=$enable_filesystem;
7497 if test "$enableval" = yes; then
7498 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7500 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7505 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7506 if test "x$LINE" != x ; then
7507 eval "DEFAULT_$LINE"
7512 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7517 eval "$wx_cv_use_filesystem"
7518 if test "$no_cache" != 1; then
7519 echo $wx_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
7522 if test x"$enablestring" = xdisable; then
7523 if test $wxUSE_FILESYSTEM = yes; then
7529 result=$wxUSE_FILESYSTEM
7532 { echo "$as_me:$LINENO: result: $result" >&5
7533 echo "${ECHO_T}$result" >&6; }
7537 defaultval=$wxUSE_ALL_FEATURES
7538 if test -z "$defaultval"; then
7539 if test x"$enablestring" = xdisable; then
7546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7547 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7549 # Check whether --enable-fontmap was given.
7550 if test "${enable_fontmap+set}" = set; then
7551 enableval=$enable_fontmap;
7552 if test "$enableval" = yes; then
7553 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7555 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7560 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7561 if test "x$LINE" != x ; then
7562 eval "DEFAULT_$LINE"
7567 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7572 eval "$wx_cv_use_fontmap"
7573 if test "$no_cache" != 1; then
7574 echo $wx_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
7577 if test x"$enablestring" = xdisable; then
7578 if test $wxUSE_FONTMAP = yes; then
7584 result=$wxUSE_FONTMAP
7587 { echo "$as_me:$LINENO: result: $result" >&5
7588 echo "${ECHO_T}$result" >&6; }
7592 defaultval=$wxUSE_ALL_FEATURES
7593 if test -z "$defaultval"; then
7594 if test x"$enablestring" = xdisable; then
7601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7602 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7604 # Check whether --enable-fs_archive was given.
7605 if test "${enable_fs_archive+set}" = set; then
7606 enableval=$enable_fs_archive;
7607 if test "$enableval" = yes; then
7608 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7610 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7615 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7616 if test "x$LINE" != x ; then
7617 eval "DEFAULT_$LINE"
7622 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7627 eval "$wx_cv_use_fs_archive"
7628 if test "$no_cache" != 1; then
7629 echo $wx_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
7632 if test x"$enablestring" = xdisable; then
7633 if test $wxUSE_FS_ARCHIVE = yes; then
7639 result=$wxUSE_FS_ARCHIVE
7642 { echo "$as_me:$LINENO: result: $result" >&5
7643 echo "${ECHO_T}$result" >&6; }
7647 defaultval=$wxUSE_ALL_FEATURES
7648 if test -z "$defaultval"; then
7649 if test x"$enablestring" = xdisable; then
7656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7657 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7659 # Check whether --enable-fs_inet was given.
7660 if test "${enable_fs_inet+set}" = set; then
7661 enableval=$enable_fs_inet;
7662 if test "$enableval" = yes; then
7663 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7665 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7670 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7671 if test "x$LINE" != x ; then
7672 eval "DEFAULT_$LINE"
7677 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7682 eval "$wx_cv_use_fs_inet"
7683 if test "$no_cache" != 1; then
7684 echo $wx_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
7687 if test x"$enablestring" = xdisable; then
7688 if test $wxUSE_FS_INET = yes; then
7694 result=$wxUSE_FS_INET
7697 { echo "$as_me:$LINENO: result: $result" >&5
7698 echo "${ECHO_T}$result" >&6; }
7702 defaultval=$wxUSE_ALL_FEATURES
7703 if test -z "$defaultval"; then
7704 if test x"$enablestring" = xdisable; then
7711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7712 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7714 # Check whether --enable-fs_zip was given.
7715 if test "${enable_fs_zip+set}" = set; then
7716 enableval=$enable_fs_zip;
7717 if test "$enableval" = yes; then
7718 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7720 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7725 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7726 if test "x$LINE" != x ; then
7727 eval "DEFAULT_$LINE"
7732 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7737 eval "$wx_cv_use_fs_zip"
7738 if test "$no_cache" != 1; then
7739 echo $wx_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
7742 if test x"$enablestring" = xdisable; then
7743 if test $wxUSE_FS_ZIP = yes; then
7749 result=$wxUSE_FS_ZIP
7752 { echo "$as_me:$LINENO: result: $result" >&5
7753 echo "${ECHO_T}$result" >&6; }
7757 defaultval=$wxUSE_ALL_FEATURES
7758 if test -z "$defaultval"; then
7759 if test x"$enablestring" = xdisable; then
7766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7767 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7769 # Check whether --enable-geometry was given.
7770 if test "${enable_geometry+set}" = set; then
7771 enableval=$enable_geometry;
7772 if test "$enableval" = yes; then
7773 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7775 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7780 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7781 if test "x$LINE" != x ; then
7782 eval "DEFAULT_$LINE"
7787 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7792 eval "$wx_cv_use_geometry"
7793 if test "$no_cache" != 1; then
7794 echo $wx_cv_use_geometry >> ${wx_arg_cache_file}.tmp
7797 if test x"$enablestring" = xdisable; then
7798 if test $wxUSE_GEOMETRY = yes; then
7804 result=$wxUSE_GEOMETRY
7807 { echo "$as_me:$LINENO: result: $result" >&5
7808 echo "${ECHO_T}$result" >&6; }
7812 defaultval=$wxUSE_ALL_FEATURES
7813 if test -z "$defaultval"; then
7814 if test x"$enablestring" = xdisable; then
7821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7822 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7824 # Check whether --enable-log was given.
7825 if test "${enable_log+set}" = set; then
7826 enableval=$enable_log;
7827 if test "$enableval" = yes; then
7828 wx_cv_use_log='wxUSE_LOG=yes'
7830 wx_cv_use_log='wxUSE_LOG=no'
7835 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
7836 if test "x$LINE" != x ; then
7837 eval "DEFAULT_$LINE"
7842 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7847 eval "$wx_cv_use_log"
7848 if test "$no_cache" != 1; then
7849 echo $wx_cv_use_log >> ${wx_arg_cache_file}.tmp
7852 if test x"$enablestring" = xdisable; then
7853 if test $wxUSE_LOG = yes; then
7862 { echo "$as_me:$LINENO: result: $result" >&5
7863 echo "${ECHO_T}$result" >&6; }
7867 defaultval=$wxUSE_ALL_FEATURES
7868 if test -z "$defaultval"; then
7869 if test x"$enablestring" = xdisable; then
7876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7877 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7879 # Check whether --enable-longlong was given.
7880 if test "${enable_longlong+set}" = set; then
7881 enableval=$enable_longlong;
7882 if test "$enableval" = yes; then
7883 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7885 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7890 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
7891 if test "x$LINE" != x ; then
7892 eval "DEFAULT_$LINE"
7897 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7902 eval "$wx_cv_use_longlong"
7903 if test "$no_cache" != 1; then
7904 echo $wx_cv_use_longlong >> ${wx_arg_cache_file}.tmp
7907 if test x"$enablestring" = xdisable; then
7908 if test $wxUSE_LONGLONG = yes; then
7914 result=$wxUSE_LONGLONG
7917 { echo "$as_me:$LINENO: result: $result" >&5
7918 echo "${ECHO_T}$result" >&6; }
7922 defaultval=$wxUSE_ALL_FEATURES
7923 if test -z "$defaultval"; then
7924 if test x"$enablestring" = xdisable; then
7931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7932 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7934 # Check whether --enable-mimetype was given.
7935 if test "${enable_mimetype+set}" = set; then
7936 enableval=$enable_mimetype;
7937 if test "$enableval" = yes; then
7938 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7940 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7945 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
7946 if test "x$LINE" != x ; then
7947 eval "DEFAULT_$LINE"
7952 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7957 eval "$wx_cv_use_mimetype"
7958 if test "$no_cache" != 1; then
7959 echo $wx_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
7962 if test x"$enablestring" = xdisable; then
7963 if test $wxUSE_MIMETYPE = yes; then
7969 result=$wxUSE_MIMETYPE
7972 { echo "$as_me:$LINENO: result: $result" >&5
7973 echo "${ECHO_T}$result" >&6; }
7977 defaultval=$wxUSE_ALL_FEATURES
7978 if test -z "$defaultval"; then
7979 if test x"$enablestring" = xdisable; then
7986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7987 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7989 # Check whether --enable-snglinst was given.
7990 if test "${enable_snglinst+set}" = set; then
7991 enableval=$enable_snglinst;
7992 if test "$enableval" = yes; then
7993 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7995 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8000 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8001 if test "x$LINE" != x ; then
8002 eval "DEFAULT_$LINE"
8007 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8012 eval "$wx_cv_use_snglinst"
8013 if test "$no_cache" != 1; then
8014 echo $wx_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
8017 if test x"$enablestring" = xdisable; then
8018 if test $wxUSE_SNGLINST_CHECKER = yes; then
8024 result=$wxUSE_SNGLINST_CHECKER
8027 { echo "$as_me:$LINENO: result: $result" >&5
8028 echo "${ECHO_T}$result" >&6; }
8032 defaultval=$wxUSE_ALL_FEATURES
8033 if test -z "$defaultval"; then
8034 if test x"$enablestring" = xdisable; then
8041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8042 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8044 # Check whether --enable-stdpaths was given.
8045 if test "${enable_stdpaths+set}" = set; then
8046 enableval=$enable_stdpaths;
8047 if test "$enableval" = yes; then
8048 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8050 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8055 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8056 if test "x$LINE" != x ; then
8057 eval "DEFAULT_$LINE"
8062 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8067 eval "$wx_cv_use_stdpaths"
8068 if test "$no_cache" != 1; then
8069 echo $wx_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
8072 if test x"$enablestring" = xdisable; then
8073 if test $wxUSE_STDPATHS = yes; then
8079 result=$wxUSE_STDPATHS
8082 { echo "$as_me:$LINENO: result: $result" >&5
8083 echo "${ECHO_T}$result" >&6; }
8087 defaultval=$wxUSE_ALL_FEATURES
8088 if test -z "$defaultval"; then
8089 if test x"$enablestring" = xdisable; then
8096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8097 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8099 # Check whether --enable-stopwatch was given.
8100 if test "${enable_stopwatch+set}" = set; then
8101 enableval=$enable_stopwatch;
8102 if test "$enableval" = yes; then
8103 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8105 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8110 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8111 if test "x$LINE" != x ; then
8112 eval "DEFAULT_$LINE"
8117 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8122 eval "$wx_cv_use_stopwatch"
8123 if test "$no_cache" != 1; then
8124 echo $wx_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
8127 if test x"$enablestring" = xdisable; then
8128 if test $wxUSE_STOPWATCH = yes; then
8134 result=$wxUSE_STOPWATCH
8137 { echo "$as_me:$LINENO: result: $result" >&5
8138 echo "${ECHO_T}$result" >&6; }
8142 defaultval=$wxUSE_ALL_FEATURES
8143 if test -z "$defaultval"; then
8144 if test x"$enablestring" = xdisable; then
8151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8152 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8154 # Check whether --enable-streams was given.
8155 if test "${enable_streams+set}" = set; then
8156 enableval=$enable_streams;
8157 if test "$enableval" = yes; then
8158 wx_cv_use_streams='wxUSE_STREAMS=yes'
8160 wx_cv_use_streams='wxUSE_STREAMS=no'
8165 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8166 if test "x$LINE" != x ; then
8167 eval "DEFAULT_$LINE"
8172 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8177 eval "$wx_cv_use_streams"
8178 if test "$no_cache" != 1; then
8179 echo $wx_cv_use_streams >> ${wx_arg_cache_file}.tmp
8182 if test x"$enablestring" = xdisable; then
8183 if test $wxUSE_STREAMS = yes; then
8189 result=$wxUSE_STREAMS
8192 { echo "$as_me:$LINENO: result: $result" >&5
8193 echo "${ECHO_T}$result" >&6; }
8197 defaultval=$wxUSE_ALL_FEATURES
8198 if test -z "$defaultval"; then
8199 if test x"$enablestring" = xdisable; then
8206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8207 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8209 # Check whether --enable-system_options was given.
8210 if test "${enable_system_options+set}" = set; then
8211 enableval=$enable_system_options;
8212 if test "$enableval" = yes; then
8213 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8215 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8220 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8221 if test "x$LINE" != x ; then
8222 eval "DEFAULT_$LINE"
8227 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8232 eval "$wx_cv_use_system_options"
8233 if test "$no_cache" != 1; then
8234 echo $wx_cv_use_system_options >> ${wx_arg_cache_file}.tmp
8237 if test x"$enablestring" = xdisable; then
8238 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8244 result=$wxUSE_SYSTEM_OPTIONS
8247 { echo "$as_me:$LINENO: result: $result" >&5
8248 echo "${ECHO_T}$result" >&6; }
8252 defaultval=$wxUSE_ALL_FEATURES
8253 if test -z "$defaultval"; then
8254 if test x"$enablestring" = xdisable; then
8261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8262 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8264 # Check whether --enable-tarstream was given.
8265 if test "${enable_tarstream+set}" = set; then
8266 enableval=$enable_tarstream;
8267 if test "$enableval" = yes; then
8268 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8270 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8275 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8276 if test "x$LINE" != x ; then
8277 eval "DEFAULT_$LINE"
8282 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8287 eval "$wx_cv_use_tarstream"
8288 if test "$no_cache" != 1; then
8289 echo $wx_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
8292 if test x"$enablestring" = xdisable; then
8293 if test $wxUSE_TARSTREAM = yes; then
8299 result=$wxUSE_TARSTREAM
8302 { echo "$as_me:$LINENO: result: $result" >&5
8303 echo "${ECHO_T}$result" >&6; }
8307 defaultval=$wxUSE_ALL_FEATURES
8308 if test -z "$defaultval"; then
8309 if test x"$enablestring" = xdisable; then
8316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8317 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8319 # Check whether --enable-textbuf was given.
8320 if test "${enable_textbuf+set}" = set; then
8321 enableval=$enable_textbuf;
8322 if test "$enableval" = yes; then
8323 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8325 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8330 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8331 if test "x$LINE" != x ; then
8332 eval "DEFAULT_$LINE"
8337 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8342 eval "$wx_cv_use_textbuf"
8343 if test "$no_cache" != 1; then
8344 echo $wx_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
8347 if test x"$enablestring" = xdisable; then
8348 if test $wxUSE_TEXTBUFFER = yes; then
8354 result=$wxUSE_TEXTBUFFER
8357 { echo "$as_me:$LINENO: result: $result" >&5
8358 echo "${ECHO_T}$result" >&6; }
8362 defaultval=$wxUSE_ALL_FEATURES
8363 if test -z "$defaultval"; then
8364 if test x"$enablestring" = xdisable; then
8371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8372 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8374 # Check whether --enable-textfile was given.
8375 if test "${enable_textfile+set}" = set; then
8376 enableval=$enable_textfile;
8377 if test "$enableval" = yes; then
8378 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8380 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8385 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8386 if test "x$LINE" != x ; then
8387 eval "DEFAULT_$LINE"
8392 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8397 eval "$wx_cv_use_textfile"
8398 if test "$no_cache" != 1; then
8399 echo $wx_cv_use_textfile >> ${wx_arg_cache_file}.tmp
8402 if test x"$enablestring" = xdisable; then
8403 if test $wxUSE_TEXTFILE = yes; then
8409 result=$wxUSE_TEXTFILE
8412 { echo "$as_me:$LINENO: result: $result" >&5
8413 echo "${ECHO_T}$result" >&6; }
8417 defaultval=$wxUSE_ALL_FEATURES
8418 if test -z "$defaultval"; then
8419 if test x"$enablestring" = xdisable; then
8426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8427 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8429 # Check whether --enable-timer was given.
8430 if test "${enable_timer+set}" = set; then
8431 enableval=$enable_timer;
8432 if test "$enableval" = yes; then
8433 wx_cv_use_timer='wxUSE_TIMER=yes'
8435 wx_cv_use_timer='wxUSE_TIMER=no'
8440 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8441 if test "x$LINE" != x ; then
8442 eval "DEFAULT_$LINE"
8447 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8452 eval "$wx_cv_use_timer"
8453 if test "$no_cache" != 1; then
8454 echo $wx_cv_use_timer >> ${wx_arg_cache_file}.tmp
8457 if test x"$enablestring" = xdisable; then
8458 if test $wxUSE_TIMER = yes; then
8467 { echo "$as_me:$LINENO: result: $result" >&5
8468 echo "${ECHO_T}$result" >&6; }
8472 defaultval=$wxUSE_ALL_FEATURES
8473 if test -z "$defaultval"; then
8474 if test x"$enablestring" = xdisable; then
8481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8482 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8484 # Check whether --enable-sound was given.
8485 if test "${enable_sound+set}" = set; then
8486 enableval=$enable_sound;
8487 if test "$enableval" = yes; then
8488 wx_cv_use_sound='wxUSE_SOUND=yes'
8490 wx_cv_use_sound='wxUSE_SOUND=no'
8495 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8496 if test "x$LINE" != x ; then
8497 eval "DEFAULT_$LINE"
8502 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8507 eval "$wx_cv_use_sound"
8508 if test "$no_cache" != 1; then
8509 echo $wx_cv_use_sound >> ${wx_arg_cache_file}.tmp
8512 if test x"$enablestring" = xdisable; then
8513 if test $wxUSE_SOUND = yes; then
8522 { echo "$as_me:$LINENO: result: $result" >&5
8523 echo "${ECHO_T}$result" >&6; }
8527 defaultval=$wxUSE_ALL_FEATURES
8528 if test -z "$defaultval"; then
8529 if test x"$enablestring" = xdisable; then
8536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8537 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8539 # Check whether --enable-mediactrl was given.
8540 if test "${enable_mediactrl+set}" = set; then
8541 enableval=$enable_mediactrl;
8542 if test "$enableval" = yes; then
8543 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8545 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8550 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8551 if test "x$LINE" != x ; then
8552 eval "DEFAULT_$LINE"
8557 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8562 eval "$wx_cv_use_mediactrl"
8563 if test "$no_cache" != 1; then
8564 echo $wx_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
8567 if test x"$enablestring" = xdisable; then
8568 if test $wxUSE_MEDIACTRL = yes; then
8574 result=$wxUSE_MEDIACTRL
8577 { echo "$as_me:$LINENO: result: $result" >&5
8578 echo "${ECHO_T}$result" >&6; }
8582 defaultval=$wxUSE_ALL_FEATURES
8583 if test -z "$defaultval"; then
8584 if test x"$enablestring" = xdisable; then
8591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8592 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8594 # Check whether --enable-gstreamer8 was given.
8595 if test "${enable_gstreamer8+set}" = set; then
8596 enableval=$enable_gstreamer8;
8597 if test "$enableval" = yes; then
8598 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8600 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8605 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8606 if test "x$LINE" != x ; then
8607 eval "DEFAULT_$LINE"
8612 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8617 eval "$wx_cv_use_gstreamer8"
8618 if test "$no_cache" != 1; then
8619 echo $wx_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
8622 if test x"$enablestring" = xdisable; then
8623 if test $wxUSE_GSTREAMER8 = yes; then
8629 result=$wxUSE_GSTREAMER8
8632 { echo "$as_me:$LINENO: result: $result" >&5
8633 echo "${ECHO_T}$result" >&6; }
8637 defaultval=$wxUSE_ALL_FEATURES
8638 if test -z "$defaultval"; then
8639 if test x"$enablestring" = xdisable; then
8646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8647 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8649 # Check whether --enable-printfposparam was given.
8650 if test "${enable_printfposparam+set}" = set; then
8651 enableval=$enable_printfposparam;
8652 if test "$enableval" = yes; then
8653 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8655 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8660 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8661 if test "x$LINE" != x ; then
8662 eval "DEFAULT_$LINE"
8667 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8672 eval "$wx_cv_use_printfposparam"
8673 if test "$no_cache" != 1; then
8674 echo $wx_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
8677 if test x"$enablestring" = xdisable; then
8678 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8684 result=$wxUSE_PRINTF_POS_PARAMS
8687 { echo "$as_me:$LINENO: result: $result" >&5
8688 echo "${ECHO_T}$result" >&6; }
8692 defaultval=$wxUSE_ALL_FEATURES
8693 if test -z "$defaultval"; then
8694 if test x"$enablestring" = xdisable; then
8701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8702 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8704 # Check whether --enable-zipstream was given.
8705 if test "${enable_zipstream+set}" = set; then
8706 enableval=$enable_zipstream;
8707 if test "$enableval" = yes; then
8708 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8710 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8715 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8716 if test "x$LINE" != x ; then
8717 eval "DEFAULT_$LINE"
8722 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8727 eval "$wx_cv_use_zipstream"
8728 if test "$no_cache" != 1; then
8729 echo $wx_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
8732 if test x"$enablestring" = xdisable; then
8733 if test $wxUSE_ZIPSTREAM = yes; then
8739 result=$wxUSE_ZIPSTREAM
8742 { echo "$as_me:$LINENO: result: $result" >&5
8743 echo "${ECHO_T}$result" >&6; }
8748 defaultval=$wxUSE_ALL_FEATURES
8749 if test -z "$defaultval"; then
8750 if test x"$enablestring" = xdisable; then
8757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8758 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8760 # Check whether --enable-url was given.
8761 if test "${enable_url+set}" = set; then
8762 enableval=$enable_url;
8763 if test "$enableval" = yes; then
8764 wx_cv_use_url='wxUSE_URL=yes'
8766 wx_cv_use_url='wxUSE_URL=no'
8771 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8772 if test "x$LINE" != x ; then
8773 eval "DEFAULT_$LINE"
8778 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8783 eval "$wx_cv_use_url"
8784 if test "$no_cache" != 1; then
8785 echo $wx_cv_use_url >> ${wx_arg_cache_file}.tmp
8788 if test x"$enablestring" = xdisable; then
8789 if test $wxUSE_URL = yes; then
8798 { echo "$as_me:$LINENO: result: $result" >&5
8799 echo "${ECHO_T}$result" >&6; }
8803 defaultval=$wxUSE_ALL_FEATURES
8804 if test -z "$defaultval"; then
8805 if test x"$enablestring" = xdisable; then
8812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8813 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8815 # Check whether --enable-variant was given.
8816 if test "${enable_variant+set}" = set; then
8817 enableval=$enable_variant;
8818 if test "$enableval" = yes; then
8819 wx_cv_use_variant='wxUSE_VARIANT=yes'
8821 wx_cv_use_variant='wxUSE_VARIANT=no'
8826 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
8827 if test "x$LINE" != x ; then
8828 eval "DEFAULT_$LINE"
8833 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8838 eval "$wx_cv_use_variant"
8839 if test "$no_cache" != 1; then
8840 echo $wx_cv_use_variant >> ${wx_arg_cache_file}.tmp
8843 if test x"$enablestring" = xdisable; then
8844 if test $wxUSE_VARIANT = yes; then
8850 result=$wxUSE_VARIANT
8853 { echo "$as_me:$LINENO: result: $result" >&5
8854 echo "${ECHO_T}$result" >&6; }
8858 defaultval=$wxUSE_ALL_FEATURES
8859 if test -z "$defaultval"; then
8860 if test x"$enablestring" = xdisable; then
8867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8868 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8870 # Check whether --enable-protocol was given.
8871 if test "${enable_protocol+set}" = set; then
8872 enableval=$enable_protocol;
8873 if test "$enableval" = yes; then
8874 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8876 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8881 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
8882 if test "x$LINE" != x ; then
8883 eval "DEFAULT_$LINE"
8888 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8893 eval "$wx_cv_use_protocol"
8894 if test "$no_cache" != 1; then
8895 echo $wx_cv_use_protocol >> ${wx_arg_cache_file}.tmp
8898 if test x"$enablestring" = xdisable; then
8899 if test $wxUSE_PROTOCOL = yes; then
8905 result=$wxUSE_PROTOCOL
8908 { echo "$as_me:$LINENO: result: $result" >&5
8909 echo "${ECHO_T}$result" >&6; }
8913 defaultval=$wxUSE_ALL_FEATURES
8914 if test -z "$defaultval"; then
8915 if test x"$enablestring" = xdisable; then
8922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8923 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8925 # Check whether --enable-protocol_http was given.
8926 if test "${enable_protocol_http+set}" = set; then
8927 enableval=$enable_protocol_http;
8928 if test "$enableval" = yes; then
8929 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8931 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8936 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
8937 if test "x$LINE" != x ; then
8938 eval "DEFAULT_$LINE"
8943 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8948 eval "$wx_cv_use_protocol_http"
8949 if test "$no_cache" != 1; then
8950 echo $wx_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
8953 if test x"$enablestring" = xdisable; then
8954 if test $wxUSE_PROTOCOL_HTTP = yes; then
8960 result=$wxUSE_PROTOCOL_HTTP
8963 { echo "$as_me:$LINENO: result: $result" >&5
8964 echo "${ECHO_T}$result" >&6; }
8968 defaultval=$wxUSE_ALL_FEATURES
8969 if test -z "$defaultval"; then
8970 if test x"$enablestring" = xdisable; then
8977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8978 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8980 # Check whether --enable-protocol_ftp was given.
8981 if test "${enable_protocol_ftp+set}" = set; then
8982 enableval=$enable_protocol_ftp;
8983 if test "$enableval" = yes; then
8984 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8986 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8991 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
8992 if test "x$LINE" != x ; then
8993 eval "DEFAULT_$LINE"
8998 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9003 eval "$wx_cv_use_protocol_ftp"
9004 if test "$no_cache" != 1; then
9005 echo $wx_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
9008 if test x"$enablestring" = xdisable; then
9009 if test $wxUSE_PROTOCOL_FTP = yes; then
9015 result=$wxUSE_PROTOCOL_FTP
9018 { echo "$as_me:$LINENO: result: $result" >&5
9019 echo "${ECHO_T}$result" >&6; }
9023 defaultval=$wxUSE_ALL_FEATURES
9024 if test -z "$defaultval"; then
9025 if test x"$enablestring" = xdisable; then
9032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
9033 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
9035 # Check whether --enable-protocol_file was given.
9036 if test "${enable_protocol_file+set}" = set; then
9037 enableval=$enable_protocol_file;
9038 if test "$enableval" = yes; then
9039 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9041 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9046 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9047 if test "x$LINE" != x ; then
9048 eval "DEFAULT_$LINE"
9053 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9058 eval "$wx_cv_use_protocol_file"
9059 if test "$no_cache" != 1; then
9060 echo $wx_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
9063 if test x"$enablestring" = xdisable; then
9064 if test $wxUSE_PROTOCOL_FILE = yes; then
9070 result=$wxUSE_PROTOCOL_FILE
9073 { echo "$as_me:$LINENO: result: $result" >&5
9074 echo "${ECHO_T}$result" >&6; }
9079 defaultval=$wxUSE_ALL_FEATURES
9080 if test -z "$defaultval"; then
9081 if test x"$enablestring" = xdisable; then
9088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9089 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9091 # Check whether --enable-threads was given.
9092 if test "${enable_threads+set}" = set; then
9093 enableval=$enable_threads;
9094 if test "$enableval" = yes; then
9095 wx_cv_use_threads='wxUSE_THREADS=yes'
9097 wx_cv_use_threads='wxUSE_THREADS=no'
9102 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9103 if test "x$LINE" != x ; then
9104 eval "DEFAULT_$LINE"
9109 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9114 eval "$wx_cv_use_threads"
9115 if test "$no_cache" != 1; then
9116 echo $wx_cv_use_threads >> ${wx_arg_cache_file}.tmp
9119 if test x"$enablestring" = xdisable; then
9120 if test $wxUSE_THREADS = yes; then
9126 result=$wxUSE_THREADS
9129 { echo "$as_me:$LINENO: result: $result" >&5
9130 echo "${ECHO_T}$result" >&6; }
9133 if test "$wxUSE_GUI" = "yes"; then
9138 defaultval=$wxUSE_ALL_FEATURES
9139 if test -z "$defaultval"; then
9140 if test x"$enablestring" = xdisable; then
9147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9148 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9150 # Check whether --enable-docview was given.
9151 if test "${enable_docview+set}" = set; then
9152 enableval=$enable_docview;
9153 if test "$enableval" = yes; then
9154 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9156 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9161 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9162 if test "x$LINE" != x ; then
9163 eval "DEFAULT_$LINE"
9168 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9173 eval "$wx_cv_use_docview"
9174 if test "$no_cache" != 1; then
9175 echo $wx_cv_use_docview >> ${wx_arg_cache_file}.tmp
9178 if test x"$enablestring" = xdisable; then
9179 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9185 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9188 { echo "$as_me:$LINENO: result: $result" >&5
9189 echo "${ECHO_T}$result" >&6; }
9193 defaultval=$wxUSE_ALL_FEATURES
9194 if test -z "$defaultval"; then
9195 if test x"$enablestring" = xdisable; then
9202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9203 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9205 # Check whether --enable-help was given.
9206 if test "${enable_help+set}" = set; then
9207 enableval=$enable_help;
9208 if test "$enableval" = yes; then
9209 wx_cv_use_help='wxUSE_HELP=yes'
9211 wx_cv_use_help='wxUSE_HELP=no'
9216 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9217 if test "x$LINE" != x ; then
9218 eval "DEFAULT_$LINE"
9223 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9228 eval "$wx_cv_use_help"
9229 if test "$no_cache" != 1; then
9230 echo $wx_cv_use_help >> ${wx_arg_cache_file}.tmp
9233 if test x"$enablestring" = xdisable; then
9234 if test $wxUSE_HELP = yes; then
9243 { echo "$as_me:$LINENO: result: $result" >&5
9244 echo "${ECHO_T}$result" >&6; }
9248 defaultval=$wxUSE_ALL_FEATURES
9249 if test -z "$defaultval"; then
9250 if test x"$enablestring" = xdisable; then
9257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9258 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9260 # Check whether --enable-mshtmlhelp was given.
9261 if test "${enable_mshtmlhelp+set}" = set; then
9262 enableval=$enable_mshtmlhelp;
9263 if test "$enableval" = yes; then
9264 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9266 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9271 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9272 if test "x$LINE" != x ; then
9273 eval "DEFAULT_$LINE"
9278 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9283 eval "$wx_cv_use_mshtmlhelp"
9284 if test "$no_cache" != 1; then
9285 echo $wx_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
9288 if test x"$enablestring" = xdisable; then
9289 if test $wxUSE_MS_HTML_HELP = yes; then
9295 result=$wxUSE_MS_HTML_HELP
9298 { echo "$as_me:$LINENO: result: $result" >&5
9299 echo "${ECHO_T}$result" >&6; }
9303 defaultval=$wxUSE_ALL_FEATURES
9304 if test -z "$defaultval"; then
9305 if test x"$enablestring" = xdisable; then
9312 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9313 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9315 # Check whether --enable-html was given.
9316 if test "${enable_html+set}" = set; then
9317 enableval=$enable_html;
9318 if test "$enableval" = yes; then
9319 wx_cv_use_html='wxUSE_HTML=yes'
9321 wx_cv_use_html='wxUSE_HTML=no'
9326 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9327 if test "x$LINE" != x ; then
9328 eval "DEFAULT_$LINE"
9333 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9338 eval "$wx_cv_use_html"
9339 if test "$no_cache" != 1; then
9340 echo $wx_cv_use_html >> ${wx_arg_cache_file}.tmp
9343 if test x"$enablestring" = xdisable; then
9344 if test $wxUSE_HTML = yes; then
9353 { echo "$as_me:$LINENO: result: $result" >&5
9354 echo "${ECHO_T}$result" >&6; }
9358 defaultval=$wxUSE_ALL_FEATURES
9359 if test -z "$defaultval"; then
9360 if test x"$enablestring" = xdisable; then
9367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9368 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9370 # Check whether --enable-htmlhelp was given.
9371 if test "${enable_htmlhelp+set}" = set; then
9372 enableval=$enable_htmlhelp;
9373 if test "$enableval" = yes; then
9374 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9376 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9381 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9382 if test "x$LINE" != x ; then
9383 eval "DEFAULT_$LINE"
9388 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9393 eval "$wx_cv_use_htmlhelp"
9394 if test "$no_cache" != 1; then
9395 echo $wx_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
9398 if test x"$enablestring" = xdisable; then
9399 if test $wxUSE_WXHTML_HELP = yes; then
9405 result=$wxUSE_WXHTML_HELP
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}-xrc" >&5
9423 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9425 # Check whether --enable-xrc was given.
9426 if test "${enable_xrc+set}" = set; then
9427 enableval=$enable_xrc;
9428 if test "$enableval" = yes; then
9429 wx_cv_use_xrc='wxUSE_XRC=yes'
9431 wx_cv_use_xrc='wxUSE_XRC=no'
9436 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9437 if test "x$LINE" != x ; then
9438 eval "DEFAULT_$LINE"
9443 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9448 eval "$wx_cv_use_xrc"
9449 if test "$no_cache" != 1; then
9450 echo $wx_cv_use_xrc >> ${wx_arg_cache_file}.tmp
9453 if test x"$enablestring" = xdisable; then
9454 if test $wxUSE_XRC = yes; then
9463 { echo "$as_me:$LINENO: result: $result" >&5
9464 echo "${ECHO_T}$result" >&6; }
9468 defaultval=$wxUSE_ALL_FEATURES
9469 if test -z "$defaultval"; then
9470 if test x"$enablestring" = xdisable; then
9477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9478 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9480 # Check whether --enable-aui was given.
9481 if test "${enable_aui+set}" = set; then
9482 enableval=$enable_aui;
9483 if test "$enableval" = yes; then
9484 wx_cv_use_aui='wxUSE_AUI=yes'
9486 wx_cv_use_aui='wxUSE_AUI=no'
9491 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9492 if test "x$LINE" != x ; then
9493 eval "DEFAULT_$LINE"
9498 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9503 eval "$wx_cv_use_aui"
9504 if test "$no_cache" != 1; then
9505 echo $wx_cv_use_aui >> ${wx_arg_cache_file}.tmp
9508 if test x"$enablestring" = xdisable; then
9509 if test $wxUSE_AUI = yes; then
9518 { echo "$as_me:$LINENO: result: $result" >&5
9519 echo "${ECHO_T}$result" >&6; }
9523 defaultval=$wxUSE_ALL_FEATURES
9524 if test -z "$defaultval"; then
9525 if test x"$enablestring" = xdisable; then
9532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9533 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9535 # Check whether --enable-stc was given.
9536 if test "${enable_stc+set}" = set; then
9537 enableval=$enable_stc;
9538 if test "$enableval" = yes; then
9539 wx_cv_use_stc='wxUSE_STC=yes'
9541 wx_cv_use_stc='wxUSE_STC=no'
9546 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9547 if test "x$LINE" != x ; then
9548 eval "DEFAULT_$LINE"
9553 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9558 eval "$wx_cv_use_stc"
9559 if test "$no_cache" != 1; then
9560 echo $wx_cv_use_stc >> ${wx_arg_cache_file}.tmp
9563 if test x"$enablestring" = xdisable; then
9564 if test $wxUSE_STC = yes; then
9573 { echo "$as_me:$LINENO: result: $result" >&5
9574 echo "${ECHO_T}$result" >&6; }
9578 defaultval=$wxUSE_ALL_FEATURES
9579 if test -z "$defaultval"; then
9580 if test x"$enablestring" = xdisable; then
9587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9588 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9590 # Check whether --enable-constraints was given.
9591 if test "${enable_constraints+set}" = set; then
9592 enableval=$enable_constraints;
9593 if test "$enableval" = yes; then
9594 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9596 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9601 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9602 if test "x$LINE" != x ; then
9603 eval "DEFAULT_$LINE"
9608 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9613 eval "$wx_cv_use_constraints"
9614 if test "$no_cache" != 1; then
9615 echo $wx_cv_use_constraints >> ${wx_arg_cache_file}.tmp
9618 if test x"$enablestring" = xdisable; then
9619 if test $wxUSE_CONSTRAINTS = yes; then
9625 result=$wxUSE_CONSTRAINTS
9628 { echo "$as_me:$LINENO: result: $result" >&5
9629 echo "${ECHO_T}$result" >&6; }
9633 defaultval=$wxUSE_ALL_FEATURES
9634 if test -z "$defaultval"; then
9635 if test x"$enablestring" = xdisable; then
9642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9643 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9645 # Check whether --enable-printarch was given.
9646 if test "${enable_printarch+set}" = set; then
9647 enableval=$enable_printarch;
9648 if test "$enableval" = yes; then
9649 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9651 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9656 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9657 if test "x$LINE" != x ; then
9658 eval "DEFAULT_$LINE"
9663 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9668 eval "$wx_cv_use_printarch"
9669 if test "$no_cache" != 1; then
9670 echo $wx_cv_use_printarch >> ${wx_arg_cache_file}.tmp
9673 if test x"$enablestring" = xdisable; then
9674 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9680 result=$wxUSE_PRINTING_ARCHITECTURE
9683 { echo "$as_me:$LINENO: result: $result" >&5
9684 echo "${ECHO_T}$result" >&6; }
9688 defaultval=$wxUSE_ALL_FEATURES
9689 if test -z "$defaultval"; then
9690 if test x"$enablestring" = xdisable; then
9697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9698 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9700 # Check whether --enable-mdi was given.
9701 if test "${enable_mdi+set}" = set; then
9702 enableval=$enable_mdi;
9703 if test "$enableval" = yes; then
9704 wx_cv_use_mdi='wxUSE_MDI=yes'
9706 wx_cv_use_mdi='wxUSE_MDI=no'
9711 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9712 if test "x$LINE" != x ; then
9713 eval "DEFAULT_$LINE"
9718 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9723 eval "$wx_cv_use_mdi"
9724 if test "$no_cache" != 1; then
9725 echo $wx_cv_use_mdi >> ${wx_arg_cache_file}.tmp
9728 if test x"$enablestring" = xdisable; then
9729 if test $wxUSE_MDI = yes; then
9738 { echo "$as_me:$LINENO: result: $result" >&5
9739 echo "${ECHO_T}$result" >&6; }
9743 defaultval=$wxUSE_ALL_FEATURES
9744 if test -z "$defaultval"; then
9745 if test x"$enablestring" = xdisable; then
9752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9753 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9755 # Check whether --enable-mdidoc was given.
9756 if test "${enable_mdidoc+set}" = set; then
9757 enableval=$enable_mdidoc;
9758 if test "$enableval" = yes; then
9759 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9761 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9766 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
9767 if test "x$LINE" != x ; then
9768 eval "DEFAULT_$LINE"
9773 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9778 eval "$wx_cv_use_mdidoc"
9779 if test "$no_cache" != 1; then
9780 echo $wx_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
9783 if test x"$enablestring" = xdisable; then
9784 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9790 result=$wxUSE_MDI_ARCHITECTURE
9793 { echo "$as_me:$LINENO: result: $result" >&5
9794 echo "${ECHO_T}$result" >&6; }
9798 defaultval=$wxUSE_ALL_FEATURES
9799 if test -z "$defaultval"; then
9800 if test x"$enablestring" = xdisable; then
9807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9808 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9810 # Check whether --enable-loggui was given.
9811 if test "${enable_loggui+set}" = set; then
9812 enableval=$enable_loggui;
9813 if test "$enableval" = yes; then
9814 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9816 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9821 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
9822 if test "x$LINE" != x ; then
9823 eval "DEFAULT_$LINE"
9828 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9833 eval "$wx_cv_use_loggui"
9834 if test "$no_cache" != 1; then
9835 echo $wx_cv_use_loggui >> ${wx_arg_cache_file}.tmp
9838 if test x"$enablestring" = xdisable; then
9839 if test $wxUSE_LOGGUI = yes; then
9845 result=$wxUSE_LOGGUI
9848 { echo "$as_me:$LINENO: result: $result" >&5
9849 echo "${ECHO_T}$result" >&6; }
9853 defaultval=$wxUSE_ALL_FEATURES
9854 if test -z "$defaultval"; then
9855 if test x"$enablestring" = xdisable; then
9862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9863 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9865 # Check whether --enable-logwin was given.
9866 if test "${enable_logwin+set}" = set; then
9867 enableval=$enable_logwin;
9868 if test "$enableval" = yes; then
9869 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9871 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9876 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
9877 if test "x$LINE" != x ; then
9878 eval "DEFAULT_$LINE"
9883 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9888 eval "$wx_cv_use_logwin"
9889 if test "$no_cache" != 1; then
9890 echo $wx_cv_use_logwin >> ${wx_arg_cache_file}.tmp
9893 if test x"$enablestring" = xdisable; then
9894 if test $wxUSE_LOGWINDOW = yes; then
9900 result=$wxUSE_LOGWINDOW
9903 { echo "$as_me:$LINENO: result: $result" >&5
9904 echo "${ECHO_T}$result" >&6; }
9908 defaultval=$wxUSE_ALL_FEATURES
9909 if test -z "$defaultval"; then
9910 if test x"$enablestring" = xdisable; then
9917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9918 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9920 # Check whether --enable-logdialog was given.
9921 if test "${enable_logdialog+set}" = set; then
9922 enableval=$enable_logdialog;
9923 if test "$enableval" = yes; then
9924 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9926 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9931 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
9932 if test "x$LINE" != x ; then
9933 eval "DEFAULT_$LINE"
9938 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9943 eval "$wx_cv_use_logdialog"
9944 if test "$no_cache" != 1; then
9945 echo $wx_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
9948 if test x"$enablestring" = xdisable; then
9949 if test $wxUSE_LOGDIALOG = yes; then
9955 result=$wxUSE_LOGDIALOG
9958 { echo "$as_me:$LINENO: result: $result" >&5
9959 echo "${ECHO_T}$result" >&6; }
9963 defaultval=$wxUSE_ALL_FEATURES
9964 if test -z "$defaultval"; then
9965 if test x"$enablestring" = xdisable; then
9972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9973 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9975 # Check whether --enable-webkit was given.
9976 if test "${enable_webkit+set}" = set; then
9977 enableval=$enable_webkit;
9978 if test "$enableval" = yes; then
9979 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9981 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9986 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
9987 if test "x$LINE" != x ; then
9988 eval "DEFAULT_$LINE"
9993 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9998 eval "$wx_cv_use_webkit"
9999 if test "$no_cache" != 1; then
10000 echo $wx_cv_use_webkit >> ${wx_arg_cache_file}.tmp
10003 if test x"$enablestring" = xdisable; then
10004 if test $wxUSE_WEBKIT = yes; then
10010 result=$wxUSE_WEBKIT
10013 { echo "$as_me:$LINENO: result: $result" >&5
10014 echo "${ECHO_T}$result" >&6; }
10018 defaultval=$wxUSE_ALL_FEATURES
10019 if test -z "$defaultval"; then
10020 if test x"$enablestring" = xdisable; then
10027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10028 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10030 # Check whether --enable-richtext was given.
10031 if test "${enable_richtext+set}" = set; then
10032 enableval=$enable_richtext;
10033 if test "$enableval" = yes; then
10034 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10036 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10041 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10042 if test "x$LINE" != x ; then
10043 eval "DEFAULT_$LINE"
10048 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10053 eval "$wx_cv_use_richtext"
10054 if test "$no_cache" != 1; then
10055 echo $wx_cv_use_richtext >> ${wx_arg_cache_file}.tmp
10058 if test x"$enablestring" = xdisable; then
10059 if test $wxUSE_RICHTEXT = yes; then
10065 result=$wxUSE_RICHTEXT
10068 { echo "$as_me:$LINENO: result: $result" >&5
10069 echo "${ECHO_T}$result" >&6; }
10073 defaultval=$wxUSE_ALL_FEATURES
10074 if test -z "$defaultval"; then
10075 if test x"$enablestring" = xdisable; then
10082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10083 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10085 # Check whether --enable-graphics_ctx was given.
10086 if test "${enable_graphics_ctx+set}" = set; then
10087 enableval=$enable_graphics_ctx;
10088 if test "$enableval" = yes; then
10089 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10091 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10096 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10097 if test "x$LINE" != x ; then
10098 eval "DEFAULT_$LINE"
10103 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10108 eval "$wx_cv_use_graphics_ctx"
10109 if test "$no_cache" != 1; then
10110 echo $wx_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
10113 if test x"$enablestring" = xdisable; then
10114 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10120 result=$wxUSE_GRAPHICS_CONTEXT
10123 { echo "$as_me:$LINENO: result: $result" >&5
10124 echo "${ECHO_T}$result" >&6; }
10128 defaultval=$wxUSE_ALL_FEATURES
10129 if test -z "$defaultval"; then
10130 if test x"$enablestring" = xdisable; then
10137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10138 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10140 # Check whether --enable-postscript was given.
10141 if test "${enable_postscript+set}" = set; then
10142 enableval=$enable_postscript;
10143 if test "$enableval" = yes; then
10144 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10146 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10151 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10152 if test "x$LINE" != x ; then
10153 eval "DEFAULT_$LINE"
10158 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10163 eval "$wx_cv_use_postscript"
10164 if test "$no_cache" != 1; then
10165 echo $wx_cv_use_postscript >> ${wx_arg_cache_file}.tmp
10168 if test x"$enablestring" = xdisable; then
10169 if test $wxUSE_POSTSCRIPT = yes; then
10175 result=$wxUSE_POSTSCRIPT
10178 { echo "$as_me:$LINENO: result: $result" >&5
10179 echo "${ECHO_T}$result" >&6; }
10183 defaultval=$wxUSE_ALL_FEATURES
10184 if test -z "$defaultval"; then
10185 if test x"$enablestring" = xdisable; then
10192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10193 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10195 # Check whether --enable-svg was given.
10196 if test "${enable_svg+set}" = set; then
10197 enableval=$enable_svg;
10198 if test "$enableval" = yes; then
10199 wx_cv_use_svg='wxUSE_SVG=yes'
10201 wx_cv_use_svg='wxUSE_SVG=no'
10206 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10207 if test "x$LINE" != x ; then
10208 eval "DEFAULT_$LINE"
10213 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10218 eval "$wx_cv_use_svg"
10219 if test "$no_cache" != 1; then
10220 echo $wx_cv_use_svg >> ${wx_arg_cache_file}.tmp
10223 if test x"$enablestring" = xdisable; then
10224 if test $wxUSE_SVG = yes; then
10233 { echo "$as_me:$LINENO: result: $result" >&5
10234 echo "${ECHO_T}$result" >&6; }
10240 defaultval=$wxUSE_ALL_FEATURES
10241 if test -z "$defaultval"; then
10242 if test x"$enablestring" = xdisable; then
10249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10250 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10252 # Check whether --enable-clipboard was given.
10253 if test "${enable_clipboard+set}" = set; then
10254 enableval=$enable_clipboard;
10255 if test "$enableval" = yes; then
10256 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10258 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10263 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10264 if test "x$LINE" != x ; then
10265 eval "DEFAULT_$LINE"
10270 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10275 eval "$wx_cv_use_clipboard"
10276 if test "$no_cache" != 1; then
10277 echo $wx_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
10280 if test x"$enablestring" = xdisable; then
10281 if test $wxUSE_CLIPBOARD = yes; then
10287 result=$wxUSE_CLIPBOARD
10290 { echo "$as_me:$LINENO: result: $result" >&5
10291 echo "${ECHO_T}$result" >&6; }
10295 defaultval=$wxUSE_ALL_FEATURES
10296 if test -z "$defaultval"; then
10297 if test x"$enablestring" = xdisable; then
10304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10305 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10307 # Check whether --enable-dnd was given.
10308 if test "${enable_dnd+set}" = set; then
10309 enableval=$enable_dnd;
10310 if test "$enableval" = yes; then
10311 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10313 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10318 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10319 if test "x$LINE" != x ; then
10320 eval "DEFAULT_$LINE"
10325 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10330 eval "$wx_cv_use_dnd"
10331 if test "$no_cache" != 1; then
10332 echo $wx_cv_use_dnd >> ${wx_arg_cache_file}.tmp
10335 if test x"$enablestring" = xdisable; then
10336 if test $wxUSE_DRAG_AND_DROP = yes; then
10342 result=$wxUSE_DRAG_AND_DROP
10345 { echo "$as_me:$LINENO: result: $result" >&5
10346 echo "${ECHO_T}$result" >&6; }
10350 defaultval=$wxUSE_ALL_FEATURES
10351 if test -z "$defaultval"; then
10352 if test x"$enablestring" = xdisable; then
10359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10360 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10362 # Check whether --enable-metafile was given.
10363 if test "${enable_metafile+set}" = set; then
10364 enableval=$enable_metafile;
10365 if test "$enableval" = yes; then
10366 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10368 wx_cv_use_metafile='wxUSE_METAFILE=no'
10373 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10374 if test "x$LINE" != x ; then
10375 eval "DEFAULT_$LINE"
10380 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10385 eval "$wx_cv_use_metafile"
10386 if test "$no_cache" != 1; then
10387 echo $wx_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10390 if test x"$enablestring" = xdisable; then
10391 if test $wxUSE_METAFILE = yes; then
10397 result=$wxUSE_METAFILE
10400 { echo "$as_me:$LINENO: result: $result" >&5
10401 echo "${ECHO_T}$result" >&6; }
10405 DEFAULT_wxUSE_CONTROLS=none
10407 enablestring=disable
10409 if test -z "$defaultval"; then
10410 if test x"$enablestring" = xdisable; then
10417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10418 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10420 # Check whether --enable-controls was given.
10421 if test "${enable_controls+set}" = set; then
10422 enableval=$enable_controls;
10423 if test "$enableval" = yes; then
10424 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10426 wx_cv_use_controls='wxUSE_CONTROLS=no'
10431 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10432 if test "x$LINE" != x ; then
10433 eval "DEFAULT_$LINE"
10438 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10443 eval "$wx_cv_use_controls"
10444 if test "$no_cache" != 1; then
10445 echo $wx_cv_use_controls >> ${wx_arg_cache_file}.tmp
10448 if test x"$enablestring" = xdisable; then
10449 if test $wxUSE_CONTROLS = yes; then
10455 result=$wxUSE_CONTROLS
10458 { echo "$as_me:$LINENO: result: $result" >&5
10459 echo "${ECHO_T}$result" >&6; }
10462 if test "$wxUSE_CONTROLS" = "yes"; then
10463 DEFAULT_wxUSE_ACCEL=yes
10464 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10465 DEFAULT_wxUSE_BMPBUTTON=yes
10466 DEFAULT_wxUSE_BUTTON=yes
10467 DEFAULT_wxUSE_CALCTRL=yes
10468 DEFAULT_wxUSE_CARET=yes
10469 DEFAULT_wxUSE_COMBOBOX=yes
10470 DEFAULT_wxUSE_CHECKBOX=yes
10471 DEFAULT_wxUSE_CHECKLISTBOX=yes
10472 DEFAULT_wxUSE_CHOICE=yes
10473 DEFAULT_wxUSE_CHOICEBOOK=yes
10474 DEFAULT_wxUSE_COLLPANE=yes
10475 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10476 DEFAULT_wxUSE_COMBOBOX=yes
10477 DEFAULT_wxUSE_DATEPICKCTRL=yes
10478 DEFAULT_wxUSE_DISPLAY=yes
10479 DEFAULT_wxUSE_DETECT_SM=yes
10480 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10481 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10482 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10483 DEFAULT_wxUSE_GAUGE=yes
10484 DEFAULT_wxUSE_GRID=yes
10485 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10486 DEFAULT_wxUSE_DATAVIEWCTRL=no
10487 DEFAULT_wxUSE_IMAGLIST=yes
10488 DEFAULT_wxUSE_LISTBOOK=yes
10489 DEFAULT_wxUSE_LISTBOX=yes
10490 DEFAULT_wxUSE_LISTCTRL=yes
10491 DEFAULT_wxUSE_NOTEBOOK=yes
10492 DEFAULT_wxUSE_RADIOBOX=yes
10493 DEFAULT_wxUSE_RADIOBTN=yes
10494 DEFAULT_wxUSE_SASH=yes
10495 DEFAULT_wxUSE_SCROLLBAR=yes
10496 DEFAULT_wxUSE_SEARCHCTRL=yes
10497 DEFAULT_wxUSE_SLIDER=yes
10498 DEFAULT_wxUSE_SPINBTN=yes
10499 DEFAULT_wxUSE_SPINCTRL=yes
10500 DEFAULT_wxUSE_SPLITTER=yes
10501 DEFAULT_wxUSE_STATBMP=yes
10502 DEFAULT_wxUSE_STATBOX=yes
10503 DEFAULT_wxUSE_STATLINE=yes
10504 DEFAULT_wxUSE_STATUSBAR=yes
10505 DEFAULT_wxUSE_TAB_DIALOG=yes
10506 DEFAULT_wxUSE_TOGGLEBTN=yes
10507 DEFAULT_wxUSE_TOOLBAR=yes
10508 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10509 DEFAULT_wxUSE_TOOLTIPS=yes
10510 DEFAULT_wxUSE_TREEBOOK=yes
10511 DEFAULT_wxUSE_TOOLBOOK=yes
10512 DEFAULT_wxUSE_TREECTRL=yes
10513 DEFAULT_wxUSE_POPUPWIN=yes
10514 DEFAULT_wxUSE_TIPWINDOW=yes
10515 elif test "$wxUSE_CONTROLS" = "no"; then
10516 DEFAULT_wxUSE_ACCEL=no
10517 DEFAULT_wxUSE_ANIMATIONCTRL=no
10518 DEFAULT_wxUSE_BMPBUTTON=no
10519 DEFAULT_wxUSE_BUTTON=no
10520 DEFAULT_wxUSE_CALCTRL=no
10521 DEFAULT_wxUSE_CARET=no
10522 DEFAULT_wxUSE_COLLPANE=no
10523 DEFAULT_wxUSE_COMBOBOX=no
10524 DEFAULT_wxUSE_CHECKBOX=no
10525 DEFAULT_wxUSE_CHECKLISTBOX=no
10526 DEFAULT_wxUSE_CHOICE=no
10527 DEFAULT_wxUSE_CHOICEBOOK=no
10528 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10529 DEFAULT_wxUSE_COMBOBOX=no
10530 DEFAULT_wxUSE_DATEPICKCTRL=no
10531 DEFAULT_wxUSE_DISPLAY=no
10532 DEFAULT_wxUSE_DETECT_SM=no
10533 DEFAULT_wxUSE_DIRPICKERCTRL=no
10534 DEFAULT_wxUSE_FILEPICKERCTRL=no
10535 DEFAULT_wxUSE_FONTPICKERCTRL=no
10536 DEFAULT_wxUSE_GAUGE=no
10537 DEFAULT_wxUSE_GRID=no
10538 DEFAULT_wxUSE_HYPERLINKCTRL=no
10539 DEFAULT_wxUSE_DATAVIEWCTRL=no
10540 DEFAULT_wxUSE_IMAGLIST=no
10541 DEFAULT_wxUSE_LISTBOOK=no
10542 DEFAULT_wxUSE_LISTBOX=no
10543 DEFAULT_wxUSE_LISTCTRL=no
10544 DEFAULT_wxUSE_NOTEBOOK=no
10545 DEFAULT_wxUSE_RADIOBOX=no
10546 DEFAULT_wxUSE_RADIOBTN=no
10547 DEFAULT_wxUSE_SASH=no
10548 DEFAULT_wxUSE_SCROLLBAR=no
10549 DEFAULT_wxUSE_SEARCHCTRL=no
10550 DEFAULT_wxUSE_SLIDER=no
10551 DEFAULT_wxUSE_SPINBTN=no
10552 DEFAULT_wxUSE_SPINCTRL=no
10553 DEFAULT_wxUSE_SPLITTER=no
10554 DEFAULT_wxUSE_STATBMP=no
10555 DEFAULT_wxUSE_STATBOX=no
10556 DEFAULT_wxUSE_STATLINE=no
10557 DEFAULT_wxUSE_STATUSBAR=no
10558 DEFAULT_wxUSE_TAB_DIALOG=no
10559 DEFAULT_wxUSE_TOGGLEBTN=no
10560 DEFAULT_wxUSE_TOOLBAR=no
10561 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10562 DEFAULT_wxUSE_TOOLTIPS=no
10563 DEFAULT_wxUSE_TREEBOOK=no
10564 DEFAULT_wxUSE_TOOLBOOK=no
10565 DEFAULT_wxUSE_TREECTRL=no
10566 DEFAULT_wxUSE_POPUPWIN=no
10567 DEFAULT_wxUSE_TIPWINDOW=no
10572 defaultval=$wxUSE_ALL_FEATURES
10573 if test -z "$defaultval"; then
10574 if test x"$enablestring" = xdisable; then
10581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10582 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10584 # Check whether --enable-accel was given.
10585 if test "${enable_accel+set}" = set; then
10586 enableval=$enable_accel;
10587 if test "$enableval" = yes; then
10588 wx_cv_use_accel='wxUSE_ACCEL=yes'
10590 wx_cv_use_accel='wxUSE_ACCEL=no'
10595 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10596 if test "x$LINE" != x ; then
10597 eval "DEFAULT_$LINE"
10602 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10607 eval "$wx_cv_use_accel"
10608 if test "$no_cache" != 1; then
10609 echo $wx_cv_use_accel >> ${wx_arg_cache_file}.tmp
10612 if test x"$enablestring" = xdisable; then
10613 if test $wxUSE_ACCEL = yes; then
10619 result=$wxUSE_ACCEL
10622 { echo "$as_me:$LINENO: result: $result" >&5
10623 echo "${ECHO_T}$result" >&6; }
10627 defaultval=$wxUSE_ALL_FEATURES
10628 if test -z "$defaultval"; then
10629 if test x"$enablestring" = xdisable; then
10636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10637 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10639 # Check whether --enable-animatectrl was given.
10640 if test "${enable_animatectrl+set}" = set; then
10641 enableval=$enable_animatectrl;
10642 if test "$enableval" = yes; then
10643 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10645 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10650 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10651 if test "x$LINE" != x ; then
10652 eval "DEFAULT_$LINE"
10657 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10662 eval "$wx_cv_use_animatectrl"
10663 if test "$no_cache" != 1; then
10664 echo $wx_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
10667 if test x"$enablestring" = xdisable; then
10668 if test $wxUSE_ANIMATIONCTRL = yes; then
10674 result=$wxUSE_ANIMATIONCTRL
10677 { echo "$as_me:$LINENO: result: $result" >&5
10678 echo "${ECHO_T}$result" >&6; }
10682 defaultval=$wxUSE_ALL_FEATURES
10683 if test -z "$defaultval"; then
10684 if test x"$enablestring" = xdisable; then
10691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10692 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10694 # Check whether --enable-button was given.
10695 if test "${enable_button+set}" = set; then
10696 enableval=$enable_button;
10697 if test "$enableval" = yes; then
10698 wx_cv_use_button='wxUSE_BUTTON=yes'
10700 wx_cv_use_button='wxUSE_BUTTON=no'
10705 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10706 if test "x$LINE" != x ; then
10707 eval "DEFAULT_$LINE"
10712 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10717 eval "$wx_cv_use_button"
10718 if test "$no_cache" != 1; then
10719 echo $wx_cv_use_button >> ${wx_arg_cache_file}.tmp
10722 if test x"$enablestring" = xdisable; then
10723 if test $wxUSE_BUTTON = yes; then
10729 result=$wxUSE_BUTTON
10732 { echo "$as_me:$LINENO: result: $result" >&5
10733 echo "${ECHO_T}$result" >&6; }
10737 defaultval=$wxUSE_ALL_FEATURES
10738 if test -z "$defaultval"; then
10739 if test x"$enablestring" = xdisable; then
10746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10747 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10749 # Check whether --enable-bmpbutton was given.
10750 if test "${enable_bmpbutton+set}" = set; then
10751 enableval=$enable_bmpbutton;
10752 if test "$enableval" = yes; then
10753 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10755 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10760 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
10761 if test "x$LINE" != x ; then
10762 eval "DEFAULT_$LINE"
10767 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10772 eval "$wx_cv_use_bmpbutton"
10773 if test "$no_cache" != 1; then
10774 echo $wx_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
10777 if test x"$enablestring" = xdisable; then
10778 if test $wxUSE_BMPBUTTON = yes; then
10784 result=$wxUSE_BMPBUTTON
10787 { echo "$as_me:$LINENO: result: $result" >&5
10788 echo "${ECHO_T}$result" >&6; }
10792 defaultval=$wxUSE_ALL_FEATURES
10793 if test -z "$defaultval"; then
10794 if test x"$enablestring" = xdisable; then
10801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10802 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10804 # Check whether --enable-bmpcombobox was given.
10805 if test "${enable_bmpcombobox+set}" = set; then
10806 enableval=$enable_bmpcombobox;
10807 if test "$enableval" = yes; then
10808 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10810 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10815 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
10816 if test "x$LINE" != x ; then
10817 eval "DEFAULT_$LINE"
10822 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10827 eval "$wx_cv_use_bmpcombobox"
10828 if test "$no_cache" != 1; then
10829 echo $wx_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
10832 if test x"$enablestring" = xdisable; then
10833 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10839 result=$wxUSE_BITMAPCOMBOBOX
10842 { echo "$as_me:$LINENO: result: $result" >&5
10843 echo "${ECHO_T}$result" >&6; }
10847 defaultval=$wxUSE_ALL_FEATURES
10848 if test -z "$defaultval"; then
10849 if test x"$enablestring" = xdisable; then
10856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10857 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10859 # Check whether --enable-calendar was given.
10860 if test "${enable_calendar+set}" = set; then
10861 enableval=$enable_calendar;
10862 if test "$enableval" = yes; then
10863 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10865 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10870 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
10871 if test "x$LINE" != x ; then
10872 eval "DEFAULT_$LINE"
10877 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10882 eval "$wx_cv_use_calendar"
10883 if test "$no_cache" != 1; then
10884 echo $wx_cv_use_calendar >> ${wx_arg_cache_file}.tmp
10887 if test x"$enablestring" = xdisable; then
10888 if test $wxUSE_CALCTRL = yes; then
10894 result=$wxUSE_CALCTRL
10897 { echo "$as_me:$LINENO: result: $result" >&5
10898 echo "${ECHO_T}$result" >&6; }
10902 defaultval=$wxUSE_ALL_FEATURES
10903 if test -z "$defaultval"; then
10904 if test x"$enablestring" = xdisable; then
10911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10912 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10914 # Check whether --enable-caret was given.
10915 if test "${enable_caret+set}" = set; then
10916 enableval=$enable_caret;
10917 if test "$enableval" = yes; then
10918 wx_cv_use_caret='wxUSE_CARET=yes'
10920 wx_cv_use_caret='wxUSE_CARET=no'
10925 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
10926 if test "x$LINE" != x ; then
10927 eval "DEFAULT_$LINE"
10932 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10937 eval "$wx_cv_use_caret"
10938 if test "$no_cache" != 1; then
10939 echo $wx_cv_use_caret >> ${wx_arg_cache_file}.tmp
10942 if test x"$enablestring" = xdisable; then
10943 if test $wxUSE_CARET = yes; then
10949 result=$wxUSE_CARET
10952 { echo "$as_me:$LINENO: result: $result" >&5
10953 echo "${ECHO_T}$result" >&6; }
10957 defaultval=$wxUSE_ALL_FEATURES
10958 if test -z "$defaultval"; then
10959 if test x"$enablestring" = xdisable; then
10966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10967 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10969 # Check whether --enable-checkbox was given.
10970 if test "${enable_checkbox+set}" = set; then
10971 enableval=$enable_checkbox;
10972 if test "$enableval" = yes; then
10973 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10975 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10980 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
10981 if test "x$LINE" != x ; then
10982 eval "DEFAULT_$LINE"
10987 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10992 eval "$wx_cv_use_checkbox"
10993 if test "$no_cache" != 1; then
10994 echo $wx_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
10997 if test x"$enablestring" = xdisable; then
10998 if test $wxUSE_CHECKBOX = yes; then
11004 result=$wxUSE_CHECKBOX
11007 { echo "$as_me:$LINENO: result: $result" >&5
11008 echo "${ECHO_T}$result" >&6; }
11012 defaultval=$wxUSE_ALL_FEATURES
11013 if test -z "$defaultval"; then
11014 if test x"$enablestring" = xdisable; then
11021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
11022 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
11024 # Check whether --enable-checklst was given.
11025 if test "${enable_checklst+set}" = set; then
11026 enableval=$enable_checklst;
11027 if test "$enableval" = yes; then
11028 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11030 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11035 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11036 if test "x$LINE" != x ; then
11037 eval "DEFAULT_$LINE"
11042 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11047 eval "$wx_cv_use_checklst"
11048 if test "$no_cache" != 1; then
11049 echo $wx_cv_use_checklst >> ${wx_arg_cache_file}.tmp
11052 if test x"$enablestring" = xdisable; then
11053 if test $wxUSE_CHECKLST = yes; then
11059 result=$wxUSE_CHECKLST
11062 { echo "$as_me:$LINENO: result: $result" >&5
11063 echo "${ECHO_T}$result" >&6; }
11067 defaultval=$wxUSE_ALL_FEATURES
11068 if test -z "$defaultval"; then
11069 if test x"$enablestring" = xdisable; then
11076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11077 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11079 # Check whether --enable-choice was given.
11080 if test "${enable_choice+set}" = set; then
11081 enableval=$enable_choice;
11082 if test "$enableval" = yes; then
11083 wx_cv_use_choice='wxUSE_CHOICE=yes'
11085 wx_cv_use_choice='wxUSE_CHOICE=no'
11090 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11091 if test "x$LINE" != x ; then
11092 eval "DEFAULT_$LINE"
11097 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11102 eval "$wx_cv_use_choice"
11103 if test "$no_cache" != 1; then
11104 echo $wx_cv_use_choice >> ${wx_arg_cache_file}.tmp
11107 if test x"$enablestring" = xdisable; then
11108 if test $wxUSE_CHOICE = yes; then
11114 result=$wxUSE_CHOICE
11117 { echo "$as_me:$LINENO: result: $result" >&5
11118 echo "${ECHO_T}$result" >&6; }
11122 defaultval=$wxUSE_ALL_FEATURES
11123 if test -z "$defaultval"; then
11124 if test x"$enablestring" = xdisable; then
11131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11132 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11134 # Check whether --enable-choicebook was given.
11135 if test "${enable_choicebook+set}" = set; then
11136 enableval=$enable_choicebook;
11137 if test "$enableval" = yes; then
11138 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11140 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11145 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11146 if test "x$LINE" != x ; then
11147 eval "DEFAULT_$LINE"
11152 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11157 eval "$wx_cv_use_choicebook"
11158 if test "$no_cache" != 1; then
11159 echo $wx_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
11162 if test x"$enablestring" = xdisable; then
11163 if test $wxUSE_CHOICEBOOK = yes; then
11169 result=$wxUSE_CHOICEBOOK
11172 { echo "$as_me:$LINENO: result: $result" >&5
11173 echo "${ECHO_T}$result" >&6; }
11177 defaultval=$wxUSE_ALL_FEATURES
11178 if test -z "$defaultval"; then
11179 if test x"$enablestring" = xdisable; then
11186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11187 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11189 # Check whether --enable-collpane was given.
11190 if test "${enable_collpane+set}" = set; then
11191 enableval=$enable_collpane;
11192 if test "$enableval" = yes; then
11193 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11195 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11200 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11201 if test "x$LINE" != x ; then
11202 eval "DEFAULT_$LINE"
11207 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11212 eval "$wx_cv_use_collpane"
11213 if test "$no_cache" != 1; then
11214 echo $wx_cv_use_collpane >> ${wx_arg_cache_file}.tmp
11217 if test x"$enablestring" = xdisable; then
11218 if test $wxUSE_COLLPANE = yes; then
11224 result=$wxUSE_COLLPANE
11227 { echo "$as_me:$LINENO: result: $result" >&5
11228 echo "${ECHO_T}$result" >&6; }
11232 defaultval=$wxUSE_ALL_FEATURES
11233 if test -z "$defaultval"; then
11234 if test x"$enablestring" = xdisable; then
11241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11242 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11244 # Check whether --enable-colourpicker was given.
11245 if test "${enable_colourpicker+set}" = set; then
11246 enableval=$enable_colourpicker;
11247 if test "$enableval" = yes; then
11248 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11250 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11255 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11256 if test "x$LINE" != x ; then
11257 eval "DEFAULT_$LINE"
11262 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11267 eval "$wx_cv_use_colourpicker"
11268 if test "$no_cache" != 1; then
11269 echo $wx_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
11272 if test x"$enablestring" = xdisable; then
11273 if test $wxUSE_COLOURPICKERCTRL = yes; then
11279 result=$wxUSE_COLOURPICKERCTRL
11282 { echo "$as_me:$LINENO: result: $result" >&5
11283 echo "${ECHO_T}$result" >&6; }
11287 defaultval=$wxUSE_ALL_FEATURES
11288 if test -z "$defaultval"; then
11289 if test x"$enablestring" = xdisable; then
11296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11297 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11299 # Check whether --enable-combobox was given.
11300 if test "${enable_combobox+set}" = set; then
11301 enableval=$enable_combobox;
11302 if test "$enableval" = yes; then
11303 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11305 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11310 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11311 if test "x$LINE" != x ; then
11312 eval "DEFAULT_$LINE"
11317 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11322 eval "$wx_cv_use_combobox"
11323 if test "$no_cache" != 1; then
11324 echo $wx_cv_use_combobox >> ${wx_arg_cache_file}.tmp
11327 if test x"$enablestring" = xdisable; then
11328 if test $wxUSE_COMBOBOX = yes; then
11334 result=$wxUSE_COMBOBOX
11337 { echo "$as_me:$LINENO: result: $result" >&5
11338 echo "${ECHO_T}$result" >&6; }
11342 defaultval=$wxUSE_ALL_FEATURES
11343 if test -z "$defaultval"; then
11344 if test x"$enablestring" = xdisable; then
11351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11352 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11354 # Check whether --enable-comboctrl was given.
11355 if test "${enable_comboctrl+set}" = set; then
11356 enableval=$enable_comboctrl;
11357 if test "$enableval" = yes; then
11358 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11360 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11365 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11366 if test "x$LINE" != x ; then
11367 eval "DEFAULT_$LINE"
11372 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11377 eval "$wx_cv_use_comboctrl"
11378 if test "$no_cache" != 1; then
11379 echo $wx_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
11382 if test x"$enablestring" = xdisable; then
11383 if test $wxUSE_COMBOCTRL = yes; then
11389 result=$wxUSE_COMBOCTRL
11392 { echo "$as_me:$LINENO: result: $result" >&5
11393 echo "${ECHO_T}$result" >&6; }
11397 defaultval=$wxUSE_ALL_FEATURES
11398 if test -z "$defaultval"; then
11399 if test x"$enablestring" = xdisable; then
11406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11407 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11409 # Check whether --enable-datepick was given.
11410 if test "${enable_datepick+set}" = set; then
11411 enableval=$enable_datepick;
11412 if test "$enableval" = yes; then
11413 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11415 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11420 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11421 if test "x$LINE" != x ; then
11422 eval "DEFAULT_$LINE"
11427 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11432 eval "$wx_cv_use_datepick"
11433 if test "$no_cache" != 1; then
11434 echo $wx_cv_use_datepick >> ${wx_arg_cache_file}.tmp
11437 if test x"$enablestring" = xdisable; then
11438 if test $wxUSE_DATEPICKCTRL = yes; then
11444 result=$wxUSE_DATEPICKCTRL
11447 { echo "$as_me:$LINENO: result: $result" >&5
11448 echo "${ECHO_T}$result" >&6; }
11452 defaultval=$wxUSE_ALL_FEATURES
11453 if test -z "$defaultval"; then
11454 if test x"$enablestring" = xdisable; then
11461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11462 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11464 # Check whether --enable-dirpicker was given.
11465 if test "${enable_dirpicker+set}" = set; then
11466 enableval=$enable_dirpicker;
11467 if test "$enableval" = yes; then
11468 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11470 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11475 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11476 if test "x$LINE" != x ; then
11477 eval "DEFAULT_$LINE"
11482 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11487 eval "$wx_cv_use_dirpicker"
11488 if test "$no_cache" != 1; then
11489 echo $wx_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
11492 if test x"$enablestring" = xdisable; then
11493 if test $wxUSE_DIRPICKERCTRL = yes; then
11499 result=$wxUSE_DIRPICKERCTRL
11502 { echo "$as_me:$LINENO: result: $result" >&5
11503 echo "${ECHO_T}$result" >&6; }
11507 defaultval=$wxUSE_ALL_FEATURES
11508 if test -z "$defaultval"; then
11509 if test x"$enablestring" = xdisable; then
11516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11517 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11519 # Check whether --enable-display was given.
11520 if test "${enable_display+set}" = set; then
11521 enableval=$enable_display;
11522 if test "$enableval" = yes; then
11523 wx_cv_use_display='wxUSE_DISPLAY=yes'
11525 wx_cv_use_display='wxUSE_DISPLAY=no'
11530 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11531 if test "x$LINE" != x ; then
11532 eval "DEFAULT_$LINE"
11537 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11542 eval "$wx_cv_use_display"
11543 if test "$no_cache" != 1; then
11544 echo $wx_cv_use_display >> ${wx_arg_cache_file}.tmp
11547 if test x"$enablestring" = xdisable; then
11548 if test $wxUSE_DISPLAY = yes; then
11554 result=$wxUSE_DISPLAY
11557 { echo "$as_me:$LINENO: result: $result" >&5
11558 echo "${ECHO_T}$result" >&6; }
11562 defaultval=$wxUSE_ALL_FEATURES
11563 if test -z "$defaultval"; then
11564 if test x"$enablestring" = xdisable; then
11571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11572 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11574 # Check whether --enable-detect_sm was given.
11575 if test "${enable_detect_sm+set}" = set; then
11576 enableval=$enable_detect_sm;
11577 if test "$enableval" = yes; then
11578 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11580 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11585 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11586 if test "x$LINE" != x ; then
11587 eval "DEFAULT_$LINE"
11592 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11597 eval "$wx_cv_use_detect_sm"
11598 if test "$no_cache" != 1; then
11599 echo $wx_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
11602 if test x"$enablestring" = xdisable; then
11603 if test $wxUSE_DETECT_SM = yes; then
11609 result=$wxUSE_DETECT_SM
11612 { echo "$as_me:$LINENO: result: $result" >&5
11613 echo "${ECHO_T}$result" >&6; }
11617 defaultval=$wxUSE_ALL_FEATURES
11618 if test -z "$defaultval"; then
11619 if test x"$enablestring" = xdisable; then
11626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11627 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11629 # Check whether --enable-editablebox was given.
11630 if test "${enable_editablebox+set}" = set; then
11631 enableval=$enable_editablebox;
11632 if test "$enableval" = yes; then
11633 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11635 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11640 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11641 if test "x$LINE" != x ; then
11642 eval "DEFAULT_$LINE"
11647 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11652 eval "$wx_cv_use_editablebox"
11653 if test "$no_cache" != 1; then
11654 echo $wx_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
11657 if test x"$enablestring" = xdisable; then
11658 if test $wxUSE_EDITABLELISTBOX = yes; then
11664 result=$wxUSE_EDITABLELISTBOX
11667 { echo "$as_me:$LINENO: result: $result" >&5
11668 echo "${ECHO_T}$result" >&6; }
11672 defaultval=$wxUSE_ALL_FEATURES
11673 if test -z "$defaultval"; then
11674 if test x"$enablestring" = xdisable; then
11681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11682 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11684 # Check whether --enable-filepicker was given.
11685 if test "${enable_filepicker+set}" = set; then
11686 enableval=$enable_filepicker;
11687 if test "$enableval" = yes; then
11688 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11690 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11695 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11696 if test "x$LINE" != x ; then
11697 eval "DEFAULT_$LINE"
11702 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11707 eval "$wx_cv_use_filepicker"
11708 if test "$no_cache" != 1; then
11709 echo $wx_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
11712 if test x"$enablestring" = xdisable; then
11713 if test $wxUSE_FILEPICKERCTRL = yes; then
11719 result=$wxUSE_FILEPICKERCTRL
11722 { echo "$as_me:$LINENO: result: $result" >&5
11723 echo "${ECHO_T}$result" >&6; }
11727 defaultval=$wxUSE_ALL_FEATURES
11728 if test -z "$defaultval"; then
11729 if test x"$enablestring" = xdisable; then
11736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11737 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11739 # Check whether --enable-fontpicker was given.
11740 if test "${enable_fontpicker+set}" = set; then
11741 enableval=$enable_fontpicker;
11742 if test "$enableval" = yes; then
11743 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11745 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11750 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
11751 if test "x$LINE" != x ; then
11752 eval "DEFAULT_$LINE"
11757 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11762 eval "$wx_cv_use_fontpicker"
11763 if test "$no_cache" != 1; then
11764 echo $wx_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
11767 if test x"$enablestring" = xdisable; then
11768 if test $wxUSE_FONTPICKERCTRL = yes; then
11774 result=$wxUSE_FONTPICKERCTRL
11777 { echo "$as_me:$LINENO: result: $result" >&5
11778 echo "${ECHO_T}$result" >&6; }
11782 defaultval=$wxUSE_ALL_FEATURES
11783 if test -z "$defaultval"; then
11784 if test x"$enablestring" = xdisable; then
11791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11792 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11794 # Check whether --enable-gauge was given.
11795 if test "${enable_gauge+set}" = set; then
11796 enableval=$enable_gauge;
11797 if test "$enableval" = yes; then
11798 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11800 wx_cv_use_gauge='wxUSE_GAUGE=no'
11805 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
11806 if test "x$LINE" != x ; then
11807 eval "DEFAULT_$LINE"
11812 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11817 eval "$wx_cv_use_gauge"
11818 if test "$no_cache" != 1; then
11819 echo $wx_cv_use_gauge >> ${wx_arg_cache_file}.tmp
11822 if test x"$enablestring" = xdisable; then
11823 if test $wxUSE_GAUGE = yes; then
11829 result=$wxUSE_GAUGE
11832 { echo "$as_me:$LINENO: result: $result" >&5
11833 echo "${ECHO_T}$result" >&6; }
11837 defaultval=$wxUSE_ALL_FEATURES
11838 if test -z "$defaultval"; then
11839 if test x"$enablestring" = xdisable; then
11846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11847 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11849 # Check whether --enable-grid was given.
11850 if test "${enable_grid+set}" = set; then
11851 enableval=$enable_grid;
11852 if test "$enableval" = yes; then
11853 wx_cv_use_grid='wxUSE_GRID=yes'
11855 wx_cv_use_grid='wxUSE_GRID=no'
11860 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
11861 if test "x$LINE" != x ; then
11862 eval "DEFAULT_$LINE"
11867 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11872 eval "$wx_cv_use_grid"
11873 if test "$no_cache" != 1; then
11874 echo $wx_cv_use_grid >> ${wx_arg_cache_file}.tmp
11877 if test x"$enablestring" = xdisable; then
11878 if test $wxUSE_GRID = yes; then
11887 { echo "$as_me:$LINENO: result: $result" >&5
11888 echo "${ECHO_T}$result" >&6; }
11892 defaultval=$wxUSE_ALL_FEATURES
11893 if test -z "$defaultval"; then
11894 if test x"$enablestring" = xdisable; then
11901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
11902 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
11904 # Check whether --enable-dataviewctrl was given.
11905 if test "${enable_dataviewctrl+set}" = set; then
11906 enableval=$enable_dataviewctrl;
11907 if test "$enableval" = yes; then
11908 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11910 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11915 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
11916 if test "x$LINE" != x ; then
11917 eval "DEFAULT_$LINE"
11922 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11927 eval "$wx_cv_use_dataviewctrl"
11928 if test "$no_cache" != 1; then
11929 echo $wx_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
11932 if test x"$enablestring" = xdisable; then
11933 if test $wxUSE_DATAVIEWCTRL = yes; then
11939 result=$wxUSE_DATAVIEWCTRL
11942 { echo "$as_me:$LINENO: result: $result" >&5
11943 echo "${ECHO_T}$result" >&6; }
11947 defaultval=$wxUSE_ALL_FEATURES
11948 if test -z "$defaultval"; then
11949 if test x"$enablestring" = xdisable; then
11956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11957 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11959 # Check whether --enable-hyperlink was given.
11960 if test "${enable_hyperlink+set}" = set; then
11961 enableval=$enable_hyperlink;
11962 if test "$enableval" = yes; then
11963 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11965 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11970 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
11971 if test "x$LINE" != x ; then
11972 eval "DEFAULT_$LINE"
11977 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11982 eval "$wx_cv_use_hyperlink"
11983 if test "$no_cache" != 1; then
11984 echo $wx_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
11987 if test x"$enablestring" = xdisable; then
11988 if test $wxUSE_HYPERLINKCTRL = yes; then
11994 result=$wxUSE_HYPERLINKCTRL
11997 { echo "$as_me:$LINENO: result: $result" >&5
11998 echo "${ECHO_T}$result" >&6; }
12002 defaultval=$wxUSE_ALL_FEATURES
12003 if test -z "$defaultval"; then
12004 if test x"$enablestring" = xdisable; then
12011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12012 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12014 # Check whether --enable-imaglist was given.
12015 if test "${enable_imaglist+set}" = set; then
12016 enableval=$enable_imaglist;
12017 if test "$enableval" = yes; then
12018 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12020 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12025 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12026 if test "x$LINE" != x ; then
12027 eval "DEFAULT_$LINE"
12032 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12037 eval "$wx_cv_use_imaglist"
12038 if test "$no_cache" != 1; then
12039 echo $wx_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
12042 if test x"$enablestring" = xdisable; then
12043 if test $wxUSE_IMAGLIST = yes; then
12049 result=$wxUSE_IMAGLIST
12052 { echo "$as_me:$LINENO: result: $result" >&5
12053 echo "${ECHO_T}$result" >&6; }
12057 defaultval=$wxUSE_ALL_FEATURES
12058 if test -z "$defaultval"; then
12059 if test x"$enablestring" = xdisable; then
12066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12067 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12069 # Check whether --enable-listbook was given.
12070 if test "${enable_listbook+set}" = set; then
12071 enableval=$enable_listbook;
12072 if test "$enableval" = yes; then
12073 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12075 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12080 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12081 if test "x$LINE" != x ; then
12082 eval "DEFAULT_$LINE"
12087 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12092 eval "$wx_cv_use_listbook"
12093 if test "$no_cache" != 1; then
12094 echo $wx_cv_use_listbook >> ${wx_arg_cache_file}.tmp
12097 if test x"$enablestring" = xdisable; then
12098 if test $wxUSE_LISTBOOK = yes; then
12104 result=$wxUSE_LISTBOOK
12107 { echo "$as_me:$LINENO: result: $result" >&5
12108 echo "${ECHO_T}$result" >&6; }
12112 defaultval=$wxUSE_ALL_FEATURES
12113 if test -z "$defaultval"; then
12114 if test x"$enablestring" = xdisable; then
12121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12122 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12124 # Check whether --enable-listbox was given.
12125 if test "${enable_listbox+set}" = set; then
12126 enableval=$enable_listbox;
12127 if test "$enableval" = yes; then
12128 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12130 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12135 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12136 if test "x$LINE" != x ; then
12137 eval "DEFAULT_$LINE"
12142 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12147 eval "$wx_cv_use_listbox"
12148 if test "$no_cache" != 1; then
12149 echo $wx_cv_use_listbox >> ${wx_arg_cache_file}.tmp
12152 if test x"$enablestring" = xdisable; then
12153 if test $wxUSE_LISTBOX = yes; then
12159 result=$wxUSE_LISTBOX
12162 { echo "$as_me:$LINENO: result: $result" >&5
12163 echo "${ECHO_T}$result" >&6; }
12167 defaultval=$wxUSE_ALL_FEATURES
12168 if test -z "$defaultval"; then
12169 if test x"$enablestring" = xdisable; then
12176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12177 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12179 # Check whether --enable-listctrl was given.
12180 if test "${enable_listctrl+set}" = set; then
12181 enableval=$enable_listctrl;
12182 if test "$enableval" = yes; then
12183 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12185 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12190 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12191 if test "x$LINE" != x ; then
12192 eval "DEFAULT_$LINE"
12197 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12202 eval "$wx_cv_use_listctrl"
12203 if test "$no_cache" != 1; then
12204 echo $wx_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
12207 if test x"$enablestring" = xdisable; then
12208 if test $wxUSE_LISTCTRL = yes; then
12214 result=$wxUSE_LISTCTRL
12217 { echo "$as_me:$LINENO: result: $result" >&5
12218 echo "${ECHO_T}$result" >&6; }
12222 defaultval=$wxUSE_ALL_FEATURES
12223 if test -z "$defaultval"; then
12224 if test x"$enablestring" = xdisable; then
12231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12232 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12234 # Check whether --enable-notebook was given.
12235 if test "${enable_notebook+set}" = set; then
12236 enableval=$enable_notebook;
12237 if test "$enableval" = yes; then
12238 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12240 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12245 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12246 if test "x$LINE" != x ; then
12247 eval "DEFAULT_$LINE"
12252 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12257 eval "$wx_cv_use_notebook"
12258 if test "$no_cache" != 1; then
12259 echo $wx_cv_use_notebook >> ${wx_arg_cache_file}.tmp
12262 if test x"$enablestring" = xdisable; then
12263 if test $wxUSE_NOTEBOOK = yes; then
12269 result=$wxUSE_NOTEBOOK
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}-odcombobox" >&5
12287 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12289 # Check whether --enable-odcombobox was given.
12290 if test "${enable_odcombobox+set}" = set; then
12291 enableval=$enable_odcombobox;
12292 if test "$enableval" = yes; then
12293 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12295 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12300 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12301 if test "x$LINE" != x ; then
12302 eval "DEFAULT_$LINE"
12307 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12312 eval "$wx_cv_use_odcombobox"
12313 if test "$no_cache" != 1; then
12314 echo $wx_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
12317 if test x"$enablestring" = xdisable; then
12318 if test $wxUSE_ODCOMBOBOX = yes; then
12324 result=$wxUSE_ODCOMBOBOX
12327 { echo "$as_me:$LINENO: result: $result" >&5
12328 echo "${ECHO_T}$result" >&6; }
12332 defaultval=$wxUSE_ALL_FEATURES
12333 if test -z "$defaultval"; then
12334 if test x"$enablestring" = xdisable; then
12341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12342 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12344 # Check whether --enable-radiobox was given.
12345 if test "${enable_radiobox+set}" = set; then
12346 enableval=$enable_radiobox;
12347 if test "$enableval" = yes; then
12348 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12350 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12355 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12356 if test "x$LINE" != x ; then
12357 eval "DEFAULT_$LINE"
12362 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12367 eval "$wx_cv_use_radiobox"
12368 if test "$no_cache" != 1; then
12369 echo $wx_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
12372 if test x"$enablestring" = xdisable; then
12373 if test $wxUSE_RADIOBOX = yes; then
12379 result=$wxUSE_RADIOBOX
12382 { echo "$as_me:$LINENO: result: $result" >&5
12383 echo "${ECHO_T}$result" >&6; }
12387 defaultval=$wxUSE_ALL_FEATURES
12388 if test -z "$defaultval"; then
12389 if test x"$enablestring" = xdisable; then
12396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12397 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12399 # Check whether --enable-radiobtn was given.
12400 if test "${enable_radiobtn+set}" = set; then
12401 enableval=$enable_radiobtn;
12402 if test "$enableval" = yes; then
12403 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12405 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12410 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12411 if test "x$LINE" != x ; then
12412 eval "DEFAULT_$LINE"
12417 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12422 eval "$wx_cv_use_radiobtn"
12423 if test "$no_cache" != 1; then
12424 echo $wx_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
12427 if test x"$enablestring" = xdisable; then
12428 if test $wxUSE_RADIOBTN = yes; then
12434 result=$wxUSE_RADIOBTN
12437 { echo "$as_me:$LINENO: result: $result" >&5
12438 echo "${ECHO_T}$result" >&6; }
12442 defaultval=$wxUSE_ALL_FEATURES
12443 if test -z "$defaultval"; then
12444 if test x"$enablestring" = xdisable; then
12451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12452 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12454 # Check whether --enable-sash was given.
12455 if test "${enable_sash+set}" = set; then
12456 enableval=$enable_sash;
12457 if test "$enableval" = yes; then
12458 wx_cv_use_sash='wxUSE_SASH=yes'
12460 wx_cv_use_sash='wxUSE_SASH=no'
12465 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12466 if test "x$LINE" != x ; then
12467 eval "DEFAULT_$LINE"
12472 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12477 eval "$wx_cv_use_sash"
12478 if test "$no_cache" != 1; then
12479 echo $wx_cv_use_sash >> ${wx_arg_cache_file}.tmp
12482 if test x"$enablestring" = xdisable; then
12483 if test $wxUSE_SASH = yes; then
12492 { echo "$as_me:$LINENO: result: $result" >&5
12493 echo "${ECHO_T}$result" >&6; }
12497 defaultval=$wxUSE_ALL_FEATURES
12498 if test -z "$defaultval"; then
12499 if test x"$enablestring" = xdisable; then
12506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12507 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12509 # Check whether --enable-scrollbar was given.
12510 if test "${enable_scrollbar+set}" = set; then
12511 enableval=$enable_scrollbar;
12512 if test "$enableval" = yes; then
12513 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12515 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12520 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12521 if test "x$LINE" != x ; then
12522 eval "DEFAULT_$LINE"
12527 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12532 eval "$wx_cv_use_scrollbar"
12533 if test "$no_cache" != 1; then
12534 echo $wx_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
12537 if test x"$enablestring" = xdisable; then
12538 if test $wxUSE_SCROLLBAR = yes; then
12544 result=$wxUSE_SCROLLBAR
12547 { echo "$as_me:$LINENO: result: $result" >&5
12548 echo "${ECHO_T}$result" >&6; }
12552 defaultval=$wxUSE_ALL_FEATURES
12553 if test -z "$defaultval"; then
12554 if test x"$enablestring" = xdisable; then
12561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12562 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12564 # Check whether --enable-searchctrl was given.
12565 if test "${enable_searchctrl+set}" = set; then
12566 enableval=$enable_searchctrl;
12567 if test "$enableval" = yes; then
12568 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12570 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12575 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12576 if test "x$LINE" != x ; then
12577 eval "DEFAULT_$LINE"
12582 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12587 eval "$wx_cv_use_searchctrl"
12588 if test "$no_cache" != 1; then
12589 echo $wx_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
12592 if test x"$enablestring" = xdisable; then
12593 if test $wxUSE_SEARCHCTRL = yes; then
12599 result=$wxUSE_SEARCHCTRL
12602 { echo "$as_me:$LINENO: result: $result" >&5
12603 echo "${ECHO_T}$result" >&6; }
12607 defaultval=$wxUSE_ALL_FEATURES
12608 if test -z "$defaultval"; then
12609 if test x"$enablestring" = xdisable; then
12616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12617 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12619 # Check whether --enable-slider was given.
12620 if test "${enable_slider+set}" = set; then
12621 enableval=$enable_slider;
12622 if test "$enableval" = yes; then
12623 wx_cv_use_slider='wxUSE_SLIDER=yes'
12625 wx_cv_use_slider='wxUSE_SLIDER=no'
12630 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12631 if test "x$LINE" != x ; then
12632 eval "DEFAULT_$LINE"
12637 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12642 eval "$wx_cv_use_slider"
12643 if test "$no_cache" != 1; then
12644 echo $wx_cv_use_slider >> ${wx_arg_cache_file}.tmp
12647 if test x"$enablestring" = xdisable; then
12648 if test $wxUSE_SLIDER = yes; then
12654 result=$wxUSE_SLIDER
12657 { echo "$as_me:$LINENO: result: $result" >&5
12658 echo "${ECHO_T}$result" >&6; }
12662 defaultval=$wxUSE_ALL_FEATURES
12663 if test -z "$defaultval"; then
12664 if test x"$enablestring" = xdisable; then
12671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12672 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12674 # Check whether --enable-spinbtn was given.
12675 if test "${enable_spinbtn+set}" = set; then
12676 enableval=$enable_spinbtn;
12677 if test "$enableval" = yes; then
12678 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12680 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12685 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12686 if test "x$LINE" != x ; then
12687 eval "DEFAULT_$LINE"
12692 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12697 eval "$wx_cv_use_spinbtn"
12698 if test "$no_cache" != 1; then
12699 echo $wx_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
12702 if test x"$enablestring" = xdisable; then
12703 if test $wxUSE_SPINBTN = yes; then
12709 result=$wxUSE_SPINBTN
12712 { echo "$as_me:$LINENO: result: $result" >&5
12713 echo "${ECHO_T}$result" >&6; }
12717 defaultval=$wxUSE_ALL_FEATURES
12718 if test -z "$defaultval"; then
12719 if test x"$enablestring" = xdisable; then
12726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12727 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12729 # Check whether --enable-spinctrl was given.
12730 if test "${enable_spinctrl+set}" = set; then
12731 enableval=$enable_spinctrl;
12732 if test "$enableval" = yes; then
12733 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12735 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12740 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
12741 if test "x$LINE" != x ; then
12742 eval "DEFAULT_$LINE"
12747 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12752 eval "$wx_cv_use_spinctrl"
12753 if test "$no_cache" != 1; then
12754 echo $wx_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
12757 if test x"$enablestring" = xdisable; then
12758 if test $wxUSE_SPINCTRL = yes; then
12764 result=$wxUSE_SPINCTRL
12767 { echo "$as_me:$LINENO: result: $result" >&5
12768 echo "${ECHO_T}$result" >&6; }
12772 defaultval=$wxUSE_ALL_FEATURES
12773 if test -z "$defaultval"; then
12774 if test x"$enablestring" = xdisable; then
12781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12782 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12784 # Check whether --enable-splitter was given.
12785 if test "${enable_splitter+set}" = set; then
12786 enableval=$enable_splitter;
12787 if test "$enableval" = yes; then
12788 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12790 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12795 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
12796 if test "x$LINE" != x ; then
12797 eval "DEFAULT_$LINE"
12802 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12807 eval "$wx_cv_use_splitter"
12808 if test "$no_cache" != 1; then
12809 echo $wx_cv_use_splitter >> ${wx_arg_cache_file}.tmp
12812 if test x"$enablestring" = xdisable; then
12813 if test $wxUSE_SPLITTER = yes; then
12819 result=$wxUSE_SPLITTER
12822 { echo "$as_me:$LINENO: result: $result" >&5
12823 echo "${ECHO_T}$result" >&6; }
12827 defaultval=$wxUSE_ALL_FEATURES
12828 if test -z "$defaultval"; then
12829 if test x"$enablestring" = xdisable; then
12836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12837 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12839 # Check whether --enable-statbmp was given.
12840 if test "${enable_statbmp+set}" = set; then
12841 enableval=$enable_statbmp;
12842 if test "$enableval" = yes; then
12843 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12845 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12850 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
12851 if test "x$LINE" != x ; then
12852 eval "DEFAULT_$LINE"
12857 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12862 eval "$wx_cv_use_statbmp"
12863 if test "$no_cache" != 1; then
12864 echo $wx_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
12867 if test x"$enablestring" = xdisable; then
12868 if test $wxUSE_STATBMP = yes; then
12874 result=$wxUSE_STATBMP
12877 { echo "$as_me:$LINENO: result: $result" >&5
12878 echo "${ECHO_T}$result" >&6; }
12882 defaultval=$wxUSE_ALL_FEATURES
12883 if test -z "$defaultval"; then
12884 if test x"$enablestring" = xdisable; then
12891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12892 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12894 # Check whether --enable-statbox was given.
12895 if test "${enable_statbox+set}" = set; then
12896 enableval=$enable_statbox;
12897 if test "$enableval" = yes; then
12898 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12900 wx_cv_use_statbox='wxUSE_STATBOX=no'
12905 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
12906 if test "x$LINE" != x ; then
12907 eval "DEFAULT_$LINE"
12912 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12917 eval "$wx_cv_use_statbox"
12918 if test "$no_cache" != 1; then
12919 echo $wx_cv_use_statbox >> ${wx_arg_cache_file}.tmp
12922 if test x"$enablestring" = xdisable; then
12923 if test $wxUSE_STATBOX = yes; then
12929 result=$wxUSE_STATBOX
12932 { echo "$as_me:$LINENO: result: $result" >&5
12933 echo "${ECHO_T}$result" >&6; }
12937 defaultval=$wxUSE_ALL_FEATURES
12938 if test -z "$defaultval"; then
12939 if test x"$enablestring" = xdisable; then
12946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12947 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12949 # Check whether --enable-statline was given.
12950 if test "${enable_statline+set}" = set; then
12951 enableval=$enable_statline;
12952 if test "$enableval" = yes; then
12953 wx_cv_use_statline='wxUSE_STATLINE=yes'
12955 wx_cv_use_statline='wxUSE_STATLINE=no'
12960 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
12961 if test "x$LINE" != x ; then
12962 eval "DEFAULT_$LINE"
12967 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12972 eval "$wx_cv_use_statline"
12973 if test "$no_cache" != 1; then
12974 echo $wx_cv_use_statline >> ${wx_arg_cache_file}.tmp
12977 if test x"$enablestring" = xdisable; then
12978 if test $wxUSE_STATLINE = yes; then
12984 result=$wxUSE_STATLINE
12987 { echo "$as_me:$LINENO: result: $result" >&5
12988 echo "${ECHO_T}$result" >&6; }
12992 defaultval=$wxUSE_ALL_FEATURES
12993 if test -z "$defaultval"; then
12994 if test x"$enablestring" = xdisable; then
13001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13002 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13004 # Check whether --enable-stattext was given.
13005 if test "${enable_stattext+set}" = set; then
13006 enableval=$enable_stattext;
13007 if test "$enableval" = yes; then
13008 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13010 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13015 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13016 if test "x$LINE" != x ; then
13017 eval "DEFAULT_$LINE"
13022 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13027 eval "$wx_cv_use_stattext"
13028 if test "$no_cache" != 1; then
13029 echo $wx_cv_use_stattext >> ${wx_arg_cache_file}.tmp
13032 if test x"$enablestring" = xdisable; then
13033 if test $wxUSE_STATTEXT = yes; then
13039 result=$wxUSE_STATTEXT
13042 { echo "$as_me:$LINENO: result: $result" >&5
13043 echo "${ECHO_T}$result" >&6; }
13047 defaultval=$wxUSE_ALL_FEATURES
13048 if test -z "$defaultval"; then
13049 if test x"$enablestring" = xdisable; then
13056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13057 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13059 # Check whether --enable-statusbar was given.
13060 if test "${enable_statusbar+set}" = set; then
13061 enableval=$enable_statusbar;
13062 if test "$enableval" = yes; then
13063 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13065 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13070 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13071 if test "x$LINE" != x ; then
13072 eval "DEFAULT_$LINE"
13077 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13082 eval "$wx_cv_use_statusbar"
13083 if test "$no_cache" != 1; then
13084 echo $wx_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
13087 if test x"$enablestring" = xdisable; then
13088 if test $wxUSE_STATUSBAR = yes; then
13094 result=$wxUSE_STATUSBAR
13097 { echo "$as_me:$LINENO: result: $result" >&5
13098 echo "${ECHO_T}$result" >&6; }
13102 defaultval=$wxUSE_ALL_FEATURES
13103 if test -z "$defaultval"; then
13104 if test x"$enablestring" = xdisable; then
13111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13112 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13114 # Check whether --enable-tabdialog was given.
13115 if test "${enable_tabdialog+set}" = set; then
13116 enableval=$enable_tabdialog;
13117 if test "$enableval" = yes; then
13118 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13120 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13125 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13126 if test "x$LINE" != x ; then
13127 eval "DEFAULT_$LINE"
13132 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13137 eval "$wx_cv_use_tabdialog"
13138 if test "$no_cache" != 1; then
13139 echo $wx_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
13142 if test x"$enablestring" = xdisable; then
13143 if test $wxUSE_TAB_DIALOG = yes; then
13149 result=$wxUSE_TAB_DIALOG
13152 { echo "$as_me:$LINENO: result: $result" >&5
13153 echo "${ECHO_T}$result" >&6; }
13157 defaultval=$wxUSE_ALL_FEATURES
13158 if test -z "$defaultval"; then
13159 if test x"$enablestring" = xdisable; then
13166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13167 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13169 # Check whether --enable-taskbaricon was given.
13170 if test "${enable_taskbaricon+set}" = set; then
13171 enableval=$enable_taskbaricon;
13172 if test "$enableval" = yes; then
13173 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13175 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13180 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13181 if test "x$LINE" != x ; then
13182 eval "DEFAULT_$LINE"
13187 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13192 eval "$wx_cv_use_taskbaricon"
13193 if test "$no_cache" != 1; then
13194 echo $wx_cv_use_taskbaricon >> ${wx_arg_cache_file}.tmp
13197 if test x"$enablestring" = xdisable; then
13198 if test $wxUSE_TASKBARICON = yes; then
13204 result=$wxUSE_TASKBARICON
13207 { echo "$as_me:$LINENO: result: $result" >&5
13208 echo "${ECHO_T}$result" >&6; }
13212 defaultval=$wxUSE_ALL_FEATURES
13213 if test -z "$defaultval"; then
13214 if test x"$enablestring" = xdisable; then
13221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13222 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13224 # Check whether --enable-textctrl was given.
13225 if test "${enable_textctrl+set}" = set; then
13226 enableval=$enable_textctrl;
13227 if test "$enableval" = yes; then
13228 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13230 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13235 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13236 if test "x$LINE" != x ; then
13237 eval "DEFAULT_$LINE"
13242 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13247 eval "$wx_cv_use_textctrl"
13248 if test "$no_cache" != 1; then
13249 echo $wx_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
13252 if test x"$enablestring" = xdisable; then
13253 if test $wxUSE_TEXTCTRL = yes; then
13259 result=$wxUSE_TEXTCTRL
13262 { echo "$as_me:$LINENO: result: $result" >&5
13263 echo "${ECHO_T}$result" >&6; }
13267 defaultval=$wxUSE_ALL_FEATURES
13268 if test -z "$defaultval"; then
13269 if test x"$enablestring" = xdisable; then
13276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13277 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13279 # Check whether --enable-togglebtn was given.
13280 if test "${enable_togglebtn+set}" = set; then
13281 enableval=$enable_togglebtn;
13282 if test "$enableval" = yes; then
13283 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13285 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13290 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13291 if test "x$LINE" != x ; then
13292 eval "DEFAULT_$LINE"
13297 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13302 eval "$wx_cv_use_togglebtn"
13303 if test "$no_cache" != 1; then
13304 echo $wx_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
13307 if test x"$enablestring" = xdisable; then
13308 if test $wxUSE_TOGGLEBTN = yes; then
13314 result=$wxUSE_TOGGLEBTN
13317 { echo "$as_me:$LINENO: result: $result" >&5
13318 echo "${ECHO_T}$result" >&6; }
13322 defaultval=$wxUSE_ALL_FEATURES
13323 if test -z "$defaultval"; then
13324 if test x"$enablestring" = xdisable; then
13331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13332 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13334 # Check whether --enable-toolbar was given.
13335 if test "${enable_toolbar+set}" = set; then
13336 enableval=$enable_toolbar;
13337 if test "$enableval" = yes; then
13338 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13340 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13345 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13346 if test "x$LINE" != x ; then
13347 eval "DEFAULT_$LINE"
13352 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13357 eval "$wx_cv_use_toolbar"
13358 if test "$no_cache" != 1; then
13359 echo $wx_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
13362 if test x"$enablestring" = xdisable; then
13363 if test $wxUSE_TOOLBAR = yes; then
13369 result=$wxUSE_TOOLBAR
13372 { echo "$as_me:$LINENO: result: $result" >&5
13373 echo "${ECHO_T}$result" >&6; }
13377 defaultval=$wxUSE_ALL_FEATURES
13378 if test -z "$defaultval"; then
13379 if test x"$enablestring" = xdisable; then
13386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13387 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13389 # Check whether --enable-tbarnative was given.
13390 if test "${enable_tbarnative+set}" = set; then
13391 enableval=$enable_tbarnative;
13392 if test "$enableval" = yes; then
13393 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13395 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13400 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13401 if test "x$LINE" != x ; then
13402 eval "DEFAULT_$LINE"
13407 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13412 eval "$wx_cv_use_tbarnative"
13413 if test "$no_cache" != 1; then
13414 echo $wx_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
13417 if test x"$enablestring" = xdisable; then
13418 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13424 result=$wxUSE_TOOLBAR_NATIVE
13427 { echo "$as_me:$LINENO: result: $result" >&5
13428 echo "${ECHO_T}$result" >&6; }
13432 defaultval=$wxUSE_ALL_FEATURES
13433 if test -z "$defaultval"; then
13434 if test x"$enablestring" = xdisable; then
13441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13442 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13444 # Check whether --enable-treebook was given.
13445 if test "${enable_treebook+set}" = set; then
13446 enableval=$enable_treebook;
13447 if test "$enableval" = yes; then
13448 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13450 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13455 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13456 if test "x$LINE" != x ; then
13457 eval "DEFAULT_$LINE"
13462 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13467 eval "$wx_cv_use_treebook"
13468 if test "$no_cache" != 1; then
13469 echo $wx_cv_use_treebook >> ${wx_arg_cache_file}.tmp
13472 if test x"$enablestring" = xdisable; then
13473 if test $wxUSE_TREEBOOK = yes; then
13479 result=$wxUSE_TREEBOOK
13482 { echo "$as_me:$LINENO: result: $result" >&5
13483 echo "${ECHO_T}$result" >&6; }
13487 defaultval=$wxUSE_ALL_FEATURES
13488 if test -z "$defaultval"; then
13489 if test x"$enablestring" = xdisable; then
13496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13497 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13499 # Check whether --enable-toolbook was given.
13500 if test "${enable_toolbook+set}" = set; then
13501 enableval=$enable_toolbook;
13502 if test "$enableval" = yes; then
13503 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13505 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13510 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13511 if test "x$LINE" != x ; then
13512 eval "DEFAULT_$LINE"
13517 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13522 eval "$wx_cv_use_toolbook"
13523 if test "$no_cache" != 1; then
13524 echo $wx_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
13527 if test x"$enablestring" = xdisable; then
13528 if test $wxUSE_TOOLBOOK = yes; then
13534 result=$wxUSE_TOOLBOOK
13537 { echo "$as_me:$LINENO: result: $result" >&5
13538 echo "${ECHO_T}$result" >&6; }
13542 defaultval=$wxUSE_ALL_FEATURES
13543 if test -z "$defaultval"; then
13544 if test x"$enablestring" = xdisable; then
13551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13552 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13554 # Check whether --enable-treectrl was given.
13555 if test "${enable_treectrl+set}" = set; then
13556 enableval=$enable_treectrl;
13557 if test "$enableval" = yes; then
13558 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13560 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13565 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13566 if test "x$LINE" != x ; then
13567 eval "DEFAULT_$LINE"
13572 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13577 eval "$wx_cv_use_treectrl"
13578 if test "$no_cache" != 1; then
13579 echo $wx_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
13582 if test x"$enablestring" = xdisable; then
13583 if test $wxUSE_TREECTRL = yes; then
13589 result=$wxUSE_TREECTRL
13592 { echo "$as_me:$LINENO: result: $result" >&5
13593 echo "${ECHO_T}$result" >&6; }
13597 defaultval=$wxUSE_ALL_FEATURES
13598 if test -z "$defaultval"; then
13599 if test x"$enablestring" = xdisable; then
13606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13607 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13609 # Check whether --enable-tipwindow was given.
13610 if test "${enable_tipwindow+set}" = set; then
13611 enableval=$enable_tipwindow;
13612 if test "$enableval" = yes; then
13613 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13615 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13620 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13621 if test "x$LINE" != x ; then
13622 eval "DEFAULT_$LINE"
13627 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13632 eval "$wx_cv_use_tipwindow"
13633 if test "$no_cache" != 1; then
13634 echo $wx_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
13637 if test x"$enablestring" = xdisable; then
13638 if test $wxUSE_TIPWINDOW = yes; then
13644 result=$wxUSE_TIPWINDOW
13647 { echo "$as_me:$LINENO: result: $result" >&5
13648 echo "${ECHO_T}$result" >&6; }
13652 defaultval=$wxUSE_ALL_FEATURES
13653 if test -z "$defaultval"; then
13654 if test x"$enablestring" = xdisable; then
13661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13662 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13664 # Check whether --enable-popupwin was given.
13665 if test "${enable_popupwin+set}" = set; then
13666 enableval=$enable_popupwin;
13667 if test "$enableval" = yes; then
13668 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13670 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13675 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13676 if test "x$LINE" != x ; then
13677 eval "DEFAULT_$LINE"
13682 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13687 eval "$wx_cv_use_popupwin"
13688 if test "$no_cache" != 1; then
13689 echo $wx_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
13692 if test x"$enablestring" = xdisable; then
13693 if test $wxUSE_POPUPWIN = yes; then
13699 result=$wxUSE_POPUPWIN
13702 { echo "$as_me:$LINENO: result: $result" >&5
13703 echo "${ECHO_T}$result" >&6; }
13709 defaultval=$wxUSE_ALL_FEATURES
13710 if test -z "$defaultval"; then
13711 if test x"$enablestring" = xdisable; then
13718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13719 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13721 # Check whether --enable-commondlg was given.
13722 if test "${enable_commondlg+set}" = set; then
13723 enableval=$enable_commondlg;
13724 if test "$enableval" = yes; then
13725 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13727 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13732 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
13733 if test "x$LINE" != x ; then
13734 eval "DEFAULT_$LINE"
13739 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13744 eval "$wx_cv_use_commondlg"
13745 if test "$no_cache" != 1; then
13746 echo $wx_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
13749 if test x"$enablestring" = xdisable; then
13750 if test $wxUSE_COMMONDLGS = yes; then
13756 result=$wxUSE_COMMONDLGS
13759 { echo "$as_me:$LINENO: result: $result" >&5
13760 echo "${ECHO_T}$result" >&6; }
13764 defaultval=$wxUSE_ALL_FEATURES
13765 if test -z "$defaultval"; then
13766 if test x"$enablestring" = xdisable; then
13773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13774 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13776 # Check whether --enable-aboutdlg was given.
13777 if test "${enable_aboutdlg+set}" = set; then
13778 enableval=$enable_aboutdlg;
13779 if test "$enableval" = yes; then
13780 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13782 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13787 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
13788 if test "x$LINE" != x ; then
13789 eval "DEFAULT_$LINE"
13794 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13799 eval "$wx_cv_use_aboutdlg"
13800 if test "$no_cache" != 1; then
13801 echo $wx_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
13804 if test x"$enablestring" = xdisable; then
13805 if test $wxUSE_ABOUTDLG = yes; then
13811 result=$wxUSE_ABOUTDLG
13814 { echo "$as_me:$LINENO: result: $result" >&5
13815 echo "${ECHO_T}$result" >&6; }
13819 defaultval=$wxUSE_ALL_FEATURES
13820 if test -z "$defaultval"; then
13821 if test x"$enablestring" = xdisable; then
13828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13829 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13831 # Check whether --enable-choicedlg was given.
13832 if test "${enable_choicedlg+set}" = set; then
13833 enableval=$enable_choicedlg;
13834 if test "$enableval" = yes; then
13835 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13837 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13842 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
13843 if test "x$LINE" != x ; then
13844 eval "DEFAULT_$LINE"
13849 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13854 eval "$wx_cv_use_choicedlg"
13855 if test "$no_cache" != 1; then
13856 echo $wx_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
13859 if test x"$enablestring" = xdisable; then
13860 if test $wxUSE_CHOICEDLG = yes; then
13866 result=$wxUSE_CHOICEDLG
13869 { echo "$as_me:$LINENO: result: $result" >&5
13870 echo "${ECHO_T}$result" >&6; }
13874 defaultval=$wxUSE_ALL_FEATURES
13875 if test -z "$defaultval"; then
13876 if test x"$enablestring" = xdisable; then
13883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13884 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13886 # Check whether --enable-coldlg was given.
13887 if test "${enable_coldlg+set}" = set; then
13888 enableval=$enable_coldlg;
13889 if test "$enableval" = yes; then
13890 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13892 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13897 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
13898 if test "x$LINE" != x ; then
13899 eval "DEFAULT_$LINE"
13904 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13909 eval "$wx_cv_use_coldlg"
13910 if test "$no_cache" != 1; then
13911 echo $wx_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
13914 if test x"$enablestring" = xdisable; then
13915 if test $wxUSE_COLOURDLG = yes; then
13921 result=$wxUSE_COLOURDLG
13924 { echo "$as_me:$LINENO: result: $result" >&5
13925 echo "${ECHO_T}$result" >&6; }
13929 defaultval=$wxUSE_ALL_FEATURES
13930 if test -z "$defaultval"; then
13931 if test x"$enablestring" = xdisable; then
13938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13939 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13941 # Check whether --enable-filedlg was given.
13942 if test "${enable_filedlg+set}" = set; then
13943 enableval=$enable_filedlg;
13944 if test "$enableval" = yes; then
13945 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13947 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13952 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
13953 if test "x$LINE" != x ; then
13954 eval "DEFAULT_$LINE"
13959 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13964 eval "$wx_cv_use_filedlg"
13965 if test "$no_cache" != 1; then
13966 echo $wx_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
13969 if test x"$enablestring" = xdisable; then
13970 if test $wxUSE_FILEDLG = yes; then
13976 result=$wxUSE_FILEDLG
13979 { echo "$as_me:$LINENO: result: $result" >&5
13980 echo "${ECHO_T}$result" >&6; }
13984 defaultval=$wxUSE_ALL_FEATURES
13985 if test -z "$defaultval"; then
13986 if test x"$enablestring" = xdisable; then
13993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13994 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13996 # Check whether --enable-finddlg was given.
13997 if test "${enable_finddlg+set}" = set; then
13998 enableval=$enable_finddlg;
13999 if test "$enableval" = yes; then
14000 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14002 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14007 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14008 if test "x$LINE" != x ; then
14009 eval "DEFAULT_$LINE"
14014 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14019 eval "$wx_cv_use_finddlg"
14020 if test "$no_cache" != 1; then
14021 echo $wx_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
14024 if test x"$enablestring" = xdisable; then
14025 if test $wxUSE_FINDREPLDLG = yes; then
14031 result=$wxUSE_FINDREPLDLG
14034 { echo "$as_me:$LINENO: result: $result" >&5
14035 echo "${ECHO_T}$result" >&6; }
14039 defaultval=$wxUSE_ALL_FEATURES
14040 if test -z "$defaultval"; then
14041 if test x"$enablestring" = xdisable; then
14048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14049 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14051 # Check whether --enable-fontdlg was given.
14052 if test "${enable_fontdlg+set}" = set; then
14053 enableval=$enable_fontdlg;
14054 if test "$enableval" = yes; then
14055 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14057 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14062 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14063 if test "x$LINE" != x ; then
14064 eval "DEFAULT_$LINE"
14069 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14074 eval "$wx_cv_use_fontdlg"
14075 if test "$no_cache" != 1; then
14076 echo $wx_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
14079 if test x"$enablestring" = xdisable; then
14080 if test $wxUSE_FONTDLG = yes; then
14086 result=$wxUSE_FONTDLG
14089 { echo "$as_me:$LINENO: result: $result" >&5
14090 echo "${ECHO_T}$result" >&6; }
14094 defaultval=$wxUSE_ALL_FEATURES
14095 if test -z "$defaultval"; then
14096 if test x"$enablestring" = xdisable; then
14103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14104 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14106 # Check whether --enable-dirdlg was given.
14107 if test "${enable_dirdlg+set}" = set; then
14108 enableval=$enable_dirdlg;
14109 if test "$enableval" = yes; then
14110 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14112 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14117 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14118 if test "x$LINE" != x ; then
14119 eval "DEFAULT_$LINE"
14124 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14129 eval "$wx_cv_use_dirdlg"
14130 if test "$no_cache" != 1; then
14131 echo $wx_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
14134 if test x"$enablestring" = xdisable; then
14135 if test $wxUSE_DIRDLG = yes; then
14141 result=$wxUSE_DIRDLG
14144 { echo "$as_me:$LINENO: result: $result" >&5
14145 echo "${ECHO_T}$result" >&6; }
14149 defaultval=$wxUSE_ALL_FEATURES
14150 if test -z "$defaultval"; then
14151 if test x"$enablestring" = xdisable; then
14158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14159 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14161 # Check whether --enable-msgdlg was given.
14162 if test "${enable_msgdlg+set}" = set; then
14163 enableval=$enable_msgdlg;
14164 if test "$enableval" = yes; then
14165 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14167 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14172 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14173 if test "x$LINE" != x ; then
14174 eval "DEFAULT_$LINE"
14179 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14184 eval "$wx_cv_use_msgdlg"
14185 if test "$no_cache" != 1; then
14186 echo $wx_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
14189 if test x"$enablestring" = xdisable; then
14190 if test $wxUSE_MSGDLG = yes; then
14196 result=$wxUSE_MSGDLG
14199 { echo "$as_me:$LINENO: result: $result" >&5
14200 echo "${ECHO_T}$result" >&6; }
14204 defaultval=$wxUSE_ALL_FEATURES
14205 if test -z "$defaultval"; then
14206 if test x"$enablestring" = xdisable; then
14213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14214 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14216 # Check whether --enable-numberdlg was given.
14217 if test "${enable_numberdlg+set}" = set; then
14218 enableval=$enable_numberdlg;
14219 if test "$enableval" = yes; then
14220 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14222 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14227 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14228 if test "x$LINE" != x ; then
14229 eval "DEFAULT_$LINE"
14234 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14239 eval "$wx_cv_use_numberdlg"
14240 if test "$no_cache" != 1; then
14241 echo $wx_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
14244 if test x"$enablestring" = xdisable; then
14245 if test $wxUSE_NUMBERDLG = yes; then
14251 result=$wxUSE_NUMBERDLG
14254 { echo "$as_me:$LINENO: result: $result" >&5
14255 echo "${ECHO_T}$result" >&6; }
14259 defaultval=$wxUSE_ALL_FEATURES
14260 if test -z "$defaultval"; then
14261 if test x"$enablestring" = xdisable; then
14268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14269 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14271 # Check whether --enable-splash was given.
14272 if test "${enable_splash+set}" = set; then
14273 enableval=$enable_splash;
14274 if test "$enableval" = yes; then
14275 wx_cv_use_splash='wxUSE_SPLASH=yes'
14277 wx_cv_use_splash='wxUSE_SPLASH=no'
14282 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14283 if test "x$LINE" != x ; then
14284 eval "DEFAULT_$LINE"
14289 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14294 eval "$wx_cv_use_splash"
14295 if test "$no_cache" != 1; then
14296 echo $wx_cv_use_splash >> ${wx_arg_cache_file}.tmp
14299 if test x"$enablestring" = xdisable; then
14300 if test $wxUSE_SPLASH = yes; then
14306 result=$wxUSE_SPLASH
14309 { echo "$as_me:$LINENO: result: $result" >&5
14310 echo "${ECHO_T}$result" >&6; }
14314 defaultval=$wxUSE_ALL_FEATURES
14315 if test -z "$defaultval"; then
14316 if test x"$enablestring" = xdisable; then
14323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14324 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14326 # Check whether --enable-textdlg was given.
14327 if test "${enable_textdlg+set}" = set; then
14328 enableval=$enable_textdlg;
14329 if test "$enableval" = yes; then
14330 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14332 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14337 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14338 if test "x$LINE" != x ; then
14339 eval "DEFAULT_$LINE"
14344 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14349 eval "$wx_cv_use_textdlg"
14350 if test "$no_cache" != 1; then
14351 echo $wx_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
14354 if test x"$enablestring" = xdisable; then
14355 if test $wxUSE_TEXTDLG = yes; then
14361 result=$wxUSE_TEXTDLG
14364 { echo "$as_me:$LINENO: result: $result" >&5
14365 echo "${ECHO_T}$result" >&6; }
14369 defaultval=$wxUSE_ALL_FEATURES
14370 if test -z "$defaultval"; then
14371 if test x"$enablestring" = xdisable; then
14378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14379 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14381 # Check whether --enable-tipdlg was given.
14382 if test "${enable_tipdlg+set}" = set; then
14383 enableval=$enable_tipdlg;
14384 if test "$enableval" = yes; then
14385 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14387 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14392 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14393 if test "x$LINE" != x ; then
14394 eval "DEFAULT_$LINE"
14399 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14404 eval "$wx_cv_use_tipdlg"
14405 if test "$no_cache" != 1; then
14406 echo $wx_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
14409 if test x"$enablestring" = xdisable; then
14410 if test $wxUSE_STARTUP_TIPS = yes; then
14416 result=$wxUSE_STARTUP_TIPS
14419 { echo "$as_me:$LINENO: result: $result" >&5
14420 echo "${ECHO_T}$result" >&6; }
14424 defaultval=$wxUSE_ALL_FEATURES
14425 if test -z "$defaultval"; then
14426 if test x"$enablestring" = xdisable; then
14433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14434 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14436 # Check whether --enable-progressdlg was given.
14437 if test "${enable_progressdlg+set}" = set; then
14438 enableval=$enable_progressdlg;
14439 if test "$enableval" = yes; then
14440 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14442 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14447 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14448 if test "x$LINE" != x ; then
14449 eval "DEFAULT_$LINE"
14454 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14459 eval "$wx_cv_use_progressdlg"
14460 if test "$no_cache" != 1; then
14461 echo $wx_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
14464 if test x"$enablestring" = xdisable; then
14465 if test $wxUSE_PROGRESSDLG = yes; then
14471 result=$wxUSE_PROGRESSDLG
14474 { echo "$as_me:$LINENO: result: $result" >&5
14475 echo "${ECHO_T}$result" >&6; }
14479 defaultval=$wxUSE_ALL_FEATURES
14480 if test -z "$defaultval"; then
14481 if test x"$enablestring" = xdisable; then
14488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14489 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14491 # Check whether --enable-wizarddlg was given.
14492 if test "${enable_wizarddlg+set}" = set; then
14493 enableval=$enable_wizarddlg;
14494 if test "$enableval" = yes; then
14495 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14497 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14502 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14503 if test "x$LINE" != x ; then
14504 eval "DEFAULT_$LINE"
14509 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14514 eval "$wx_cv_use_wizarddlg"
14515 if test "$no_cache" != 1; then
14516 echo $wx_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
14519 if test x"$enablestring" = xdisable; then
14520 if test $wxUSE_WIZARDDLG = yes; then
14526 result=$wxUSE_WIZARDDLG
14529 { echo "$as_me:$LINENO: result: $result" >&5
14530 echo "${ECHO_T}$result" >&6; }
14536 defaultval=$wxUSE_ALL_FEATURES
14537 if test -z "$defaultval"; then
14538 if test x"$enablestring" = xdisable; then
14545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14546 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14548 # Check whether --enable-menus was given.
14549 if test "${enable_menus+set}" = set; then
14550 enableval=$enable_menus;
14551 if test "$enableval" = yes; then
14552 wx_cv_use_menus='wxUSE_MENUS=yes'
14554 wx_cv_use_menus='wxUSE_MENUS=no'
14559 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14560 if test "x$LINE" != x ; then
14561 eval "DEFAULT_$LINE"
14566 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14571 eval "$wx_cv_use_menus"
14572 if test "$no_cache" != 1; then
14573 echo $wx_cv_use_menus >> ${wx_arg_cache_file}.tmp
14576 if test x"$enablestring" = xdisable; then
14577 if test $wxUSE_MENUS = yes; then
14583 result=$wxUSE_MENUS
14586 { echo "$as_me:$LINENO: result: $result" >&5
14587 echo "${ECHO_T}$result" >&6; }
14591 defaultval=$wxUSE_ALL_FEATURES
14592 if test -z "$defaultval"; then
14593 if test x"$enablestring" = xdisable; then
14600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14601 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14603 # Check whether --enable-miniframe was given.
14604 if test "${enable_miniframe+set}" = set; then
14605 enableval=$enable_miniframe;
14606 if test "$enableval" = yes; then
14607 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14609 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14614 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14615 if test "x$LINE" != x ; then
14616 eval "DEFAULT_$LINE"
14621 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14626 eval "$wx_cv_use_miniframe"
14627 if test "$no_cache" != 1; then
14628 echo $wx_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
14631 if test x"$enablestring" = xdisable; then
14632 if test $wxUSE_MINIFRAME = yes; then
14638 result=$wxUSE_MINIFRAME
14641 { echo "$as_me:$LINENO: result: $result" >&5
14642 echo "${ECHO_T}$result" >&6; }
14646 defaultval=$wxUSE_ALL_FEATURES
14647 if test -z "$defaultval"; then
14648 if test x"$enablestring" = xdisable; then
14655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14656 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14658 # Check whether --enable-tooltips was given.
14659 if test "${enable_tooltips+set}" = set; then
14660 enableval=$enable_tooltips;
14661 if test "$enableval" = yes; then
14662 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14664 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14669 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14670 if test "x$LINE" != x ; then
14671 eval "DEFAULT_$LINE"
14676 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14681 eval "$wx_cv_use_tooltips"
14682 if test "$no_cache" != 1; then
14683 echo $wx_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
14686 if test x"$enablestring" = xdisable; then
14687 if test $wxUSE_TOOLTIPS = yes; then
14693 result=$wxUSE_TOOLTIPS
14696 { echo "$as_me:$LINENO: result: $result" >&5
14697 echo "${ECHO_T}$result" >&6; }
14701 defaultval=$wxUSE_ALL_FEATURES
14702 if test -z "$defaultval"; then
14703 if test x"$enablestring" = xdisable; then
14710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
14711 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
14713 # Check whether --enable-splines was given.
14714 if test "${enable_splines+set}" = set; then
14715 enableval=$enable_splines;
14716 if test "$enableval" = yes; then
14717 wx_cv_use_splines='wxUSE_SPLINES=yes'
14719 wx_cv_use_splines='wxUSE_SPLINES=no'
14724 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
14725 if test "x$LINE" != x ; then
14726 eval "DEFAULT_$LINE"
14731 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14736 eval "$wx_cv_use_splines"
14737 if test "$no_cache" != 1; then
14738 echo $wx_cv_use_splines >> ${wx_arg_cache_file}.tmp
14741 if test x"$enablestring" = xdisable; then
14742 if test $wxUSE_SPLINES = yes; then
14748 result=$wxUSE_SPLINES
14751 { echo "$as_me:$LINENO: result: $result" >&5
14752 echo "${ECHO_T}$result" >&6; }
14756 defaultval=$wxUSE_ALL_FEATURES
14757 if test -z "$defaultval"; then
14758 if test x"$enablestring" = xdisable; then
14765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
14766 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
14768 # Check whether --enable-mousewheel was given.
14769 if test "${enable_mousewheel+set}" = set; then
14770 enableval=$enable_mousewheel;
14771 if test "$enableval" = yes; then
14772 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14774 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14779 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
14780 if test "x$LINE" != x ; then
14781 eval "DEFAULT_$LINE"
14786 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14791 eval "$wx_cv_use_mousewheel"
14792 if test "$no_cache" != 1; then
14793 echo $wx_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
14796 if test x"$enablestring" = xdisable; then
14797 if test $wxUSE_MOUSEWHEEL = yes; then
14803 result=$wxUSE_MOUSEWHEEL
14806 { echo "$as_me:$LINENO: result: $result" >&5
14807 echo "${ECHO_T}$result" >&6; }
14811 defaultval=$wxUSE_ALL_FEATURES
14812 if test -z "$defaultval"; then
14813 if test x"$enablestring" = xdisable; then
14820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
14821 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
14823 # Check whether --enable-validators was given.
14824 if test "${enable_validators+set}" = set; then
14825 enableval=$enable_validators;
14826 if test "$enableval" = yes; then
14827 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14829 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14834 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
14835 if test "x$LINE" != x ; then
14836 eval "DEFAULT_$LINE"
14841 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14846 eval "$wx_cv_use_validators"
14847 if test "$no_cache" != 1; then
14848 echo $wx_cv_use_validators >> ${wx_arg_cache_file}.tmp
14851 if test x"$enablestring" = xdisable; then
14852 if test $wxUSE_VALIDATORS = yes; then
14858 result=$wxUSE_VALIDATORS
14861 { echo "$as_me:$LINENO: result: $result" >&5
14862 echo "${ECHO_T}$result" >&6; }
14866 defaultval=$wxUSE_ALL_FEATURES
14867 if test -z "$defaultval"; then
14868 if test x"$enablestring" = xdisable; then
14875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
14876 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
14878 # Check whether --enable-busyinfo was given.
14879 if test "${enable_busyinfo+set}" = set; then
14880 enableval=$enable_busyinfo;
14881 if test "$enableval" = yes; then
14882 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
14884 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14889 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
14890 if test "x$LINE" != x ; then
14891 eval "DEFAULT_$LINE"
14896 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14901 eval "$wx_cv_use_busyinfo"
14902 if test "$no_cache" != 1; then
14903 echo $wx_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
14906 if test x"$enablestring" = xdisable; then
14907 if test $wxUSE_BUSYINFO = yes; then
14913 result=$wxUSE_BUSYINFO
14916 { echo "$as_me:$LINENO: result: $result" >&5
14917 echo "${ECHO_T}$result" >&6; }
14921 defaultval=$wxUSE_ALL_FEATURES
14922 if test -z "$defaultval"; then
14923 if test x"$enablestring" = xdisable; then
14930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14931 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14933 # Check whether --enable-joystick was given.
14934 if test "${enable_joystick+set}" = set; then
14935 enableval=$enable_joystick;
14936 if test "$enableval" = yes; then
14937 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14939 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14944 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
14945 if test "x$LINE" != x ; then
14946 eval "DEFAULT_$LINE"
14951 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14956 eval "$wx_cv_use_joystick"
14957 if test "$no_cache" != 1; then
14958 echo $wx_cv_use_joystick >> ${wx_arg_cache_file}.tmp
14961 if test x"$enablestring" = xdisable; then
14962 if test $wxUSE_JOYSTICK = yes; then
14968 result=$wxUSE_JOYSTICK
14971 { echo "$as_me:$LINENO: result: $result" >&5
14972 echo "${ECHO_T}$result" >&6; }
14976 defaultval=$wxUSE_ALL_FEATURES
14977 if test -z "$defaultval"; then
14978 if test x"$enablestring" = xdisable; then
14985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14986 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14988 # Check whether --enable-metafile was given.
14989 if test "${enable_metafile+set}" = set; then
14990 enableval=$enable_metafile;
14991 if test "$enableval" = yes; then
14992 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14994 wx_cv_use_metafile='wxUSE_METAFILE=no'
14999 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15000 if test "x$LINE" != x ; then
15001 eval "DEFAULT_$LINE"
15006 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15011 eval "$wx_cv_use_metafile"
15012 if test "$no_cache" != 1; then
15013 echo $wx_cv_use_metafile >> ${wx_arg_cache_file}.tmp
15016 if test x"$enablestring" = xdisable; then
15017 if test $wxUSE_METAFILE = yes; then
15023 result=$wxUSE_METAFILE
15026 { echo "$as_me:$LINENO: result: $result" >&5
15027 echo "${ECHO_T}$result" >&6; }
15031 defaultval=$wxUSE_ALL_FEATURES
15032 if test -z "$defaultval"; then
15033 if test x"$enablestring" = xdisable; then
15040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15041 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15043 # Check whether --enable-dragimage was given.
15044 if test "${enable_dragimage+set}" = set; then
15045 enableval=$enable_dragimage;
15046 if test "$enableval" = yes; then
15047 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15049 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15054 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15055 if test "x$LINE" != x ; then
15056 eval "DEFAULT_$LINE"
15061 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15066 eval "$wx_cv_use_dragimage"
15067 if test "$no_cache" != 1; then
15068 echo $wx_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
15071 if test x"$enablestring" = xdisable; then
15072 if test $wxUSE_DRAGIMAGE = yes; then
15078 result=$wxUSE_DRAGIMAGE
15081 { echo "$as_me:$LINENO: result: $result" >&5
15082 echo "${ECHO_T}$result" >&6; }
15086 defaultval=$wxUSE_ALL_FEATURES
15087 if test -z "$defaultval"; then
15088 if test x"$enablestring" = xdisable; then
15095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
15096 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
15098 # Check whether --enable-accessibility was given.
15099 if test "${enable_accessibility+set}" = set; then
15100 enableval=$enable_accessibility;
15101 if test "$enableval" = yes; then
15102 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15104 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15109 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15110 if test "x$LINE" != x ; then
15111 eval "DEFAULT_$LINE"
15116 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15121 eval "$wx_cv_use_accessibility"
15122 if test "$no_cache" != 1; then
15123 echo $wx_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
15126 if test x"$enablestring" = xdisable; then
15127 if test $wxUSE_ACCESSIBILITY = yes; then
15133 result=$wxUSE_ACCESSIBILITY
15136 { echo "$as_me:$LINENO: result: $result" >&5
15137 echo "${ECHO_T}$result" >&6; }
15140 if test "$wxUSE_MSW" = "1"; then
15143 defaultval=$wxUSE_ALL_FEATURES
15144 if test -z "$defaultval"; then
15145 if test x"$enablestring" = xdisable; then
15152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
15153 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
15155 # Check whether --enable-dccache was given.
15156 if test "${enable_dccache+set}" = set; then
15157 enableval=$enable_dccache;
15158 if test "$enableval" = yes; then
15159 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15161 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15166 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
15167 if test "x$LINE" != x ; then
15168 eval "DEFAULT_$LINE"
15173 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15178 eval "$wx_cv_use_dccache"
15179 if test "$no_cache" != 1; then
15180 echo $wx_cv_use_dccache >> ${wx_arg_cache_file}.tmp
15183 if test x"$enablestring" = xdisable; then
15184 if test $wxUSE_DC_CACHEING = yes; then
15190 result=$wxUSE_DC_CACHEING
15193 { echo "$as_me:$LINENO: result: $result" >&5
15194 echo "${ECHO_T}$result" >&6; }
15201 defaultval=$wxUSE_ALL_FEATURES
15202 if test -z "$defaultval"; then
15203 if test x"$enablestring" = xdisable; then
15210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15211 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15213 # Check whether --enable-palette was given.
15214 if test "${enable_palette+set}" = set; then
15215 enableval=$enable_palette;
15216 if test "$enableval" = yes; then
15217 wx_cv_use_palette='wxUSE_PALETTE=yes'
15219 wx_cv_use_palette='wxUSE_PALETTE=no'
15224 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15225 if test "x$LINE" != x ; then
15226 eval "DEFAULT_$LINE"
15231 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15236 eval "$wx_cv_use_palette"
15237 if test "$no_cache" != 1; then
15238 echo $wx_cv_use_palette >> ${wx_arg_cache_file}.tmp
15241 if test x"$enablestring" = xdisable; then
15242 if test $wxUSE_PALETTE = yes; then
15248 result=$wxUSE_PALETTE
15251 { echo "$as_me:$LINENO: result: $result" >&5
15252 echo "${ECHO_T}$result" >&6; }
15256 defaultval=$wxUSE_ALL_FEATURES
15257 if test -z "$defaultval"; then
15258 if test x"$enablestring" = xdisable; then
15265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15266 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15268 # Check whether --enable-image was given.
15269 if test "${enable_image+set}" = set; then
15270 enableval=$enable_image;
15271 if test "$enableval" = yes; then
15272 wx_cv_use_image='wxUSE_IMAGE=yes'
15274 wx_cv_use_image='wxUSE_IMAGE=no'
15279 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15280 if test "x$LINE" != x ; then
15281 eval "DEFAULT_$LINE"
15286 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15291 eval "$wx_cv_use_image"
15292 if test "$no_cache" != 1; then
15293 echo $wx_cv_use_image >> ${wx_arg_cache_file}.tmp
15296 if test x"$enablestring" = xdisable; then
15297 if test $wxUSE_IMAGE = yes; then
15303 result=$wxUSE_IMAGE
15306 { echo "$as_me:$LINENO: result: $result" >&5
15307 echo "${ECHO_T}$result" >&6; }
15311 defaultval=$wxUSE_ALL_FEATURES
15312 if test -z "$defaultval"; then
15313 if test x"$enablestring" = xdisable; then
15320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15321 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15323 # Check whether --enable-gif was given.
15324 if test "${enable_gif+set}" = set; then
15325 enableval=$enable_gif;
15326 if test "$enableval" = yes; then
15327 wx_cv_use_gif='wxUSE_GIF=yes'
15329 wx_cv_use_gif='wxUSE_GIF=no'
15334 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15335 if test "x$LINE" != x ; then
15336 eval "DEFAULT_$LINE"
15341 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15346 eval "$wx_cv_use_gif"
15347 if test "$no_cache" != 1; then
15348 echo $wx_cv_use_gif >> ${wx_arg_cache_file}.tmp
15351 if test x"$enablestring" = xdisable; then
15352 if test $wxUSE_GIF = yes; then
15361 { echo "$as_me:$LINENO: result: $result" >&5
15362 echo "${ECHO_T}$result" >&6; }
15366 defaultval=$wxUSE_ALL_FEATURES
15367 if test -z "$defaultval"; then
15368 if test x"$enablestring" = xdisable; then
15375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15376 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15378 # Check whether --enable-pcx was given.
15379 if test "${enable_pcx+set}" = set; then
15380 enableval=$enable_pcx;
15381 if test "$enableval" = yes; then
15382 wx_cv_use_pcx='wxUSE_PCX=yes'
15384 wx_cv_use_pcx='wxUSE_PCX=no'
15389 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15390 if test "x$LINE" != x ; then
15391 eval "DEFAULT_$LINE"
15396 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15401 eval "$wx_cv_use_pcx"
15402 if test "$no_cache" != 1; then
15403 echo $wx_cv_use_pcx >> ${wx_arg_cache_file}.tmp
15406 if test x"$enablestring" = xdisable; then
15407 if test $wxUSE_PCX = yes; then
15416 { echo "$as_me:$LINENO: result: $result" >&5
15417 echo "${ECHO_T}$result" >&6; }
15421 defaultval=$wxUSE_ALL_FEATURES
15422 if test -z "$defaultval"; then
15423 if test x"$enablestring" = xdisable; then
15430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15431 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15433 # Check whether --enable-tga was given.
15434 if test "${enable_tga+set}" = set; then
15435 enableval=$enable_tga;
15436 if test "$enableval" = yes; then
15437 wx_cv_use_tga='wxUSE_TGA=yes'
15439 wx_cv_use_tga='wxUSE_TGA=no'
15444 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15445 if test "x$LINE" != x ; then
15446 eval "DEFAULT_$LINE"
15451 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15456 eval "$wx_cv_use_tga"
15457 if test "$no_cache" != 1; then
15458 echo $wx_cv_use_tga >> ${wx_arg_cache_file}.tmp
15461 if test x"$enablestring" = xdisable; then
15462 if test $wxUSE_TGA = yes; then
15471 { echo "$as_me:$LINENO: result: $result" >&5
15472 echo "${ECHO_T}$result" >&6; }
15476 defaultval=$wxUSE_ALL_FEATURES
15477 if test -z "$defaultval"; then
15478 if test x"$enablestring" = xdisable; then
15485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15486 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15488 # Check whether --enable-iff was given.
15489 if test "${enable_iff+set}" = set; then
15490 enableval=$enable_iff;
15491 if test "$enableval" = yes; then
15492 wx_cv_use_iff='wxUSE_IFF=yes'
15494 wx_cv_use_iff='wxUSE_IFF=no'
15499 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15500 if test "x$LINE" != x ; then
15501 eval "DEFAULT_$LINE"
15506 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15511 eval "$wx_cv_use_iff"
15512 if test "$no_cache" != 1; then
15513 echo $wx_cv_use_iff >> ${wx_arg_cache_file}.tmp
15516 if test x"$enablestring" = xdisable; then
15517 if test $wxUSE_IFF = yes; then
15526 { echo "$as_me:$LINENO: result: $result" >&5
15527 echo "${ECHO_T}$result" >&6; }
15531 defaultval=$wxUSE_ALL_FEATURES
15532 if test -z "$defaultval"; then
15533 if test x"$enablestring" = xdisable; then
15540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15541 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15543 # Check whether --enable-pnm was given.
15544 if test "${enable_pnm+set}" = set; then
15545 enableval=$enable_pnm;
15546 if test "$enableval" = yes; then
15547 wx_cv_use_pnm='wxUSE_PNM=yes'
15549 wx_cv_use_pnm='wxUSE_PNM=no'
15554 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15555 if test "x$LINE" != x ; then
15556 eval "DEFAULT_$LINE"
15561 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15566 eval "$wx_cv_use_pnm"
15567 if test "$no_cache" != 1; then
15568 echo $wx_cv_use_pnm >> ${wx_arg_cache_file}.tmp
15571 if test x"$enablestring" = xdisable; then
15572 if test $wxUSE_PNM = yes; then
15581 { echo "$as_me:$LINENO: result: $result" >&5
15582 echo "${ECHO_T}$result" >&6; }
15586 defaultval=$wxUSE_ALL_FEATURES
15587 if test -z "$defaultval"; then
15588 if test x"$enablestring" = xdisable; then
15595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15596 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15598 # Check whether --enable-xpm was given.
15599 if test "${enable_xpm+set}" = set; then
15600 enableval=$enable_xpm;
15601 if test "$enableval" = yes; then
15602 wx_cv_use_xpm='wxUSE_XPM=yes'
15604 wx_cv_use_xpm='wxUSE_XPM=no'
15609 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15610 if test "x$LINE" != x ; then
15611 eval "DEFAULT_$LINE"
15616 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15621 eval "$wx_cv_use_xpm"
15622 if test "$no_cache" != 1; then
15623 echo $wx_cv_use_xpm >> ${wx_arg_cache_file}.tmp
15626 if test x"$enablestring" = xdisable; then
15627 if test $wxUSE_XPM = yes; then
15636 { echo "$as_me:$LINENO: result: $result" >&5
15637 echo "${ECHO_T}$result" >&6; }
15641 defaultval=$wxUSE_ALL_FEATURES
15642 if test -z "$defaultval"; then
15643 if test x"$enablestring" = xdisable; then
15650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15651 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15653 # Check whether --enable-ico_cur was given.
15654 if test "${enable_ico_cur+set}" = set; then
15655 enableval=$enable_ico_cur;
15656 if test "$enableval" = yes; then
15657 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15659 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15664 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15665 if test "x$LINE" != x ; then
15666 eval "DEFAULT_$LINE"
15671 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15676 eval "$wx_cv_use_ico_cur"
15677 if test "$no_cache" != 1; then
15678 echo $wx_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
15681 if test x"$enablestring" = xdisable; then
15682 if test $wxUSE_ICO_CUR = yes; then
15688 result=$wxUSE_ICO_CUR
15691 { echo "$as_me:$LINENO: result: $result" >&5
15692 echo "${ECHO_T}$result" >&6; }
15698 echo "saving argument cache $wx_arg_cache_file"
15699 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
15703 { echo "$as_me:$LINENO: checking for toolkit" >&5
15704 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
15706 # In Wine, we need to default to MSW, not GTK or MOTIF
15707 if test "$wxUSE_WINE" = "yes"; then
15708 DEFAULT_DEFAULT_wxUSE_GTK=0
15709 DEFAULT_DEFAULT_wxUSE_MOTIF=0
15710 DEFAULT_DEFAULT_wxUSE_MSW=1
15713 CXX=${CXX:-wineg++}
15717 if test "$wxUSE_GUI" = "yes"; then
15719 if test "$USE_BEOS" = 1; then
15720 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
15721 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
15722 { (exit 1); exit 1; }; }
15725 if test "$TOOLKIT_GIVEN" = 1; then
15726 for toolkit in `echo $ALL_TOOLKITS`; do
15728 eval "value=\$${var}"
15729 if test "x$value" = "xno"; then
15731 elif test "x$value" != "x"; then
15735 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
15736 eval "wx${toolkit}_VERSION=$value"
15740 for toolkit in `echo $ALL_TOOLKITS`; do
15741 if test "$has_toolkit_in_cache" != 1; then
15742 var=DEFAULT_DEFAULT_wxUSE_$toolkit
15744 var=DEFAULT_wxUSE_$toolkit
15746 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
15747 if test "x$version" != "x"; then
15748 eval "wx${toolkit}_VERSION=$version"
15751 eval "wxUSE_$toolkit=\$${var}"
15755 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
15756 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
15757 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
15760 *-pc-os2_emx | *-pc-os2-emx )
15761 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
15764 case "$NUM_TOOLKITS" in
15768 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
15769 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
15770 { (exit 1); exit 1; }; }
15773 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
15774 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
15775 { (exit 1); exit 1; }; }
15778 # to be removed when --disable-gtk2 isn't needed
15779 if test "x$wxUSE_GTK2" = "xyes"; then
15781 elif test "x$wxUSE_GTK2" = "xno"; then
15785 for toolkit in `echo $ALL_TOOLKITS`; do
15787 eval "value=\$${var}"
15788 if test "x$value" != x; then
15789 cache_var=CACHE_$toolkit
15790 eval "cache=\$${cache_var}"
15791 if test "$cache" = 1; then
15792 echo "$var=$value" >> ${wx_arg_cache_file}
15793 eval "version=\$wx${toolkit}_VERSION"
15794 if test "x$version" != "x"; then
15795 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
15798 if test "$value" = 1; then
15799 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
15800 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
15801 echo "${ECHO_T}$toolkit_echo" >&6; }
15806 if test "x$host_alias" != "x"; then
15807 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
15808 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
15810 { echo "$as_me:$LINENO: result: base only" >&5
15811 echo "${ECHO_T}base only" >&6; }
15816 cat >confcache <<\_ACEOF
15817 # This file is a shell script that caches the results of configure
15818 # tests run on this system so they can be shared between configure
15819 # scripts and configure runs, see configure's option --config-cache.
15820 # It is not useful on other systems. If it contains results you don't
15821 # want to keep, you may remove or edit it.
15823 # config.status only pays attention to the cache file if you give it
15824 # the --recheck option to rerun configure.
15826 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
15827 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15828 # following values.
15832 # The following way of writing the cache mishandles newlines in values,
15833 # but we know of no workaround that is simple, portable, and efficient.
15834 # So, we kill variables containing newlines.
15835 # Ultrix sh set writes to stderr and can't be redirected directly,
15836 # and sets the high bit in the cache file unless we assign to the vars.
15838 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15839 eval ac_val
=\$
$ac_var
15843 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15844 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15847 _
| IFS
| as_nl
) ;; #(
15848 *) $as_unset $ac_var ;;
15854 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15855 *${as_nl}ac_space
=\
*)
15856 # `set' does not quote correctly, so add quotes (double-quote
15857 # substitution turns \\\\ into \\, and sed turns \\ into \).
15860 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15863 # `set' quotes correctly as required by POSIX, so do not add quotes.
15864 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15873 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15875 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15877 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15878 if test -w "$cache_file"; then
15879 test "x$cache_file" != "x/dev/null" &&
15880 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15881 echo "$as_me: updating cache $cache_file" >&6;}
15882 cat confcache
>$cache_file
15884 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15885 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15895 ac_cpp
='$CPP $CPPFLAGS'
15896 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15897 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15898 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15899 if test -n "$ac_tool_prefix"; then
15900 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15901 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
15902 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15904 if test "${ac_cv_prog_CC+set}" = set; then
15905 echo $ECHO_N "(cached) $ECHO_C" >&6
15907 if test -n "$CC"; then
15908 ac_cv_prog_CC
="$CC" # Let the user override the test.
15910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15911 for as_dir
in $PATH
15914 test -z "$as_dir" && as_dir
=.
15915 for ac_exec_ext
in '' $ac_executable_extensions; do
15916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15917 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
15918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15928 if test -n "$CC"; then
15929 { echo "$as_me:$LINENO: result: $CC" >&5
15930 echo "${ECHO_T}$CC" >&6; }
15932 { echo "$as_me:$LINENO: result: no" >&5
15933 echo "${ECHO_T}no" >&6; }
15938 if test -z "$ac_cv_prog_CC"; then
15940 # Extract the first word of "gcc", so it can be a program name with args.
15941 set dummy gcc
; ac_word
=$2
15942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15944 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15945 echo $ECHO_N "(cached) $ECHO_C" >&6
15947 if test -n "$ac_ct_CC"; then
15948 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
15950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15951 for as_dir
in $PATH
15954 test -z "$as_dir" && as_dir
=.
15955 for ac_exec_ext
in '' $ac_executable_extensions; do
15956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15957 ac_cv_prog_ac_ct_CC
="gcc"
15958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15967 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
15968 if test -n "$ac_ct_CC"; then
15969 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15970 echo "${ECHO_T}$ac_ct_CC" >&6; }
15972 { echo "$as_me:$LINENO: result: no" >&5
15973 echo "${ECHO_T}no" >&6; }
15976 if test "x$ac_ct_CC" = x
; then
15979 case $cross_compiling:$ac_tool_warned in
15981 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15982 whose name does not start with the host triplet. If you think this
15983 configuration is useful to you, please write to autoconf@gnu.org." >&5
15984 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15985 whose name does not start with the host triplet. If you think this
15986 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15987 ac_tool_warned
=yes ;;
15992 CC
="$ac_cv_prog_CC"
15995 if test -z "$CC"; then
15996 if test -n "$ac_tool_prefix"; then
15997 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15998 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
15999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16001 if test "${ac_cv_prog_CC+set}" = set; then
16002 echo $ECHO_N "(cached) $ECHO_C" >&6
16004 if test -n "$CC"; then
16005 ac_cv_prog_CC
="$CC" # Let the user override the test.
16007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16008 for as_dir
in $PATH
16011 test -z "$as_dir" && as_dir
=.
16012 for ac_exec_ext
in '' $ac_executable_extensions; do
16013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16014 ac_cv_prog_CC
="${ac_tool_prefix}cc"
16015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16025 if test -n "$CC"; then
16026 { echo "$as_me:$LINENO: result: $CC" >&5
16027 echo "${ECHO_T}$CC" >&6; }
16029 { echo "$as_me:$LINENO: result: no" >&5
16030 echo "${ECHO_T}no" >&6; }
16036 if test -z "$CC"; then
16037 # Extract the first word of "cc", so it can be a program name with args.
16038 set dummy cc
; ac_word
=$2
16039 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16041 if test "${ac_cv_prog_CC+set}" = set; then
16042 echo $ECHO_N "(cached) $ECHO_C" >&6
16044 if test -n "$CC"; then
16045 ac_cv_prog_CC
="$CC" # Let the user override the test.
16047 ac_prog_rejected
=no
16048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16049 for as_dir
in $PATH
16052 test -z "$as_dir" && as_dir
=.
16053 for ac_exec_ext
in '' $ac_executable_extensions; do
16054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16055 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16056 ac_prog_rejected
=yes
16060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16067 if test $ac_prog_rejected = yes; then
16068 # We found a bogon in the path, so make sure we never use it.
16069 set dummy
$ac_cv_prog_CC
16071 if test $# != 0; then
16072 # We chose a different compiler from the bogus one.
16073 # However, it has the same basename, so the bogon will be chosen
16074 # first if we set CC to just the basename; use the full file name.
16076 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
16082 if test -n "$CC"; then
16083 { echo "$as_me:$LINENO: result: $CC" >&5
16084 echo "${ECHO_T}$CC" >&6; }
16086 { echo "$as_me:$LINENO: result: no" >&5
16087 echo "${ECHO_T}no" >&6; }
16092 if test -z "$CC"; then
16093 if test -n "$ac_tool_prefix"; then
16094 for ac_prog
in cl.exe
16096 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16097 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16098 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16100 if test "${ac_cv_prog_CC+set}" = set; then
16101 echo $ECHO_N "(cached) $ECHO_C" >&6
16103 if test -n "$CC"; then
16104 ac_cv_prog_CC
="$CC" # Let the user override the test.
16106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16107 for as_dir
in $PATH
16110 test -z "$as_dir" && as_dir
=.
16111 for ac_exec_ext
in '' $ac_executable_extensions; do
16112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16113 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
16114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16124 if test -n "$CC"; then
16125 { echo "$as_me:$LINENO: result: $CC" >&5
16126 echo "${ECHO_T}$CC" >&6; }
16128 { echo "$as_me:$LINENO: result: no" >&5
16129 echo "${ECHO_T}no" >&6; }
16133 test -n "$CC" && break
16136 if test -z "$CC"; then
16138 for ac_prog
in cl.exe
16140 # Extract the first word of "$ac_prog", so it can be a program name with args.
16141 set dummy
$ac_prog; ac_word
=$2
16142 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16144 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16145 echo $ECHO_N "(cached) $ECHO_C" >&6
16147 if test -n "$ac_ct_CC"; then
16148 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16151 for as_dir
in $PATH
16154 test -z "$as_dir" && as_dir
=.
16155 for ac_exec_ext
in '' $ac_executable_extensions; do
16156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16157 ac_cv_prog_ac_ct_CC
="$ac_prog"
16158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16167 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16168 if test -n "$ac_ct_CC"; then
16169 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16170 echo "${ECHO_T}$ac_ct_CC" >&6; }
16172 { echo "$as_me:$LINENO: result: no" >&5
16173 echo "${ECHO_T}no" >&6; }
16177 test -n "$ac_ct_CC" && break
16180 if test "x$ac_ct_CC" = x
; then
16183 case $cross_compiling:$ac_tool_warned in
16185 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16186 whose name does not start with the host triplet. If you think this
16187 configuration is useful to you, please write to autoconf@gnu.org." >&5
16188 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16189 whose name does not start with the host triplet. If you think this
16190 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16191 ac_tool_warned
=yes ;;
16200 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16201 See \`config.log' for more details." >&5
16202 echo "$as_me: error: no acceptable C compiler found in \$PATH
16203 See \`config.log' for more details." >&2;}
16204 { (exit 1); exit 1; }; }
16206 # Provide some information about the compiler.
16207 echo "$as_me:$LINENO: checking for C compiler version" >&5
16208 ac_compiler
=`set X $ac_compile; echo $2`
16209 { (ac_try
="$ac_compiler --version >&5"
16210 case "(($ac_try" in
16211 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16212 *) ac_try_echo=$ac_try;;
16214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16215 (eval "$ac_compiler --version >&5") 2>&5
16217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16218 (exit $ac_status); }
16219 { (ac_try="$ac_compiler -v >&5"
16220 case "(($ac_try" in
16221 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16222 *) ac_try_echo
=$ac_try;;
16224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16225 (eval "$ac_compiler -v >&5") 2>&5
16227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16228 (exit $ac_status); }
16229 { (ac_try
="$ac_compiler -V >&5"
16230 case "(($ac_try" in
16231 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16232 *) ac_try_echo=$ac_try;;
16234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16235 (eval "$ac_compiler -V >&5") 2>&5
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); }
16240 cat >conftest.$ac_ext <<_ACEOF
16243 cat confdefs.h >>conftest.$ac_ext
16244 cat >>conftest.$ac_ext <<_ACEOF
16245 /* end confdefs.h. */
16255 ac_clean_files_save=$ac_clean_files
16256 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16257 # Try to create an executable without -o first, disregard a.out.
16258 # It will help us diagnose broken compilers, and finding out an intuition
16260 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16261 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16262 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16264 # List of possible output files, starting from the most likely.
16265 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
16266 # only as a last resort. b.out is created by i960 compilers.
16267 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
16269 # The IRIX 6 linker writes into existing files which may not be
16270 # executable, retaining their permissions. Remove them first so a
16271 # subsequent execution test works.
16273 for ac_file in $ac_files
16276 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16277 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16282 if { (ac_try="$ac_link_default"
16283 case "(($ac_try" in
16284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16285 *) ac_try_echo=$ac_try;;
16287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16288 (eval "$ac_link_default") 2>&5
16290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16291 (exit $ac_status); }; then
16292 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16293 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16294 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16295 # so that the user can short-circuit this test for compilers unknown to
16297 for ac_file
in $ac_files ''
16299 test -f "$ac_file" || continue
16301 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
16304 # We found the default executable, but exeext='' is most
16308 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
16310 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16312 # We set ac_cv_exeext here because the later test for it is not
16313 # safe: cross compilers may not add the suffix if given an `-o'
16314 # argument, so we may need to know it at that point already.
16315 # Even if this section looks crufty: it has the advantage of
16316 # actually working.
16322 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
16328 { echo "$as_me:$LINENO: result: $ac_file" >&5
16329 echo "${ECHO_T}$ac_file" >&6; }
16330 if test -z "$ac_file"; then
16331 echo "$as_me: failed program was:" >&5
16332 sed 's/^/| /' conftest.
$ac_ext >&5
16334 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
16335 See \`config.log' for more details." >&5
16336 echo "$as_me: error: C compiler cannot create executables
16337 See \`config.log' for more details." >&2;}
16338 { (exit 77); exit 77; }; }
16341 ac_exeext
=$ac_cv_exeext
16343 # Check that the compiler produces executables we can run. If not, either
16344 # the compiler is broken, or we cross compile.
16345 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
16346 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
16347 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
16348 # If not cross compiling, check that we can run a simple program.
16349 if test "$cross_compiling" != yes; then
16350 if { ac_try
='./$ac_file'
16351 { (case "(($ac_try" in
16352 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16353 *) ac_try_echo=$ac_try;;
16355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16356 (eval "$ac_try") 2>&5
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 (exit $ac_status); }; }; then
16362 if test "$cross_compiling" = maybe; then
16363 cross_compiling=yes
16365 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
16366 If you meant to cross compile, use \`--host'.
16367 See \`config.log' for more details.
" >&5
16368 echo "$as_me: error
: cannot run C compiled programs.
16369 If you meant to cross compile
, use \
`--host'.
16370 See \`config.log
' for more details." >&2;}
16371 { (exit 1); exit 1; }; }
16375 { echo "$as_me:$LINENO: result: yes" >&5
16376 echo "${ECHO_T}yes" >&6; }
16378 rm -f a.out a.exe conftest$ac_cv_exeext b.out
16379 ac_clean_files=$ac_clean_files_save
16380 # Check that the compiler produces executables we can run. If not, either
16381 # the compiler is broken, or we cross compile.
16382 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
16383 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
16384 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
16385 echo "${ECHO_T}$cross_compiling" >&6; }
16387 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
16388 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
16389 if { (ac_try="$ac_link"
16390 case "(($ac_try" in
16391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16392 *) ac_try_echo=$ac_try;;
16394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16395 (eval "$ac_link") 2>&5
16397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398 (exit $ac_status); }; then
16399 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
16400 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
16401 # work properly (i.e., refer to `conftest.exe
'), while it won't with
16403 for ac_file
in conftest.exe conftest conftest.
*; do
16404 test -f "$ac_file" || continue
16406 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
16407 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16413 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
16414 See \`config.log' for more details." >&5
16415 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
16416 See \`config.log' for more details." >&2;}
16417 { (exit 1); exit 1; }; }
16420 rm -f conftest
$ac_cv_exeext
16421 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
16422 echo "${ECHO_T}$ac_cv_exeext" >&6; }
16424 rm -f conftest.
$ac_ext
16425 EXEEXT
=$ac_cv_exeext
16427 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
16428 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
16429 if test "${ac_cv_objext+set}" = set; then
16430 echo $ECHO_N "(cached) $ECHO_C" >&6
16432 cat >conftest.
$ac_ext <<_ACEOF
16435 cat confdefs.h
>>conftest.
$ac_ext
16436 cat >>conftest.
$ac_ext <<_ACEOF
16437 /* end confdefs.h. */
16447 rm -f conftest.o conftest.obj
16448 if { (ac_try
="$ac_compile"
16449 case "(($ac_try" in
16450 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16451 *) ac_try_echo=$ac_try;;
16453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16454 (eval "$ac_compile") 2>&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); }; then
16458 for ac_file in conftest.o conftest.obj conftest.*; do
16459 test -f "$ac_file" || continue;
16461 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
16462 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16467 echo "$as_me: failed program was:" >&5
16468 sed 's/^/| /' conftest.$ac_ext >&5
16470 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
16471 See \`config.log
' for more details." >&5
16472 echo "$as_me: error: cannot compute suffix of object files: cannot compile
16473 See \`config.log' for more details.
" >&2;}
16474 { (exit 1); exit 1; }; }
16477 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16479 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
16480 echo "${ECHO_T}$ac_cv_objext" >&6; }
16481 OBJEXT=$ac_cv_objext
16483 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
16484 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
16485 if test "${ac_cv_c_compiler_gnu+set}" = set; then
16486 echo $ECHO_N "(cached
) $ECHO_C" >&6
16488 cat >conftest.$ac_ext <<_ACEOF
16491 cat confdefs.h >>conftest.$ac_ext
16492 cat >>conftest.$ac_ext <<_ACEOF
16493 /* end confdefs.h. */
16506 rm -f conftest.$ac_objext
16507 if { (ac_try="$ac_compile"
16508 case "(($ac_try" in
16509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16510 *) ac_try_echo=$ac_try;;
16512 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16513 (eval "$ac_compile") 2>conftest.er1
16515 grep -v '^ *+' conftest.er1 >conftest.err
16517 cat conftest.err >&5
16518 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16519 (exit $ac_status); } && {
16520 test -z "$ac_c_werror_flag" ||
16521 test ! -s conftest.err
16522 } && test -s conftest.$ac_objext; then
16523 ac_compiler_gnu=yes
16525 echo "$as_me: failed program was
:" >&5
16526 sed 's/^/| /' conftest.$ac_ext >&5
16531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16532 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16535 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
16536 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
16537 GCC=`test $ac_compiler_gnu = yes && echo yes`
16538 ac_test_CFLAGS=${CFLAGS+set}
16539 ac_save_CFLAGS=$CFLAGS
16540 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
16541 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
16542 if test "${ac_cv_prog_cc_g+set}" = set; then
16543 echo $ECHO_N "(cached
) $ECHO_C" >&6
16545 ac_save_c_werror_flag=$ac_c_werror_flag
16546 ac_c_werror_flag=yes
16549 cat >conftest.$ac_ext <<_ACEOF
16552 cat confdefs.h >>conftest.$ac_ext
16553 cat >>conftest.$ac_ext <<_ACEOF
16554 /* end confdefs.h. */
16564 rm -f conftest.$ac_objext
16565 if { (ac_try="$ac_compile"
16566 case "(($ac_try" in
16567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16568 *) ac_try_echo=$ac_try;;
16570 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16571 (eval "$ac_compile") 2>conftest.er1
16573 grep -v '^ *+' conftest.er1 >conftest.err
16575 cat conftest.err >&5
16576 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16577 (exit $ac_status); } && {
16578 test -z "$ac_c_werror_flag" ||
16579 test ! -s conftest.err
16580 } && test -s conftest.$ac_objext; then
16581 ac_cv_prog_cc_g=yes
16583 echo "$as_me: failed program was
:" >&5
16584 sed 's/^/| /' conftest.$ac_ext >&5
16587 cat >conftest.$ac_ext <<_ACEOF
16590 cat confdefs.h >>conftest.$ac_ext
16591 cat >>conftest.$ac_ext <<_ACEOF
16592 /* end confdefs.h. */
16602 rm -f conftest.$ac_objext
16603 if { (ac_try="$ac_compile"
16604 case "(($ac_try" in
16605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16606 *) ac_try_echo=$ac_try;;
16608 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16609 (eval "$ac_compile") 2>conftest.er1
16611 grep -v '^ *+' conftest.er1 >conftest.err
16613 cat conftest.err >&5
16614 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16615 (exit $ac_status); } && {
16616 test -z "$ac_c_werror_flag" ||
16617 test ! -s conftest.err
16618 } && test -s conftest.$ac_objext; then
16621 echo "$as_me: failed program was
:" >&5
16622 sed 's/^/| /' conftest.$ac_ext >&5
16624 ac_c_werror_flag=$ac_save_c_werror_flag
16626 cat >conftest.$ac_ext <<_ACEOF
16629 cat confdefs.h >>conftest.$ac_ext
16630 cat >>conftest.$ac_ext <<_ACEOF
16631 /* end confdefs.h. */
16641 rm -f conftest.$ac_objext
16642 if { (ac_try="$ac_compile"
16643 case "(($ac_try" in
16644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16645 *) ac_try_echo=$ac_try;;
16647 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16648 (eval "$ac_compile") 2>conftest.er1
16650 grep -v '^ *+' conftest.er1 >conftest.err
16652 cat conftest.err >&5
16653 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16654 (exit $ac_status); } && {
16655 test -z "$ac_c_werror_flag" ||
16656 test ! -s conftest.err
16657 } && test -s conftest.$ac_objext; then
16658 ac_cv_prog_cc_g=yes
16660 echo "$as_me: failed program was
:" >&5
16661 sed 's/^/| /' conftest.$ac_ext >&5
16666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16673 ac_c_werror_flag=$ac_save_c_werror_flag
16675 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
16676 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16677 if test "$ac_test_CFLAGS" = set; then
16678 CFLAGS=$ac_save_CFLAGS
16679 elif test $ac_cv_prog_cc_g = yes; then
16680 if test "$GCC" = yes; then
16686 if test "$GCC" = yes; then
16692 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
16693 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
16694 if test "${ac_cv_prog_cc_c89+set}" = set; then
16695 echo $ECHO_N "(cached
) $ECHO_C" >&6
16697 ac_cv_prog_cc_c89=no
16699 cat >conftest.$ac_ext <<_ACEOF
16702 cat confdefs.h >>conftest.$ac_ext
16703 cat >>conftest.$ac_ext <<_ACEOF
16704 /* end confdefs.h. */
16705 #include <stdarg.h>
16707 #include <sys/types.h>
16708 #include <sys/stat.h>
16709 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16710 struct buf { int x; };
16711 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16712 static char *e (p, i)
16718 static char *f (char * (*g) (char **, int), char **p, ...)
16723 s = g (p, va_arg (v,int));
16728 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16729 function prototypes and stuff, but not '\xHH' hex character constants.
16730 These don't provoke an error unfortunately, instead are silently treated
16731 as 'x'. The following induces an error, until -std is added to get
16732 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16733 array size at least. It's necessary to write '\x00'==0 to get something
16734 that's true only with -std. */
16735 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16737 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16738 inside strings and character constants. */
16740 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16742 int test (int i, double x);
16743 struct s1 {int (*f) (int a);};
16744 struct s2 {int (*f) (double a);};
16745 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16751 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16756 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16757 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16759 CC="$ac_save_CC $ac_arg"
16760 rm -f conftest.$ac_objext
16761 if { (ac_try="$ac_compile"
16762 case "(($ac_try" in
16763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16764 *) ac_try_echo=$ac_try;;
16766 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16767 (eval "$ac_compile") 2>conftest.er1
16769 grep -v '^ *+' conftest.er1 >conftest.err
16771 cat conftest.err >&5
16772 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16773 (exit $ac_status); } && {
16774 test -z "$ac_c_werror_flag" ||
16775 test ! -s conftest.err
16776 } && test -s conftest.$ac_objext; then
16777 ac_cv_prog_cc_c89=$ac_arg
16779 echo "$as_me: failed program was
:" >&5
16780 sed 's/^/| /' conftest.$ac_ext >&5
16785 rm -f core conftest.err conftest.$ac_objext
16786 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
16788 rm -f conftest.$ac_ext
16793 case "x
$ac_cv_prog_cc_c89" in
16795 { echo "$as_me:$LINENO: result
: none needed
" >&5
16796 echo "${ECHO_T}none needed
" >&6; } ;;
16798 { echo "$as_me:$LINENO: result
: unsupported
" >&5
16799 echo "${ECHO_T}unsupported
" >&6; } ;;
16801 CC="$CC $ac_cv_prog_cc_c89"
16802 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
16803 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16808 ac_cpp='$CPP $CPPFLAGS'
16809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16817 ac_cpp='$CPP $CPPFLAGS'
16818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16822 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
16823 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
16824 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16825 echo $ECHO_N "(cached
) $ECHO_C" >&6
16827 cat >conftest.$ac_ext <<_ACEOF
16830 cat confdefs.h >>conftest.$ac_ext
16831 cat >>conftest.$ac_ext <<_ACEOF
16832 /* end confdefs.h. */
16838 #ifndef __INTEL_COMPILER
16846 rm -f conftest.$ac_objext
16847 if { (ac_try="$ac_compile"
16848 case "(($ac_try" in
16849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16850 *) ac_try_echo=$ac_try;;
16852 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16853 (eval "$ac_compile") 2>conftest.er1
16855 grep -v '^ *+' conftest.er1 >conftest.err
16857 cat conftest.err >&5
16858 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16859 (exit $ac_status); } && {
16860 test -z "$ac_c_werror_flag" ||
16861 test ! -s conftest.err
16862 } && test -s conftest.$ac_objext; then
16863 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16865 echo "$as_me: failed program was
:" >&5
16866 sed 's/^/| /' conftest.$ac_ext >&5
16868 bakefile_cv_c_compiler___INTEL_COMPILER=no
16872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16876 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16877 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16878 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
16884 ac_cpp='$CPP $CPPFLAGS'
16885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16892 if test "x
$GCC" != "xyes
"; then
16893 if test "xCC
" = "xC
"; then
16894 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
16895 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
16896 if test "${bakefile_cv_c_exto+set}" = set; then
16897 echo $ECHO_N "(cached
) $ECHO_C" >&6
16899 cat >conftest.$ac_ext <<_ACEOF
16902 cat confdefs.h >>conftest.$ac_ext
16903 cat >>conftest.$ac_ext <<_ACEOF
16904 /* end confdefs.h. */
16914 rm -f conftest.$ac_objext conftest.$ac_ext.o
16915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16916 (eval $ac_compile) 2>&5
16918 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16919 (exit $ac_status); }; then
16920 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16922 conftest.$ac_ext.o)
16923 bakefile_cv_c_exto="-ext o
"
16930 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
16931 See \
`config.log' for more details." >&5
16932 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16933 See \`config.log
' for more details." >&2;}
16934 { (exit 1); exit 1; }; }
16938 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16941 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16942 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16943 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16944 if test "c" = "c"; then
16945 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16947 if test "c" = "cxx"; then
16948 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16952 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16953 unset ac_cv_prog_cc_g
16954 ac_test_CFLAGS=${CFLAGS+set}
16955 ac_save_CFLAGS=$CFLAGS
16956 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16957 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16958 if test "${ac_cv_prog_cc_g+set}" = set; then
16959 echo $ECHO_N "(cached) $ECHO_C" >&6
16961 ac_save_c_werror_flag=$ac_c_werror_flag
16962 ac_c_werror_flag=yes
16965 cat >conftest.$ac_ext <<_ACEOF
16968 cat confdefs.h >>conftest.$ac_ext
16969 cat >>conftest.$ac_ext <<_ACEOF
16970 /* end confdefs.h. */
16980 rm -f conftest.$ac_objext
16981 if { (ac_try="$ac_compile"
16982 case "(($ac_try" in
16983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16984 *) ac_try_echo=$ac_try;;
16986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16987 (eval "$ac_compile") 2>conftest.er1
16989 grep -v '^
*+' conftest.er1 >conftest.err
16991 cat conftest.err >&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); } && {
16994 test -z "$ac_c_werror_flag" ||
16995 test ! -s conftest.err
16996 } && test -s conftest.$ac_objext; then
16997 ac_cv_prog_cc_g=yes
16999 echo "$as_me: failed program was:" >&5
17000 sed 's
/^
/| /' conftest.$ac_ext >&5
17003 cat >conftest.$ac_ext <<_ACEOF
17006 cat confdefs.h >>conftest.$ac_ext
17007 cat >>conftest.$ac_ext <<_ACEOF
17008 /* end confdefs.h. */
17018 rm -f conftest.$ac_objext
17019 if { (ac_try="$ac_compile"
17020 case "(($ac_try" in
17021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17022 *) ac_try_echo=$ac_try;;
17024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17025 (eval "$ac_compile") 2>conftest.er1
17027 grep -v '^
*+' conftest.er1 >conftest.err
17029 cat conftest.err >&5
17030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031 (exit $ac_status); } && {
17032 test -z "$ac_c_werror_flag" ||
17033 test ! -s conftest.err
17034 } && test -s conftest.$ac_objext; then
17037 echo "$as_me: failed program was:" >&5
17038 sed 's
/^
/| /' conftest.$ac_ext >&5
17040 ac_c_werror_flag=$ac_save_c_werror_flag
17042 cat >conftest.$ac_ext <<_ACEOF
17045 cat confdefs.h >>conftest.$ac_ext
17046 cat >>conftest.$ac_ext <<_ACEOF
17047 /* end confdefs.h. */
17057 rm -f conftest.$ac_objext
17058 if { (ac_try="$ac_compile"
17059 case "(($ac_try" in
17060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17061 *) ac_try_echo=$ac_try;;
17063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17064 (eval "$ac_compile") 2>conftest.er1
17066 grep -v '^
*+' conftest.er1 >conftest.err
17068 cat conftest.err >&5
17069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070 (exit $ac_status); } && {
17071 test -z "$ac_c_werror_flag" ||
17072 test ! -s conftest.err
17073 } && test -s conftest.$ac_objext; then
17074 ac_cv_prog_cc_g=yes
17076 echo "$as_me: failed program was:" >&5
17077 sed 's
/^
/| /' conftest.$ac_ext >&5
17082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17089 ac_c_werror_flag=$ac_save_c_werror_flag
17091 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17092 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17093 if test "$ac_test_CFLAGS" = set; then
17094 CFLAGS=$ac_save_CFLAGS
17095 elif test $ac_cv_prog_cc_g = yes; then
17096 if test "$GCC" = yes; then
17102 if test "$GCC" = yes; then
17116 ac_cpp='$CPP $CPPFLAGS'
17117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17118 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17121 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17122 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17123 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17124 echo $ECHO_N "(cached) $ECHO_C" >&6
17126 cat >conftest.$ac_ext <<_ACEOF
17129 cat confdefs.h >>conftest.$ac_ext
17130 cat >>conftest.$ac_ext <<_ACEOF
17131 /* end confdefs.h. */
17145 rm -f conftest.$ac_objext
17146 if { (ac_try="$ac_compile"
17147 case "(($ac_try" in
17148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17149 *) ac_try_echo=$ac_try;;
17151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17152 (eval "$ac_compile") 2>conftest.er1
17154 grep -v '^
*+' conftest.er1 >conftest.err
17156 cat conftest.err >&5
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); } && {
17159 test -z "$ac_c_werror_flag" ||
17160 test ! -s conftest.err
17161 } && test -s conftest.$ac_objext; then
17162 bakefile_cv_c_compiler___xlC__=yes
17164 echo "$as_me: failed program was:" >&5
17165 sed 's
/^
/| /' conftest.$ac_ext >&5
17167 bakefile_cv_c_compiler___xlC__=no
17171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17175 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17176 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17177 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17183 ac_cpp='$CPP $CPPFLAGS'
17184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17185 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17196 ac_cpp='$CPP $CPPFLAGS'
17197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17198 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17201 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17202 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17203 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17206 cat >conftest.$ac_ext <<_ACEOF
17209 cat confdefs.h >>conftest.$ac_ext
17210 cat >>conftest.$ac_ext <<_ACEOF
17211 /* end confdefs.h. */
17225 rm -f conftest.$ac_objext
17226 if { (ac_try="$ac_compile"
17227 case "(($ac_try" in
17228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17229 *) ac_try_echo=$ac_try;;
17231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17232 (eval "$ac_compile") 2>conftest.er1
17234 grep -v '^
*+' conftest.er1 >conftest.err
17236 cat conftest.err >&5
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); } && {
17239 test -z "$ac_c_werror_flag" ||
17240 test ! -s conftest.err
17241 } && test -s conftest.$ac_objext; then
17242 bakefile_cv_c_compiler___MWERKS__=yes
17244 echo "$as_me: failed program was:" >&5
17245 sed 's
/^
/| /' conftest.$ac_ext >&5
17247 bakefile_cv_c_compiler___MWERKS__=no
17251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17255 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17256 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17257 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17263 ac_cpp='$CPP $CPPFLAGS'
17264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17265 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17273 ac_cpp='$CPP $CPPFLAGS'
17274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17275 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17278 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17279 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17280 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17281 echo $ECHO_N "(cached) $ECHO_C" >&6
17283 cat >conftest.$ac_ext <<_ACEOF
17286 cat confdefs.h >>conftest.$ac_ext
17287 cat >>conftest.$ac_ext <<_ACEOF
17288 /* end confdefs.h. */
17302 rm -f conftest.$ac_objext
17303 if { (ac_try="$ac_compile"
17304 case "(($ac_try" in
17305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17306 *) ac_try_echo=$ac_try;;
17308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17309 (eval "$ac_compile") 2>conftest.er1
17311 grep -v '^
*+' conftest.er1 >conftest.err
17313 cat conftest.err >&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); } && {
17316 test -z "$ac_c_werror_flag" ||
17317 test ! -s conftest.err
17318 } && test -s conftest.$ac_objext; then
17319 bakefile_cv_c_compiler___xlC__=yes
17321 echo "$as_me: failed program was:" >&5
17322 sed 's
/^
/| /' conftest.$ac_ext >&5
17324 bakefile_cv_c_compiler___xlC__=no
17328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17332 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17333 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17334 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17340 ac_cpp='$CPP $CPPFLAGS'
17341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17342 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17353 ac_cpp='$CPP $CPPFLAGS'
17354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17355 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17358 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
17359 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
17360 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
17361 echo $ECHO_N "(cached) $ECHO_C" >&6
17363 cat >conftest.$ac_ext <<_ACEOF
17366 cat confdefs.h >>conftest.$ac_ext
17367 cat >>conftest.$ac_ext <<_ACEOF
17368 /* end confdefs.h. */
17374 #ifndef _SGI_COMPILER_VERSION
17382 rm -f conftest.$ac_objext
17383 if { (ac_try="$ac_compile"
17384 case "(($ac_try" in
17385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17386 *) ac_try_echo=$ac_try;;
17388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17389 (eval "$ac_compile") 2>conftest.er1
17391 grep -v '^
*+' conftest.er1 >conftest.err
17393 cat conftest.err >&5
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); } && {
17396 test -z "$ac_c_werror_flag" ||
17397 test ! -s conftest.err
17398 } && test -s conftest.$ac_objext; then
17399 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17401 echo "$as_me: failed program was:" >&5
17402 sed 's
/^
/| /' conftest.$ac_ext >&5
17404 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17412 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17413 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17414 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17420 ac_cpp='$CPP $CPPFLAGS'
17421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17422 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17433 ac_cpp='$CPP $CPPFLAGS'
17434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17435 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17438 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17439 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17440 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17441 echo $ECHO_N "(cached) $ECHO_C" >&6
17443 cat >conftest.$ac_ext <<_ACEOF
17446 cat confdefs.h >>conftest.$ac_ext
17447 cat >>conftest.$ac_ext <<_ACEOF
17448 /* end confdefs.h. */
17462 rm -f conftest.$ac_objext
17463 if { (ac_try="$ac_compile"
17464 case "(($ac_try" in
17465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17466 *) ac_try_echo=$ac_try;;
17468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17469 (eval "$ac_compile") 2>conftest.er1
17471 grep -v '^
*+' conftest.er1 >conftest.err
17473 cat conftest.err >&5
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); } && {
17476 test -z "$ac_c_werror_flag" ||
17477 test ! -s conftest.err
17478 } && test -s conftest.$ac_objext; then
17479 bakefile_cv_c_compiler___SUNPRO_C=yes
17481 echo "$as_me: failed program was:" >&5
17482 sed 's
/^
/| /' conftest.$ac_ext >&5
17484 bakefile_cv_c_compiler___SUNPRO_C=no
17488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17492 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17493 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17494 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17500 ac_cpp='$CPP $CPPFLAGS'
17501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17502 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17513 ac_cpp='$CPP $CPPFLAGS'
17514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17515 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17518 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
17519 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
17520 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
17521 echo $ECHO_N "(cached) $ECHO_C" >&6
17523 cat >conftest.$ac_ext <<_ACEOF
17526 cat confdefs.h >>conftest.$ac_ext
17527 cat >>conftest.$ac_ext <<_ACEOF
17528 /* end confdefs.h. */
17542 rm -f conftest.$ac_objext
17543 if { (ac_try="$ac_compile"
17544 case "(($ac_try" in
17545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17546 *) ac_try_echo=$ac_try;;
17548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17549 (eval "$ac_compile") 2>conftest.er1
17551 grep -v '^
*+' conftest.er1 >conftest.err
17553 cat conftest.err >&5
17554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17555 (exit $ac_status); } && {
17556 test -z "$ac_c_werror_flag" ||
17557 test ! -s conftest.err
17558 } && test -s conftest.$ac_objext; then
17559 bakefile_cv_c_compiler___HP_cc=yes
17561 echo "$as_me: failed program was:" >&5
17562 sed 's
/^
/| /' conftest.$ac_ext >&5
17564 bakefile_cv_c_compiler___HP_cc=no
17568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17572 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17573 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17574 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17580 ac_cpp='$CPP $CPPFLAGS'
17581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17582 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17593 ac_cpp='$CPP $CPPFLAGS'
17594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17595 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17598 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17599 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17600 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17601 echo $ECHO_N "(cached) $ECHO_C" >&6
17603 cat >conftest.$ac_ext <<_ACEOF
17606 cat confdefs.h >>conftest.$ac_ext
17607 cat >>conftest.$ac_ext <<_ACEOF
17608 /* end confdefs.h. */
17622 rm -f conftest.$ac_objext
17623 if { (ac_try="$ac_compile"
17624 case "(($ac_try" in
17625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17626 *) ac_try_echo=$ac_try;;
17628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17629 (eval "$ac_compile") 2>conftest.er1
17631 grep -v '^
*+' conftest.er1 >conftest.err
17633 cat conftest.err >&5
17634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635 (exit $ac_status); } && {
17636 test -z "$ac_c_werror_flag" ||
17637 test ! -s conftest.err
17638 } && test -s conftest.$ac_objext; then
17639 bakefile_cv_c_compiler___DECC=yes
17641 echo "$as_me: failed program was:" >&5
17642 sed 's
/^
/| /' conftest.$ac_ext >&5
17644 bakefile_cv_c_compiler___DECC=no
17648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17652 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17653 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17654 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17660 ac_cpp='$CPP $CPPFLAGS'
17661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17662 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17673 ac_cpp='$CPP $CPPFLAGS'
17674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17675 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17678 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17679 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17680 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17681 echo $ECHO_N "(cached) $ECHO_C" >&6
17683 cat >conftest.$ac_ext <<_ACEOF
17686 cat confdefs.h >>conftest.$ac_ext
17687 cat >>conftest.$ac_ext <<_ACEOF
17688 /* end confdefs.h. */
17702 rm -f conftest.$ac_objext
17703 if { (ac_try="$ac_compile"
17704 case "(($ac_try" in
17705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17706 *) ac_try_echo=$ac_try;;
17708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17709 (eval "$ac_compile") 2>conftest.er1
17711 grep -v '^
*+' conftest.er1 >conftest.err
17713 cat conftest.err >&5
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); } && {
17716 test -z "$ac_c_werror_flag" ||
17717 test ! -s conftest.err
17718 } && test -s conftest.$ac_objext; then
17719 bakefile_cv_c_compiler___SUNPRO_C=yes
17721 echo "$as_me: failed program was:" >&5
17722 sed 's
/^
/| /' conftest.$ac_ext >&5
17724 bakefile_cv_c_compiler___SUNPRO_C=no
17728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17732 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17733 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17734 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17740 ac_cpp='$CPP $CPPFLAGS'
17741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17742 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17754 ac_cpp='$CPP $CPPFLAGS'
17755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17756 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17758 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17759 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17760 # On Suns, sometimes $CPP names a directory.
17761 if test -n "$CPP" && test -d "$CPP"; then
17764 if test -z "$CPP"; then
17765 if test "${ac_cv_prog_CPP+set}" = set; then
17766 echo $ECHO_N "(cached) $ECHO_C" >&6
17768 # Double quotes because CPP needs to be expanded
17769 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17771 ac_preproc_ok=false
17772 for ac_c_preproc_warn_flag in '' yes
17774 # Use a header file that comes with gcc, so configuring glibc
17775 # with a fresh cross-compiler works.
17776 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17777 # <limits.h> exists even on freestanding compilers.
17778 # On the NeXT, cc -E runs the code through the compiler's parser
,
17779 # not just through cpp. "Syntax error" is here to catch this case.
17780 cat >conftest.
$ac_ext <<_ACEOF
17783 cat confdefs.h
>>conftest.
$ac_ext
17784 cat >>conftest.
$ac_ext <<_ACEOF
17785 /* end confdefs.h. */
17787 # include <limits.h>
17789 # include <assert.h>
17793 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17794 case "(($ac_try" in
17795 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17796 *) ac_try_echo=$ac_try;;
17798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17799 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17801 grep -v '^ *+' conftest.er1 >conftest.err
17803 cat conftest.err >&5
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); } >/dev/null && {
17806 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17807 test ! -s conftest.err
17811 echo "$as_me: failed program was:" >&5
17812 sed 's/^/| /' conftest.$ac_ext >&5
17814 # Broken: fails on valid input.
17818 rm -f conftest.err conftest.$ac_ext
17820 # OK, works on sane cases. Now check whether nonexistent headers
17821 # can be detected and how.
17822 cat >conftest.$ac_ext <<_ACEOF
17825 cat confdefs.h >>conftest.$ac_ext
17826 cat >>conftest.$ac_ext <<_ACEOF
17827 /* end confdefs.h. */
17828 #include <ac_nonexistent.h>
17830 if { (ac_try="$ac_cpp conftest.$ac_ext"
17831 case "(($ac_try" in
17832 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17833 *) ac_try_echo
=$ac_try;;
17835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17836 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17838 grep -v '^ *+' conftest.er1
>conftest.err
17840 cat conftest.err
>&5
17841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17842 (exit $ac_status); } >/dev
/null
&& {
17843 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17844 test ! -s conftest.err
17846 # Broken: success on invalid input.
17849 echo "$as_me: failed program was:" >&5
17850 sed 's/^/| /' conftest.
$ac_ext >&5
17852 # Passes both tests.
17857 rm -f conftest.err conftest.
$ac_ext
17860 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17861 rm -f conftest.err conftest.
$ac_ext
17862 if $ac_preproc_ok; then
17867 ac_cv_prog_CPP
=$CPP
17870 CPP
=$ac_cv_prog_CPP
17872 ac_cv_prog_CPP
=$CPP
17874 { echo "$as_me:$LINENO: result: $CPP" >&5
17875 echo "${ECHO_T}$CPP" >&6; }
17876 ac_preproc_ok
=false
17877 for ac_c_preproc_warn_flag
in '' yes
17879 # Use a header file that comes with gcc, so configuring glibc
17880 # with a fresh cross-compiler works.
17881 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17882 # <limits.h> exists even on freestanding compilers.
17883 # On the NeXT, cc -E runs the code through the compiler's parser,
17884 # not just through cpp. "Syntax error" is here to catch this case.
17885 cat >conftest.
$ac_ext <<_ACEOF
17888 cat confdefs.h
>>conftest.
$ac_ext
17889 cat >>conftest.
$ac_ext <<_ACEOF
17890 /* end confdefs.h. */
17892 # include <limits.h>
17894 # include <assert.h>
17898 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17899 case "(($ac_try" in
17900 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17901 *) ac_try_echo=$ac_try;;
17903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17904 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17906 grep -v '^ *+' conftest.er1 >conftest.err
17908 cat conftest.err >&5
17909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910 (exit $ac_status); } >/dev/null && {
17911 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17912 test ! -s conftest.err
17916 echo "$as_me: failed program was:" >&5
17917 sed 's/^/| /' conftest.$ac_ext >&5
17919 # Broken: fails on valid input.
17923 rm -f conftest.err conftest.$ac_ext
17925 # OK, works on sane cases. Now check whether nonexistent headers
17926 # can be detected and how.
17927 cat >conftest.$ac_ext <<_ACEOF
17930 cat confdefs.h >>conftest.$ac_ext
17931 cat >>conftest.$ac_ext <<_ACEOF
17932 /* end confdefs.h. */
17933 #include <ac_nonexistent.h>
17935 if { (ac_try="$ac_cpp conftest.$ac_ext"
17936 case "(($ac_try" in
17937 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17938 *) ac_try_echo
=$ac_try;;
17940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17941 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17943 grep -v '^ *+' conftest.er1
>conftest.err
17945 cat conftest.err
>&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); } >/dev
/null
&& {
17948 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17949 test ! -s conftest.err
17951 # Broken: success on invalid input.
17954 echo "$as_me: failed program was:" >&5
17955 sed 's/^/| /' conftest.
$ac_ext >&5
17957 # Passes both tests.
17962 rm -f conftest.err conftest.
$ac_ext
17965 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17966 rm -f conftest.err conftest.
$ac_ext
17967 if $ac_preproc_ok; then
17970 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17971 See \`config.log' for more details." >&5
17972 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17973 See \`config.log' for more details." >&2;}
17974 { (exit 1); exit 1; }; }
17978 ac_cpp
='$CPP $CPPFLAGS'
17979 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17980 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17981 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17984 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17985 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17986 if test "${ac_cv_path_GREP+set}" = set; then
17987 echo $ECHO_N "(cached) $ECHO_C" >&6
17989 # Extract the first word of "grep ggrep" to use in msg output
17990 if test -z "$GREP"; then
17991 set dummy
grep ggrep
; ac_prog_name
=$2
17992 if test "${ac_cv_path_GREP+set}" = set; then
17993 echo $ECHO_N "(cached) $ECHO_C" >&6
17995 ac_path_GREP_found
=false
17996 # Loop through the user's path and test for each of PROGNAME-LIST
17997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17998 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18001 test -z "$as_dir" && as_dir
=.
18002 for ac_prog
in grep ggrep
; do
18003 for ac_exec_ext
in '' $ac_executable_extensions; do
18004 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
18005 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18006 # Check for GNU ac_path_GREP and select it if it is found.
18007 # Check for GNU $ac_path_GREP
18008 case `"$ac_path_GREP" --version 2>&1` in
18010 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
18013 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18016 cat "conftest.in" "conftest.in" >"conftest.tmp"
18017 mv "conftest.tmp" "conftest.in"
18018 cp "conftest.in" "conftest.nl"
18019 echo 'GREP' >> "conftest.nl"
18020 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18021 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18022 ac_count
=`expr $ac_count + 1`
18023 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18024 # Best one so far, save it but keep looking for a better one
18025 ac_cv_path_GREP
="$ac_path_GREP"
18026 ac_path_GREP_max
=$ac_count
18028 # 10*(2^10) chars as input seems more than enough
18029 test $ac_count -gt 10 && break
18031 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18035 $ac_path_GREP_found && break 3
18045 GREP
="$ac_cv_path_GREP"
18046 if test -z "$GREP"; then
18047 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18048 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18049 { (exit 1); exit 1; }; }
18053 ac_cv_path_GREP
=$GREP
18058 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18059 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18060 GREP
="$ac_cv_path_GREP"
18063 { echo "$as_me:$LINENO: checking for egrep" >&5
18064 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18065 if test "${ac_cv_path_EGREP+set}" = set; then
18066 echo $ECHO_N "(cached) $ECHO_C" >&6
18068 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
18069 then ac_cv_path_EGREP
="$GREP -E"
18071 # Extract the first word of "egrep" to use in msg output
18072 if test -z "$EGREP"; then
18073 set dummy
egrep; ac_prog_name
=$2
18074 if test "${ac_cv_path_EGREP+set}" = set; then
18075 echo $ECHO_N "(cached) $ECHO_C" >&6
18077 ac_path_EGREP_found
=false
18078 # Loop through the user's path and test for each of PROGNAME-LIST
18079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18080 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18083 test -z "$as_dir" && as_dir
=.
18084 for ac_prog
in egrep; do
18085 for ac_exec_ext
in '' $ac_executable_extensions; do
18086 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
18087 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18088 # Check for GNU ac_path_EGREP and select it if it is found.
18089 # Check for GNU $ac_path_EGREP
18090 case `"$ac_path_EGREP" --version 2>&1` in
18092 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
18095 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18098 cat "conftest.in" "conftest.in" >"conftest.tmp"
18099 mv "conftest.tmp" "conftest.in"
18100 cp "conftest.in" "conftest.nl"
18101 echo 'EGREP' >> "conftest.nl"
18102 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18103 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18104 ac_count
=`expr $ac_count + 1`
18105 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18106 # Best one so far, save it but keep looking for a better one
18107 ac_cv_path_EGREP
="$ac_path_EGREP"
18108 ac_path_EGREP_max
=$ac_count
18110 # 10*(2^10) chars as input seems more than enough
18111 test $ac_count -gt 10 && break
18113 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18117 $ac_path_EGREP_found && break 3
18127 EGREP
="$ac_cv_path_EGREP"
18128 if test -z "$EGREP"; then
18129 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18130 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18131 { (exit 1); exit 1; }; }
18135 ac_cv_path_EGREP
=$EGREP
18141 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18142 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18143 EGREP
="$ac_cv_path_EGREP"
18146 if test $ac_cv_c_compiler_gnu = yes; then
18147 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18148 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18149 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18150 echo $ECHO_N "(cached) $ECHO_C" >&6
18152 ac_pattern
="Autoconf.*'x'"
18153 cat >conftest.
$ac_ext <<_ACEOF
18156 cat confdefs.h
>>conftest.
$ac_ext
18157 cat >>conftest.
$ac_ext <<_ACEOF
18158 /* end confdefs.h. */
18162 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18163 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18164 ac_cv_prog_gcc_traditional
=yes
18166 ac_cv_prog_gcc_traditional
=no
18171 if test $ac_cv_prog_gcc_traditional = no
; then
18172 cat >conftest.
$ac_ext <<_ACEOF
18175 cat confdefs.h
>>conftest.
$ac_ext
18176 cat >>conftest.
$ac_ext <<_ACEOF
18177 /* end confdefs.h. */
18178 #include <termio.h>
18181 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18182 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18183 ac_cv_prog_gcc_traditional
=yes
18189 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18190 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18191 if test $ac_cv_prog_gcc_traditional = yes; then
18192 CC
="$CC -traditional"
18197 CXXFLAGS
=${CXXFLAGS:=}
18202 ac_cpp
='$CXXCPP $CPPFLAGS'
18203 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18204 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18205 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18206 if test -z "$CXX"; then
18207 if test -n "$CCC"; then
18210 if test -n "$ac_tool_prefix"; then
18211 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18213 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18214 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18217 if test "${ac_cv_prog_CXX+set}" = set; then
18218 echo $ECHO_N "(cached) $ECHO_C" >&6
18220 if test -n "$CXX"; then
18221 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
18223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18224 for as_dir
in $PATH
18227 test -z "$as_dir" && as_dir
=.
18228 for ac_exec_ext
in '' $ac_executable_extensions; do
18229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18230 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
18231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18240 CXX
=$ac_cv_prog_CXX
18241 if test -n "$CXX"; then
18242 { echo "$as_me:$LINENO: result: $CXX" >&5
18243 echo "${ECHO_T}$CXX" >&6; }
18245 { echo "$as_me:$LINENO: result: no" >&5
18246 echo "${ECHO_T}no" >&6; }
18250 test -n "$CXX" && break
18253 if test -z "$CXX"; then
18255 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18257 # Extract the first word of "$ac_prog", so it can be a program name with args.
18258 set dummy
$ac_prog; ac_word
=$2
18259 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18261 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18262 echo $ECHO_N "(cached) $ECHO_C" >&6
18264 if test -n "$ac_ct_CXX"; then
18265 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
18267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18268 for as_dir
in $PATH
18271 test -z "$as_dir" && as_dir
=.
18272 for ac_exec_ext
in '' $ac_executable_extensions; do
18273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18274 ac_cv_prog_ac_ct_CXX
="$ac_prog"
18275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18284 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
18285 if test -n "$ac_ct_CXX"; then
18286 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18287 echo "${ECHO_T}$ac_ct_CXX" >&6; }
18289 { echo "$as_me:$LINENO: result: no" >&5
18290 echo "${ECHO_T}no" >&6; }
18294 test -n "$ac_ct_CXX" && break
18297 if test "x$ac_ct_CXX" = x
; then
18300 case $cross_compiling:$ac_tool_warned in
18302 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18303 whose name does not start with the host triplet. If you think this
18304 configuration is useful to you, please write to autoconf@gnu.org." >&5
18305 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18306 whose name does not start with the host triplet. If you think this
18307 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18308 ac_tool_warned
=yes ;;
18316 # Provide some information about the compiler.
18317 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
18318 ac_compiler
=`set X $ac_compile; echo $2`
18319 { (ac_try
="$ac_compiler --version >&5"
18320 case "(($ac_try" in
18321 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18322 *) ac_try_echo=$ac_try;;
18324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18325 (eval "$ac_compiler --version >&5") 2>&5
18327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328 (exit $ac_status); }
18329 { (ac_try="$ac_compiler -v >&5"
18330 case "(($ac_try" in
18331 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18332 *) ac_try_echo
=$ac_try;;
18334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18335 (eval "$ac_compiler -v >&5") 2>&5
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338 (exit $ac_status); }
18339 { (ac_try
="$ac_compiler -V >&5"
18340 case "(($ac_try" in
18341 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18342 *) ac_try_echo=$ac_try;;
18344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18345 (eval "$ac_compiler -V >&5") 2>&5
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); }
18350 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
18351 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
18352 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
18353 echo $ECHO_N "(cached) $ECHO_C" >&6
18355 cat >conftest.$ac_ext <<_ACEOF
18358 cat confdefs.h >>conftest.$ac_ext
18359 cat >>conftest.$ac_ext <<_ACEOF
18360 /* end confdefs.h. */
18373 rm -f conftest.$ac_objext
18374 if { (ac_try="$ac_compile"
18375 case "(($ac_try" in
18376 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18377 *) ac_try_echo
=$ac_try;;
18379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18380 (eval "$ac_compile") 2>conftest.er1
18382 grep -v '^ *+' conftest.er1
>conftest.err
18384 cat conftest.err
>&5
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); } && {
18387 test -z "$ac_cxx_werror_flag" ||
18388 test ! -s conftest.err
18389 } && test -s conftest.
$ac_objext; then
18390 ac_compiler_gnu
=yes
18392 echo "$as_me: failed program was:" >&5
18393 sed 's/^/| /' conftest.
$ac_ext >&5
18398 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18399 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
18402 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
18403 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
18404 GXX
=`test $ac_compiler_gnu = yes && echo yes`
18405 ac_test_CXXFLAGS
=${CXXFLAGS+set}
18406 ac_save_CXXFLAGS
=$CXXFLAGS
18407 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
18408 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
18409 if test "${ac_cv_prog_cxx_g+set}" = set; then
18410 echo $ECHO_N "(cached) $ECHO_C" >&6
18412 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
18413 ac_cxx_werror_flag
=yes
18414 ac_cv_prog_cxx_g
=no
18416 cat >conftest.
$ac_ext <<_ACEOF
18419 cat confdefs.h
>>conftest.
$ac_ext
18420 cat >>conftest.
$ac_ext <<_ACEOF
18421 /* end confdefs.h. */
18431 rm -f conftest.
$ac_objext
18432 if { (ac_try
="$ac_compile"
18433 case "(($ac_try" in
18434 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18435 *) ac_try_echo=$ac_try;;
18437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18438 (eval "$ac_compile") 2>conftest.er1
18440 grep -v '^ *+' conftest.er1 >conftest.err
18442 cat conftest.err >&5
18443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444 (exit $ac_status); } && {
18445 test -z "$ac_cxx_werror_flag" ||
18446 test ! -s conftest.err
18447 } && test -s conftest.$ac_objext; then
18448 ac_cv_prog_cxx_g=yes
18450 echo "$as_me: failed program was:" >&5
18451 sed 's/^/| /' conftest.$ac_ext >&5
18454 cat >conftest.$ac_ext <<_ACEOF
18457 cat confdefs.h >>conftest.$ac_ext
18458 cat >>conftest.$ac_ext <<_ACEOF
18459 /* end confdefs.h. */
18469 rm -f conftest.$ac_objext
18470 if { (ac_try="$ac_compile"
18471 case "(($ac_try" in
18472 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18473 *) ac_try_echo
=$ac_try;;
18475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18476 (eval "$ac_compile") 2>conftest.er1
18478 grep -v '^ *+' conftest.er1
>conftest.err
18480 cat conftest.err
>&5
18481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18482 (exit $ac_status); } && {
18483 test -z "$ac_cxx_werror_flag" ||
18484 test ! -s conftest.err
18485 } && test -s conftest.
$ac_objext; then
18488 echo "$as_me: failed program was:" >&5
18489 sed 's/^/| /' conftest.
$ac_ext >&5
18491 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
18493 cat >conftest.
$ac_ext <<_ACEOF
18496 cat confdefs.h
>>conftest.
$ac_ext
18497 cat >>conftest.
$ac_ext <<_ACEOF
18498 /* end confdefs.h. */
18508 rm -f conftest.
$ac_objext
18509 if { (ac_try
="$ac_compile"
18510 case "(($ac_try" in
18511 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18512 *) ac_try_echo=$ac_try;;
18514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18515 (eval "$ac_compile") 2>conftest.er1
18517 grep -v '^ *+' conftest.er1 >conftest.err
18519 cat conftest.err >&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); } && {
18522 test -z "$ac_cxx_werror_flag" ||
18523 test ! -s conftest.err
18524 } && test -s conftest.$ac_objext; then
18525 ac_cv_prog_cxx_g=yes
18527 echo "$as_me: failed program was:" >&5
18528 sed 's/^/| /' conftest.$ac_ext >&5
18533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18540 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18542 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
18543 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
18544 if test "$ac_test_CXXFLAGS" = set; then
18545 CXXFLAGS=$ac_save_CXXFLAGS
18546 elif test $ac_cv_prog_cxx_g = yes; then
18547 if test "$GXX" = yes; then
18553 if test "$GXX" = yes; then
18560 ac_cpp='$CPP $CPPFLAGS'
18561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18569 ac_cpp='$CXXCPP $CPPFLAGS'
18570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18574 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18575 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18576 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18577 echo $ECHO_N "(cached) $ECHO_C" >&6
18579 cat >conftest.$ac_ext <<_ACEOF
18582 cat confdefs.h >>conftest.$ac_ext
18583 cat >>conftest.$ac_ext <<_ACEOF
18584 /* end confdefs.h. */
18590 #ifndef __INTEL_COMPILER
18598 rm -f conftest.$ac_objext
18599 if { (ac_try="$ac_compile"
18600 case "(($ac_try" in
18601 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18602 *) ac_try_echo
=$ac_try;;
18604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18605 (eval "$ac_compile") 2>conftest.er1
18607 grep -v '^ *+' conftest.er1
>conftest.err
18609 cat conftest.err
>&5
18610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18611 (exit $ac_status); } && {
18612 test -z "$ac_cxx_werror_flag" ||
18613 test ! -s conftest.err
18614 } && test -s conftest.
$ac_objext; then
18615 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
18617 echo "$as_me: failed program was:" >&5
18618 sed 's/^/| /' conftest.
$ac_ext >&5
18620 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
18624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18628 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18629 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18630 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18636 ac_cpp
='$CPP $CPPFLAGS'
18637 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18638 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18639 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18644 if test "x$GCXX" != "xyes"; then
18645 if test "xCXX" = "xC"; then
18646 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18647 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18648 if test "${bakefile_cv_c_exto+set}" = set; then
18649 echo $ECHO_N "(cached) $ECHO_C" >&6
18651 cat >conftest.
$ac_ext <<_ACEOF
18654 cat confdefs.h
>>conftest.
$ac_ext
18655 cat >>conftest.
$ac_ext <<_ACEOF
18656 /* end confdefs.h. */
18666 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
18667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18668 (eval $ac_compile) 2>&5
18670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18671 (exit $ac_status); }; then
18672 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
18674 conftest.
$ac_ext.o
)
18675 bakefile_cv_c_exto
="-ext o"
18682 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18683 See \`config.log' for more details." >&5
18684 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18685 See \`config.log' for more details." >&2;}
18686 { (exit 1); exit 1; }; }
18690 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
18693 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18694 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18695 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18696 if test "c" = "c"; then
18697 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
18699 if test "c" = "cxx"; then
18700 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
18704 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18705 unset ac_cv_prog_cc_g
18706 ac_test_CFLAGS
=${CFLAGS+set}
18707 ac_save_CFLAGS
=$CFLAGS
18708 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18709 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18710 if test "${ac_cv_prog_cc_g+set}" = set; then
18711 echo $ECHO_N "(cached) $ECHO_C" >&6
18713 ac_save_c_werror_flag
=$ac_c_werror_flag
18714 ac_c_werror_flag
=yes
18717 cat >conftest.
$ac_ext <<_ACEOF
18720 cat confdefs.h
>>conftest.
$ac_ext
18721 cat >>conftest.
$ac_ext <<_ACEOF
18722 /* end confdefs.h. */
18732 rm -f conftest.
$ac_objext
18733 if { (ac_try
="$ac_compile"
18734 case "(($ac_try" in
18735 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18736 *) ac_try_echo=$ac_try;;
18738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18739 (eval "$ac_compile") 2>conftest.er1
18741 grep -v '^ *+' conftest.er1 >conftest.err
18743 cat conftest.err >&5
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); } && {
18746 test -z "$ac_c_werror_flag" ||
18747 test ! -s conftest.err
18748 } && test -s conftest.$ac_objext; then
18749 ac_cv_prog_cc_g=yes
18751 echo "$as_me: failed program was:" >&5
18752 sed 's/^/| /' conftest.$ac_ext >&5
18755 cat >conftest.$ac_ext <<_ACEOF
18758 cat confdefs.h >>conftest.$ac_ext
18759 cat >>conftest.$ac_ext <<_ACEOF
18760 /* end confdefs.h. */
18770 rm -f conftest.$ac_objext
18771 if { (ac_try="$ac_compile"
18772 case "(($ac_try" in
18773 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18774 *) ac_try_echo
=$ac_try;;
18776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18777 (eval "$ac_compile") 2>conftest.er1
18779 grep -v '^ *+' conftest.er1
>conftest.err
18781 cat conftest.err
>&5
18782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18783 (exit $ac_status); } && {
18784 test -z "$ac_c_werror_flag" ||
18785 test ! -s conftest.err
18786 } && test -s conftest.
$ac_objext; then
18789 echo "$as_me: failed program was:" >&5
18790 sed 's/^/| /' conftest.
$ac_ext >&5
18792 ac_c_werror_flag
=$ac_save_c_werror_flag
18794 cat >conftest.
$ac_ext <<_ACEOF
18797 cat confdefs.h
>>conftest.
$ac_ext
18798 cat >>conftest.
$ac_ext <<_ACEOF
18799 /* end confdefs.h. */
18809 rm -f conftest.
$ac_objext
18810 if { (ac_try
="$ac_compile"
18811 case "(($ac_try" in
18812 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18813 *) ac_try_echo=$ac_try;;
18815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18816 (eval "$ac_compile") 2>conftest.er1
18818 grep -v '^ *+' conftest.er1 >conftest.err
18820 cat conftest.err >&5
18821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18822 (exit $ac_status); } && {
18823 test -z "$ac_c_werror_flag" ||
18824 test ! -s conftest.err
18825 } && test -s conftest.$ac_objext; then
18826 ac_cv_prog_cc_g=yes
18828 echo "$as_me: failed program was:" >&5
18829 sed 's/^/| /' conftest.$ac_ext >&5
18834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18841 ac_c_werror_flag=$ac_save_c_werror_flag
18843 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18844 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18845 if test "$ac_test_CFLAGS" = set; then
18846 CFLAGS=$ac_save_CFLAGS
18847 elif test $ac_cv_prog_cc_g = yes; then
18848 if test "$GCC" = yes; then
18854 if test "$GCC" = yes; then
18868 ac_cpp='$CXXCPP $CPPFLAGS'
18869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18873 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18874 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18875 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18876 echo $ECHO_N "(cached) $ECHO_C" >&6
18878 cat >conftest.$ac_ext <<_ACEOF
18881 cat confdefs.h >>conftest.$ac_ext
18882 cat >>conftest.$ac_ext <<_ACEOF
18883 /* end confdefs.h. */
18897 rm -f conftest.$ac_objext
18898 if { (ac_try="$ac_compile"
18899 case "(($ac_try" in
18900 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18901 *) ac_try_echo
=$ac_try;;
18903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18904 (eval "$ac_compile") 2>conftest.er1
18906 grep -v '^ *+' conftest.er1
>conftest.err
18908 cat conftest.err
>&5
18909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18910 (exit $ac_status); } && {
18911 test -z "$ac_cxx_werror_flag" ||
18912 test ! -s conftest.err
18913 } && test -s conftest.
$ac_objext; then
18914 bakefile_cv_cxx_compiler___xlC__
=yes
18916 echo "$as_me: failed program was:" >&5
18917 sed 's/^/| /' conftest.
$ac_ext >&5
18919 bakefile_cv_cxx_compiler___xlC__
=no
18923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18927 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18928 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18929 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18935 ac_cpp
='$CPP $CPPFLAGS'
18936 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18937 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18938 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18948 ac_cpp
='$CXXCPP $CPPFLAGS'
18949 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18950 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18951 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18953 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18954 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18955 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18956 echo $ECHO_N "(cached) $ECHO_C" >&6
18958 cat >conftest.
$ac_ext <<_ACEOF
18961 cat confdefs.h
>>conftest.
$ac_ext
18962 cat >>conftest.
$ac_ext <<_ACEOF
18963 /* end confdefs.h. */
18977 rm -f conftest.
$ac_objext
18978 if { (ac_try
="$ac_compile"
18979 case "(($ac_try" in
18980 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18981 *) ac_try_echo=$ac_try;;
18983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18984 (eval "$ac_compile") 2>conftest.er1
18986 grep -v '^ *+' conftest.er1 >conftest.err
18988 cat conftest.err >&5
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); } && {
18991 test -z "$ac_cxx_werror_flag" ||
18992 test ! -s conftest.err
18993 } && test -s conftest.$ac_objext; then
18994 bakefile_cv_cxx_compiler___MWERKS__=yes
18996 echo "$as_me: failed program was:" >&5
18997 sed 's/^/| /' conftest.$ac_ext >&5
18999 bakefile_cv_cxx_compiler___MWERKS__=no
19003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19007 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19008 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19009 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19015 ac_cpp='$CPP $CPPFLAGS'
19016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19025 ac_cpp='$CXXCPP $CPPFLAGS'
19026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19030 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19031 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19032 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19033 echo $ECHO_N "(cached) $ECHO_C" >&6
19035 cat >conftest.$ac_ext <<_ACEOF
19038 cat confdefs.h >>conftest.$ac_ext
19039 cat >>conftest.$ac_ext <<_ACEOF
19040 /* end confdefs.h. */
19054 rm -f conftest.$ac_objext
19055 if { (ac_try="$ac_compile"
19056 case "(($ac_try" in
19057 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19058 *) ac_try_echo
=$ac_try;;
19060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19061 (eval "$ac_compile") 2>conftest.er1
19063 grep -v '^ *+' conftest.er1
>conftest.err
19065 cat conftest.err
>&5
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); } && {
19068 test -z "$ac_cxx_werror_flag" ||
19069 test ! -s conftest.err
19070 } && test -s conftest.
$ac_objext; then
19071 bakefile_cv_cxx_compiler___xlC__
=yes
19073 echo "$as_me: failed program was:" >&5
19074 sed 's/^/| /' conftest.
$ac_ext >&5
19076 bakefile_cv_cxx_compiler___xlC__
=no
19080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19084 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19085 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19086 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19092 ac_cpp
='$CPP $CPPFLAGS'
19093 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19094 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19095 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19105 ac_cpp
='$CXXCPP $CPPFLAGS'
19106 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19107 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19108 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19110 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19111 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19112 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19113 echo $ECHO_N "(cached) $ECHO_C" >&6
19115 cat >conftest.
$ac_ext <<_ACEOF
19118 cat confdefs.h
>>conftest.
$ac_ext
19119 cat >>conftest.
$ac_ext <<_ACEOF
19120 /* end confdefs.h. */
19126 #ifndef _SGI_COMPILER_VERSION
19134 rm -f conftest.
$ac_objext
19135 if { (ac_try
="$ac_compile"
19136 case "(($ac_try" in
19137 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19138 *) ac_try_echo=$ac_try;;
19140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19141 (eval "$ac_compile") 2>conftest.er1
19143 grep -v '^ *+' conftest.er1 >conftest.err
19145 cat conftest.err >&5
19146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147 (exit $ac_status); } && {
19148 test -z "$ac_cxx_werror_flag" ||
19149 test ! -s conftest.err
19150 } && test -s conftest.$ac_objext; then
19151 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19153 echo "$as_me: failed program was:" >&5
19154 sed 's/^/| /' conftest.$ac_ext >&5
19156 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19164 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19165 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19166 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19172 ac_cpp='$CPP $CPPFLAGS'
19173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19185 ac_cpp='$CXXCPP $CPPFLAGS'
19186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19190 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19191 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19192 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19193 echo $ECHO_N "(cached) $ECHO_C" >&6
19195 cat >conftest.$ac_ext <<_ACEOF
19198 cat confdefs.h >>conftest.$ac_ext
19199 cat >>conftest.$ac_ext <<_ACEOF
19200 /* end confdefs.h. */
19206 #ifndef __SUNPRO_CC
19214 rm -f conftest.$ac_objext
19215 if { (ac_try="$ac_compile"
19216 case "(($ac_try" in
19217 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19218 *) ac_try_echo
=$ac_try;;
19220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19221 (eval "$ac_compile") 2>conftest.er1
19223 grep -v '^ *+' conftest.er1
>conftest.err
19225 cat conftest.err
>&5
19226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19227 (exit $ac_status); } && {
19228 test -z "$ac_cxx_werror_flag" ||
19229 test ! -s conftest.err
19230 } && test -s conftest.
$ac_objext; then
19231 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
19233 echo "$as_me: failed program was:" >&5
19234 sed 's/^/| /' conftest.
$ac_ext >&5
19236 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
19240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19244 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19245 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19246 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19252 ac_cpp
='$CPP $CPPFLAGS'
19253 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19254 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19255 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19265 ac_cpp
='$CXXCPP $CPPFLAGS'
19266 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19267 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19268 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19270 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19271 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19272 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19273 echo $ECHO_N "(cached) $ECHO_C" >&6
19275 cat >conftest.
$ac_ext <<_ACEOF
19278 cat confdefs.h
>>conftest.
$ac_ext
19279 cat >>conftest.
$ac_ext <<_ACEOF
19280 /* end confdefs.h. */
19294 rm -f conftest.
$ac_objext
19295 if { (ac_try
="$ac_compile"
19296 case "(($ac_try" in
19297 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19298 *) ac_try_echo=$ac_try;;
19300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19301 (eval "$ac_compile") 2>conftest.er1
19303 grep -v '^ *+' conftest.er1 >conftest.err
19305 cat conftest.err >&5
19306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307 (exit $ac_status); } && {
19308 test -z "$ac_cxx_werror_flag" ||
19309 test ! -s conftest.err
19310 } && test -s conftest.$ac_objext; then
19311 bakefile_cv_cxx_compiler___HP_aCC=yes
19313 echo "$as_me: failed program was:" >&5
19314 sed 's/^/| /' conftest.$ac_ext >&5
19316 bakefile_cv_cxx_compiler___HP_aCC=no
19320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19324 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19325 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19326 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19332 ac_cpp='$CPP $CPPFLAGS'
19333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19345 ac_cpp='$CXXCPP $CPPFLAGS'
19346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19350 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
19351 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
19352 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
19353 echo $ECHO_N "(cached) $ECHO_C" >&6
19355 cat >conftest.$ac_ext <<_ACEOF
19358 cat confdefs.h >>conftest.$ac_ext
19359 cat >>conftest.$ac_ext <<_ACEOF
19360 /* end confdefs.h. */
19374 rm -f conftest.$ac_objext
19375 if { (ac_try="$ac_compile"
19376 case "(($ac_try" in
19377 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19378 *) ac_try_echo
=$ac_try;;
19380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19381 (eval "$ac_compile") 2>conftest.er1
19383 grep -v '^ *+' conftest.er1
>conftest.err
19385 cat conftest.err
>&5
19386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387 (exit $ac_status); } && {
19388 test -z "$ac_cxx_werror_flag" ||
19389 test ! -s conftest.err
19390 } && test -s conftest.
$ac_objext; then
19391 bakefile_cv_cxx_compiler___DECCXX
=yes
19393 echo "$as_me: failed program was:" >&5
19394 sed 's/^/| /' conftest.
$ac_ext >&5
19396 bakefile_cv_cxx_compiler___DECCXX
=no
19400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19404 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19405 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19406 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19412 ac_cpp
='$CPP $CPPFLAGS'
19413 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19414 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19415 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19425 ac_cpp
='$CXXCPP $CPPFLAGS'
19426 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19427 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19428 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19430 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19431 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19432 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19433 echo $ECHO_N "(cached) $ECHO_C" >&6
19435 cat >conftest.
$ac_ext <<_ACEOF
19438 cat confdefs.h
>>conftest.
$ac_ext
19439 cat >>conftest.
$ac_ext <<_ACEOF
19440 /* end confdefs.h. */
19446 #ifndef __SUNPRO_CC
19454 rm -f conftest.
$ac_objext
19455 if { (ac_try
="$ac_compile"
19456 case "(($ac_try" in
19457 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19458 *) ac_try_echo=$ac_try;;
19460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19461 (eval "$ac_compile") 2>conftest.er1
19463 grep -v '^ *+' conftest.er1 >conftest.err
19465 cat conftest.err >&5
19466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19467 (exit $ac_status); } && {
19468 test -z "$ac_cxx_werror_flag" ||
19469 test ! -s conftest.err
19470 } && test -s conftest.$ac_objext; then
19471 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19473 echo "$as_me: failed program was:" >&5
19474 sed 's/^/| /' conftest.$ac_ext >&5
19476 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19484 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19485 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19486 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19492 ac_cpp='$CPP $CPPFLAGS'
19493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19505 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19506 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19507 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19508 { (exit 1); exit 1; }; }
19511 if test -n "$ac_tool_prefix"; then
19512 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
19513 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
19514 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19516 if test "${ac_cv_prog_RANLIB+set}" = set; then
19517 echo $ECHO_N "(cached) $ECHO_C" >&6
19519 if test -n "$RANLIB"; then
19520 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
19522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19523 for as_dir in $PATH
19526 test -z "$as_dir" && as_dir=.
19527 for ac_exec_ext in '' $ac_executable_extensions; do
19528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19529 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
19530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19539 RANLIB=$ac_cv_prog_RANLIB
19540 if test -n "$RANLIB"; then
19541 { echo "$as_me:$LINENO: result: $RANLIB" >&5
19542 echo "${ECHO_T}$RANLIB" >&6; }
19544 { echo "$as_me:$LINENO: result: no" >&5
19545 echo "${ECHO_T}no" >&6; }
19550 if test -z "$ac_cv_prog_RANLIB"; then
19551 ac_ct_RANLIB=$RANLIB
19552 # Extract the first word of "ranlib", so it can be a program name with args.
19553 set dummy ranlib; ac_word=$2
19554 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19556 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
19557 echo $ECHO_N "(cached) $ECHO_C" >&6
19559 if test -n "$ac_ct_RANLIB"; then
19560 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
19562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19563 for as_dir in $PATH
19566 test -z "$as_dir" && as_dir=.
19567 for ac_exec_ext in '' $ac_executable_extensions; do
19568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19569 ac_cv_prog_ac_ct_RANLIB="ranlib"
19570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19579 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
19580 if test -n "$ac_ct_RANLIB"; then
19581 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19582 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
19584 { echo "$as_me:$LINENO: result: no" >&5
19585 echo "${ECHO_T}no" >&6; }
19588 if test "x$ac_ct_RANLIB" = x; then
19591 case $cross_compiling:$ac_tool_warned in
19593 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19594 whose name does not start with the host triplet. If you think this
19595 configuration is useful to you, please write to autoconf@gnu.org." >&5
19596 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19597 whose name does not start with the host triplet. If you think this
19598 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19599 ac_tool_warned=yes ;;
19601 RANLIB=$ac_ct_RANLIB
19604 RANLIB="$ac_cv_prog_RANLIB"
19608 if test "x$SUNCXX" != xyes; then
19609 if test -n "$ac_tool_prefix"; then
19610 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19611 set dummy ${ac_tool_prefix}ar; ac_word=$2
19612 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19614 if test "${ac_cv_prog_AR+set}" = set; then
19615 echo $ECHO_N "(cached) $ECHO_C" >&6
19617 if test -n "$AR"; then
19618 ac_cv_prog_AR="$AR" # Let the user override the test.
19620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19621 for as_dir in $PATH
19624 test -z "$as_dir" && as_dir=.
19625 for ac_exec_ext in '' $ac_executable_extensions; do
19626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19627 ac_cv_prog_AR="${ac_tool_prefix}ar"
19628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19638 if test -n "$AR"; then
19639 { echo "$as_me:$LINENO: result: $AR" >&5
19640 echo "${ECHO_T}$AR" >&6; }
19642 { echo "$as_me:$LINENO: result: no" >&5
19643 echo "${ECHO_T}no" >&6; }
19648 if test -z "$ac_cv_prog_AR"; then
19650 # Extract the first word of "ar", so it can be a program name with args.
19651 set dummy ar; ac_word=$2
19652 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19654 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19655 echo $ECHO_N "(cached) $ECHO_C" >&6
19657 if test -n "$ac_ct_AR"; then
19658 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19661 for as_dir in $PATH
19664 test -z "$as_dir" && as_dir=.
19665 for ac_exec_ext in '' $ac_executable_extensions; do
19666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19667 ac_cv_prog_ac_ct_AR="ar"
19668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19677 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19678 if test -n "$ac_ct_AR"; then
19679 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19680 echo "${ECHO_T}$ac_ct_AR" >&6; }
19682 { echo "$as_me:$LINENO: result: no" >&5
19683 echo "${ECHO_T}no" >&6; }
19686 if test "x$ac_ct_AR" = x; then
19689 case $cross_compiling:$ac_tool_warned in
19691 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19692 whose name does not start with the host triplet. If you think this
19693 configuration is useful to you, please write to autoconf@gnu.org." >&5
19694 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19695 whose name does not start with the host triplet. If you think this
19696 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19697 ac_tool_warned=yes ;;
19702 AR="$ac_cv_prog_AR"
19705 if test "x$AR" = "x" ; then
19706 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19707 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19708 { (exit 1); exit 1; }; }
19712 # Find a good install program. We prefer a C program (faster),
19713 # so one script is as good as another. But avoid the broken or
19714 # incompatible versions:
19715 # SysV /etc/install, /usr/sbin/install
19716 # SunOS /usr/etc/install
19717 # IRIX /sbin/install
19719 # AmigaOS /C/install, which installs bootblocks on floppy discs
19720 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19721 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19722 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19723 # OS/2's system install, which has a completely different semantic
19724 # ./install, which can be erroneously created by make from ./install.sh.
19725 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19726 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19727 if test -z "$INSTALL"; then
19728 if test "${ac_cv_path_install+set}" = set; then
19729 echo $ECHO_N "(cached) $ECHO_C" >&6
19731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19732 for as_dir in $PATH
19735 test -z "$as_dir" && as_dir=.
19736 # Account for people who put trailing slashes in PATH elements.
19738 ./ | .// | /cC/* | \
19739 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19740 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19743 # OSF1 and SCO ODT 3.0 have their own names for install.
19744 # Don't use installbsd from OSF since it installs stuff as root
19746 for ac_prog in ginstall scoinst install; do
19747 for ac_exec_ext in '' $ac_executable_extensions; do
19748 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19749 if test $ac_prog = install &&
19750 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19751 # AIX install. It has an incompatible calling convention.
19753 elif test $ac_prog = install &&
19754 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19755 # program-specific install script used by HP pwplus--don't use.
19758 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19771 if test "${ac_cv_path_install+set}" = set; then
19772 INSTALL=$ac_cv_path_install
19774 # As a last resort, use the slow shell script. Don't cache a
19775 # value for INSTALL within a source directory, because that will
19776 # break other packages using the cache if that directory is
19777 # removed, or if the value is a relative name.
19778 INSTALL=$ac_install_sh
19781 { echo "$as_me:$LINENO: result: $INSTALL" >&5
19782 echo "${ECHO_T}$INSTALL" >&6; }
19784 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19785 # It thinks the first close brace ends the variable substitution.
19786 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19788 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19790 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19796 ?:* ) # Drive letter, considered as absolute.
19799 INSTALL=`pwd`/${INSTALL} ;;
19806 INSTALL_PROGRAM="cp -fp"
19807 INSTALL_DATA="cp -fp"
19813 if test -n "$ac_tool_prefix"; then
19814 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19815 set dummy ${ac_tool_prefix}strip; ac_word=$2
19816 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19818 if test "${ac_cv_prog_STRIP+set}" = set; then
19819 echo $ECHO_N "(cached) $ECHO_C" >&6
19821 if test -n "$STRIP"; then
19822 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19825 for as_dir in $PATH
19828 test -z "$as_dir" && as_dir=.
19829 for ac_exec_ext in '' $ac_executable_extensions; do
19830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19831 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19841 STRIP=$ac_cv_prog_STRIP
19842 if test -n "$STRIP"; then
19843 { echo "$as_me:$LINENO: result: $STRIP" >&5
19844 echo "${ECHO_T}$STRIP" >&6; }
19846 { echo "$as_me:$LINENO: result: no" >&5
19847 echo "${ECHO_T}no" >&6; }
19852 if test -z "$ac_cv_prog_STRIP"; then
19854 # Extract the first word of "strip", so it can be a program name with args.
19855 set dummy strip; ac_word=$2
19856 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19858 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
19859 echo $ECHO_N "(cached) $ECHO_C" >&6
19861 if test -n "$ac_ct_STRIP"; then
19862 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19865 for as_dir in $PATH
19868 test -z "$as_dir" && as_dir=.
19869 for ac_exec_ext in '' $ac_executable_extensions; do
19870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19871 ac_cv_prog_ac_ct_STRIP="strip"
19872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19881 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
19882 if test -n "$ac_ct_STRIP"; then
19883 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
19884 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
19886 { echo "$as_me:$LINENO: result: no" >&5
19887 echo "${ECHO_T}no" >&6; }
19890 if test "x$ac_ct_STRIP" = x; then
19893 case $cross_compiling:$ac_tool_warned in
19895 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19896 whose name does not start with the host triplet. If you think this
19897 configuration is useful to you, please write to autoconf@gnu.org." >&5
19898 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19899 whose name does not start with the host triplet. If you think this
19900 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19901 ac_tool_warned=yes ;;
19906 STRIP="$ac_cv_prog_STRIP"
19910 if test "$wxUSE_WINE" = "yes"; then
19911 if test -n "$ac_tool_prefix"; then
19912 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
19913 set dummy ${ac_tool_prefix}wrc; ac_word=$2
19914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19916 if test "${ac_cv_prog_WINDRES+set}" = set; then
19917 echo $ECHO_N "(cached) $ECHO_C" >&6
19919 if test -n "$WINDRES"; then
19920 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19923 for as_dir in $PATH
19926 test -z "$as_dir" && as_dir=.
19927 for ac_exec_ext in '' $ac_executable_extensions; do
19928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19929 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
19930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19939 WINDRES=$ac_cv_prog_WINDRES
19940 if test -n "$WINDRES"; then
19941 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19942 echo "${ECHO_T}$WINDRES" >&6; }
19944 { echo "$as_me:$LINENO: result: no" >&5
19945 echo "${ECHO_T}no" >&6; }
19950 if test -z "$ac_cv_prog_WINDRES"; then
19951 ac_ct_WINDRES=$WINDRES
19952 # Extract the first word of "wrc", so it can be a program name with args.
19953 set dummy wrc; ac_word=$2
19954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19956 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19957 echo $ECHO_N "(cached) $ECHO_C" >&6
19959 if test -n "$ac_ct_WINDRES"; then
19960 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19963 for as_dir in $PATH
19966 test -z "$as_dir" && as_dir=.
19967 for ac_exec_ext in '' $ac_executable_extensions; do
19968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19969 ac_cv_prog_ac_ct_WINDRES="wrc"
19970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19979 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19980 if test -n "$ac_ct_WINDRES"; then
19981 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19982 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19984 { echo "$as_me:$LINENO: result: no" >&5
19985 echo "${ECHO_T}no" >&6; }
19988 if test "x$ac_ct_WINDRES" = x; then
19991 case $cross_compiling:$ac_tool_warned in
19993 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19994 whose name does not start with the host triplet. If you think this
19995 configuration is useful to you, please write to autoconf@gnu.org." >&5
19996 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19997 whose name does not start with the host triplet. If you think this
19998 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19999 ac_tool_warned=yes ;;
20001 WINDRES=$ac_ct_WINDRES
20004 WINDRES="$ac_cv_prog_WINDRES"
20010 *-*-cygwin* | *-*-mingw32* )
20011 if test -n "$ac_tool_prefix"; then
20012 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
20013 set dummy ${ac_tool_prefix}windres; ac_word=$2
20014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20016 if test "${ac_cv_prog_WINDRES+set}" = set; then
20017 echo $ECHO_N "(cached) $ECHO_C" >&6
20019 if test -n "$WINDRES"; then
20020 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
20022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20023 for as_dir in $PATH
20026 test -z "$as_dir" && as_dir=.
20027 for ac_exec_ext in '' $ac_executable_extensions; do
20028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20029 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
20030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20039 WINDRES=$ac_cv_prog_WINDRES
20040 if test -n "$WINDRES"; then
20041 { echo "$as_me:$LINENO: result: $WINDRES" >&5
20042 echo "${ECHO_T}$WINDRES" >&6; }
20044 { echo "$as_me:$LINENO: result: no" >&5
20045 echo "${ECHO_T}no" >&6; }
20050 if test -z "$ac_cv_prog_WINDRES"; then
20051 ac_ct_WINDRES=$WINDRES
20052 # Extract the first word of "windres", so it can be a program name with args.
20053 set dummy windres; ac_word=$2
20054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20056 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
20057 echo $ECHO_N "(cached) $ECHO_C" >&6
20059 if test -n "$ac_ct_WINDRES"; then
20060 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
20062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20063 for as_dir in $PATH
20066 test -z "$as_dir" && as_dir=.
20067 for ac_exec_ext in '' $ac_executable_extensions; do
20068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20069 ac_cv_prog_ac_ct_WINDRES="windres"
20070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20079 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
20080 if test -n "$ac_ct_WINDRES"; then
20081 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
20082 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
20084 { echo "$as_me:$LINENO: result: no" >&5
20085 echo "${ECHO_T}no" >&6; }
20088 if test "x$ac_ct_WINDRES" = x; then
20091 case $cross_compiling:$ac_tool_warned in
20093 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20094 whose name does not start with the host triplet. If you think this
20095 configuration is useful to you, please write to autoconf@gnu.org." >&5
20096 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20097 whose name does not start with the host triplet. If you think this
20098 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20099 ac_tool_warned=yes ;;
20101 WINDRES=$ac_ct_WINDRES
20104 WINDRES="$ac_cv_prog_WINDRES"
20108 if test -n "$ac_tool_prefix"; then
20109 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
20110 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
20111 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20113 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
20114 echo $ECHO_N "(cached) $ECHO_C" >&6
20116 if test -n "$DLLTOOL"; then
20117 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
20119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20120 for as_dir in $PATH
20123 test -z "$as_dir" && as_dir=.
20124 for ac_exec_ext in '' $ac_executable_extensions; do
20125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20126 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
20127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20136 DLLTOOL=$ac_cv_prog_DLLTOOL
20137 if test -n "$DLLTOOL"; then
20138 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
20139 echo "${ECHO_T}$DLLTOOL" >&6; }
20141 { echo "$as_me:$LINENO: result: no" >&5
20142 echo "${ECHO_T}no" >&6; }
20147 if test -z "$ac_cv_prog_DLLTOOL"; then
20148 ac_ct_DLLTOOL=$DLLTOOL
20149 # Extract the first word of "dlltool", so it can be a program name with args.
20150 set dummy dlltool; ac_word=$2
20151 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20153 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
20154 echo $ECHO_N "(cached) $ECHO_C" >&6
20156 if test -n "$ac_ct_DLLTOOL"; then
20157 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
20159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20160 for as_dir in $PATH
20163 test -z "$as_dir" && as_dir=.
20164 for ac_exec_ext in '' $ac_executable_extensions; do
20165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20166 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
20167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20176 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
20177 if test -n "$ac_ct_DLLTOOL"; then
20178 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
20179 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
20181 { echo "$as_me:$LINENO: result: no" >&5
20182 echo "${ECHO_T}no" >&6; }
20185 if test "x$ac_ct_DLLTOOL" = x; then
20188 case $cross_compiling:$ac_tool_warned in
20190 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20191 whose name does not start with the host triplet. If you think this
20192 configuration is useful to you, please write to autoconf@gnu.org." >&5
20193 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20194 whose name does not start with the host triplet. If you think this
20195 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20196 ac_tool_warned=yes ;;
20198 DLLTOOL=$ac_ct_DLLTOOL
20201 DLLTOOL="$ac_cv_prog_DLLTOOL"
20208 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
20209 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
20210 if test "${wx_cv_prog_makeisgnu+set}" = set; then
20211 echo $ECHO_N "(cached) $ECHO_C" >&6
20214 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
20215 $EGREP -s GNU > /dev/null); then
20216 wx_cv_prog_makeisgnu="yes"
20218 wx_cv_prog_makeisgnu="no"
20222 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
20223 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
20225 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
20233 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
20234 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
20235 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
20236 if test "${wx_cv_prog_makevpath+set}" = set; then
20237 echo $ECHO_N "(cached) $ECHO_C" >&6
20240 cat - << EOF > confMake
20246 if test ! -d sub ; then
20249 echo dummy > sub/file
20250 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
20252 rm -f sub/file check final_file confMake
20254 if test "$RESULT" = 0; then
20255 wx_cv_prog_makevpath="yes"
20257 wx_cv_prog_makevpath="no"
20261 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
20262 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
20264 if test "x$wx_cv_prog_makevpath" != "xyes"; then
20265 { { echo "$as_me:$LINENO: error:
20266 You need a make-utility that is able to use the variable
20268 If your version of make does not support VPATH correctly,
20269 please install GNU-make (possibly as gmake), and start
20270 configure with the following command:
20271 export MAKE=gmake; ./configure for sh-type shells
20272 setenv MAKE gmake; ./configure for csh-type shells
20273 Also please do remember to use gmake in this case every time
20274 you are trying to compile.
20276 echo "$as_me: error:
20277 You need a make-utility that is able to use the variable
20279 If your version of make does not support VPATH correctly,
20280 please install GNU-make (possibly as gmake), and start
20281 configure with the following command:
20282 export MAKE=gmake; ./configure for sh-type shells
20283 setenv MAKE gmake; ./configure for csh-type shells
20284 Also please do remember to use gmake in this case every time
20285 you are trying to compile.
20287 { (exit 1); exit 1; }; }
20289 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
20290 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
20292 if test "$LN_S" = "ln -s"; then
20293 { echo "$as_me:$LINENO: result: yes" >&5
20294 echo "${ECHO_T}yes" >&6; }
20296 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
20297 echo "${ECHO_T}no, using $LN_S" >&6; }
20303 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20304 CXXFLAGS="-qunique $CXXFLAGS"
20308 powerpc-*-darwin* )
20309 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20310 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20311 cat >conftest.$ac_ext <<_ACEOF
20314 cat confdefs.h >>conftest.$ac_ext
20315 cat >>conftest.$ac_ext <<_ACEOF
20316 /* end confdefs.h. */
20321 #ifndef __POWERPC__
20322 choke me for lack of PowerPC
20329 rm -f conftest.$ac_objext
20330 if { (ac_try="$ac_compile"
20331 case "(($ac_try" in
20332 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20333 *) ac_try_echo
=$ac_try;;
20335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20336 (eval "$ac_compile") 2>conftest.er1
20338 grep -v '^ *+' conftest.er1
>conftest.err
20340 cat conftest.err
>&5
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); } && {
20343 test -z "$ac_c_werror_flag" ||
20344 test ! -s conftest.err
20345 } && test -s conftest.
$ac_objext; then
20346 { echo "$as_me:$LINENO: result: yes" >&5
20347 echo "${ECHO_T}yes" >&6; }
20349 echo "$as_me: failed program was:" >&5
20350 sed 's/^/| /' conftest.
$ac_ext >&5
20352 { echo "$as_me:$LINENO: result: no" >&5
20353 echo "${ECHO_T}no" >&6; }
20354 cat >>confdefs.h
<<\_ACEOF
20355 #define __POWERPC__ 1
20361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20367 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20368 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20369 cat >conftest.
$ac_ext <<_ACEOF
20372 cat confdefs.h
>>conftest.
$ac_ext
20373 cat >>conftest.
$ac_ext <<_ACEOF
20374 /* end confdefs.h. */
20375 #include <CoreFoundation/CFBase.h>
20385 rm -f conftest.
$ac_objext
20386 if { (ac_try
="$ac_compile"
20387 case "(($ac_try" in
20388 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20389 *) ac_try_echo=$ac_try;;
20391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20392 (eval "$ac_compile") 2>conftest.er1
20394 grep -v '^ *+' conftest.er1 >conftest.err
20396 cat conftest.err >&5
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); } && {
20399 test -z "$ac_c_werror_flag" ||
20400 test ! -s conftest.err
20401 } && test -s conftest.$ac_objext; then
20402 { echo "$as_me:$LINENO: result: yes" >&5
20403 echo "${ECHO_T}yes" >&6; }
20405 echo "$as_me: failed program was:" >&5
20406 sed 's/^/| /' conftest.$ac_ext >&5
20408 { echo "$as_me:$LINENO: result: no" >&5
20409 echo "${ECHO_T}no" >&6; }
20410 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20411 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20412 cat >conftest.$ac_ext <<_ACEOF
20415 cat confdefs.h >>conftest.$ac_ext
20416 cat >>conftest.$ac_ext <<_ACEOF
20417 /* end confdefs.h. */
20418 #define __CF_USE_FRAMEWORK_INCLUDES__
20419 #include <CoreFoundation/CFBase.h>
20429 rm -f conftest.$ac_objext
20430 if { (ac_try="$ac_compile"
20431 case "(($ac_try" in
20432 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20433 *) ac_try_echo
=$ac_try;;
20435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20436 (eval "$ac_compile") 2>conftest.er1
20438 grep -v '^ *+' conftest.er1
>conftest.err
20440 cat conftest.err
>&5
20441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20442 (exit $ac_status); } && {
20443 test -z "$ac_c_werror_flag" ||
20444 test ! -s conftest.err
20445 } && test -s conftest.
$ac_objext; then
20446 { echo "$as_me:$LINENO: result: yes" >&5
20447 echo "${ECHO_T}yes" >&6; }
20448 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20450 echo "$as_me: failed program was:" >&5
20451 sed 's/^/| /' conftest.
$ac_ext >&5
20453 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20454 See \`config.log' for more details." >&5
20455 echo "$as_me: error: no. CoreFoundation not available.
20456 See \`config.log' for more details." >&2;}
20457 { (exit 1); exit 1; }; }
20461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20471 doesnt_want_win32
=0
20474 if test "$wxUSE_MSW" = 1 ; then
20477 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20478 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20479 if test "${wx_cv_nocygwin+set}" = set; then
20480 echo $ECHO_N "(cached) $ECHO_C" >&6
20483 cat >conftest.
$ac_ext <<_ACEOF
20486 cat confdefs.h
>>conftest.
$ac_ext
20487 cat >>conftest.
$ac_ext <<_ACEOF
20488 /* end confdefs.h. */
20502 rm -f conftest.
$ac_objext
20503 if { (ac_try
="$ac_compile"
20504 case "(($ac_try" in
20505 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20506 *) ac_try_echo=$ac_try;;
20508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20509 (eval "$ac_compile") 2>conftest.er1
20511 grep -v '^ *+' conftest.er1 >conftest.err
20513 cat conftest.err >&5
20514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20515 (exit $ac_status); } && {
20516 test -z "$ac_c_werror_flag" ||
20517 test ! -s conftest.err
20518 } && test -s conftest.$ac_objext; then
20521 echo "$as_me: failed program was:" >&5
20522 sed 's/^/| /' conftest.$ac_ext >&5
20528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20532 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20533 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20535 if test "$wx_cv_nocygwin" = "yes"; then
20538 doesnt_want_win32=1
20541 if test "$wants_win32" = 1 ; then
20542 BAKEFILE_FORCE_PLATFORM=win32
20550 if test "$wxUSE_WINE" = "yes"; then
20552 LDFLAGS_GUI="-mwindows"
20555 if test "$wants_win32" = 1 ; then
20558 cat >>confdefs.h <<\_ACEOF
20559 #define __WIN32__ 1
20562 cat >>confdefs.h <<\_ACEOF
20563 #define __WIN95__ 1
20566 cat >>confdefs.h <<\_ACEOF
20567 #define __WINDOWS__ 1
20570 cat >>confdefs.h <<\_ACEOF
20571 #define __GNUWIN32__ 1
20574 cat >>confdefs.h <<\_ACEOF
20579 if test "$doesnt_want_win32" = 1 ; then
20584 if test "$USE_UNIX" = 1 ; then
20586 cat >>confdefs.h <<\_ACEOF
20593 *-pc-os2_emx | *-pc-os2-emx )
20594 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20595 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20596 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20597 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20598 echo $ECHO_N "(cached) $ECHO_C" >&6
20600 ac_check_lib_save_LIBS=$LIBS
20601 LIBS="-lcExt $LIBS"
20602 cat >conftest.$ac_ext <<_ACEOF
20605 cat confdefs.h >>conftest.$ac_ext
20606 cat >>conftest.$ac_ext <<_ACEOF
20607 /* end confdefs.h. */
20609 /* Override any GCC internal prototype to avoid an error.
20610 Use char because int might match the return type of a GCC
20611 builtin and then its argument prototype would still apply. */
20624 rm -f conftest.$ac_objext conftest$ac_exeext
20625 if { (ac_try="$ac_link"
20626 case "(($ac_try" in
20627 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20628 *) ac_try_echo
=$ac_try;;
20630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20631 (eval "$ac_link") 2>conftest.er1
20633 grep -v '^ *+' conftest.er1
>conftest.err
20635 cat conftest.err
>&5
20636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637 (exit $ac_status); } && {
20638 test -z "$ac_c_werror_flag" ||
20639 test ! -s conftest.err
20640 } && test -s conftest
$ac_exeext &&
20641 $as_test_x conftest
$ac_exeext; then
20642 ac_cv_lib_cExt_drand48
=yes
20644 echo "$as_me: failed program was:" >&5
20645 sed 's/^/| /' conftest.
$ac_ext >&5
20647 ac_cv_lib_cExt_drand48
=no
20650 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20651 conftest
$ac_exeext conftest.
$ac_ext
20652 LIBS
=$ac_check_lib_save_LIBS
20654 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20655 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20656 if test $ac_cv_lib_cExt_drand48 = yes; then
20657 LIBS
="$LIBS -lcExt"
20661 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
20663 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20664 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20665 if test "${wx_cv_gccversion+set}" = set; then
20666 echo $ECHO_N "(cached) $ECHO_C" >&6
20669 if test "$cross_compiling" = yes; then
20670 wx_cv_gccversion
="EMX2"
20673 cat >conftest.
$ac_ext <<_ACEOF
20676 cat confdefs.h
>>conftest.
$ac_ext
20677 cat >>conftest.
$ac_ext <<_ACEOF
20678 /* end confdefs.h. */
20684 FILE *f=fopen("conftestval", "w");
20689 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20691 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20701 rm -f conftest
$ac_exeext
20702 if { (ac_try
="$ac_link"
20703 case "(($ac_try" in
20704 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20705 *) ac_try_echo=$ac_try;;
20707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20708 (eval "$ac_link") 2>&5
20710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20711 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20712 { (case "(($ac_try" in
20713 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20714 *) ac_try_echo
=$ac_try;;
20716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20717 (eval "$ac_try") 2>&5
20719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720 (exit $ac_status); }; }; then
20721 wx_cv_gccversion
=`cat conftestval`
20723 echo "$as_me: program exited with status $ac_status" >&5
20724 echo "$as_me: failed program was:" >&5
20725 sed 's/^/| /' conftest.
$ac_ext >&5
20727 ( exit $ac_status )
20728 wx_cv_gccversion
="EMX2"
20730 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20736 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20737 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20738 if test "$wx_cv_gccversion" = "EMX2"; then
20739 LIBS
="$LIBS -lstdcpp"
20740 LDFLAGS
="$LDFLAGS -Zsysv-signals"
20742 if test "$wx_cv_gccversion" = "EMX3"; then
20743 LIBS
="$LIBS -lstdcxx -lgcc"
20744 LDFLAGS
="$LDFLAGS -Zsysv-signals"
20746 LIBS
="$LIBS -lstdc++"
20749 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20750 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20751 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20758 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20759 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20760 if test "${ac_cv_string_strcasecmp+set}" = set; then
20761 echo $ECHO_N "(cached) $ECHO_C" >&6
20764 cat >conftest.
$ac_ext <<_ACEOF
20767 cat confdefs.h
>>conftest.
$ac_ext
20768 cat >>conftest.
$ac_ext <<_ACEOF
20769 /* end confdefs.h. */
20771 #include <string.h>
20777 strcasecmp("foo", "bar");
20783 rm -f conftest.
$ac_objext conftest
$ac_exeext
20784 if { (ac_try
="$ac_link"
20785 case "(($ac_try" in
20786 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20787 *) ac_try_echo=$ac_try;;
20789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20790 (eval "$ac_link") 2>conftest.er1
20792 grep -v '^ *+' conftest.er1 >conftest.err
20794 cat conftest.err >&5
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); } && {
20797 test -z "$ac_c_werror_flag" ||
20798 test ! -s conftest.err
20799 } && test -s conftest$ac_exeext &&
20800 $as_test_x conftest$ac_exeext; then
20801 ac_cv_string_strcasecmp=yes
20803 echo "$as_me: failed program was:" >&5
20804 sed 's/^/| /' conftest.$ac_ext >&5
20806 ac_cv_string_strcasecmp=no
20810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20811 conftest$ac_exeext conftest.$ac_ext
20814 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20815 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20817 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20818 cat >>confdefs.h <<\_ACEOF
20819 #define HAVE_STRCASECMP_IN_STRING_H 1
20823 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20824 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20825 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20826 echo $ECHO_N "(cached) $ECHO_C" >&6
20829 cat >conftest.$ac_ext <<_ACEOF
20832 cat confdefs.h >>conftest.$ac_ext
20833 cat >>conftest.$ac_ext <<_ACEOF
20834 /* end confdefs.h. */
20836 #include <strings.h>
20842 strcasecmp("foo", "bar");
20848 rm -f conftest.$ac_objext conftest$ac_exeext
20849 if { (ac_try="$ac_link"
20850 case "(($ac_try" in
20851 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20852 *) ac_try_echo
=$ac_try;;
20854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20855 (eval "$ac_link") 2>conftest.er1
20857 grep -v '^ *+' conftest.er1
>conftest.err
20859 cat conftest.err
>&5
20860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20861 (exit $ac_status); } && {
20862 test -z "$ac_c_werror_flag" ||
20863 test ! -s conftest.err
20864 } && test -s conftest
$ac_exeext &&
20865 $as_test_x conftest
$ac_exeext; then
20866 ac_cv_strings_strcasecmp
=yes
20868 echo "$as_me: failed program was:" >&5
20869 sed 's/^/| /' conftest.
$ac_ext >&5
20871 ac_cv_strings_strcasecmp
=no
20875 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20876 conftest
$ac_exeext conftest.
$ac_ext
20879 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20880 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20882 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
20883 cat >>confdefs.h
<<\_ACEOF
20884 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20888 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20889 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20890 { (exit 1); exit 1; }; }
20898 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20899 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20900 if test "${ac_cv_header_stdc+set}" = set; then
20901 echo $ECHO_N "(cached) $ECHO_C" >&6
20903 cat >conftest.
$ac_ext <<_ACEOF
20906 cat confdefs.h
>>conftest.
$ac_ext
20907 cat >>conftest.
$ac_ext <<_ACEOF
20908 /* end confdefs.h. */
20909 #include <stdlib.h>
20910 #include <stdarg.h>
20911 #include <string.h>
20922 rm -f conftest.
$ac_objext
20923 if { (ac_try
="$ac_compile"
20924 case "(($ac_try" in
20925 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20926 *) ac_try_echo=$ac_try;;
20928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20929 (eval "$ac_compile") 2>conftest.er1
20931 grep -v '^ *+' conftest.er1 >conftest.err
20933 cat conftest.err >&5
20934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20935 (exit $ac_status); } && {
20936 test -z "$ac_c_werror_flag" ||
20937 test ! -s conftest.err
20938 } && test -s conftest.$ac_objext; then
20939 ac_cv_header_stdc=yes
20941 echo "$as_me: failed program was:" >&5
20942 sed 's/^/| /' conftest.$ac_ext >&5
20944 ac_cv_header_stdc=no
20947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20949 if test $ac_cv_header_stdc = yes; then
20950 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20951 cat >conftest.$ac_ext <<_ACEOF
20954 cat confdefs.h >>conftest.$ac_ext
20955 cat >>conftest.$ac_ext <<_ACEOF
20956 /* end confdefs.h. */
20957 #include <string.h>
20960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20961 $EGREP "memchr" >/dev/null 2>&1; then
20964 ac_cv_header_stdc=no
20970 if test $ac_cv_header_stdc = yes; then
20971 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20972 cat >conftest.$ac_ext <<_ACEOF
20975 cat confdefs.h >>conftest.$ac_ext
20976 cat >>conftest.$ac_ext <<_ACEOF
20977 /* end confdefs.h. */
20978 #include <stdlib.h>
20981 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20982 $EGREP "free" >/dev/null 2>&1; then
20985 ac_cv_header_stdc=no
20991 if test $ac_cv_header_stdc = yes; then
20992 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20993 if test "$cross_compiling" = yes; then
20996 cat >conftest.$ac_ext <<_ACEOF
20999 cat confdefs.h >>conftest.$ac_ext
21000 cat >>conftest.$ac_ext <<_ACEOF
21001 /* end confdefs.h. */
21003 #include <stdlib.h>
21004 #if ((' ' & 0x0FF) == 0x020)
21005 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21006 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21008 # define ISLOWER(c) \
21009 (('a' <= (c) && (c) <= 'i') \
21010 || ('j' <= (c) && (c) <= 'r') \
21011 || ('s' <= (c) && (c) <= 'z'))
21012 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21015 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21020 for (i = 0; i < 256; i++)
21021 if (XOR (islower (i), ISLOWER (i))
21022 || toupper (i) != TOUPPER (i))
21027 rm -f conftest$ac_exeext
21028 if { (ac_try="$ac_link"
21029 case "(($ac_try" in
21030 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21031 *) ac_try_echo
=$ac_try;;
21033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21034 (eval "$ac_link") 2>&5
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21038 { (case "(($ac_try" in
21039 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21040 *) ac_try_echo=$ac_try;;
21042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21043 (eval "$ac_try") 2>&5
21045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21046 (exit $ac_status); }; }; then
21049 echo "$as_me: program exited with status $ac_status" >&5
21050 echo "$as_me: failed program was:" >&5
21051 sed 's/^/| /' conftest.$ac_ext >&5
21053 ( exit $ac_status )
21054 ac_cv_header_stdc=no
21056 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21062 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21063 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21064 if test $ac_cv_header_stdc = yes; then
21066 cat >>confdefs.h <<\_ACEOF
21067 #define STDC_HEADERS 1
21072 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21082 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21083 inttypes.h stdint.h unistd.h
21085 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21086 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21088 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21089 echo $ECHO_N "(cached) $ECHO_C" >&6
21091 cat >conftest.$ac_ext <<_ACEOF
21094 cat confdefs.h >>conftest.$ac_ext
21095 cat >>conftest.$ac_ext <<_ACEOF
21096 /* end confdefs.h. */
21097 $ac_includes_default
21099 #include <$ac_header>
21101 rm -f conftest.$ac_objext
21102 if { (ac_try="$ac_compile"
21103 case "(($ac_try" in
21104 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21105 *) ac_try_echo
=$ac_try;;
21107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21108 (eval "$ac_compile") 2>conftest.er1
21110 grep -v '^ *+' conftest.er1
>conftest.err
21112 cat conftest.err
>&5
21113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114 (exit $ac_status); } && {
21115 test -z "$ac_c_werror_flag" ||
21116 test ! -s conftest.err
21117 } && test -s conftest.
$ac_objext; then
21118 eval "$as_ac_Header=yes"
21120 echo "$as_me: failed program was:" >&5
21121 sed 's/^/| /' conftest.
$ac_ext >&5
21123 eval "$as_ac_Header=no"
21126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21128 ac_res
=`eval echo '${'$as_ac_Header'}'`
21129 { echo "$as_me:$LINENO: result: $ac_res" >&5
21130 echo "${ECHO_T}$ac_res" >&6; }
21131 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21132 cat >>confdefs.h
<<_ACEOF
21133 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21147 for ac_header
in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
21149 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21150 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21152 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21153 echo $ECHO_N "(cached) $ECHO_C" >&6
21155 cat >conftest.
$ac_ext <<_ACEOF
21158 cat confdefs.h
>>conftest.
$ac_ext
21159 cat >>conftest.
$ac_ext <<_ACEOF
21160 /* end confdefs.h. */
21161 $ac_includes_default
21163 #include <$ac_header>
21165 rm -f conftest.
$ac_objext
21166 if { (ac_try
="$ac_compile"
21167 case "(($ac_try" in
21168 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21169 *) ac_try_echo=$ac_try;;
21171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21172 (eval "$ac_compile") 2>conftest.er1
21174 grep -v '^ *+' conftest.er1 >conftest.err
21176 cat conftest.err >&5
21177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21178 (exit $ac_status); } && {
21179 test -z "$ac_c_werror_flag" ||
21180 test ! -s conftest.err
21181 } && test -s conftest.$ac_objext; then
21182 eval "$as_ac_Header=yes"
21184 echo "$as_me: failed program was:" >&5
21185 sed 's/^/| /' conftest.$ac_ext >&5
21187 eval "$as_ac_Header=no"
21190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21192 ac_res=`eval echo '${'$as_ac_Header'}'`
21193 { echo "$as_me:$LINENO: result: $ac_res" >&5
21194 echo "${ECHO_T}$ac_res" >&6; }
21195 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21196 cat >>confdefs.h <<_ACEOF
21197 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21205 if test "$ac_cv_header_wchar_h" != "yes"; then
21206 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
21207 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
21208 if test "${ac_cv_header_wcstr_h+set}" = set; then
21209 echo $ECHO_N "(cached) $ECHO_C" >&6
21211 cat >conftest.$ac_ext <<_ACEOF
21214 cat confdefs.h >>conftest.$ac_ext
21215 cat >>conftest.$ac_ext <<_ACEOF
21216 /* end confdefs.h. */
21217 $ac_includes_default
21221 rm -f conftest.$ac_objext
21222 if { (ac_try="$ac_compile"
21223 case "(($ac_try" in
21224 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21225 *) ac_try_echo
=$ac_try;;
21227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21228 (eval "$ac_compile") 2>conftest.er1
21230 grep -v '^ *+' conftest.er1
>conftest.err
21232 cat conftest.err
>&5
21233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21234 (exit $ac_status); } && {
21235 test -z "$ac_c_werror_flag" ||
21236 test ! -s conftest.err
21237 } && test -s conftest.
$ac_objext; then
21238 ac_cv_header_wcstr_h
=yes
21240 echo "$as_me: failed program was:" >&5
21241 sed 's/^/| /' conftest.
$ac_ext >&5
21243 ac_cv_header_wcstr_h
=no
21246 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21248 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
21249 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
21255 *-pc-os2_emx | *-pc-os2-emx )
21256 if test $ac_cv_header_langinfo_h = "yes" \
21257 -a \
( "$wx_cv_gccversion" = "EMX2" \
21258 -o "$wx_cv_gccversion" = "EMX3" \
21259 -o "$wx_cv_gccversion" = "Innotek5" \
); then
21260 LIBS
="$LIBS -lintl"
21265 if test "$USE_UNIX" = 1 ; then
21266 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
21267 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
21268 if test "${ac_cv_header_sys_select_h+set}" = set; then
21269 echo $ECHO_N "(cached) $ECHO_C" >&6
21271 cat >conftest.
$ac_ext <<_ACEOF
21274 cat confdefs.h
>>conftest.
$ac_ext
21275 cat >>conftest.
$ac_ext <<_ACEOF
21276 /* end confdefs.h. */
21277 $ac_includes_default
21279 #include <sys/select.h>
21281 rm -f conftest.
$ac_objext
21282 if { (ac_try
="$ac_compile"
21283 case "(($ac_try" in
21284 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21285 *) ac_try_echo=$ac_try;;
21287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21288 (eval "$ac_compile") 2>conftest.er1
21290 grep -v '^ *+' conftest.er1 >conftest.err
21292 cat conftest.err >&5
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); } && {
21295 test -z "$ac_c_werror_flag" ||
21296 test ! -s conftest.err
21297 } && test -s conftest.$ac_objext; then
21298 ac_cv_header_sys_select_h=yes
21300 echo "$as_me: failed program was:" >&5
21301 sed 's/^/| /' conftest.$ac_ext >&5
21303 ac_cv_header_sys_select_h=no
21306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21308 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
21309 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
21315 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21316 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21317 if test "${ac_cv_c_const+set}" = set; then
21318 echo $ECHO_N "(cached) $ECHO_C" >&6
21320 cat >conftest.$ac_ext <<_ACEOF
21323 cat confdefs.h >>conftest.$ac_ext
21324 cat >>conftest.$ac_ext <<_ACEOF
21325 /* end confdefs.h. */
21330 /* FIXME: Include the comments suggested by Paul. */
21331 #ifndef __cplusplus
21332 /* Ultrix mips cc rejects this. */
21333 typedef int charset[2];
21335 /* SunOS 4.1.1 cc rejects this. */
21336 char const *const *pcpcc;
21338 /* NEC SVR4.0.2 mips cc rejects this. */
21339 struct point {int x, y;};
21340 static struct point const zero = {0,0};
21341 /* AIX XL C 1.02.0.0 rejects this.
21342 It does not let you subtract one const X* pointer from another in
21343 an arm of an if-expression whose if-part is not a constant
21345 const char *g = "string";
21346 pcpcc = &g + (g ? g-g : 0);
21347 /* HPUX 7.0 cc rejects these. */
21349 ppc = (char**) pcpcc;
21350 pcpcc = (char const *const *) ppc;
21351 { /* SCO 3.2v4 cc rejects this. */
21353 char const *s = 0 ? (char *) 0 : (char const *) 0;
21358 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21359 int x[] = {25, 17};
21360 const int *foo = &x[0];
21363 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21364 typedef const int *iptr;
21368 { /* AIX XL C 1.02.0.0 rejects this saying
21369 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21370 struct s { int j; const int *ap[3]; };
21371 struct s *b; b->j = 5;
21373 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21374 const int foo = 10;
21375 if (!foo) return 0;
21377 return !cs[0] && !zero.x;
21384 rm -f conftest.$ac_objext
21385 if { (ac_try="$ac_compile"
21386 case "(($ac_try" in
21387 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21388 *) ac_try_echo
=$ac_try;;
21390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21391 (eval "$ac_compile") 2>conftest.er1
21393 grep -v '^ *+' conftest.er1
>conftest.err
21395 cat conftest.err
>&5
21396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21397 (exit $ac_status); } && {
21398 test -z "$ac_c_werror_flag" ||
21399 test ! -s conftest.err
21400 } && test -s conftest.
$ac_objext; then
21403 echo "$as_me: failed program was:" >&5
21404 sed 's/^/| /' conftest.
$ac_ext >&5
21409 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21411 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21412 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21413 if test $ac_cv_c_const = no
; then
21415 cat >>confdefs.h
<<\_ACEOF
21421 { echo "$as_me:$LINENO: checking for inline" >&5
21422 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21423 if test "${ac_cv_c_inline+set}" = set; then
21424 echo $ECHO_N "(cached) $ECHO_C" >&6
21427 for ac_kw
in inline __inline__ __inline
; do
21428 cat >conftest.
$ac_ext <<_ACEOF
21431 cat confdefs.h
>>conftest.
$ac_ext
21432 cat >>conftest.
$ac_ext <<_ACEOF
21433 /* end confdefs.h. */
21434 #ifndef __cplusplus
21436 static $ac_kw foo_t static_foo () {return 0; }
21437 $ac_kw foo_t foo () {return 0; }
21441 rm -f conftest.
$ac_objext
21442 if { (ac_try
="$ac_compile"
21443 case "(($ac_try" in
21444 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21445 *) ac_try_echo=$ac_try;;
21447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21448 (eval "$ac_compile") 2>conftest.er1
21450 grep -v '^ *+' conftest.er1 >conftest.err
21452 cat conftest.err >&5
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); } && {
21455 test -z "$ac_c_werror_flag" ||
21456 test ! -s conftest.err
21457 } && test -s conftest.$ac_objext; then
21458 ac_cv_c_inline=$ac_kw
21460 echo "$as_me: failed program was:" >&5
21461 sed 's/^/| /' conftest.$ac_ext >&5
21466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21467 test "$ac_cv_c_inline" != no && break
21471 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21472 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21475 case $ac_cv_c_inline in
21478 case $ac_cv_c_inline in
21480 *) ac_val=$ac_cv_c_inline;;
21482 cat >>confdefs.h <<_ACEOF
21483 #ifndef __cplusplus
21484 #define inline $ac_val
21491 { echo "$as_me:$LINENO: checking for short" >&5
21492 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21493 if test "${ac_cv_type_short+set}" = set; then
21494 echo $ECHO_N "(cached) $ECHO_C" >&6
21496 cat >conftest.$ac_ext <<_ACEOF
21499 cat confdefs.h >>conftest.$ac_ext
21500 cat >>conftest.$ac_ext <<_ACEOF
21501 /* end confdefs.h. */
21502 $ac_includes_default
21503 typedef short ac__type_new_;
21507 if ((ac__type_new_ *) 0)
21509 if (sizeof (ac__type_new_))
21515 rm -f conftest.$ac_objext
21516 if { (ac_try="$ac_compile"
21517 case "(($ac_try" in
21518 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21519 *) ac_try_echo
=$ac_try;;
21521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21522 (eval "$ac_compile") 2>conftest.er1
21524 grep -v '^ *+' conftest.er1
>conftest.err
21526 cat conftest.err
>&5
21527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21528 (exit $ac_status); } && {
21529 test -z "$ac_c_werror_flag" ||
21530 test ! -s conftest.err
21531 } && test -s conftest.
$ac_objext; then
21532 ac_cv_type_short
=yes
21534 echo "$as_me: failed program was:" >&5
21535 sed 's/^/| /' conftest.
$ac_ext >&5
21537 ac_cv_type_short
=no
21540 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21542 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21543 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21545 # The cast to long int works around a bug in the HP C Compiler
21546 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21547 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21548 # This bug is HP SR number 8606223364.
21549 { echo "$as_me:$LINENO: checking size of short" >&5
21550 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21551 if test "${ac_cv_sizeof_short+set}" = set; then
21552 echo $ECHO_N "(cached) $ECHO_C" >&6
21554 if test "$cross_compiling" = yes; then
21555 # Depending upon the size, compute the lo and hi bounds.
21556 cat >conftest.
$ac_ext <<_ACEOF
21559 cat confdefs.h
>>conftest.
$ac_ext
21560 cat >>conftest.
$ac_ext <<_ACEOF
21561 /* end confdefs.h. */
21562 $ac_includes_default
21563 typedef short ac__type_sizeof_;
21567 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21574 rm -f conftest.
$ac_objext
21575 if { (ac_try
="$ac_compile"
21576 case "(($ac_try" in
21577 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21578 *) ac_try_echo=$ac_try;;
21580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21581 (eval "$ac_compile") 2>conftest.er1
21583 grep -v '^ *+' conftest.er1 >conftest.err
21585 cat conftest.err >&5
21586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587 (exit $ac_status); } && {
21588 test -z "$ac_c_werror_flag" ||
21589 test ! -s conftest.err
21590 } && test -s conftest.$ac_objext; then
21593 cat >conftest.$ac_ext <<_ACEOF
21596 cat confdefs.h >>conftest.$ac_ext
21597 cat >>conftest.$ac_ext <<_ACEOF
21598 /* end confdefs.h. */
21599 $ac_includes_default
21600 typedef short ac__type_sizeof_;
21604 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21611 rm -f conftest.$ac_objext
21612 if { (ac_try="$ac_compile"
21613 case "(($ac_try" in
21614 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21615 *) ac_try_echo
=$ac_try;;
21617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21618 (eval "$ac_compile") 2>conftest.er1
21620 grep -v '^ *+' conftest.er1
>conftest.err
21622 cat conftest.err
>&5
21623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21624 (exit $ac_status); } && {
21625 test -z "$ac_c_werror_flag" ||
21626 test ! -s conftest.err
21627 } && test -s conftest.
$ac_objext; then
21628 ac_hi
=$ac_mid; break
21630 echo "$as_me: failed program was:" >&5
21631 sed 's/^/| /' conftest.
$ac_ext >&5
21633 ac_lo
=`expr $ac_mid + 1`
21634 if test $ac_lo -le $ac_mid; then
21638 ac_mid
=`expr 2 '*' $ac_mid + 1`
21641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21644 echo "$as_me: failed program was:" >&5
21645 sed 's/^/| /' conftest.
$ac_ext >&5
21647 cat >conftest.
$ac_ext <<_ACEOF
21650 cat confdefs.h
>>conftest.
$ac_ext
21651 cat >>conftest.
$ac_ext <<_ACEOF
21652 /* end confdefs.h. */
21653 $ac_includes_default
21654 typedef short ac__type_sizeof_;
21658 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21665 rm -f conftest.
$ac_objext
21666 if { (ac_try
="$ac_compile"
21667 case "(($ac_try" in
21668 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21669 *) ac_try_echo=$ac_try;;
21671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21672 (eval "$ac_compile") 2>conftest.er1
21674 grep -v '^ *+' conftest.er1 >conftest.err
21676 cat conftest.err >&5
21677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21678 (exit $ac_status); } && {
21679 test -z "$ac_c_werror_flag" ||
21680 test ! -s conftest.err
21681 } && test -s conftest.$ac_objext; then
21684 cat >conftest.$ac_ext <<_ACEOF
21687 cat confdefs.h >>conftest.$ac_ext
21688 cat >>conftest.$ac_ext <<_ACEOF
21689 /* end confdefs.h. */
21690 $ac_includes_default
21691 typedef short ac__type_sizeof_;
21695 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21702 rm -f conftest.$ac_objext
21703 if { (ac_try="$ac_compile"
21704 case "(($ac_try" in
21705 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21706 *) ac_try_echo
=$ac_try;;
21708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21709 (eval "$ac_compile") 2>conftest.er1
21711 grep -v '^ *+' conftest.er1
>conftest.err
21713 cat conftest.err
>&5
21714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21715 (exit $ac_status); } && {
21716 test -z "$ac_c_werror_flag" ||
21717 test ! -s conftest.err
21718 } && test -s conftest.
$ac_objext; then
21719 ac_lo
=$ac_mid; break
21721 echo "$as_me: failed program was:" >&5
21722 sed 's/^/| /' conftest.
$ac_ext >&5
21724 ac_hi
=`expr '(' $ac_mid ')' - 1`
21725 if test $ac_mid -le $ac_hi; then
21729 ac_mid
=`expr 2 '*' $ac_mid`
21732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21735 echo "$as_me: failed program was:" >&5
21736 sed 's/^/| /' conftest.
$ac_ext >&5
21741 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21745 # Binary search between lo and hi bounds.
21746 while test "x$ac_lo" != "x$ac_hi"; do
21747 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21748 cat >conftest.
$ac_ext <<_ACEOF
21751 cat confdefs.h
>>conftest.
$ac_ext
21752 cat >>conftest.
$ac_ext <<_ACEOF
21753 /* end confdefs.h. */
21754 $ac_includes_default
21755 typedef short ac__type_sizeof_;
21759 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21766 rm -f conftest.
$ac_objext
21767 if { (ac_try
="$ac_compile"
21768 case "(($ac_try" in
21769 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21770 *) ac_try_echo=$ac_try;;
21772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21773 (eval "$ac_compile") 2>conftest.er1
21775 grep -v '^ *+' conftest.er1 >conftest.err
21777 cat conftest.err >&5
21778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21779 (exit $ac_status); } && {
21780 test -z "$ac_c_werror_flag" ||
21781 test ! -s conftest.err
21782 } && test -s conftest.$ac_objext; then
21785 echo "$as_me: failed program was:" >&5
21786 sed 's/^/| /' conftest.$ac_ext >&5
21788 ac_lo=`expr '(' $ac_mid ')' + 1`
21791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21794 ?*) ac_cv_sizeof_short=$ac_lo;;
21795 '') if test "$ac_cv_type_short" = yes; then
21796 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21797 See \`config.log
' for more details." >&5
21798 echo "$as_me: error: cannot compute sizeof (short)
21799 See \`config.log' for more details.
" >&2;}
21800 { (exit 77); exit 77; }; }
21802 ac_cv_sizeof_short=0
21806 cat >conftest.$ac_ext <<_ACEOF
21809 cat confdefs.h >>conftest.$ac_ext
21810 cat >>conftest.$ac_ext <<_ACEOF
21811 /* end confdefs.h. */
21812 $ac_includes_default
21813 typedef short ac__type_sizeof_;
21814 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21815 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21817 #include <stdlib.h>
21822 FILE *f = fopen ("conftest.val
", "w
");
21825 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21827 long int i = longval ();
21828 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21830 fprintf (f, "%ld
\n", i);
21834 unsigned long int i = ulongval ();
21835 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21837 fprintf (f, "%lu
\n", i);
21839 return ferror (f) || fclose (f) != 0;
21845 rm -f conftest$ac_exeext
21846 if { (ac_try="$ac_link"
21847 case "(($ac_try" in
21848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21849 *) ac_try_echo=$ac_try;;
21851 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21852 (eval "$ac_link") 2>&5
21854 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21855 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21856 { (case "(($ac_try" in
21857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21858 *) ac_try_echo=$ac_try;;
21860 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21861 (eval "$ac_try") 2>&5
21863 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21864 (exit $ac_status); }; }; then
21865 ac_cv_sizeof_short=`cat conftest.val`
21867 echo "$as_me: program exited with status
$ac_status" >&5
21868 echo "$as_me: failed program was
:" >&5
21869 sed 's/^/| /' conftest.$ac_ext >&5
21871 ( exit $ac_status )
21872 if test "$ac_cv_type_short" = yes; then
21873 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
21874 See \
`config.log' for more details." >&5
21875 echo "$as_me: error: cannot compute sizeof (short)
21876 See \`config.log
' for more details." >&2;}
21877 { (exit 77); exit 77; }; }
21879 ac_cv_sizeof_short=0
21882 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21886 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21887 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21891 cat >>confdefs.h <<_ACEOF
21892 #define SIZEOF_SHORT $ac_cv_sizeof_short
21896 { echo "$as_me:$LINENO: checking for void *" >&5
21897 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21898 if test "${ac_cv_type_void_p+set}" = set; then
21899 echo $ECHO_N "(cached) $ECHO_C" >&6
21901 cat >conftest.$ac_ext <<_ACEOF
21904 cat confdefs.h >>conftest.$ac_ext
21905 cat >>conftest.$ac_ext <<_ACEOF
21906 /* end confdefs.h. */
21907 $ac_includes_default
21908 typedef void * ac__type_new_;
21912 if ((ac__type_new_ *) 0)
21914 if (sizeof (ac__type_new_))
21920 rm -f conftest.$ac_objext
21921 if { (ac_try="$ac_compile"
21922 case "(($ac_try" in
21923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21924 *) ac_try_echo=$ac_try;;
21926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21927 (eval "$ac_compile") 2>conftest.er1
21929 grep -v '^
*+' conftest.er1 >conftest.err
21931 cat conftest.err >&5
21932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21933 (exit $ac_status); } && {
21934 test -z "$ac_c_werror_flag" ||
21935 test ! -s conftest.err
21936 } && test -s conftest.$ac_objext; then
21937 ac_cv_type_void_p=yes
21939 echo "$as_me: failed program was:" >&5
21940 sed 's
/^
/| /' conftest.$ac_ext >&5
21942 ac_cv_type_void_p=no
21945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21947 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21948 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21950 # The cast to long int works around a bug in the HP C Compiler
21951 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21952 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21953 # This bug is HP SR number 8606223364.
21954 { echo "$as_me:$LINENO: checking size of void *" >&5
21955 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21956 if test "${ac_cv_sizeof_void_p+set}" = set; then
21957 echo $ECHO_N "(cached) $ECHO_C" >&6
21959 if test "$cross_compiling" = yes; then
21960 # Depending upon the size, compute the lo and hi bounds.
21961 cat >conftest.
$ac_ext <<_ACEOF
21964 cat confdefs.h
>>conftest.
$ac_ext
21965 cat >>conftest.
$ac_ext <<_ACEOF
21966 /* end confdefs.h. */
21967 $ac_includes_default
21968 typedef void * ac__type_sizeof_;
21972 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21979 rm -f conftest.
$ac_objext
21980 if { (ac_try
="$ac_compile"
21981 case "(($ac_try" in
21982 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21983 *) ac_try_echo=$ac_try;;
21985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21986 (eval "$ac_compile") 2>conftest.er1
21988 grep -v '^ *+' conftest.er1 >conftest.err
21990 cat conftest.err >&5
21991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21992 (exit $ac_status); } && {
21993 test -z "$ac_c_werror_flag" ||
21994 test ! -s conftest.err
21995 } && test -s conftest.$ac_objext; then
21998 cat >conftest.$ac_ext <<_ACEOF
22001 cat confdefs.h >>conftest.$ac_ext
22002 cat >>conftest.$ac_ext <<_ACEOF
22003 /* end confdefs.h. */
22004 $ac_includes_default
22005 typedef void * ac__type_sizeof_;
22009 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22016 rm -f conftest.$ac_objext
22017 if { (ac_try="$ac_compile"
22018 case "(($ac_try" in
22019 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22020 *) ac_try_echo
=$ac_try;;
22022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22023 (eval "$ac_compile") 2>conftest.er1
22025 grep -v '^ *+' conftest.er1
>conftest.err
22027 cat conftest.err
>&5
22028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22029 (exit $ac_status); } && {
22030 test -z "$ac_c_werror_flag" ||
22031 test ! -s conftest.err
22032 } && test -s conftest.
$ac_objext; then
22033 ac_hi
=$ac_mid; break
22035 echo "$as_me: failed program was:" >&5
22036 sed 's/^/| /' conftest.
$ac_ext >&5
22038 ac_lo
=`expr $ac_mid + 1`
22039 if test $ac_lo -le $ac_mid; then
22043 ac_mid
=`expr 2 '*' $ac_mid + 1`
22046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22049 echo "$as_me: failed program was:" >&5
22050 sed 's/^/| /' conftest.
$ac_ext >&5
22052 cat >conftest.
$ac_ext <<_ACEOF
22055 cat confdefs.h
>>conftest.
$ac_ext
22056 cat >>conftest.
$ac_ext <<_ACEOF
22057 /* end confdefs.h. */
22058 $ac_includes_default
22059 typedef void * ac__type_sizeof_;
22063 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22070 rm -f conftest.
$ac_objext
22071 if { (ac_try
="$ac_compile"
22072 case "(($ac_try" in
22073 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22074 *) ac_try_echo=$ac_try;;
22076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22077 (eval "$ac_compile") 2>conftest.er1
22079 grep -v '^ *+' conftest.er1 >conftest.err
22081 cat conftest.err >&5
22082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083 (exit $ac_status); } && {
22084 test -z "$ac_c_werror_flag" ||
22085 test ! -s conftest.err
22086 } && test -s conftest.$ac_objext; then
22089 cat >conftest.$ac_ext <<_ACEOF
22092 cat confdefs.h >>conftest.$ac_ext
22093 cat >>conftest.$ac_ext <<_ACEOF
22094 /* end confdefs.h. */
22095 $ac_includes_default
22096 typedef void * ac__type_sizeof_;
22100 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22107 rm -f conftest.$ac_objext
22108 if { (ac_try="$ac_compile"
22109 case "(($ac_try" in
22110 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22111 *) ac_try_echo
=$ac_try;;
22113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22114 (eval "$ac_compile") 2>conftest.er1
22116 grep -v '^ *+' conftest.er1
>conftest.err
22118 cat conftest.err
>&5
22119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22120 (exit $ac_status); } && {
22121 test -z "$ac_c_werror_flag" ||
22122 test ! -s conftest.err
22123 } && test -s conftest.
$ac_objext; then
22124 ac_lo
=$ac_mid; break
22126 echo "$as_me: failed program was:" >&5
22127 sed 's/^/| /' conftest.
$ac_ext >&5
22129 ac_hi
=`expr '(' $ac_mid ')' - 1`
22130 if test $ac_mid -le $ac_hi; then
22134 ac_mid
=`expr 2 '*' $ac_mid`
22137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22140 echo "$as_me: failed program was:" >&5
22141 sed 's/^/| /' conftest.
$ac_ext >&5
22146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22149 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22150 # Binary search between lo and hi bounds.
22151 while test "x$ac_lo" != "x$ac_hi"; do
22152 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22153 cat >conftest.
$ac_ext <<_ACEOF
22156 cat confdefs.h
>>conftest.
$ac_ext
22157 cat >>conftest.
$ac_ext <<_ACEOF
22158 /* end confdefs.h. */
22159 $ac_includes_default
22160 typedef void * ac__type_sizeof_;
22164 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22171 rm -f conftest.
$ac_objext
22172 if { (ac_try
="$ac_compile"
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_compile") 2>conftest.er1
22180 grep -v '^ *+' conftest.er1 >conftest.err
22182 cat conftest.err >&5
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); } && {
22185 test -z "$ac_c_werror_flag" ||
22186 test ! -s conftest.err
22187 } && test -s conftest.$ac_objext; then
22190 echo "$as_me: failed program was:" >&5
22191 sed 's/^/| /' conftest.$ac_ext >&5
22193 ac_lo=`expr '(' $ac_mid ')' + 1`
22196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22199 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22200 '') if test "$ac_cv_type_void_p" = yes; then
22201 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22202 See \`config.log
' for more details." >&5
22203 echo "$as_me: error: cannot compute sizeof (void *)
22204 See \`config.log' for more details.
" >&2;}
22205 { (exit 77); exit 77; }; }
22207 ac_cv_sizeof_void_p=0
22211 cat >conftest.$ac_ext <<_ACEOF
22214 cat confdefs.h >>conftest.$ac_ext
22215 cat >>conftest.$ac_ext <<_ACEOF
22216 /* end confdefs.h. */
22217 $ac_includes_default
22218 typedef void * ac__type_sizeof_;
22219 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22220 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22222 #include <stdlib.h>
22227 FILE *f = fopen ("conftest.val
", "w
");
22230 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22232 long int i = longval ();
22233 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22235 fprintf (f, "%ld
\n", i);
22239 unsigned long int i = ulongval ();
22240 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22242 fprintf (f, "%lu
\n", i);
22244 return ferror (f) || fclose (f) != 0;
22250 rm -f conftest$ac_exeext
22251 if { (ac_try="$ac_link"
22252 case "(($ac_try" in
22253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22254 *) ac_try_echo=$ac_try;;
22256 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22257 (eval "$ac_link") 2>&5
22259 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22260 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22261 { (case "(($ac_try" in
22262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22263 *) ac_try_echo=$ac_try;;
22265 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22266 (eval "$ac_try") 2>&5
22268 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22269 (exit $ac_status); }; }; then
22270 ac_cv_sizeof_void_p=`cat conftest.val`
22272 echo "$as_me: program exited with status
$ac_status" >&5
22273 echo "$as_me: failed program was
:" >&5
22274 sed 's/^/| /' conftest.$ac_ext >&5
22276 ( exit $ac_status )
22277 if test "$ac_cv_type_void_p" = yes; then
22278 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
22279 See \
`config.log' for more details." >&5
22280 echo "$as_me: error: cannot compute sizeof (void *)
22281 See \`config.log
' for more details." >&2;}
22282 { (exit 77); exit 77; }; }
22284 ac_cv_sizeof_void_p=0
22287 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22291 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22292 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22296 cat >>confdefs.h <<_ACEOF
22297 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22301 { echo "$as_me:$LINENO: checking for int" >&5
22302 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22303 if test "${ac_cv_type_int+set}" = set; then
22304 echo $ECHO_N "(cached) $ECHO_C" >&6
22306 cat >conftest.$ac_ext <<_ACEOF
22309 cat confdefs.h >>conftest.$ac_ext
22310 cat >>conftest.$ac_ext <<_ACEOF
22311 /* end confdefs.h. */
22312 $ac_includes_default
22313 typedef int ac__type_new_;
22317 if ((ac__type_new_ *) 0)
22319 if (sizeof (ac__type_new_))
22325 rm -f conftest.$ac_objext
22326 if { (ac_try="$ac_compile"
22327 case "(($ac_try" in
22328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22329 *) ac_try_echo=$ac_try;;
22331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22332 (eval "$ac_compile") 2>conftest.er1
22334 grep -v '^
*+' conftest.er1 >conftest.err
22336 cat conftest.err >&5
22337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22338 (exit $ac_status); } && {
22339 test -z "$ac_c_werror_flag" ||
22340 test ! -s conftest.err
22341 } && test -s conftest.$ac_objext; then
22344 echo "$as_me: failed program was:" >&5
22345 sed 's
/^
/| /' conftest.$ac_ext >&5
22350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22352 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22353 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22355 # The cast to long int works around a bug in the HP C Compiler
22356 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22357 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22358 # This bug is HP SR number 8606223364.
22359 { echo "$as_me:$LINENO: checking size of int" >&5
22360 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22361 if test "${ac_cv_sizeof_int+set}" = set; then
22362 echo $ECHO_N "(cached) $ECHO_C" >&6
22364 if test "$cross_compiling" = yes; then
22365 # Depending upon the size, compute the lo and hi bounds.
22366 cat >conftest.
$ac_ext <<_ACEOF
22369 cat confdefs.h
>>conftest.
$ac_ext
22370 cat >>conftest.
$ac_ext <<_ACEOF
22371 /* end confdefs.h. */
22372 $ac_includes_default
22373 typedef int ac__type_sizeof_;
22377 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22384 rm -f conftest.
$ac_objext
22385 if { (ac_try
="$ac_compile"
22386 case "(($ac_try" in
22387 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22388 *) ac_try_echo=$ac_try;;
22390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22391 (eval "$ac_compile") 2>conftest.er1
22393 grep -v '^ *+' conftest.er1 >conftest.err
22395 cat conftest.err >&5
22396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22397 (exit $ac_status); } && {
22398 test -z "$ac_c_werror_flag" ||
22399 test ! -s conftest.err
22400 } && test -s conftest.$ac_objext; then
22403 cat >conftest.$ac_ext <<_ACEOF
22406 cat confdefs.h >>conftest.$ac_ext
22407 cat >>conftest.$ac_ext <<_ACEOF
22408 /* end confdefs.h. */
22409 $ac_includes_default
22410 typedef int ac__type_sizeof_;
22414 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22421 rm -f conftest.$ac_objext
22422 if { (ac_try="$ac_compile"
22423 case "(($ac_try" in
22424 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22425 *) ac_try_echo
=$ac_try;;
22427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22428 (eval "$ac_compile") 2>conftest.er1
22430 grep -v '^ *+' conftest.er1
>conftest.err
22432 cat conftest.err
>&5
22433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434 (exit $ac_status); } && {
22435 test -z "$ac_c_werror_flag" ||
22436 test ! -s conftest.err
22437 } && test -s conftest.
$ac_objext; then
22438 ac_hi
=$ac_mid; break
22440 echo "$as_me: failed program was:" >&5
22441 sed 's/^/| /' conftest.
$ac_ext >&5
22443 ac_lo
=`expr $ac_mid + 1`
22444 if test $ac_lo -le $ac_mid; then
22448 ac_mid
=`expr 2 '*' $ac_mid + 1`
22451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22454 echo "$as_me: failed program was:" >&5
22455 sed 's/^/| /' conftest.
$ac_ext >&5
22457 cat >conftest.
$ac_ext <<_ACEOF
22460 cat confdefs.h
>>conftest.
$ac_ext
22461 cat >>conftest.
$ac_ext <<_ACEOF
22462 /* end confdefs.h. */
22463 $ac_includes_default
22464 typedef int ac__type_sizeof_;
22468 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22475 rm -f conftest.
$ac_objext
22476 if { (ac_try
="$ac_compile"
22477 case "(($ac_try" in
22478 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22479 *) ac_try_echo=$ac_try;;
22481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22482 (eval "$ac_compile") 2>conftest.er1
22484 grep -v '^ *+' conftest.er1 >conftest.err
22486 cat conftest.err >&5
22487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22488 (exit $ac_status); } && {
22489 test -z "$ac_c_werror_flag" ||
22490 test ! -s conftest.err
22491 } && test -s conftest.$ac_objext; then
22494 cat >conftest.$ac_ext <<_ACEOF
22497 cat confdefs.h >>conftest.$ac_ext
22498 cat >>conftest.$ac_ext <<_ACEOF
22499 /* end confdefs.h. */
22500 $ac_includes_default
22501 typedef int ac__type_sizeof_;
22505 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22512 rm -f conftest.$ac_objext
22513 if { (ac_try="$ac_compile"
22514 case "(($ac_try" in
22515 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22516 *) ac_try_echo
=$ac_try;;
22518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22519 (eval "$ac_compile") 2>conftest.er1
22521 grep -v '^ *+' conftest.er1
>conftest.err
22523 cat conftest.err
>&5
22524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525 (exit $ac_status); } && {
22526 test -z "$ac_c_werror_flag" ||
22527 test ! -s conftest.err
22528 } && test -s conftest.
$ac_objext; then
22529 ac_lo
=$ac_mid; break
22531 echo "$as_me: failed program was:" >&5
22532 sed 's/^/| /' conftest.
$ac_ext >&5
22534 ac_hi
=`expr '(' $ac_mid ')' - 1`
22535 if test $ac_mid -le $ac_hi; then
22539 ac_mid
=`expr 2 '*' $ac_mid`
22542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22545 echo "$as_me: failed program was:" >&5
22546 sed 's/^/| /' conftest.
$ac_ext >&5
22551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22554 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22555 # Binary search between lo and hi bounds.
22556 while test "x$ac_lo" != "x$ac_hi"; do
22557 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22558 cat >conftest.
$ac_ext <<_ACEOF
22561 cat confdefs.h
>>conftest.
$ac_ext
22562 cat >>conftest.
$ac_ext <<_ACEOF
22563 /* end confdefs.h. */
22564 $ac_includes_default
22565 typedef int ac__type_sizeof_;
22569 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22576 rm -f conftest.
$ac_objext
22577 if { (ac_try
="$ac_compile"
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_compile") 2>conftest.er1
22585 grep -v '^ *+' conftest.er1 >conftest.err
22587 cat conftest.err >&5
22588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22589 (exit $ac_status); } && {
22590 test -z "$ac_c_werror_flag" ||
22591 test ! -s conftest.err
22592 } && test -s conftest.$ac_objext; then
22595 echo "$as_me: failed program was:" >&5
22596 sed 's/^/| /' conftest.$ac_ext >&5
22598 ac_lo=`expr '(' $ac_mid ')' + 1`
22601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22604 ?*) ac_cv_sizeof_int=$ac_lo;;
22605 '') if test "$ac_cv_type_int" = yes; then
22606 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22607 See \`config.log
' for more details." >&5
22608 echo "$as_me: error: cannot compute sizeof (int)
22609 See \`config.log' for more details.
" >&2;}
22610 { (exit 77); exit 77; }; }
22616 cat >conftest.$ac_ext <<_ACEOF
22619 cat confdefs.h >>conftest.$ac_ext
22620 cat >>conftest.$ac_ext <<_ACEOF
22621 /* end confdefs.h. */
22622 $ac_includes_default
22623 typedef int ac__type_sizeof_;
22624 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22625 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22627 #include <stdlib.h>
22632 FILE *f = fopen ("conftest.val
", "w
");
22635 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22637 long int i = longval ();
22638 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22640 fprintf (f, "%ld
\n", i);
22644 unsigned long int i = ulongval ();
22645 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22647 fprintf (f, "%lu
\n", i);
22649 return ferror (f) || fclose (f) != 0;
22655 rm -f conftest$ac_exeext
22656 if { (ac_try="$ac_link"
22657 case "(($ac_try" in
22658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22659 *) ac_try_echo=$ac_try;;
22661 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22662 (eval "$ac_link") 2>&5
22664 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22665 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22666 { (case "(($ac_try" in
22667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22668 *) ac_try_echo=$ac_try;;
22670 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22671 (eval "$ac_try") 2>&5
22673 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22674 (exit $ac_status); }; }; then
22675 ac_cv_sizeof_int=`cat conftest.val`
22677 echo "$as_me: program exited with status
$ac_status" >&5
22678 echo "$as_me: failed program was
:" >&5
22679 sed 's/^/| /' conftest.$ac_ext >&5
22681 ( exit $ac_status )
22682 if test "$ac_cv_type_int" = yes; then
22683 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
22684 See \
`config.log' for more details." >&5
22685 echo "$as_me: error: cannot compute sizeof (int)
22686 See \`config.log
' for more details." >&2;}
22687 { (exit 77); exit 77; }; }
22692 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22696 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22697 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22701 cat >>confdefs.h <<_ACEOF
22702 #define SIZEOF_INT $ac_cv_sizeof_int
22706 { echo "$as_me:$LINENO: checking for long" >&5
22707 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22708 if test "${ac_cv_type_long+set}" = set; then
22709 echo $ECHO_N "(cached) $ECHO_C" >&6
22711 cat >conftest.$ac_ext <<_ACEOF
22714 cat confdefs.h >>conftest.$ac_ext
22715 cat >>conftest.$ac_ext <<_ACEOF
22716 /* end confdefs.h. */
22717 $ac_includes_default
22718 typedef long ac__type_new_;
22722 if ((ac__type_new_ *) 0)
22724 if (sizeof (ac__type_new_))
22730 rm -f conftest.$ac_objext
22731 if { (ac_try="$ac_compile"
22732 case "(($ac_try" in
22733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22734 *) ac_try_echo=$ac_try;;
22736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22737 (eval "$ac_compile") 2>conftest.er1
22739 grep -v '^
*+' conftest.er1 >conftest.err
22741 cat conftest.err >&5
22742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22743 (exit $ac_status); } && {
22744 test -z "$ac_c_werror_flag" ||
22745 test ! -s conftest.err
22746 } && test -s conftest.$ac_objext; then
22747 ac_cv_type_long=yes
22749 echo "$as_me: failed program was:" >&5
22750 sed 's
/^
/| /' conftest.$ac_ext >&5
22755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22757 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22758 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22760 # The cast to long int works around a bug in the HP C Compiler
22761 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22762 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22763 # This bug is HP SR number 8606223364.
22764 { echo "$as_me:$LINENO: checking size of long" >&5
22765 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22766 if test "${ac_cv_sizeof_long+set}" = set; then
22767 echo $ECHO_N "(cached) $ECHO_C" >&6
22769 if test "$cross_compiling" = yes; then
22770 # Depending upon the size, compute the lo and hi bounds.
22771 cat >conftest.
$ac_ext <<_ACEOF
22774 cat confdefs.h
>>conftest.
$ac_ext
22775 cat >>conftest.
$ac_ext <<_ACEOF
22776 /* end confdefs.h. */
22777 $ac_includes_default
22778 typedef long ac__type_sizeof_;
22782 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22789 rm -f conftest.
$ac_objext
22790 if { (ac_try
="$ac_compile"
22791 case "(($ac_try" in
22792 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22793 *) ac_try_echo=$ac_try;;
22795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22796 (eval "$ac_compile") 2>conftest.er1
22798 grep -v '^ *+' conftest.er1 >conftest.err
22800 cat conftest.err >&5
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); } && {
22803 test -z "$ac_c_werror_flag" ||
22804 test ! -s conftest.err
22805 } && test -s conftest.$ac_objext; then
22808 cat >conftest.$ac_ext <<_ACEOF
22811 cat confdefs.h >>conftest.$ac_ext
22812 cat >>conftest.$ac_ext <<_ACEOF
22813 /* end confdefs.h. */
22814 $ac_includes_default
22815 typedef long ac__type_sizeof_;
22819 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22826 rm -f conftest.$ac_objext
22827 if { (ac_try="$ac_compile"
22828 case "(($ac_try" in
22829 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22830 *) ac_try_echo
=$ac_try;;
22832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22833 (eval "$ac_compile") 2>conftest.er1
22835 grep -v '^ *+' conftest.er1
>conftest.err
22837 cat conftest.err
>&5
22838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22839 (exit $ac_status); } && {
22840 test -z "$ac_c_werror_flag" ||
22841 test ! -s conftest.err
22842 } && test -s conftest.
$ac_objext; then
22843 ac_hi
=$ac_mid; break
22845 echo "$as_me: failed program was:" >&5
22846 sed 's/^/| /' conftest.
$ac_ext >&5
22848 ac_lo
=`expr $ac_mid + 1`
22849 if test $ac_lo -le $ac_mid; then
22853 ac_mid
=`expr 2 '*' $ac_mid + 1`
22856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22859 echo "$as_me: failed program was:" >&5
22860 sed 's/^/| /' conftest.
$ac_ext >&5
22862 cat >conftest.
$ac_ext <<_ACEOF
22865 cat confdefs.h
>>conftest.
$ac_ext
22866 cat >>conftest.
$ac_ext <<_ACEOF
22867 /* end confdefs.h. */
22868 $ac_includes_default
22869 typedef long ac__type_sizeof_;
22873 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22880 rm -f conftest.
$ac_objext
22881 if { (ac_try
="$ac_compile"
22882 case "(($ac_try" in
22883 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22884 *) ac_try_echo=$ac_try;;
22886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22887 (eval "$ac_compile") 2>conftest.er1
22889 grep -v '^ *+' conftest.er1 >conftest.err
22891 cat conftest.err >&5
22892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22893 (exit $ac_status); } && {
22894 test -z "$ac_c_werror_flag" ||
22895 test ! -s conftest.err
22896 } && test -s conftest.$ac_objext; then
22899 cat >conftest.$ac_ext <<_ACEOF
22902 cat confdefs.h >>conftest.$ac_ext
22903 cat >>conftest.$ac_ext <<_ACEOF
22904 /* end confdefs.h. */
22905 $ac_includes_default
22906 typedef long ac__type_sizeof_;
22910 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22917 rm -f conftest.$ac_objext
22918 if { (ac_try="$ac_compile"
22919 case "(($ac_try" in
22920 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22921 *) ac_try_echo
=$ac_try;;
22923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22924 (eval "$ac_compile") 2>conftest.er1
22926 grep -v '^ *+' conftest.er1
>conftest.err
22928 cat conftest.err
>&5
22929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22930 (exit $ac_status); } && {
22931 test -z "$ac_c_werror_flag" ||
22932 test ! -s conftest.err
22933 } && test -s conftest.
$ac_objext; then
22934 ac_lo
=$ac_mid; break
22936 echo "$as_me: failed program was:" >&5
22937 sed 's/^/| /' conftest.
$ac_ext >&5
22939 ac_hi
=`expr '(' $ac_mid ')' - 1`
22940 if test $ac_mid -le $ac_hi; then
22944 ac_mid
=`expr 2 '*' $ac_mid`
22947 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22950 echo "$as_me: failed program was:" >&5
22951 sed 's/^/| /' conftest.
$ac_ext >&5
22956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22959 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22960 # Binary search between lo and hi bounds.
22961 while test "x$ac_lo" != "x$ac_hi"; do
22962 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22963 cat >conftest.
$ac_ext <<_ACEOF
22966 cat confdefs.h
>>conftest.
$ac_ext
22967 cat >>conftest.
$ac_ext <<_ACEOF
22968 /* end confdefs.h. */
22969 $ac_includes_default
22970 typedef long ac__type_sizeof_;
22974 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22981 rm -f conftest.
$ac_objext
22982 if { (ac_try
="$ac_compile"
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_compile") 2>conftest.er1
22990 grep -v '^ *+' conftest.er1 >conftest.err
22992 cat conftest.err >&5
22993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22994 (exit $ac_status); } && {
22995 test -z "$ac_c_werror_flag" ||
22996 test ! -s conftest.err
22997 } && test -s conftest.$ac_objext; then
23000 echo "$as_me: failed program was:" >&5
23001 sed 's/^/| /' conftest.$ac_ext >&5
23003 ac_lo=`expr '(' $ac_mid ')' + 1`
23006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23009 ?*) ac_cv_sizeof_long=$ac_lo;;
23010 '') if test "$ac_cv_type_long" = yes; then
23011 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23012 See \`config.log
' for more details." >&5
23013 echo "$as_me: error: cannot compute sizeof (long)
23014 See \`config.log' for more details.
" >&2;}
23015 { (exit 77); exit 77; }; }
23017 ac_cv_sizeof_long=0
23021 cat >conftest.$ac_ext <<_ACEOF
23024 cat confdefs.h >>conftest.$ac_ext
23025 cat >>conftest.$ac_ext <<_ACEOF
23026 /* end confdefs.h. */
23027 $ac_includes_default
23028 typedef long ac__type_sizeof_;
23029 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23030 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23032 #include <stdlib.h>
23037 FILE *f = fopen ("conftest.val
", "w
");
23040 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23042 long int i = longval ();
23043 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23045 fprintf (f, "%ld
\n", i);
23049 unsigned long int i = ulongval ();
23050 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23052 fprintf (f, "%lu
\n", i);
23054 return ferror (f) || fclose (f) != 0;
23060 rm -f conftest$ac_exeext
23061 if { (ac_try="$ac_link"
23062 case "(($ac_try" in
23063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23064 *) ac_try_echo=$ac_try;;
23066 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23067 (eval "$ac_link") 2>&5
23069 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23070 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23071 { (case "(($ac_try" in
23072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23073 *) ac_try_echo=$ac_try;;
23075 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23076 (eval "$ac_try") 2>&5
23078 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23079 (exit $ac_status); }; }; then
23080 ac_cv_sizeof_long=`cat conftest.val`
23082 echo "$as_me: program exited with status
$ac_status" >&5
23083 echo "$as_me: failed program was
:" >&5
23084 sed 's/^/| /' conftest.$ac_ext >&5
23086 ( exit $ac_status )
23087 if test "$ac_cv_type_long" = yes; then
23088 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
23089 See \
`config.log' for more details." >&5
23090 echo "$as_me: error: cannot compute sizeof (long)
23091 See \`config.log
' for more details." >&2;}
23092 { (exit 77); exit 77; }; }
23094 ac_cv_sizeof_long=0
23097 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23101 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23102 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23106 cat >>confdefs.h <<_ACEOF
23107 #define SIZEOF_LONG $ac_cv_sizeof_long
23111 { echo "$as_me:$LINENO: checking for size_t" >&5
23112 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23113 if test "${ac_cv_type_size_t+set}" = set; then
23114 echo $ECHO_N "(cached) $ECHO_C" >&6
23116 cat >conftest.$ac_ext <<_ACEOF
23119 cat confdefs.h >>conftest.$ac_ext
23120 cat >>conftest.$ac_ext <<_ACEOF
23121 /* end confdefs.h. */
23122 $ac_includes_default
23123 typedef size_t ac__type_new_;
23127 if ((ac__type_new_ *) 0)
23129 if (sizeof (ac__type_new_))
23135 rm -f conftest.$ac_objext
23136 if { (ac_try="$ac_compile"
23137 case "(($ac_try" in
23138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23139 *) ac_try_echo=$ac_try;;
23141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23142 (eval "$ac_compile") 2>conftest.er1
23144 grep -v '^
*+' conftest.er1 >conftest.err
23146 cat conftest.err >&5
23147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148 (exit $ac_status); } && {
23149 test -z "$ac_c_werror_flag" ||
23150 test ! -s conftest.err
23151 } && test -s conftest.$ac_objext; then
23152 ac_cv_type_size_t=yes
23154 echo "$as_me: failed program was:" >&5
23155 sed 's
/^
/| /' conftest.$ac_ext >&5
23157 ac_cv_type_size_t=no
23160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23162 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23163 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23165 # The cast to long int works around a bug in the HP C Compiler
23166 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23167 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23168 # This bug is HP SR number 8606223364.
23169 { echo "$as_me:$LINENO: checking size of size_t" >&5
23170 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23171 if test "${ac_cv_sizeof_size_t+set}" = set; then
23172 echo $ECHO_N "(cached) $ECHO_C" >&6
23174 if test "$cross_compiling" = yes; then
23175 # Depending upon the size, compute the lo and hi bounds.
23176 cat >conftest.
$ac_ext <<_ACEOF
23179 cat confdefs.h
>>conftest.
$ac_ext
23180 cat >>conftest.
$ac_ext <<_ACEOF
23181 /* end confdefs.h. */
23182 $ac_includes_default
23183 typedef size_t ac__type_sizeof_;
23187 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23194 rm -f conftest.
$ac_objext
23195 if { (ac_try
="$ac_compile"
23196 case "(($ac_try" in
23197 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23198 *) ac_try_echo=$ac_try;;
23200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23201 (eval "$ac_compile") 2>conftest.er1
23203 grep -v '^ *+' conftest.er1 >conftest.err
23205 cat conftest.err >&5
23206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23207 (exit $ac_status); } && {
23208 test -z "$ac_c_werror_flag" ||
23209 test ! -s conftest.err
23210 } && test -s conftest.$ac_objext; then
23213 cat >conftest.$ac_ext <<_ACEOF
23216 cat confdefs.h >>conftest.$ac_ext
23217 cat >>conftest.$ac_ext <<_ACEOF
23218 /* end confdefs.h. */
23219 $ac_includes_default
23220 typedef size_t ac__type_sizeof_;
23224 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23231 rm -f conftest.$ac_objext
23232 if { (ac_try="$ac_compile"
23233 case "(($ac_try" in
23234 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23235 *) ac_try_echo
=$ac_try;;
23237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23238 (eval "$ac_compile") 2>conftest.er1
23240 grep -v '^ *+' conftest.er1
>conftest.err
23242 cat conftest.err
>&5
23243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23244 (exit $ac_status); } && {
23245 test -z "$ac_c_werror_flag" ||
23246 test ! -s conftest.err
23247 } && test -s conftest.
$ac_objext; then
23248 ac_hi
=$ac_mid; break
23250 echo "$as_me: failed program was:" >&5
23251 sed 's/^/| /' conftest.
$ac_ext >&5
23253 ac_lo
=`expr $ac_mid + 1`
23254 if test $ac_lo -le $ac_mid; then
23258 ac_mid
=`expr 2 '*' $ac_mid + 1`
23261 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23264 echo "$as_me: failed program was:" >&5
23265 sed 's/^/| /' conftest.
$ac_ext >&5
23267 cat >conftest.
$ac_ext <<_ACEOF
23270 cat confdefs.h
>>conftest.
$ac_ext
23271 cat >>conftest.
$ac_ext <<_ACEOF
23272 /* end confdefs.h. */
23273 $ac_includes_default
23274 typedef size_t ac__type_sizeof_;
23278 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23285 rm -f conftest.
$ac_objext
23286 if { (ac_try
="$ac_compile"
23287 case "(($ac_try" in
23288 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23289 *) ac_try_echo=$ac_try;;
23291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23292 (eval "$ac_compile") 2>conftest.er1
23294 grep -v '^ *+' conftest.er1 >conftest.err
23296 cat conftest.err >&5
23297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23298 (exit $ac_status); } && {
23299 test -z "$ac_c_werror_flag" ||
23300 test ! -s conftest.err
23301 } && test -s conftest.$ac_objext; then
23304 cat >conftest.$ac_ext <<_ACEOF
23307 cat confdefs.h >>conftest.$ac_ext
23308 cat >>conftest.$ac_ext <<_ACEOF
23309 /* end confdefs.h. */
23310 $ac_includes_default
23311 typedef size_t ac__type_sizeof_;
23315 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23322 rm -f conftest.$ac_objext
23323 if { (ac_try="$ac_compile"
23324 case "(($ac_try" in
23325 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23326 *) ac_try_echo
=$ac_try;;
23328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23329 (eval "$ac_compile") 2>conftest.er1
23331 grep -v '^ *+' conftest.er1
>conftest.err
23333 cat conftest.err
>&5
23334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23335 (exit $ac_status); } && {
23336 test -z "$ac_c_werror_flag" ||
23337 test ! -s conftest.err
23338 } && test -s conftest.
$ac_objext; then
23339 ac_lo
=$ac_mid; break
23341 echo "$as_me: failed program was:" >&5
23342 sed 's/^/| /' conftest.
$ac_ext >&5
23344 ac_hi
=`expr '(' $ac_mid ')' - 1`
23345 if test $ac_mid -le $ac_hi; then
23349 ac_mid
=`expr 2 '*' $ac_mid`
23352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23355 echo "$as_me: failed program was:" >&5
23356 sed 's/^/| /' conftest.
$ac_ext >&5
23361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23364 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23365 # Binary search between lo and hi bounds.
23366 while test "x$ac_lo" != "x$ac_hi"; do
23367 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23368 cat >conftest.
$ac_ext <<_ACEOF
23371 cat confdefs.h
>>conftest.
$ac_ext
23372 cat >>conftest.
$ac_ext <<_ACEOF
23373 /* end confdefs.h. */
23374 $ac_includes_default
23375 typedef size_t ac__type_sizeof_;
23379 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23386 rm -f conftest.
$ac_objext
23387 if { (ac_try
="$ac_compile"
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_compile") 2>conftest.er1
23395 grep -v '^ *+' conftest.er1 >conftest.err
23397 cat conftest.err >&5
23398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23399 (exit $ac_status); } && {
23400 test -z "$ac_c_werror_flag" ||
23401 test ! -s conftest.err
23402 } && test -s conftest.$ac_objext; then
23405 echo "$as_me: failed program was:" >&5
23406 sed 's/^/| /' conftest.$ac_ext >&5
23408 ac_lo=`expr '(' $ac_mid ')' + 1`
23411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23414 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23415 '') if test "$ac_cv_type_size_t" = yes; then
23416 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23417 See \`config.log
' for more details." >&5
23418 echo "$as_me: error: cannot compute sizeof (size_t)
23419 See \`config.log' for more details.
" >&2;}
23420 { (exit 77); exit 77; }; }
23422 ac_cv_sizeof_size_t=0
23426 cat >conftest.$ac_ext <<_ACEOF
23429 cat confdefs.h >>conftest.$ac_ext
23430 cat >>conftest.$ac_ext <<_ACEOF
23431 /* end confdefs.h. */
23432 $ac_includes_default
23433 typedef size_t ac__type_sizeof_;
23434 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23435 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23437 #include <stdlib.h>
23442 FILE *f = fopen ("conftest.val
", "w
");
23445 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23447 long int i = longval ();
23448 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23450 fprintf (f, "%ld
\n", i);
23454 unsigned long int i = ulongval ();
23455 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23457 fprintf (f, "%lu
\n", i);
23459 return ferror (f) || fclose (f) != 0;
23465 rm -f conftest$ac_exeext
23466 if { (ac_try="$ac_link"
23467 case "(($ac_try" in
23468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23469 *) ac_try_echo=$ac_try;;
23471 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23472 (eval "$ac_link") 2>&5
23474 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23475 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23476 { (case "(($ac_try" in
23477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23478 *) ac_try_echo=$ac_try;;
23480 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23481 (eval "$ac_try") 2>&5
23483 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23484 (exit $ac_status); }; }; then
23485 ac_cv_sizeof_size_t=`cat conftest.val`
23487 echo "$as_me: program exited with status
$ac_status" >&5
23488 echo "$as_me: failed program was
:" >&5
23489 sed 's/^/| /' conftest.$ac_ext >&5
23491 ( exit $ac_status )
23492 if test "$ac_cv_type_size_t" = yes; then
23493 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
23494 See \
`config.log' for more details." >&5
23495 echo "$as_me: error: cannot compute sizeof (size_t)
23496 See \`config.log
' for more details." >&2;}
23497 { (exit 77); exit 77; }; }
23499 ac_cv_sizeof_size_t=0
23502 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23506 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23507 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23511 cat >>confdefs.h <<_ACEOF
23512 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23519 { echo "$as_me:$LINENO: checking for long long" >&5
23520 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23521 if test "${ac_cv_type_long_long+set}" = set; then
23522 echo $ECHO_N "(cached) $ECHO_C" >&6
23524 cat >conftest.$ac_ext <<_ACEOF
23527 cat confdefs.h >>conftest.$ac_ext
23528 cat >>conftest.$ac_ext <<_ACEOF
23529 /* end confdefs.h. */
23530 $ac_includes_default
23531 typedef long long ac__type_new_;
23535 if ((ac__type_new_ *) 0)
23537 if (sizeof (ac__type_new_))
23543 rm -f conftest.$ac_objext
23544 if { (ac_try="$ac_compile"
23545 case "(($ac_try" in
23546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23547 *) ac_try_echo=$ac_try;;
23549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23550 (eval "$ac_compile") 2>conftest.er1
23552 grep -v '^
*+' conftest.er1 >conftest.err
23554 cat conftest.err >&5
23555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23556 (exit $ac_status); } && {
23557 test -z "$ac_c_werror_flag" ||
23558 test ! -s conftest.err
23559 } && test -s conftest.$ac_objext; then
23560 ac_cv_type_long_long=yes
23562 echo "$as_me: failed program was:" >&5
23563 sed 's
/^
/| /' conftest.$ac_ext >&5
23565 ac_cv_type_long_long=no
23568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23570 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23571 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23573 # The cast to long int works around a bug in the HP C Compiler
23574 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23575 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23576 # This bug is HP SR number 8606223364.
23577 { echo "$as_me:$LINENO: checking size of long long" >&5
23578 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23579 if test "${ac_cv_sizeof_long_long+set}" = set; then
23580 echo $ECHO_N "(cached) $ECHO_C" >&6
23582 if test "$cross_compiling" = yes; then
23583 # Depending upon the size, compute the lo and hi bounds.
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 long long 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 long long 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_hi
=$ac_mid; break
23658 echo "$as_me: failed program was:" >&5
23659 sed 's/^/| /' conftest.
$ac_ext >&5
23661 ac_lo
=`expr $ac_mid + 1`
23662 if test $ac_lo -le $ac_mid; then
23666 ac_mid
=`expr 2 '*' $ac_mid + 1`
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
23675 cat >conftest.
$ac_ext <<_ACEOF
23678 cat confdefs.h
>>conftest.
$ac_ext
23679 cat >>conftest.
$ac_ext <<_ACEOF
23680 /* end confdefs.h. */
23681 $ac_includes_default
23682 typedef long long ac__type_sizeof_;
23686 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23693 rm -f conftest.
$ac_objext
23694 if { (ac_try
="$ac_compile"
23695 case "(($ac_try" in
23696 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23697 *) ac_try_echo=$ac_try;;
23699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23700 (eval "$ac_compile") 2>conftest.er1
23702 grep -v '^ *+' conftest.er1 >conftest.err
23704 cat conftest.err >&5
23705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23706 (exit $ac_status); } && {
23707 test -z "$ac_c_werror_flag" ||
23708 test ! -s conftest.err
23709 } && test -s conftest.$ac_objext; then
23712 cat >conftest.$ac_ext <<_ACEOF
23715 cat confdefs.h >>conftest.$ac_ext
23716 cat >>conftest.$ac_ext <<_ACEOF
23717 /* end confdefs.h. */
23718 $ac_includes_default
23719 typedef long long ac__type_sizeof_;
23723 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23730 rm -f conftest.$ac_objext
23731 if { (ac_try="$ac_compile"
23732 case "(($ac_try" in
23733 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23734 *) ac_try_echo
=$ac_try;;
23736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23737 (eval "$ac_compile") 2>conftest.er1
23739 grep -v '^ *+' conftest.er1
>conftest.err
23741 cat conftest.err
>&5
23742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23743 (exit $ac_status); } && {
23744 test -z "$ac_c_werror_flag" ||
23745 test ! -s conftest.err
23746 } && test -s conftest.
$ac_objext; then
23747 ac_lo
=$ac_mid; break
23749 echo "$as_me: failed program was:" >&5
23750 sed 's/^/| /' conftest.
$ac_ext >&5
23752 ac_hi
=`expr '(' $ac_mid ')' - 1`
23753 if test $ac_mid -le $ac_hi; then
23757 ac_mid
=`expr 2 '*' $ac_mid`
23760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23763 echo "$as_me: failed program was:" >&5
23764 sed 's/^/| /' conftest.
$ac_ext >&5
23769 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23773 # Binary search between lo and hi bounds.
23774 while test "x$ac_lo" != "x$ac_hi"; do
23775 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23776 cat >conftest.
$ac_ext <<_ACEOF
23779 cat confdefs.h
>>conftest.
$ac_ext
23780 cat >>conftest.
$ac_ext <<_ACEOF
23781 /* end confdefs.h. */
23782 $ac_includes_default
23783 typedef long long ac__type_sizeof_;
23787 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23794 rm -f conftest.
$ac_objext
23795 if { (ac_try
="$ac_compile"
23796 case "(($ac_try" in
23797 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23798 *) ac_try_echo=$ac_try;;
23800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23801 (eval "$ac_compile") 2>conftest.er1
23803 grep -v '^ *+' conftest.er1 >conftest.err
23805 cat conftest.err >&5
23806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807 (exit $ac_status); } && {
23808 test -z "$ac_c_werror_flag" ||
23809 test ! -s conftest.err
23810 } && test -s conftest.$ac_objext; then
23813 echo "$as_me: failed program was:" >&5
23814 sed 's/^/| /' conftest.$ac_ext >&5
23816 ac_lo=`expr '(' $ac_mid ')' + 1`
23819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23822 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23823 '') if test "$ac_cv_type_long_long" = yes; then
23824 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23825 See \`config.log
' for more details." >&5
23826 echo "$as_me: error: cannot compute sizeof (long long)
23827 See \`config.log' for more details.
" >&2;}
23828 { (exit 77); exit 77; }; }
23830 ac_cv_sizeof_long_long=0
23834 cat >conftest.$ac_ext <<_ACEOF
23837 cat confdefs.h >>conftest.$ac_ext
23838 cat >>conftest.$ac_ext <<_ACEOF
23839 /* end confdefs.h. */
23840 $ac_includes_default
23841 typedef long long ac__type_sizeof_;
23842 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23843 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23845 #include <stdlib.h>
23850 FILE *f = fopen ("conftest.val
", "w
");
23853 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23855 long int i = longval ();
23856 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23858 fprintf (f, "%ld
\n", i);
23862 unsigned long int i = ulongval ();
23863 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23865 fprintf (f, "%lu
\n", i);
23867 return ferror (f) || fclose (f) != 0;
23873 rm -f conftest$ac_exeext
23874 if { (ac_try="$ac_link"
23875 case "(($ac_try" in
23876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23877 *) ac_try_echo=$ac_try;;
23879 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23880 (eval "$ac_link") 2>&5
23882 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23883 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23884 { (case "(($ac_try" in
23885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23886 *) ac_try_echo=$ac_try;;
23888 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23889 (eval "$ac_try") 2>&5
23891 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23892 (exit $ac_status); }; }; then
23893 ac_cv_sizeof_long_long=`cat conftest.val`
23895 echo "$as_me: program exited with status
$ac_status" >&5
23896 echo "$as_me: failed program was
:" >&5
23897 sed 's/^/| /' conftest.$ac_ext >&5
23899 ( exit $ac_status )
23900 if test "$ac_cv_type_long_long" = yes; then
23901 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23902 See \
`config.log' for more details." >&5
23903 echo "$as_me: error: cannot compute sizeof (long long)
23904 See \`config.log
' for more details." >&2;}
23905 { (exit 77); exit 77; }; }
23907 ac_cv_sizeof_long_long=0
23910 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23914 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23915 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23919 cat >>confdefs.h <<_ACEOF
23920 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23926 { echo "$as_me:$LINENO: checking for long long" >&5
23927 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23928 if test "${ac_cv_type_long_long+set}" = set; then
23929 echo $ECHO_N "(cached) $ECHO_C" >&6
23931 cat >conftest.$ac_ext <<_ACEOF
23934 cat confdefs.h >>conftest.$ac_ext
23935 cat >>conftest.$ac_ext <<_ACEOF
23936 /* end confdefs.h. */
23937 $ac_includes_default
23938 typedef long long ac__type_new_;
23942 if ((ac__type_new_ *) 0)
23944 if (sizeof (ac__type_new_))
23950 rm -f conftest.$ac_objext
23951 if { (ac_try="$ac_compile"
23952 case "(($ac_try" in
23953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23954 *) ac_try_echo=$ac_try;;
23956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23957 (eval "$ac_compile") 2>conftest.er1
23959 grep -v '^
*+' conftest.er1 >conftest.err
23961 cat conftest.err >&5
23962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23963 (exit $ac_status); } && {
23964 test -z "$ac_c_werror_flag" ||
23965 test ! -s conftest.err
23966 } && test -s conftest.$ac_objext; then
23967 ac_cv_type_long_long=yes
23969 echo "$as_me: failed program was:" >&5
23970 sed 's
/^
/| /' conftest.$ac_ext >&5
23972 ac_cv_type_long_long=no
23975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23977 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23978 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23980 # The cast to long int works around a bug in the HP C Compiler
23981 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23982 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23983 # This bug is HP SR number 8606223364.
23984 { echo "$as_me:$LINENO: checking size of long long" >&5
23985 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23986 if test "${ac_cv_sizeof_long_long+set}" = set; then
23987 echo $ECHO_N "(cached) $ECHO_C" >&6
23989 if test "$cross_compiling" = yes; then
23990 # Depending upon the size, compute the lo and hi bounds.
23991 cat >conftest.
$ac_ext <<_ACEOF
23994 cat confdefs.h
>>conftest.
$ac_ext
23995 cat >>conftest.
$ac_ext <<_ACEOF
23996 /* end confdefs.h. */
23997 $ac_includes_default
23998 typedef long long ac__type_sizeof_;
24002 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24009 rm -f conftest.
$ac_objext
24010 if { (ac_try
="$ac_compile"
24011 case "(($ac_try" in
24012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24013 *) ac_try_echo=$ac_try;;
24015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24016 (eval "$ac_compile") 2>conftest.er1
24018 grep -v '^ *+' conftest.er1 >conftest.err
24020 cat conftest.err >&5
24021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24022 (exit $ac_status); } && {
24023 test -z "$ac_c_werror_flag" ||
24024 test ! -s conftest.err
24025 } && test -s conftest.$ac_objext; then
24028 cat >conftest.$ac_ext <<_ACEOF
24031 cat confdefs.h >>conftest.$ac_ext
24032 cat >>conftest.$ac_ext <<_ACEOF
24033 /* end confdefs.h. */
24034 $ac_includes_default
24035 typedef long long ac__type_sizeof_;
24039 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24046 rm -f conftest.$ac_objext
24047 if { (ac_try="$ac_compile"
24048 case "(($ac_try" in
24049 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24050 *) ac_try_echo
=$ac_try;;
24052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24053 (eval "$ac_compile") 2>conftest.er1
24055 grep -v '^ *+' conftest.er1
>conftest.err
24057 cat conftest.err
>&5
24058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24059 (exit $ac_status); } && {
24060 test -z "$ac_c_werror_flag" ||
24061 test ! -s conftest.err
24062 } && test -s conftest.
$ac_objext; then
24063 ac_hi
=$ac_mid; break
24065 echo "$as_me: failed program was:" >&5
24066 sed 's/^/| /' conftest.
$ac_ext >&5
24068 ac_lo
=`expr $ac_mid + 1`
24069 if test $ac_lo -le $ac_mid; then
24073 ac_mid
=`expr 2 '*' $ac_mid + 1`
24076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24079 echo "$as_me: failed program was:" >&5
24080 sed 's/^/| /' conftest.
$ac_ext >&5
24082 cat >conftest.
$ac_ext <<_ACEOF
24085 cat confdefs.h
>>conftest.
$ac_ext
24086 cat >>conftest.
$ac_ext <<_ACEOF
24087 /* end confdefs.h. */
24088 $ac_includes_default
24089 typedef long long ac__type_sizeof_;
24093 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24100 rm -f conftest.
$ac_objext
24101 if { (ac_try
="$ac_compile"
24102 case "(($ac_try" in
24103 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24104 *) ac_try_echo=$ac_try;;
24106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24107 (eval "$ac_compile") 2>conftest.er1
24109 grep -v '^ *+' conftest.er1 >conftest.err
24111 cat conftest.err >&5
24112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24113 (exit $ac_status); } && {
24114 test -z "$ac_c_werror_flag" ||
24115 test ! -s conftest.err
24116 } && test -s conftest.$ac_objext; then
24119 cat >conftest.$ac_ext <<_ACEOF
24122 cat confdefs.h >>conftest.$ac_ext
24123 cat >>conftest.$ac_ext <<_ACEOF
24124 /* end confdefs.h. */
24125 $ac_includes_default
24126 typedef long long ac__type_sizeof_;
24130 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24137 rm -f conftest.$ac_objext
24138 if { (ac_try="$ac_compile"
24139 case "(($ac_try" in
24140 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24141 *) ac_try_echo
=$ac_try;;
24143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24144 (eval "$ac_compile") 2>conftest.er1
24146 grep -v '^ *+' conftest.er1
>conftest.err
24148 cat conftest.err
>&5
24149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24150 (exit $ac_status); } && {
24151 test -z "$ac_c_werror_flag" ||
24152 test ! -s conftest.err
24153 } && test -s conftest.
$ac_objext; then
24154 ac_lo
=$ac_mid; break
24156 echo "$as_me: failed program was:" >&5
24157 sed 's/^/| /' conftest.
$ac_ext >&5
24159 ac_hi
=`expr '(' $ac_mid ')' - 1`
24160 if test $ac_mid -le $ac_hi; then
24164 ac_mid
=`expr 2 '*' $ac_mid`
24167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24170 echo "$as_me: failed program was:" >&5
24171 sed 's/^/| /' conftest.
$ac_ext >&5
24176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24180 # Binary search between lo and hi bounds.
24181 while test "x$ac_lo" != "x$ac_hi"; do
24182 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24183 cat >conftest.
$ac_ext <<_ACEOF
24186 cat confdefs.h
>>conftest.
$ac_ext
24187 cat >>conftest.
$ac_ext <<_ACEOF
24188 /* end confdefs.h. */
24189 $ac_includes_default
24190 typedef long long ac__type_sizeof_;
24194 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24201 rm -f conftest.
$ac_objext
24202 if { (ac_try
="$ac_compile"
24203 case "(($ac_try" in
24204 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24205 *) ac_try_echo=$ac_try;;
24207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24208 (eval "$ac_compile") 2>conftest.er1
24210 grep -v '^ *+' conftest.er1 >conftest.err
24212 cat conftest.err >&5
24213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24214 (exit $ac_status); } && {
24215 test -z "$ac_c_werror_flag" ||
24216 test ! -s conftest.err
24217 } && test -s conftest.$ac_objext; then
24220 echo "$as_me: failed program was:" >&5
24221 sed 's/^/| /' conftest.$ac_ext >&5
24223 ac_lo=`expr '(' $ac_mid ')' + 1`
24226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24229 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24230 '') if test "$ac_cv_type_long_long" = yes; then
24231 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24232 See \`config.log
' for more details." >&5
24233 echo "$as_me: error: cannot compute sizeof (long long)
24234 See \`config.log' for more details.
" >&2;}
24235 { (exit 77); exit 77; }; }
24237 ac_cv_sizeof_long_long=0
24241 cat >conftest.$ac_ext <<_ACEOF
24244 cat confdefs.h >>conftest.$ac_ext
24245 cat >>conftest.$ac_ext <<_ACEOF
24246 /* end confdefs.h. */
24247 $ac_includes_default
24248 typedef long long ac__type_sizeof_;
24249 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24250 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24252 #include <stdlib.h>
24257 FILE *f = fopen ("conftest.val
", "w
");
24260 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24262 long int i = longval ();
24263 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24265 fprintf (f, "%ld
\n", i);
24269 unsigned long int i = ulongval ();
24270 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24272 fprintf (f, "%lu
\n", i);
24274 return ferror (f) || fclose (f) != 0;
24280 rm -f conftest$ac_exeext
24281 if { (ac_try="$ac_link"
24282 case "(($ac_try" in
24283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24284 *) ac_try_echo=$ac_try;;
24286 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24287 (eval "$ac_link") 2>&5
24289 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24290 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24291 { (case "(($ac_try" in
24292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24293 *) ac_try_echo=$ac_try;;
24295 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24296 (eval "$ac_try") 2>&5
24298 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24299 (exit $ac_status); }; }; then
24300 ac_cv_sizeof_long_long=`cat conftest.val`
24302 echo "$as_me: program exited with status
$ac_status" >&5
24303 echo "$as_me: failed program was
:" >&5
24304 sed 's/^/| /' conftest.$ac_ext >&5
24306 ( exit $ac_status )
24307 if test "$ac_cv_type_long_long" = yes; then
24308 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24309 See \
`config.log' for more details." >&5
24310 echo "$as_me: error: cannot compute sizeof (long long)
24311 See \`config.log
' for more details." >&2;}
24312 { (exit 77); exit 77; }; }
24314 ac_cv_sizeof_long_long=0
24317 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24321 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24322 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24326 cat >>confdefs.h <<_ACEOF
24327 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24331 if test "$ac_cv_sizeof_long_long" != "0"; then
24332 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24336 { echo "$as_me:$LINENO: checking for long long" >&5
24337 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24338 if test "${ac_cv_type_long_long+set}" = set; then
24339 echo $ECHO_N "(cached) $ECHO_C" >&6
24341 cat >conftest.$ac_ext <<_ACEOF
24344 cat confdefs.h >>conftest.$ac_ext
24345 cat >>conftest.$ac_ext <<_ACEOF
24346 /* end confdefs.h. */
24347 $ac_includes_default
24348 typedef long long ac__type_new_;
24352 if ((ac__type_new_ *) 0)
24354 if (sizeof (ac__type_new_))
24360 rm -f conftest.$ac_objext
24361 if { (ac_try="$ac_compile"
24362 case "(($ac_try" in
24363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24364 *) ac_try_echo=$ac_try;;
24366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24367 (eval "$ac_compile") 2>conftest.er1
24369 grep -v '^
*+' conftest.er1 >conftest.err
24371 cat conftest.err >&5
24372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24373 (exit $ac_status); } && {
24374 test -z "$ac_c_werror_flag" ||
24375 test ! -s conftest.err
24376 } && test -s conftest.$ac_objext; then
24377 ac_cv_type_long_long=yes
24379 echo "$as_me: failed program was:" >&5
24380 sed 's
/^
/| /' conftest.$ac_ext >&5
24382 ac_cv_type_long_long=no
24385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24387 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24388 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24390 # The cast to long int works around a bug in the HP C Compiler
24391 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24392 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24393 # This bug is HP SR number 8606223364.
24394 { echo "$as_me:$LINENO: checking size of long long" >&5
24395 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24396 if test "${ac_cv_sizeof_long_long+set}" = set; then
24397 echo $ECHO_N "(cached) $ECHO_C" >&6
24399 if test "$cross_compiling" = yes; then
24400 # Depending upon the size, compute the lo and hi bounds.
24401 cat >conftest.
$ac_ext <<_ACEOF
24404 cat confdefs.h
>>conftest.
$ac_ext
24405 cat >>conftest.
$ac_ext <<_ACEOF
24406 /* end confdefs.h. */
24407 $ac_includes_default
24408 typedef long long ac__type_sizeof_;
24412 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24419 rm -f conftest.
$ac_objext
24420 if { (ac_try
="$ac_compile"
24421 case "(($ac_try" in
24422 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24423 *) ac_try_echo=$ac_try;;
24425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24426 (eval "$ac_compile") 2>conftest.er1
24428 grep -v '^ *+' conftest.er1 >conftest.err
24430 cat conftest.err >&5
24431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24432 (exit $ac_status); } && {
24433 test -z "$ac_c_werror_flag" ||
24434 test ! -s conftest.err
24435 } && test -s conftest.$ac_objext; then
24438 cat >conftest.$ac_ext <<_ACEOF
24441 cat confdefs.h >>conftest.$ac_ext
24442 cat >>conftest.$ac_ext <<_ACEOF
24443 /* end confdefs.h. */
24444 $ac_includes_default
24445 typedef long long ac__type_sizeof_;
24449 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24456 rm -f conftest.$ac_objext
24457 if { (ac_try="$ac_compile"
24458 case "(($ac_try" in
24459 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24460 *) ac_try_echo
=$ac_try;;
24462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24463 (eval "$ac_compile") 2>conftest.er1
24465 grep -v '^ *+' conftest.er1
>conftest.err
24467 cat conftest.err
>&5
24468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24469 (exit $ac_status); } && {
24470 test -z "$ac_c_werror_flag" ||
24471 test ! -s conftest.err
24472 } && test -s conftest.
$ac_objext; then
24473 ac_hi
=$ac_mid; break
24475 echo "$as_me: failed program was:" >&5
24476 sed 's/^/| /' conftest.
$ac_ext >&5
24478 ac_lo
=`expr $ac_mid + 1`
24479 if test $ac_lo -le $ac_mid; then
24483 ac_mid
=`expr 2 '*' $ac_mid + 1`
24486 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24489 echo "$as_me: failed program was:" >&5
24490 sed 's/^/| /' conftest.
$ac_ext >&5
24492 cat >conftest.
$ac_ext <<_ACEOF
24495 cat confdefs.h
>>conftest.
$ac_ext
24496 cat >>conftest.
$ac_ext <<_ACEOF
24497 /* end confdefs.h. */
24498 $ac_includes_default
24499 typedef long long ac__type_sizeof_;
24503 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24510 rm -f conftest.
$ac_objext
24511 if { (ac_try
="$ac_compile"
24512 case "(($ac_try" in
24513 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24514 *) ac_try_echo=$ac_try;;
24516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24517 (eval "$ac_compile") 2>conftest.er1
24519 grep -v '^ *+' conftest.er1 >conftest.err
24521 cat conftest.err >&5
24522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24523 (exit $ac_status); } && {
24524 test -z "$ac_c_werror_flag" ||
24525 test ! -s conftest.err
24526 } && test -s conftest.$ac_objext; then
24529 cat >conftest.$ac_ext <<_ACEOF
24532 cat confdefs.h >>conftest.$ac_ext
24533 cat >>conftest.$ac_ext <<_ACEOF
24534 /* end confdefs.h. */
24535 $ac_includes_default
24536 typedef long long ac__type_sizeof_;
24540 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24547 rm -f conftest.$ac_objext
24548 if { (ac_try="$ac_compile"
24549 case "(($ac_try" in
24550 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24551 *) ac_try_echo
=$ac_try;;
24553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24554 (eval "$ac_compile") 2>conftest.er1
24556 grep -v '^ *+' conftest.er1
>conftest.err
24558 cat conftest.err
>&5
24559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24560 (exit $ac_status); } && {
24561 test -z "$ac_c_werror_flag" ||
24562 test ! -s conftest.err
24563 } && test -s conftest.
$ac_objext; then
24564 ac_lo
=$ac_mid; break
24566 echo "$as_me: failed program was:" >&5
24567 sed 's/^/| /' conftest.
$ac_ext >&5
24569 ac_hi
=`expr '(' $ac_mid ')' - 1`
24570 if test $ac_mid -le $ac_hi; then
24574 ac_mid
=`expr 2 '*' $ac_mid`
24577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24580 echo "$as_me: failed program was:" >&5
24581 sed 's/^/| /' conftest.
$ac_ext >&5
24586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24590 # Binary search between lo and hi bounds.
24591 while test "x$ac_lo" != "x$ac_hi"; do
24592 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24593 cat >conftest.
$ac_ext <<_ACEOF
24596 cat confdefs.h
>>conftest.
$ac_ext
24597 cat >>conftest.
$ac_ext <<_ACEOF
24598 /* end confdefs.h. */
24599 $ac_includes_default
24600 typedef long long ac__type_sizeof_;
24604 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24611 rm -f conftest.
$ac_objext
24612 if { (ac_try
="$ac_compile"
24613 case "(($ac_try" in
24614 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24615 *) ac_try_echo=$ac_try;;
24617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24618 (eval "$ac_compile") 2>conftest.er1
24620 grep -v '^ *+' conftest.er1 >conftest.err
24622 cat conftest.err >&5
24623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624 (exit $ac_status); } && {
24625 test -z "$ac_c_werror_flag" ||
24626 test ! -s conftest.err
24627 } && test -s conftest.$ac_objext; then
24630 echo "$as_me: failed program was:" >&5
24631 sed 's/^/| /' conftest.$ac_ext >&5
24633 ac_lo=`expr '(' $ac_mid ')' + 1`
24636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24639 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24640 '') if test "$ac_cv_type_long_long" = yes; then
24641 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24642 See \`config.log
' for more details." >&5
24643 echo "$as_me: error: cannot compute sizeof (long long)
24644 See \`config.log' for more details.
" >&2;}
24645 { (exit 77); exit 77; }; }
24647 ac_cv_sizeof_long_long=0
24651 cat >conftest.$ac_ext <<_ACEOF
24654 cat confdefs.h >>conftest.$ac_ext
24655 cat >>conftest.$ac_ext <<_ACEOF
24656 /* end confdefs.h. */
24657 $ac_includes_default
24658 typedef long long ac__type_sizeof_;
24659 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24660 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24662 #include <stdlib.h>
24667 FILE *f = fopen ("conftest.val
", "w
");
24670 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24672 long int i = longval ();
24673 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24675 fprintf (f, "%ld
\n", i);
24679 unsigned long int i = ulongval ();
24680 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24682 fprintf (f, "%lu
\n", i);
24684 return ferror (f) || fclose (f) != 0;
24690 rm -f conftest$ac_exeext
24691 if { (ac_try="$ac_link"
24692 case "(($ac_try" in
24693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24694 *) ac_try_echo=$ac_try;;
24696 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24697 (eval "$ac_link") 2>&5
24699 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24700 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24701 { (case "(($ac_try" in
24702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24703 *) ac_try_echo=$ac_try;;
24705 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24706 (eval "$ac_try") 2>&5
24708 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24709 (exit $ac_status); }; }; then
24710 ac_cv_sizeof_long_long=`cat conftest.val`
24712 echo "$as_me: program exited with status
$ac_status" >&5
24713 echo "$as_me: failed program was
:" >&5
24714 sed 's/^/| /' conftest.$ac_ext >&5
24716 ( exit $ac_status )
24717 if test "$ac_cv_type_long_long" = yes; then
24718 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24719 See \
`config.log' for more details." >&5
24720 echo "$as_me: error: cannot compute sizeof (long long)
24721 See \`config.log
' for more details." >&2;}
24722 { (exit 77); exit 77; }; }
24724 ac_cv_sizeof_long_long=0
24727 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24731 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24732 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24736 cat >>confdefs.h <<_ACEOF
24737 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24743 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24744 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24745 if test "${ac_cv_type_wchar_t+set}" = set; then
24746 echo $ECHO_N "(cached) $ECHO_C" >&6
24748 cat >conftest.$ac_ext <<_ACEOF
24751 cat confdefs.h >>conftest.$ac_ext
24752 cat >>conftest.$ac_ext <<_ACEOF
24753 /* end confdefs.h. */
24755 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
24756 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24757 # error "fake wchar_t"
24759 #ifdef HAVE_WCHAR_H
24761 # include <stddef.h>
24763 # include <wchar.h>
24765 #ifdef HAVE_STDLIB_H
24766 # include <stdlib.h>
24772 typedef wchar_t ac__type_new_
;
24776 if ((ac__type_new_
*) 0)
24778 if (sizeof
(ac__type_new_
))
24784 rm -f conftest.
$ac_objext
24785 if { (ac_try
="$ac_compile"
24786 case "(($ac_try" in
24787 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24788 *) ac_try_echo=$ac_try;;
24790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24791 (eval "$ac_compile") 2>conftest.er1
24793 grep -v '^ *+' conftest.er1 >conftest.err
24795 cat conftest.err >&5
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); } && {
24798 test -z "$ac_c_werror_flag" ||
24799 test ! -s conftest.err
24800 } && test -s conftest.$ac_objext; then
24801 ac_cv_type_wchar_t=yes
24803 echo "$as_me: failed program was:" >&5
24804 sed 's/^/| /' conftest.$ac_ext >&5
24806 ac_cv_type_wchar_t=no
24809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24811 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24812 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24814 # The cast to long int works around a bug in the HP C Compiler
24815 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24816 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
24817 # This bug is HP SR number 8606223364.
24818 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24819 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24820 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24821 echo $ECHO_N "(cached) $ECHO_C" >&6
24823 if test "$cross_compiling" = yes; then
24824 # Depending upon the size, compute the lo and hi bounds.
24825 cat >conftest.$ac_ext <<_ACEOF
24828 cat confdefs.h >>conftest.$ac_ext
24829 cat >>conftest.$ac_ext <<_ACEOF
24830 /* end confdefs.h. */
24832 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
24833 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24834 # error "fake wchar_t"
24836 #ifdef HAVE_WCHAR_H
24838 # include <stddef.h>
24840 # include <wchar.h>
24842 #ifdef HAVE_STDLIB_H
24843 # include <stdlib.h>
24849 typedef wchar_t ac__type_sizeof_
;
24853 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
24860 rm -f conftest.
$ac_objext
24861 if { (ac_try
="$ac_compile"
24862 case "(($ac_try" in
24863 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24864 *) ac_try_echo=$ac_try;;
24866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24867 (eval "$ac_compile") 2>conftest.er1
24869 grep -v '^ *+' conftest.er1 >conftest.err
24871 cat conftest.err >&5
24872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24873 (exit $ac_status); } && {
24874 test -z "$ac_c_werror_flag" ||
24875 test ! -s conftest.err
24876 } && test -s conftest.$ac_objext; then
24879 cat >conftest.$ac_ext <<_ACEOF
24882 cat confdefs.h >>conftest.$ac_ext
24883 cat >>conftest.$ac_ext <<_ACEOF
24884 /* end confdefs.h. */
24886 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24887 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24888 # error "fake wchar_t"
24890 #ifdef HAVE_WCHAR_H
24892 # include <stddef.h>
24894 # include <wchar.h>
24896 #ifdef HAVE_STDLIB_H
24897 # include <stdlib.h>
24903 typedef wchar_t ac__type_sizeof_;
24907 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24914 rm -f conftest.$ac_objext
24915 if { (ac_try="$ac_compile"
24916 case "(($ac_try" in
24917 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24918 *) ac_try_echo
=$ac_try;;
24920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24921 (eval "$ac_compile") 2>conftest.er1
24923 grep -v '^ *+' conftest.er1
>conftest.err
24925 cat conftest.err
>&5
24926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24927 (exit $ac_status); } && {
24928 test -z "$ac_c_werror_flag" ||
24929 test ! -s conftest.err
24930 } && test -s conftest.
$ac_objext; then
24931 ac_hi
=$ac_mid; break
24933 echo "$as_me: failed program was:" >&5
24934 sed 's/^/| /' conftest.
$ac_ext >&5
24936 ac_lo
=`expr $ac_mid + 1`
24937 if test $ac_lo -le $ac_mid; then
24941 ac_mid
=`expr 2 '*' $ac_mid + 1`
24944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24947 echo "$as_me: failed program was:" >&5
24948 sed 's/^/| /' conftest.
$ac_ext >&5
24950 cat >conftest.
$ac_ext <<_ACEOF
24953 cat confdefs.h
>>conftest.
$ac_ext
24954 cat >>conftest.
$ac_ext <<_ACEOF
24955 /* end confdefs.h. */
24957 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24958 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24959 # error "fake wchar_t"
24961 #ifdef HAVE_WCHAR_H
24963 # include <stddef.h>
24965 # include <wchar.h>
24967 #ifdef HAVE_STDLIB_H
24968 # include <stdlib.h>
24974 typedef wchar_t ac__type_sizeof_;
24978 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24985 rm -f conftest.
$ac_objext
24986 if { (ac_try
="$ac_compile"
24987 case "(($ac_try" in
24988 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24989 *) ac_try_echo=$ac_try;;
24991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24992 (eval "$ac_compile") 2>conftest.er1
24994 grep -v '^ *+' conftest.er1 >conftest.err
24996 cat conftest.err >&5
24997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24998 (exit $ac_status); } && {
24999 test -z "$ac_c_werror_flag" ||
25000 test ! -s conftest.err
25001 } && test -s conftest.$ac_objext; then
25004 cat >conftest.$ac_ext <<_ACEOF
25007 cat confdefs.h >>conftest.$ac_ext
25008 cat >>conftest.$ac_ext <<_ACEOF
25009 /* end confdefs.h. */
25011 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25012 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25013 # error "fake wchar_t"
25015 #ifdef HAVE_WCHAR_H
25017 # include <stddef.h>
25019 # include <wchar.h>
25021 #ifdef HAVE_STDLIB_H
25022 # include <stdlib.h>
25028 typedef wchar_t ac__type_sizeof_;
25032 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25039 rm -f conftest.$ac_objext
25040 if { (ac_try="$ac_compile"
25041 case "(($ac_try" in
25042 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25043 *) ac_try_echo
=$ac_try;;
25045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25046 (eval "$ac_compile") 2>conftest.er1
25048 grep -v '^ *+' conftest.er1
>conftest.err
25050 cat conftest.err
>&5
25051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25052 (exit $ac_status); } && {
25053 test -z "$ac_c_werror_flag" ||
25054 test ! -s conftest.err
25055 } && test -s conftest.
$ac_objext; then
25056 ac_lo
=$ac_mid; break
25058 echo "$as_me: failed program was:" >&5
25059 sed 's/^/| /' conftest.
$ac_ext >&5
25061 ac_hi
=`expr '(' $ac_mid ')' - 1`
25062 if test $ac_mid -le $ac_hi; then
25066 ac_mid
=`expr 2 '*' $ac_mid`
25069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25072 echo "$as_me: failed program was:" >&5
25073 sed 's/^/| /' conftest.
$ac_ext >&5
25078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25082 # Binary search between lo and hi bounds.
25083 while test "x$ac_lo" != "x$ac_hi"; do
25084 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25085 cat >conftest.
$ac_ext <<_ACEOF
25088 cat confdefs.h
>>conftest.
$ac_ext
25089 cat >>conftest.
$ac_ext <<_ACEOF
25090 /* end confdefs.h. */
25092 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25093 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25094 # error "fake wchar_t"
25096 #ifdef HAVE_WCHAR_H
25098 # include <stddef.h>
25100 # include <wchar.h>
25102 #ifdef HAVE_STDLIB_H
25103 # include <stdlib.h>
25109 typedef wchar_t ac__type_sizeof_;
25113 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25120 rm -f conftest.
$ac_objext
25121 if { (ac_try
="$ac_compile"
25122 case "(($ac_try" in
25123 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25124 *) ac_try_echo=$ac_try;;
25126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25127 (eval "$ac_compile") 2>conftest.er1
25129 grep -v '^ *+' conftest.er1 >conftest.err
25131 cat conftest.err >&5
25132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25133 (exit $ac_status); } && {
25134 test -z "$ac_c_werror_flag" ||
25135 test ! -s conftest.err
25136 } && test -s conftest.$ac_objext; then
25139 echo "$as_me: failed program was:" >&5
25140 sed 's/^/| /' conftest.$ac_ext >&5
25142 ac_lo=`expr '(' $ac_mid ')' + 1`
25145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25148 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25149 '') if test "$ac_cv_type_wchar_t" = yes; then
25150 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25151 See \`config.log
' for more details." >&5
25152 echo "$as_me: error: cannot compute sizeof (wchar_t)
25153 See \`config.log' for more details.
" >&2;}
25154 { (exit 77); exit 77; }; }
25156 ac_cv_sizeof_wchar_t=0
25160 cat >conftest.$ac_ext <<_ACEOF
25163 cat confdefs.h >>conftest.$ac_ext
25164 cat >>conftest.$ac_ext <<_ACEOF
25165 /* end confdefs.h. */
25167 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25168 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25169 # error "fake wchar_t
"
25171 #ifdef HAVE_WCHAR_H
25173 # include <stddef.h>
25175 # include <wchar.h>
25177 #ifdef HAVE_STDLIB_H
25178 # include <stdlib.h>
25184 typedef wchar_t ac__type_sizeof_;
25185 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25186 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25188 #include <stdlib.h>
25193 FILE *f = fopen ("conftest.val
", "w
");
25196 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25198 long int i = longval ();
25199 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25201 fprintf (f, "%ld
\n", i);
25205 unsigned long int i = ulongval ();
25206 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25208 fprintf (f, "%lu
\n", i);
25210 return ferror (f) || fclose (f) != 0;
25216 rm -f conftest$ac_exeext
25217 if { (ac_try="$ac_link"
25218 case "(($ac_try" in
25219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25220 *) ac_try_echo=$ac_try;;
25222 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25223 (eval "$ac_link") 2>&5
25225 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25226 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25227 { (case "(($ac_try" in
25228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25229 *) ac_try_echo=$ac_try;;
25231 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25232 (eval "$ac_try") 2>&5
25234 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25235 (exit $ac_status); }; }; then
25236 ac_cv_sizeof_wchar_t=`cat conftest.val`
25238 echo "$as_me: program exited with status
$ac_status" >&5
25239 echo "$as_me: failed program was
:" >&5
25240 sed 's/^/| /' conftest.$ac_ext >&5
25242 ( exit $ac_status )
25243 if test "$ac_cv_type_wchar_t" = yes; then
25244 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
25245 See \
`config.log' for more details." >&5
25246 echo "$as_me: error: cannot compute sizeof (wchar_t)
25247 See \`config.log
' for more details." >&2;}
25248 { (exit 77); exit 77; }; }
25250 ac_cv_sizeof_wchar_t=0
25253 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25257 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25258 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25262 cat >>confdefs.h <<_ACEOF
25263 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25267 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25273 { echo "$as_me:$LINENO: checking for va_copy" >&5
25274 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25275 if test "${wx_cv_func_va_copy+set}" = set; then
25276 echo $ECHO_N "(cached) $ECHO_C" >&6
25280 ac_cpp='$CXXCPP $CPPFLAGS'
25281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25282 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25285 cat >conftest.$ac_ext <<_ACEOF
25287 #include <stdarg.h>
25288 void foo(char *f, ...)
25302 rm -f conftest.$ac_objext conftest$ac_exeext
25303 if { (ac_try="$ac_link"
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_link") 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_cxx_werror_flag" ||
25317 test ! -s conftest.err
25318 } && test -s conftest$ac_exeext &&
25319 $as_test_x conftest$ac_exeext; then
25320 wx_cv_func_va_copy=yes
25322 echo "$as_me: failed program was:" >&5
25323 sed 's
/^
/| /' conftest.$ac_ext >&5
25325 wx_cv_func_va_copy=no
25329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25330 conftest$ac_exeext conftest.$ac_ext
25332 ac_cpp='$CPP $CPPFLAGS'
25333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25334 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25340 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25341 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25343 if test $wx_cv_func_va_copy = "yes"; then
25344 cat >>confdefs.h <<\_ACEOF
25345 #define HAVE_VA_COPY 1
25349 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25350 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25351 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25352 echo $ECHO_N "(cached) $ECHO_C" >&6
25355 if test "$cross_compiling" = yes; then
25356 wx_cv_type_va_list_lvalue=yes
25359 cat >conftest.$ac_ext <<_ACEOF
25361 #include <stdarg.h>
25362 int foo(char *f, ...)
25367 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25375 return foo("hi", 17);
25378 rm -f conftest$ac_exeext
25379 if { (ac_try="$ac_link"
25380 case "(($ac_try" in
25381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25382 *) ac_try_echo=$ac_try;;
25384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25385 (eval "$ac_link") 2>&5
25387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25388 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25389 { (case "(($ac_try" in
25390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25391 *) ac_try_echo=$ac_try;;
25393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25394 (eval "$ac_try") 2>&5
25396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25397 (exit $ac_status); }; }; then
25398 wx_cv_type_va_list_lvalue=yes
25400 echo "$as_me: program exited with status $ac_status" >&5
25401 echo "$as_me: failed program was:" >&5
25402 sed 's
/^
/| /' conftest.$ac_ext >&5
25404 ( exit $ac_status )
25405 wx_cv_type_va_list_lvalue=no
25407 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25414 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25415 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25417 if test $wx_cv_type_va_list_lvalue != "yes"; then
25418 cat >>confdefs.h <<\_ACEOF
25419 #define VA_LIST_IS_ARRAY 1
25425 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25427 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25428 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25429 if test "${wx_cv_have_variadic_macros+set}" = set; then
25430 echo $ECHO_N "(cached) $ECHO_C" >&6
25434 ac_cpp='$CXXCPP $CPPFLAGS'
25435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25436 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25439 cat >conftest.$ac_ext <<_ACEOF
25442 cat confdefs.h >>conftest.$ac_ext
25443 cat >>conftest.$ac_ext <<_ACEOF
25444 /* end confdefs.h. */
25447 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25453 test("%s %d %p", "test", 1, 0);
25460 rm -f conftest.$ac_objext
25461 if { (ac_try="$ac_compile"
25462 case "(($ac_try" in
25463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25464 *) ac_try_echo=$ac_try;;
25466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25467 (eval "$ac_compile") 2>conftest.er1
25469 grep -v '^
*+' conftest.er1 >conftest.err
25471 cat conftest.err >&5
25472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25473 (exit $ac_status); } && {
25474 test -z "$ac_cxx_werror_flag" ||
25475 test ! -s conftest.err
25476 } && test -s conftest.$ac_objext; then
25477 wx_cv_have_variadic_macros=yes
25479 echo "$as_me: failed program was:" >&5
25480 sed 's
/^
/| /' conftest.$ac_ext >&5
25482 wx_cv_have_variadic_macros=no
25486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25488 ac_cpp='$CPP $CPPFLAGS'
25489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25490 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25496 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25497 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25499 if test $wx_cv_have_variadic_macros = "yes"; then
25500 cat >>confdefs.h <<\_ACEOF
25501 #define HAVE_VARIADIC_MACROS 1
25507 # Check whether --enable-largefile was given.
25508 if test "${enable_largefile+set}" = set; then
25509 enableval=$enable_largefile;
25512 if test "$enable_largefile" != no; then
25515 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25516 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25517 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25518 echo $ECHO_N "(cached) $ECHO_C" >&6
25521 cat >conftest.$ac_ext <<_ACEOF
25524 cat confdefs.h >>conftest.$ac_ext
25525 cat >>conftest.$ac_ext <<_ACEOF
25526 /* end confdefs.h. */
25527 #define _FILE_OFFSET_BITS 64
25528 #include <sys/types.h>
25533 unsigned int field: sizeof(off_t) == 8;
25540 rm -f conftest.$ac_objext
25541 if { (ac_try="$ac_compile"
25542 case "(($ac_try" in
25543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25544 *) ac_try_echo=$ac_try;;
25546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25547 (eval "$ac_compile") 2>conftest.er1
25549 grep -v '^
*+' conftest.er1 >conftest.err
25551 cat conftest.err >&5
25552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25553 (exit $ac_status); } && {
25554 test -z "$ac_c_werror_flag" ||
25555 test ! -s conftest.err
25556 } && test -s conftest.$ac_objext; then
25557 ac_cv_sys_file_offset_bits=64
25559 echo "$as_me: failed program was:" >&5
25560 sed 's
/^
/| /' conftest.$ac_ext >&5
25562 ac_cv_sys_file_offset_bits=no
25565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25569 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25570 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25572 if test "$ac_cv_sys_file_offset_bits" != no; then
25574 cat >>confdefs.h <<_ACEOF
25575 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25580 if test "x$wx_largefile" != "xyes"; then
25582 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25583 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25584 if test "${ac_cv_sys_large_files+set}" = set; then
25585 echo $ECHO_N "(cached) $ECHO_C" >&6
25588 cat >conftest.$ac_ext <<_ACEOF
25591 cat confdefs.h >>conftest.$ac_ext
25592 cat >>conftest.$ac_ext <<_ACEOF
25593 /* end confdefs.h. */
25594 #define _LARGE_FILES 1
25595 #include <sys/types.h>
25600 unsigned int field: sizeof(off_t) == 8;
25607 rm -f conftest.$ac_objext
25608 if { (ac_try="$ac_compile"
25609 case "(($ac_try" in
25610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25611 *) ac_try_echo=$ac_try;;
25613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25614 (eval "$ac_compile") 2>conftest.er1
25616 grep -v '^
*+' conftest.er1 >conftest.err
25618 cat conftest.err >&5
25619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25620 (exit $ac_status); } && {
25621 test -z "$ac_c_werror_flag" ||
25622 test ! -s conftest.err
25623 } && test -s conftest.$ac_objext; then
25624 ac_cv_sys_large_files=1
25626 echo "$as_me: failed program was:" >&5
25627 sed 's
/^
/| /' conftest.$ac_ext >&5
25629 ac_cv_sys_large_files=no
25632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25636 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25637 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25639 if test "$ac_cv_sys_large_files" != no; then
25641 cat >>confdefs.h <<_ACEOF
25642 #define _LARGE_FILES $ac_cv_sys_large_files
25649 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25650 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25651 if test "x$wx_largefile" = "xyes"; then
25652 cat >>confdefs.h <<\_ACEOF
25653 #define HAVE_LARGEFILE_SUPPORT 1
25657 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25658 echo "${ECHO_T}$wx_largefile" >&6; }
25662 if test "x$wx_largefile" = "xyes"; then
25663 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25664 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25666 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25667 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25668 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25669 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25670 echo $ECHO_N "(cached) $ECHO_C" >&6
25674 ac_cpp='$CXXCPP $CPPFLAGS'
25675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25676 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25679 cat >conftest.$ac_ext <<_ACEOF
25682 cat confdefs.h >>conftest.$ac_ext
25683 cat >>conftest.$ac_ext <<_ACEOF
25684 /* end confdefs.h. */
25690 #ifndef __STDC_EXT__
25698 rm -f conftest.$ac_objext
25699 if { (ac_try="$ac_compile"
25700 case "(($ac_try" in
25701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25702 *) ac_try_echo=$ac_try;;
25704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25705 (eval "$ac_compile") 2>conftest.er1
25707 grep -v '^
*+' conftest.er1 >conftest.err
25709 cat conftest.err >&5
25710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25711 (exit $ac_status); } && {
25712 test -z "$ac_cxx_werror_flag" ||
25713 test ! -s conftest.err
25714 } && test -s conftest.$ac_objext; then
25715 wx_cv_STDC_EXT_required=no
25717 echo "$as_me: failed program was:" >&5
25718 sed 's
/^
/| /' conftest.$ac_ext >&5
25720 wx_cv_STDC_EXT_required=yes
25724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25726 ac_cpp='$CPP $CPPFLAGS'
25727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25728 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25734 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25735 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25736 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25737 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25741 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
25743 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25744 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25745 if test "${ac_cv_sys_largefile_source+set}" = set; then
25746 echo $ECHO_N "(cached) $ECHO_C" >&6
25749 cat >conftest.$ac_ext <<_ACEOF
25752 cat confdefs.h >>conftest.$ac_ext
25753 cat >>conftest.$ac_ext <<_ACEOF
25754 /* end confdefs.h. */
25755 #include <sys/types.h> /* for off_t */
25760 int (*fp) (FILE *, off_t, int) = fseeko;
25761 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25766 rm -f conftest.$ac_objext conftest$ac_exeext
25767 if { (ac_try="$ac_link"
25768 case "(($ac_try" in
25769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25770 *) ac_try_echo=$ac_try;;
25772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25773 (eval "$ac_link") 2>conftest.er1
25775 grep -v '^
*+' conftest.er1 >conftest.err
25777 cat conftest.err >&5
25778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25779 (exit $ac_status); } && {
25780 test -z "$ac_c_werror_flag" ||
25781 test ! -s conftest.err
25782 } && test -s conftest$ac_exeext &&
25783 $as_test_x conftest$ac_exeext; then
25784 ac_cv_sys_largefile_source=no; break
25786 echo "$as_me: failed program was:" >&5
25787 sed 's
/^
/| /' conftest.$ac_ext >&5
25792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25793 conftest$ac_exeext conftest.$ac_ext
25794 cat >conftest.$ac_ext <<_ACEOF
25797 cat confdefs.h >>conftest.$ac_ext
25798 cat >>conftest.$ac_ext <<_ACEOF
25799 /* end confdefs.h. */
25800 #define _LARGEFILE_SOURCE 1
25801 #include <sys/types.h> /* for off_t */
25806 int (*fp) (FILE *, off_t, int) = fseeko;
25807 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25812 rm -f conftest.$ac_objext conftest$ac_exeext
25813 if { (ac_try="$ac_link"
25814 case "(($ac_try" in
25815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25816 *) ac_try_echo=$ac_try;;
25818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25819 (eval "$ac_link") 2>conftest.er1
25821 grep -v '^
*+' conftest.er1 >conftest.err
25823 cat conftest.err >&5
25824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25825 (exit $ac_status); } && {
25826 test -z "$ac_c_werror_flag" ||
25827 test ! -s conftest.err
25828 } && test -s conftest$ac_exeext &&
25829 $as_test_x conftest$ac_exeext; then
25830 ac_cv_sys_largefile_source=1; break
25832 echo "$as_me: failed program was:" >&5
25833 sed 's
/^
/| /' conftest.$ac_ext >&5
25838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25839 conftest$ac_exeext conftest.$ac_ext
25840 ac_cv_sys_largefile_source=unknown
25844 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25845 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25846 case $ac_cv_sys_largefile_source in #(
25849 cat >>confdefs.h <<_ACEOF
25850 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25856 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25857 # in glibc 2.1.3, but that breaks too many other things.
25858 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25859 if test $ac_cv_sys_largefile_source != unknown; then
25861 cat >>confdefs.h <<\_ACEOF
25862 #define HAVE_FSEEKO 1
25867 if test "$ac_cv_sys_largefile_source" != no; then
25868 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25872 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25873 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25874 if test "${ac_cv_c_bigendian+set}" = set; then
25875 echo $ECHO_N "(cached) $ECHO_C" >&6
25877 ac_cv_c_bigendian=unknown
25878 # See if sys/param.h defines the BYTE_ORDER macro.
25879 cat >conftest.$ac_ext <<_ACEOF
25882 cat confdefs.h >>conftest.$ac_ext
25883 cat >>conftest.$ac_ext <<_ACEOF
25884 /* end confdefs.h. */
25885 #include <sys/types.h>
25886 #include <sys/param.h>
25891 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25892 bogus endian macros
25898 rm -f conftest.$ac_objext
25899 if { (ac_try="$ac_compile"
25900 case "(($ac_try" in
25901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25902 *) ac_try_echo=$ac_try;;
25904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25905 (eval "$ac_compile") 2>conftest.er1
25907 grep -v '^
*+' conftest.er1 >conftest.err
25909 cat conftest.err >&5
25910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25911 (exit $ac_status); } && {
25912 test -z "$ac_c_werror_flag" ||
25913 test ! -s conftest.err
25914 } && test -s conftest.$ac_objext; then
25915 # It does; now see whether it defined to BIG_ENDIAN or not.
25916 cat >conftest.$ac_ext <<_ACEOF
25919 cat confdefs.h >>conftest.$ac_ext
25920 cat >>conftest.$ac_ext <<_ACEOF
25921 /* end confdefs.h. */
25922 #include <sys/types.h>
25923 #include <sys/param.h>
25928 #if BYTE_ORDER != BIG_ENDIAN
25935 rm -f conftest.$ac_objext
25936 if { (ac_try="$ac_compile"
25937 case "(($ac_try" in
25938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25939 *) ac_try_echo=$ac_try;;
25941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25942 (eval "$ac_compile") 2>conftest.er1
25944 grep -v '^
*+' conftest.er1 >conftest.err
25946 cat conftest.err >&5
25947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25948 (exit $ac_status); } && {
25949 test -z "$ac_c_werror_flag" ||
25950 test ! -s conftest.err
25951 } && test -s conftest.$ac_objext; then
25952 ac_cv_c_bigendian=yes
25954 echo "$as_me: failed program was:" >&5
25955 sed 's
/^
/| /' conftest.$ac_ext >&5
25957 ac_cv_c_bigendian=no
25960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25962 echo "$as_me: failed program was:" >&5
25963 sed 's
/^
/| /' conftest.$ac_ext >&5
25968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25969 if test $ac_cv_c_bigendian = unknown; then
25970 if test "$cross_compiling" = yes; then
25971 ac_cv_c_bigendian=unknown
25973 cat >conftest.$ac_ext <<_ACEOF
25976 cat confdefs.h >>conftest.$ac_ext
25977 cat >>conftest.$ac_ext <<_ACEOF
25978 /* end confdefs.h. */
25980 /* Are we little or big endian? From Harbison&Steele. */
25984 char c[sizeof (long)];
25987 exit (u.c[sizeof (long) - 1] == 1);
25990 rm -f conftest$ac_exeext
25991 if { (ac_try="$ac_link"
25992 case "(($ac_try" in
25993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25994 *) ac_try_echo=$ac_try;;
25996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25997 (eval "$ac_link") 2>&5
25999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26000 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
26001 { (case "(($ac_try" in
26002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26003 *) ac_try_echo=$ac_try;;
26005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26006 (eval "$ac_try") 2>&5
26008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26009 (exit $ac_status); }; }; then
26010 ac_cv_c_bigendian=no
26012 echo "$as_me: program exited with status $ac_status" >&5
26013 echo "$as_me: failed program was:" >&5
26014 sed 's
/^
/| /' conftest.$ac_ext >&5
26016 ( exit $ac_status )
26017 ac_cv_c_bigendian=yes
26019 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26025 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26026 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26027 if test $ac_cv_c_bigendian = unknown; then
26028 { 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
26029 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;}
26031 if test $ac_cv_c_bigendian = yes; then
26032 cat >>confdefs.h <<\_ACEOF
26033 #define WORDS_BIGENDIAN 1
26042 ac_cpp='$CXXCPP $CPPFLAGS'
26043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26044 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26048 { echo "$as_me:$LINENO: checking for iostream" >&5
26049 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
26050 if test "${ac_cv_header_iostream+set}" = set; then
26051 echo $ECHO_N "(cached) $ECHO_C" >&6
26053 cat >conftest.$ac_ext <<_ACEOF
26056 cat confdefs.h >>conftest.$ac_ext
26057 cat >>conftest.$ac_ext <<_ACEOF
26058 /* end confdefs.h. */
26061 #include <iostream>
26063 rm -f conftest.$ac_objext
26064 if { (ac_try="$ac_compile"
26065 case "(($ac_try" in
26066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26067 *) ac_try_echo=$ac_try;;
26069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26070 (eval "$ac_compile") 2>conftest.er1
26072 grep -v '^
*+' conftest.er1 >conftest.err
26074 cat conftest.err >&5
26075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26076 (exit $ac_status); } && {
26077 test -z "$ac_cxx_werror_flag" ||
26078 test ! -s conftest.err
26079 } && test -s conftest.$ac_objext; then
26080 ac_cv_header_iostream=yes
26082 echo "$as_me: failed program was:" >&5
26083 sed 's
/^
/| /' conftest.$ac_ext >&5
26085 ac_cv_header_iostream=no
26088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26090 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
26091 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
26095 if test "$ac_cv_header_iostream" = "yes" ; then
26098 cat >>confdefs.h <<\_ACEOF
26099 #define wxUSE_IOSTREAMH 1
26105 ac_cpp='$CPP $CPPFLAGS'
26106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26107 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26113 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26114 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26115 if test "${wx_cv_cpp_bool+set}" = set; then
26116 echo $ECHO_N "(cached) $ECHO_C" >&6
26121 ac_cpp='$CXXCPP $CPPFLAGS'
26122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26123 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26127 cat >conftest.$ac_ext <<_ACEOF
26130 cat confdefs.h >>conftest.$ac_ext
26131 cat >>conftest.$ac_ext <<_ACEOF
26132 /* end confdefs.h. */
26147 rm -f conftest.$ac_objext
26148 if { (ac_try="$ac_compile"
26149 case "(($ac_try" in
26150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26151 *) ac_try_echo=$ac_try;;
26153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26154 (eval "$ac_compile") 2>conftest.er1
26156 grep -v '^
*+' conftest.er1 >conftest.err
26158 cat conftest.err >&5
26159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26160 (exit $ac_status); } && {
26161 test -z "$ac_cxx_werror_flag" ||
26162 test ! -s conftest.err
26163 } && test -s conftest.$ac_objext; then
26168 echo "$as_me: failed program was:" >&5
26169 sed 's
/^
/| /' conftest.$ac_ext >&5
26177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26180 ac_cpp='$CPP $CPPFLAGS'
26181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26182 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26187 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26188 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26190 if test "$wx_cv_cpp_bool" = "yes"; then
26191 cat >>confdefs.h <<\_ACEOF
26192 #define HAVE_BOOL 1
26199 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26200 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26201 if test "${wx_cv_explicit+set}" = set; then
26202 echo $ECHO_N "(cached) $ECHO_C" >&6
26207 ac_cpp='$CXXCPP $CPPFLAGS'
26208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26209 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26213 cat >conftest.$ac_ext <<_ACEOF
26216 cat confdefs.h >>conftest.$ac_ext
26217 cat >>conftest.$ac_ext <<_ACEOF
26218 /* end confdefs.h. */
26220 class Foo { public: explicit Foo(int) {} };
26232 rm -f conftest.$ac_objext
26233 if { (ac_try="$ac_compile"
26234 case "(($ac_try" in
26235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26236 *) ac_try_echo=$ac_try;;
26238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26239 (eval "$ac_compile") 2>conftest.er1
26241 grep -v '^
*+' conftest.er1 >conftest.err
26243 cat conftest.err >&5
26244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26245 (exit $ac_status); } && {
26246 test -z "$ac_cxx_werror_flag" ||
26247 test ! -s conftest.err
26248 } && test -s conftest.$ac_objext; then
26250 cat >conftest.$ac_ext <<_ACEOF
26253 cat confdefs.h >>conftest.$ac_ext
26254 cat >>conftest.$ac_ext <<_ACEOF
26255 /* end confdefs.h. */
26257 class Foo { public: explicit Foo(int) {} };
26258 static void TakeFoo(const Foo& foo) { }
26271 rm -f conftest.$ac_objext
26272 if { (ac_try="$ac_compile"
26273 case "(($ac_try" in
26274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26275 *) ac_try_echo=$ac_try;;
26277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26278 (eval "$ac_compile") 2>conftest.er1
26280 grep -v '^
*+' conftest.er1 >conftest.err
26282 cat conftest.err >&5
26283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26284 (exit $ac_status); } && {
26285 test -z "$ac_cxx_werror_flag" ||
26286 test ! -s conftest.err
26287 } && test -s conftest.$ac_objext; then
26290 echo "$as_me: failed program was:" >&5
26291 sed 's
/^
/| /' conftest.$ac_ext >&5
26297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26300 echo "$as_me: failed program was:" >&5
26301 sed 's
/^
/| /' conftest.$ac_ext >&5
26307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26310 ac_cpp='$CPP $CPPFLAGS'
26311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26312 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26317 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26318 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26320 if test "$wx_cv_explicit" = "yes"; then
26321 cat >>confdefs.h <<\_ACEOF
26322 #define HAVE_EXPLICIT 1
26328 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26329 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26330 if test "${ac_cv_cxx_const_cast+set}" = set; then
26331 echo $ECHO_N "(cached) $ECHO_C" >&6
26335 ac_cpp='$CXXCPP $CPPFLAGS'
26336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26337 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26340 cat >conftest.$ac_ext <<_ACEOF
26343 cat confdefs.h >>conftest.$ac_ext
26344 cat >>conftest.$ac_ext <<_ACEOF
26345 /* end confdefs.h. */
26350 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26355 rm -f conftest.$ac_objext
26356 if { (ac_try="$ac_compile"
26357 case "(($ac_try" in
26358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26359 *) ac_try_echo=$ac_try;;
26361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26362 (eval "$ac_compile") 2>conftest.er1
26364 grep -v '^
*+' conftest.er1 >conftest.err
26366 cat conftest.err >&5
26367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26368 (exit $ac_status); } && {
26369 test -z "$ac_cxx_werror_flag" ||
26370 test ! -s conftest.err
26371 } && test -s conftest.$ac_objext; then
26372 ac_cv_cxx_const_cast=yes
26374 echo "$as_me: failed program was:" >&5
26375 sed 's
/^
/| /' conftest.$ac_ext >&5
26377 ac_cv_cxx_const_cast=no
26380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26382 ac_cpp='$CPP $CPPFLAGS'
26383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26384 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26389 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26390 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26391 if test "$ac_cv_cxx_const_cast" = yes; then
26393 cat >>confdefs.h <<\_ACEOF
26394 #define HAVE_CONST_CAST
26399 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26400 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26401 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26402 echo $ECHO_N "(cached) $ECHO_C" >&6
26406 ac_cpp='$CXXCPP $CPPFLAGS'
26407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26408 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26411 cat >conftest.$ac_ext <<_ACEOF
26414 cat confdefs.h >>conftest.$ac_ext
26415 cat >>conftest.$ac_ext <<_ACEOF
26416 /* end confdefs.h. */
26417 #include <typeinfo>
26418 class Base { public : Base () {} virtual void f () = 0;};
26419 class Derived : public Base { public : Derived () {} virtual void f () {} };
26420 class Unrelated { public : Unrelated () {} };
26421 int g (Unrelated&) { return 0; }
26426 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26431 rm -f conftest.$ac_objext
26432 if { (ac_try="$ac_compile"
26433 case "(($ac_try" in
26434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26435 *) ac_try_echo=$ac_try;;
26437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26438 (eval "$ac_compile") 2>conftest.er1
26440 grep -v '^
*+' conftest.er1 >conftest.err
26442 cat conftest.err >&5
26443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26444 (exit $ac_status); } && {
26445 test -z "$ac_cxx_werror_flag" ||
26446 test ! -s conftest.err
26447 } && test -s conftest.$ac_objext; then
26448 ac_cv_cxx_reinterpret_cast=yes
26450 echo "$as_me: failed program was:" >&5
26451 sed 's
/^
/| /' conftest.$ac_ext >&5
26453 ac_cv_cxx_reinterpret_cast=no
26456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26458 ac_cpp='$CPP $CPPFLAGS'
26459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26460 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26465 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26466 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26467 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26469 cat >>confdefs.h <<\_ACEOF
26470 #define HAVE_REINTERPRET_CAST
26475 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26476 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26477 if test "${ac_cv_cxx_static_cast+set}" = set; then
26478 echo $ECHO_N "(cached) $ECHO_C" >&6
26482 ac_cpp='$CXXCPP $CPPFLAGS'
26483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26484 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26487 cat >conftest.$ac_ext <<_ACEOF
26490 cat confdefs.h >>conftest.$ac_ext
26491 cat >>conftest.$ac_ext <<_ACEOF
26492 /* end confdefs.h. */
26493 #include <typeinfo>
26494 class Base { public : Base () {} virtual void f () = 0; };
26495 class Derived : public Base { public : Derived () {} virtual void f () {} };
26496 int g (Derived&) { return 0; }
26501 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26506 rm -f conftest.$ac_objext
26507 if { (ac_try="$ac_compile"
26508 case "(($ac_try" in
26509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26510 *) ac_try_echo=$ac_try;;
26512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26513 (eval "$ac_compile") 2>conftest.er1
26515 grep -v '^
*+' conftest.er1 >conftest.err
26517 cat conftest.err >&5
26518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26519 (exit $ac_status); } && {
26520 test -z "$ac_cxx_werror_flag" ||
26521 test ! -s conftest.err
26522 } && test -s conftest.$ac_objext; then
26523 ac_cv_cxx_static_cast=yes
26525 echo "$as_me: failed program was:" >&5
26526 sed 's
/^
/| /' conftest.$ac_ext >&5
26528 ac_cv_cxx_static_cast=no
26531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26533 ac_cpp='$CPP $CPPFLAGS'
26534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26535 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26540 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26541 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26542 if test "$ac_cv_cxx_static_cast" = yes; then
26544 cat >>confdefs.h <<\_ACEOF
26545 #define HAVE_STATIC_CAST
26551 if test "x$SUNCXX" = xyes; then
26552 CXXFLAGS="-features=tmplife $CXXFLAGS"
26555 if test "x$SUNCC" = xyes; then
26556 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26559 if test "x$SGICC" = "xyes"; then
26560 CFLAGS="-woff 3970 $CFLAGS"
26562 if test "x$SGICXX" = "xyes"; then
26563 CXXFLAGS="-woff 3970 $CXXFLAGS"
26566 if test "x$HPCC" = "xyes"; then
26567 CFLAGS="+W 2011,2450 $CFLAGS"
26569 if test "x$HPCXX" = "xyes"; then
26570 CXXFLAGS="+W 2340 $CXXFLAGS"
26573 if test "x$COMPAQCXX" = "xyes"; then
26574 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26578 ac_cpp='$CXXCPP $CPPFLAGS'
26579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26580 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26584 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26585 if test "$wxUSE_UNICODE" = "yes"; then
26586 std_string="std::wstring"
26587 char_type="wchar_t"
26589 std_string="std::string"
26593 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26594 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26595 if test "${wx_cv_class_stdstring+set}" = set; then
26596 echo $ECHO_N "(cached) $ECHO_C" >&6
26599 cat >conftest.$ac_ext <<_ACEOF
26602 cat confdefs.h >>conftest.$ac_ext
26603 cat >>conftest.$ac_ext <<_ACEOF
26604 /* end confdefs.h. */
26614 rm -f conftest.$ac_objext
26615 if { (ac_try="$ac_compile"
26616 case "(($ac_try" in
26617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26618 *) ac_try_echo=$ac_try;;
26620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26621 (eval "$ac_compile") 2>conftest.er1
26623 grep -v '^
*+' conftest.er1 >conftest.err
26625 cat conftest.err >&5
26626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26627 (exit $ac_status); } && {
26628 test -z "$ac_cxx_werror_flag" ||
26629 test ! -s conftest.err
26630 } && test -s conftest.$ac_objext; then
26631 wx_cv_class_stdstring=yes
26633 echo "$as_me: failed program was:" >&5
26634 sed 's
/^
/| /' conftest.$ac_ext >&5
26636 wx_cv_class_stdstring=no
26640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26644 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26645 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26647 if test "$wx_cv_class_stdstring" = yes; then
26648 if test "$wxUSE_UNICODE" = "yes"; then
26649 cat >>confdefs.h <<\_ACEOF
26650 #define HAVE_STD_WSTRING 1
26655 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26656 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26657 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26658 echo $ECHO_N "(cached) $ECHO_C" >&6
26661 cat >conftest.$ac_ext <<_ACEOF
26664 cat confdefs.h >>conftest.$ac_ext
26665 cat >>conftest.$ac_ext <<_ACEOF
26666 /* end confdefs.h. */
26668 #ifdef HAVE_WCHAR_H
26670 # include <stddef.h>
26672 # include <wchar.h>
26674 #ifdef HAVE_STDLIB_H
26675 # include <stdlib.h>
26683 std::basic_string<$char_type> foo;
26684 const $char_type* dummy = foo.c_str();
26689 rm -f conftest.$ac_objext
26690 if { (ac_try="$ac_compile"
26691 case "(($ac_try" in
26692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26693 *) ac_try_echo=$ac_try;;
26695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26696 (eval "$ac_compile") 2>conftest.er1
26698 grep -v '^
*+' conftest.er1 >conftest.err
26700 cat conftest.err >&5
26701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26702 (exit $ac_status); } && {
26703 test -z "$ac_cxx_werror_flag" ||
26704 test ! -s conftest.err
26705 } && test -s conftest.$ac_objext; then
26706 wx_cv_class_stdbasicstring=yes
26708 echo "$as_me: failed program was:" >&5
26709 sed 's
/^
/| /' conftest.$ac_ext >&5
26711 wx_cv_class_stdbasicstring=no
26715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26719 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26720 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26722 if test "$wx_cv_class_stdbasicstring" != yes; then
26723 if test "$wxUSE_STL" = "yes"; then
26724 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
26725 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26726 { (exit 1); exit 1; }; }
26727 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
26728 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
26729 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26730 { (exit 1); exit 1; }; }
26732 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26733 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26734 wxUSE_STD_STRING=no
26740 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26741 { echo "$as_me:$LINENO: checking for std::istream" >&5
26742 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26743 if test "${ac_cv_type_std__istream+set}" = set; then
26744 echo $ECHO_N "(cached) $ECHO_C" >&6
26746 cat >conftest.$ac_ext <<_ACEOF
26749 cat confdefs.h >>conftest.$ac_ext
26750 cat >>conftest.$ac_ext <<_ACEOF
26751 /* end confdefs.h. */
26752 #include <iostream>
26754 typedef std::istream ac__type_new_;
26758 if ((ac__type_new_ *) 0)
26760 if (sizeof (ac__type_new_))
26766 rm -f conftest.$ac_objext
26767 if { (ac_try="$ac_compile"
26768 case "(($ac_try" in
26769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26770 *) ac_try_echo=$ac_try;;
26772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26773 (eval "$ac_compile") 2>conftest.er1
26775 grep -v '^
*+' conftest.er1 >conftest.err
26777 cat conftest.err >&5
26778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26779 (exit $ac_status); } && {
26780 test -z "$ac_cxx_werror_flag" ||
26781 test ! -s conftest.err
26782 } && test -s conftest.$ac_objext; then
26783 ac_cv_type_std__istream=yes
26785 echo "$as_me: failed program was:" >&5
26786 sed 's
/^
/| /' conftest.$ac_ext >&5
26788 ac_cv_type_std__istream=no
26791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26793 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26794 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26795 if test $ac_cv_type_std__istream = yes; then
26797 cat >>confdefs.h <<_ACEOF
26798 #define HAVE_STD__ISTREAM 1
26803 wxUSE_STD_IOSTREAM=no
26805 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26806 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26807 if test "${ac_cv_type_std__ostream+set}" = set; then
26808 echo $ECHO_N "(cached) $ECHO_C" >&6
26810 cat >conftest.$ac_ext <<_ACEOF
26813 cat confdefs.h >>conftest.$ac_ext
26814 cat >>conftest.$ac_ext <<_ACEOF
26815 /* end confdefs.h. */
26816 #include <iostream>
26818 typedef std::ostream ac__type_new_;
26822 if ((ac__type_new_ *) 0)
26824 if (sizeof (ac__type_new_))
26830 rm -f conftest.$ac_objext
26831 if { (ac_try="$ac_compile"
26832 case "(($ac_try" in
26833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26834 *) ac_try_echo=$ac_try;;
26836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26837 (eval "$ac_compile") 2>conftest.er1
26839 grep -v '^
*+' conftest.er1 >conftest.err
26841 cat conftest.err >&5
26842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26843 (exit $ac_status); } && {
26844 test -z "$ac_cxx_werror_flag" ||
26845 test ! -s conftest.err
26846 } && test -s conftest.$ac_objext; then
26847 ac_cv_type_std__ostream=yes
26849 echo "$as_me: failed program was:" >&5
26850 sed 's
/^
/| /' conftest.$ac_ext >&5
26852 ac_cv_type_std__ostream=no
26855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26857 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26858 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26859 if test $ac_cv_type_std__ostream = yes; then
26861 cat >>confdefs.h <<_ACEOF
26862 #define HAVE_STD__OSTREAM 1
26867 wxUSE_STD_IOSTREAM=no
26871 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26872 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
26873 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
26874 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26875 { (exit 1); exit 1; }; }
26877 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26878 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26883 if test "$wxUSE_STL" = "yes"; then
26884 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26885 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26886 if test "${wx_cv_lib_stl+set}" = set; then
26887 echo $ECHO_N "(cached) $ECHO_C" >&6
26889 cat >conftest.$ac_ext <<_ACEOF
26892 cat confdefs.h >>conftest.$ac_ext
26893 cat >>conftest.$ac_ext <<_ACEOF
26894 /* end confdefs.h. */
26896 #include <functional>
26897 #include <algorithm>
26903 std::vector<int> moo;
26904 std::list<int> foo;
26905 std::vector<int>::iterator it =
26906 std::find_if(moo.begin(), moo.end(),
26907 std::bind2nd(std::less<int>(), 3));
26912 rm -f conftest.$ac_objext
26913 if { (ac_try="$ac_compile"
26914 case "(($ac_try" in
26915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26916 *) ac_try_echo=$ac_try;;
26918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26919 (eval "$ac_compile") 2>conftest.er1
26921 grep -v '^
*+' conftest.er1 >conftest.err
26923 cat conftest.err >&5
26924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26925 (exit $ac_status); } && {
26926 test -z "$ac_cxx_werror_flag" ||
26927 test ! -s conftest.err
26928 } && test -s conftest.$ac_objext; then
26931 echo "$as_me: failed program was:" >&5
26932 sed 's
/^
/| /' conftest.$ac_ext >&5
26938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26941 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26942 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26944 if test "$wx_cv_lib_stl" != yes; then
26945 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
26946 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
26947 { (exit 1); exit 1; }; }
26950 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26951 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26952 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26953 echo $ECHO_N "(cached) $ECHO_C" >&6
26955 cat >conftest.$ac_ext <<_ACEOF
26958 cat confdefs.h >>conftest.$ac_ext
26959 cat >>conftest.$ac_ext <<_ACEOF
26960 /* end confdefs.h. */
26965 std::string foo, bar;
26967 foo.compare(1, 1, bar);
26968 foo.compare(1, 1, bar, 1, 1);
26970 foo.compare(1, 1, "");
26971 foo.compare(1, 1, "", 2);
26976 rm -f conftest.$ac_objext
26977 if { (ac_try="$ac_compile"
26978 case "(($ac_try" in
26979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26980 *) ac_try_echo=$ac_try;;
26982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26983 (eval "$ac_compile") 2>conftest.er1
26985 grep -v '^
*+' conftest.er1 >conftest.err
26987 cat conftest.err >&5
26988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26989 (exit $ac_status); } && {
26990 test -z "$ac_cxx_werror_flag" ||
26991 test ! -s conftest.err
26992 } && test -s conftest.$ac_objext; then
26993 wx_cv_func_stdstring_compare=yes
26995 echo "$as_me: failed program was:" >&5
26996 sed 's
/^
/| /' conftest.$ac_ext >&5
26998 wx_cv_func_stdstring_compare=no
27002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27005 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27006 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27008 if test "$wx_cv_func_stdstring_compare" = yes; then
27009 cat >>confdefs.h <<\_ACEOF
27010 #define HAVE_STD_STRING_COMPARE 1
27015 { echo "$as_me:$LINENO: checking for hash_map" >&5
27016 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27017 if test "${ac_cv_header_hash_map+set}" = set; then
27018 echo $ECHO_N "(cached) $ECHO_C" >&6
27020 cat >conftest.$ac_ext <<_ACEOF
27023 cat confdefs.h >>conftest.$ac_ext
27024 cat >>conftest.$ac_ext <<_ACEOF
27025 /* end confdefs.h. */
27029 #include <hash_map>
27031 rm -f conftest.$ac_objext
27032 if { (ac_try="$ac_compile"
27033 case "(($ac_try" in
27034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27035 *) ac_try_echo=$ac_try;;
27037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27038 (eval "$ac_compile") 2>conftest.er1
27040 grep -v '^
*+' conftest.er1 >conftest.err
27042 cat conftest.err >&5
27043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27044 (exit $ac_status); } && {
27045 test -z "$ac_cxx_werror_flag" ||
27046 test ! -s conftest.err
27047 } && test -s conftest.$ac_objext; then
27048 ac_cv_header_hash_map=yes
27050 echo "$as_me: failed program was:" >&5
27051 sed 's
/^
/| /' conftest.$ac_ext >&5
27053 ac_cv_header_hash_map=no
27056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27058 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27059 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27060 if test $ac_cv_header_hash_map = yes; then
27061 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27062 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27063 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27064 echo $ECHO_N "(cached) $ECHO_C" >&6
27066 cat >conftest.$ac_ext <<_ACEOF
27069 cat confdefs.h >>conftest.$ac_ext
27070 cat >>conftest.$ac_ext <<_ACEOF
27071 /* end confdefs.h. */
27072 #include <hash_map>
27073 #include <hash_set>
27077 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27078 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27083 rm -f conftest.$ac_objext
27084 if { (ac_try="$ac_compile"
27085 case "(($ac_try" in
27086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27087 *) ac_try_echo=$ac_try;;
27089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27090 (eval "$ac_compile") 2>conftest.er1
27092 grep -v '^
*+' conftest.er1 >conftest.err
27094 cat conftest.err >&5
27095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27096 (exit $ac_status); } && {
27097 test -z "$ac_cxx_werror_flag" ||
27098 test ! -s conftest.err
27099 } && test -s conftest.$ac_objext; then
27100 wx_cv_class_stdhashmapset=yes
27102 echo "$as_me: failed program was:" >&5
27103 sed 's
/^
/| /' conftest.$ac_ext >&5
27105 wx_cv_class_stdhashmapset=no
27108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27112 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27113 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27118 if test "$wx_cv_class_stdhashmapset" = yes; then
27119 cat >>confdefs.h <<\_ACEOF
27120 #define HAVE_HASH_MAP 1
27123 cat >>confdefs.h <<\_ACEOF
27124 #define HAVE_STD_HASH_MAP 1
27129 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27130 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27131 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27132 echo $ECHO_N "(cached) $ECHO_C" >&6
27134 cat >conftest.$ac_ext <<_ACEOF
27137 cat confdefs.h >>conftest.$ac_ext
27138 cat >>conftest.$ac_ext <<_ACEOF
27139 /* end confdefs.h. */
27143 #include <ext/hash_map>
27145 rm -f conftest.$ac_objext
27146 if { (ac_try="$ac_compile"
27147 case "(($ac_try" in
27148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27149 *) ac_try_echo=$ac_try;;
27151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27152 (eval "$ac_compile") 2>conftest.er1
27154 grep -v '^
*+' conftest.er1 >conftest.err
27156 cat conftest.err >&5
27157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27158 (exit $ac_status); } && {
27159 test -z "$ac_cxx_werror_flag" ||
27160 test ! -s conftest.err
27161 } && test -s conftest.$ac_objext; then
27162 ac_cv_header_ext_hash_map=yes
27164 echo "$as_me: failed program was:" >&5
27165 sed 's
/^
/| /' conftest.$ac_ext >&5
27167 ac_cv_header_ext_hash_map=no
27170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27172 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27173 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27174 if test $ac_cv_header_ext_hash_map = yes; then
27175 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27176 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27177 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27178 echo $ECHO_N "(cached) $ECHO_C" >&6
27180 cat >conftest.$ac_ext <<_ACEOF
27183 cat confdefs.h >>conftest.$ac_ext
27184 cat >>conftest.$ac_ext <<_ACEOF
27185 /* end confdefs.h. */
27186 #include <ext/hash_map>
27187 #include <ext/hash_set>
27191 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27192 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27197 rm -f conftest.$ac_objext
27198 if { (ac_try="$ac_compile"
27199 case "(($ac_try" in
27200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27201 *) ac_try_echo=$ac_try;;
27203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27204 (eval "$ac_compile") 2>conftest.er1
27206 grep -v '^
*+' conftest.er1 >conftest.err
27208 cat conftest.err >&5
27209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27210 (exit $ac_status); } && {
27211 test -z "$ac_cxx_werror_flag" ||
27212 test ! -s conftest.err
27213 } && test -s conftest.$ac_objext; then
27214 wx_cv_class_gnuhashmapset=yes
27216 echo "$as_me: failed program was:" >&5
27217 sed 's
/^
/| /' conftest.$ac_ext >&5
27219 wx_cv_class_gnuhashmapset=no
27222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27226 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27227 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27232 if test "$wx_cv_class_gnuhashmapset" = yes; then
27233 cat >>confdefs.h <<\_ACEOF
27234 #define HAVE_EXT_HASH_MAP 1
27237 cat >>confdefs.h <<\_ACEOF
27238 #define HAVE_GNU_CXX_HASH_MAP 1
27245 ac_cpp='$CPP $CPPFLAGS'
27246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27247 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27253 /usr/local/include \
27255 /usr/Motif-2.1/include \
27256 /usr/Motif-1.2/include \
27257 /usr/include/Motif1.2 \
27260 /usr/openwin/include \
27264 /usr/X11R6/include \
27265 /usr/X11R6.4/include \
27266 /usr/X11R5/include \
27267 /usr/X11R4/include \
27269 /usr/include/X11R6 \
27270 /usr/include/X11R5 \
27271 /usr/include/X11R4 \
27273 /usr/local/X11R6/include \
27274 /usr/local/X11R5/include \
27275 /usr/local/X11R4/include \
27277 /usr/local/include/X11R6 \
27278 /usr/local/include/X11R5 \
27279 /usr/local/include/X11R4 \
27283 /usr/local/X11/include \
27284 /usr/local/include/X11 \
27286 /usr/XFree86/include/X11 \
27289 /usr/openwin/share/include"
27291 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27292 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27296 if test "${wx_cv_std_libpath+set}" = set; then
27297 echo $ECHO_N "(cached) $ECHO_C" >&6
27300 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27301 for e in a so sl dylib dll.a; do
27303 if test -f $libc; then
27306 cat >conftest.$ac_ext <<_ACEOF
27307 int main() { return 0; }
27309 rm -f conftest.$ac_objext conftest$ac_exeext
27310 if { (ac_try="$ac_link"
27311 case "(($ac_try" in
27312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27313 *) ac_try_echo=$ac_try;;
27315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27316 (eval "$ac_link") 2>conftest.er1
27318 grep -v '^
*+' conftest.er1 >conftest.err
27320 cat conftest.err >&5
27321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27322 (exit $ac_status); } && {
27323 test -z "$ac_c_werror_flag" ||
27324 test ! -s conftest.err
27325 } && test -s conftest$ac_exeext &&
27326 $as_test_x conftest$ac_exeext; then
27327 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27329 echo "$as_me: failed program was:" >&5
27330 sed 's
/^
/| /' conftest.$ac_ext >&5
27335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27336 conftest$ac_exeext conftest.$ac_ext
27338 if test "x$wx_cv_std_libpath" != "x"; then
27344 if test "x$wx_cv_std_libpath" = "x"; then
27345 wx_cv_std_libpath="lib"
27354 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27355 wx_cv_std_libpath="lib/64"
27357 wx_cv_std_libpath="lib"
27362 if test "$ac_cv_sizeof_void_p" = 8 -a \
27363 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27364 wx_cv_std_libpath="lib64"
27366 wx_cv_std_libpath="lib"
27371 wx_cv_std_libpath="lib";
27375 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27376 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27378 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27380 if test "$build" != "$host" -a "$GCC" = yes; then
27381 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27382 cross_root=`dirname $cross_root`
27383 cross_root=`dirname $cross_root`
27385 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27386 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27387 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27389 if test -z "$PKG_CONFIG_PATH"; then
27390 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27391 export PKG_CONFIG_PATH
27394 if test -z "$x_includes" -o "$x_includes" = NONE; then
27397 for ac_dir in $SEARCH_INCLUDE /usr/include;
27399 if test -f "$ac_dir/X11/Intrinsic.h"; then
27400 ac_find_includes=$ac_dir
27405 x_includes=$ac_find_includes
27407 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27410 for ac_dir in $SEARCH_LIB;
27412 for ac_extension in a so sl dylib dll.a; do
27413 if test -f "$ac_dir/libXt.$ac_extension"; then
27414 ac_find_libraries=$ac_dir
27420 x_libraries=$ac_find_libraries
27426 cat >confcache <<\_ACEOF
27427 # This file is a shell script that caches the results of configure
27428 # tests run on this system so they can be shared between configure
27429 # scripts and configure runs, see configure's option
--config-cache.
27430 # It is not useful on other systems. If it contains results you don't
27431 # want to keep, you may remove or edit it.
27433 # config.status only pays attention to the cache file if you give it
27434 # the --recheck option to rerun configure.
27436 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27437 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27438 # following values.
27442 # The following way of writing the cache mishandles newlines in values,
27443 # but we know of no workaround that is simple, portable, and efficient.
27444 # So, we kill variables containing newlines.
27445 # Ultrix sh set writes to stderr and can't be redirected directly,
27446 # and sets the high bit in the cache file unless we assign to the vars.
27448 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27449 eval ac_val
=\$
$ac_var
27453 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27454 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27457 _
| IFS
| as_nl
) ;; #(
27458 *) $as_unset $ac_var ;;
27464 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27465 *${as_nl}ac_space
=\
*)
27466 # `set' does not quote correctly, so add quotes (double-quote
27467 # substitution turns \\\\ into \\, and sed turns \\ into \).
27470 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27473 # `set' quotes correctly as required by POSIX, so do not add quotes.
27474 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27483 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27485 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27487 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27488 if test -w "$cache_file"; then
27489 test "x$cache_file" != "x/dev/null" &&
27490 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27491 echo "$as_me: updating cache $cache_file" >&6;}
27492 cat confcache
>$cache_file
27494 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27495 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27500 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27501 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27502 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27503 if test "${wx_cv_lib_glibc21+set}" = set; then
27504 echo $ECHO_N "(cached) $ECHO_C" >&6
27507 cat >conftest.
$ac_ext <<_ACEOF
27510 cat confdefs.h
>>conftest.
$ac_ext
27511 cat >>conftest.
$ac_ext <<_ACEOF
27512 /* end confdefs.h. */
27513 #include <features.h>
27518 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
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_c_werror_flag" ||
27541 test ! -s conftest.err
27542 } && test -s conftest.$ac_objext; then
27544 wx_cv_lib_glibc21=yes
27547 echo "$as_me: failed program was:" >&5
27548 sed 's/^/| /' conftest.$ac_ext >&5
27551 wx_cv_lib_glibc21=no
27556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27559 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27560 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27561 if test "$wx_cv_lib_glibc21" = "yes"; then
27562 cat >>confdefs.h <<\_ACEOF
27563 #define wxHAVE_GLIBC2 1
27569 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27570 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27571 cat >>confdefs.h <<\_ACEOF
27572 #define _GNU_SOURCE 1
27583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27584 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27586 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27587 echo $ECHO_N "(cached) $ECHO_C" >&6
27589 cat >conftest.$ac_ext <<_ACEOF
27592 cat confdefs.h >>conftest.$ac_ext
27593 cat >>conftest.$ac_ext <<_ACEOF
27594 /* end confdefs.h. */
27595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27597 #define $ac_func innocuous_$ac_func
27599 /* System header to define __stub macros and hopefully few prototypes,
27600 which can conflict with char $ac_func (); below.
27601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27602 <limits.h> exists even on freestanding compilers. */
27605 # include <limits.h>
27607 # include <assert.h>
27612 /* Override any GCC internal prototype to avoid an error.
27613 Use char because int might match the return type of a GCC
27614 builtin and then its argument prototype would still apply. */
27619 /* The GNU C library defines this for functions which it implements
27620 to always fail with ENOSYS. Some functions are actually named
27621 something starting with __ and the normal name is an alias. */
27622 #if defined __stub_$ac_func || defined __stub___$ac_func
27629 return $ac_func ();
27634 rm -f conftest.$ac_objext conftest$ac_exeext
27635 if { (ac_try="$ac_link"
27636 case "(($ac_try" in
27637 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27638 *) ac_try_echo
=$ac_try;;
27640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27641 (eval "$ac_link") 2>conftest.er1
27643 grep -v '^ *+' conftest.er1
>conftest.err
27645 cat conftest.err
>&5
27646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27647 (exit $ac_status); } && {
27648 test -z "$ac_c_werror_flag" ||
27649 test ! -s conftest.err
27650 } && test -s conftest
$ac_exeext &&
27651 $as_test_x conftest
$ac_exeext; then
27652 eval "$as_ac_var=yes"
27654 echo "$as_me: failed program was:" >&5
27655 sed 's/^/| /' conftest.
$ac_ext >&5
27657 eval "$as_ac_var=no"
27660 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27661 conftest
$ac_exeext conftest.
$ac_ext
27663 ac_res
=`eval echo '${'$as_ac_var'}'`
27664 { echo "$as_me:$LINENO: result: $ac_res" >&5
27665 echo "${ECHO_T}$ac_res" >&6; }
27666 if test `eval echo '${'$as_ac_var'}'` = yes; then
27667 cat >>confdefs.h
<<_ACEOF
27668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27675 for ac_func
in floor
27677 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27678 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27680 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27681 echo $ECHO_N "(cached) $ECHO_C" >&6
27683 cat >conftest.
$ac_ext <<_ACEOF
27686 cat confdefs.h
>>conftest.
$ac_ext
27687 cat >>conftest.
$ac_ext <<_ACEOF
27688 /* end confdefs.h. */
27689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27691 #define $ac_func innocuous_$ac_func
27693 /* System header to define __stub macros and hopefully few prototypes,
27694 which can conflict with char $ac_func (); below.
27695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27696 <limits.h> exists even on freestanding compilers. */
27699 # include <limits.h>
27701 # include <assert.h>
27706 /* Override any GCC internal prototype to avoid an error.
27707 Use char because int might match the return type of a GCC
27708 builtin and then its argument prototype would still apply. */
27713 /* The GNU C library defines this for functions which it implements
27714 to always fail with ENOSYS. Some functions are actually named
27715 something starting with __ and the normal name is an alias. */
27716 #if defined __stub_$ac_func || defined __stub___$ac_func
27723 return $ac_func ();
27728 rm -f conftest.
$ac_objext conftest
$ac_exeext
27729 if { (ac_try
="$ac_link"
27730 case "(($ac_try" in
27731 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27732 *) ac_try_echo=$ac_try;;
27734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27735 (eval "$ac_link") 2>conftest.er1
27737 grep -v '^ *+' conftest.er1 >conftest.err
27739 cat conftest.err >&5
27740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27741 (exit $ac_status); } && {
27742 test -z "$ac_c_werror_flag" ||
27743 test ! -s conftest.err
27744 } && test -s conftest$ac_exeext &&
27745 $as_test_x conftest$ac_exeext; then
27746 eval "$as_ac_var=yes"
27748 echo "$as_me: failed program was:" >&5
27749 sed 's/^/| /' conftest.$ac_ext >&5
27751 eval "$as_ac_var=no"
27754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27755 conftest$ac_exeext conftest.$ac_ext
27757 ac_res=`eval echo '${'$as_ac_var'}'`
27758 { echo "$as_me:$LINENO: result: $ac_res" >&5
27759 echo "${ECHO_T}$ac_res" >&6; }
27760 if test `eval echo '${'$as_ac_var'}'` = yes; then
27761 cat >>confdefs.h <<_ACEOF
27762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27768 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27769 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27770 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27771 { echo "$as_me:$LINENO: result: yes" >&5
27772 echo "${ECHO_T}yes" >&6; }
27774 { echo "$as_me:$LINENO: result: no" >&5
27775 echo "${ECHO_T}no" >&6; }
27777 # use different functions to avoid configure caching
27783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27784 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27786 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27787 echo $ECHO_N "(cached) $ECHO_C" >&6
27789 cat >conftest.$ac_ext <<_ACEOF
27792 cat confdefs.h >>conftest.$ac_ext
27793 cat >>conftest.$ac_ext <<_ACEOF
27794 /* end confdefs.h. */
27795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27797 #define $ac_func innocuous_$ac_func
27799 /* System header to define __stub macros and hopefully few prototypes,
27800 which can conflict with char $ac_func (); below.
27801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27802 <limits.h> exists even on freestanding compilers. */
27805 # include <limits.h>
27807 # include <assert.h>
27812 /* Override any GCC internal prototype to avoid an error.
27813 Use char because int might match the return type of a GCC
27814 builtin and then its argument prototype would still apply. */
27819 /* The GNU C library defines this for functions which it implements
27820 to always fail with ENOSYS. Some functions are actually named
27821 something starting with __ and the normal name is an alias. */
27822 #if defined __stub_$ac_func || defined __stub___$ac_func
27829 return $ac_func ();
27834 rm -f conftest.$ac_objext conftest$ac_exeext
27835 if { (ac_try="$ac_link"
27836 case "(($ac_try" in
27837 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27838 *) ac_try_echo
=$ac_try;;
27840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27841 (eval "$ac_link") 2>conftest.er1
27843 grep -v '^ *+' conftest.er1
>conftest.err
27845 cat conftest.err
>&5
27846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27847 (exit $ac_status); } && {
27848 test -z "$ac_c_werror_flag" ||
27849 test ! -s conftest.err
27850 } && test -s conftest
$ac_exeext &&
27851 $as_test_x conftest
$ac_exeext; then
27852 eval "$as_ac_var=yes"
27854 echo "$as_me: failed program was:" >&5
27855 sed 's/^/| /' conftest.
$ac_ext >&5
27857 eval "$as_ac_var=no"
27860 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27861 conftest
$ac_exeext conftest.
$ac_ext
27863 ac_res
=`eval echo '${'$as_ac_var'}'`
27864 { echo "$as_me:$LINENO: result: $ac_res" >&5
27865 echo "${ECHO_T}$ac_res" >&6; }
27866 if test `eval echo '${'$as_ac_var'}'` = yes; then
27867 cat >>confdefs.h
<<_ACEOF
27868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27875 for ac_func
in ceil
27877 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27878 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27880 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27881 echo $ECHO_N "(cached) $ECHO_C" >&6
27883 cat >conftest.
$ac_ext <<_ACEOF
27886 cat confdefs.h
>>conftest.
$ac_ext
27887 cat >>conftest.
$ac_ext <<_ACEOF
27888 /* end confdefs.h. */
27889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27891 #define $ac_func innocuous_$ac_func
27893 /* System header to define __stub macros and hopefully few prototypes,
27894 which can conflict with char $ac_func (); below.
27895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27896 <limits.h> exists even on freestanding compilers. */
27899 # include <limits.h>
27901 # include <assert.h>
27906 /* Override any GCC internal prototype to avoid an error.
27907 Use char because int might match the return type of a GCC
27908 builtin and then its argument prototype would still apply. */
27913 /* The GNU C library defines this for functions which it implements
27914 to always fail with ENOSYS. Some functions are actually named
27915 something starting with __ and the normal name is an alias. */
27916 #if defined __stub_$ac_func || defined __stub___$ac_func
27923 return $ac_func ();
27928 rm -f conftest.
$ac_objext conftest
$ac_exeext
27929 if { (ac_try
="$ac_link"
27930 case "(($ac_try" in
27931 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27932 *) ac_try_echo=$ac_try;;
27934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27935 (eval "$ac_link") 2>conftest.er1
27937 grep -v '^ *+' conftest.er1 >conftest.err
27939 cat conftest.err >&5
27940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27941 (exit $ac_status); } && {
27942 test -z "$ac_c_werror_flag" ||
27943 test ! -s conftest.err
27944 } && test -s conftest$ac_exeext &&
27945 $as_test_x conftest$ac_exeext; then
27946 eval "$as_ac_var=yes"
27948 echo "$as_me: failed program was:" >&5
27949 sed 's/^/| /' conftest.$ac_ext >&5
27951 eval "$as_ac_var=no"
27954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27955 conftest$ac_exeext conftest.$ac_ext
27957 ac_res=`eval echo '${'$as_ac_var'}'`
27958 { echo "$as_me:$LINENO: result: $ac_res" >&5
27959 echo "${ECHO_T}$ac_res" >&6; }
27960 if test `eval echo '${'$as_ac_var'}'` = yes; then
27961 cat >>confdefs.h <<_ACEOF
27962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27968 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27969 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27970 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27971 { echo "$as_me:$LINENO: result: yes" >&5
27972 echo "${ECHO_T}yes" >&6; }
27974 { echo "$as_me:$LINENO: result: no" >&5
27975 echo "${ECHO_T}no" >&6; }
27976 # not sure we should warn the user, crash, etc.
27981 ac_cpp='$CXXCPP $CPPFLAGS'
27982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27986 if test "wxUSE_UNICODE" = "yes"; then
27988 for wx_func in wcstoull
27990 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27991 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27992 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27993 echo $ECHO_N "(cached) $ECHO_C" >&6
27996 cat >conftest.$ac_ext <<_ACEOF
28000 cat confdefs.h >>conftest.$ac_ext
28001 cat >>conftest.$ac_ext <<_ACEOF
28002 /* end confdefs.h. */
28005 $ac_includes_default
28021 rm -f conftest.$ac_objext conftest$ac_exeext
28022 if { (ac_try="$ac_link"
28023 case "(($ac_try" in
28024 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28025 *) ac_try_echo
=$ac_try;;
28027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28028 (eval "$ac_link") 2>conftest.er1
28030 grep -v '^ *+' conftest.er1
>conftest.err
28032 cat conftest.err
>&5
28033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28034 (exit $ac_status); } && {
28035 test -z "$ac_cxx_werror_flag" ||
28036 test ! -s conftest.err
28037 } && test -s conftest
$ac_exeext &&
28038 $as_test_x conftest
$ac_exeext; then
28039 eval wx_cv_func_
$wx_func=yes
28041 echo "$as_me: failed program was:" >&5
28042 sed 's/^/| /' conftest.
$ac_ext >&5
28044 eval wx_cv_func_
$wx_func=no
28047 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28048 conftest
$ac_exeext conftest.
$ac_ext
28051 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
28052 { echo "$as_me:$LINENO: result: $ac_res" >&5
28053 echo "${ECHO_T}$ac_res" >&6; }
28055 if eval test \
$wx_cv_func_$wx_func = yes
28057 cat >>confdefs.h
<<_ACEOF
28058 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28070 for wx_func
in strtoull
28072 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28073 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28074 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28075 echo $ECHO_N "(cached) $ECHO_C" >&6
28078 cat >conftest.
$ac_ext <<_ACEOF
28082 cat confdefs.h
>>conftest.
$ac_ext
28083 cat >>conftest.
$ac_ext <<_ACEOF
28084 /* end confdefs.h. */
28087 $ac_includes_default
28103 rm -f conftest.
$ac_objext conftest
$ac_exeext
28104 if { (ac_try
="$ac_link"
28105 case "(($ac_try" in
28106 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28107 *) ac_try_echo=$ac_try;;
28109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28110 (eval "$ac_link") 2>conftest.er1
28112 grep -v '^ *+' conftest.er1 >conftest.err
28114 cat conftest.err >&5
28115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28116 (exit $ac_status); } && {
28117 test -z "$ac_cxx_werror_flag" ||
28118 test ! -s conftest.err
28119 } && test -s conftest$ac_exeext &&
28120 $as_test_x conftest$ac_exeext; then
28121 eval wx_cv_func_$wx_func=yes
28123 echo "$as_me: failed program was:" >&5
28124 sed 's/^/| /' conftest.$ac_ext >&5
28126 eval wx_cv_func_$wx_func=no
28129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28130 conftest$ac_exeext conftest.$ac_ext
28133 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28134 { echo "$as_me:$LINENO: result: $ac_res" >&5
28135 echo "${ECHO_T}$ac_res" >&6; }
28137 if eval test \$wx_cv_func_$wx_func = yes
28139 cat >>confdefs.h <<_ACEOF
28140 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28152 ac_cpp='$CPP $CPPFLAGS'
28153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28160 if test "$wxUSE_REGEX" != "no"; then
28161 cat >>confdefs.h <<\_ACEOF
28162 #define wxUSE_REGEX 1
28166 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28167 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28168 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28169 wxUSE_REGEX=builtin
28172 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28173 { echo "$as_me:$LINENO: checking for regex.h" >&5
28174 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28175 if test "${ac_cv_header_regex_h+set}" = set; then
28176 echo $ECHO_N "(cached) $ECHO_C" >&6
28178 cat >conftest.$ac_ext <<_ACEOF
28181 cat confdefs.h >>conftest.$ac_ext
28182 cat >>conftest.$ac_ext <<_ACEOF
28183 /* end confdefs.h. */
28188 rm -f conftest.$ac_objext
28189 if { (ac_try="$ac_compile"
28190 case "(($ac_try" in
28191 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28192 *) ac_try_echo
=$ac_try;;
28194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28195 (eval "$ac_compile") 2>conftest.er1
28197 grep -v '^ *+' conftest.er1
>conftest.err
28199 cat conftest.err
>&5
28200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28201 (exit $ac_status); } && {
28202 test -z "$ac_c_werror_flag" ||
28203 test ! -s conftest.err
28204 } && test -s conftest.
$ac_objext; then
28205 ac_cv_header_regex_h
=yes
28207 echo "$as_me: failed program was:" >&5
28208 sed 's/^/| /' conftest.
$ac_ext >&5
28210 ac_cv_header_regex_h
=no
28213 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28215 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28216 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28217 if test $ac_cv_header_regex_h = yes; then
28220 for ac_func
in regcomp re_search
28222 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28223 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28225 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28226 echo $ECHO_N "(cached) $ECHO_C" >&6
28228 cat >conftest.
$ac_ext <<_ACEOF
28231 cat confdefs.h
>>conftest.
$ac_ext
28232 cat >>conftest.
$ac_ext <<_ACEOF
28233 /* end confdefs.h. */
28234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28236 #define $ac_func innocuous_$ac_func
28238 /* System header to define __stub macros and hopefully few prototypes,
28239 which can conflict with char $ac_func (); below.
28240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28241 <limits.h> exists even on freestanding compilers. */
28244 # include <limits.h>
28246 # include <assert.h>
28251 /* Override any GCC internal prototype to avoid an error.
28252 Use char because int might match the return type of a GCC
28253 builtin and then its argument prototype would still apply. */
28258 /* The GNU C library defines this for functions which it implements
28259 to always fail with ENOSYS. Some functions are actually named
28260 something starting with __ and the normal name is an alias. */
28261 #if defined __stub_$ac_func || defined __stub___$ac_func
28268 return $ac_func ();
28273 rm -f conftest.
$ac_objext conftest
$ac_exeext
28274 if { (ac_try
="$ac_link"
28275 case "(($ac_try" in
28276 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28277 *) ac_try_echo=$ac_try;;
28279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28280 (eval "$ac_link") 2>conftest.er1
28282 grep -v '^ *+' conftest.er1 >conftest.err
28284 cat conftest.err >&5
28285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28286 (exit $ac_status); } && {
28287 test -z "$ac_c_werror_flag" ||
28288 test ! -s conftest.err
28289 } && test -s conftest$ac_exeext &&
28290 $as_test_x conftest$ac_exeext; then
28291 eval "$as_ac_var=yes"
28293 echo "$as_me: failed program was:" >&5
28294 sed 's/^/| /' conftest.$ac_ext >&5
28296 eval "$as_ac_var=no"
28299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28300 conftest$ac_exeext conftest.$ac_ext
28302 ac_res=`eval echo '${'$as_ac_var'}'`
28303 { echo "$as_me:$LINENO: result: $ac_res" >&5
28304 echo "${ECHO_T}$ac_res" >&6; }
28305 if test `eval echo '${'$as_ac_var'}'` = yes; then
28306 cat >>confdefs.h <<_ACEOF
28307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28317 if test "x$ac_cv_func_regcomp" != "xyes"; then
28318 if test "$wxUSE_REGEX" = "sys" ; then
28319 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28320 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28321 { (exit 1); exit 1; }; }
28323 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28324 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28325 wxUSE_REGEX=builtin
28329 cat >>confdefs.h <<\_ACEOF
28330 #define WX_NO_REGEX_ADVANCED 1
28339 if test "$wxUSE_ZLIB" != "no" ; then
28340 cat >>confdefs.h <<\_ACEOF
28341 #define wxUSE_ZLIB 1
28345 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28346 if test "$USE_DARWIN" = 1; then
28347 system_zlib_h_ok="yes"
28349 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28350 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28351 if test "${ac_cv_header_zlib_h+set}" = set; then
28352 echo $ECHO_N "(cached) $ECHO_C" >&6
28354 if test "$cross_compiling" = yes; then
28355 unset ac_cv_header_zlib_h
28358 cat >conftest.$ac_ext <<_ACEOF
28361 cat confdefs.h >>conftest.$ac_ext
28362 cat >>conftest.$ac_ext <<_ACEOF
28363 /* end confdefs.h. */
28370 FILE *f=fopen("conftestval", "w");
28373 ZLIB_VERSION[0] == '1' &&
28374 (ZLIB_VERSION[2] > '1' ||
28375 (ZLIB_VERSION[2] == '1' &&
28376 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28381 rm -f conftest$ac_exeext
28382 if { (ac_try="$ac_link"
28383 case "(($ac_try" in
28384 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28385 *) ac_try_echo
=$ac_try;;
28387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28388 (eval "$ac_link") 2>&5
28390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28391 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28392 { (case "(($ac_try" in
28393 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28394 *) ac_try_echo=$ac_try;;
28396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28397 (eval "$ac_try") 2>&5
28399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28400 (exit $ac_status); }; }; then
28401 ac_cv_header_zlib_h=`cat conftestval
`
28403 echo "$as_me: program exited with status $ac_status" >&5
28404 echo "$as_me: failed program was:" >&5
28405 sed 's/^/| /' conftest.$ac_ext >&5
28407 ( exit $ac_status )
28408 ac_cv_header_zlib_h=no
28410 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28416 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28417 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28418 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28419 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28420 if test "${ac_cv_header_zlib_h+set}" = set; then
28421 echo $ECHO_N "(cached) $ECHO_C" >&6
28423 cat >conftest.$ac_ext <<_ACEOF
28426 cat confdefs.h >>conftest.$ac_ext
28427 cat >>conftest.$ac_ext <<_ACEOF
28428 /* end confdefs.h. */
28433 rm -f conftest.$ac_objext
28434 if { (ac_try="$ac_compile"
28435 case "(($ac_try" in
28436 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28437 *) ac_try_echo
=$ac_try;;
28439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28440 (eval "$ac_compile") 2>conftest.er1
28442 grep -v '^ *+' conftest.er1
>conftest.err
28444 cat conftest.err
>&5
28445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28446 (exit $ac_status); } && {
28447 test -z "$ac_c_werror_flag" ||
28448 test ! -s conftest.err
28449 } && test -s conftest.
$ac_objext; then
28450 ac_cv_header_zlib_h
=yes
28452 echo "$as_me: failed program was:" >&5
28453 sed 's/^/| /' conftest.
$ac_ext >&5
28455 ac_cv_header_zlib_h
=no
28458 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28460 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28461 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28465 system_zlib_h_ok
=$ac_cv_header_zlib_h
28468 if test "$system_zlib_h_ok" = "yes"; then
28469 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28470 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28471 if test "${ac_cv_lib_z_deflate+set}" = set; then
28472 echo $ECHO_N "(cached) $ECHO_C" >&6
28474 ac_check_lib_save_LIBS
=$LIBS
28476 cat >conftest.
$ac_ext <<_ACEOF
28479 cat confdefs.h
>>conftest.
$ac_ext
28480 cat >>conftest.
$ac_ext <<_ACEOF
28481 /* end confdefs.h. */
28483 /* Override any GCC internal prototype to avoid an error.
28484 Use char because int might match the return type of a GCC
28485 builtin and then its argument prototype would still apply. */
28498 rm -f conftest.
$ac_objext conftest
$ac_exeext
28499 if { (ac_try
="$ac_link"
28500 case "(($ac_try" in
28501 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28502 *) ac_try_echo=$ac_try;;
28504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28505 (eval "$ac_link") 2>conftest.er1
28507 grep -v '^ *+' conftest.er1 >conftest.err
28509 cat conftest.err >&5
28510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28511 (exit $ac_status); } && {
28512 test -z "$ac_c_werror_flag" ||
28513 test ! -s conftest.err
28514 } && test -s conftest$ac_exeext &&
28515 $as_test_x conftest$ac_exeext; then
28516 ac_cv_lib_z_deflate=yes
28518 echo "$as_me: failed program was:" >&5
28519 sed 's/^/| /' conftest.$ac_ext >&5
28521 ac_cv_lib_z_deflate=no
28524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28525 conftest$ac_exeext conftest.$ac_ext
28526 LIBS=$ac_check_lib_save_LIBS
28528 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28529 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28530 if test $ac_cv_lib_z_deflate = yes; then
28536 if test "x$ZLIB_LINK" = "x" ; then
28537 if test "$wxUSE_ZLIB" = "sys" ; then
28538 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28539 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28540 { (exit 1); exit 1; }; }
28542 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28543 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28554 if test "$wxUSE_LIBPNG" != "no" ; then
28555 cat >>confdefs.h <<\_ACEOF
28556 #define wxUSE_LIBPNG 1
28560 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28561 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28562 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28566 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28567 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28568 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28569 wxUSE_LIBPNG=builtin
28572 if test "$wxUSE_MGL" != 1 ; then
28573 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28574 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28575 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28576 if test "${ac_cv_header_png_h+set}" = set; then
28577 echo $ECHO_N "(cached) $ECHO_C" >&6
28579 if test "$cross_compiling" = yes; then
28580 unset ac_cv_header_png_h
28583 cat >conftest.$ac_ext <<_ACEOF
28586 cat confdefs.h >>conftest.$ac_ext
28587 cat >>conftest.$ac_ext <<_ACEOF
28588 /* end confdefs.h. */
28595 FILE *f=fopen("conftestval", "w");
28598 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28603 rm -f conftest$ac_exeext
28604 if { (ac_try="$ac_link"
28605 case "(($ac_try" in
28606 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28607 *) ac_try_echo
=$ac_try;;
28609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28610 (eval "$ac_link") 2>&5
28612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28613 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28614 { (case "(($ac_try" in
28615 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28616 *) ac_try_echo=$ac_try;;
28618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28619 (eval "$ac_try") 2>&5
28621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28622 (exit $ac_status); }; }; then
28623 ac_cv_header_png_h=`cat conftestval
`
28625 echo "$as_me: program exited with status $ac_status" >&5
28626 echo "$as_me: failed program was:" >&5
28627 sed 's/^/| /' conftest.$ac_ext >&5
28629 ( exit $ac_status )
28630 ac_cv_header_png_h=no
28632 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28638 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28639 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28640 { echo "$as_me:$LINENO: checking for png.h" >&5
28641 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28642 if test "${ac_cv_header_png_h+set}" = set; then
28643 echo $ECHO_N "(cached) $ECHO_C" >&6
28645 cat >conftest.$ac_ext <<_ACEOF
28648 cat confdefs.h >>conftest.$ac_ext
28649 cat >>conftest.$ac_ext <<_ACEOF
28650 /* end confdefs.h. */
28655 rm -f conftest.$ac_objext
28656 if { (ac_try="$ac_compile"
28657 case "(($ac_try" in
28658 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28659 *) ac_try_echo
=$ac_try;;
28661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28662 (eval "$ac_compile") 2>conftest.er1
28664 grep -v '^ *+' conftest.er1
>conftest.err
28666 cat conftest.err
>&5
28667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28668 (exit $ac_status); } && {
28669 test -z "$ac_c_werror_flag" ||
28670 test ! -s conftest.err
28671 } && test -s conftest.
$ac_objext; then
28672 ac_cv_header_png_h
=yes
28674 echo "$as_me: failed program was:" >&5
28675 sed 's/^/| /' conftest.
$ac_ext >&5
28677 ac_cv_header_png_h
=no
28680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28682 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28683 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28687 if test "$ac_cv_header_png_h" = "yes"; then
28688 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28689 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28690 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28691 echo $ECHO_N "(cached) $ECHO_C" >&6
28693 ac_check_lib_save_LIBS
=$LIBS
28694 LIBS
="-lpng -lz -lm $LIBS"
28695 cat >conftest.
$ac_ext <<_ACEOF
28698 cat confdefs.h
>>conftest.
$ac_ext
28699 cat >>conftest.
$ac_ext <<_ACEOF
28700 /* end confdefs.h. */
28702 /* Override any GCC internal prototype to avoid an error.
28703 Use char because int might match the return type of a GCC
28704 builtin and then its argument prototype would still apply. */
28708 char png_check_sig ();
28712 return png_check_sig ();
28717 rm -f conftest.
$ac_objext conftest
$ac_exeext
28718 if { (ac_try
="$ac_link"
28719 case "(($ac_try" in
28720 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28721 *) ac_try_echo=$ac_try;;
28723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28724 (eval "$ac_link") 2>conftest.er1
28726 grep -v '^ *+' conftest.er1 >conftest.err
28728 cat conftest.err >&5
28729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28730 (exit $ac_status); } && {
28731 test -z "$ac_c_werror_flag" ||
28732 test ! -s conftest.err
28733 } && test -s conftest$ac_exeext &&
28734 $as_test_x conftest$ac_exeext; then
28735 ac_cv_lib_png_png_check_sig=yes
28737 echo "$as_me: failed program was:" >&5
28738 sed 's/^/| /' conftest.$ac_ext >&5
28740 ac_cv_lib_png_png_check_sig=no
28743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28744 conftest$ac_exeext conftest.$ac_ext
28745 LIBS=$ac_check_lib_save_LIBS
28747 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
28748 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
28749 if test $ac_cv_lib_png_png_check_sig = yes; then
28750 PNG_LINK=" -lpng -lz"
28755 if test "x$PNG_LINK" = "x" ; then
28756 if test "$wxUSE_LIBPNG" = "sys" ; then
28757 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28758 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28759 { (exit 1); exit 1; }; }
28761 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28762 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28763 wxUSE_LIBPNG=builtin
28771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
28776 if test "$wxUSE_LIBJPEG" != "no" ; then
28777 cat >>confdefs.h <<\_ACEOF
28778 #define wxUSE_LIBJPEG 1
28782 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28783 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28784 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28788 if test "$wxUSE_MGL" != 1 ; then
28789 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28790 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28791 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28792 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28793 echo $ECHO_N "(cached) $ECHO_C" >&6
28795 cat >conftest.$ac_ext <<_ACEOF
28798 cat confdefs.h >>conftest.$ac_ext
28799 cat >>conftest.$ac_ext <<_ACEOF
28800 /* end confdefs.h. */
28802 #undef HAVE_STDLIB_H
28804 #include <jpeglib.h>
28815 rm -f conftest.$ac_objext
28816 if { (ac_try="$ac_compile"
28817 case "(($ac_try" in
28818 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28819 *) ac_try_echo
=$ac_try;;
28821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28822 (eval "$ac_compile") 2>conftest.er1
28824 grep -v '^ *+' conftest.er1
>conftest.err
28826 cat conftest.err
>&5
28827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28828 (exit $ac_status); } && {
28829 test -z "$ac_c_werror_flag" ||
28830 test ! -s conftest.err
28831 } && test -s conftest.
$ac_objext; then
28832 ac_cv_header_jpeglib_h
=yes
28834 echo "$as_me: failed program was:" >&5
28835 sed 's/^/| /' conftest.
$ac_ext >&5
28837 ac_cv_header_jpeglib_h
=no
28841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28845 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28846 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28848 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28849 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28850 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28851 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28852 echo $ECHO_N "(cached) $ECHO_C" >&6
28854 ac_check_lib_save_LIBS
=$LIBS
28855 LIBS
="-ljpeg $LIBS"
28856 cat >conftest.
$ac_ext <<_ACEOF
28859 cat confdefs.h
>>conftest.
$ac_ext
28860 cat >>conftest.
$ac_ext <<_ACEOF
28861 /* end confdefs.h. */
28863 /* Override any GCC internal prototype to avoid an error.
28864 Use char because int might match the return type of a GCC
28865 builtin and then its argument prototype would still apply. */
28869 char jpeg_read_header ();
28873 return jpeg_read_header ();
28878 rm -f conftest.
$ac_objext conftest
$ac_exeext
28879 if { (ac_try
="$ac_link"
28880 case "(($ac_try" in
28881 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28882 *) ac_try_echo=$ac_try;;
28884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28885 (eval "$ac_link") 2>conftest.er1
28887 grep -v '^ *+' conftest.er1 >conftest.err
28889 cat conftest.err >&5
28890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28891 (exit $ac_status); } && {
28892 test -z "$ac_c_werror_flag" ||
28893 test ! -s conftest.err
28894 } && test -s conftest$ac_exeext &&
28895 $as_test_x conftest$ac_exeext; then
28896 ac_cv_lib_jpeg_jpeg_read_header=yes
28898 echo "$as_me: failed program was:" >&5
28899 sed 's/^/| /' conftest.$ac_ext >&5
28901 ac_cv_lib_jpeg_jpeg_read_header=no
28904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28905 conftest$ac_exeext conftest.$ac_ext
28906 LIBS=$ac_check_lib_save_LIBS
28908 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28909 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28910 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28911 JPEG_LINK=" -ljpeg"
28916 if test "x$JPEG_LINK" = "x" ; then
28917 if test "$wxUSE_LIBJPEG" = "sys" ; then
28918 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28919 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28920 { (exit 1); exit 1; }; }
28922 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28923 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28924 wxUSE_LIBJPEG=builtin
28929 if test "$wxUSE_MSW" = 1; then
28930 { echo "$as_me:$LINENO: checking for boolean" >&5
28931 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28932 if test "${ac_cv_type_boolean+set}" = set; then
28933 echo $ECHO_N "(cached) $ECHO_C" >&6
28935 cat >conftest.$ac_ext <<_ACEOF
28938 cat confdefs.h >>conftest.$ac_ext
28939 cat >>conftest.$ac_ext <<_ACEOF
28940 /* end confdefs.h. */
28941 #include <windows.h>
28943 typedef boolean ac__type_new_;
28947 if ((ac__type_new_ *) 0)
28949 if (sizeof (ac__type_new_))
28955 rm -f conftest.$ac_objext
28956 if { (ac_try="$ac_compile"
28957 case "(($ac_try" in
28958 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28959 *) ac_try_echo
=$ac_try;;
28961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28962 (eval "$ac_compile") 2>conftest.er1
28964 grep -v '^ *+' conftest.er1
>conftest.err
28966 cat conftest.err
>&5
28967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28968 (exit $ac_status); } && {
28969 test -z "$ac_c_werror_flag" ||
28970 test ! -s conftest.err
28971 } && test -s conftest.
$ac_objext; then
28972 ac_cv_type_boolean
=yes
28974 echo "$as_me: failed program was:" >&5
28975 sed 's/^/| /' conftest.
$ac_ext >&5
28977 ac_cv_type_boolean
=no
28980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28982 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28983 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28984 if test $ac_cv_type_boolean = yes; then
28986 cat >>confdefs.h
<<_ACEOF
28987 #define HAVE_BOOLEAN 1
28991 { echo "$as_me:$LINENO: checking for boolean" >&5
28992 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28993 if test "${ac_cv_type_boolean+set}" = set; then
28994 echo $ECHO_N "(cached) $ECHO_C" >&6
28996 cat >conftest.
$ac_ext <<_ACEOF
28999 cat confdefs.h
>>conftest.
$ac_ext
29000 cat >>conftest.
$ac_ext <<_ACEOF
29001 /* end confdefs.h. */
29003 #undef HAVE_BOOLEAN
29005 #include <jpeglib.h>
29008 typedef boolean ac__type_new_;
29012 if ((ac__type_new_ *) 0)
29014 if (sizeof (ac__type_new_))
29020 rm -f conftest.
$ac_objext
29021 if { (ac_try
="$ac_compile"
29022 case "(($ac_try" in
29023 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29024 *) ac_try_echo=$ac_try;;
29026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29027 (eval "$ac_compile") 2>conftest.er1
29029 grep -v '^ *+' conftest.er1 >conftest.err
29031 cat conftest.err >&5
29032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29033 (exit $ac_status); } && {
29034 test -z "$ac_c_werror_flag" ||
29035 test ! -s conftest.err
29036 } && test -s conftest.$ac_objext; then
29037 ac_cv_type_boolean=yes
29039 echo "$as_me: failed program was:" >&5
29040 sed 's/^/| /' conftest.$ac_ext >&5
29042 ac_cv_type_boolean=no
29045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29047 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29048 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29050 # The cast to long int works around a bug in the HP C Compiler
29051 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29052 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
29053 # This bug is HP SR number 8606223364.
29054 { echo "$as_me:$LINENO: checking size of boolean" >&5
29055 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29056 if test "${ac_cv_sizeof_boolean+set}" = set; then
29057 echo $ECHO_N "(cached) $ECHO_C" >&6
29059 if test "$cross_compiling" = yes; then
29060 # Depending upon the size, compute the lo and hi bounds.
29061 cat >conftest.$ac_ext <<_ACEOF
29064 cat confdefs.h >>conftest.$ac_ext
29065 cat >>conftest.$ac_ext <<_ACEOF
29066 /* end confdefs.h. */
29068 #undef HAVE_BOOLEAN
29070 #include <jpeglib.h>
29073 typedef boolean ac__type_sizeof_;
29077 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29084 rm -f conftest.$ac_objext
29085 if { (ac_try="$ac_compile"
29086 case "(($ac_try" in
29087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29088 *) ac_try_echo=$ac_try;;
29090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29091 (eval "$ac_compile") 2>conftest.er1
29093 grep -v '^
*+' conftest.er1 >conftest.err
29095 cat conftest.err >&5
29096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29097 (exit $ac_status); } && {
29098 test -z "$ac_c_werror_flag" ||
29099 test ! -s conftest.err
29100 } && test -s conftest.$ac_objext; then
29103 cat >conftest.$ac_ext <<_ACEOF
29106 cat confdefs.h >>conftest.$ac_ext
29107 cat >>conftest.$ac_ext <<_ACEOF
29108 /* end confdefs.h. */
29110 #undef HAVE_BOOLEAN
29112 #include <jpeglib.h>
29115 typedef boolean ac__type_sizeof_;
29119 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29126 rm -f conftest.$ac_objext
29127 if { (ac_try="$ac_compile"
29128 case "(($ac_try" in
29129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29130 *) ac_try_echo=$ac_try;;
29132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29133 (eval "$ac_compile") 2>conftest.er1
29135 grep -v '^
*+' conftest.er1 >conftest.err
29137 cat conftest.err >&5
29138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29139 (exit $ac_status); } && {
29140 test -z "$ac_c_werror_flag" ||
29141 test ! -s conftest.err
29142 } && test -s conftest.$ac_objext; then
29143 ac_hi=$ac_mid; break
29145 echo "$as_me: failed program was:" >&5
29146 sed 's
/^
/| /' conftest.$ac_ext >&5
29148 ac_lo=`expr $ac_mid + 1`
29149 if test $ac_lo -le $ac_mid; then
29153 ac_mid=`expr 2 '*' $ac_mid + 1`
29156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29159 echo "$as_me: failed program was:" >&5
29160 sed 's
/^
/| /' conftest.$ac_ext >&5
29162 cat >conftest.$ac_ext <<_ACEOF
29165 cat confdefs.h >>conftest.$ac_ext
29166 cat >>conftest.$ac_ext <<_ACEOF
29167 /* end confdefs.h. */
29169 #undef HAVE_BOOLEAN
29171 #include <jpeglib.h>
29174 typedef boolean ac__type_sizeof_;
29178 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29185 rm -f conftest.$ac_objext
29186 if { (ac_try="$ac_compile"
29187 case "(($ac_try" in
29188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29189 *) ac_try_echo=$ac_try;;
29191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29192 (eval "$ac_compile") 2>conftest.er1
29194 grep -v '^
*+' conftest.er1 >conftest.err
29196 cat conftest.err >&5
29197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29198 (exit $ac_status); } && {
29199 test -z "$ac_c_werror_flag" ||
29200 test ! -s conftest.err
29201 } && test -s conftest.$ac_objext; then
29204 cat >conftest.$ac_ext <<_ACEOF
29207 cat confdefs.h >>conftest.$ac_ext
29208 cat >>conftest.$ac_ext <<_ACEOF
29209 /* end confdefs.h. */
29211 #undef HAVE_BOOLEAN
29213 #include <jpeglib.h>
29216 typedef boolean ac__type_sizeof_;
29220 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29227 rm -f conftest.$ac_objext
29228 if { (ac_try="$ac_compile"
29229 case "(($ac_try" in
29230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29231 *) ac_try_echo=$ac_try;;
29233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29234 (eval "$ac_compile") 2>conftest.er1
29236 grep -v '^
*+' conftest.er1 >conftest.err
29238 cat conftest.err >&5
29239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29240 (exit $ac_status); } && {
29241 test -z "$ac_c_werror_flag" ||
29242 test ! -s conftest.err
29243 } && test -s conftest.$ac_objext; then
29244 ac_lo=$ac_mid; break
29246 echo "$as_me: failed program was:" >&5
29247 sed 's
/^
/| /' conftest.$ac_ext >&5
29249 ac_hi=`expr '(' $ac_mid ')' - 1`
29250 if test $ac_mid -le $ac_hi; then
29254 ac_mid=`expr 2 '*' $ac_mid`
29257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29260 echo "$as_me: failed program was:" >&5
29261 sed 's
/^
/| /' conftest.$ac_ext >&5
29266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29270 # Binary search between lo and hi bounds.
29271 while test "x$ac_lo" != "x$ac_hi"; do
29272 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29273 cat >conftest.$ac_ext <<_ACEOF
29276 cat confdefs.h >>conftest.$ac_ext
29277 cat >>conftest.$ac_ext <<_ACEOF
29278 /* end confdefs.h. */
29280 #undef HAVE_BOOLEAN
29282 #include <jpeglib.h>
29285 typedef boolean ac__type_sizeof_;
29289 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29296 rm -f conftest.$ac_objext
29297 if { (ac_try="$ac_compile"
29298 case "(($ac_try" in
29299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29300 *) ac_try_echo=$ac_try;;
29302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29303 (eval "$ac_compile") 2>conftest.er1
29305 grep -v '^
*+' conftest.er1 >conftest.err
29307 cat conftest.err >&5
29308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29309 (exit $ac_status); } && {
29310 test -z "$ac_c_werror_flag" ||
29311 test ! -s conftest.err
29312 } && test -s conftest.$ac_objext; then
29315 echo "$as_me: failed program was:" >&5
29316 sed 's
/^
/| /' conftest.$ac_ext >&5
29318 ac_lo=`expr '(' $ac_mid ')' + 1`
29321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29324 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29325 '') if test "$ac_cv_type_boolean" = yes; then
29326 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29327 See \`config.log' for more details.
" >&5
29328 echo "$as_me: error
: cannot compute sizeof
(boolean
)
29329 See \
`config.log' for more details." >&2;}
29330 { (exit 77); exit 77; }; }
29332 ac_cv_sizeof_boolean=0
29336 cat >conftest.$ac_ext <<_ACEOF
29339 cat confdefs.h >>conftest.$ac_ext
29340 cat >>conftest.$ac_ext <<_ACEOF
29341 /* end confdefs.h. */
29343 #undef HAVE_BOOLEAN
29345 #include <jpeglib.h>
29348 typedef boolean ac__type_sizeof_;
29349 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29350 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29352 #include <stdlib.h>
29357 FILE *f = fopen ("conftest.val", "w");
29360 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29362 long int i = longval ();
29363 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29365 fprintf (f, "%ld\n", i);
29369 unsigned long int i = ulongval ();
29370 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29372 fprintf (f, "%lu\n", i);
29374 return ferror (f) || fclose (f) != 0;
29380 rm -f conftest$ac_exeext
29381 if { (ac_try="$ac_link"
29382 case "(($ac_try" in
29383 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29384 *) ac_try_echo
=$ac_try;;
29386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29387 (eval "$ac_link") 2>&5
29389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29390 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29391 { (case "(($ac_try" in
29392 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29393 *) ac_try_echo=$ac_try;;
29395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29396 (eval "$ac_try") 2>&5
29398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29399 (exit $ac_status); }; }; then
29400 ac_cv_sizeof_boolean=`cat conftest.val
`
29402 echo "$as_me: program exited with status $ac_status" >&5
29403 echo "$as_me: failed program was:" >&5
29404 sed 's/^/| /' conftest.$ac_ext >&5
29406 ( exit $ac_status )
29407 if test "$ac_cv_type_boolean" = yes; then
29408 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29409 See \`config.log
' for more details." >&5
29410 echo "$as_me: error: cannot compute sizeof (boolean)
29411 See \`config.log' for more details.
" >&2;}
29412 { (exit 77); exit 77; }; }
29414 ac_cv_sizeof_boolean=0
29417 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29421 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
29422 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29426 cat >>confdefs.h <<_ACEOF
29427 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29431 cat >>confdefs.h <<_ACEOF
29432 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29446 TIFF_PREREQ_LINKS=-lm
29447 if test "$wxUSE_LIBTIFF" != "no
" ; then
29448 cat >>confdefs.h <<\_ACEOF
29449 #define wxUSE_LIBTIFF 1
29453 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
29454 if test "$wxUSE_LIBJPEG" = "sys
"; then
29455 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29457 if test "$wxUSE_ZLIB" = "sys
"; then
29458 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29460 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
29461 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
29462 if test "${ac_cv_header_tiffio_h+set}" = set; then
29463 echo $ECHO_N "(cached
) $ECHO_C" >&6
29465 cat >conftest.$ac_ext <<_ACEOF
29468 cat confdefs.h >>conftest.$ac_ext
29469 cat >>conftest.$ac_ext <<_ACEOF
29470 /* end confdefs.h. */
29474 #include <tiffio.h>
29476 rm -f conftest.$ac_objext
29477 if { (ac_try="$ac_compile"
29478 case "(($ac_try" in
29479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29480 *) ac_try_echo=$ac_try;;
29482 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29483 (eval "$ac_compile") 2>conftest.er1
29485 grep -v '^ *+' conftest.er1 >conftest.err
29487 cat conftest.err >&5
29488 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29489 (exit $ac_status); } && {
29490 test -z "$ac_c_werror_flag" ||
29491 test ! -s conftest.err
29492 } && test -s conftest.$ac_objext; then
29493 ac_cv_header_tiffio_h=yes
29495 echo "$as_me: failed program was
:" >&5
29496 sed 's/^/| /' conftest.$ac_ext >&5
29498 ac_cv_header_tiffio_h=no
29501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29503 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
29504 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29505 if test $ac_cv_header_tiffio_h = yes; then
29507 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
29508 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
29509 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29510 echo $ECHO_N "(cached
) $ECHO_C" >&6
29512 ac_check_lib_save_LIBS=$LIBS
29513 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29514 cat >conftest.$ac_ext <<_ACEOF
29517 cat confdefs.h >>conftest.$ac_ext
29518 cat >>conftest.$ac_ext <<_ACEOF
29519 /* end confdefs.h. */
29521 /* Override any GCC internal prototype to avoid an error.
29522 Use char because int might match the return type of a GCC
29523 builtin and then its argument prototype would still apply. */
29531 return TIFFError ();
29536 rm -f conftest.$ac_objext conftest$ac_exeext
29537 if { (ac_try="$ac_link"
29538 case "(($ac_try" in
29539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29540 *) ac_try_echo=$ac_try;;
29542 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29543 (eval "$ac_link") 2>conftest.er1
29545 grep -v '^ *+' conftest.er1 >conftest.err
29547 cat conftest.err >&5
29548 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29549 (exit $ac_status); } && {
29550 test -z "$ac_c_werror_flag" ||
29551 test ! -s conftest.err
29552 } && test -s conftest$ac_exeext &&
29553 $as_test_x conftest$ac_exeext; then
29554 ac_cv_lib_tiff_TIFFError=yes
29556 echo "$as_me: failed program was
:" >&5
29557 sed 's/^/| /' conftest.$ac_ext >&5
29559 ac_cv_lib_tiff_TIFFError=no
29562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29563 conftest$ac_exeext conftest.$ac_ext
29564 LIBS=$ac_check_lib_save_LIBS
29566 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
29567 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29568 if test $ac_cv_lib_tiff_TIFFError = yes; then
29569 TIFF_LINK=" -ltiff"
29577 if test "x
$TIFF_LINK" = "x
" ; then
29578 if test "$wxUSE_LIBTIFF" = "sys
" ; then
29579 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
29580 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
29581 { (exit 1); exit 1; }; }
29583 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
29584 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
29585 wxUSE_LIBTIFF=builtin
29594 if test "$wxUSE_WCHAR_T" != "yes"; then
29595 if test "$wxUSE_EXPAT" != "no
"; then
29596 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
29597 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
29600 if test "$wxUSE_XML" != "no
"; then
29601 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
29602 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
29607 if test "$wxUSE_EXPAT" != "no
"; then
29609 cat >>confdefs.h <<\_ACEOF
29610 #define wxUSE_EXPAT 1
29613 cat >>confdefs.h <<\_ACEOF
29614 #define wxUSE_XML 1
29618 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
29619 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
29620 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
29621 if test "${ac_cv_header_expat_h+set}" = set; then
29622 echo $ECHO_N "(cached
) $ECHO_C" >&6
29624 cat >conftest.$ac_ext <<_ACEOF
29627 cat confdefs.h >>conftest.$ac_ext
29628 cat >>conftest.$ac_ext <<_ACEOF
29629 /* end confdefs.h. */
29634 rm -f conftest.$ac_objext
29635 if { (ac_try="$ac_compile"
29636 case "(($ac_try" in
29637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29638 *) ac_try_echo=$ac_try;;
29640 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29641 (eval "$ac_compile") 2>conftest.er1
29643 grep -v '^ *+' conftest.er1 >conftest.err
29645 cat conftest.err >&5
29646 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29647 (exit $ac_status); } && {
29648 test -z "$ac_c_werror_flag" ||
29649 test ! -s conftest.err
29650 } && test -s conftest.$ac_objext; then
29651 ac_cv_header_expat_h=yes
29653 echo "$as_me: failed program was
:" >&5
29654 sed 's/^/| /' conftest.$ac_ext >&5
29656 ac_cv_header_expat_h=no
29659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29661 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
29662 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29663 if test $ac_cv_header_expat_h = yes; then
29668 if test "x
$found_expat_h" = "x1
"; then
29669 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
29670 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
29671 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29672 echo $ECHO_N "(cached
) $ECHO_C" >&6
29676 ac_cpp='$CXXCPP $CPPFLAGS'
29677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29681 cat >conftest.$ac_ext <<_ACEOF
29684 cat confdefs.h >>conftest.$ac_ext
29685 cat >>conftest.$ac_ext <<_ACEOF
29686 /* end confdefs.h. */
29696 rm -f conftest.$ac_objext
29697 if { (ac_try="$ac_compile"
29698 case "(($ac_try" in
29699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29700 *) ac_try_echo=$ac_try;;
29702 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29703 (eval "$ac_compile") 2>conftest.er1
29705 grep -v '^ *+' conftest.er1 >conftest.err
29707 cat conftest.err >&5
29708 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29709 (exit $ac_status); } && {
29710 test -z "$ac_cxx_werror_flag" ||
29711 test ! -s conftest.err
29712 } && test -s conftest.$ac_objext; then
29713 wx_cv_expat_is_not_broken=yes
29715 echo "$as_me: failed program was
:" >&5
29716 sed 's/^/| /' conftest.$ac_ext >&5
29718 wx_cv_expat_is_not_broken=no
29722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29724 ac_cpp='$CPP $CPPFLAGS'
29725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29732 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
29733 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29734 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29735 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
29736 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
29737 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29738 echo $ECHO_N "(cached
) $ECHO_C" >&6
29740 ac_check_lib_save_LIBS=$LIBS
29741 LIBS="-lexpat $LIBS"
29742 cat >conftest.$ac_ext <<_ACEOF
29745 cat confdefs.h >>conftest.$ac_ext
29746 cat >>conftest.$ac_ext <<_ACEOF
29747 /* end confdefs.h. */
29749 /* Override any GCC internal prototype to avoid an error.
29750 Use char because int might match the return type of a GCC
29751 builtin and then its argument prototype would still apply. */
29755 char XML_ParserCreate ();
29759 return XML_ParserCreate ();
29764 rm -f conftest.$ac_objext conftest$ac_exeext
29765 if { (ac_try="$ac_link"
29766 case "(($ac_try" in
29767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29768 *) ac_try_echo=$ac_try;;
29770 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29771 (eval "$ac_link") 2>conftest.er1
29773 grep -v '^ *+' conftest.er1 >conftest.err
29775 cat conftest.err >&5
29776 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29777 (exit $ac_status); } && {
29778 test -z "$ac_c_werror_flag" ||
29779 test ! -s conftest.err
29780 } && test -s conftest$ac_exeext &&
29781 $as_test_x conftest$ac_exeext; then
29782 ac_cv_lib_expat_XML_ParserCreate=yes
29784 echo "$as_me: failed program was
:" >&5
29785 sed 's/^/| /' conftest.$ac_ext >&5
29787 ac_cv_lib_expat_XML_ParserCreate=no
29790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29791 conftest$ac_exeext conftest.$ac_ext
29792 LIBS=$ac_check_lib_save_LIBS
29794 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
29795 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29796 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29797 EXPAT_LINK=" -lexpat"
29802 if test "x
$EXPAT_LINK" = "x
" ; then
29803 if test "$wxUSE_EXPAT" = "sys
" ; then
29804 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
29805 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
29806 { (exit 1); exit 1; }; }
29808 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
29809 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
29810 wxUSE_EXPAT=builtin
29816 if test "$wxUSE_EXPAT" = "builtin" ; then
29817 subdirs="$subdirs src
/expat
"
29824 if test "$wxUSE_LIBMSPACK" != "no
"; then
29825 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
29826 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
29827 if test "${ac_cv_header_mspack_h+set}" = set; then
29828 echo $ECHO_N "(cached
) $ECHO_C" >&6
29830 cat >conftest.$ac_ext <<_ACEOF
29833 cat confdefs.h >>conftest.$ac_ext
29834 cat >>conftest.$ac_ext <<_ACEOF
29835 /* end confdefs.h. */
29838 #include <mspack.h>
29840 rm -f conftest.$ac_objext
29841 if { (ac_try="$ac_compile"
29842 case "(($ac_try" in
29843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29844 *) ac_try_echo=$ac_try;;
29846 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29847 (eval "$ac_compile") 2>conftest.er1
29849 grep -v '^ *+' conftest.er1 >conftest.err
29851 cat conftest.err >&5
29852 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29853 (exit $ac_status); } && {
29854 test -z "$ac_c_werror_flag" ||
29855 test ! -s conftest.err
29856 } && test -s conftest.$ac_objext; then
29857 ac_cv_header_mspack_h=yes
29859 echo "$as_me: failed program was
:" >&5
29860 sed 's/^/| /' conftest.$ac_ext >&5
29862 ac_cv_header_mspack_h=no
29865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29867 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
29868 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29869 if test $ac_cv_header_mspack_h = yes; then
29874 if test "x
$found_mspack_h" = "x1
"; then
29875 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
29876 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
29877 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29878 echo $ECHO_N "(cached
) $ECHO_C" >&6
29880 ac_check_lib_save_LIBS=$LIBS
29881 LIBS="-lmspack $LIBS"
29882 cat >conftest.$ac_ext <<_ACEOF
29885 cat confdefs.h >>conftest.$ac_ext
29886 cat >>conftest.$ac_ext <<_ACEOF
29887 /* end confdefs.h. */
29889 /* Override any GCC internal prototype to avoid an error.
29890 Use char because int might match the return type of a GCC
29891 builtin and then its argument prototype would still apply. */
29895 char mspack_create_chm_decompressor ();
29899 return mspack_create_chm_decompressor ();
29904 rm -f conftest.$ac_objext conftest$ac_exeext
29905 if { (ac_try="$ac_link"
29906 case "(($ac_try" in
29907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29908 *) ac_try_echo=$ac_try;;
29910 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29911 (eval "$ac_link") 2>conftest.er1
29913 grep -v '^ *+' conftest.er1 >conftest.err
29915 cat conftest.err >&5
29916 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29917 (exit $ac_status); } && {
29918 test -z "$ac_c_werror_flag" ||
29919 test ! -s conftest.err
29920 } && test -s conftest$ac_exeext &&
29921 $as_test_x conftest$ac_exeext; then
29922 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29924 echo "$as_me: failed program was
:" >&5
29925 sed 's/^/| /' conftest.$ac_ext >&5
29927 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29931 conftest$ac_exeext conftest.$ac_ext
29932 LIBS=$ac_check_lib_save_LIBS
29934 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29935 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29936 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29937 MSPACK_LINK=" -lmspack"
29941 if test "x
$MSPACK_LINK" = "x
" ; then
29946 if test "$wxUSE_LIBMSPACK" != "no
"; then
29947 cat >>confdefs.h <<\_ACEOF
29948 #define wxUSE_LIBMSPACK 1
29962 if test "$USE_WIN32" = 1 ; then
29963 { echo "$as_me:$LINENO: checking
for w32api.h
" >&5
29964 echo $ECHO_N "checking
for w32api.h...
$ECHO_C" >&6; }
29965 if test "${ac_cv_header_w32api_h+set}" = set; then
29966 echo $ECHO_N "(cached
) $ECHO_C" >&6
29968 cat >conftest.$ac_ext <<_ACEOF
29971 cat confdefs.h >>conftest.$ac_ext
29972 cat >>conftest.$ac_ext <<_ACEOF
29973 /* end confdefs.h. */
29976 #include <w32api.h>
29978 rm -f conftest.$ac_objext
29979 if { (ac_try="$ac_compile"
29980 case "(($ac_try" in
29981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29982 *) ac_try_echo=$ac_try;;
29984 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29985 (eval "$ac_compile") 2>conftest.er1
29987 grep -v '^ *+' conftest.er1 >conftest.err
29989 cat conftest.err >&5
29990 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29991 (exit $ac_status); } && {
29992 test -z "$ac_c_werror_flag" ||
29993 test ! -s conftest.err
29994 } && test -s conftest.$ac_objext; then
29995 ac_cv_header_w32api_h=yes
29997 echo "$as_me: failed program was
:" >&5
29998 sed 's/^/| /' conftest.$ac_ext >&5
30000 ac_cv_header_w32api_h=no
30003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30005 { echo "$as_me:$LINENO: result
: $ac_cv_header_w32api_h" >&5
30006 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
30009 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
30010 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
30011 if test "${ac_cv_header_windows_h+set}" = set; then
30012 echo $ECHO_N "(cached
) $ECHO_C" >&6
30014 cat >conftest.$ac_ext <<_ACEOF
30017 cat confdefs.h >>conftest.$ac_ext
30018 cat >>conftest.$ac_ext <<_ACEOF
30019 /* end confdefs.h. */
30022 #include <windows.h>
30024 rm -f conftest.$ac_objext
30025 if { (ac_try="$ac_compile"
30026 case "(($ac_try" in
30027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30028 *) ac_try_echo=$ac_try;;
30030 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30031 (eval "$ac_compile") 2>conftest.er1
30033 grep -v '^ *+' conftest.er1 >conftest.err
30035 cat conftest.err >&5
30036 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30037 (exit $ac_status); } && {
30038 test -z "$ac_c_werror_flag" ||
30039 test ! -s conftest.err
30040 } && test -s conftest.$ac_objext; then
30041 ac_cv_header_windows_h=yes
30043 echo "$as_me: failed program was
:" >&5
30044 sed 's/^/| /' conftest.$ac_ext >&5
30046 ac_cv_header_windows_h=no
30049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30051 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
30052 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30053 if test $ac_cv_header_windows_h = yes; then
30057 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
30058 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
30059 { (exit 1); exit 1; }; }
30065 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30067 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30068 LIBS="$LIBS -loleacc"
30073 LIBS="$LIBS -lkernel32 -luser32"
30076 if test "$wxUSE_ODBC" = "sys
" ; then
30079 if test "$wxUSE_ODBC" = "yes" ; then
30080 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
30081 cat >>confdefs.h <<\_ACEOF
30082 #define wxUSE_ODBC 1
30087 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
30088 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
30090 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
30092 WIN32INSTALL=win32install
30094 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
30095 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
30096 if test "${ac_cv_header_pbt_h+set}" = set; then
30097 echo $ECHO_N "(cached
) $ECHO_C" >&6
30099 cat >conftest.$ac_ext <<_ACEOF
30102 cat confdefs.h >>conftest.$ac_ext
30103 cat >>conftest.$ac_ext <<_ACEOF
30104 /* end confdefs.h. */
30109 rm -f conftest.$ac_objext
30110 if { (ac_try="$ac_compile"
30111 case "(($ac_try" in
30112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30113 *) ac_try_echo=$ac_try;;
30115 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30116 (eval "$ac_compile") 2>conftest.er1
30118 grep -v '^ *+' conftest.er1 >conftest.err
30120 cat conftest.err >&5
30121 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30122 (exit $ac_status); } && {
30123 test -z "$ac_c_werror_flag" ||
30124 test ! -s conftest.err
30125 } && test -s conftest.$ac_objext; then
30126 ac_cv_header_pbt_h=yes
30128 echo "$as_me: failed program was
:" >&5
30129 sed 's/^/| /' conftest.$ac_ext >&5
30131 ac_cv_header_pbt_h=no
30134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30136 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
30137 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30138 if test $ac_cv_header_pbt_h = yes; then
30141 cat >>confdefs.h <<\_ACEOF
30142 #define NEED_PBT_H 1
30150 if test "$wxUSE_GUI" = "yes"; then
30160 if test "$wxUSE_COCOA" = 1 ; then
30161 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30162 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
30163 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
30164 wxUSE_PRINTING_ARCHITECTURE=no
30166 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30167 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
30168 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
30169 wxUSE_DRAG_AND_DROP=no
30171 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30172 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
30173 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
30178 if test "$wxUSE_MSW" = 1 ; then
30184 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
30188 if test "$wxUSE_GTK" = 1; then
30189 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
30190 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
30192 gtk_version_cached=1
30193 if test "${wx_cv_lib_gtk+set}" = set; then
30194 echo $ECHO_N "(cached
) $ECHO_C" >&6
30197 gtk_version_cached=0
30198 { echo "$as_me:$LINENO: result
: " >&5
30199 echo "${ECHO_T}" >&6; }
30202 if test "$wxUSE_THREADS" = "yes"; then
30203 GTK_MODULES=gthread
30207 if test "x
$wxGTK_VERSION" != "x1
"
30211 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30216 # Check whether --enable-gtktest was given.
30217 if test "${enable_gtktest+set}" = set; then
30218 enableval=$enable_gtktest;
30224 pkg_config_args=gtk+-2.0
30225 for module in . $GTK_MODULES
30229 pkg_config_args="$pkg_config_args gthread
-2.0
"
30236 # Extract the first word of "pkg
-config", so it can be a program name with args.
30237 set dummy pkg-config; ac_word=$2
30238 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30239 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30240 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30241 echo $ECHO_N "(cached
) $ECHO_C" >&6
30243 case $PKG_CONFIG in
30245 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30249 for as_dir in $PATH
30252 test -z "$as_dir" && as_dir=.
30253 for ac_exec_ext in '' $ac_executable_extensions; do
30254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30255 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30256 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30263 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
30267 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30268 if test -n "$PKG_CONFIG"; then
30269 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
30270 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30272 { echo "$as_me:$LINENO: result
: no
" >&5
30273 echo "${ECHO_T}no
" >&6; }
30278 if test x$PKG_CONFIG != xno ; then
30279 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30282 echo "*** pkg
-config too old
; version
0.7 or better required.
"
30290 min_gtk_version=2.0.0
30291 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
30292 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
30294 if test x$PKG_CONFIG != xno ; then
30295 ## don't try to run the test against uninstalled libtool libs
30296 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30297 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
30301 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30308 if test x"$no_gtk" = x ; then
30309 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30310 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30311 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30312 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30313 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30314 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30315 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30316 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30317 if test "x
$enable_gtktest" = "xyes
" ; then
30318 ac_save_CFLAGS="$CFLAGS"
30319 ac_save_LIBS="$LIBS"
30320 CFLAGS="$CFLAGS $GTK_CFLAGS"
30321 LIBS="$GTK_LIBS $LIBS"
30323 if test "$cross_compiling" = yes; then
30324 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30326 cat >conftest.$ac_ext <<_ACEOF
30329 cat confdefs.h >>conftest.$ac_ext
30330 cat >>conftest.$ac_ext <<_ACEOF
30331 /* end confdefs.h. */
30333 #include <gtk/gtk.h>
30335 #include <stdlib.h>
30340 int major, minor, micro;
30343 system ("touch conf.gtktest
");
30345 /* HP/UX 9 (%@#!) writes to sscanf strings */
30346 tmp_version = g_strdup("$min_gtk_version");
30347 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30348 printf("%s
, bad version string
\n", "$min_gtk_version");
30352 if ((gtk_major_version != $gtk_config_major_version) ||
30353 (gtk_minor_version != $gtk_config_minor_version) ||
30354 (gtk_micro_version != $gtk_config_micro_version))
30356 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30357 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30358 gtk_major_version, gtk_minor_version, gtk_micro_version);
30359 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
30360 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30361 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30362 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30363 printf("*** required on your system.
\n");
30364 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
30365 printf("*** to point to the correct configuration files
\n");
30367 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30368 (gtk_minor_version != GTK_MINOR_VERSION) ||
30369 (gtk_micro_version != GTK_MICRO_VERSION))
30371 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30372 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30373 printf("*** library
(version
%d.
%d.
%d
)\n",
30374 gtk_major_version, gtk_minor_version, gtk_micro_version);
30378 if ((gtk_major_version > major) ||
30379 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30380 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30386 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30387 gtk_major_version, gtk_minor_version, gtk_micro_version);
30388 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30389 major, minor, micro);
30390 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30392 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30393 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
30394 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30395 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
30396 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
30397 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30398 printf("*** so that the correct libraries are found
at run
-time))\n");
30405 rm -f conftest$ac_exeext
30406 if { (ac_try="$ac_link"
30407 case "(($ac_try" in
30408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30409 *) ac_try_echo=$ac_try;;
30411 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30412 (eval "$ac_link") 2>&5
30414 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30415 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30416 { (case "(($ac_try" in
30417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30418 *) ac_try_echo=$ac_try;;
30420 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30421 (eval "$ac_try") 2>&5
30423 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30424 (exit $ac_status); }; }; then
30427 echo "$as_me: program exited with status
$ac_status" >&5
30428 echo "$as_me: failed program was
:" >&5
30429 sed 's/^/| /' conftest.$ac_ext >&5
30431 ( exit $ac_status )
30434 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30438 CFLAGS="$ac_save_CFLAGS"
30439 LIBS="$ac_save_LIBS"
30442 if test "x
$no_gtk" = x ; then
30443 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
30444 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
30447 { echo "$as_me:$LINENO: result
: no
" >&5
30448 echo "${ECHO_T}no
" >&6; }
30449 if test "$PKG_CONFIG" = "no
" ; then
30450 echo "*** A new enough version of pkg
-config was not found.
"
30451 echo "*** See http
://pkgconfig.sourceforge.net
"
30453 if test -f conf.gtktest ; then
30456 echo "*** Could not run GTK
+ test program
, checking why...
"
30457 ac_save_CFLAGS="$CFLAGS"
30458 ac_save_LIBS="$LIBS"
30459 CFLAGS="$CFLAGS $GTK_CFLAGS"
30460 LIBS="$LIBS $GTK_LIBS"
30461 cat >conftest.$ac_ext <<_ACEOF
30464 cat confdefs.h >>conftest.$ac_ext
30465 cat >>conftest.$ac_ext <<_ACEOF
30466 /* end confdefs.h. */
30468 #include <gtk/gtk.h>
30474 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30479 rm -f conftest.$ac_objext conftest$ac_exeext
30480 if { (ac_try="$ac_link"
30481 case "(($ac_try" in
30482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30483 *) ac_try_echo=$ac_try;;
30485 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30486 (eval "$ac_link") 2>conftest.er1
30488 grep -v '^ *+' conftest.er1 >conftest.err
30490 cat conftest.err >&5
30491 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30492 (exit $ac_status); } && {
30493 test -z "$ac_c_werror_flag" ||
30494 test ! -s conftest.err
30495 } && test -s conftest$ac_exeext &&
30496 $as_test_x conftest$ac_exeext; then
30497 echo "*** The
test program compiled
, but did not run. This usually means
"
30498 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
30499 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
30500 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30501 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30502 echo "*** is required on your system"
30504 echo "*** If you have an old version installed, it is best to remove it, although"
30505 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30507 echo "$as_me: failed program was:" >&5
30508 sed 's
/^
/| /' conftest.$ac_ext >&5
30510 echo "*** The test program failed to compile or link. See the file config.log for the"
30511 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30515 conftest$ac_exeext conftest.$ac_ext
30516 CFLAGS="$ac_save_CFLAGS"
30517 LIBS="$ac_save_LIBS"
30531 if test "$wxUSE_SHARED" != "yes"; then
30532 GTK_LIBS="$GTK_LIBS -lX11"
30537 if test -z "$wx_cv_lib_gtk"; then
30538 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30540 # Check whether --with-gtk-prefix was given.
30541 if test "${with_gtk_prefix+set}" = set; then
30542 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30544 gtk_config_prefix=""
30548 # Check whether --with-gtk-exec-prefix was given.
30549 if test "${with_gtk_exec_prefix+set}" = set; then
30550 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30552 gtk_config_exec_prefix=""
30555 # Check whether --enable-gtktest was given.
30556 if test "${enable_gtktest+set}" = set; then
30557 enableval=$enable_gtktest;
30563 for module in . $GTK_MODULES
30567 gtk_config_args="$gtk_config_args gthread"
30572 if test x$gtk_config_exec_prefix != x ; then
30573 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30574 if test x${GTK_CONFIG+set} != xset ; then
30575 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30578 if test x$gtk_config_prefix != x ; then
30579 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30580 if test x${GTK_CONFIG+set} != xset ; then
30581 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30585 # Extract the first word of "gtk-config", so it can be a program name with args.
30586 set dummy gtk-config; ac_word=$2
30587 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30589 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30590 echo $ECHO_N "(cached) $ECHO_C" >&6
30592 case $GTK_CONFIG in
30594 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30598 for as_dir in $PATH
30601 test -z "$as_dir" && as_dir=.
30602 for ac_exec_ext in '' $ac_executable_extensions; do
30603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30604 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30612 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30616 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30617 if test -n "$GTK_CONFIG"; then
30618 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30619 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30621 { echo "$as_me:$LINENO: result: no" >&5
30622 echo "${ECHO_T}no" >&6; }
30626 min_gtk_version=1.2.7
30627 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30628 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30630 if test "$GTK_CONFIG" = "no" ; then
30633 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30634 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30635 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30636 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
30637 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30638 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
30639 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30640 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
30641 if test "x$enable_gtktest" = "xyes" ; then
30642 ac_save_CFLAGS="$CFLAGS"
30643 ac_save_LIBS="$LIBS"
30644 CFLAGS="$CFLAGS $GTK_CFLAGS"
30645 LIBS="$GTK_LIBS $LIBS"
30647 if test "$cross_compiling" = yes; then
30648 echo $ac_n "cross compiling; assumed OK... $ac_c"
30650 cat >conftest.$ac_ext <<_ACEOF
30653 cat confdefs.h >>conftest.$ac_ext
30654 cat >>conftest.$ac_ext <<_ACEOF
30655 /* end confdefs.h. */
30657 #include <gtk/gtk.h>
30659 #include <stdlib.h>
30664 int major, minor, micro;
30667 system ("touch conf.gtktest");
30669 /* HP/UX 9 (%@#!) writes to sscanf strings */
30670 tmp_version = g_strdup("$min_gtk_version");
30671 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30672 printf("%s, bad version string\n", "$min_gtk_version");
30676 if ((gtk_major_version != $gtk_config_major_version) ||
30677 (gtk_minor_version != $gtk_config_minor_version) ||
30678 (gtk_micro_version != $gtk_config_micro_version))
30680 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30681 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30682 gtk_major_version, gtk_minor_version, gtk_micro_version);
30683 printf ("*** was found! If gtk-config was correct, then it is best\n");
30684 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30685 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30686 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30687 printf("*** required on your system.\n");
30688 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30689 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30690 printf("*** before re-running configure\n");
30692 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30693 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30694 (gtk_minor_version != GTK_MINOR_VERSION) ||
30695 (gtk_micro_version != GTK_MICRO_VERSION))
30697 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30698 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30699 printf("*** library (version %d.%d.%d)\n",
30700 gtk_major_version, gtk_minor_version, gtk_micro_version);
30702 #endif /* defined (GTK_MAJOR_VERSION) ... */
30705 if ((gtk_major_version > major) ||
30706 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30707 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30713 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30714 gtk_major_version, gtk_minor_version, gtk_micro_version);
30715 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30716 major, minor, micro);
30717 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30719 printf("*** If you have already installed a sufficiently new version, this error\n");
30720 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30721 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30722 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30723 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30724 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30725 printf("*** so that the correct libraries are found at run-time))\n");
30732 rm -f conftest$ac_exeext
30733 if { (ac_try="$ac_link"
30734 case "(($ac_try" in
30735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30736 *) ac_try_echo=$ac_try;;
30738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30739 (eval "$ac_link") 2>&5
30741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30742 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
30743 { (case "(($ac_try" in
30744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30745 *) ac_try_echo=$ac_try;;
30747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30748 (eval "$ac_try") 2>&5
30750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30751 (exit $ac_status); }; }; then
30754 echo "$as_me: program exited with status $ac_status" >&5
30755 echo "$as_me: failed program was:" >&5
30756 sed 's
/^
/| /' conftest.$ac_ext >&5
30758 ( exit $ac_status )
30761 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30765 CFLAGS="$ac_save_CFLAGS"
30766 LIBS="$ac_save_LIBS"
30769 if test "x$no_gtk" = x ; then
30770 { echo "$as_me:$LINENO: result: yes" >&5
30771 echo "${ECHO_T}yes" >&6; }
30772 wx_cv_lib_gtk=1.2.7
30774 { echo "$as_me:$LINENO: result: no" >&5
30775 echo "${ECHO_T}no" >&6; }
30776 if test "$GTK_CONFIG" = "no" ; then
30777 echo "*** The gtk-config script installed by GTK could not be found"
30778 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30779 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30780 echo "*** full path to gtk-config."
30782 if test -f conf.gtktest ; then
30785 echo "*** Could not run GTK test program, checking why..."
30786 CFLAGS="$CFLAGS $GTK_CFLAGS"
30787 LIBS="$LIBS $GTK_LIBS"
30788 cat >conftest.$ac_ext <<_ACEOF
30791 cat confdefs.h >>conftest.$ac_ext
30792 cat >>conftest.$ac_ext <<_ACEOF
30793 /* end confdefs.h. */
30795 #include <gtk/gtk.h>
30801 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30806 rm -f conftest.$ac_objext conftest$ac_exeext
30807 if { (ac_try="$ac_link"
30808 case "(($ac_try" in
30809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30810 *) ac_try_echo=$ac_try;;
30812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30813 (eval "$ac_link") 2>conftest.er1
30815 grep -v '^
*+' conftest.er1 >conftest.err
30817 cat conftest.err >&5
30818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30819 (exit $ac_status); } && {
30820 test -z "$ac_c_werror_flag" ||
30821 test ! -s conftest.err
30822 } && test -s conftest$ac_exeext &&
30823 $as_test_x conftest$ac_exeext; then
30824 echo "*** The test program compiled, but did not run. This usually means"
30825 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30826 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
30827 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
30828 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
30829 echo "*** is required on your system
"
30831 echo "*** If you have an old version installed
, it is best to remove it
, although
"
30832 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
30834 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
30835 echo "*** came with the system with the
command"
30837 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
30839 echo "$as_me: failed program was
:" >&5
30840 sed 's/^/| /' conftest.$ac_ext >&5
30842 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
30843 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
30844 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
30845 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
30848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30849 conftest$ac_exeext conftest.$ac_ext
30850 CFLAGS="$ac_save_CFLAGS"
30851 LIBS="$ac_save_LIBS"
30863 if test -z "$wx_cv_lib_gtk"; then
30865 # Check whether --with-gtk-prefix was given.
30866 if test "${with_gtk_prefix+set}" = set; then
30867 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30869 gtk_config_prefix=""
30873 # Check whether --with-gtk-exec-prefix was given.
30874 if test "${with_gtk_exec_prefix+set}" = set; then
30875 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30877 gtk_config_exec_prefix=""
30880 # Check whether --enable-gtktest was given.
30881 if test "${enable_gtktest+set}" = set; then
30882 enableval=$enable_gtktest;
30888 for module in . $GTK_MODULES
30892 gtk_config_args="$gtk_config_args gthread
"
30897 if test x$gtk_config_exec_prefix != x ; then
30898 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30899 if test x${GTK_CONFIG+set} != xset ; then
30900 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30903 if test x$gtk_config_prefix != x ; then
30904 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30905 if test x${GTK_CONFIG+set} != xset ; then
30906 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30910 # Extract the first word of "gtk
-config", so it can be a program name with args.
30911 set dummy gtk-config; ac_word=$2
30912 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30913 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30914 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30915 echo $ECHO_N "(cached
) $ECHO_C" >&6
30917 case $GTK_CONFIG in
30919 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30923 for as_dir in $PATH
30926 test -z "$as_dir" && as_dir=.
30927 for ac_exec_ext in '' $ac_executable_extensions; do
30928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30929 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30930 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30937 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
30941 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30942 if test -n "$GTK_CONFIG"; then
30943 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
30944 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30946 { echo "$as_me:$LINENO: result
: no
" >&5
30947 echo "${ECHO_T}no
" >&6; }
30951 min_gtk_version=1.2.3
30952 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
30953 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
30955 if test "$GTK_CONFIG" = "no
" ; then
30958 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30959 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30960 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30961 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30962 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30963 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30964 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30965 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30966 if test "x
$enable_gtktest" = "xyes
" ; then
30967 ac_save_CFLAGS="$CFLAGS"
30968 ac_save_LIBS="$LIBS"
30969 CFLAGS="$CFLAGS $GTK_CFLAGS"
30970 LIBS="$GTK_LIBS $LIBS"
30972 if test "$cross_compiling" = yes; then
30973 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30975 cat >conftest.$ac_ext <<_ACEOF
30978 cat confdefs.h >>conftest.$ac_ext
30979 cat >>conftest.$ac_ext <<_ACEOF
30980 /* end confdefs.h. */
30982 #include <gtk/gtk.h>
30984 #include <stdlib.h>
30989 int major, minor, micro;
30992 system ("touch conf.gtktest
");
30994 /* HP/UX 9 (%@#!) writes to sscanf strings */
30995 tmp_version = g_strdup("$min_gtk_version");
30996 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30997 printf("%s
, bad version string
\n", "$min_gtk_version");
31001 if ((gtk_major_version != $gtk_config_major_version) ||
31002 (gtk_minor_version != $gtk_config_minor_version) ||
31003 (gtk_micro_version != $gtk_config_micro_version))
31005 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
31006 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31007 gtk_major_version, gtk_minor_version, gtk_micro_version);
31008 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
31009 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
31010 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
31011 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
31012 printf("*** required on your system.
\n");
31013 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
31014 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
31015 printf("*** before re
-running configure
\n");
31017 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31018 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31019 (gtk_minor_version != GTK_MINOR_VERSION) ||
31020 (gtk_micro_version != GTK_MICRO_VERSION))
31022 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
31023 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31024 printf("*** library
(version
%d.
%d.
%d
)\n",
31025 gtk_major_version, gtk_minor_version, gtk_micro_version);
31027 #endif /* defined (GTK_MAJOR_VERSION) ... */
31030 if ((gtk_major_version > major) ||
31031 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31032 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31038 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
31039 gtk_major_version, gtk_minor_version, gtk_micro_version);
31040 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
31041 major, minor, micro);
31042 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
31044 printf("*** If you have already installed a sufficiently new version
, this error
\n");
31045 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
31046 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
31047 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
31048 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
31049 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
31050 printf("*** so that the correct libraries are found
at run
-time))\n");
31057 rm -f conftest$ac_exeext
31058 if { (ac_try="$ac_link"
31059 case "(($ac_try" in
31060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31061 *) ac_try_echo=$ac_try;;
31063 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31064 (eval "$ac_link") 2>&5
31066 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31067 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31068 { (case "(($ac_try" in
31069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31070 *) ac_try_echo=$ac_try;;
31072 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31073 (eval "$ac_try") 2>&5
31075 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31076 (exit $ac_status); }; }; then
31079 echo "$as_me: program exited with status
$ac_status" >&5
31080 echo "$as_me: failed program was
:" >&5
31081 sed 's/^/| /' conftest.$ac_ext >&5
31083 ( exit $ac_status )
31086 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31090 CFLAGS="$ac_save_CFLAGS"
31091 LIBS="$ac_save_LIBS"
31094 if test "x
$no_gtk" = x ; then
31095 { echo "$as_me:$LINENO: result
: yes" >&5
31096 echo "${ECHO_T}yes" >&6; }
31097 wx_cv_lib_gtk=1.2.3
31099 { echo "$as_me:$LINENO: result
: no
" >&5
31100 echo "${ECHO_T}no
" >&6; }
31101 if test "$GTK_CONFIG" = "no
" ; then
31102 echo "*** The gtk
-config script installed by GTK could not be found
"
31103 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
31104 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
31105 echo "*** full path to gtk
-config.
"
31107 if test -f conf.gtktest ; then
31110 echo "*** Could not run GTK
test program
, checking why...
"
31111 CFLAGS="$CFLAGS $GTK_CFLAGS"
31112 LIBS="$LIBS $GTK_LIBS"
31113 cat >conftest.$ac_ext <<_ACEOF
31116 cat confdefs.h >>conftest.$ac_ext
31117 cat >>conftest.$ac_ext <<_ACEOF
31118 /* end confdefs.h. */
31120 #include <gtk/gtk.h>
31126 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31131 rm -f conftest.$ac_objext conftest$ac_exeext
31132 if { (ac_try="$ac_link"
31133 case "(($ac_try" in
31134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31135 *) ac_try_echo=$ac_try;;
31137 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31138 (eval "$ac_link") 2>conftest.er1
31140 grep -v '^ *+' conftest.er1 >conftest.err
31142 cat conftest.err >&5
31143 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31144 (exit $ac_status); } && {
31145 test -z "$ac_c_werror_flag" ||
31146 test ! -s conftest.err
31147 } && test -s conftest$ac_exeext &&
31148 $as_test_x conftest$ac_exeext; then
31149 echo "*** The
test program compiled
, but did not run. This usually means
"
31150 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
31151 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
31152 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31153 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31154 echo "*** is required on your system"
31156 echo "*** If you have an old version installed, it is best to remove it, although"
31157 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31159 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31160 echo "*** came with the system with the command"
31162 echo "*** rpm --erase --nodeps gtk gtk-devel"
31164 echo "$as_me: failed program was:" >&5
31165 sed 's
/^
/| /' conftest.$ac_ext >&5
31167 echo "*** The test program failed to compile or link. See the file config.log for the"
31168 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31169 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31170 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31174 conftest$ac_exeext conftest.$ac_ext
31175 CFLAGS="$ac_save_CFLAGS"
31176 LIBS="$ac_save_LIBS"
31191 if test -z "$wx_cv_lib_gtk"; then
31194 wx_cv_cflags_gtk=$GTK_CFLAGS
31195 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
31202 if test "$gtk_version_cached" = 1; then
31203 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31204 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31207 case "$wx_cv_lib_gtk" in
31216 *) { { echo "$as_me:$LINENO: error:
31217 The development files for GTK+ were not found. For GTK+ 2, please
31218 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31219 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31220 and that the version is 1.2.3 or above. Also check that the
31221 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31222 --libs' are in the LD_LIBRARY_PATH or equivalent.
31224 echo "$as_me: error:
31225 The development files for GTK+ were not found. For GTK+ 2, please
31226 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31227 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31228 and that the version is 1.2.3 or above. Also check that the
31229 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31230 --libs' are in the LD_LIBRARY_PATH or equivalent.
31232 { (exit 1); exit 1; }; }
31236 if test "$WXGTK20" = 1; then
31237 save_CFLAGS="$CFLAGS"
31239 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31240 LIBS="$LIBS $wx_cv_libs_gtk"
31242 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31243 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31244 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31245 echo $ECHO_N "(cached) $ECHO_C" >&6
31247 cat >conftest.$ac_ext <<_ACEOF
31250 cat confdefs.h >>conftest.$ac_ext
31251 cat >>conftest.$ac_ext <<_ACEOF
31252 /* end confdefs.h. */
31253 #include <gtk/gtk.h>
31258 #ifndef gtk_icon_size_lookup
31259 (void) gtk_icon_size_lookup;
31266 rm -f conftest.$ac_objext
31267 if { (ac_try="$ac_compile"
31268 case "(($ac_try" in
31269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31270 *) ac_try_echo=$ac_try;;
31272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31273 (eval "$ac_compile") 2>conftest.er1
31275 grep -v '^
*+' conftest.er1 >conftest.err
31277 cat conftest.err >&5
31278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31279 (exit $ac_status); } && {
31280 test -z "$ac_c_werror_flag" ||
31281 test ! -s conftest.err
31282 } && test -s conftest.$ac_objext; then
31283 ac_cv_have_decl_gtk_icon_size_lookup=yes
31285 echo "$as_me: failed program was:" >&5
31286 sed 's
/^
/| /' conftest.$ac_ext >&5
31288 ac_cv_have_decl_gtk_icon_size_lookup=no
31291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31293 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31294 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31295 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31297 cat >>confdefs.h <<_ACEOF
31298 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31303 cat >>confdefs.h <<_ACEOF
31304 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31307 cat >>confdefs.h <<\_ACEOF
31308 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31316 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31317 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31318 cat >conftest.$ac_ext <<_ACEOF
31321 cat confdefs.h >>conftest.$ac_ext
31322 cat >>conftest.$ac_ext <<_ACEOF
31323 /* end confdefs.h. */
31325 #include <gtk/gtk.h>
31331 #if !GTK_CHECK_VERSION(2,10,0)
31339 rm -f conftest.$ac_objext
31340 if { (ac_try="$ac_compile"
31341 case "(($ac_try" in
31342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31343 *) ac_try_echo=$ac_try;;
31345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31346 (eval "$ac_compile") 2>conftest.er1
31348 grep -v '^
*+' conftest.er1 >conftest.err
31350 cat conftest.err >&5
31351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31352 (exit $ac_status); } && {
31353 test -z "$ac_c_werror_flag" ||
31354 test ! -s conftest.err
31355 } && test -s conftest.$ac_objext; then
31357 cat >>confdefs.h <<\_ACEOF
31358 #define __WXGTK210__ 1
31361 cat >>confdefs.h <<\_ACEOF
31362 #define __WXGTK26__ 1
31365 cat >>confdefs.h <<\_ACEOF
31366 #define __WXGTK24__ 1
31369 { echo "$as_me:$LINENO: result: yes" >&5
31370 echo "${ECHO_T}yes" >&6; }
31374 echo "$as_me: failed program was:" >&5
31375 sed 's
/^
/| /' conftest.$ac_ext >&5
31378 { echo "$as_me:$LINENO: result: no" >&5
31379 echo "${ECHO_T}no" >&6; }
31384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31386 if test "$ac_wxgtk210" = 0; then
31387 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31388 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31389 cat >conftest.$ac_ext <<_ACEOF
31392 cat confdefs.h >>conftest.$ac_ext
31393 cat >>conftest.$ac_ext <<_ACEOF
31394 /* end confdefs.h. */
31396 #include <gtk/gtk.h>
31402 #if !GTK_CHECK_VERSION(2,6,0)
31410 rm -f conftest.$ac_objext
31411 if { (ac_try="$ac_compile"
31412 case "(($ac_try" in
31413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31414 *) ac_try_echo=$ac_try;;
31416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31417 (eval "$ac_compile") 2>conftest.er1
31419 grep -v '^
*+' conftest.er1 >conftest.err
31421 cat conftest.err >&5
31422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31423 (exit $ac_status); } && {
31424 test -z "$ac_c_werror_flag" ||
31425 test ! -s conftest.err
31426 } && test -s conftest.$ac_objext; then
31428 cat >>confdefs.h <<\_ACEOF
31429 #define __WXGTK26__ 1
31432 cat >>confdefs.h <<\_ACEOF
31433 #define __WXGTK24__ 1
31436 { echo "$as_me:$LINENO: result: yes" >&5
31437 echo "${ECHO_T}yes" >&6; }
31441 echo "$as_me: failed program was:" >&5
31442 sed 's
/^
/| /' conftest.$ac_ext >&5
31445 { echo "$as_me:$LINENO: result: no" >&5
31446 echo "${ECHO_T}no" >&6; }
31451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31454 if test "$ac_wxgtk26" = 0; then
31455 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31456 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31457 cat >conftest.$ac_ext <<_ACEOF
31460 cat confdefs.h >>conftest.$ac_ext
31461 cat >>conftest.$ac_ext <<_ACEOF
31462 /* end confdefs.h. */
31464 #include <gtk/gtk.h>
31470 #if !GTK_CHECK_VERSION(2,4,0)
31478 rm -f conftest.$ac_objext
31479 if { (ac_try="$ac_compile"
31480 case "(($ac_try" in
31481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31482 *) ac_try_echo=$ac_try;;
31484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31485 (eval "$ac_compile") 2>conftest.er1
31487 grep -v '^
*+' conftest.er1 >conftest.err
31489 cat conftest.err >&5
31490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31491 (exit $ac_status); } && {
31492 test -z "$ac_c_werror_flag" ||
31493 test ! -s conftest.err
31494 } && test -s conftest.$ac_objext; then
31496 cat >>confdefs.h <<\_ACEOF
31497 #define __WXGTK24__ 1
31500 { echo "$as_me:$LINENO: result: yes" >&5
31501 echo "${ECHO_T}yes" >&6; }
31504 echo "$as_me: failed program was:" >&5
31505 sed 's
/^
/| /' conftest.$ac_ext >&5
31508 { echo "$as_me:$LINENO: result: no" >&5
31509 echo "${ECHO_T}no" >&6; }
31513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31516 CFLAGS="$save_CFLAGS"
31519 if test "$wxUSE_UNICODE" = "yes"; then
31520 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31521 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31525 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31526 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31527 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31528 echo $ECHO_N "(cached) $ECHO_C" >&6
31530 ac_check_lib_save_LIBS=$LIBS
31532 cat >conftest.$ac_ext <<_ACEOF
31535 cat confdefs.h >>conftest.$ac_ext
31536 cat >>conftest.$ac_ext <<_ACEOF
31537 /* end confdefs.h. */
31539 /* Override any GCC internal prototype to avoid an error.
31540 Use char because int might match the return type of a GCC
31541 builtin and then its argument prototype would still apply. */
31545 char gdk_im_open ();
31549 return gdk_im_open ();
31554 rm -f conftest.$ac_objext conftest$ac_exeext
31555 if { (ac_try="$ac_link"
31556 case "(($ac_try" in
31557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31558 *) ac_try_echo=$ac_try;;
31560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31561 (eval "$ac_link") 2>conftest.er1
31563 grep -v '^
*+' conftest.er1 >conftest.err
31565 cat conftest.err >&5
31566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31567 (exit $ac_status); } && {
31568 test -z "$ac_c_werror_flag" ||
31569 test ! -s conftest.err
31570 } && test -s conftest$ac_exeext &&
31571 $as_test_x conftest$ac_exeext; then
31572 ac_cv_lib_gdk_gdk_im_open=yes
31574 echo "$as_me: failed program was:" >&5
31575 sed 's
/^
/| /' conftest.$ac_ext >&5
31577 ac_cv_lib_gdk_gdk_im_open=no
31580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31581 conftest$ac_exeext conftest.$ac_ext
31582 LIBS=$ac_check_lib_save_LIBS
31584 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31585 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31586 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31587 cat >>confdefs.h <<\_ACEOF
31594 if test "$USE_DARWIN" != 1; then
31596 for ac_func in poll
31598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31599 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31601 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31602 echo $ECHO_N "(cached) $ECHO_C" >&6
31604 cat >conftest.$ac_ext <<_ACEOF
31607 cat confdefs.h >>conftest.$ac_ext
31608 cat >>conftest.$ac_ext <<_ACEOF
31609 /* end confdefs.h. */
31610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31612 #define $ac_func innocuous_$ac_func
31614 /* System header to define __stub macros and hopefully few prototypes,
31615 which can conflict with char $ac_func (); below.
31616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31617 <limits.h> exists even on freestanding compilers. */
31620 # include <limits.h>
31622 # include <assert.h>
31627 /* Override any GCC internal prototype to avoid an error.
31628 Use char because int might match the return type of a GCC
31629 builtin and then its argument prototype would still apply. */
31634 /* The GNU C library defines this for functions which it implements
31635 to always fail with ENOSYS. Some functions are actually named
31636 something starting with __ and the normal name is an alias. */
31637 #if defined __stub_$ac_func || defined __stub___$ac_func
31644 return $ac_func ();
31649 rm -f conftest.$ac_objext conftest$ac_exeext
31650 if { (ac_try="$ac_link"
31651 case "(($ac_try" in
31652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31653 *) ac_try_echo=$ac_try;;
31655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31656 (eval "$ac_link") 2>conftest.er1
31658 grep -v '^
*+' conftest.er1 >conftest.err
31660 cat conftest.err >&5
31661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31662 (exit $ac_status); } && {
31663 test -z "$ac_c_werror_flag" ||
31664 test ! -s conftest.err
31665 } && test -s conftest$ac_exeext &&
31666 $as_test_x conftest$ac_exeext; then
31667 eval "$as_ac_var=yes"
31669 echo "$as_me: failed program was:" >&5
31670 sed 's
/^
/| /' conftest.$ac_ext >&5
31672 eval "$as_ac_var=no"
31675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31676 conftest$ac_exeext conftest.$ac_ext
31678 ac_res=`eval echo '${'$as_ac_var'}'`
31679 { echo "$as_me:$LINENO: result: $ac_res" >&5
31680 echo "${ECHO_T}$ac_res" >&6; }
31681 if test `eval echo '${'$as_ac_var'}'` = yes; then
31682 cat >>confdefs.h <<_ACEOF
31683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31692 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31693 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31695 AFMINSTALL=afminstall
31699 if test "$wxUSE_GPE" = "yes"; then
31700 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31701 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31704 for ac_dir in $SEARCH_LIB;
31706 for ac_extension in a so sl dylib dll.a; do
31707 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31708 ac_find_libraries=$ac_dir
31714 if test "$ac_find_libraries" != "" ; then
31716 if test "$ac_find_libraries" = "default location"; then
31719 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31721 if test $result = 0; then
31724 ac_path_to_link=" -L$ac_find_libraries"
31728 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31730 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31731 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31733 { echo "$as_me:$LINENO: result: not found" >&5
31734 echo "${ECHO_T}not found" >&6; }
31740 if test "$wxUSE_MGL" = 1; then
31741 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31742 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31743 if test "x$MGL_ROOT" = x ; then
31744 { echo "$as_me:$LINENO: result: not found" >&5
31745 echo "${ECHO_T}not found" >&6; }
31746 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31747 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31748 { (exit 1); exit 1; }; }
31750 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31751 echo "${ECHO_T}$MGL_ROOT" >&6; }
31754 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31755 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31758 if test "x$wxUSE_SHARED" = xyes ; then
31759 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31761 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31765 mgl_os_candidates="dos32/dj2"
31768 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31769 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31770 { (exit 1); exit 1; }; }
31776 for mgl_os_i in $mgl_os_candidates ; do
31777 if test "x$mgl_os" = x ; then
31778 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31779 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31780 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31785 if test "x$mgl_lib_type" = x ; then
31786 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31787 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31788 mgl_lib_type=release
31795 if test "x$mgl_os" = x ; then
31796 { echo "$as_me:$LINENO: result: not found" >&5
31797 echo "${ECHO_T}not found" >&6; }
31798 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31799 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31800 { (exit 1); exit 1; }; }
31802 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31803 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31805 wxUSE_UNIVERSAL="yes"
31807 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31808 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31810 AFMINSTALL=afminstall
31815 if test "$wxUSE_DFB" = 1; then
31818 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31819 if test -n "$ac_tool_prefix"; then
31820 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31821 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31824 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31825 echo $ECHO_N "(cached) $ECHO_C" >&6
31827 case $PKG_CONFIG in
31829 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31833 for as_dir in $PATH
31836 test -z "$as_dir" && as_dir=.
31837 for ac_exec_ext in '' $ac_executable_extensions; do
31838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31839 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31850 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31851 if test -n "$PKG_CONFIG"; then
31852 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31853 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31855 { echo "$as_me:$LINENO: result: no" >&5
31856 echo "${ECHO_T}no" >&6; }
31861 if test -z "$ac_cv_path_PKG_CONFIG"; then
31862 ac_pt_PKG_CONFIG=$PKG_CONFIG
31863 # Extract the first word of "pkg-config", so it can be a program name with args.
31864 set dummy pkg-config; ac_word=$2
31865 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31867 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31868 echo $ECHO_N "(cached) $ECHO_C" >&6
31870 case $ac_pt_PKG_CONFIG in
31872 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31876 for as_dir in $PATH
31879 test -z "$as_dir" && as_dir=.
31880 for ac_exec_ext in '' $ac_executable_extensions; do
31881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31882 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31893 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31894 if test -n "$ac_pt_PKG_CONFIG"; then
31895 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31896 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31898 { echo "$as_me:$LINENO: result: no" >&5
31899 echo "${ECHO_T}no" >&6; }
31902 if test "x$ac_pt_PKG_CONFIG" = x; then
31905 case $cross_compiling:$ac_tool_warned in
31907 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31908 whose name does not start with the host triplet. If you think this
31909 configuration is useful to you, please write to autoconf@gnu.org." >&5
31910 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31911 whose name does not start with the host triplet. If you think this
31912 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31913 ac_tool_warned=yes ;;
31915 PKG_CONFIG=$ac_pt_PKG_CONFIG
31918 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31922 if test -n "$PKG_CONFIG"; then
31923 _pkg_min_version=0.9.0
31924 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31925 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31926 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31927 { echo "$as_me:$LINENO: result: yes" >&5
31928 echo "${ECHO_T}yes" >&6; }
31930 { echo "$as_me:$LINENO: result: no" >&5
31931 echo "${ECHO_T}no" >&6; }
31939 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31940 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31942 if test -n "$PKG_CONFIG"; then
31943 if test -n "$DIRECTFB_CFLAGS"; then
31944 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31946 if test -n "$PKG_CONFIG" && \
31947 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31948 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31951 (exit $ac_status); }; then
31952 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31960 if test -n "$PKG_CONFIG"; then
31961 if test -n "$DIRECTFB_LIBS"; then
31962 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31964 if test -n "$PKG_CONFIG" && \
31965 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31966 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31969 (exit $ac_status); }; then
31970 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31981 if test $pkg_failed = yes; then
31983 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31984 _pkg_short_errors_supported=yes
31986 _pkg_short_errors_supported=no
31988 if test $_pkg_short_errors_supported = yes; then
31989 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31991 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31993 # Put the nasty error message in config.log where it belongs
31994 echo "$DIRECTFB_PKG_ERRORS" >&5
31997 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31998 echo "$as_me: error: DirectFB not found." >&2;}
31999 { (exit 1); exit 1; }; }
32002 elif test $pkg_failed = untried; then
32004 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32005 echo "$as_me: error: DirectFB not found." >&2;}
32006 { (exit 1); exit 1; }; }
32010 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32011 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32012 { echo "$as_me:$LINENO: result: yes" >&5
32013 echo "${ECHO_T}yes" >&6; }
32015 wxUSE_UNIVERSAL="yes"
32016 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32017 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32024 if test "$wxUSE_MICROWIN" = 1; then
32025 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32026 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32027 if test "x$MICROWINDOWS" = x ; then
32028 { echo "$as_me:$LINENO: result: not found" >&5
32029 echo "${ECHO_T}not found" >&6; }
32030 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32031 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32032 { (exit 1); exit 1; }; }
32034 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32035 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32038 if test -f $MICROWINDOWS/lib/libmwin.a; then
32039 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
32040 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
32042 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32043 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32044 { (exit 1); exit 1; }; }
32047 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32048 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32050 wxUSE_UNIVERSAL="yes"
32052 AFMINSTALL=afminstall
32054 GUIDIST=MICROWIN_DIST
32056 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32059 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32060 { echo "$as_me:$LINENO: checking for X" >&5
32061 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32064 # Check whether --with-x was given.
32065 if test "${with_x+set}" = set; then
32069 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
32070 if test "x$with_x" = xno; then
32071 # The user explicitly disabled X.
32074 case $x_includes,$x_libraries in #(
32075 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32076 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
32077 { (exit 1); exit 1; }; };; #(
32078 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32079 echo $ECHO_N "(cached) $ECHO_C" >&6
32081 # One or both of the vars are not set, and there is no cached value.
32082 ac_x_includes=no ac_x_libraries=no
32083 rm -f -r conftest.dir
32084 if mkdir conftest.dir; then
32086 cat >Imakefile <<'_ACEOF'
32088 @echo incroot='${INCROOT}'
32090 @echo usrlibdir='${USRLIBDIR}'
32092 @echo libdir='${LIBDIR}'
32094 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32095 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32096 for ac_var in incroot usrlibdir libdir; do
32097 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
32099 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32100 for ac_extension in a so sl; do
32101 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32102 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32103 ac_im_usrlibdir=$ac_im_libdir; break
32106 # Screen out bogus values from the imake configuration. They are
32107 # bogus both because they are the default anyway, and because
32108 # using them would break gcc on systems where it needs fixed includes.
32109 case $ac_im_incroot in
32110 /usr/include) ac_x_includes= ;;
32111 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32113 case $ac_im_usrlibdir in
32114 /usr/lib | /lib) ;;
32115 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32119 rm -f -r conftest.dir
32122 # Standard set of common directories for X headers.
32123 # Check X11 before X11Rn because it is often a symlink to the current release.
32135 /usr
/local
/X
11/include
32136 /usr
/local
/X
11R
6/include
32137 /usr
/local
/X
11R
5/include
32138 /usr
/local
/X
11R
4/include
32140 /usr
/local
/include
/X11
32141 /usr
/local
/include
/X11R6
32142 /usr
/local
/include
/X11R5
32143 /usr
/local
/include
/X11R4
32147 /usr
/XFree
86/include
/X11
32151 /usr
/unsupported
/include
32152 /usr
/athena
/include
32153 /usr
/local
/x
11r
5/include
32154 /usr
/lpp
/Xamples
/include
32156 /usr
/openwin
/include
32157 /usr
/openwin
/share
/include
'
32159 if test "$ac_x_includes" = no; then
32160 # Guess where to find include files, by looking for Xlib.h.
32161 # First, try using that file with no special directory specified.
32162 cat >conftest.$ac_ext <<_ACEOF
32165 cat confdefs.h >>conftest.$ac_ext
32166 cat >>conftest.$ac_ext <<_ACEOF
32167 /* end confdefs.h. */
32168 #include <X11/Xlib.h>
32170 if { (ac_try="$ac_cpp conftest.$ac_ext"
32171 case "(($ac_try" in
32172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32173 *) ac_try_echo=$ac_try;;
32175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32176 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32178 grep -v '^
*+' conftest.er1 >conftest.err
32180 cat conftest.err >&5
32181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32182 (exit $ac_status); } >/dev/null && {
32183 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32184 test ! -s conftest.err
32186 # We can compile using X headers with no special include directory.
32189 echo "$as_me: failed program was:" >&5
32190 sed 's
/^
/| /' conftest.$ac_ext >&5
32192 for ac_dir in $ac_x_header_dirs; do
32193 if test -r "$ac_dir/X11/Xlib.h"; then
32194 ac_x_includes=$ac_dir
32200 rm -f conftest.err conftest.$ac_ext
32201 fi # $ac_x_includes = no
32203 if test "$ac_x_libraries" = no; then
32204 # Check for the libraries.
32205 # See if we find them without any special options.
32206 # Don't add to
$LIBS permanently.
32209 cat >conftest.
$ac_ext <<_ACEOF
32212 cat confdefs.h
>>conftest.
$ac_ext
32213 cat >>conftest.
$ac_ext <<_ACEOF
32214 /* end confdefs.h. */
32215 #include <X11/Xlib.h>
32224 rm -f conftest.
$ac_objext conftest
$ac_exeext
32225 if { (ac_try
="$ac_link"
32226 case "(($ac_try" in
32227 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32228 *) ac_try_echo=$ac_try;;
32230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32231 (eval "$ac_link") 2>conftest.er1
32233 grep -v '^ *+' conftest.er1 >conftest.err
32235 cat conftest.err >&5
32236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32237 (exit $ac_status); } && {
32238 test -z "$ac_c_werror_flag" ||
32239 test ! -s conftest.err
32240 } && test -s conftest$ac_exeext &&
32241 $as_test_x conftest$ac_exeext; then
32243 # We can link X programs with no special library path.
32246 echo "$as_me: failed program was:" >&5
32247 sed 's/^/| /' conftest.$ac_ext >&5
32250 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
32252 # Don't even attempt the hair of trying to link an X program!
32253 for ac_extension in a so sl; do
32254 if test -r "$ac_dir/libX11.$ac_extension"; then
32255 ac_x_libraries=$ac_dir
32262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32263 conftest$ac_exeext conftest.$ac_ext
32264 fi # $ac_x_libraries = no
32266 case $ac_x_includes,$ac_x_libraries in #(
32267 no,* | *,no | *\'*)
32268 # Didn't find X, or a directory has "'" in its name.
32269 ac_cv_have_x="have_x=no";; #(
32271 # Record where we found X for the cache.
32272 ac_cv_have_x="have_x=yes\
32273 ac_x_includes='$ac_x_includes'\
32274 ac_x_libraries='$ac_x_libraries'"
32280 eval "$ac_cv_have_x"
32283 if test "$have_x" != yes; then
32284 { echo "$as_me:$LINENO: result: $have_x" >&5
32285 echo "${ECHO_T}$have_x" >&6; }
32288 # If each of the values was on the command line, it overrides each guess.
32289 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32290 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32291 # Update the cache value to reflect the command line values.
32292 ac_cv_have_x="have_x=yes\
32293 ac_x_includes='$x_includes'\
32294 ac_x_libraries='$x_libraries'"
32295 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32296 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32299 if test "$no_x" = yes; then
32300 # Not all programs may use this symbol, but it does not hurt to define it.
32302 cat >>confdefs.h <<\_ACEOF
32303 #define X_DISPLAY_MISSING 1
32306 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32308 if test -n "$x_includes"; then
32309 X_CFLAGS="$X_CFLAGS -I$x_includes"
32312 # It would also be nice to do this for all -L options, not just this one.
32313 if test -n "$x_libraries"; then
32314 X_LIBS="$X_LIBS -L$x_libraries"
32315 # For Solaris; some versions of Sun CC require a space after -R and
32316 # others require no space. Words are not sufficient . . . .
32317 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32318 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32319 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32320 ac_xsave_c_werror_flag=$ac_c_werror_flag
32321 ac_c_werror_flag=yes
32322 cat >conftest.$ac_ext <<_ACEOF
32325 cat confdefs.h >>conftest.$ac_ext
32326 cat >>conftest.$ac_ext <<_ACEOF
32327 /* end confdefs.h. */
32337 rm -f conftest.$ac_objext conftest$ac_exeext
32338 if { (ac_try="$ac_link"
32339 case "(($ac_try" in
32340 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32341 *) ac_try_echo
=$ac_try;;
32343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32344 (eval "$ac_link") 2>conftest.er1
32346 grep -v '^ *+' conftest.er1
>conftest.err
32348 cat conftest.err
>&5
32349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32350 (exit $ac_status); } && {
32351 test -z "$ac_c_werror_flag" ||
32352 test ! -s conftest.err
32353 } && test -s conftest
$ac_exeext &&
32354 $as_test_x conftest
$ac_exeext; then
32355 { echo "$as_me:$LINENO: result: no" >&5
32356 echo "${ECHO_T}no" >&6; }
32357 X_LIBS
="$X_LIBS -R$x_libraries"
32359 echo "$as_me: failed program was:" >&5
32360 sed 's/^/| /' conftest.
$ac_ext >&5
32362 LIBS
="$ac_xsave_LIBS -R $x_libraries"
32363 cat >conftest.
$ac_ext <<_ACEOF
32366 cat confdefs.h
>>conftest.
$ac_ext
32367 cat >>conftest.
$ac_ext <<_ACEOF
32368 /* end confdefs.h. */
32378 rm -f conftest.
$ac_objext conftest
$ac_exeext
32379 if { (ac_try
="$ac_link"
32380 case "(($ac_try" in
32381 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32382 *) ac_try_echo=$ac_try;;
32384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32385 (eval "$ac_link") 2>conftest.er1
32387 grep -v '^ *+' conftest.er1 >conftest.err
32389 cat conftest.err >&5
32390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32391 (exit $ac_status); } && {
32392 test -z "$ac_c_werror_flag" ||
32393 test ! -s conftest.err
32394 } && test -s conftest$ac_exeext &&
32395 $as_test_x conftest$ac_exeext; then
32396 { echo "$as_me:$LINENO: result: yes" >&5
32397 echo "${ECHO_T}yes" >&6; }
32398 X_LIBS="$X_LIBS -R $x_libraries"
32400 echo "$as_me: failed program was:" >&5
32401 sed 's/^/| /' conftest.$ac_ext >&5
32403 { echo "$as_me:$LINENO: result: neither works" >&5
32404 echo "${ECHO_T}neither works" >&6; }
32407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32408 conftest$ac_exeext conftest.$ac_ext
32411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32412 conftest$ac_exeext conftest.$ac_ext
32413 ac_c_werror_flag=$ac_xsave_c_werror_flag
32414 LIBS=$ac_xsave_LIBS
32417 # Check for system-dependent libraries X programs must link with.
32418 # Do this before checking for the system-independent R6 libraries
32419 # (-lICE), since we may need -lsocket or whatever for X linking.
32421 if test "$ISC" = yes; then
32422 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32424 # Martyn Johnson says this is needed for Ultrix, if the X
32425 # libraries were built with DECnet support. And Karl Berry says
32426 # the Alpha needs dnet_stub (dnet does not exist).
32427 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32428 cat >conftest.$ac_ext <<_ACEOF
32431 cat confdefs.h >>conftest.$ac_ext
32432 cat >>conftest.$ac_ext <<_ACEOF
32433 /* end confdefs.h. */
32435 /* Override any GCC internal prototype to avoid an error.
32436 Use char because int might match the return type of a GCC
32437 builtin and then its argument prototype would still apply. */
32441 char XOpenDisplay ();
32445 return XOpenDisplay ();
32450 rm -f conftest.$ac_objext conftest$ac_exeext
32451 if { (ac_try="$ac_link"
32452 case "(($ac_try" in
32453 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32454 *) ac_try_echo
=$ac_try;;
32456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32457 (eval "$ac_link") 2>conftest.er1
32459 grep -v '^ *+' conftest.er1
>conftest.err
32461 cat conftest.err
>&5
32462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32463 (exit $ac_status); } && {
32464 test -z "$ac_c_werror_flag" ||
32465 test ! -s conftest.err
32466 } && test -s conftest
$ac_exeext &&
32467 $as_test_x conftest
$ac_exeext; then
32470 echo "$as_me: failed program was:" >&5
32471 sed 's/^/| /' conftest.
$ac_ext >&5
32473 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32474 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32475 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32476 echo $ECHO_N "(cached) $ECHO_C" >&6
32478 ac_check_lib_save_LIBS
=$LIBS
32479 LIBS
="-ldnet $LIBS"
32480 cat >conftest.
$ac_ext <<_ACEOF
32483 cat confdefs.h
>>conftest.
$ac_ext
32484 cat >>conftest.
$ac_ext <<_ACEOF
32485 /* end confdefs.h. */
32487 /* Override any GCC internal prototype to avoid an error.
32488 Use char because int might match the return type of a GCC
32489 builtin and then its argument prototype would still apply. */
32497 return dnet_ntoa ();
32502 rm -f conftest.
$ac_objext conftest
$ac_exeext
32503 if { (ac_try
="$ac_link"
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_link") 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); } && {
32516 test -z "$ac_c_werror_flag" ||
32517 test ! -s conftest.err
32518 } && test -s conftest$ac_exeext &&
32519 $as_test_x conftest$ac_exeext; then
32520 ac_cv_lib_dnet_dnet_ntoa=yes
32522 echo "$as_me: failed program was:" >&5
32523 sed 's/^/| /' conftest.$ac_ext >&5
32525 ac_cv_lib_dnet_dnet_ntoa=no
32528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32529 conftest$ac_exeext conftest.$ac_ext
32530 LIBS=$ac_check_lib_save_LIBS
32532 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32533 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32534 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32535 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32538 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32539 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32540 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32541 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32542 echo $ECHO_N "(cached) $ECHO_C" >&6
32544 ac_check_lib_save_LIBS=$LIBS
32545 LIBS="-ldnet_stub $LIBS"
32546 cat >conftest.$ac_ext <<_ACEOF
32549 cat confdefs.h >>conftest.$ac_ext
32550 cat >>conftest.$ac_ext <<_ACEOF
32551 /* end confdefs.h. */
32553 /* Override any GCC internal prototype to avoid an error.
32554 Use char because int might match the return type of a GCC
32555 builtin and then its argument prototype would still apply. */
32563 return dnet_ntoa ();
32568 rm -f conftest.$ac_objext conftest$ac_exeext
32569 if { (ac_try="$ac_link"
32570 case "(($ac_try" in
32571 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32572 *) ac_try_echo
=$ac_try;;
32574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32575 (eval "$ac_link") 2>conftest.er1
32577 grep -v '^ *+' conftest.er1
>conftest.err
32579 cat conftest.err
>&5
32580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32581 (exit $ac_status); } && {
32582 test -z "$ac_c_werror_flag" ||
32583 test ! -s conftest.err
32584 } && test -s conftest
$ac_exeext &&
32585 $as_test_x conftest
$ac_exeext; then
32586 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
32588 echo "$as_me: failed program was:" >&5
32589 sed 's/^/| /' conftest.
$ac_ext >&5
32591 ac_cv_lib_dnet_stub_dnet_ntoa
=no
32594 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32595 conftest
$ac_exeext conftest.
$ac_ext
32596 LIBS
=$ac_check_lib_save_LIBS
32598 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32599 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32600 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32601 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
32607 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32608 conftest
$ac_exeext conftest.
$ac_ext
32609 LIBS
="$ac_xsave_LIBS"
32611 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32612 # to get the SysV transport functions.
32613 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32615 # The nsl library prevents programs from opening the X display
32616 # on Irix 5.2, according to T.E. Dickey.
32617 # The functions gethostbyname, getservbyname, and inet_addr are
32618 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32619 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32620 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32621 if test "${ac_cv_func_gethostbyname+set}" = set; then
32622 echo $ECHO_N "(cached) $ECHO_C" >&6
32624 cat >conftest.
$ac_ext <<_ACEOF
32627 cat confdefs.h
>>conftest.
$ac_ext
32628 cat >>conftest.
$ac_ext <<_ACEOF
32629 /* end confdefs.h. */
32630 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32632 #define gethostbyname innocuous_gethostbyname
32634 /* System header to define __stub macros and hopefully few prototypes,
32635 which can conflict with char gethostbyname (); below.
32636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32637 <limits.h> exists even on freestanding compilers. */
32640 # include <limits.h>
32642 # include <assert.h>
32645 #undef gethostbyname
32647 /* Override any GCC internal prototype to avoid an error.
32648 Use char because int might match the return type of a GCC
32649 builtin and then its argument prototype would still apply. */
32653 char gethostbyname ();
32654 /* The GNU C library defines this for functions which it implements
32655 to always fail with ENOSYS. Some functions are actually named
32656 something starting with __ and the normal name is an alias. */
32657 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32664 return gethostbyname ();
32669 rm -f conftest.
$ac_objext conftest
$ac_exeext
32670 if { (ac_try
="$ac_link"
32671 case "(($ac_try" in
32672 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32673 *) ac_try_echo=$ac_try;;
32675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32676 (eval "$ac_link") 2>conftest.er1
32678 grep -v '^ *+' conftest.er1 >conftest.err
32680 cat conftest.err >&5
32681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32682 (exit $ac_status); } && {
32683 test -z "$ac_c_werror_flag" ||
32684 test ! -s conftest.err
32685 } && test -s conftest$ac_exeext &&
32686 $as_test_x conftest$ac_exeext; then
32687 ac_cv_func_gethostbyname=yes
32689 echo "$as_me: failed program was:" >&5
32690 sed 's/^/| /' conftest.$ac_ext >&5
32692 ac_cv_func_gethostbyname=no
32695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32696 conftest$ac_exeext conftest.$ac_ext
32698 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32699 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32701 if test $ac_cv_func_gethostbyname = no; then
32702 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32703 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32704 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32705 echo $ECHO_N "(cached) $ECHO_C" >&6
32707 ac_check_lib_save_LIBS=$LIBS
32709 cat >conftest.$ac_ext <<_ACEOF
32712 cat confdefs.h >>conftest.$ac_ext
32713 cat >>conftest.$ac_ext <<_ACEOF
32714 /* end confdefs.h. */
32716 /* Override any GCC internal prototype to avoid an error.
32717 Use char because int might match the return type of a GCC
32718 builtin and then its argument prototype would still apply. */
32722 char gethostbyname ();
32726 return gethostbyname ();
32731 rm -f conftest.$ac_objext conftest$ac_exeext
32732 if { (ac_try="$ac_link"
32733 case "(($ac_try" in
32734 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32735 *) ac_try_echo
=$ac_try;;
32737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32738 (eval "$ac_link") 2>conftest.er1
32740 grep -v '^ *+' conftest.er1
>conftest.err
32742 cat conftest.err
>&5
32743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32744 (exit $ac_status); } && {
32745 test -z "$ac_c_werror_flag" ||
32746 test ! -s conftest.err
32747 } && test -s conftest
$ac_exeext &&
32748 $as_test_x conftest
$ac_exeext; then
32749 ac_cv_lib_nsl_gethostbyname
=yes
32751 echo "$as_me: failed program was:" >&5
32752 sed 's/^/| /' conftest.
$ac_ext >&5
32754 ac_cv_lib_nsl_gethostbyname
=no
32757 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32758 conftest
$ac_exeext conftest.
$ac_ext
32759 LIBS
=$ac_check_lib_save_LIBS
32761 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32762 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32763 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32764 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
32767 if test $ac_cv_lib_nsl_gethostbyname = no
; then
32768 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32769 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32770 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32771 echo $ECHO_N "(cached) $ECHO_C" >&6
32773 ac_check_lib_save_LIBS
=$LIBS
32775 cat >conftest.
$ac_ext <<_ACEOF
32778 cat confdefs.h
>>conftest.
$ac_ext
32779 cat >>conftest.
$ac_ext <<_ACEOF
32780 /* end confdefs.h. */
32782 /* Override any GCC internal prototype to avoid an error.
32783 Use char because int might match the return type of a GCC
32784 builtin and then its argument prototype would still apply. */
32788 char gethostbyname ();
32792 return gethostbyname ();
32797 rm -f conftest.
$ac_objext conftest
$ac_exeext
32798 if { (ac_try
="$ac_link"
32799 case "(($ac_try" in
32800 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32801 *) ac_try_echo=$ac_try;;
32803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32804 (eval "$ac_link") 2>conftest.er1
32806 grep -v '^ *+' conftest.er1 >conftest.err
32808 cat conftest.err >&5
32809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32810 (exit $ac_status); } && {
32811 test -z "$ac_c_werror_flag" ||
32812 test ! -s conftest.err
32813 } && test -s conftest$ac_exeext &&
32814 $as_test_x conftest$ac_exeext; then
32815 ac_cv_lib_bsd_gethostbyname=yes
32817 echo "$as_me: failed program was:" >&5
32818 sed 's/^/| /' conftest.$ac_ext >&5
32820 ac_cv_lib_bsd_gethostbyname=no
32823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32824 conftest$ac_exeext conftest.$ac_ext
32825 LIBS=$ac_check_lib_save_LIBS
32827 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32828 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32829 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32830 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32836 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32837 # socket/setsockopt and other routines are undefined under SCO ODT
32838 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32839 # on later versions), says Simon Leinen: it contains gethostby*
32840 # variants that don't use the name server (or something). -lsocket
32841 # must be given before -lnsl if both are needed. We assume that
32842 # if connect needs -lnsl, so does gethostbyname.
32843 { echo "$as_me:$LINENO: checking for connect" >&5
32844 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32845 if test "${ac_cv_func_connect+set}" = set; then
32846 echo $ECHO_N "(cached) $ECHO_C" >&6
32848 cat >conftest.$ac_ext <<_ACEOF
32851 cat confdefs.h >>conftest.$ac_ext
32852 cat >>conftest.$ac_ext <<_ACEOF
32853 /* end confdefs.h. */
32854 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32856 #define connect innocuous_connect
32858 /* System header to define __stub macros and hopefully few prototypes,
32859 which can conflict with char connect (); below.
32860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32861 <limits.h> exists even on freestanding compilers. */
32864 # include <limits.h>
32866 # include <assert.h>
32871 /* Override any GCC internal prototype to avoid an error.
32872 Use char because int might match the return type of a GCC
32873 builtin and then its argument prototype would still apply. */
32878 /* The GNU C library defines this for functions which it implements
32879 to always fail with ENOSYS. Some functions are actually named
32880 something starting with __ and the normal name is an alias. */
32881 #if defined __stub_connect || defined __stub___connect
32893 rm -f conftest.$ac_objext conftest$ac_exeext
32894 if { (ac_try="$ac_link"
32895 case "(($ac_try" in
32896 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32897 *) ac_try_echo
=$ac_try;;
32899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32900 (eval "$ac_link") 2>conftest.er1
32902 grep -v '^ *+' conftest.er1
>conftest.err
32904 cat conftest.err
>&5
32905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32906 (exit $ac_status); } && {
32907 test -z "$ac_c_werror_flag" ||
32908 test ! -s conftest.err
32909 } && test -s conftest
$ac_exeext &&
32910 $as_test_x conftest
$ac_exeext; then
32911 ac_cv_func_connect
=yes
32913 echo "$as_me: failed program was:" >&5
32914 sed 's/^/| /' conftest.
$ac_ext >&5
32916 ac_cv_func_connect
=no
32919 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32920 conftest
$ac_exeext conftest.
$ac_ext
32922 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32923 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32925 if test $ac_cv_func_connect = no
; then
32926 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32927 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32928 if test "${ac_cv_lib_socket_connect+set}" = set; then
32929 echo $ECHO_N "(cached) $ECHO_C" >&6
32931 ac_check_lib_save_LIBS
=$LIBS
32932 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
32933 cat >conftest.
$ac_ext <<_ACEOF
32936 cat confdefs.h
>>conftest.
$ac_ext
32937 cat >>conftest.
$ac_ext <<_ACEOF
32938 /* end confdefs.h. */
32940 /* Override any GCC internal prototype to avoid an error.
32941 Use char because int might match the return type of a GCC
32942 builtin and then its argument prototype would still apply. */
32955 rm -f conftest.
$ac_objext conftest
$ac_exeext
32956 if { (ac_try
="$ac_link"
32957 case "(($ac_try" in
32958 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32959 *) ac_try_echo=$ac_try;;
32961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32962 (eval "$ac_link") 2>conftest.er1
32964 grep -v '^ *+' conftest.er1 >conftest.err
32966 cat conftest.err >&5
32967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32968 (exit $ac_status); } && {
32969 test -z "$ac_c_werror_flag" ||
32970 test ! -s conftest.err
32971 } && test -s conftest$ac_exeext &&
32972 $as_test_x conftest$ac_exeext; then
32973 ac_cv_lib_socket_connect=yes
32975 echo "$as_me: failed program was:" >&5
32976 sed 's/^/| /' conftest.$ac_ext >&5
32978 ac_cv_lib_socket_connect=no
32981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32982 conftest$ac_exeext conftest.$ac_ext
32983 LIBS=$ac_check_lib_save_LIBS
32985 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32986 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32987 if test $ac_cv_lib_socket_connect = yes; then
32988 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32993 # Guillermo Gomez says -lposix is necessary on A/UX.
32994 { echo "$as_me:$LINENO: checking for remove" >&5
32995 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32996 if test "${ac_cv_func_remove+set}" = set; then
32997 echo $ECHO_N "(cached) $ECHO_C" >&6
32999 cat >conftest.$ac_ext <<_ACEOF
33002 cat confdefs.h >>conftest.$ac_ext
33003 cat >>conftest.$ac_ext <<_ACEOF
33004 /* end confdefs.h. */
33005 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33007 #define remove innocuous_remove
33009 /* System header to define __stub macros and hopefully few prototypes,
33010 which can conflict with char remove (); below.
33011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33012 <limits.h> exists even on freestanding compilers. */
33015 # include <limits.h>
33017 # include <assert.h>
33022 /* Override any GCC internal prototype to avoid an error.
33023 Use char because int might match the return type of a GCC
33024 builtin and then its argument prototype would still apply. */
33029 /* The GNU C library defines this for functions which it implements
33030 to always fail with ENOSYS. Some functions are actually named
33031 something starting with __ and the normal name is an alias. */
33032 #if defined __stub_remove || defined __stub___remove
33044 rm -f conftest.$ac_objext conftest$ac_exeext
33045 if { (ac_try="$ac_link"
33046 case "(($ac_try" in
33047 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33048 *) ac_try_echo
=$ac_try;;
33050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33051 (eval "$ac_link") 2>conftest.er1
33053 grep -v '^ *+' conftest.er1
>conftest.err
33055 cat conftest.err
>&5
33056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33057 (exit $ac_status); } && {
33058 test -z "$ac_c_werror_flag" ||
33059 test ! -s conftest.err
33060 } && test -s conftest
$ac_exeext &&
33061 $as_test_x conftest
$ac_exeext; then
33062 ac_cv_func_remove
=yes
33064 echo "$as_me: failed program was:" >&5
33065 sed 's/^/| /' conftest.
$ac_ext >&5
33067 ac_cv_func_remove
=no
33070 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33071 conftest
$ac_exeext conftest.
$ac_ext
33073 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33074 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33076 if test $ac_cv_func_remove = no
; then
33077 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33078 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33079 if test "${ac_cv_lib_posix_remove+set}" = set; then
33080 echo $ECHO_N "(cached) $ECHO_C" >&6
33082 ac_check_lib_save_LIBS
=$LIBS
33083 LIBS
="-lposix $LIBS"
33084 cat >conftest.
$ac_ext <<_ACEOF
33087 cat confdefs.h
>>conftest.
$ac_ext
33088 cat >>conftest.
$ac_ext <<_ACEOF
33089 /* end confdefs.h. */
33091 /* Override any GCC internal prototype to avoid an error.
33092 Use char because int might match the return type of a GCC
33093 builtin and then its argument prototype would still apply. */
33106 rm -f conftest.
$ac_objext conftest
$ac_exeext
33107 if { (ac_try
="$ac_link"
33108 case "(($ac_try" in
33109 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33110 *) ac_try_echo=$ac_try;;
33112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33113 (eval "$ac_link") 2>conftest.er1
33115 grep -v '^ *+' conftest.er1 >conftest.err
33117 cat conftest.err >&5
33118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33119 (exit $ac_status); } && {
33120 test -z "$ac_c_werror_flag" ||
33121 test ! -s conftest.err
33122 } && test -s conftest$ac_exeext &&
33123 $as_test_x conftest$ac_exeext; then
33124 ac_cv_lib_posix_remove=yes
33126 echo "$as_me: failed program was:" >&5
33127 sed 's/^/| /' conftest.$ac_ext >&5
33129 ac_cv_lib_posix_remove=no
33132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33133 conftest$ac_exeext conftest.$ac_ext
33134 LIBS=$ac_check_lib_save_LIBS
33136 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33137 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33138 if test $ac_cv_lib_posix_remove = yes; then
33139 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33144 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33145 { echo "$as_me:$LINENO: checking for shmat" >&5
33146 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33147 if test "${ac_cv_func_shmat+set}" = set; then
33148 echo $ECHO_N "(cached) $ECHO_C" >&6
33150 cat >conftest.$ac_ext <<_ACEOF
33153 cat confdefs.h >>conftest.$ac_ext
33154 cat >>conftest.$ac_ext <<_ACEOF
33155 /* end confdefs.h. */
33156 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33158 #define shmat innocuous_shmat
33160 /* System header to define __stub macros and hopefully few prototypes,
33161 which can conflict with char shmat (); below.
33162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33163 <limits.h> exists even on freestanding compilers. */
33166 # include <limits.h>
33168 # include <assert.h>
33173 /* Override any GCC internal prototype to avoid an error.
33174 Use char because int might match the return type of a GCC
33175 builtin and then its argument prototype would still apply. */
33180 /* The GNU C library defines this for functions which it implements
33181 to always fail with ENOSYS. Some functions are actually named
33182 something starting with __ and the normal name is an alias. */
33183 #if defined __stub_shmat || defined __stub___shmat
33195 rm -f conftest.$ac_objext conftest$ac_exeext
33196 if { (ac_try="$ac_link"
33197 case "(($ac_try" in
33198 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33199 *) ac_try_echo
=$ac_try;;
33201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33202 (eval "$ac_link") 2>conftest.er1
33204 grep -v '^ *+' conftest.er1
>conftest.err
33206 cat conftest.err
>&5
33207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33208 (exit $ac_status); } && {
33209 test -z "$ac_c_werror_flag" ||
33210 test ! -s conftest.err
33211 } && test -s conftest
$ac_exeext &&
33212 $as_test_x conftest
$ac_exeext; then
33213 ac_cv_func_shmat
=yes
33215 echo "$as_me: failed program was:" >&5
33216 sed 's/^/| /' conftest.
$ac_ext >&5
33218 ac_cv_func_shmat
=no
33221 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33222 conftest
$ac_exeext conftest.
$ac_ext
33224 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33225 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33227 if test $ac_cv_func_shmat = no
; then
33228 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33229 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33230 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33231 echo $ECHO_N "(cached) $ECHO_C" >&6
33233 ac_check_lib_save_LIBS
=$LIBS
33235 cat >conftest.
$ac_ext <<_ACEOF
33238 cat confdefs.h
>>conftest.
$ac_ext
33239 cat >>conftest.
$ac_ext <<_ACEOF
33240 /* end confdefs.h. */
33242 /* Override any GCC internal prototype to avoid an error.
33243 Use char because int might match the return type of a GCC
33244 builtin and then its argument prototype would still apply. */
33257 rm -f conftest.
$ac_objext conftest
$ac_exeext
33258 if { (ac_try
="$ac_link"
33259 case "(($ac_try" in
33260 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33261 *) ac_try_echo=$ac_try;;
33263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33264 (eval "$ac_link") 2>conftest.er1
33266 grep -v '^ *+' conftest.er1 >conftest.err
33268 cat conftest.err >&5
33269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33270 (exit $ac_status); } && {
33271 test -z "$ac_c_werror_flag" ||
33272 test ! -s conftest.err
33273 } && test -s conftest$ac_exeext &&
33274 $as_test_x conftest$ac_exeext; then
33275 ac_cv_lib_ipc_shmat=yes
33277 echo "$as_me: failed program was:" >&5
33278 sed 's/^/| /' conftest.$ac_ext >&5
33280 ac_cv_lib_ipc_shmat=no
33283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33284 conftest$ac_exeext conftest.$ac_ext
33285 LIBS=$ac_check_lib_save_LIBS
33287 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33288 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33289 if test $ac_cv_lib_ipc_shmat = yes; then
33290 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33296 # Check for libraries that X11R6 Xt/Xaw programs need.
33297 ac_save_LDFLAGS=$LDFLAGS
33298 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33299 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33300 # check for ICE first), but we must link in the order -lSM -lICE or
33301 # we get undefined symbols. So assume we have SM if we have ICE.
33302 # These have to be linked with before -lX11, unlike the other
33303 # libraries we check for below, so use a different variable.
33304 # John Interrante, Karl Berry
33305 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33306 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33307 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33308 echo $ECHO_N "(cached) $ECHO_C" >&6
33310 ac_check_lib_save_LIBS=$LIBS
33311 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33312 cat >conftest.$ac_ext <<_ACEOF
33315 cat confdefs.h >>conftest.$ac_ext
33316 cat >>conftest.$ac_ext <<_ACEOF
33317 /* end confdefs.h. */
33319 /* Override any GCC internal prototype to avoid an error.
33320 Use char because int might match the return type of a GCC
33321 builtin and then its argument prototype would still apply. */
33325 char IceConnectionNumber ();
33329 return IceConnectionNumber ();
33334 rm -f conftest.$ac_objext conftest$ac_exeext
33335 if { (ac_try="$ac_link"
33336 case "(($ac_try" in
33337 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33338 *) ac_try_echo
=$ac_try;;
33340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33341 (eval "$ac_link") 2>conftest.er1
33343 grep -v '^ *+' conftest.er1
>conftest.err
33345 cat conftest.err
>&5
33346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33347 (exit $ac_status); } && {
33348 test -z "$ac_c_werror_flag" ||
33349 test ! -s conftest.err
33350 } && test -s conftest
$ac_exeext &&
33351 $as_test_x conftest
$ac_exeext; then
33352 ac_cv_lib_ICE_IceConnectionNumber
=yes
33354 echo "$as_me: failed program was:" >&5
33355 sed 's/^/| /' conftest.
$ac_ext >&5
33357 ac_cv_lib_ICE_IceConnectionNumber
=no
33360 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33361 conftest
$ac_exeext conftest.
$ac_ext
33362 LIBS
=$ac_check_lib_save_LIBS
33364 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33365 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33366 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33367 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
33370 LDFLAGS
=$ac_save_LDFLAGS
33375 if test "$no_x" = "yes"; then
33376 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33377 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33378 { (exit 1); exit 1; }; }
33381 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33382 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
33383 AFMINSTALL
=afminstall
33384 COMPILED_X_PROGRAM
=0
33388 if test "$wxUSE_X11" = 1; then
33389 if test "$wxUSE_NANOX" = "yes"; then
33390 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33391 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33392 if test "x$MICROWIN" = x
; then
33393 { echo "$as_me:$LINENO: result: not found" >&5
33394 echo "${ECHO_T}not found" >&6; }
33395 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33396 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33397 { (exit 1); exit 1; }; }
33399 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33400 echo "${ECHO_T}$MICROWIN" >&6; }
33401 cat >>confdefs.h
<<\_ACEOF
33402 #define wxUSE_NANOX 1
33408 if test "$wxUSE_UNICODE" = "yes"; then
33411 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33412 if test -n "$ac_tool_prefix"; then
33413 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33414 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33417 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33418 echo $ECHO_N "(cached) $ECHO_C" >&6
33420 case $PKG_CONFIG in
33422 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33426 for as_dir
in $PATH
33429 test -z "$as_dir" && as_dir
=.
33430 for ac_exec_ext
in '' $ac_executable_extensions; do
33431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33432 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33443 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33444 if test -n "$PKG_CONFIG"; then
33445 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33446 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33448 { echo "$as_me:$LINENO: result: no" >&5
33449 echo "${ECHO_T}no" >&6; }
33454 if test -z "$ac_cv_path_PKG_CONFIG"; then
33455 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33456 # Extract the first word of "pkg-config", so it can be a program name with args.
33457 set dummy pkg
-config; ac_word
=$2
33458 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33460 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33461 echo $ECHO_N "(cached) $ECHO_C" >&6
33463 case $ac_pt_PKG_CONFIG in
33465 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33469 for as_dir
in $PATH
33472 test -z "$as_dir" && as_dir
=.
33473 for ac_exec_ext
in '' $ac_executable_extensions; do
33474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33475 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33486 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33487 if test -n "$ac_pt_PKG_CONFIG"; then
33488 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33489 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33491 { echo "$as_me:$LINENO: result: no" >&5
33492 echo "${ECHO_T}no" >&6; }
33495 if test "x$ac_pt_PKG_CONFIG" = x
; then
33498 case $cross_compiling:$ac_tool_warned in
33500 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33501 whose name does not start with the host triplet. If you think this
33502 configuration is useful to you, please write to autoconf@gnu.org." >&5
33503 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33504 whose name does not start with the host triplet. If you think this
33505 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33506 ac_tool_warned
=yes ;;
33508 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33511 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33515 if test -n "$PKG_CONFIG"; then
33516 _pkg_min_version
=0.9.0
33517 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33518 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33519 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33520 { echo "$as_me:$LINENO: result: yes" >&5
33521 echo "${ECHO_T}yes" >&6; }
33523 { echo "$as_me:$LINENO: result: no" >&5
33524 echo "${ECHO_T}no" >&6; }
33532 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33533 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33535 if test -n "$PKG_CONFIG"; then
33536 if test -n "$PANGOX_CFLAGS"; then
33537 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
33539 if test -n "$PKG_CONFIG" && \
33540 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33541 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33544 (exit $ac_status); }; then
33545 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33553 if test -n "$PKG_CONFIG"; then
33554 if test -n "$PANGOX_LIBS"; then
33555 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
33557 if test -n "$PKG_CONFIG" && \
33558 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33559 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33562 (exit $ac_status); }; then
33563 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33574 if test $pkg_failed = yes; then
33576 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33577 _pkg_short_errors_supported
=yes
33579 _pkg_short_errors_supported
=no
33581 if test $_pkg_short_errors_supported = yes; then
33582 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33584 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33586 # Put the nasty error message in config.log where it belongs
33587 echo "$PANGOX_PKG_ERRORS" >&5
33590 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33591 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33592 { (exit 1); exit 1; }; }
33595 elif test $pkg_failed = untried
; then
33597 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33598 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33599 { (exit 1); exit 1; }; }
33603 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
33604 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
33605 { echo "$as_me:$LINENO: result: yes" >&5
33606 echo "${ECHO_T}yes" >&6; }
33608 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
33609 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
33610 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
33615 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33616 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33618 if test -n "$PKG_CONFIG"; then
33619 if test -n "$PANGOFT2_CFLAGS"; then
33620 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
33622 if test -n "$PKG_CONFIG" && \
33623 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33624 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33627 (exit $ac_status); }; then
33628 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33636 if test -n "$PKG_CONFIG"; then
33637 if test -n "$PANGOFT2_LIBS"; then
33638 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
33640 if test -n "$PKG_CONFIG" && \
33641 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33642 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33645 (exit $ac_status); }; then
33646 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33657 if test $pkg_failed = yes; then
33659 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33660 _pkg_short_errors_supported
=yes
33662 _pkg_short_errors_supported
=no
33664 if test $_pkg_short_errors_supported = yes; then
33665 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33667 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33669 # Put the nasty error message in config.log where it belongs
33670 echo "$PANGOFT2_PKG_ERRORS" >&5
33673 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33674 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33675 wxUSE_PRINTING_ARCHITECTURE
="no"
33678 elif test $pkg_failed = untried
; then
33680 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33681 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33682 wxUSE_PRINTING_ARCHITECTURE
="no"
33686 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
33687 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
33688 { echo "$as_me:$LINENO: result: yes" >&5
33689 echo "${ECHO_T}yes" >&6; }
33691 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
33692 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
33693 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33698 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33699 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33701 if test -n "$PKG_CONFIG"; then
33702 if test -n "$PANGOXFT_CFLAGS"; then
33703 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
33705 if test -n "$PKG_CONFIG" && \
33706 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33707 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33710 (exit $ac_status); }; then
33711 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33719 if test -n "$PKG_CONFIG"; then
33720 if test -n "$PANGOXFT_LIBS"; then
33721 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
33723 if test -n "$PKG_CONFIG" && \
33724 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33725 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33728 (exit $ac_status); }; then
33729 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33740 if test $pkg_failed = yes; then
33742 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33743 _pkg_short_errors_supported
=yes
33745 _pkg_short_errors_supported
=no
33747 if test $_pkg_short_errors_supported = yes; then
33748 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33750 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33752 # Put the nasty error message in config.log where it belongs
33753 echo "$PANGOXFT_PKG_ERRORS" >&5
33756 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33757 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33760 elif test $pkg_failed = untried
; then
33762 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33763 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33767 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
33768 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
33769 { echo "$as_me:$LINENO: result: yes" >&5
33770 echo "${ECHO_T}yes" >&6; }
33772 cat >>confdefs.h
<<\_ACEOF
33773 #define HAVE_PANGO_XFT 1
33776 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
33777 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
33778 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33782 LIBS
="$LIBS $PANGOX_LIBS"
33784 for ac_func
in pango_font_family_is_monospace
33786 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33787 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33789 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33790 echo $ECHO_N "(cached) $ECHO_C" >&6
33792 cat >conftest.
$ac_ext <<_ACEOF
33795 cat confdefs.h
>>conftest.
$ac_ext
33796 cat >>conftest.
$ac_ext <<_ACEOF
33797 /* end confdefs.h. */
33798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33800 #define $ac_func innocuous_$ac_func
33802 /* System header to define __stub macros and hopefully few prototypes,
33803 which can conflict with char $ac_func (); below.
33804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33805 <limits.h> exists even on freestanding compilers. */
33808 # include <limits.h>
33810 # include <assert.h>
33815 /* Override any GCC internal prototype to avoid an error.
33816 Use char because int might match the return type of a GCC
33817 builtin and then its argument prototype would still apply. */
33822 /* The GNU C library defines this for functions which it implements
33823 to always fail with ENOSYS. Some functions are actually named
33824 something starting with __ and the normal name is an alias. */
33825 #if defined __stub_$ac_func || defined __stub___$ac_func
33832 return $ac_func ();
33837 rm -f conftest.
$ac_objext conftest
$ac_exeext
33838 if { (ac_try
="$ac_link"
33839 case "(($ac_try" in
33840 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33841 *) ac_try_echo=$ac_try;;
33843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33844 (eval "$ac_link") 2>conftest.er1
33846 grep -v '^ *+' conftest.er1 >conftest.err
33848 cat conftest.err >&5
33849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33850 (exit $ac_status); } && {
33851 test -z "$ac_c_werror_flag" ||
33852 test ! -s conftest.err
33853 } && test -s conftest$ac_exeext &&
33854 $as_test_x conftest$ac_exeext; then
33855 eval "$as_ac_var=yes"
33857 echo "$as_me: failed program was:" >&5
33858 sed 's/^/| /' conftest.$ac_ext >&5
33860 eval "$as_ac_var=no"
33863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33864 conftest$ac_exeext conftest.$ac_ext
33866 ac_res=`eval echo '${'$as_ac_var'}'`
33867 { echo "$as_me:$LINENO: result: $ac_res" >&5
33868 echo "${ECHO_T}$ac_res" >&6; }
33869 if test `eval echo '${'$as_ac_var'}'` = yes; then
33870 cat >>confdefs.h <<_ACEOF
33871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33880 wxUSE_UNIVERSAL="yes"
33882 if test "$wxUSE_NANOX" = "yes"; then
33883 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33884 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"
33885 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33887 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33894 if test "$wxUSE_MOTIF" = 1; then
33895 if test "$wxUSE_UNICODE" = "yes"; then
33896 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
33897 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
33898 { (exit 1); exit 1; }; }
33901 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33902 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33905 for ac_dir in $SEARCH_INCLUDE /usr/include;
33907 if test -f "$ac_dir/Xm/Xm.h"; then
33908 ac_find_includes=$ac_dir
33913 if test "$ac_find_includes" != "" ; then
33914 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33915 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33917 if test "x$ac_find_includes" = "x/usr/include"; then
33918 ac_path_to_include=""
33920 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33922 if test $result = 0; then
33923 ac_path_to_include=""
33925 ac_path_to_include=" -I$ac_find_includes"
33929 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33931 save_CFLAGS=$CFLAGS
33932 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33934 cat >conftest.$ac_ext <<_ACEOF
33937 cat confdefs.h >>conftest.$ac_ext
33938 cat >>conftest.$ac_ext <<_ACEOF
33939 /* end confdefs.h. */
33948 version = xmUseVersion;
33954 rm -f conftest.$ac_objext
33955 if { (ac_try="$ac_compile"
33956 case "(($ac_try" in
33957 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33958 *) ac_try_echo
=$ac_try;;
33960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33961 (eval "$ac_compile") 2>conftest.er1
33963 grep -v '^ *+' conftest.er1
>conftest.err
33965 cat conftest.err
>&5
33966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33967 (exit $ac_status); } && {
33968 test -z "$ac_c_werror_flag" ||
33969 test ! -s conftest.err
33970 } && test -s conftest.
$ac_objext; then
33972 { echo "$as_me:$LINENO: result: found in default search path" >&5
33973 echo "${ECHO_T}found in default search path" >&6; }
33974 COMPILED_X_PROGRAM
=1
33977 echo "$as_me: failed program was:" >&5
33978 sed 's/^/| /' conftest.
$ac_ext >&5
33981 { echo "$as_me:$LINENO: result: no" >&5
33982 echo "${ECHO_T}no" >&6; }
33983 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33984 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33985 { (exit 1); exit 1; }; }
33990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33992 CFLAGS
=$save_CFLAGS
33996 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33997 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34000 for ac_dir
in $SEARCH_LIB;
34002 for ac_extension
in a so sl dylib dll.a
; do
34003 if test -f "$ac_dir/libXm.$ac_extension"; then
34004 ac_find_libraries
=$ac_dir
34011 if test "x$ac_find_libraries" != "x" ; then
34012 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34013 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34016 if test "$ac_find_libraries" = "default location"; then
34019 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
34021 if test $result = 0; then
34024 ac_path_to_link
=" -L$ac_find_libraries"
34028 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
34030 save_CFLAGS
=$CFLAGS
34031 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
34033 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34035 cat >conftest.
$ac_ext <<_ACEOF
34038 cat confdefs.h
>>conftest.
$ac_ext
34039 cat >>conftest.
$ac_ext <<_ACEOF
34040 /* end confdefs.h. */
34049 version = xmUseVersion;
34055 rm -f conftest.
$ac_objext conftest
$ac_exeext
34056 if { (ac_try
="$ac_link"
34057 case "(($ac_try" in
34058 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34059 *) ac_try_echo=$ac_try;;
34061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34062 (eval "$ac_link") 2>conftest.er1
34064 grep -v '^ *+' conftest.er1 >conftest.err
34066 cat conftest.err >&5
34067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34068 (exit $ac_status); } && {
34069 test -z "$ac_c_werror_flag" ||
34070 test ! -s conftest.err
34071 } && test -s conftest$ac_exeext &&
34072 $as_test_x conftest$ac_exeext; then
34074 { echo "$as_me:$LINENO: result: found in default search path" >&5
34075 echo "${ECHO_T}found in default search path" >&6; }
34076 COMPILED_X_PROGRAM=1
34079 echo "$as_me: failed program was:" >&5
34080 sed 's/^/| /' conftest.$ac_ext >&5
34083 { echo "$as_me:$LINENO: result: no" >&5
34084 echo "${ECHO_T}no" >&6; }
34085 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34086 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34087 { (exit 1); exit 1; }; }
34092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34093 conftest$ac_exeext conftest.$ac_ext
34095 CFLAGS=$save_CFLAGS
34099 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34100 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34104 for libp in "" " -lXp"; do
34105 if test "$libs_found" = "0"; then
34106 for libsm_ice in "" " -lSM -lICE"; do
34107 if test "$libs_found" = "0"; then
34109 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34110 save_CFLAGS=$CFLAGS
34111 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34113 cat >conftest.$ac_ext <<_ACEOF
34116 cat confdefs.h >>conftest.$ac_ext
34117 cat >>conftest.$ac_ext <<_ACEOF
34118 /* end confdefs.h. */
34121 #include <Xm/List.h>
34127 XmString string = NULL;
34130 XmListAddItem(w, string, position);
34136 rm -f conftest.$ac_objext conftest$ac_exeext
34137 if { (ac_try="$ac_link"
34138 case "(($ac_try" in
34139 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34140 *) ac_try_echo
=$ac_try;;
34142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34143 (eval "$ac_link") 2>conftest.er1
34145 grep -v '^ *+' conftest.er1
>conftest.err
34147 cat conftest.err
>&5
34148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34149 (exit $ac_status); } && {
34150 test -z "$ac_c_werror_flag" ||
34151 test ! -s conftest.err
34152 } && test -s conftest
$ac_exeext &&
34153 $as_test_x conftest
$ac_exeext; then
34156 libsm_ice_link
="$libsm_ice"
34157 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34158 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34162 echo "$as_me: failed program was:" >&5
34163 sed 's/^/| /' conftest.
$ac_ext >&5
34169 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34170 conftest
$ac_exeext conftest.
$ac_ext
34173 CFLAGS
=$save_CFLAGS
34179 if test "$libs_found" = "0"; then
34180 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34181 echo "${ECHO_T}can't find the right libraries" >&6; }
34182 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34183 echo "$as_me: error: can't link a simple motif program" >&2;}
34184 { (exit 1); exit 1; }; }
34187 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34188 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34189 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34190 echo $ECHO_N "(cached) $ECHO_C" >&6
34192 ac_check_lib_save_LIBS
=$LIBS
34194 cat >conftest.
$ac_ext <<_ACEOF
34197 cat confdefs.h
>>conftest.
$ac_ext
34198 cat >>conftest.
$ac_ext <<_ACEOF
34199 /* end confdefs.h. */
34201 /* Override any GCC internal prototype to avoid an error.
34202 Use char because int might match the return type of a GCC
34203 builtin and then its argument prototype would still apply. */
34207 char SgCreateList ();
34211 return SgCreateList ();
34216 rm -f conftest.
$ac_objext conftest
$ac_exeext
34217 if { (ac_try
="$ac_link"
34218 case "(($ac_try" in
34219 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34220 *) ac_try_echo=$ac_try;;
34222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34223 (eval "$ac_link") 2>conftest.er1
34225 grep -v '^ *+' conftest.er1 >conftest.err
34227 cat conftest.err >&5
34228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34229 (exit $ac_status); } && {
34230 test -z "$ac_c_werror_flag" ||
34231 test ! -s conftest.err
34232 } && test -s conftest$ac_exeext &&
34233 $as_test_x conftest$ac_exeext; then
34234 ac_cv_lib_Sgm_SgCreateList=yes
34236 echo "$as_me: failed program was:" >&5
34237 sed 's/^/| /' conftest.$ac_ext >&5
34239 ac_cv_lib_Sgm_SgCreateList=no
34242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34243 conftest$ac_exeext conftest.$ac_ext
34244 LIBS=$ac_check_lib_save_LIBS
34246 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34247 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34248 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34249 libsgm_link=" -lSgm"
34253 save_CFLAGS=$CFLAGS
34254 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34256 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34257 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34258 if test "${wx_cv_lib_motif2+set}" = set; then
34259 echo $ECHO_N "(cached) $ECHO_C" >&6
34261 cat >conftest.$ac_ext <<_ACEOF
34264 cat confdefs.h >>conftest.$ac_ext
34265 cat >>conftest.$ac_ext <<_ACEOF
34266 /* end confdefs.h. */
34274 #if XmVersion < 2000
34282 rm -f conftest.$ac_objext
34283 if { (ac_try="$ac_compile"
34284 case "(($ac_try" in
34285 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34286 *) ac_try_echo
=$ac_try;;
34288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34289 (eval "$ac_compile") 2>conftest.er1
34291 grep -v '^ *+' conftest.er1
>conftest.err
34293 cat conftest.err
>&5
34294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34295 (exit $ac_status); } && {
34296 test -z "$ac_c_werror_flag" ||
34297 test ! -s conftest.err
34298 } && test -s conftest.
$ac_objext; then
34299 wx_cv_lib_motif2
="yes"
34301 echo "$as_me: failed program was:" >&5
34302 sed 's/^/| /' conftest.
$ac_ext >&5
34304 wx_cv_lib_motif2
="no"
34307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34309 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34310 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34311 if test "$wx_cv_lib_motif2" = "yes"; then
34312 cat >>confdefs.h
<<\_ACEOF
34313 #define __WXMOTIF20__ 1
34317 cat >>confdefs.h
<<\_ACEOF
34318 #define __WXMOTIF20__ 0
34323 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34324 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34325 if test "${wx_cv_lib_lesstif+set}" = set; then
34326 echo $ECHO_N "(cached) $ECHO_C" >&6
34328 cat >conftest.
$ac_ext <<_ACEOF
34331 cat confdefs.h
>>conftest.
$ac_ext
34332 cat >>conftest.
$ac_ext <<_ACEOF
34333 /* end confdefs.h. */
34341 #if !defined(LesstifVersion) || LesstifVersion <= 0
34349 rm -f conftest.
$ac_objext
34350 if { (ac_try
="$ac_compile"
34351 case "(($ac_try" in
34352 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34353 *) ac_try_echo=$ac_try;;
34355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34356 (eval "$ac_compile") 2>conftest.er1
34358 grep -v '^ *+' conftest.er1 >conftest.err
34360 cat conftest.err >&5
34361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34362 (exit $ac_status); } && {
34363 test -z "$ac_c_werror_flag" ||
34364 test ! -s conftest.err
34365 } && test -s conftest.$ac_objext; then
34366 wx_cv_lib_lesstif="yes"
34368 echo "$as_me: failed program was:" >&5
34369 sed 's/^/| /' conftest.$ac_ext >&5
34371 wx_cv_lib_lesstif="no"
34374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34377 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34378 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34379 if test "$wx_cv_lib_lesstif" = "yes"; then
34380 cat >>confdefs.h <<\_ACEOF
34381 #define __WXLESSTIF__ 1
34385 cat >>confdefs.h <<\_ACEOF
34386 #define __WXLESSTIF__ 0
34391 CFLAGS=$save_CFLAGS
34393 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34398 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34399 if test "$wxUSE_LIBXPM" = "sys"; then
34400 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34401 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34404 for ac_dir in $SEARCH_LIB;
34406 for ac_extension in a so sl dylib dll.a; do
34407 if test -f "$ac_dir/libXpm.$ac_extension"; then
34408 ac_find_libraries=$ac_dir
34414 if test "$ac_find_libraries" != "" ; then
34416 if test "$ac_find_libraries" = "default location"; then
34419 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34421 if test $result = 0; then
34424 ac_path_to_link=" -L$ac_find_libraries"
34428 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34429 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34430 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34432 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34433 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34434 if test "${wx_cv_x11_xpm_h+set}" = set; then
34435 echo $ECHO_N "(cached) $ECHO_C" >&6
34438 save_CFLAGS=$CFLAGS
34439 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34441 cat >conftest.$ac_ext <<_ACEOF
34444 cat confdefs.h >>conftest.$ac_ext
34445 cat >>conftest.$ac_ext <<_ACEOF
34446 /* end confdefs.h. */
34448 #include <X11/xpm.h>
34455 version = XpmLibraryVersion();
34461 rm -f conftest.$ac_objext
34462 if { (ac_try="$ac_compile"
34463 case "(($ac_try" in
34464 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34465 *) ac_try_echo
=$ac_try;;
34467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34468 (eval "$ac_compile") 2>conftest.er1
34470 grep -v '^ *+' conftest.er1
>conftest.err
34472 cat conftest.err
>&5
34473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34474 (exit $ac_status); } && {
34475 test -z "$ac_c_werror_flag" ||
34476 test ! -s conftest.err
34477 } && test -s conftest.
$ac_objext; then
34478 wx_cv_x11_xpm_h
=yes
34480 echo "$as_me: failed program was:" >&5
34481 sed 's/^/| /' conftest.
$ac_ext >&5
34487 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34489 CFLAGS
=$save_CFLAGS
34493 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34494 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34496 if test $wx_cv_x11_xpm_h = "yes"; then
34497 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
34498 cat >>confdefs.h
<<\_ACEOF
34499 #define wxHAVE_LIB_XPM 1
34503 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34504 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34510 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34511 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34512 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34513 echo $ECHO_N "(cached) $ECHO_C" >&6
34515 ac_check_lib_save_LIBS
=$LIBS
34516 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34517 cat >conftest.
$ac_ext <<_ACEOF
34520 cat confdefs.h
>>conftest.
$ac_ext
34521 cat >>conftest.
$ac_ext <<_ACEOF
34522 /* end confdefs.h. */
34524 /* Override any GCC internal prototype to avoid an error.
34525 Use char because int might match the return type of a GCC
34526 builtin and then its argument prototype would still apply. */
34530 char XShapeQueryExtension ();
34534 return XShapeQueryExtension ();
34539 rm -f conftest.
$ac_objext conftest
$ac_exeext
34540 if { (ac_try
="$ac_link"
34541 case "(($ac_try" in
34542 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34543 *) ac_try_echo=$ac_try;;
34545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34546 (eval "$ac_link") 2>conftest.er1
34548 grep -v '^ *+' conftest.er1 >conftest.err
34550 cat conftest.err >&5
34551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34552 (exit $ac_status); } && {
34553 test -z "$ac_c_werror_flag" ||
34554 test ! -s conftest.err
34555 } && test -s conftest$ac_exeext &&
34556 $as_test_x conftest$ac_exeext; then
34557 ac_cv_lib_Xext_XShapeQueryExtension=yes
34559 echo "$as_me: failed program was:" >&5
34560 sed 's/^/| /' conftest.$ac_ext >&5
34562 ac_cv_lib_Xext_XShapeQueryExtension=no
34565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34566 conftest$ac_exeext conftest.$ac_ext
34567 LIBS=$ac_check_lib_save_LIBS
34569 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34570 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34571 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34573 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34579 if test "$wxHAVE_XEXT_LIB" = 1; then
34580 save_CFLAGS="$CFLAGS"
34581 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34583 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34584 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34585 cat >conftest.$ac_ext <<_ACEOF
34588 cat confdefs.h >>conftest.$ac_ext
34589 cat >>conftest.$ac_ext <<_ACEOF
34590 /* end confdefs.h. */
34592 #include <X11/Xlib.h>
34593 #include <X11/extensions/shape.h>
34599 int dummy1, dummy2;
34600 XShapeQueryExtension((Display*)NULL,
34601 (int*)NULL, (int*)NULL);
34607 rm -f conftest.$ac_objext
34608 if { (ac_try="$ac_compile"
34609 case "(($ac_try" in
34610 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34611 *) ac_try_echo
=$ac_try;;
34613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34614 (eval "$ac_compile") 2>conftest.er1
34616 grep -v '^ *+' conftest.er1
>conftest.err
34618 cat conftest.err
>&5
34619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34620 (exit $ac_status); } && {
34621 test -z "$ac_c_werror_flag" ||
34622 test ! -s conftest.err
34623 } && test -s conftest.
$ac_objext; then
34625 cat >>confdefs.h
<<\_ACEOF
34626 #define HAVE_XSHAPE 1
34629 { echo "$as_me:$LINENO: result: found" >&5
34630 echo "${ECHO_T}found" >&6; }
34633 echo "$as_me: failed program was:" >&5
34634 sed 's/^/| /' conftest.
$ac_ext >&5
34637 { echo "$as_me:$LINENO: result: not found" >&5
34638 echo "${ECHO_T}not found" >&6; }
34642 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34643 CFLAGS
="$save_CFLAGS"
34648 if test "$wxUSE_MAC" = 1; then
34649 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34650 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34651 if test "$GCC" = yes; then
34652 { echo "$as_me:$LINENO: result: gcc" >&5
34653 echo "${ECHO_T}gcc" >&6; }
34654 CPPFLAGS_PASCAL
="-fpascal-strings"
34655 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34656 { echo "$as_me:$LINENO: result: xlc" >&5
34657 echo "${ECHO_T}xlc" >&6; }
34658 CPPFLAGS_PASCAL
="-qmacpstr"
34660 { echo "$as_me:$LINENO: result: none" >&5
34661 echo "${ECHO_T}none" >&6; }
34664 if test "x$wxUSE_UNIX" = "xyes"; then
34665 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34667 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34672 WXBASEPORT
="_carbon"
34675 if test "$wxUSE_COCOA" = 1; then
34680 if test "$wxUSE_PM" = 1; then
34683 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34684 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34685 if test "${wx_cv_spbcdata+set}" = set; then
34686 echo $ECHO_N "(cached) $ECHO_C" >&6
34689 cat >conftest.
$ac_ext <<_ACEOF
34692 cat confdefs.h
>>conftest.
$ac_ext
34693 cat >>conftest.
$ac_ext <<_ACEOF
34694 /* end confdefs.h. */
34709 rm -f conftest.
$ac_objext
34710 if { (ac_try
="$ac_compile"
34711 case "(($ac_try" in
34712 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34713 *) ac_try_echo=$ac_try;;
34715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34716 (eval "$ac_compile") 2>conftest.er1
34718 grep -v '^ *+' conftest.er1 >conftest.err
34720 cat conftest.err >&5
34721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34722 (exit $ac_status); } && {
34723 test -z "$ac_c_werror_flag" ||
34724 test ! -s conftest.err
34725 } && test -s conftest.$ac_objext; then
34728 echo "$as_me: failed program was:" >&5
34729 sed 's/^/| /' conftest.$ac_ext >&5
34735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34739 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34740 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34742 if test $wx_cv_spbcdata = "yes"; then
34743 cat >>confdefs.h <<\_ACEOF
34744 #define HAVE_SPBCDATA 1
34750 if test "$TOOLKIT" = "PM" ; then
34753 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34756 if test "$wxUSE_UNIVERSAL" = "yes"; then
34757 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34761 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34762 DISTDIR="wx\$(TOOLKIT)"
34768 if test "$USE_WIN32" = 1 ; then
34772 GUIDIST="BASE_DIST"
34778 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34779 if test "$TOOLKIT" = "DFB" ; then
34780 wxUSE_UNICODE_UTF8=yes
34781 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
34782 wxUSE_UNICODE_UTF8=yes
34783 elif test "$USE_OS2" = "1" ; then
34784 wxUSE_UNICODE_UTF8=yes
34786 wxUSE_UNICODE_UTF8=no
34791 if test "$wxUSE_GUI" = "yes"; then
34792 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34793 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
34794 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
34795 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
34796 echo $ECHO_N "(cached) $ECHO_C" >&6
34798 cat >conftest.$ac_ext <<_ACEOF
34801 cat confdefs.h >>conftest.$ac_ext
34802 cat >>conftest.$ac_ext <<_ACEOF
34803 /* end confdefs.h. */
34806 #include <X11/Xlib.h>
34808 rm -f conftest.$ac_objext
34809 if { (ac_try="$ac_compile"
34810 case "(($ac_try" in
34811 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34812 *) ac_try_echo
=$ac_try;;
34814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34815 (eval "$ac_compile") 2>conftest.er1
34817 grep -v '^ *+' conftest.er1
>conftest.err
34819 cat conftest.err
>&5
34820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34821 (exit $ac_status); } && {
34822 test -z "$ac_c_werror_flag" ||
34823 test ! -s conftest.err
34824 } && test -s conftest.
$ac_objext; then
34825 ac_cv_header_X11_Xlib_h
=yes
34827 echo "$as_me: failed program was:" >&5
34828 sed 's/^/| /' conftest.
$ac_ext >&5
34830 ac_cv_header_X11_Xlib_h
=no
34833 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34835 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
34836 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
34839 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
34840 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
34841 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
34842 echo $ECHO_N "(cached) $ECHO_C" >&6
34844 cat >conftest.
$ac_ext <<_ACEOF
34847 cat confdefs.h
>>conftest.
$ac_ext
34848 cat >>conftest.
$ac_ext <<_ACEOF
34849 /* end confdefs.h. */
34851 #if HAVE_X11_XLIB_H
34852 #include <X11/Xlib.h>
34856 #include <X11/XKBlib.h>
34858 rm -f conftest.
$ac_objext
34859 if { (ac_try
="$ac_compile"
34860 case "(($ac_try" in
34861 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34862 *) ac_try_echo=$ac_try;;
34864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34865 (eval "$ac_compile") 2>conftest.er1
34867 grep -v '^ *+' conftest.er1 >conftest.err
34869 cat conftest.err >&5
34870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34871 (exit $ac_status); } && {
34872 test -z "$ac_c_werror_flag" ||
34873 test ! -s conftest.err
34874 } && test -s conftest.$ac_objext; then
34875 ac_cv_header_X11_XKBlib_h=yes
34877 echo "$as_me: failed program was:" >&5
34878 sed 's/^/| /' conftest.$ac_ext >&5
34880 ac_cv_header_X11_XKBlib_h=no
34883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34885 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
34886 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
34897 if test "$TOOLKIT" != "MSW" ; then
34899 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
34901 { echo "$as_me:$LINENO: checking for sql.h" >&5
34902 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
34903 if test "${ac_cv_header_sql_h+set}" = set; then
34904 echo $ECHO_N "(cached) $ECHO_C" >&6
34906 cat >conftest.$ac_ext <<_ACEOF
34909 cat confdefs.h >>conftest.$ac_ext
34910 cat >>conftest.$ac_ext <<_ACEOF
34911 /* end confdefs.h. */
34916 rm -f conftest.$ac_objext
34917 if { (ac_try="$ac_compile"
34918 case "(($ac_try" in
34919 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34920 *) ac_try_echo
=$ac_try;;
34922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34923 (eval "$ac_compile") 2>conftest.er1
34925 grep -v '^ *+' conftest.er1
>conftest.err
34927 cat conftest.err
>&5
34928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34929 (exit $ac_status); } && {
34930 test -z "$ac_c_werror_flag" ||
34931 test ! -s conftest.err
34932 } && test -s conftest.
$ac_objext; then
34933 ac_cv_header_sql_h
=yes
34935 echo "$as_me: failed program was:" >&5
34936 sed 's/^/| /' conftest.
$ac_ext >&5
34938 ac_cv_header_sql_h
=no
34941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34943 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
34944 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
34945 if test $ac_cv_header_sql_h = yes; then
34950 if test "x$found_sql_h" = "x1" ; then
34951 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
34952 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
34953 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
34954 echo $ECHO_N "(cached) $ECHO_C" >&6
34956 ac_check_lib_save_LIBS
=$LIBS
34957 LIBS
="-liodbc $LIBS"
34958 cat >conftest.
$ac_ext <<_ACEOF
34961 cat confdefs.h
>>conftest.
$ac_ext
34962 cat >>conftest.
$ac_ext <<_ACEOF
34963 /* end confdefs.h. */
34965 /* Override any GCC internal prototype to avoid an error.
34966 Use char because int might match the return type of a GCC
34967 builtin and then its argument prototype would still apply. */
34971 char SQLAllocEnv ();
34975 return SQLAllocEnv ();
34980 rm -f conftest.
$ac_objext conftest
$ac_exeext
34981 if { (ac_try
="$ac_link"
34982 case "(($ac_try" in
34983 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34984 *) ac_try_echo=$ac_try;;
34986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34987 (eval "$ac_link") 2>conftest.er1
34989 grep -v '^ *+' conftest.er1 >conftest.err
34991 cat conftest.err >&5
34992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34993 (exit $ac_status); } && {
34994 test -z "$ac_c_werror_flag" ||
34995 test ! -s conftest.err
34996 } && test -s conftest$ac_exeext &&
34997 $as_test_x conftest$ac_exeext; then
34998 ac_cv_lib_iodbc_SQLAllocEnv=yes
35000 echo "$as_me: failed program was:" >&5
35001 sed 's/^/| /' conftest.$ac_ext >&5
35003 ac_cv_lib_iodbc_SQLAllocEnv=no
35006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35007 conftest$ac_exeext conftest.$ac_ext
35008 LIBS=$ac_check_lib_save_LIBS
35010 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35011 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35012 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35013 ODBC_LINK=" -liodbc"
35016 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35017 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35018 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35019 echo $ECHO_N "(cached) $ECHO_C" >&6
35021 ac_check_lib_save_LIBS=$LIBS
35022 LIBS="-lunixodbc $LIBS"
35023 cat >conftest.$ac_ext <<_ACEOF
35026 cat confdefs.h >>conftest.$ac_ext
35027 cat >>conftest.$ac_ext <<_ACEOF
35028 /* end confdefs.h. */
35030 /* Override any GCC internal prototype to avoid an error.
35031 Use char because int might match the return type of a GCC
35032 builtin and then its argument prototype would still apply. */
35036 char SQLAllocEnv ();
35040 return SQLAllocEnv ();
35045 rm -f conftest.$ac_objext conftest$ac_exeext
35046 if { (ac_try="$ac_link"
35047 case "(($ac_try" in
35048 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35049 *) ac_try_echo
=$ac_try;;
35051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35052 (eval "$ac_link") 2>conftest.er1
35054 grep -v '^ *+' conftest.er1
>conftest.err
35056 cat conftest.err
>&5
35057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35058 (exit $ac_status); } && {
35059 test -z "$ac_c_werror_flag" ||
35060 test ! -s conftest.err
35061 } && test -s conftest
$ac_exeext &&
35062 $as_test_x conftest
$ac_exeext; then
35063 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
35065 echo "$as_me: failed program was:" >&5
35066 sed 's/^/| /' conftest.
$ac_ext >&5
35068 ac_cv_lib_unixodbc_SQLAllocEnv
=no
35071 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35072 conftest
$ac_exeext conftest.
$ac_ext
35073 LIBS
=$ac_check_lib_save_LIBS
35075 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35076 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35077 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35078 ODBC_LINK
=" -lunixodbc"
35081 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35082 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35083 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35084 echo $ECHO_N "(cached) $ECHO_C" >&6
35086 ac_check_lib_save_LIBS
=$LIBS
35087 LIBS
="-lodbc $LIBS"
35088 cat >conftest.
$ac_ext <<_ACEOF
35091 cat confdefs.h
>>conftest.
$ac_ext
35092 cat >>conftest.
$ac_ext <<_ACEOF
35093 /* end confdefs.h. */
35095 /* Override any GCC internal prototype to avoid an error.
35096 Use char because int might match the return type of a GCC
35097 builtin and then its argument prototype would still apply. */
35101 char SQLAllocEnv ();
35105 return SQLAllocEnv ();
35110 rm -f conftest.
$ac_objext conftest
$ac_exeext
35111 if { (ac_try
="$ac_link"
35112 case "(($ac_try" in
35113 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35114 *) ac_try_echo=$ac_try;;
35116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35117 (eval "$ac_link") 2>conftest.er1
35119 grep -v '^ *+' conftest.er1 >conftest.err
35121 cat conftest.err >&5
35122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35123 (exit $ac_status); } && {
35124 test -z "$ac_c_werror_flag" ||
35125 test ! -s conftest.err
35126 } && test -s conftest$ac_exeext &&
35127 $as_test_x conftest$ac_exeext; then
35128 ac_cv_lib_odbc_SQLAllocEnv=yes
35130 echo "$as_me: failed program was:" >&5
35131 sed 's/^/| /' conftest.$ac_ext >&5
35133 ac_cv_lib_odbc_SQLAllocEnv=no
35136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35137 conftest$ac_exeext conftest.$ac_ext
35138 LIBS=$ac_check_lib_save_LIBS
35140 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35141 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35142 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35143 ODBC_LINK=" -lodbc"
35153 if test "x$ODBC_LINK" = "x" ; then
35154 if test "$wxUSE_ODBC" = "sys" ; then
35155 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35156 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35157 { (exit 1); exit 1; }; }
35159 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35160 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35168 if test "$wxUSE_ODBC" = "builtin" ; then
35169 cat >>confdefs.h <<\_ACEOF
35170 #define wxUSE_BUILTIN_IODBC 1
35176 if test "$wxUSE_ODBC" != "no" ; then
35177 cat >>confdefs.h <<\_ACEOF
35178 #define wxUSE_ODBC 1
35181 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35183 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35187 if test "$wxUSE_DISPLAY" = "yes"; then
35188 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35189 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35190 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35193 for ac_dir in $SEARCH_LIB;
35195 for ac_extension in a so sl dylib dll.a; do
35196 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35197 ac_find_libraries=$ac_dir
35203 if test "$ac_find_libraries" != "" ; then
35205 if test "$ac_find_libraries" = "default location"; then
35208 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35210 if test $result = 0; then
35213 ac_path_to_link=" -L$ac_find_libraries"
35217 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35218 LDFLAGS="$LDFLAGS $ac_path_to_link"
35220 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35221 { echo "$as_me:$LINENO: result: yes" >&5
35222 echo "${ECHO_T}yes" >&6; }
35224 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35225 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35228 for ac_dir in $SEARCH_LIB;
35230 for ac_extension in a so sl dylib dll.a; do
35231 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35232 ac_find_libraries=$ac_dir
35238 if test "$ac_find_libraries" != "" ; then
35239 { echo "$as_me:$LINENO: result: yes" >&5
35240 echo "${ECHO_T}yes" >&6; }
35241 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
35242 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
35243 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
35244 echo $ECHO_N "(cached) $ECHO_C" >&6
35246 cat >conftest.$ac_ext <<_ACEOF
35249 cat confdefs.h >>conftest.$ac_ext
35250 cat >>conftest.$ac_ext <<_ACEOF
35251 /* end confdefs.h. */
35253 #if HAVE_X11_XLIB_H
35254 #include <X11/Xlib.h>
35258 #include <X11/extensions/xf86vmode.h>
35260 rm -f conftest.$ac_objext
35261 if { (ac_try="$ac_compile"
35262 case "(($ac_try" in
35263 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35264 *) ac_try_echo
=$ac_try;;
35266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35267 (eval "$ac_compile") 2>conftest.er1
35269 grep -v '^ *+' conftest.er1
>conftest.err
35271 cat conftest.err
>&5
35272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35273 (exit $ac_status); } && {
35274 test -z "$ac_c_werror_flag" ||
35275 test ! -s conftest.err
35276 } && test -s conftest.
$ac_objext; then
35277 ac_cv_header_X11_extensions_xf86vmode_h
=yes
35279 echo "$as_me: failed program was:" >&5
35280 sed 's/^/| /' conftest.
$ac_ext >&5
35282 ac_cv_header_X11_extensions_xf86vmode_h
=no
35285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35287 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
35288 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
35289 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
35291 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
35297 { echo "$as_me:$LINENO: result: no" >&5
35298 echo "${ECHO_T}no" >&6; }
35302 { echo "$as_me:$LINENO: result: no" >&5
35303 echo "${ECHO_T}no" >&6; }
35304 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35305 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35308 elif test "$wxUSE_MSW" = 1; then
35309 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35310 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35311 if test "${ac_cv_header_ddraw_h+set}" = set; then
35312 echo $ECHO_N "(cached) $ECHO_C" >&6
35314 cat >conftest.
$ac_ext <<_ACEOF
35317 cat confdefs.h
>>conftest.
$ac_ext
35318 cat >>conftest.
$ac_ext <<_ACEOF
35319 /* end confdefs.h. */
35320 #include <windows.h>
35324 rm -f conftest.
$ac_objext
35325 if { (ac_try
="$ac_compile"
35326 case "(($ac_try" in
35327 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35328 *) ac_try_echo=$ac_try;;
35330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35331 (eval "$ac_compile") 2>conftest.er1
35333 grep -v '^ *+' conftest.er1 >conftest.err
35335 cat conftest.err >&5
35336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35337 (exit $ac_status); } && {
35338 test -z "$ac_c_werror_flag" ||
35339 test ! -s conftest.err
35340 } && test -s conftest.$ac_objext; then
35341 ac_cv_header_ddraw_h=yes
35343 echo "$as_me: failed program was:" >&5
35344 sed 's/^/| /' conftest.$ac_ext >&5
35346 ac_cv_header_ddraw_h=no
35349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35351 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35352 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35358 if test "$wxUSE_DETECT_SM" = "yes"; then
35359 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35360 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35361 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35364 for ac_dir in $SEARCH_LIB;
35366 for ac_extension in a so sl dylib dll.a; do
35367 if test -f "$ac_dir/libSM.$ac_extension"; then
35368 ac_find_libraries=$ac_dir
35374 if test "$ac_find_libraries" != "" ; then
35376 if test "$ac_find_libraries" = "default location"; then
35379 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35381 if test $result = 0; then
35384 ac_path_to_link=" -L$ac_find_libraries"
35388 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35389 LDFLAGS="$LDFLAGS $ac_path_to_link"
35391 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35392 { echo "$as_me:$LINENO: result: yes" >&5
35393 echo "${ECHO_T}yes" >&6; }
35395 { echo "$as_me:$LINENO: result: no" >&5
35396 echo "${ECHO_T}no" >&6; }
35397 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35398 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35399 wxUSE_DETECT_SM="no"
35402 wxUSE_DETECT_SM="no"
35409 if test "$wxUSE_OPENGL" = "yes"; then
35410 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35411 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35412 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35414 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35415 OPENGL_LIBS="-framework OpenGL -framework AGL"
35416 elif test "$wxUSE_MSW" = 1; then
35417 OPENGL_LIBS="-lopengl32 -lglu32"
35419 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35420 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35423 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35425 if test -f "$ac_dir/GL/gl.h"; then
35426 ac_find_includes=$ac_dir
35431 if test "$ac_find_includes" != "" ; then
35432 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35433 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35435 if test "x$ac_find_includes" = "x/usr/include"; then
35436 ac_path_to_include=""
35438 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35440 if test $result = 0; then
35441 ac_path_to_include=""
35443 ac_path_to_include=" -I$ac_find_includes"
35447 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35449 { echo "$as_me:$LINENO: result: not found" >&5
35450 echo "${ECHO_T}not found" >&6; }
35453 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35454 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35455 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35456 echo $ECHO_N "(cached) $ECHO_C" >&6
35458 cat >conftest.$ac_ext <<_ACEOF
35461 cat confdefs.h >>conftest.$ac_ext
35462 cat >>conftest.$ac_ext <<_ACEOF
35463 /* end confdefs.h. */
35468 rm -f conftest.$ac_objext
35469 if { (ac_try="$ac_compile"
35470 case "(($ac_try" in
35471 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35472 *) ac_try_echo
=$ac_try;;
35474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35475 (eval "$ac_compile") 2>conftest.er1
35477 grep -v '^ *+' conftest.er1
>conftest.err
35479 cat conftest.err
>&5
35480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35481 (exit $ac_status); } && {
35482 test -z "$ac_c_werror_flag" ||
35483 test ! -s conftest.err
35484 } && test -s conftest.
$ac_objext; then
35485 ac_cv_header_GL_gl_h
=yes
35487 echo "$as_me: failed program was:" >&5
35488 sed 's/^/| /' conftest.
$ac_ext >&5
35490 ac_cv_header_GL_gl_h
=no
35493 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35495 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35496 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35497 if test $ac_cv_header_GL_gl_h = yes; then
35499 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35500 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35501 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35502 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35503 echo $ECHO_N "(cached) $ECHO_C" >&6
35505 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35506 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35508 # Is the header compilable?
35509 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35510 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35511 cat >conftest.
$ac_ext <<_ACEOF
35514 cat confdefs.h
>>conftest.
$ac_ext
35515 cat >>conftest.
$ac_ext <<_ACEOF
35516 /* end confdefs.h. */
35517 $ac_includes_default
35518 #include <GL/glu.h>
35520 rm -f conftest.
$ac_objext
35521 if { (ac_try
="$ac_compile"
35522 case "(($ac_try" in
35523 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35524 *) ac_try_echo=$ac_try;;
35526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35527 (eval "$ac_compile") 2>conftest.er1
35529 grep -v '^ *+' conftest.er1 >conftest.err
35531 cat conftest.err >&5
35532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35533 (exit $ac_status); } && {
35534 test -z "$ac_c_werror_flag" ||
35535 test ! -s conftest.err
35536 } && test -s conftest.$ac_objext; then
35537 ac_header_compiler=yes
35539 echo "$as_me: failed program was:" >&5
35540 sed 's/^/| /' conftest.$ac_ext >&5
35542 ac_header_compiler=no
35545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35546 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35547 echo "${ECHO_T}$ac_header_compiler" >&6; }
35549 # Is the header present?
35550 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35551 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35552 cat >conftest.$ac_ext <<_ACEOF
35555 cat confdefs.h >>conftest.$ac_ext
35556 cat >>conftest.$ac_ext <<_ACEOF
35557 /* end confdefs.h. */
35558 #include <GL/glu.h>
35560 if { (ac_try="$ac_cpp conftest.$ac_ext"
35561 case "(($ac_try" in
35562 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35563 *) ac_try_echo
=$ac_try;;
35565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35566 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35568 grep -v '^ *+' conftest.er1
>conftest.err
35570 cat conftest.err
>&5
35571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35572 (exit $ac_status); } >/dev
/null
&& {
35573 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35574 test ! -s conftest.err
35576 ac_header_preproc
=yes
35578 echo "$as_me: failed program was:" >&5
35579 sed 's/^/| /' conftest.
$ac_ext >&5
35581 ac_header_preproc
=no
35584 rm -f conftest.err conftest.
$ac_ext
35585 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35586 echo "${ECHO_T}$ac_header_preproc" >&6; }
35588 # So? What about this header?
35589 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35591 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35592 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35593 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35594 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35595 ac_header_preproc
=yes
35598 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35599 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35600 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35601 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35602 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35603 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35604 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35605 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35606 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35607 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35608 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35609 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35611 ## ----------------------------------------- ##
35612 ## Report this to wx-dev@lists.wxwidgets.org ##
35613 ## ----------------------------------------- ##
35615 ) | sed "s/^/$as_me: WARNING: /" >&2
35618 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35619 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35620 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35621 echo $ECHO_N "(cached) $ECHO_C" >&6
35623 ac_cv_header_GL_glu_h
=$ac_header_preproc
35625 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35626 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35629 if test $ac_cv_header_GL_glu_h = yes; then
35633 { echo "$as_me:$LINENO: checking for -lGL" >&5
35634 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35637 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
35639 for ac_extension
in a so sl dylib dll.a
; do
35640 if test -f "$ac_dir/libGL.$ac_extension"; then
35641 ac_find_libraries
=$ac_dir
35647 if test "$ac_find_libraries" != "" ; then
35648 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35649 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35652 if test "$ac_find_libraries" = "default location"; then
35655 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35657 if test $result = 0; then
35660 ac_path_to_link
=" -L$ac_find_libraries"
35664 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35665 LDFLAGS_GL
="$ac_path_to_link"
35668 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35669 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35672 for ac_dir
in $SEARCH_LIB;
35674 for ac_extension
in a so sl dylib dll.a
; do
35675 if test -f "$ac_dir/libGLU.$ac_extension"; then
35676 ac_find_libraries
=$ac_dir
35682 if test "$ac_find_libraries" != "" ; then
35684 if test "$ac_find_libraries" = "default location"; then
35687 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35689 if test $result = 0; then
35692 ac_path_to_link
=" -L$ac_find_libraries"
35696 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35697 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35698 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
35702 OPENGL_LIBS
="-lGL -lGLU"
35703 { echo "$as_me:$LINENO: result: yes" >&5
35704 echo "${ECHO_T}yes" >&6; }
35706 { echo "$as_me:$LINENO: result: no" >&5
35707 echo "${ECHO_T}no" >&6; }
35710 { echo "$as_me:$LINENO: result: no" >&5
35711 echo "${ECHO_T}no" >&6; }
35714 if test "$found_gl" != 1; then
35715 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35716 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35719 for ac_dir
in $SEARCH_LIB;
35721 for ac_extension
in a so sl dylib dll.a
; do
35722 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35723 ac_find_libraries
=$ac_dir
35729 if test "$ac_find_libraries" != "" ; then
35731 if test "$ac_find_libraries" = "default location"; then
35734 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35736 if test $result = 0; then
35739 ac_path_to_link
=" -L$ac_find_libraries"
35743 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
35744 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
35745 { echo "$as_me:$LINENO: result: yes" >&5
35746 echo "${ECHO_T}yes" >&6; }
35748 { echo "$as_me:$LINENO: result: no" >&5
35749 echo "${ECHO_T}no" >&6; }
35761 if test "x$OPENGL_LIBS" = "x"; then
35762 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35763 echo "$as_me: error: OpenGL libraries not available" >&2;}
35764 { (exit 1); exit 1; }; }
35768 if test "$wxUSE_OPENGL" = "yes"; then
35770 cat >>confdefs.h
<<\_ACEOF
35771 #define wxUSE_OPENGL 1
35774 cat >>confdefs.h
<<\_ACEOF
35775 #define wxUSE_GLCANVAS 1
35778 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35783 if test -n "$TOOLKIT" ; then
35784 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35789 if test "$wxUSE_SHARED" = "yes"; then
35793 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35794 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35799 if test "$wxUSE_SHARED" = "yes"; then
35803 *-*-cygwin* | *-*-mingw* )
35804 wx_cv_version_script
=no
35808 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35809 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35810 if test "${wx_cv_version_script+set}" = set; then
35811 echo $ECHO_N "(cached) $ECHO_C" >&6
35814 echo "VER_1 { *; };" >conftest.sym
35815 echo "int main() { return 0; }" >conftest.cpp
35818 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35819 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35821 (eval $ac_try) 2>&5
35823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35824 (exit $ac_status); }; } ; then
35825 if test -s conftest.stderr
; then
35826 wx_cv_version_script
=no
35828 wx_cv_version_script
=yes
35831 wx_cv_version_script
=no
35834 if test $wx_cv_version_script = yes
35836 echo "struct B { virtual ~B() { } }; \
35837 struct D : public B { }; \
35838 void F() { D d; }" > conftest.cpp
35841 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35842 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35844 (eval $ac_try) 2>&5
35846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35847 (exit $ac_status); }; } &&
35849 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35850 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35852 (eval $ac_try) 2>&5
35854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35855 (exit $ac_status); }; }
35858 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35859 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35861 (eval $ac_try) 2>&5
35863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35864 (exit $ac_status); }; }
35866 wx_cv_version_script
=yes
35868 wx_cv_version_script
=no
35873 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35874 rm -f conftest1.output conftest2.output conftest3.output
35877 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35878 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35880 if test $wx_cv_version_script = yes ; then
35881 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35887 if test "$wxUSE_VISIBILITY" != "no"; then
35890 if test -n "$GCC"; then
35891 CFLAGS_VISIBILITY
="-fvisibility=hidden"
35892 CXXFLAGS_VISIBILITY
="-fvisibility=hidden -fvisibility-inlines-hidden"
35893 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35894 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35895 if test "${wx_cv_cc_visibility+set}" = set; then
35896 echo $ECHO_N "(cached) $ECHO_C" >&6
35899 wx_save_CXXFLAGS
="$CXXFLAGS"
35900 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35902 ac_cpp
='$CXXCPP $CPPFLAGS'
35903 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35904 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35905 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35907 cat >conftest.
$ac_ext <<_ACEOF
35910 cat confdefs.h
>>conftest.
$ac_ext
35911 cat >>conftest.
$ac_ext <<_ACEOF
35912 /* end confdefs.h. */
35914 /* we need gcc >= 4.0, older versions with visibility support
35915 didn't have class visibility: */
35916 #if defined(__GNUC__) && __GNUC__ < 4
35917 error this gcc is too old;
35920 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35921 extern __attribute__((__visibility__("default"))) int exportedvar;
35922 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35923 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35924 class __attribute__((__visibility__("default"))) Foo {
35936 rm -f conftest.
$ac_objext
35937 if { (ac_try
="$ac_compile"
35938 case "(($ac_try" in
35939 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35940 *) ac_try_echo=$ac_try;;
35942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35943 (eval "$ac_compile") 2>conftest.er1
35945 grep -v '^ *+' conftest.er1 >conftest.err
35947 cat conftest.err >&5
35948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35949 (exit $ac_status); } && {
35950 test -z "$ac_cxx_werror_flag" ||
35951 test ! -s conftest.err
35952 } && test -s conftest.$ac_objext; then
35953 wx_cv_cc_visibility=yes
35955 echo "$as_me: failed program was:" >&5
35956 sed 's/^/| /' conftest.$ac_ext >&5
35958 wx_cv_cc_visibility=no
35961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35963 ac_cpp='$CPP $CPPFLAGS'
35964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35968 CXXFLAGS="$wx_save_CXXFLAGS"
35971 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35972 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35973 if test $wx_cv_cc_visibility = yes; then
35974 cat >>confdefs.h <<\_ACEOF
35975 #define HAVE_VISIBILITY 1
35979 CFLAGS_VISIBILITY=""
35980 CXXFLAGS_VISIBILITY=""
35988 if test "x$SUNCXX" = xyes; then
35989 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35990 WXCONFIG_RPATH="-R\$libdir"
35993 *-*-linux* | *-*-gnu* )
35994 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35995 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36000 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36002 saveLdflags="$LDFLAGS"
36003 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36004 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36005 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36006 cat >conftest.$ac_ext <<_ACEOF
36009 cat confdefs.h >>conftest.$ac_ext
36010 cat >>conftest.$ac_ext <<_ACEOF
36011 /* end confdefs.h. */
36021 rm -f conftest.$ac_objext conftest$ac_exeext
36022 if { (ac_try="$ac_link"
36023 case "(($ac_try" in
36024 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36025 *) ac_try_echo
=$ac_try;;
36027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36028 (eval "$ac_link") 2>conftest.er1
36030 grep -v '^ *+' conftest.er1
>conftest.err
36032 cat conftest.err
>&5
36033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36034 (exit $ac_status); } && {
36035 test -z "$ac_c_werror_flag" ||
36036 test ! -s conftest.err
36037 } && test -s conftest
$ac_exeext &&
36038 $as_test_x conftest
$ac_exeext; then
36040 { echo "$as_me:$LINENO: result: yes" >&5
36041 echo "${ECHO_T}yes" >&6; }
36042 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
36043 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
36046 echo "$as_me: failed program was:" >&5
36047 sed 's/^/| /' conftest.
$ac_ext >&5
36050 { echo "$as_me:$LINENO: result: no" >&5
36051 echo "${ECHO_T}no" >&6; }
36052 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36053 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36054 LDFLAGS
="$saveLdflags -Wl,-R,/"
36055 cat >conftest.
$ac_ext <<_ACEOF
36058 cat confdefs.h
>>conftest.
$ac_ext
36059 cat >>conftest.
$ac_ext <<_ACEOF
36060 /* end confdefs.h. */
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_c_werror_flag" ||
36085 test ! -s conftest.err
36086 } && test -s conftest$ac_exeext &&
36087 $as_test_x conftest$ac_exeext; then
36089 { echo "$as_me:$LINENO: result: yes" >&5
36090 echo "${ECHO_T}yes" >&6; }
36091 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36092 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36095 echo "$as_me: failed program was:" >&5
36096 sed 's/^/| /' conftest.$ac_ext >&5
36099 { echo "$as_me:$LINENO: result: no" >&5
36100 echo "${ECHO_T}no" >&6; }
36104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36105 conftest$ac_exeext conftest.$ac_ext
36109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36110 conftest$ac_exeext conftest.$ac_ext
36111 LDFLAGS="$saveLdflags"
36115 install_name_tool=`which install_name_tool
`
36116 if test "$install_name_tool" -a -x "$install_name_tool"; then
36117 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36118 cat <<EOF >change-install-names
36120 libnames=\`cd \
${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\
`
36121 inst_cmd="install_name_tool "
36122 for i in \${libnames} ; do
36123 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36127 chmod +x change-install-names
36131 *-*-cygwin* | *-*-mingw32* )
36132 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36136 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36137 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36143 if test $wxUSE_RPATH = "no"; then
36144 SAMPLES_RPATH_FLAG=''
36145 SAMPLES_RPATH_POSTLINK=''
36153 config_linkage_component="-static"
36160 lib_unicode_suffix=
36162 if test "$wxUSE_UNICODE" = "yes"; then
36163 lib_unicode_suffix=u
36164 WX_CHARTYPE="unicode"
36169 WX_DEBUGTYPE="release"
36171 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36173 WX_DEBUGTYPE="debug"
36177 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36178 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36181 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36185 WX_VERSION_TAG=`echo WX
${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_
${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36187 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36189 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36191 if test "$cross_compiling" = "yes"; then
36192 HOST_SUFFIX="-$host_alias"
36193 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36194 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36197 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36198 if test "${TOOLKIT_DIR}" = "os2"; then
36199 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36201 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36206 if test "$wxUSE_COCOA" = 1; then
36209 ac_cpp='$CPP $CPPFLAGS'
36210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36216 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36217 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36218 cat >conftest.$ac_ext <<_ACEOF
36221 cat confdefs.h >>conftest.$ac_ext
36222 cat >>conftest.$ac_ext <<_ACEOF
36223 /* end confdefs.h. */
36224 #include <AppKit/NSEvent.h>
36225 #include <CoreFoundation/CoreFoundation.h>
36235 rm -f conftest.$ac_objext
36236 if { (ac_try="$ac_compile"
36237 case "(($ac_try" in
36238 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36239 *) ac_try_echo
=$ac_try;;
36241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36242 (eval "$ac_compile") 2>conftest.er1
36244 grep -v '^ *+' conftest.er1
>conftest.err
36246 cat conftest.err
>&5
36247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36248 (exit $ac_status); } && {
36249 test -z "$ac_c_werror_flag" ||
36250 test ! -s conftest.err
36251 } && test -s conftest.
$ac_objext; then
36252 { echo "$as_me:$LINENO: result: no" >&5
36253 echo "${ECHO_T}no" >&6; }
36255 echo "$as_me: failed program was:" >&5
36256 sed 's/^/| /' conftest.
$ac_ext >&5
36258 { echo "$as_me:$LINENO: result: yes" >&5
36259 echo "${ECHO_T}yes" >&6; }
36260 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36261 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36262 cat >conftest.
$ac_ext <<_ACEOF
36265 cat confdefs.h
>>conftest.
$ac_ext
36266 cat >>conftest.
$ac_ext <<_ACEOF
36267 /* end confdefs.h. */
36268 #define __Point__ 1
36269 #include <AppKit/NSEvent.h>
36270 #include <CoreFoundation/CoreFoundation.h>
36280 rm -f conftest.
$ac_objext
36281 if { (ac_try
="$ac_compile"
36282 case "(($ac_try" in
36283 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36284 *) ac_try_echo=$ac_try;;
36286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36287 (eval "$ac_compile") 2>conftest.er1
36289 grep -v '^ *+' conftest.er1 >conftest.err
36291 cat conftest.err >&5
36292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36293 (exit $ac_status); } && {
36294 test -z "$ac_c_werror_flag" ||
36295 test ! -s conftest.err
36296 } && test -s conftest.$ac_objext; then
36297 { echo "$as_me:$LINENO: result: yes" >&5
36298 echo "${ECHO_T}yes" >&6; }
36299 cat >>confdefs.h <<\_ACEOF
36300 #define __Point__ 1
36305 echo "$as_me: failed program was:" >&5
36306 sed 's/^/| /' conftest.$ac_ext >&5
36308 { { echo "$as_me:$LINENO: error: no
36309 See \`config.log
' for more details." >&5
36310 echo "$as_me: error: no
36311 See \`config.log' for more details.
" >&2;}
36312 { (exit 1); exit 1; }; }
36316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36322 ac_cpp='$CPP $CPPFLAGS'
36323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36329 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36330 WX_RESOURCES_MACOSX_ASCII="libwx_
${TOOLCHAIN_NAME}.
${wx_release_number}.r
"
36331 WX_RESOURCES_MACOSX_DATA="libwx_
${TOOLCHAIN_NAME}.
${wx_release_number}.rsrc
"
36333 LIBWXMACRES="\
$(wx_top_builddir)/lib
/${WX_RESOURCES_MACOSX_ASCII}"
36335 # Extract the first word of "Rez
", so it can be a program name with args.
36336 set dummy Rez; ac_word=$2
36337 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
36338 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
36339 if test "${ac_cv_prog_REZ+set}" = set; then
36340 echo $ECHO_N "(cached
) $ECHO_C" >&6
36342 if test -n "$REZ"; then
36343 ac_cv_prog_REZ="$REZ" # Let the user override the test.
36345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36346 for as_dir in $PATH
36349 test -z "$as_dir" && as_dir=.
36350 for ac_exec_ext in '' $ac_executable_extensions; do
36351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36352 ac_cv_prog_REZ="Rez
"
36353 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
36360 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer
/Tools
/Rez
"
36363 REZ=$ac_cv_prog_REZ
36364 if test -n "$REZ"; then
36365 { echo "$as_me:$LINENO: result
: $REZ" >&5
36366 echo "${ECHO_T}$REZ" >&6; }
36368 { echo "$as_me:$LINENO: result
: no
" >&5
36369 echo "${ECHO_T}no
" >&6; }
36373 # Extract the first word of "DeRez
", so it can be a program name with args.
36374 set dummy DeRez; ac_word=$2
36375 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
36376 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
36377 if test "${ac_cv_prog_DEREZ+set}" = set; then
36378 echo $ECHO_N "(cached
) $ECHO_C" >&6
36380 if test -n "$DEREZ"; then
36381 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
36383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36384 for as_dir in $PATH
36387 test -z "$as_dir" && as_dir=.
36388 for ac_exec_ext in '' $ac_executable_extensions; do
36389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36390 ac_cv_prog_DEREZ="DeRez
"
36391 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
36398 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer
/Tools
/DeRez
"
36401 DEREZ=$ac_cv_prog_DEREZ
36402 if test -n "$DEREZ"; then
36403 { echo "$as_me:$LINENO: result
: $DEREZ" >&5
36404 echo "${ECHO_T}$DEREZ" >&6; }
36406 { echo "$as_me:$LINENO: result
: no
" >&5
36407 echo "${ECHO_T}no
" >&6; }
36411 # Extract the first word of "SetFile
", so it can be a program name with args.
36412 set dummy SetFile; ac_word=$2
36413 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
36414 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
36415 if test "${ac_cv_prog_SETFILE+set}" = set; then
36416 echo $ECHO_N "(cached
) $ECHO_C" >&6
36418 if test -n "$SETFILE"; then
36419 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36422 for as_dir in $PATH
36425 test -z "$as_dir" && as_dir=.
36426 for ac_exec_ext in '' $ac_executable_extensions; do
36427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36428 ac_cv_prog_SETFILE="SetFile
"
36429 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
36436 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer
/Tools
/SetFile
"
36439 SETFILE=$ac_cv_prog_SETFILE
36440 if test -n "$SETFILE"; then
36441 { echo "$as_me:$LINENO: result
: $SETFILE" >&5
36442 echo "${ECHO_T}$SETFILE" >&6; }
36444 { echo "$as_me:$LINENO: result
: no
" >&5
36445 echo "${ECHO_T}no
" >&6; }
36450 MACSETFILE="\
$(SETFILE)"
36452 if test "$wxUSE_MAC" = 1; then
36453 POSTLINK_COMMAND="\
$(REZ) -d __DARWIN__
-t APPL Carbon.r
-o"
36455 WXCONFIG_RESFLAGS="-d __DARWIN__
-t APPL Carbon.r
-o"
36457 POSTLINK_COMMAND="echo -n | \
$(REZ) -d __DARWIN__
-t APPL
${LIBWXMACRES}"
36458 RESCOMP="echo -n \
| $REZ"
36459 WXCONFIG_RESFLAGS="-d __DARWIN__
-t APPL \
$libdir/$WX_RESOURCES_MACOSX_ASCII"
36465 if test "$wxUSE_PM" = 1; then
36467 WXCONFIG_RESFLAGS="-ep"
36469 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
36471 POSTLINK_COMMAND="@true
"
36478 { echo "$as_me:$LINENO: checking
for mode_t
" >&5
36479 echo $ECHO_N "checking
for mode_t...
$ECHO_C" >&6; }
36480 if test "${ac_cv_type_mode_t+set}" = set; then
36481 echo $ECHO_N "(cached
) $ECHO_C" >&6
36483 cat >conftest.$ac_ext <<_ACEOF
36486 cat confdefs.h >>conftest.$ac_ext
36487 cat >>conftest.$ac_ext <<_ACEOF
36488 /* end confdefs.h. */
36489 $ac_includes_default
36490 typedef mode_t ac__type_new_;
36494 if ((ac__type_new_ *) 0)
36496 if (sizeof (ac__type_new_))
36502 rm -f conftest.$ac_objext
36503 if { (ac_try="$ac_compile"
36504 case "(($ac_try" in
36505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36506 *) ac_try_echo=$ac_try;;
36508 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36509 (eval "$ac_compile") 2>conftest.er1
36511 grep -v '^ *+' conftest.er1 >conftest.err
36513 cat conftest.err >&5
36514 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36515 (exit $ac_status); } && {
36516 test -z "$ac_c_werror_flag" ||
36517 test ! -s conftest.err
36518 } && test -s conftest.$ac_objext; then
36519 ac_cv_type_mode_t=yes
36521 echo "$as_me: failed program was
:" >&5
36522 sed 's/^/| /' conftest.$ac_ext >&5
36524 ac_cv_type_mode_t=no
36527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36529 { echo "$as_me:$LINENO: result
: $ac_cv_type_mode_t" >&5
36530 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36531 if test $ac_cv_type_mode_t = yes; then
36535 cat >>confdefs.h <<_ACEOF
36541 { echo "$as_me:$LINENO: checking
for off_t
" >&5
36542 echo $ECHO_N "checking
for off_t...
$ECHO_C" >&6; }
36543 if test "${ac_cv_type_off_t+set}" = set; then
36544 echo $ECHO_N "(cached
) $ECHO_C" >&6
36546 cat >conftest.$ac_ext <<_ACEOF
36549 cat confdefs.h >>conftest.$ac_ext
36550 cat >>conftest.$ac_ext <<_ACEOF
36551 /* end confdefs.h. */
36552 $ac_includes_default
36553 typedef off_t ac__type_new_;
36557 if ((ac__type_new_ *) 0)
36559 if (sizeof (ac__type_new_))
36565 rm -f conftest.$ac_objext
36566 if { (ac_try="$ac_compile"
36567 case "(($ac_try" in
36568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36569 *) ac_try_echo=$ac_try;;
36571 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36572 (eval "$ac_compile") 2>conftest.er1
36574 grep -v '^ *+' conftest.er1 >conftest.err
36576 cat conftest.err >&5
36577 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36578 (exit $ac_status); } && {
36579 test -z "$ac_c_werror_flag" ||
36580 test ! -s conftest.err
36581 } && test -s conftest.$ac_objext; then
36582 ac_cv_type_off_t=yes
36584 echo "$as_me: failed program was
:" >&5
36585 sed 's/^/| /' conftest.$ac_ext >&5
36587 ac_cv_type_off_t=no
36590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36592 { echo "$as_me:$LINENO: result
: $ac_cv_type_off_t" >&5
36593 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36594 if test $ac_cv_type_off_t = yes; then
36598 cat >>confdefs.h <<_ACEOF
36599 #define off_t long int
36604 { echo "$as_me:$LINENO: checking
for pid_t
" >&5
36605 echo $ECHO_N "checking
for pid_t...
$ECHO_C" >&6; }
36606 if test "${ac_cv_type_pid_t+set}" = set; then
36607 echo $ECHO_N "(cached
) $ECHO_C" >&6
36609 cat >conftest.$ac_ext <<_ACEOF
36612 cat confdefs.h >>conftest.$ac_ext
36613 cat >>conftest.$ac_ext <<_ACEOF
36614 /* end confdefs.h. */
36615 $ac_includes_default
36616 typedef pid_t ac__type_new_;
36620 if ((ac__type_new_ *) 0)
36622 if (sizeof (ac__type_new_))
36628 rm -f conftest.$ac_objext
36629 if { (ac_try="$ac_compile"
36630 case "(($ac_try" in
36631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36632 *) ac_try_echo=$ac_try;;
36634 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36635 (eval "$ac_compile") 2>conftest.er1
36637 grep -v '^ *+' conftest.er1 >conftest.err
36639 cat conftest.err >&5
36640 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36641 (exit $ac_status); } && {
36642 test -z "$ac_c_werror_flag" ||
36643 test ! -s conftest.err
36644 } && test -s conftest.$ac_objext; then
36645 ac_cv_type_pid_t=yes
36647 echo "$as_me: failed program was
:" >&5
36648 sed 's/^/| /' conftest.$ac_ext >&5
36650 ac_cv_type_pid_t=no
36653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36655 { echo "$as_me:$LINENO: result
: $ac_cv_type_pid_t" >&5
36656 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36657 if test $ac_cv_type_pid_t = yes; then
36661 cat >>confdefs.h <<_ACEOF
36667 { echo "$as_me:$LINENO: checking
for size_t
" >&5
36668 echo $ECHO_N "checking
for size_t...
$ECHO_C" >&6; }
36669 if test "${ac_cv_type_size_t+set}" = set; then
36670 echo $ECHO_N "(cached
) $ECHO_C" >&6
36672 cat >conftest.$ac_ext <<_ACEOF
36675 cat confdefs.h >>conftest.$ac_ext
36676 cat >>conftest.$ac_ext <<_ACEOF
36677 /* end confdefs.h. */
36678 $ac_includes_default
36679 typedef size_t ac__type_new_;
36683 if ((ac__type_new_ *) 0)
36685 if (sizeof (ac__type_new_))
36691 rm -f conftest.$ac_objext
36692 if { (ac_try="$ac_compile"
36693 case "(($ac_try" in
36694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36695 *) ac_try_echo=$ac_try;;
36697 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36698 (eval "$ac_compile") 2>conftest.er1
36700 grep -v '^ *+' conftest.er1 >conftest.err
36702 cat conftest.err >&5
36703 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36704 (exit $ac_status); } && {
36705 test -z "$ac_c_werror_flag" ||
36706 test ! -s conftest.err
36707 } && test -s conftest.$ac_objext; then
36708 ac_cv_type_size_t=yes
36710 echo "$as_me: failed program was
:" >&5
36711 sed 's/^/| /' conftest.$ac_ext >&5
36713 ac_cv_type_size_t=no
36716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36718 { echo "$as_me:$LINENO: result
: $ac_cv_type_size_t" >&5
36719 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36720 if test $ac_cv_type_size_t = yes; then
36724 cat >>confdefs.h <<_ACEOF
36725 #define size_t unsigned int
36730 { echo "$as_me:$LINENO: checking
for uid_t
in sys
/types.h
" >&5
36731 echo $ECHO_N "checking
for uid_t
in sys
/types.h...
$ECHO_C" >&6; }
36732 if test "${ac_cv_type_uid_t+set}" = set; then
36733 echo $ECHO_N "(cached
) $ECHO_C" >&6
36735 cat >conftest.$ac_ext <<_ACEOF
36738 cat confdefs.h >>conftest.$ac_ext
36739 cat >>conftest.$ac_ext <<_ACEOF
36740 /* end confdefs.h. */
36741 #include <sys/types.h>
36744 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
36745 $EGREP "uid_t
" >/dev/null 2>&1; then
36746 ac_cv_type_uid_t=yes
36748 ac_cv_type_uid_t=no
36753 { echo "$as_me:$LINENO: result
: $ac_cv_type_uid_t" >&5
36754 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36755 if test $ac_cv_type_uid_t = no; then
36757 cat >>confdefs.h <<\_ACEOF
36762 cat >>confdefs.h <<\_ACEOF
36769 { echo "$as_me:$LINENO: checking
for ssize_t
" >&5
36770 echo $ECHO_N "checking
for ssize_t...
$ECHO_C" >&6; }
36771 if test "${ac_cv_type_ssize_t+set}" = set; then
36772 echo $ECHO_N "(cached
) $ECHO_C" >&6
36774 cat >conftest.$ac_ext <<_ACEOF
36777 cat confdefs.h >>conftest.$ac_ext
36778 cat >>conftest.$ac_ext <<_ACEOF
36779 /* end confdefs.h. */
36780 $ac_includes_default
36781 typedef ssize_t ac__type_new_;
36785 if ((ac__type_new_ *) 0)
36787 if (sizeof (ac__type_new_))
36793 rm -f conftest.$ac_objext
36794 if { (ac_try="$ac_compile"
36795 case "(($ac_try" in
36796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36797 *) ac_try_echo=$ac_try;;
36799 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36800 (eval "$ac_compile") 2>conftest.er1
36802 grep -v '^ *+' conftest.er1 >conftest.err
36804 cat conftest.err >&5
36805 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36806 (exit $ac_status); } && {
36807 test -z "$ac_c_werror_flag" ||
36808 test ! -s conftest.err
36809 } && test -s conftest.$ac_objext; then
36810 ac_cv_type_ssize_t=yes
36812 echo "$as_me: failed program was
:" >&5
36813 sed 's/^/| /' conftest.$ac_ext >&5
36815 ac_cv_type_ssize_t=no
36818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36820 { echo "$as_me:$LINENO: result
: $ac_cv_type_ssize_t" >&5
36821 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36822 if test $ac_cv_type_ssize_t = yes; then
36824 cat >>confdefs.h <<_ACEOF
36825 #define HAVE_SSIZE_T 1
36833 ac_cpp='$CXXCPP $CPPFLAGS'
36834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36837 { echo "$as_me:$LINENO: checking
if size_t is unsigned int
" >&5
36838 echo $ECHO_N "checking
if size_t is unsigned int...
$ECHO_C" >&6; }
36839 if test "${wx_cv_size_t_is_uint+set}" = set; then
36840 echo $ECHO_N "(cached
) $ECHO_C" >&6
36843 cat >conftest.$ac_ext <<_ACEOF
36846 cat confdefs.h >>conftest.$ac_ext
36847 cat >>conftest.$ac_ext <<_ACEOF
36848 /* end confdefs.h. */
36849 #include <stddef.h>
36856 struct Foo { void foo(size_t); void foo(unsigned int); };
36864 rm -f conftest.$ac_objext
36865 if { (ac_try="$ac_compile"
36866 case "(($ac_try" in
36867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36868 *) ac_try_echo=$ac_try;;
36870 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36871 (eval "$ac_compile") 2>conftest.er1
36873 grep -v '^ *+' conftest.er1 >conftest.err
36875 cat conftest.err >&5
36876 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36877 (exit $ac_status); } && {
36878 test -z "$ac_cxx_werror_flag" ||
36879 test ! -s conftest.err
36880 } && test -s conftest.$ac_objext; then
36881 wx_cv_size_t_is_uint=no
36883 echo "$as_me: failed program was
:" >&5
36884 sed 's/^/| /' conftest.$ac_ext >&5
36886 wx_cv_size_t_is_uint=yes
36890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36894 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_uint" >&5
36895 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36897 if test "$wx_cv_size_t_is_uint" = "yes"; then
36898 cat >>confdefs.h <<\_ACEOF
36899 #define wxSIZE_T_IS_UINT 1
36903 { echo "$as_me:$LINENO: checking
if size_t is unsigned long
" >&5
36904 echo $ECHO_N "checking
if size_t is unsigned long...
$ECHO_C" >&6; }
36905 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36906 echo $ECHO_N "(cached
) $ECHO_C" >&6
36908 cat >conftest.$ac_ext <<_ACEOF
36911 cat confdefs.h >>conftest.$ac_ext
36912 cat >>conftest.$ac_ext <<_ACEOF
36913 /* end confdefs.h. */
36914 #include <stddef.h>
36921 struct Foo { void foo(size_t); void foo(unsigned long); };
36929 rm -f conftest.$ac_objext
36930 if { (ac_try="$ac_compile"
36931 case "(($ac_try" in
36932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36933 *) ac_try_echo=$ac_try;;
36935 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36936 (eval "$ac_compile") 2>conftest.er1
36938 grep -v '^ *+' conftest.er1 >conftest.err
36940 cat conftest.err >&5
36941 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36942 (exit $ac_status); } && {
36943 test -z "$ac_cxx_werror_flag" ||
36944 test ! -s conftest.err
36945 } && test -s conftest.$ac_objext; then
36946 wx_cv_size_t_is_ulong=no
36948 echo "$as_me: failed program was
:" >&5
36949 sed 's/^/| /' conftest.$ac_ext >&5
36951 wx_cv_size_t_is_ulong=yes
36955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36958 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_ulong" >&5
36959 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36961 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36962 cat >>confdefs.h <<\_ACEOF
36963 #define wxSIZE_T_IS_ULONG 1
36969 { echo "$as_me:$LINENO: checking
if wchar_t is separate
type" >&5
36970 echo $ECHO_N "checking
if wchar_t is separate
type...
$ECHO_C" >&6; }
36971 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36972 echo $ECHO_N "(cached
) $ECHO_C" >&6
36974 cat >conftest.$ac_ext <<_ACEOF
36977 cat confdefs.h >>conftest.$ac_ext
36978 cat >>conftest.$ac_ext <<_ACEOF
36979 /* end confdefs.h. */
36987 struct Foo { void foo(wchar_t);
36988 void foo(unsigned short);
36989 void foo(unsigned int);
36990 void foo(unsigned long); };
36998 rm -f conftest.$ac_objext
36999 if { (ac_try="$ac_compile"
37000 case "(($ac_try" in
37001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37002 *) ac_try_echo=$ac_try;;
37004 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37005 (eval "$ac_compile") 2>conftest.er1
37007 grep -v '^ *+' conftest.er1 >conftest.err
37009 cat conftest.err >&5
37010 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37011 (exit $ac_status); } && {
37012 test -z "$ac_cxx_werror_flag" ||
37013 test ! -s conftest.err
37014 } && test -s conftest.$ac_objext; then
37015 wx_cv_wchar_t_is_separate_type=yes
37017 echo "$as_me: failed program was
:" >&5
37018 sed 's/^/| /' conftest.$ac_ext >&5
37020 wx_cv_wchar_t_is_separate_type=no
37024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37027 { echo "$as_me:$LINENO: result
: $wx_cv_wchar_t_is_separate_type" >&5
37028 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37030 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37031 cat >>confdefs.h <<\_ACEOF
37032 #define wxWCHAR_T_IS_REAL_TYPE 1
37036 cat >>confdefs.h <<\_ACEOF
37037 #define wxWCHAR_T_IS_REAL_TYPE 0
37043 ac_cpp='$CPP $CPPFLAGS'
37044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37049 { echo "$as_me:$LINENO: checking
for pw_gecos
in struct passwd
" >&5
37050 echo $ECHO_N "checking
for pw_gecos
in struct passwd...
$ECHO_C" >&6; }
37051 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37052 echo $ECHO_N "(cached
) $ECHO_C" >&6
37055 cat >conftest.$ac_ext <<_ACEOF
37058 cat confdefs.h >>conftest.$ac_ext
37059 cat >>conftest.$ac_ext <<_ACEOF
37060 /* end confdefs.h. */
37074 rm -f conftest.$ac_objext
37075 if { (ac_try="$ac_compile"
37076 case "(($ac_try" in
37077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37078 *) ac_try_echo=$ac_try;;
37080 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37081 (eval "$ac_compile") 2>conftest.er1
37083 grep -v '^ *+' conftest.er1 >conftest.err
37085 cat conftest.err >&5
37086 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37087 (exit $ac_status); } && {
37088 test -z "$ac_c_werror_flag" ||
37089 test ! -s conftest.err
37090 } && test -s conftest.$ac_objext; then
37092 wx_cv_struct_pw_gecos=yes
37095 echo "$as_me: failed program was
:" >&5
37096 sed 's/^/| /' conftest.$ac_ext >&5
37099 wx_cv_struct_pw_gecos=no
37104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37108 { echo "$as_me:$LINENO: result
: $wx_cv_struct_pw_gecos" >&5
37109 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37111 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37112 cat >>confdefs.h <<\_ACEOF
37113 #define HAVE_PW_GECOS 1
37119 if test "$wxUSE_WCHAR_T" = "yes"; then
37120 cat >>confdefs.h <<\_ACEOF
37121 #define wxUSE_WCHAR_T 1
37128 for ac_func in wcslen
37130 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37131 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37132 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37133 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37134 echo $ECHO_N "(cached
) $ECHO_C" >&6
37136 cat >conftest.$ac_ext <<_ACEOF
37139 cat confdefs.h >>conftest.$ac_ext
37140 cat >>conftest.$ac_ext <<_ACEOF
37141 /* end confdefs.h. */
37142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37144 #define $ac_func innocuous_$ac_func
37146 /* System header to define __stub macros and hopefully few prototypes,
37147 which can conflict with char $ac_func (); below.
37148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37149 <limits.h> exists even on freestanding compilers. */
37152 # include <limits.h>
37154 # include <assert.h>
37159 /* Override any GCC internal prototype to avoid an error.
37160 Use char because int might match the return type of a GCC
37161 builtin and then its argument prototype would still apply. */
37166 /* The GNU C library defines this for functions which it implements
37167 to always fail with ENOSYS. Some functions are actually named
37168 something starting with __ and the normal name is an alias. */
37169 #if defined __stub_$ac_func || defined __stub___$ac_func
37176 return $ac_func ();
37181 rm -f conftest.$ac_objext conftest$ac_exeext
37182 if { (ac_try="$ac_link"
37183 case "(($ac_try" in
37184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37185 *) ac_try_echo=$ac_try;;
37187 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37188 (eval "$ac_link") 2>conftest.er1
37190 grep -v '^ *+' conftest.er1 >conftest.err
37192 cat conftest.err >&5
37193 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37194 (exit $ac_status); } && {
37195 test -z "$ac_c_werror_flag" ||
37196 test ! -s conftest.err
37197 } && test -s conftest$ac_exeext &&
37198 $as_test_x conftest$ac_exeext; then
37199 eval "$as_ac_var=yes"
37201 echo "$as_me: failed program was
:" >&5
37202 sed 's/^/| /' conftest.$ac_ext >&5
37204 eval "$as_ac_var=no
"
37207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37208 conftest$ac_exeext conftest.$ac_ext
37210 ac_res=`eval echo '${'$as_ac_var'}'`
37211 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37212 echo "${ECHO_T}$ac_res" >&6; }
37213 if test `eval echo '${'$as_ac_var'}'` = yes; then
37214 cat >>confdefs.h <<_ACEOF
37215 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37222 if test "$WCSLEN_FOUND" = 0; then
37223 if test "$TOOLKIT" = "MSW
"; then
37224 { echo "$as_me:$LINENO: checking
for wcslen
in -lmsvcrt" >&5
37225 echo $ECHO_N "checking
for wcslen
in -lmsvcrt...
$ECHO_C" >&6; }
37226 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37227 echo $ECHO_N "(cached
) $ECHO_C" >&6
37229 ac_check_lib_save_LIBS=$LIBS
37230 LIBS="-lmsvcrt $LIBS"
37231 cat >conftest.$ac_ext <<_ACEOF
37234 cat confdefs.h >>conftest.$ac_ext
37235 cat >>conftest.$ac_ext <<_ACEOF
37236 /* end confdefs.h. */
37238 /* Override any GCC internal prototype to avoid an error.
37239 Use char because int might match the return type of a GCC
37240 builtin and then its argument prototype would still apply. */
37253 rm -f conftest.$ac_objext conftest$ac_exeext
37254 if { (ac_try="$ac_link"
37255 case "(($ac_try" in
37256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37257 *) ac_try_echo=$ac_try;;
37259 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37260 (eval "$ac_link") 2>conftest.er1
37262 grep -v '^ *+' conftest.er1 >conftest.err
37264 cat conftest.err >&5
37265 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37266 (exit $ac_status); } && {
37267 test -z "$ac_c_werror_flag" ||
37268 test ! -s conftest.err
37269 } && test -s conftest$ac_exeext &&
37270 $as_test_x conftest$ac_exeext; then
37271 ac_cv_lib_msvcrt_wcslen=yes
37273 echo "$as_me: failed program was
:" >&5
37274 sed 's/^/| /' conftest.$ac_ext >&5
37276 ac_cv_lib_msvcrt_wcslen=no
37279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37280 conftest$ac_exeext conftest.$ac_ext
37281 LIBS=$ac_check_lib_save_LIBS
37283 { echo "$as_me:$LINENO: result
: $ac_cv_lib_msvcrt_wcslen" >&5
37284 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37285 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37290 { echo "$as_me:$LINENO: checking
for wcslen
in -lw" >&5
37291 echo $ECHO_N "checking
for wcslen
in -lw...
$ECHO_C" >&6; }
37292 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37293 echo $ECHO_N "(cached
) $ECHO_C" >&6
37295 ac_check_lib_save_LIBS=$LIBS
37297 cat >conftest.$ac_ext <<_ACEOF
37300 cat confdefs.h >>conftest.$ac_ext
37301 cat >>conftest.$ac_ext <<_ACEOF
37302 /* end confdefs.h. */
37304 /* Override any GCC internal prototype to avoid an error.
37305 Use char because int might match the return type of a GCC
37306 builtin and then its argument prototype would still apply. */
37319 rm -f conftest.$ac_objext conftest$ac_exeext
37320 if { (ac_try="$ac_link"
37321 case "(($ac_try" in
37322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37323 *) ac_try_echo=$ac_try;;
37325 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37326 (eval "$ac_link") 2>conftest.er1
37328 grep -v '^ *+' conftest.er1 >conftest.err
37330 cat conftest.err >&5
37331 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37332 (exit $ac_status); } && {
37333 test -z "$ac_c_werror_flag" ||
37334 test ! -s conftest.err
37335 } && test -s conftest$ac_exeext &&
37336 $as_test_x conftest$ac_exeext; then
37337 ac_cv_lib_w_wcslen=yes
37339 echo "$as_me: failed program was
:" >&5
37340 sed 's/^/| /' conftest.$ac_ext >&5
37342 ac_cv_lib_w_wcslen=no
37345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37346 conftest$ac_exeext conftest.$ac_ext
37347 LIBS=$ac_check_lib_save_LIBS
37349 { echo "$as_me:$LINENO: result
: $ac_cv_lib_w_wcslen" >&5
37350 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37351 if test $ac_cv_lib_w_wcslen = yes; then
37361 if test "$WCSLEN_FOUND" = 1; then
37362 cat >>confdefs.h <<\_ACEOF
37363 #define HAVE_WCSLEN 1
37369 for ac_func in wcsdup
37371 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37372 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37373 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37374 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37375 echo $ECHO_N "(cached
) $ECHO_C" >&6
37377 cat >conftest.$ac_ext <<_ACEOF
37380 cat confdefs.h >>conftest.$ac_ext
37381 cat >>conftest.$ac_ext <<_ACEOF
37382 /* end confdefs.h. */
37383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37385 #define $ac_func innocuous_$ac_func
37387 /* System header to define __stub macros and hopefully few prototypes,
37388 which can conflict with char $ac_func (); below.
37389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37390 <limits.h> exists even on freestanding compilers. */
37393 # include <limits.h>
37395 # include <assert.h>
37400 /* Override any GCC internal prototype to avoid an error.
37401 Use char because int might match the return type of a GCC
37402 builtin and then its argument prototype would still apply. */
37407 /* The GNU C library defines this for functions which it implements
37408 to always fail with ENOSYS. Some functions are actually named
37409 something starting with __ and the normal name is an alias. */
37410 #if defined __stub_$ac_func || defined __stub___$ac_func
37417 return $ac_func ();
37422 rm -f conftest.$ac_objext conftest$ac_exeext
37423 if { (ac_try="$ac_link"
37424 case "(($ac_try" in
37425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37426 *) ac_try_echo=$ac_try;;
37428 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37429 (eval "$ac_link") 2>conftest.er1
37431 grep -v '^ *+' conftest.er1 >conftest.err
37433 cat conftest.err >&5
37434 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37435 (exit $ac_status); } && {
37436 test -z "$ac_c_werror_flag" ||
37437 test ! -s conftest.err
37438 } && test -s conftest$ac_exeext &&
37439 $as_test_x conftest$ac_exeext; then
37440 eval "$as_ac_var=yes"
37442 echo "$as_me: failed program was
:" >&5
37443 sed 's/^/| /' conftest.$ac_ext >&5
37445 eval "$as_ac_var=no
"
37448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37449 conftest$ac_exeext conftest.$ac_ext
37451 ac_res=`eval echo '${'$as_ac_var'}'`
37452 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37453 echo "${ECHO_T}$ac_res" >&6; }
37454 if test `eval echo '${'$as_ac_var'}'` = yes; then
37455 cat >>confdefs.h <<_ACEOF
37456 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37463 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37464 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37467 { echo "$as_me:$LINENO: checking
for mbstate_t
" >&5
37468 echo $ECHO_N "checking
for mbstate_t...
$ECHO_C" >&6; }
37469 if test "${ac_cv_type_mbstate_t+set}" = set; then
37470 echo $ECHO_N "(cached
) $ECHO_C" >&6
37472 cat >conftest.$ac_ext <<_ACEOF
37475 cat confdefs.h >>conftest.$ac_ext
37476 cat >>conftest.$ac_ext <<_ACEOF
37477 /* end confdefs.h. */
37480 typedef mbstate_t ac__type_new_;
37484 if ((ac__type_new_ *) 0)
37486 if (sizeof (ac__type_new_))
37492 rm -f conftest.$ac_objext
37493 if { (ac_try="$ac_compile"
37494 case "(($ac_try" in
37495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37496 *) ac_try_echo=$ac_try;;
37498 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37499 (eval "$ac_compile") 2>conftest.er1
37501 grep -v '^ *+' conftest.er1 >conftest.err
37503 cat conftest.err >&5
37504 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37505 (exit $ac_status); } && {
37506 test -z "$ac_c_werror_flag" ||
37507 test ! -s conftest.err
37508 } && test -s conftest.$ac_objext; then
37509 ac_cv_type_mbstate_t=yes
37511 echo "$as_me: failed program was
:" >&5
37512 sed 's/^/| /' conftest.$ac_ext >&5
37514 ac_cv_type_mbstate_t=no
37517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37519 { echo "$as_me:$LINENO: result
: $ac_cv_type_mbstate_t" >&5
37520 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37521 if test $ac_cv_type_mbstate_t = yes; then
37523 cat >>confdefs.h <<_ACEOF
37524 #define HAVE_MBSTATE_T 1
37528 for ac_func in wcsrtombs
37530 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37531 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37532 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37533 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37534 echo $ECHO_N "(cached
) $ECHO_C" >&6
37536 cat >conftest.$ac_ext <<_ACEOF
37539 cat confdefs.h >>conftest.$ac_ext
37540 cat >>conftest.$ac_ext <<_ACEOF
37541 /* end confdefs.h. */
37542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37544 #define $ac_func innocuous_$ac_func
37546 /* System header to define __stub macros and hopefully few prototypes,
37547 which can conflict with char $ac_func (); below.
37548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37549 <limits.h> exists even on freestanding compilers. */
37552 # include <limits.h>
37554 # include <assert.h>
37559 /* Override any GCC internal prototype to avoid an error.
37560 Use char because int might match the return type of a GCC
37561 builtin and then its argument prototype would still apply. */
37566 /* The GNU C library defines this for functions which it implements
37567 to always fail with ENOSYS. Some functions are actually named
37568 something starting with __ and the normal name is an alias. */
37569 #if defined __stub_$ac_func || defined __stub___$ac_func
37576 return $ac_func ();
37581 rm -f conftest.$ac_objext conftest$ac_exeext
37582 if { (ac_try="$ac_link"
37583 case "(($ac_try" in
37584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37585 *) ac_try_echo=$ac_try;;
37587 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37588 (eval "$ac_link") 2>conftest.er1
37590 grep -v '^ *+' conftest.er1 >conftest.err
37592 cat conftest.err >&5
37593 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37594 (exit $ac_status); } && {
37595 test -z "$ac_c_werror_flag" ||
37596 test ! -s conftest.err
37597 } && test -s conftest$ac_exeext &&
37598 $as_test_x conftest$ac_exeext; then
37599 eval "$as_ac_var=yes"
37601 echo "$as_me: failed program was
:" >&5
37602 sed 's/^/| /' conftest.$ac_ext >&5
37604 eval "$as_ac_var=no
"
37607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37608 conftest$ac_exeext conftest.$ac_ext
37610 ac_res=`eval echo '${'$as_ac_var'}'`
37611 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37612 echo "${ECHO_T}$ac_res" >&6; }
37613 if test `eval echo '${'$as_ac_var'}'` = yes; then
37614 cat >>confdefs.h <<_ACEOF
37615 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37624 { echo "$as_me:$LINENO: WARNING
: Wide character support is unavailable
" >&5
37625 echo "$as_me: WARNING
: Wide character support is unavailable
" >&2;}
37630 for ac_func in snprintf vsnprintf
37632 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37633 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37634 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37635 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37636 echo $ECHO_N "(cached
) $ECHO_C" >&6
37638 cat >conftest.$ac_ext <<_ACEOF
37641 cat confdefs.h >>conftest.$ac_ext
37642 cat >>conftest.$ac_ext <<_ACEOF
37643 /* end confdefs.h. */
37644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37646 #define $ac_func innocuous_$ac_func
37648 /* System header to define __stub macros and hopefully few prototypes,
37649 which can conflict with char $ac_func (); below.
37650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37651 <limits.h> exists even on freestanding compilers. */
37654 # include <limits.h>
37656 # include <assert.h>
37661 /* Override any GCC internal prototype to avoid an error.
37662 Use char because int might match the return type of a GCC
37663 builtin and then its argument prototype would still apply. */
37668 /* The GNU C library defines this for functions which it implements
37669 to always fail with ENOSYS. Some functions are actually named
37670 something starting with __ and the normal name is an alias. */
37671 #if defined __stub_$ac_func || defined __stub___$ac_func
37678 return $ac_func ();
37683 rm -f conftest.$ac_objext conftest$ac_exeext
37684 if { (ac_try="$ac_link"
37685 case "(($ac_try" in
37686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37687 *) ac_try_echo=$ac_try;;
37689 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37690 (eval "$ac_link") 2>conftest.er1
37692 grep -v '^ *+' conftest.er1 >conftest.err
37694 cat conftest.err >&5
37695 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37696 (exit $ac_status); } && {
37697 test -z "$ac_c_werror_flag" ||
37698 test ! -s conftest.err
37699 } && test -s conftest$ac_exeext &&
37700 $as_test_x conftest$ac_exeext; then
37701 eval "$as_ac_var=yes"
37703 echo "$as_me: failed program was
:" >&5
37704 sed 's/^/| /' conftest.$ac_ext >&5
37706 eval "$as_ac_var=no
"
37709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37710 conftest$ac_exeext conftest.$ac_ext
37712 ac_res=`eval echo '${'$as_ac_var'}'`
37713 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37714 echo "${ECHO_T}$ac_res" >&6; }
37715 if test `eval echo '${'$as_ac_var'}'` = yes; then
37716 cat >>confdefs.h <<_ACEOF
37717 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37724 if test "$ac_cv_func_vsnprintf" = "yes"; then
37725 { echo "$as_me:$LINENO: checking
for vsnprintf declaration
" >&5
37726 echo $ECHO_N "checking
for vsnprintf declaration...
$ECHO_C" >&6; }
37727 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37728 echo $ECHO_N "(cached
) $ECHO_C" >&6
37731 cat >conftest.$ac_ext <<_ACEOF
37734 cat confdefs.h >>conftest.$ac_ext
37735 cat >>conftest.$ac_ext <<_ACEOF
37736 /* end confdefs.h. */
37739 #include <stdarg.h>
37741 #if __MSL__ >= 0x6000
37743 using namespace std;
37753 vsnprintf(buf, 10u, "%s
", ap);
37759 rm -f conftest.$ac_objext
37760 if { (ac_try="$ac_compile"
37761 case "(($ac_try" in
37762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37763 *) ac_try_echo=$ac_try;;
37765 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37766 (eval "$ac_compile") 2>conftest.er1
37768 grep -v '^ *+' conftest.er1 >conftest.err
37770 cat conftest.err >&5
37771 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37772 (exit $ac_status); } && {
37773 test -z "$ac_c_werror_flag" ||
37774 test ! -s conftest.err
37775 } && test -s conftest.$ac_objext; then
37776 wx_cv_func_vsnprintf_decl=yes
37778 echo "$as_me: failed program was
:" >&5
37779 sed 's/^/| /' conftest.$ac_ext >&5
37781 wx_cv_func_vsnprintf_decl=no
37785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37789 { echo "$as_me:$LINENO: result
: $wx_cv_func_vsnprintf_decl" >&5
37790 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37792 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37793 cat >>confdefs.h <<\_ACEOF
37794 #define HAVE_VSNPRINTF_DECL 1
37798 { echo "$as_me:$LINENO: checking
if vsnprintf declaration is broken
" >&5
37799 echo $ECHO_N "checking
if vsnprintf declaration is broken...
$ECHO_C" >&6; }
37800 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37801 echo $ECHO_N "(cached
) $ECHO_C" >&6
37804 cat >conftest.$ac_ext <<_ACEOF
37807 cat confdefs.h >>conftest.$ac_ext
37808 cat >>conftest.$ac_ext <<_ACEOF
37809 /* end confdefs.h. */
37812 #include <stdarg.h>
37814 #if __MSL__ >= 0x6000
37816 using namespace std;
37826 const char *fmt = "%s
";
37827 vsnprintf(buf, 10u, fmt, ap);
37833 rm -f conftest.$ac_objext
37834 if { (ac_try="$ac_compile"
37835 case "(($ac_try" in
37836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37837 *) ac_try_echo=$ac_try;;
37839 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37840 (eval "$ac_compile") 2>conftest.er1
37842 grep -v '^ *+' conftest.er1 >conftest.err
37844 cat conftest.err >&5
37845 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37846 (exit $ac_status); } && {
37847 test -z "$ac_c_werror_flag" ||
37848 test ! -s conftest.err
37849 } && test -s conftest.$ac_objext; then
37850 wx_cv_func_broken_vsnprintf_decl=no
37852 echo "$as_me: failed program was
:" >&5
37853 sed 's/^/| /' conftest.$ac_ext >&5
37855 wx_cv_func_broken_vsnprintf_decl=yes
37859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37863 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_vsnprintf_decl" >&5
37864 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37866 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37867 cat >>confdefs.h <<\_ACEOF
37868 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37875 if test "$ac_cv_func_snprintf" = "yes"; then
37876 { echo "$as_me:$LINENO: checking
for snprintf declaration
" >&5
37877 echo $ECHO_N "checking
for snprintf declaration...
$ECHO_C" >&6; }
37878 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37879 echo $ECHO_N "(cached
) $ECHO_C" >&6
37882 cat >conftest.$ac_ext <<_ACEOF
37885 cat confdefs.h >>conftest.$ac_ext
37886 cat >>conftest.$ac_ext <<_ACEOF
37887 /* end confdefs.h. */
37890 #include <stdarg.h>
37892 #if __MSL__ >= 0x6000
37894 using namespace std;
37903 snprintf(buf, 10u, "%s
", "wx
");
37909 rm -f conftest.$ac_objext
37910 if { (ac_try="$ac_compile"
37911 case "(($ac_try" in
37912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37913 *) ac_try_echo=$ac_try;;
37915 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37916 (eval "$ac_compile") 2>conftest.er1
37918 grep -v '^ *+' conftest.er1 >conftest.err
37920 cat conftest.err >&5
37921 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37922 (exit $ac_status); } && {
37923 test -z "$ac_c_werror_flag" ||
37924 test ! -s conftest.err
37925 } && test -s conftest.$ac_objext; then
37926 wx_cv_func_snprintf_decl=yes
37928 echo "$as_me: failed program was
:" >&5
37929 sed 's/^/| /' conftest.$ac_ext >&5
37931 wx_cv_func_snprintf_decl=no
37935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37939 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_decl" >&5
37940 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37942 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37943 cat >>confdefs.h <<\_ACEOF
37944 #define HAVE_SNPRINTF_DECL 1
37948 { echo "$as_me:$LINENO: checking
if snprintf declaration is broken
" >&5
37949 echo $ECHO_N "checking
if snprintf declaration is broken...
$ECHO_C" >&6; }
37950 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
37951 echo $ECHO_N "(cached
) $ECHO_C" >&6
37954 cat >conftest.$ac_ext <<_ACEOF
37957 cat confdefs.h >>conftest.$ac_ext
37958 cat >>conftest.$ac_ext <<_ACEOF
37959 /* end confdefs.h. */
37962 #include <stdarg.h>
37964 #if __MSL__ >= 0x6000
37966 using namespace std;
37975 const char *fmt = "%s
";
37976 snprintf(buf, 10u, fmt, "wx
");
37982 rm -f conftest.$ac_objext
37983 if { (ac_try="$ac_compile"
37984 case "(($ac_try" in
37985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37986 *) ac_try_echo=$ac_try;;
37988 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37989 (eval "$ac_compile") 2>conftest.er1
37991 grep -v '^ *+' conftest.er1 >conftest.err
37993 cat conftest.err >&5
37994 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37995 (exit $ac_status); } && {
37996 test -z "$ac_c_werror_flag" ||
37997 test ! -s conftest.err
37998 } && test -s conftest.$ac_objext; then
37999 wx_cv_func_broken_snprintf_decl=no
38001 echo "$as_me: failed program was
:" >&5
38002 sed 's/^/| /' conftest.$ac_ext >&5
38004 wx_cv_func_broken_snprintf_decl=yes
38008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38012 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_snprintf_decl" >&5
38013 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
38015 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
38016 cat >>confdefs.h <<\_ACEOF
38017 #define HAVE_BROKEN_SNPRINTF_DECL 1
38023 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38025 { echo "$as_me:$LINENO: checking
if snprintf supports positional arguments
" >&5
38026 echo $ECHO_N "checking
if snprintf supports positional arguments...
$ECHO_C" >&6; }
38027 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38028 echo $ECHO_N "(cached
) $ECHO_C" >&6
38031 if test "$cross_compiling" = yes; then
38033 { echo "$as_me:$LINENO: WARNING
: Assuming Unix98
printf() is not available
,
38034 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&5
38035 echo "$as_me: WARNING
: Assuming Unix98
printf() is not available
,
38036 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&2;}
38037 wx_cv_func_snprintf_pos_params=no
38041 cat >conftest.$ac_ext <<_ACEOF
38044 cat confdefs.h >>conftest.$ac_ext
38045 cat >>conftest.$ac_ext <<_ACEOF
38046 /* end confdefs.h. */
38053 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38054 if (strcmp ("2 3 1", buffer) == 0)
38060 rm -f conftest$ac_exeext
38061 if { (ac_try="$ac_link"
38062 case "(($ac_try" in
38063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38064 *) ac_try_echo=$ac_try;;
38066 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38067 (eval "$ac_link") 2>&5
38069 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38070 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38071 { (case "(($ac_try" in
38072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38073 *) ac_try_echo=$ac_try;;
38075 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38076 (eval "$ac_try") 2>&5
38078 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38079 (exit $ac_status); }; }; then
38080 wx_cv_func_snprintf_pos_params=no
38082 echo "$as_me: program exited with status
$ac_status" >&5
38083 echo "$as_me: failed program was
:" >&5
38084 sed 's/^/| /' conftest.$ac_ext >&5
38086 ( exit $ac_status )
38087 wx_cv_func_snprintf_pos_params=yes
38089 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38096 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_pos_params" >&5
38097 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38099 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38100 cat >>confdefs.h <<\_ACEOF
38101 #define HAVE_UNIX98_PRINTF 1
38108 if test "$wxUSE_UNICODE" = yes; then
38111 for ac_func in swprintf
38113 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
38114 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
38115 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
38116 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
38117 echo $ECHO_N "(cached
) $ECHO_C" >&6
38119 cat >conftest.$ac_ext <<_ACEOF
38122 cat confdefs.h >>conftest.$ac_ext
38123 cat >>conftest.$ac_ext <<_ACEOF
38124 /* end confdefs.h. */
38125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38127 #define $ac_func innocuous_$ac_func
38129 /* System header to define __stub macros and hopefully few prototypes,
38130 which can conflict with char $ac_func (); below.
38131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38132 <limits.h> exists even on freestanding compilers. */
38135 # include <limits.h>
38137 # include <assert.h>
38142 /* Override any GCC internal prototype to avoid an error.
38143 Use char because int might match the return type of a GCC
38144 builtin and then its argument prototype would still apply. */
38149 /* The GNU C library defines this for functions which it implements
38150 to always fail with ENOSYS. Some functions are actually named
38151 something starting with __ and the normal name is an alias. */
38152 #if defined __stub_$ac_func || defined __stub___$ac_func
38159 return $ac_func ();
38164 rm -f conftest.$ac_objext conftest$ac_exeext
38165 if { (ac_try="$ac_link"
38166 case "(($ac_try" in
38167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38168 *) ac_try_echo=$ac_try;;
38170 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38171 (eval "$ac_link") 2>conftest.er1
38173 grep -v '^ *+' conftest.er1 >conftest.err
38175 cat conftest.err >&5
38176 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38177 (exit $ac_status); } && {
38178 test -z "$ac_c_werror_flag" ||
38179 test ! -s conftest.err
38180 } && test -s conftest$ac_exeext &&
38181 $as_test_x conftest$ac_exeext; then
38182 eval "$as_ac_var=yes"
38184 echo "$as_me: failed program was
:" >&5
38185 sed 's/^/| /' conftest.$ac_ext >&5
38187 eval "$as_ac_var=no
"
38190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38191 conftest$ac_exeext conftest.$ac_ext
38193 ac_res=`eval echo '${'$as_ac_var'}'`
38194 { echo "$as_me:$LINENO: result
: $ac_res" >&5
38195 echo "${ECHO_T}$ac_res" >&6; }
38196 if test `eval echo '${'$as_ac_var'}'` = yes; then
38197 cat >>confdefs.h <<_ACEOF
38198 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
38205 if test "$ac_cv_func_swprintf" = "yes"; then
38206 { echo "$as_me:$LINENO: checking
if swprintf declaration is broken
" >&5
38207 echo $ECHO_N "checking
if swprintf declaration is broken...
$ECHO_C" >&6; }
38208 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38209 echo $ECHO_N "(cached
) $ECHO_C" >&6
38212 cat >conftest.$ac_ext <<_ACEOF
38215 cat confdefs.h >>conftest.$ac_ext
38216 cat >>conftest.$ac_ext <<_ACEOF
38217 /* end confdefs.h. */
38220 #include <stdarg.h>
38228 const wchar_t *fmt = L"test";
38229 swprintf(buf, 10u, fmt);
38235 rm -f conftest.$ac_objext
38236 if { (ac_try="$ac_compile"
38237 case "(($ac_try" in
38238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38239 *) ac_try_echo=$ac_try;;
38241 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38242 (eval "$ac_compile") 2>conftest.er1
38244 grep -v '^ *+' conftest.er1 >conftest.err
38246 cat conftest.err >&5
38247 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38248 (exit $ac_status); } && {
38249 test -z "$ac_c_werror_flag" ||
38250 test ! -s conftest.err
38251 } && test -s conftest.$ac_objext; then
38252 wx_cv_func_broken_swprintf_decl=no
38254 echo "$as_me: failed program was
:" >&5
38255 sed 's/^/| /' conftest.$ac_ext >&5
38257 wx_cv_func_broken_swprintf_decl=yes
38261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38265 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_swprintf_decl" >&5
38266 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38268 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38269 cat >>confdefs.h <<\_ACEOF
38270 #define HAVE_BROKEN_SWPRINTF_DECL 1
38276 wchar_headers="#include <stdio.h>
38277 #include <wchar.h>"
38280 { echo "$as_me:$LINENO: checking for widec.h" >&5
38281 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
38282 if test "${ac_cv_header_widec_h+set}" = set; then
38283 echo $ECHO_N "(cached) $ECHO_C" >&6
38285 cat >conftest.
$ac_ext <<_ACEOF
38288 cat confdefs.h
>>conftest.
$ac_ext
38289 cat >>conftest.
$ac_ext <<_ACEOF
38290 /* end confdefs.h. */
38291 $ac_includes_default
38295 rm -f conftest.
$ac_objext
38296 if { (ac_try
="$ac_compile"
38297 case "(($ac_try" in
38298 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38299 *) ac_try_echo=$ac_try;;
38301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38302 (eval "$ac_compile") 2>conftest.er1
38304 grep -v '^ *+' conftest.er1 >conftest.err
38306 cat conftest.err >&5
38307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38308 (exit $ac_status); } && {
38309 test -z "$ac_c_werror_flag" ||
38310 test ! -s conftest.err
38311 } && test -s conftest.$ac_objext; then
38312 ac_cv_header_widec_h=yes
38314 echo "$as_me: failed program was:" >&5
38315 sed 's/^/| /' conftest.$ac_ext >&5
38317 ac_cv_header_widec_h=no
38320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38322 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
38323 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
38326 if test "$ac_cv_header_widec_h" = "yes"; then
38327 wchar_headers="$wchar_headers
38328 #include <widec.h>"
38333 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38335 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38336 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38337 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38338 echo $ECHO_N "(cached) $ECHO_C" >&6
38341 cat >conftest.$ac_ext <<_ACEOF
38345 cat confdefs.h >>conftest.$ac_ext
38346 cat >>conftest.$ac_ext <<_ACEOF
38347 /* end confdefs.h. */
38350 $ac_includes_default
38366 rm -f conftest.$ac_objext conftest$ac_exeext
38367 if { (ac_try="$ac_link"
38368 case "(($ac_try" in
38369 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38370 *) ac_try_echo
=$ac_try;;
38372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38373 (eval "$ac_link") 2>conftest.er1
38375 grep -v '^ *+' conftest.er1
>conftest.err
38377 cat conftest.err
>&5
38378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38379 (exit $ac_status); } && {
38380 test -z "$ac_c_werror_flag" ||
38381 test ! -s conftest.err
38382 } && test -s conftest
$ac_exeext &&
38383 $as_test_x conftest
$ac_exeext; then
38384 eval wx_cv_func_
$wx_func=yes
38386 echo "$as_me: failed program was:" >&5
38387 sed 's/^/| /' conftest.
$ac_ext >&5
38389 eval wx_cv_func_
$wx_func=no
38392 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38393 conftest
$ac_exeext conftest.
$ac_ext
38396 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38397 { echo "$as_me:$LINENO: result: $ac_res" >&5
38398 echo "${ECHO_T}$ac_res" >&6; }
38400 if eval test \
$wx_cv_func_$wx_func = yes
38402 cat >>confdefs.h
<<_ACEOF
38403 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38414 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38415 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38416 cat >conftest.
$ac_ext <<_ACEOF
38419 cat confdefs.h
>>conftest.
$ac_ext
38420 cat >>conftest.
$ac_ext <<_ACEOF
38421 /* end confdefs.h. */
38431 rm -f conftest.
$ac_objext
38432 if { (ac_try
="$ac_compile"
38433 case "(($ac_try" in
38434 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38435 *) ac_try_echo=$ac_try;;
38437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38438 (eval "$ac_compile") 2>conftest.er1
38440 grep -v '^ *+' conftest.er1 >conftest.err
38442 cat conftest.err >&5
38443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38444 (exit $ac_status); } && {
38445 test -z "$ac_c_werror_flag" ||
38446 test ! -s conftest.err
38447 } && test -s conftest.$ac_objext; then
38448 { echo "$as_me:$LINENO: result: yes" >&5
38449 echo "${ECHO_T}yes" >&6; }
38450 cat >>confdefs.h <<\_ACEOF
38451 #define HAVE__VSNWPRINTF 1
38455 echo "$as_me: failed program was:" >&5
38456 sed 's/^/| /' conftest.$ac_ext >&5
38458 { echo "$as_me:$LINENO: result: no" >&5
38459 echo "${ECHO_T}no" >&6; }
38462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38465 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38467 for wx_func in fnmatch
38469 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38470 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38471 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38472 echo $ECHO_N "(cached) $ECHO_C" >&6
38475 cat >conftest.$ac_ext <<_ACEOF
38479 cat confdefs.h >>conftest.$ac_ext
38480 cat >>conftest.$ac_ext <<_ACEOF
38481 /* end confdefs.h. */
38483 #include <fnmatch.h>
38484 $ac_includes_default
38500 rm -f conftest.$ac_objext conftest$ac_exeext
38501 if { (ac_try="$ac_link"
38502 case "(($ac_try" in
38503 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38504 *) ac_try_echo
=$ac_try;;
38506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38507 (eval "$ac_link") 2>conftest.er1
38509 grep -v '^ *+' conftest.er1
>conftest.err
38511 cat conftest.err
>&5
38512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38513 (exit $ac_status); } && {
38514 test -z "$ac_c_werror_flag" ||
38515 test ! -s conftest.err
38516 } && test -s conftest
$ac_exeext &&
38517 $as_test_x conftest
$ac_exeext; then
38518 eval wx_cv_func_
$wx_func=yes
38520 echo "$as_me: failed program was:" >&5
38521 sed 's/^/| /' conftest.
$ac_ext >&5
38523 eval wx_cv_func_
$wx_func=no
38526 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38527 conftest
$ac_exeext conftest.
$ac_ext
38530 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38531 { echo "$as_me:$LINENO: result: $ac_res" >&5
38532 echo "${ECHO_T}$ac_res" >&6; }
38534 if eval test \
$wx_cv_func_$wx_func = yes
38536 cat >>confdefs.h
<<_ACEOF
38537 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38549 if test "$wxUSE_FILE" = "yes"; then
38551 for wx_func
in fsync
38553 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38554 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38555 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38556 echo $ECHO_N "(cached) $ECHO_C" >&6
38559 cat >conftest.
$ac_ext <<_ACEOF
38563 cat confdefs.h
>>conftest.
$ac_ext
38564 cat >>conftest.
$ac_ext <<_ACEOF
38565 /* end confdefs.h. */
38568 $ac_includes_default
38584 rm -f conftest.
$ac_objext conftest
$ac_exeext
38585 if { (ac_try
="$ac_link"
38586 case "(($ac_try" in
38587 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38588 *) ac_try_echo=$ac_try;;
38590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38591 (eval "$ac_link") 2>conftest.er1
38593 grep -v '^ *+' conftest.er1 >conftest.err
38595 cat conftest.err >&5
38596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38597 (exit $ac_status); } && {
38598 test -z "$ac_c_werror_flag" ||
38599 test ! -s conftest.err
38600 } && test -s conftest$ac_exeext &&
38601 $as_test_x conftest$ac_exeext; then
38602 eval wx_cv_func_$wx_func=yes
38604 echo "$as_me: failed program was:" >&5
38605 sed 's/^/| /' conftest.$ac_ext >&5
38607 eval wx_cv_func_$wx_func=no
38610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38611 conftest$ac_exeext conftest.$ac_ext
38614 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38615 { echo "$as_me:$LINENO: result: $ac_res" >&5
38616 echo "${ECHO_T}$ac_res" >&6; }
38618 if eval test \$wx_cv_func_$wx_func = yes
38620 cat >>confdefs.h <<_ACEOF
38621 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38634 ac_cpp='$CXXCPP $CPPFLAGS'
38635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38640 for wx_func in round
38642 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38643 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38644 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38645 echo $ECHO_N "(cached) $ECHO_C" >&6
38648 cat >conftest.$ac_ext <<_ACEOF
38652 cat confdefs.h >>conftest.$ac_ext
38653 cat >>conftest.$ac_ext <<_ACEOF
38654 /* end confdefs.h. */
38657 $ac_includes_default
38673 rm -f conftest.$ac_objext conftest$ac_exeext
38674 if { (ac_try="$ac_link"
38675 case "(($ac_try" in
38676 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38677 *) ac_try_echo
=$ac_try;;
38679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38680 (eval "$ac_link") 2>conftest.er1
38682 grep -v '^ *+' conftest.er1
>conftest.err
38684 cat conftest.err
>&5
38685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38686 (exit $ac_status); } && {
38687 test -z "$ac_cxx_werror_flag" ||
38688 test ! -s conftest.err
38689 } && test -s conftest
$ac_exeext &&
38690 $as_test_x conftest
$ac_exeext; then
38691 eval wx_cv_func_
$wx_func=yes
38693 echo "$as_me: failed program was:" >&5
38694 sed 's/^/| /' conftest.
$ac_ext >&5
38696 eval wx_cv_func_
$wx_func=no
38699 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38700 conftest
$ac_exeext conftest.
$ac_ext
38703 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38704 { echo "$as_me:$LINENO: result: $ac_res" >&5
38705 echo "${ECHO_T}$ac_res" >&6; }
38707 if eval test \
$wx_cv_func_$wx_func = yes
38709 cat >>confdefs.h
<<_ACEOF
38710 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38721 ac_cpp
='$CPP $CPPFLAGS'
38722 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38723 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38724 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38727 if test "$TOOLKIT" != "MSW"; then
38733 # Check whether --with-libiconv-prefix was given.
38734 if test "${with_libiconv_prefix+set}" = set; then
38735 withval
=$with_libiconv_prefix;
38736 for dir
in `echo "$withval" | tr : ' '`; do
38737 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
38738 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
38744 { echo "$as_me:$LINENO: checking for iconv" >&5
38745 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38746 if test "${am_cv_func_iconv+set}" = set; then
38747 echo $ECHO_N "(cached) $ECHO_C" >&6
38750 am_cv_func_iconv
="no, consider installing GNU libiconv"
38752 cat >conftest.
$ac_ext <<_ACEOF
38755 cat confdefs.h
>>conftest.
$ac_ext
38756 cat >>conftest.
$ac_ext <<_ACEOF
38757 /* end confdefs.h. */
38758 #include <stdlib.h>
38763 iconv_t cd = iconv_open("","");
38764 iconv(cd,NULL,NULL,NULL,NULL);
38770 rm -f conftest.
$ac_objext conftest
$ac_exeext
38771 if { (ac_try
="$ac_link"
38772 case "(($ac_try" in
38773 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38774 *) ac_try_echo=$ac_try;;
38776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38777 (eval "$ac_link") 2>conftest.er1
38779 grep -v '^ *+' conftest.er1 >conftest.err
38781 cat conftest.err >&5
38782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38783 (exit $ac_status); } && {
38784 test -z "$ac_c_werror_flag" ||
38785 test ! -s conftest.err
38786 } && test -s conftest$ac_exeext &&
38787 $as_test_x conftest$ac_exeext; then
38788 am_cv_func_iconv=yes
38790 echo "$as_me: failed program was:" >&5
38791 sed 's/^/| /' conftest.$ac_ext >&5
38796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38797 conftest$ac_exeext conftest.$ac_ext
38798 if test "$am_cv_func_iconv" != yes; then
38799 am_save_LIBS="$LIBS"
38800 LIBS="$LIBS -liconv"
38801 cat >conftest.$ac_ext <<_ACEOF
38804 cat confdefs.h >>conftest.$ac_ext
38805 cat >>conftest.$ac_ext <<_ACEOF
38806 /* end confdefs.h. */
38807 #include <stdlib.h>
38812 iconv_t cd = iconv_open("","");
38813 iconv(cd,NULL,NULL,NULL,NULL);
38819 rm -f conftest.$ac_objext conftest$ac_exeext
38820 if { (ac_try="$ac_link"
38821 case "(($ac_try" in
38822 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38823 *) ac_try_echo
=$ac_try;;
38825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38826 (eval "$ac_link") 2>conftest.er1
38828 grep -v '^ *+' conftest.er1
>conftest.err
38830 cat conftest.err
>&5
38831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38832 (exit $ac_status); } && {
38833 test -z "$ac_c_werror_flag" ||
38834 test ! -s conftest.err
38835 } && test -s conftest
$ac_exeext &&
38836 $as_test_x conftest
$ac_exeext; then
38837 am_cv_lib_iconv
=yes
38838 am_cv_func_iconv
=yes
38840 echo "$as_me: failed program was:" >&5
38841 sed 's/^/| /' conftest.
$ac_ext >&5
38846 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38847 conftest
$ac_exeext conftest.
$ac_ext
38848 LIBS
="$am_save_LIBS"
38852 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38853 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38854 if test "$am_cv_func_iconv" = yes; then
38856 cat >>confdefs.h
<<\_ACEOF
38857 #define HAVE_ICONV 1
38860 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38861 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38862 if test "${wx_cv_func_iconv_const+set}" = set; then
38863 echo $ECHO_N "(cached) $ECHO_C" >&6
38865 cat >conftest.
$ac_ext <<_ACEOF
38868 cat confdefs.h
>>conftest.
$ac_ext
38869 cat >>conftest.
$ac_ext <<_ACEOF
38870 /* end confdefs.h. */
38872 #include <stdlib.h>
38878 #if defined(__STDC__) || defined(__cplusplus)
38879 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38892 rm -f conftest.
$ac_objext
38893 if { (ac_try
="$ac_compile"
38894 case "(($ac_try" in
38895 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38896 *) ac_try_echo=$ac_try;;
38898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38899 (eval "$ac_compile") 2>conftest.er1
38901 grep -v '^ *+' conftest.er1 >conftest.err
38903 cat conftest.err >&5
38904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38905 (exit $ac_status); } && {
38906 test -z "$ac_c_werror_flag" ||
38907 test ! -s conftest.err
38908 } && test -s conftest.$ac_objext; then
38909 wx_cv_func_iconv_const="no"
38911 echo "$as_me: failed program was:" >&5
38912 sed 's/^/| /' conftest.$ac_ext >&5
38914 wx_cv_func_iconv_const="yes"
38918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38921 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38922 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38925 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38926 iconv_const="const"
38930 cat >>confdefs.h <<_ACEOF
38931 #define ICONV_CONST $iconv_const
38936 if test "$am_cv_lib_iconv" = yes; then
38941 LIBS="$LIBICONV $LIBS"
38943 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38945 for ac_func in sigaction
38947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38948 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38950 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38951 echo $ECHO_N "(cached) $ECHO_C" >&6
38953 cat >conftest.$ac_ext <<_ACEOF
38956 cat confdefs.h >>conftest.$ac_ext
38957 cat >>conftest.$ac_ext <<_ACEOF
38958 /* end confdefs.h. */
38959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38961 #define $ac_func innocuous_$ac_func
38963 /* System header to define __stub macros and hopefully few prototypes,
38964 which can conflict with char $ac_func (); below.
38965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38966 <limits.h> exists even on freestanding compilers. */
38969 # include <limits.h>
38971 # include <assert.h>
38976 /* Override any GCC internal prototype to avoid an error.
38977 Use char because int might match the return type of a GCC
38978 builtin and then its argument prototype would still apply. */
38983 /* The GNU C library defines this for functions which it implements
38984 to always fail with ENOSYS. Some functions are actually named
38985 something starting with __ and the normal name is an alias. */
38986 #if defined __stub_$ac_func || defined __stub___$ac_func
38993 return $ac_func ();
38998 rm -f conftest.$ac_objext conftest$ac_exeext
38999 if { (ac_try="$ac_link"
39000 case "(($ac_try" in
39001 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39002 *) ac_try_echo
=$ac_try;;
39004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39005 (eval "$ac_link") 2>conftest.er1
39007 grep -v '^ *+' conftest.er1
>conftest.err
39009 cat conftest.err
>&5
39010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39011 (exit $ac_status); } && {
39012 test -z "$ac_c_werror_flag" ||
39013 test ! -s conftest.err
39014 } && test -s conftest
$ac_exeext &&
39015 $as_test_x conftest
$ac_exeext; then
39016 eval "$as_ac_var=yes"
39018 echo "$as_me: failed program was:" >&5
39019 sed 's/^/| /' conftest.
$ac_ext >&5
39021 eval "$as_ac_var=no"
39024 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39025 conftest
$ac_exeext conftest.
$ac_ext
39027 ac_res
=`eval echo '${'$as_ac_var'}'`
39028 { echo "$as_me:$LINENO: result: $ac_res" >&5
39029 echo "${ECHO_T}$ac_res" >&6; }
39030 if test `eval echo '${'$as_ac_var'}'` = yes; then
39031 cat >>confdefs.h
<<_ACEOF
39032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39039 if test "$ac_cv_func_sigaction" = "no"; then
39040 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39041 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39042 wxUSE_ON_FATAL_EXCEPTION
=no
39045 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39046 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39047 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39048 if test "${wx_cv_type_sa_handler+set}" = set; then
39049 echo $ECHO_N "(cached) $ECHO_C" >&6
39053 ac_cpp
='$CXXCPP $CPPFLAGS'
39054 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39055 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39056 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39058 cat >conftest.
$ac_ext <<_ACEOF
39061 cat confdefs.h
>>conftest.
$ac_ext
39062 cat >>conftest.
$ac_ext <<_ACEOF
39063 /* end confdefs.h. */
39064 #include <signal.h>
39069 extern void testSigHandler(int);
39071 struct sigaction sa;
39072 sa.sa_handler = testSigHandler;
39078 rm -f conftest.
$ac_objext
39079 if { (ac_try
="$ac_compile"
39080 case "(($ac_try" in
39081 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39082 *) ac_try_echo=$ac_try;;
39084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39085 (eval "$ac_compile") 2>conftest.er1
39087 grep -v '^ *+' conftest.er1 >conftest.err
39089 cat conftest.err >&5
39090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39091 (exit $ac_status); } && {
39092 test -z "$ac_cxx_werror_flag" ||
39093 test ! -s conftest.err
39094 } && test -s conftest.$ac_objext; then
39096 wx_cv_type_sa_handler=int
39099 echo "$as_me: failed program was:" >&5
39100 sed 's/^/| /' conftest.$ac_ext >&5
39103 wx_cv_type_sa_handler=void
39107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39109 ac_cpp='$CPP $CPPFLAGS'
39110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39116 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39117 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39119 cat >>confdefs.h <<_ACEOF
39120 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39126 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39127 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39128 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39129 if test "${wx_cv_func_backtrace+set}" = set; then
39130 echo $ECHO_N "(cached) $ECHO_C" >&6
39134 ac_cpp='$CXXCPP $CPPFLAGS'
39135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39139 cat >conftest.$ac_ext <<_ACEOF
39142 cat confdefs.h >>conftest.$ac_ext
39143 cat >>conftest.$ac_ext <<_ACEOF
39144 /* end confdefs.h. */
39145 #include <execinfo.h>
39153 backtrace(trace, 1);
39154 messages = backtrace_symbols(trace, 1);
39160 rm -f conftest.$ac_objext
39161 if { (ac_try="$ac_compile"
39162 case "(($ac_try" in
39163 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39164 *) ac_try_echo
=$ac_try;;
39166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39167 (eval "$ac_compile") 2>conftest.er1
39169 grep -v '^ *+' conftest.er1
>conftest.err
39171 cat conftest.err
>&5
39172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39173 (exit $ac_status); } && {
39174 test -z "$ac_cxx_werror_flag" ||
39175 test ! -s conftest.err
39176 } && test -s conftest.
$ac_objext; then
39177 wx_cv_func_backtrace
=yes
39179 echo "$as_me: failed program was:" >&5
39180 sed 's/^/| /' conftest.
$ac_ext >&5
39182 wx_cv_func_backtrace
=no
39186 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39188 ac_cpp
='$CPP $CPPFLAGS'
39189 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39190 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39191 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39196 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39197 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39200 if test "$wx_cv_func_backtrace" = "no"; then
39201 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39202 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39203 wxUSE_STACKWALKER
=no
39205 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39206 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39207 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39208 echo $ECHO_N "(cached) $ECHO_C" >&6
39212 ac_cpp
='$CXXCPP $CPPFLAGS'
39213 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39214 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39215 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39217 cat >conftest.
$ac_ext <<_ACEOF
39220 cat confdefs.h
>>conftest.
$ac_ext
39221 cat >>conftest.
$ac_ext <<_ACEOF
39222 /* end confdefs.h. */
39223 #include <cxxabi.h>
39229 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39235 rm -f conftest.
$ac_objext conftest
$ac_exeext
39236 if { (ac_try
="$ac_link"
39237 case "(($ac_try" in
39238 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39239 *) ac_try_echo=$ac_try;;
39241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39242 (eval "$ac_link") 2>conftest.er1
39244 grep -v '^ *+' conftest.er1 >conftest.err
39246 cat conftest.err >&5
39247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39248 (exit $ac_status); } && {
39249 test -z "$ac_cxx_werror_flag" ||
39250 test ! -s conftest.err
39251 } && test -s conftest$ac_exeext &&
39252 $as_test_x conftest$ac_exeext; then
39253 wx_cv_func_cxa_demangle=yes
39255 echo "$as_me: failed program was:" >&5
39256 sed 's/^/| /' conftest.$ac_ext >&5
39258 wx_cv_func_cxa_demangle=no
39262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39263 conftest$ac_exeext conftest.$ac_ext
39265 ac_cpp='$CPP $CPPFLAGS'
39266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39273 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39274 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39276 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39277 cat >>confdefs.h <<\_ACEOF
39278 #define HAVE_CXA_DEMANGLE 1
39285 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39286 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39287 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39288 wxUSE_STACKWALKER=no
39294 for ac_func in mkstemp mktemp
39296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39297 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39299 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39300 echo $ECHO_N "(cached) $ECHO_C" >&6
39302 cat >conftest.$ac_ext <<_ACEOF
39305 cat confdefs.h >>conftest.$ac_ext
39306 cat >>conftest.$ac_ext <<_ACEOF
39307 /* end confdefs.h. */
39308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39310 #define $ac_func innocuous_$ac_func
39312 /* System header to define __stub macros and hopefully few prototypes,
39313 which can conflict with char $ac_func (); below.
39314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39315 <limits.h> exists even on freestanding compilers. */
39318 # include <limits.h>
39320 # include <assert.h>
39325 /* Override any GCC internal prototype to avoid an error.
39326 Use char because int might match the return type of a GCC
39327 builtin and then its argument prototype would still apply. */
39332 /* The GNU C library defines this for functions which it implements
39333 to always fail with ENOSYS. Some functions are actually named
39334 something starting with __ and the normal name is an alias. */
39335 #if defined __stub_$ac_func || defined __stub___$ac_func
39342 return $ac_func ();
39347 rm -f conftest.$ac_objext conftest$ac_exeext
39348 if { (ac_try="$ac_link"
39349 case "(($ac_try" in
39350 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39351 *) ac_try_echo
=$ac_try;;
39353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39354 (eval "$ac_link") 2>conftest.er1
39356 grep -v '^ *+' conftest.er1
>conftest.err
39358 cat conftest.err
>&5
39359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39360 (exit $ac_status); } && {
39361 test -z "$ac_c_werror_flag" ||
39362 test ! -s conftest.err
39363 } && test -s conftest
$ac_exeext &&
39364 $as_test_x conftest
$ac_exeext; then
39365 eval "$as_ac_var=yes"
39367 echo "$as_me: failed program was:" >&5
39368 sed 's/^/| /' conftest.
$ac_ext >&5
39370 eval "$as_ac_var=no"
39373 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39374 conftest
$ac_exeext conftest.
$ac_ext
39376 ac_res
=`eval echo '${'$as_ac_var'}'`
39377 { echo "$as_me:$LINENO: result: $ac_res" >&5
39378 echo "${ECHO_T}$ac_res" >&6; }
39379 if test `eval echo '${'$as_ac_var'}'` = yes; then
39380 cat >>confdefs.h
<<_ACEOF
39381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39388 { echo "$as_me:$LINENO: checking for statfs" >&5
39389 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39390 if test "${wx_cv_func_statfs+set}" = set; then
39391 echo $ECHO_N "(cached) $ECHO_C" >&6
39393 cat >conftest.
$ac_ext <<_ACEOF
39396 cat confdefs.h
>>conftest.
$ac_ext
39397 cat >>conftest.
$ac_ext <<_ACEOF
39398 /* end confdefs.h. */
39400 #if defined(__BSD__)
39401 #include <sys/param.h>
39402 #include <sys/mount.h>
39404 #include <sys/vfs.h>
39422 rm -f conftest.
$ac_objext
39423 if { (ac_try
="$ac_compile"
39424 case "(($ac_try" in
39425 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39426 *) ac_try_echo=$ac_try;;
39428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39429 (eval "$ac_compile") 2>conftest.er1
39431 grep -v '^ *+' conftest.er1 >conftest.err
39433 cat conftest.err >&5
39434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39435 (exit $ac_status); } && {
39436 test -z "$ac_c_werror_flag" ||
39437 test ! -s conftest.err
39438 } && test -s conftest.$ac_objext; then
39439 wx_cv_func_statfs=yes
39441 echo "$as_me: failed program was:" >&5
39442 sed 's/^/| /' conftest.$ac_ext >&5
39444 wx_cv_func_statfs=no
39448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39451 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39452 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39454 if test "$wx_cv_func_statfs" = "yes"; then
39455 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39456 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39457 if test "${wx_cv_func_statfs_decl+set}" = set; then
39458 echo $ECHO_N "(cached) $ECHO_C" >&6
39461 ac_cpp='$CXXCPP $CPPFLAGS'
39462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39466 cat >conftest.$ac_ext <<_ACEOF
39469 cat confdefs.h >>conftest.$ac_ext
39470 cat >>conftest.$ac_ext <<_ACEOF
39471 /* end confdefs.h. */
39473 #if defined(__BSD__)
39474 #include <sys/param.h>
39475 #include <sys/mount.h>
39477 #include <sys/vfs.h>
39491 rm -f conftest.$ac_objext
39492 if { (ac_try="$ac_compile"
39493 case "(($ac_try" in
39494 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39495 *) ac_try_echo
=$ac_try;;
39497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39498 (eval "$ac_compile") 2>conftest.er1
39500 grep -v '^ *+' conftest.er1
>conftest.err
39502 cat conftest.err
>&5
39503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39504 (exit $ac_status); } && {
39505 test -z "$ac_cxx_werror_flag" ||
39506 test ! -s conftest.err
39507 } && test -s conftest.
$ac_objext; then
39508 wx_cv_func_statfs_decl
=yes
39510 echo "$as_me: failed program was:" >&5
39511 sed 's/^/| /' conftest.
$ac_ext >&5
39513 wx_cv_func_statfs_decl
=no
39517 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39519 ac_cpp
='$CPP $CPPFLAGS'
39520 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39521 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39522 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39526 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39527 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39529 if test "$wx_cv_func_statfs_decl" = "yes"; then
39530 cat >>confdefs.h
<<\_ACEOF
39531 #define HAVE_STATFS_DECL 1
39536 wx_cv_type_statvfs_t
="struct statfs"
39537 cat >>confdefs.h
<<\_ACEOF
39538 #define HAVE_STATFS 1
39542 { echo "$as_me:$LINENO: checking for statvfs" >&5
39543 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39544 if test "${wx_cv_func_statvfs+set}" = set; then
39545 echo $ECHO_N "(cached) $ECHO_C" >&6
39547 cat >conftest.
$ac_ext <<_ACEOF
39550 cat confdefs.h
>>conftest.
$ac_ext
39551 cat >>conftest.
$ac_ext <<_ACEOF
39552 /* end confdefs.h. */
39554 #include <stddef.h>
39555 #include <sys/statvfs.h>
39561 statvfs("/", NULL);
39567 rm -f conftest.
$ac_objext
39568 if { (ac_try
="$ac_compile"
39569 case "(($ac_try" in
39570 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39571 *) ac_try_echo=$ac_try;;
39573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39574 (eval "$ac_compile") 2>conftest.er1
39576 grep -v '^ *+' conftest.er1 >conftest.err
39578 cat conftest.err >&5
39579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39580 (exit $ac_status); } && {
39581 test -z "$ac_c_werror_flag" ||
39582 test ! -s conftest.err
39583 } && test -s conftest.$ac_objext; then
39584 wx_cv_func_statvfs=yes
39586 echo "$as_me: failed program was:" >&5
39587 sed 's/^/| /' conftest.$ac_ext >&5
39589 wx_cv_func_statvfs=no
39593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39596 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39597 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39599 if test "$wx_cv_func_statvfs" = "yes"; then
39600 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39601 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39602 if test "${wx_cv_type_statvfs_t+set}" = set; then
39603 echo $ECHO_N "(cached) $ECHO_C" >&6
39606 ac_cpp='$CXXCPP $CPPFLAGS'
39607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39611 cat >conftest.$ac_ext <<_ACEOF
39614 cat confdefs.h >>conftest.$ac_ext
39615 cat >>conftest.$ac_ext <<_ACEOF
39616 /* end confdefs.h. */
39618 #include <sys/statvfs.h>
39635 rm -f conftest.$ac_objext
39636 if { (ac_try="$ac_compile"
39637 case "(($ac_try" in
39638 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39639 *) ac_try_echo
=$ac_try;;
39641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39642 (eval "$ac_compile") 2>conftest.er1
39644 grep -v '^ *+' conftest.er1
>conftest.err
39646 cat conftest.err
>&5
39647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39648 (exit $ac_status); } && {
39649 test -z "$ac_cxx_werror_flag" ||
39650 test ! -s conftest.err
39651 } && test -s conftest.
$ac_objext; then
39652 wx_cv_type_statvfs_t
=statvfs_t
39654 echo "$as_me: failed program was:" >&5
39655 sed 's/^/| /' conftest.
$ac_ext >&5
39658 cat >conftest.
$ac_ext <<_ACEOF
39661 cat confdefs.h
>>conftest.
$ac_ext
39662 cat >>conftest.
$ac_ext <<_ACEOF
39663 /* end confdefs.h. */
39665 #include <sys/statvfs.h>
39682 rm -f conftest.
$ac_objext
39683 if { (ac_try
="$ac_compile"
39684 case "(($ac_try" in
39685 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39686 *) ac_try_echo=$ac_try;;
39688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39689 (eval "$ac_compile") 2>conftest.er1
39691 grep -v '^ *+' conftest.er1 >conftest.err
39693 cat conftest.err >&5
39694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39695 (exit $ac_status); } && {
39696 test -z "$ac_cxx_werror_flag" ||
39697 test ! -s conftest.err
39698 } && test -s conftest.$ac_objext; then
39699 wx_cv_type_statvfs_t="struct statvfs"
39701 echo "$as_me: failed program was:" >&5
39702 sed 's/^/| /' conftest.$ac_ext >&5
39704 wx_cv_type_statvfs_t="unknown"
39708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39715 ac_cpp='$CPP $CPPFLAGS'
39716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39722 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39723 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39725 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39726 cat >>confdefs.h <<\_ACEOF
39727 #define HAVE_STATVFS 1
39732 wx_cv_type_statvfs_t="unknown"
39736 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39737 cat >>confdefs.h <<_ACEOF
39738 #define WX_STATFS_T $wx_cv_type_statvfs_t
39742 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39743 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39746 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39749 for ac_func in fcntl flock
39751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39752 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39754 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39755 echo $ECHO_N "(cached) $ECHO_C" >&6
39757 cat >conftest.$ac_ext <<_ACEOF
39760 cat confdefs.h >>conftest.$ac_ext
39761 cat >>conftest.$ac_ext <<_ACEOF
39762 /* end confdefs.h. */
39763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39765 #define $ac_func innocuous_$ac_func
39767 /* System header to define __stub macros and hopefully few prototypes,
39768 which can conflict with char $ac_func (); below.
39769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39770 <limits.h> exists even on freestanding compilers. */
39773 # include <limits.h>
39775 # include <assert.h>
39780 /* Override any GCC internal prototype to avoid an error.
39781 Use char because int might match the return type of a GCC
39782 builtin and then its argument prototype would still apply. */
39787 /* The GNU C library defines this for functions which it implements
39788 to always fail with ENOSYS. Some functions are actually named
39789 something starting with __ and the normal name is an alias. */
39790 #if defined __stub_$ac_func || defined __stub___$ac_func
39797 return $ac_func ();
39802 rm -f conftest.$ac_objext conftest$ac_exeext
39803 if { (ac_try="$ac_link"
39804 case "(($ac_try" in
39805 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39806 *) ac_try_echo
=$ac_try;;
39808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39809 (eval "$ac_link") 2>conftest.er1
39811 grep -v '^ *+' conftest.er1
>conftest.err
39813 cat conftest.err
>&5
39814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39815 (exit $ac_status); } && {
39816 test -z "$ac_c_werror_flag" ||
39817 test ! -s conftest.err
39818 } && test -s conftest
$ac_exeext &&
39819 $as_test_x conftest
$ac_exeext; then
39820 eval "$as_ac_var=yes"
39822 echo "$as_me: failed program was:" >&5
39823 sed 's/^/| /' conftest.
$ac_ext >&5
39825 eval "$as_ac_var=no"
39828 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39829 conftest
$ac_exeext conftest.
$ac_ext
39831 ac_res
=`eval echo '${'$as_ac_var'}'`
39832 { echo "$as_me:$LINENO: result: $ac_res" >&5
39833 echo "${ECHO_T}$ac_res" >&6; }
39834 if test `eval echo '${'$as_ac_var'}'` = yes; then
39835 cat >>confdefs.h
<<_ACEOF
39836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39843 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39844 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39845 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39846 wxUSE_SNGLINST_CHECKER
=no
39851 for ac_func
in timegm
39853 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39854 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39856 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39857 echo $ECHO_N "(cached) $ECHO_C" >&6
39859 cat >conftest.
$ac_ext <<_ACEOF
39862 cat confdefs.h
>>conftest.
$ac_ext
39863 cat >>conftest.
$ac_ext <<_ACEOF
39864 /* end confdefs.h. */
39865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39867 #define $ac_func innocuous_$ac_func
39869 /* System header to define __stub macros and hopefully few prototypes,
39870 which can conflict with char $ac_func (); below.
39871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39872 <limits.h> exists even on freestanding compilers. */
39875 # include <limits.h>
39877 # include <assert.h>
39882 /* Override any GCC internal prototype to avoid an error.
39883 Use char because int might match the return type of a GCC
39884 builtin and then its argument prototype would still apply. */
39889 /* The GNU C library defines this for functions which it implements
39890 to always fail with ENOSYS. Some functions are actually named
39891 something starting with __ and the normal name is an alias. */
39892 #if defined __stub_$ac_func || defined __stub___$ac_func
39899 return $ac_func ();
39904 rm -f conftest.
$ac_objext conftest
$ac_exeext
39905 if { (ac_try
="$ac_link"
39906 case "(($ac_try" in
39907 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39908 *) ac_try_echo=$ac_try;;
39910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39911 (eval "$ac_link") 2>conftest.er1
39913 grep -v '^ *+' conftest.er1 >conftest.err
39915 cat conftest.err >&5
39916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39917 (exit $ac_status); } && {
39918 test -z "$ac_c_werror_flag" ||
39919 test ! -s conftest.err
39920 } && test -s conftest$ac_exeext &&
39921 $as_test_x conftest$ac_exeext; then
39922 eval "$as_ac_var=yes"
39924 echo "$as_me: failed program was:" >&5
39925 sed 's/^/| /' conftest.$ac_ext >&5
39927 eval "$as_ac_var=no"
39930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39931 conftest$ac_exeext conftest.$ac_ext
39933 ac_res=`eval echo '${'$as_ac_var'}'`
39934 { echo "$as_me:$LINENO: result: $ac_res" >&5
39935 echo "${ECHO_T}$ac_res" >&6; }
39936 if test `eval echo '${'$as_ac_var'}'` = yes; then
39937 cat >>confdefs.h <<_ACEOF
39938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39947 for ac_func in putenv setenv
39949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39950 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39952 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39953 echo $ECHO_N "(cached) $ECHO_C" >&6
39955 cat >conftest.$ac_ext <<_ACEOF
39958 cat confdefs.h >>conftest.$ac_ext
39959 cat >>conftest.$ac_ext <<_ACEOF
39960 /* end confdefs.h. */
39961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39963 #define $ac_func innocuous_$ac_func
39965 /* System header to define __stub macros and hopefully few prototypes,
39966 which can conflict with char $ac_func (); below.
39967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39968 <limits.h> exists even on freestanding compilers. */
39971 # include <limits.h>
39973 # include <assert.h>
39978 /* Override any GCC internal prototype to avoid an error.
39979 Use char because int might match the return type of a GCC
39980 builtin and then its argument prototype would still apply. */
39985 /* The GNU C library defines this for functions which it implements
39986 to always fail with ENOSYS. Some functions are actually named
39987 something starting with __ and the normal name is an alias. */
39988 #if defined __stub_$ac_func || defined __stub___$ac_func
39995 return $ac_func ();
40000 rm -f conftest.$ac_objext conftest$ac_exeext
40001 if { (ac_try="$ac_link"
40002 case "(($ac_try" in
40003 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40004 *) ac_try_echo
=$ac_try;;
40006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40007 (eval "$ac_link") 2>conftest.er1
40009 grep -v '^ *+' conftest.er1
>conftest.err
40011 cat conftest.err
>&5
40012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40013 (exit $ac_status); } && {
40014 test -z "$ac_c_werror_flag" ||
40015 test ! -s conftest.err
40016 } && test -s conftest
$ac_exeext &&
40017 $as_test_x conftest
$ac_exeext; then
40018 eval "$as_ac_var=yes"
40020 echo "$as_me: failed program was:" >&5
40021 sed 's/^/| /' conftest.
$ac_ext >&5
40023 eval "$as_ac_var=no"
40026 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40027 conftest
$ac_exeext conftest.
$ac_ext
40029 ac_res
=`eval echo '${'$as_ac_var'}'`
40030 { echo "$as_me:$LINENO: result: $ac_res" >&5
40031 echo "${ECHO_T}$ac_res" >&6; }
40032 if test `eval echo '${'$as_ac_var'}'` = yes; then
40033 cat >>confdefs.h
<<_ACEOF
40034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40041 HAVE_SOME_SLEEP_FUNC
=0
40042 if test "$USE_BEOS" = 1; then
40043 cat >>confdefs.h
<<\_ACEOF
40044 #define HAVE_SLEEP 1
40047 HAVE_SOME_SLEEP_FUNC
=1
40050 if test "$USE_DARWIN" = 1; then
40051 cat >>confdefs.h
<<\_ACEOF
40052 #define HAVE_USLEEP 1
40055 HAVE_SOME_SLEEP_FUNC
=1
40058 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40061 for ac_func
in nanosleep
40063 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40064 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40066 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40067 echo $ECHO_N "(cached) $ECHO_C" >&6
40069 cat >conftest.
$ac_ext <<_ACEOF
40072 cat confdefs.h
>>conftest.
$ac_ext
40073 cat >>conftest.
$ac_ext <<_ACEOF
40074 /* end confdefs.h. */
40075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40077 #define $ac_func innocuous_$ac_func
40079 /* System header to define __stub macros and hopefully few prototypes,
40080 which can conflict with char $ac_func (); below.
40081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40082 <limits.h> exists even on freestanding compilers. */
40085 # include <limits.h>
40087 # include <assert.h>
40092 /* Override any GCC internal prototype to avoid an error.
40093 Use char because int might match the return type of a GCC
40094 builtin and then its argument prototype would still apply. */
40099 /* The GNU C library defines this for functions which it implements
40100 to always fail with ENOSYS. Some functions are actually named
40101 something starting with __ and the normal name is an alias. */
40102 #if defined __stub_$ac_func || defined __stub___$ac_func
40109 return $ac_func ();
40114 rm -f conftest.
$ac_objext conftest
$ac_exeext
40115 if { (ac_try
="$ac_link"
40116 case "(($ac_try" in
40117 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40118 *) ac_try_echo=$ac_try;;
40120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40121 (eval "$ac_link") 2>conftest.er1
40123 grep -v '^ *+' conftest.er1 >conftest.err
40125 cat conftest.err >&5
40126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40127 (exit $ac_status); } && {
40128 test -z "$ac_c_werror_flag" ||
40129 test ! -s conftest.err
40130 } && test -s conftest$ac_exeext &&
40131 $as_test_x conftest$ac_exeext; then
40132 eval "$as_ac_var=yes"
40134 echo "$as_me: failed program was:" >&5
40135 sed 's/^/| /' conftest.$ac_ext >&5
40137 eval "$as_ac_var=no"
40140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40141 conftest$ac_exeext conftest.$ac_ext
40143 ac_res=`eval echo '${'$as_ac_var'}'`
40144 { echo "$as_me:$LINENO: result: $ac_res" >&5
40145 echo "${ECHO_T}$ac_res" >&6; }
40146 if test `eval echo '${'$as_ac_var'}'` = yes; then
40147 cat >>confdefs.h <<_ACEOF
40148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40150 cat >>confdefs.h <<\_ACEOF
40151 #define HAVE_NANOSLEEP 1
40156 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40157 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40158 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40159 echo $ECHO_N "(cached) $ECHO_C" >&6
40161 ac_check_lib_save_LIBS=$LIBS
40162 LIBS="-lposix4 $LIBS"
40163 cat >conftest.$ac_ext <<_ACEOF
40166 cat confdefs.h >>conftest.$ac_ext
40167 cat >>conftest.$ac_ext <<_ACEOF
40168 /* end confdefs.h. */
40170 /* Override any GCC internal prototype to avoid an error.
40171 Use char because int might match the return type of a GCC
40172 builtin and then its argument prototype would still apply. */
40180 return nanosleep ();
40185 rm -f conftest.$ac_objext conftest$ac_exeext
40186 if { (ac_try="$ac_link"
40187 case "(($ac_try" in
40188 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40189 *) ac_try_echo
=$ac_try;;
40191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40192 (eval "$ac_link") 2>conftest.er1
40194 grep -v '^ *+' conftest.er1
>conftest.err
40196 cat conftest.err
>&5
40197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40198 (exit $ac_status); } && {
40199 test -z "$ac_c_werror_flag" ||
40200 test ! -s conftest.err
40201 } && test -s conftest
$ac_exeext &&
40202 $as_test_x conftest
$ac_exeext; then
40203 ac_cv_lib_posix4_nanosleep
=yes
40205 echo "$as_me: failed program was:" >&5
40206 sed 's/^/| /' conftest.
$ac_ext >&5
40208 ac_cv_lib_posix4_nanosleep
=no
40211 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40212 conftest
$ac_exeext conftest.
$ac_ext
40213 LIBS
=$ac_check_lib_save_LIBS
40215 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40216 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40217 if test $ac_cv_lib_posix4_nanosleep = yes; then
40219 cat >>confdefs.h
<<\_ACEOF
40220 #define HAVE_NANOSLEEP 1
40223 POSIX4_LINK
=" -lposix4"
40228 for wx_func
in usleep
40230 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40231 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40232 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40233 echo $ECHO_N "(cached) $ECHO_C" >&6
40236 cat >conftest.
$ac_ext <<_ACEOF
40240 cat confdefs.h
>>conftest.
$ac_ext
40241 cat >>conftest.
$ac_ext <<_ACEOF
40242 /* end confdefs.h. */
40245 $ac_includes_default
40261 rm -f conftest.
$ac_objext conftest
$ac_exeext
40262 if { (ac_try
="$ac_link"
40263 case "(($ac_try" in
40264 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40265 *) ac_try_echo=$ac_try;;
40267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40268 (eval "$ac_link") 2>conftest.er1
40270 grep -v '^ *+' conftest.er1 >conftest.err
40272 cat conftest.err >&5
40273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40274 (exit $ac_status); } && {
40275 test -z "$ac_c_werror_flag" ||
40276 test ! -s conftest.err
40277 } && test -s conftest$ac_exeext &&
40278 $as_test_x conftest$ac_exeext; then
40279 eval wx_cv_func_$wx_func=yes
40281 echo "$as_me: failed program was:" >&5
40282 sed 's/^/| /' conftest.$ac_ext >&5
40284 eval wx_cv_func_$wx_func=no
40287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40288 conftest$ac_exeext conftest.$ac_ext
40291 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40292 { echo "$as_me:$LINENO: result: $ac_res" >&5
40293 echo "${ECHO_T}$ac_res" >&6; }
40295 if eval test \$wx_cv_func_$wx_func = yes
40297 cat >>confdefs.h <<_ACEOF
40298 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40304 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40305 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40322 for wx_func in uname
40324 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40325 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40326 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40327 echo $ECHO_N "(cached) $ECHO_C" >&6
40330 cat >conftest.$ac_ext <<_ACEOF
40334 cat confdefs.h >>conftest.$ac_ext
40335 cat >>conftest.$ac_ext <<_ACEOF
40336 /* end confdefs.h. */
40338 #include <sys/utsname.h>
40339 $ac_includes_default
40355 rm -f conftest.$ac_objext conftest$ac_exeext
40356 if { (ac_try="$ac_link"
40357 case "(($ac_try" in
40358 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40359 *) ac_try_echo
=$ac_try;;
40361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40362 (eval "$ac_link") 2>conftest.er1
40364 grep -v '^ *+' conftest.er1
>conftest.err
40366 cat conftest.err
>&5
40367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40368 (exit $ac_status); } && {
40369 test -z "$ac_c_werror_flag" ||
40370 test ! -s conftest.err
40371 } && test -s conftest
$ac_exeext &&
40372 $as_test_x conftest
$ac_exeext; then
40373 eval wx_cv_func_
$wx_func=yes
40375 echo "$as_me: failed program was:" >&5
40376 sed 's/^/| /' conftest.
$ac_ext >&5
40378 eval wx_cv_func_
$wx_func=no
40381 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40382 conftest
$ac_exeext conftest.
$ac_ext
40385 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40386 { echo "$as_me:$LINENO: result: $ac_res" >&5
40387 echo "${ECHO_T}$ac_res" >&6; }
40389 if eval test \
$wx_cv_func_$wx_func = yes
40391 cat >>confdefs.h
<<_ACEOF
40392 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40402 if test "$wx_cv_func_uname" != yes; then
40404 for wx_func
in gethostname
40406 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40407 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40408 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40409 echo $ECHO_N "(cached) $ECHO_C" >&6
40412 cat >conftest.
$ac_ext <<_ACEOF
40416 cat confdefs.h
>>conftest.
$ac_ext
40417 cat >>conftest.
$ac_ext <<_ACEOF
40418 /* end confdefs.h. */
40421 $ac_includes_default
40437 rm -f conftest.
$ac_objext conftest
$ac_exeext
40438 if { (ac_try
="$ac_link"
40439 case "(($ac_try" in
40440 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40441 *) ac_try_echo=$ac_try;;
40443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40444 (eval "$ac_link") 2>conftest.er1
40446 grep -v '^ *+' conftest.er1 >conftest.err
40448 cat conftest.err >&5
40449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40450 (exit $ac_status); } && {
40451 test -z "$ac_c_werror_flag" ||
40452 test ! -s conftest.err
40453 } && test -s conftest$ac_exeext &&
40454 $as_test_x conftest$ac_exeext; then
40455 eval wx_cv_func_$wx_func=yes
40457 echo "$as_me: failed program was:" >&5
40458 sed 's/^/| /' conftest.$ac_ext >&5
40460 eval wx_cv_func_$wx_func=no
40463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40464 conftest$ac_exeext conftest.$ac_ext
40467 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40468 { echo "$as_me:$LINENO: result: $ac_res" >&5
40469 echo "${ECHO_T}$ac_res" >&6; }
40471 if eval test \$wx_cv_func_$wx_func = yes
40473 cat >>confdefs.h <<_ACEOF
40474 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40487 for wx_func in strtok_r
40489 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40490 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40491 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40492 echo $ECHO_N "(cached) $ECHO_C" >&6
40495 cat >conftest.$ac_ext <<_ACEOF
40499 cat confdefs.h >>conftest.$ac_ext
40500 cat >>conftest.$ac_ext <<_ACEOF
40501 /* end confdefs.h. */
40504 $ac_includes_default
40520 rm -f conftest.$ac_objext conftest$ac_exeext
40521 if { (ac_try="$ac_link"
40522 case "(($ac_try" in
40523 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40524 *) ac_try_echo
=$ac_try;;
40526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40527 (eval "$ac_link") 2>conftest.er1
40529 grep -v '^ *+' conftest.er1
>conftest.err
40531 cat conftest.err
>&5
40532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40533 (exit $ac_status); } && {
40534 test -z "$ac_c_werror_flag" ||
40535 test ! -s conftest.err
40536 } && test -s conftest
$ac_exeext &&
40537 $as_test_x conftest
$ac_exeext; then
40538 eval wx_cv_func_
$wx_func=yes
40540 echo "$as_me: failed program was:" >&5
40541 sed 's/^/| /' conftest.
$ac_ext >&5
40543 eval wx_cv_func_
$wx_func=no
40546 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40547 conftest
$ac_exeext conftest.
$ac_ext
40550 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40551 { echo "$as_me:$LINENO: result: $ac_res" >&5
40552 echo "${ECHO_T}$ac_res" >&6; }
40554 if eval test \
$wx_cv_func_$wx_func = yes
40556 cat >>confdefs.h
<<_ACEOF
40557 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40570 for ac_func
in inet_addr
40572 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40573 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40575 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40576 echo $ECHO_N "(cached) $ECHO_C" >&6
40578 cat >conftest.
$ac_ext <<_ACEOF
40581 cat confdefs.h
>>conftest.
$ac_ext
40582 cat >>conftest.
$ac_ext <<_ACEOF
40583 /* end confdefs.h. */
40584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40586 #define $ac_func innocuous_$ac_func
40588 /* System header to define __stub macros and hopefully few prototypes,
40589 which can conflict with char $ac_func (); below.
40590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40591 <limits.h> exists even on freestanding compilers. */
40594 # include <limits.h>
40596 # include <assert.h>
40601 /* Override any GCC internal prototype to avoid an error.
40602 Use char because int might match the return type of a GCC
40603 builtin and then its argument prototype would still apply. */
40608 /* The GNU C library defines this for functions which it implements
40609 to always fail with ENOSYS. Some functions are actually named
40610 something starting with __ and the normal name is an alias. */
40611 #if defined __stub_$ac_func || defined __stub___$ac_func
40618 return $ac_func ();
40623 rm -f conftest.
$ac_objext conftest
$ac_exeext
40624 if { (ac_try
="$ac_link"
40625 case "(($ac_try" in
40626 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40627 *) ac_try_echo=$ac_try;;
40629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40630 (eval "$ac_link") 2>conftest.er1
40632 grep -v '^ *+' conftest.er1 >conftest.err
40634 cat conftest.err >&5
40635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40636 (exit $ac_status); } && {
40637 test -z "$ac_c_werror_flag" ||
40638 test ! -s conftest.err
40639 } && test -s conftest$ac_exeext &&
40640 $as_test_x conftest$ac_exeext; then
40641 eval "$as_ac_var=yes"
40643 echo "$as_me: failed program was:" >&5
40644 sed 's/^/| /' conftest.$ac_ext >&5
40646 eval "$as_ac_var=no"
40649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40650 conftest$ac_exeext conftest.$ac_ext
40652 ac_res=`eval echo '${'$as_ac_var'}'`
40653 { echo "$as_me:$LINENO: result: $ac_res" >&5
40654 echo "${ECHO_T}$ac_res" >&6; }
40655 if test `eval echo '${'$as_ac_var'}'` = yes; then
40656 cat >>confdefs.h <<_ACEOF
40657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40659 cat >>confdefs.h <<\_ACEOF
40660 #define HAVE_INET_ADDR 1
40665 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40666 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40667 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40668 echo $ECHO_N "(cached) $ECHO_C" >&6
40670 ac_check_lib_save_LIBS=$LIBS
40672 cat >conftest.$ac_ext <<_ACEOF
40675 cat confdefs.h >>conftest.$ac_ext
40676 cat >>conftest.$ac_ext <<_ACEOF
40677 /* end confdefs.h. */
40679 /* Override any GCC internal prototype to avoid an error.
40680 Use char because int might match the return type of a GCC
40681 builtin and then its argument prototype would still apply. */
40689 return inet_addr ();
40694 rm -f conftest.$ac_objext conftest$ac_exeext
40695 if { (ac_try="$ac_link"
40696 case "(($ac_try" in
40697 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40698 *) ac_try_echo
=$ac_try;;
40700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40701 (eval "$ac_link") 2>conftest.er1
40703 grep -v '^ *+' conftest.er1
>conftest.err
40705 cat conftest.err
>&5
40706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40707 (exit $ac_status); } && {
40708 test -z "$ac_c_werror_flag" ||
40709 test ! -s conftest.err
40710 } && test -s conftest
$ac_exeext &&
40711 $as_test_x conftest
$ac_exeext; then
40712 ac_cv_lib_nsl_inet_addr
=yes
40714 echo "$as_me: failed program was:" >&5
40715 sed 's/^/| /' conftest.
$ac_ext >&5
40717 ac_cv_lib_nsl_inet_addr
=no
40720 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40721 conftest
$ac_exeext conftest.
$ac_ext
40722 LIBS
=$ac_check_lib_save_LIBS
40724 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40725 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40726 if test $ac_cv_lib_nsl_inet_addr = yes; then
40730 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40731 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40732 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40733 echo $ECHO_N "(cached) $ECHO_C" >&6
40735 ac_check_lib_save_LIBS
=$LIBS
40736 LIBS
="-lresolv $LIBS"
40737 cat >conftest.
$ac_ext <<_ACEOF
40740 cat confdefs.h
>>conftest.
$ac_ext
40741 cat >>conftest.
$ac_ext <<_ACEOF
40742 /* end confdefs.h. */
40744 /* Override any GCC internal prototype to avoid an error.
40745 Use char because int might match the return type of a GCC
40746 builtin and then its argument prototype would still apply. */
40754 return inet_addr ();
40759 rm -f conftest.
$ac_objext conftest
$ac_exeext
40760 if { (ac_try
="$ac_link"
40761 case "(($ac_try" in
40762 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40763 *) ac_try_echo=$ac_try;;
40765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40766 (eval "$ac_link") 2>conftest.er1
40768 grep -v '^ *+' conftest.er1 >conftest.err
40770 cat conftest.err >&5
40771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40772 (exit $ac_status); } && {
40773 test -z "$ac_c_werror_flag" ||
40774 test ! -s conftest.err
40775 } && test -s conftest$ac_exeext &&
40776 $as_test_x conftest$ac_exeext; then
40777 ac_cv_lib_resolv_inet_addr=yes
40779 echo "$as_me: failed program was:" >&5
40780 sed 's/^/| /' conftest.$ac_ext >&5
40782 ac_cv_lib_resolv_inet_addr=no
40785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40786 conftest$ac_exeext conftest.$ac_ext
40787 LIBS=$ac_check_lib_save_LIBS
40789 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40790 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40791 if test $ac_cv_lib_resolv_inet_addr = yes; then
40795 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40796 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40797 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40798 echo $ECHO_N "(cached) $ECHO_C" >&6
40800 ac_check_lib_save_LIBS=$LIBS
40801 LIBS="-lsocket $LIBS"
40802 cat >conftest.$ac_ext <<_ACEOF
40805 cat confdefs.h >>conftest.$ac_ext
40806 cat >>conftest.$ac_ext <<_ACEOF
40807 /* end confdefs.h. */
40809 /* Override any GCC internal prototype to avoid an error.
40810 Use char because int might match the return type of a GCC
40811 builtin and then its argument prototype would still apply. */
40819 return inet_addr ();
40824 rm -f conftest.$ac_objext conftest$ac_exeext
40825 if { (ac_try="$ac_link"
40826 case "(($ac_try" in
40827 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40828 *) ac_try_echo
=$ac_try;;
40830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40831 (eval "$ac_link") 2>conftest.er1
40833 grep -v '^ *+' conftest.er1
>conftest.err
40835 cat conftest.err
>&5
40836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40837 (exit $ac_status); } && {
40838 test -z "$ac_c_werror_flag" ||
40839 test ! -s conftest.err
40840 } && test -s conftest
$ac_exeext &&
40841 $as_test_x conftest
$ac_exeext; then
40842 ac_cv_lib_socket_inet_addr
=yes
40844 echo "$as_me: failed program was:" >&5
40845 sed 's/^/| /' conftest.
$ac_ext >&5
40847 ac_cv_lib_socket_inet_addr
=no
40850 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40851 conftest
$ac_exeext conftest.
$ac_ext
40852 LIBS
=$ac_check_lib_save_LIBS
40854 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40855 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40856 if test $ac_cv_lib_socket_inet_addr = yes; then
40876 for ac_func
in inet_aton
40878 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40879 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40881 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40882 echo $ECHO_N "(cached) $ECHO_C" >&6
40884 cat >conftest.
$ac_ext <<_ACEOF
40887 cat confdefs.h
>>conftest.
$ac_ext
40888 cat >>conftest.
$ac_ext <<_ACEOF
40889 /* end confdefs.h. */
40890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40892 #define $ac_func innocuous_$ac_func
40894 /* System header to define __stub macros and hopefully few prototypes,
40895 which can conflict with char $ac_func (); below.
40896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40897 <limits.h> exists even on freestanding compilers. */
40900 # include <limits.h>
40902 # include <assert.h>
40907 /* Override any GCC internal prototype to avoid an error.
40908 Use char because int might match the return type of a GCC
40909 builtin and then its argument prototype would still apply. */
40914 /* The GNU C library defines this for functions which it implements
40915 to always fail with ENOSYS. Some functions are actually named
40916 something starting with __ and the normal name is an alias. */
40917 #if defined __stub_$ac_func || defined __stub___$ac_func
40924 return $ac_func ();
40929 rm -f conftest.
$ac_objext conftest
$ac_exeext
40930 if { (ac_try
="$ac_link"
40931 case "(($ac_try" in
40932 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40933 *) ac_try_echo=$ac_try;;
40935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40936 (eval "$ac_link") 2>conftest.er1
40938 grep -v '^ *+' conftest.er1 >conftest.err
40940 cat conftest.err >&5
40941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40942 (exit $ac_status); } && {
40943 test -z "$ac_c_werror_flag" ||
40944 test ! -s conftest.err
40945 } && test -s conftest$ac_exeext &&
40946 $as_test_x conftest$ac_exeext; then
40947 eval "$as_ac_var=yes"
40949 echo "$as_me: failed program was:" >&5
40950 sed 's/^/| /' conftest.$ac_ext >&5
40952 eval "$as_ac_var=no"
40955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40956 conftest$ac_exeext conftest.$ac_ext
40958 ac_res=`eval echo '${'$as_ac_var'}'`
40959 { echo "$as_me:$LINENO: result: $ac_res" >&5
40960 echo "${ECHO_T}$ac_res" >&6; }
40961 if test `eval echo '${'$as_ac_var'}'` = yes; then
40962 cat >>confdefs.h <<_ACEOF
40963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40965 cat >>confdefs.h <<\_ACEOF
40966 #define HAVE_INET_ATON 1
40971 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40972 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40973 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40974 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40975 echo $ECHO_N "(cached) $ECHO_C" >&6
40977 ac_check_lib_save_LIBS=$LIBS
40978 LIBS="-l$INET_LINK $LIBS"
40979 cat >conftest.$ac_ext <<_ACEOF
40982 cat confdefs.h >>conftest.$ac_ext
40983 cat >>conftest.$ac_ext <<_ACEOF
40984 /* end confdefs.h. */
40986 /* Override any GCC internal prototype to avoid an error.
40987 Use char because int might match the return type of a GCC
40988 builtin and then its argument prototype would still apply. */
40996 return inet_aton ();
41001 rm -f conftest.$ac_objext conftest$ac_exeext
41002 if { (ac_try="$ac_link"
41003 case "(($ac_try" in
41004 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41005 *) ac_try_echo
=$ac_try;;
41007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41008 (eval "$ac_link") 2>conftest.er1
41010 grep -v '^ *+' conftest.er1
>conftest.err
41012 cat conftest.err
>&5
41013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41014 (exit $ac_status); } && {
41015 test -z "$ac_c_werror_flag" ||
41016 test ! -s conftest.err
41017 } && test -s conftest
$ac_exeext &&
41018 $as_test_x conftest
$ac_exeext; then
41019 eval "$as_ac_Lib=yes"
41021 echo "$as_me: failed program was:" >&5
41022 sed 's/^/| /' conftest.
$ac_ext >&5
41024 eval "$as_ac_Lib=no"
41027 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41028 conftest
$ac_exeext conftest.
$ac_ext
41029 LIBS
=$ac_check_lib_save_LIBS
41031 ac_res
=`eval echo '${'$as_ac_Lib'}'`
41032 { echo "$as_me:$LINENO: result: $ac_res" >&5
41033 echo "${ECHO_T}$ac_res" >&6; }
41034 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41035 cat >>confdefs.h
<<\_ACEOF
41036 #define HAVE_INET_ATON 1
41046 if test "x$INET_LINK" != "x"; then
41047 cat >>confdefs.h
<<\_ACEOF
41048 #define HAVE_INET_ADDR 1
41051 INET_LINK
=" -l$INET_LINK"
41055 for wx_func
in fdopen
41057 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41058 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41059 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41060 echo $ECHO_N "(cached) $ECHO_C" >&6
41063 cat >conftest.
$ac_ext <<_ACEOF
41067 cat confdefs.h
>>conftest.
$ac_ext
41068 cat >>conftest.
$ac_ext <<_ACEOF
41069 /* end confdefs.h. */
41072 $ac_includes_default
41088 rm -f conftest.
$ac_objext conftest
$ac_exeext
41089 if { (ac_try
="$ac_link"
41090 case "(($ac_try" in
41091 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41092 *) ac_try_echo=$ac_try;;
41094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41095 (eval "$ac_link") 2>conftest.er1
41097 grep -v '^ *+' conftest.er1 >conftest.err
41099 cat conftest.err >&5
41100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41101 (exit $ac_status); } && {
41102 test -z "$ac_c_werror_flag" ||
41103 test ! -s conftest.err
41104 } && test -s conftest$ac_exeext &&
41105 $as_test_x conftest$ac_exeext; then
41106 eval wx_cv_func_$wx_func=yes
41108 echo "$as_me: failed program was:" >&5
41109 sed 's/^/| /' conftest.$ac_ext >&5
41111 eval wx_cv_func_$wx_func=no
41114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41115 conftest$ac_exeext conftest.$ac_ext
41118 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41119 { echo "$as_me:$LINENO: result: $ac_res" >&5
41120 echo "${ECHO_T}$ac_res" >&6; }
41122 if eval test \$wx_cv_func_$wx_func = yes
41124 cat >>confdefs.h <<_ACEOF
41125 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41140 cat >confcache <<\_ACEOF
41141 # This file is a shell script that caches the results of configure
41142 # tests run on this system so they can be shared between configure
41143 # scripts and configure runs, see configure's option --config-cache.
41144 # It is not useful on other systems. If it contains results you don't
41145 # want to keep, you may remove or edit it.
41147 # config.status only pays attention to the cache file if you give it
41148 # the --recheck option to rerun configure.
41150 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
41151 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41152 # following values.
41156 # The following way of writing the cache mishandles newlines in values,
41157 # but we know of no workaround that is simple, portable, and efficient.
41158 # So, we kill variables containing newlines.
41159 # Ultrix sh set writes to stderr and can't be redirected directly,
41160 # and sets the high bit in the cache file unless we assign to the vars.
41162 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41163 eval ac_val
=\$
$ac_var
41167 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41168 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41171 _
| IFS
| as_nl
) ;; #(
41172 *) $as_unset $ac_var ;;
41178 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41179 *${as_nl}ac_space
=\
*)
41180 # `set' does not quote correctly, so add quotes (double-quote
41181 # substitution turns \\\\ into \\, and sed turns \\ into \).
41184 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41187 # `set' quotes correctly as required by POSIX, so do not add quotes.
41188 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41197 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41199 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41201 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41202 if test -w "$cache_file"; then
41203 test "x$cache_file" != "x/dev/null" &&
41204 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41205 echo "$as_me: updating cache $cache_file" >&6;}
41206 cat confcache
>$cache_file
41208 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41209 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41215 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41221 if test "$wxUSE_THREADS" = "yes" ; then
41222 if test "$USE_BEOS" = 1; then
41223 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41224 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41229 if test "$wxUSE_THREADS" = "yes" ; then
41232 THREAD_OPTS
="-pthread"
41233 if test "x$SUNCXX" = xyes
; then
41234 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
41238 *-*-solaris2* | *-*-sunos4* )
41239 if test "x$GCC" = "xyes"; then
41240 THREAD_OPTS
="-pthreads $THREAD_OPTS"
41244 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
41246 *-*-darwin* | *-*-cygwin* )
41250 THREAD_OPTS
="pthreads"
41253 if test "x$GCC" = "xyes"; then
41254 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
41262 if test "x$GCC" = "xyes"; then
41268 if test "x$GCC" != "xyes"; then
41269 THREAD_OPTS
="-Ethread"
41274 THREAD_OPTS
="$THREAD_OPTS pthread none"
41277 for flag
in $THREAD_OPTS; do
41280 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41281 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41285 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41286 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41287 THREADS_CFLAGS
="$flag"
41291 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41292 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41293 THREADS_LINK
="-l$flag"
41298 save_CFLAGS
="$CFLAGS"
41299 LIBS
="$THREADS_LINK $LIBS"
41300 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
41302 cat >conftest.
$ac_ext <<_ACEOF
41305 cat confdefs.h
>>conftest.
$ac_ext
41306 cat >>conftest.
$ac_ext <<_ACEOF
41307 /* end confdefs.h. */
41308 #include <pthread.h>
41312 pthread_create(0,0,0,0);
41317 rm -f conftest.
$ac_objext conftest
$ac_exeext
41318 if { (ac_try
="$ac_link"
41319 case "(($ac_try" in
41320 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41321 *) ac_try_echo=$ac_try;;
41323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41324 (eval "$ac_link") 2>conftest.er1
41326 grep -v '^ *+' conftest.er1 >conftest.err
41328 cat conftest.err >&5
41329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41330 (exit $ac_status); } && {
41331 test -z "$ac_c_werror_flag" ||
41332 test ! -s conftest.err
41333 } && test -s conftest$ac_exeext &&
41334 $as_test_x conftest$ac_exeext; then
41337 echo "$as_me: failed program was:" >&5
41338 sed 's/^/| /' conftest.$ac_ext >&5
41343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41344 conftest$ac_exeext conftest.$ac_ext
41347 CFLAGS="$save_CFLAGS"
41349 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41350 echo "${ECHO_T}$THREADS_OK" >&6; }
41351 if test "x$THREADS_OK" = "xyes"; then
41359 if test "x$THREADS_OK" != "xyes"; then
41361 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41362 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41364 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41365 LIBS="$THREADS_LINK $LIBS"
41367 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41368 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41372 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41373 flag="-D_THREAD_SAFE"
41376 flag="-D_THREAD_SAFE"
41379 flag="-D_REENTRANT"
41380 if test "x$GCC" != "xyes"; then
41381 flag="$flag -D_RWSTD_MULTI_THREAD"
41384 *solaris* | alpha*-osf*)
41385 flag="-D_REENTRANT"
41388 { echo "$as_me:$LINENO: result: ${flag}" >&5
41389 echo "${ECHO_T}${flag}" >&6; }
41390 if test "x$flag" != xno; then
41391 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41394 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41398 if test "$wxUSE_THREADS" = "yes" ; then
41400 for ac_func in thr_setconcurrency
41402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41403 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41405 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41406 echo $ECHO_N "(cached) $ECHO_C" >&6
41408 cat >conftest.$ac_ext <<_ACEOF
41411 cat confdefs.h >>conftest.$ac_ext
41412 cat >>conftest.$ac_ext <<_ACEOF
41413 /* end confdefs.h. */
41414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41416 #define $ac_func innocuous_$ac_func
41418 /* System header to define __stub macros and hopefully few prototypes,
41419 which can conflict with char $ac_func (); below.
41420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41421 <limits.h> exists even on freestanding compilers. */
41424 # include <limits.h>
41426 # include <assert.h>
41431 /* Override any GCC internal prototype to avoid an error.
41432 Use char because int might match the return type of a GCC
41433 builtin and then its argument prototype would still apply. */
41438 /* The GNU C library defines this for functions which it implements
41439 to always fail with ENOSYS. Some functions are actually named
41440 something starting with __ and the normal name is an alias. */
41441 #if defined __stub_$ac_func || defined __stub___$ac_func
41448 return $ac_func ();
41453 rm -f conftest.$ac_objext conftest$ac_exeext
41454 if { (ac_try="$ac_link"
41455 case "(($ac_try" in
41456 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41457 *) ac_try_echo
=$ac_try;;
41459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41460 (eval "$ac_link") 2>conftest.er1
41462 grep -v '^ *+' conftest.er1
>conftest.err
41464 cat conftest.err
>&5
41465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41466 (exit $ac_status); } && {
41467 test -z "$ac_c_werror_flag" ||
41468 test ! -s conftest.err
41469 } && test -s conftest
$ac_exeext &&
41470 $as_test_x conftest
$ac_exeext; then
41471 eval "$as_ac_var=yes"
41473 echo "$as_me: failed program was:" >&5
41474 sed 's/^/| /' conftest.
$ac_ext >&5
41476 eval "$as_ac_var=no"
41479 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41480 conftest
$ac_exeext conftest.
$ac_ext
41482 ac_res
=`eval echo '${'$as_ac_var'}'`
41483 { echo "$as_me:$LINENO: result: $ac_res" >&5
41484 echo "${ECHO_T}$ac_res" >&6; }
41485 if test `eval echo '${'$as_ac_var'}'` = yes; then
41486 cat >>confdefs.h
<<_ACEOF
41487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41494 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41495 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41496 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41497 echo $ECHO_N "(cached) $ECHO_C" >&6
41501 ac_cpp
='$CXXCPP $CPPFLAGS'
41502 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41503 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41504 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41506 cat >conftest.
$ac_ext <<_ACEOF
41509 cat confdefs.h
>>conftest.
$ac_ext
41510 cat >>conftest.
$ac_ext <<_ACEOF
41511 /* end confdefs.h. */
41512 #include <pthread.h>
41513 void ThreadCleanupFunc(void *p);
41520 pthread_cleanup_push(ThreadCleanupFunc, p);
41521 pthread_cleanup_pop(0);
41527 rm -f conftest.
$ac_objext
41528 if { (ac_try
="$ac_compile"
41529 case "(($ac_try" in
41530 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41531 *) ac_try_echo=$ac_try;;
41533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41534 (eval "$ac_compile") 2>conftest.er1
41536 grep -v '^ *+' conftest.er1 >conftest.err
41538 cat conftest.err >&5
41539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41540 (exit $ac_status); } && {
41541 test -z "$ac_cxx_werror_flag" ||
41542 test ! -s conftest.err
41543 } && test -s conftest.$ac_objext; then
41545 wx_cv_func_pthread_cleanup=yes
41548 echo "$as_me: failed program was:" >&5
41549 sed 's/^/| /' conftest.$ac_ext >&5
41552 wx_cv_func_pthread_cleanup=no
41557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41559 ac_cpp='$CPP $CPPFLAGS'
41560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41566 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41567 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41568 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41569 cat >>confdefs.h <<\_ACEOF
41570 #define wxHAVE_PTHREAD_CLEANUP 1
41575 { echo "$as_me:$LINENO: checking for sched.h" >&5
41576 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
41577 if test "${ac_cv_header_sched_h+set}" = set; then
41578 echo $ECHO_N "(cached) $ECHO_C" >&6
41580 cat >conftest.$ac_ext <<_ACEOF
41583 cat confdefs.h >>conftest.$ac_ext
41584 cat >>conftest.$ac_ext <<_ACEOF
41585 /* end confdefs.h. */
41586 $ac_includes_default
41590 rm -f conftest.$ac_objext
41591 if { (ac_try="$ac_compile"
41592 case "(($ac_try" in
41593 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41594 *) ac_try_echo
=$ac_try;;
41596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41597 (eval "$ac_compile") 2>conftest.er1
41599 grep -v '^ *+' conftest.er1
>conftest.err
41601 cat conftest.err
>&5
41602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41603 (exit $ac_status); } && {
41604 test -z "$ac_c_werror_flag" ||
41605 test ! -s conftest.err
41606 } && test -s conftest.
$ac_objext; then
41607 ac_cv_header_sched_h
=yes
41609 echo "$as_me: failed program was:" >&5
41610 sed 's/^/| /' conftest.
$ac_ext >&5
41612 ac_cv_header_sched_h
=no
41615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41617 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
41618 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
41621 if test "$ac_cv_header_sched_h" = "yes"; then
41622 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41623 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41624 if test "${ac_cv_func_sched_yield+set}" = set; then
41625 echo $ECHO_N "(cached) $ECHO_C" >&6
41627 cat >conftest.
$ac_ext <<_ACEOF
41630 cat confdefs.h
>>conftest.
$ac_ext
41631 cat >>conftest.
$ac_ext <<_ACEOF
41632 /* end confdefs.h. */
41633 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41635 #define sched_yield innocuous_sched_yield
41637 /* System header to define __stub macros and hopefully few prototypes,
41638 which can conflict with char sched_yield (); below.
41639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41640 <limits.h> exists even on freestanding compilers. */
41643 # include <limits.h>
41645 # include <assert.h>
41650 /* Override any GCC internal prototype to avoid an error.
41651 Use char because int might match the return type of a GCC
41652 builtin and then its argument prototype would still apply. */
41656 char sched_yield ();
41657 /* The GNU C library defines this for functions which it implements
41658 to always fail with ENOSYS. Some functions are actually named
41659 something starting with __ and the normal name is an alias. */
41660 #if defined __stub_sched_yield || defined __stub___sched_yield
41667 return sched_yield ();
41672 rm -f conftest.
$ac_objext conftest
$ac_exeext
41673 if { (ac_try
="$ac_link"
41674 case "(($ac_try" in
41675 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41676 *) ac_try_echo=$ac_try;;
41678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41679 (eval "$ac_link") 2>conftest.er1
41681 grep -v '^ *+' conftest.er1 >conftest.err
41683 cat conftest.err >&5
41684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41685 (exit $ac_status); } && {
41686 test -z "$ac_c_werror_flag" ||
41687 test ! -s conftest.err
41688 } && test -s conftest$ac_exeext &&
41689 $as_test_x conftest$ac_exeext; then
41690 ac_cv_func_sched_yield=yes
41692 echo "$as_me: failed program was:" >&5
41693 sed 's/^/| /' conftest.$ac_ext >&5
41695 ac_cv_func_sched_yield=no
41698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41699 conftest$ac_exeext conftest.$ac_ext
41701 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41702 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41703 if test $ac_cv_func_sched_yield = yes; then
41704 cat >>confdefs.h <<\_ACEOF
41705 #define HAVE_SCHED_YIELD 1
41710 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41711 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41712 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41713 echo $ECHO_N "(cached) $ECHO_C" >&6
41715 ac_check_lib_save_LIBS=$LIBS
41716 LIBS="-lposix4 $LIBS"
41717 cat >conftest.$ac_ext <<_ACEOF
41720 cat confdefs.h >>conftest.$ac_ext
41721 cat >>conftest.$ac_ext <<_ACEOF
41722 /* end confdefs.h. */
41724 /* Override any GCC internal prototype to avoid an error.
41725 Use char because int might match the return type of a GCC
41726 builtin and then its argument prototype would still apply. */
41730 char sched_yield ();
41734 return sched_yield ();
41739 rm -f conftest.$ac_objext conftest$ac_exeext
41740 if { (ac_try="$ac_link"
41741 case "(($ac_try" in
41742 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41743 *) ac_try_echo
=$ac_try;;
41745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41746 (eval "$ac_link") 2>conftest.er1
41748 grep -v '^ *+' conftest.er1
>conftest.err
41750 cat conftest.err
>&5
41751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41752 (exit $ac_status); } && {
41753 test -z "$ac_c_werror_flag" ||
41754 test ! -s conftest.err
41755 } && test -s conftest
$ac_exeext &&
41756 $as_test_x conftest
$ac_exeext; then
41757 ac_cv_lib_posix4_sched_yield
=yes
41759 echo "$as_me: failed program was:" >&5
41760 sed 's/^/| /' conftest.
$ac_ext >&5
41762 ac_cv_lib_posix4_sched_yield
=no
41765 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41766 conftest
$ac_exeext conftest.
$ac_ext
41767 LIBS
=$ac_check_lib_save_LIBS
41769 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41770 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41771 if test $ac_cv_lib_posix4_sched_yield = yes; then
41772 cat >>confdefs.h
<<\_ACEOF
41773 #define HAVE_SCHED_YIELD 1
41775 POSIX4_LINK
=" -lposix4"
41777 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41778 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41789 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41790 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41791 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41792 echo $ECHO_N "(cached) $ECHO_C" >&6
41794 cat >conftest.
$ac_ext <<_ACEOF
41797 cat confdefs.h
>>conftest.
$ac_ext
41798 cat >>conftest.
$ac_ext <<_ACEOF
41799 /* end confdefs.h. */
41800 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41802 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41804 /* System header to define __stub macros and hopefully few prototypes,
41805 which can conflict with char pthread_attr_getschedpolicy (); below.
41806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41807 <limits.h> exists even on freestanding compilers. */
41810 # include <limits.h>
41812 # include <assert.h>
41815 #undef pthread_attr_getschedpolicy
41817 /* Override any GCC internal prototype to avoid an error.
41818 Use char because int might match the return type of a GCC
41819 builtin and then its argument prototype would still apply. */
41823 char pthread_attr_getschedpolicy ();
41824 /* The GNU C library defines this for functions which it implements
41825 to always fail with ENOSYS. Some functions are actually named
41826 something starting with __ and the normal name is an alias. */
41827 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41834 return pthread_attr_getschedpolicy ();
41839 rm -f conftest.
$ac_objext conftest
$ac_exeext
41840 if { (ac_try
="$ac_link"
41841 case "(($ac_try" in
41842 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41843 *) ac_try_echo=$ac_try;;
41845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41846 (eval "$ac_link") 2>conftest.er1
41848 grep -v '^ *+' conftest.er1 >conftest.err
41850 cat conftest.err >&5
41851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41852 (exit $ac_status); } && {
41853 test -z "$ac_c_werror_flag" ||
41854 test ! -s conftest.err
41855 } && test -s conftest$ac_exeext &&
41856 $as_test_x conftest$ac_exeext; then
41857 ac_cv_func_pthread_attr_getschedpolicy=yes
41859 echo "$as_me: failed program was:" >&5
41860 sed 's/^/| /' conftest.$ac_ext >&5
41862 ac_cv_func_pthread_attr_getschedpolicy=no
41865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41866 conftest$ac_exeext conftest.$ac_ext
41868 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41869 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41870 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41871 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41872 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41873 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41874 echo $ECHO_N "(cached) $ECHO_C" >&6
41876 cat >conftest.$ac_ext <<_ACEOF
41879 cat confdefs.h >>conftest.$ac_ext
41880 cat >>conftest.$ac_ext <<_ACEOF
41881 /* end confdefs.h. */
41882 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41884 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41886 /* System header to define __stub macros and hopefully few prototypes,
41887 which can conflict with char pthread_attr_setschedparam (); below.
41888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41889 <limits.h> exists even on freestanding compilers. */
41892 # include <limits.h>
41894 # include <assert.h>
41897 #undef pthread_attr_setschedparam
41899 /* Override any GCC internal prototype to avoid an error.
41900 Use char because int might match the return type of a GCC
41901 builtin and then its argument prototype would still apply. */
41905 char pthread_attr_setschedparam ();
41906 /* The GNU C library defines this for functions which it implements
41907 to always fail with ENOSYS. Some functions are actually named
41908 something starting with __ and the normal name is an alias. */
41909 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41916 return pthread_attr_setschedparam ();
41921 rm -f conftest.$ac_objext conftest$ac_exeext
41922 if { (ac_try="$ac_link"
41923 case "(($ac_try" in
41924 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41925 *) ac_try_echo
=$ac_try;;
41927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41928 (eval "$ac_link") 2>conftest.er1
41930 grep -v '^ *+' conftest.er1
>conftest.err
41932 cat conftest.err
>&5
41933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41934 (exit $ac_status); } && {
41935 test -z "$ac_c_werror_flag" ||
41936 test ! -s conftest.err
41937 } && test -s conftest
$ac_exeext &&
41938 $as_test_x conftest
$ac_exeext; then
41939 ac_cv_func_pthread_attr_setschedparam
=yes
41941 echo "$as_me: failed program was:" >&5
41942 sed 's/^/| /' conftest.
$ac_ext >&5
41944 ac_cv_func_pthread_attr_setschedparam
=no
41947 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41948 conftest
$ac_exeext conftest.
$ac_ext
41950 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41951 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41952 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41953 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41954 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41955 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41956 echo $ECHO_N "(cached) $ECHO_C" >&6
41958 cat >conftest.
$ac_ext <<_ACEOF
41961 cat confdefs.h
>>conftest.
$ac_ext
41962 cat >>conftest.
$ac_ext <<_ACEOF
41963 /* end confdefs.h. */
41964 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41966 #define sched_get_priority_max innocuous_sched_get_priority_max
41968 /* System header to define __stub macros and hopefully few prototypes,
41969 which can conflict with char sched_get_priority_max (); below.
41970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41971 <limits.h> exists even on freestanding compilers. */
41974 # include <limits.h>
41976 # include <assert.h>
41979 #undef sched_get_priority_max
41981 /* Override any GCC internal prototype to avoid an error.
41982 Use char because int might match the return type of a GCC
41983 builtin and then its argument prototype would still apply. */
41987 char sched_get_priority_max ();
41988 /* The GNU C library defines this for functions which it implements
41989 to always fail with ENOSYS. Some functions are actually named
41990 something starting with __ and the normal name is an alias. */
41991 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41998 return sched_get_priority_max ();
42003 rm -f conftest.
$ac_objext conftest
$ac_exeext
42004 if { (ac_try
="$ac_link"
42005 case "(($ac_try" in
42006 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42007 *) ac_try_echo=$ac_try;;
42009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42010 (eval "$ac_link") 2>conftest.er1
42012 grep -v '^ *+' conftest.er1 >conftest.err
42014 cat conftest.err >&5
42015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42016 (exit $ac_status); } && {
42017 test -z "$ac_c_werror_flag" ||
42018 test ! -s conftest.err
42019 } && test -s conftest$ac_exeext &&
42020 $as_test_x conftest$ac_exeext; then
42021 ac_cv_func_sched_get_priority_max=yes
42023 echo "$as_me: failed program was:" >&5
42024 sed 's/^/| /' conftest.$ac_ext >&5
42026 ac_cv_func_sched_get_priority_max=no
42029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42030 conftest$ac_exeext conftest.$ac_ext
42032 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42033 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42034 if test $ac_cv_func_sched_get_priority_max = yes; then
42037 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42038 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42039 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42040 echo $ECHO_N "(cached) $ECHO_C" >&6
42042 ac_check_lib_save_LIBS=$LIBS
42043 LIBS="-lposix4 $LIBS"
42044 cat >conftest.$ac_ext <<_ACEOF
42047 cat confdefs.h >>conftest.$ac_ext
42048 cat >>conftest.$ac_ext <<_ACEOF
42049 /* end confdefs.h. */
42051 /* Override any GCC internal prototype to avoid an error.
42052 Use char because int might match the return type of a GCC
42053 builtin and then its argument prototype would still apply. */
42057 char sched_get_priority_max ();
42061 return sched_get_priority_max ();
42066 rm -f conftest.$ac_objext conftest$ac_exeext
42067 if { (ac_try="$ac_link"
42068 case "(($ac_try" in
42069 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42070 *) ac_try_echo
=$ac_try;;
42072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42073 (eval "$ac_link") 2>conftest.er1
42075 grep -v '^ *+' conftest.er1
>conftest.err
42077 cat conftest.err
>&5
42078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42079 (exit $ac_status); } && {
42080 test -z "$ac_c_werror_flag" ||
42081 test ! -s conftest.err
42082 } && test -s conftest
$ac_exeext &&
42083 $as_test_x conftest
$ac_exeext; then
42084 ac_cv_lib_posix4_sched_get_priority_max
=yes
42086 echo "$as_me: failed program was:" >&5
42087 sed 's/^/| /' conftest.
$ac_ext >&5
42089 ac_cv_lib_posix4_sched_get_priority_max
=no
42092 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42093 conftest
$ac_exeext conftest.
$ac_ext
42094 LIBS
=$ac_check_lib_save_LIBS
42096 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42097 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42098 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42101 POSIX4_LINK
=" -lposix4"
42115 if test "$HAVE_PRIOR_FUNCS" = 1; then
42116 cat >>confdefs.h
<<\_ACEOF
42117 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42121 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42122 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42125 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42126 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42127 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42128 echo $ECHO_N "(cached) $ECHO_C" >&6
42130 cat >conftest.
$ac_ext <<_ACEOF
42133 cat confdefs.h
>>conftest.
$ac_ext
42134 cat >>conftest.
$ac_ext <<_ACEOF
42135 /* end confdefs.h. */
42136 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42138 #define pthread_cancel innocuous_pthread_cancel
42140 /* System header to define __stub macros and hopefully few prototypes,
42141 which can conflict with char pthread_cancel (); below.
42142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42143 <limits.h> exists even on freestanding compilers. */
42146 # include <limits.h>
42148 # include <assert.h>
42151 #undef pthread_cancel
42153 /* Override any GCC internal prototype to avoid an error.
42154 Use char because int might match the return type of a GCC
42155 builtin and then its argument prototype would still apply. */
42159 char pthread_cancel ();
42160 /* The GNU C library defines this for functions which it implements
42161 to always fail with ENOSYS. Some functions are actually named
42162 something starting with __ and the normal name is an alias. */
42163 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42170 return pthread_cancel ();
42175 rm -f conftest.
$ac_objext conftest
$ac_exeext
42176 if { (ac_try
="$ac_link"
42177 case "(($ac_try" in
42178 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42179 *) ac_try_echo=$ac_try;;
42181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42182 (eval "$ac_link") 2>conftest.er1
42184 grep -v '^ *+' conftest.er1 >conftest.err
42186 cat conftest.err >&5
42187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42188 (exit $ac_status); } && {
42189 test -z "$ac_c_werror_flag" ||
42190 test ! -s conftest.err
42191 } && test -s conftest$ac_exeext &&
42192 $as_test_x conftest$ac_exeext; then
42193 ac_cv_func_pthread_cancel=yes
42195 echo "$as_me: failed program was:" >&5
42196 sed 's/^/| /' conftest.$ac_ext >&5
42198 ac_cv_func_pthread_cancel=no
42201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42202 conftest$ac_exeext conftest.$ac_ext
42204 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42205 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42206 if test $ac_cv_func_pthread_cancel = yes; then
42207 cat >>confdefs.h <<\_ACEOF
42208 #define HAVE_PTHREAD_CANCEL 1
42212 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42213 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42217 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42218 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42219 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42220 echo $ECHO_N "(cached) $ECHO_C" >&6
42222 cat >conftest.$ac_ext <<_ACEOF
42225 cat confdefs.h >>conftest.$ac_ext
42226 cat >>conftest.$ac_ext <<_ACEOF
42227 /* end confdefs.h. */
42228 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42230 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42232 /* System header to define __stub macros and hopefully few prototypes,
42233 which can conflict with char pthread_mutex_timedlock (); below.
42234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42235 <limits.h> exists even on freestanding compilers. */
42238 # include <limits.h>
42240 # include <assert.h>
42243 #undef pthread_mutex_timedlock
42245 /* Override any GCC internal prototype to avoid an error.
42246 Use char because int might match the return type of a GCC
42247 builtin and then its argument prototype would still apply. */
42251 char pthread_mutex_timedlock ();
42252 /* The GNU C library defines this for functions which it implements
42253 to always fail with ENOSYS. Some functions are actually named
42254 something starting with __ and the normal name is an alias. */
42255 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42262 return pthread_mutex_timedlock ();
42267 rm -f conftest.$ac_objext conftest$ac_exeext
42268 if { (ac_try="$ac_link"
42269 case "(($ac_try" in
42270 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42271 *) ac_try_echo
=$ac_try;;
42273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42274 (eval "$ac_link") 2>conftest.er1
42276 grep -v '^ *+' conftest.er1
>conftest.err
42278 cat conftest.err
>&5
42279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42280 (exit $ac_status); } && {
42281 test -z "$ac_c_werror_flag" ||
42282 test ! -s conftest.err
42283 } && test -s conftest
$ac_exeext &&
42284 $as_test_x conftest
$ac_exeext; then
42285 ac_cv_func_pthread_mutex_timedlock
=yes
42287 echo "$as_me: failed program was:" >&5
42288 sed 's/^/| /' conftest.
$ac_ext >&5
42290 ac_cv_func_pthread_mutex_timedlock
=no
42293 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42294 conftest
$ac_exeext conftest.
$ac_ext
42296 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42297 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42298 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42299 cat >>confdefs.h
<<\_ACEOF
42300 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42304 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42305 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42309 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42310 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42311 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42312 echo $ECHO_N "(cached) $ECHO_C" >&6
42314 cat >conftest.
$ac_ext <<_ACEOF
42317 cat confdefs.h
>>conftest.
$ac_ext
42318 cat >>conftest.
$ac_ext <<_ACEOF
42319 /* end confdefs.h. */
42320 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42322 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42324 /* System header to define __stub macros and hopefully few prototypes,
42325 which can conflict with char pthread_attr_setstacksize (); below.
42326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42327 <limits.h> exists even on freestanding compilers. */
42330 # include <limits.h>
42332 # include <assert.h>
42335 #undef pthread_attr_setstacksize
42337 /* Override any GCC internal prototype to avoid an error.
42338 Use char because int might match the return type of a GCC
42339 builtin and then its argument prototype would still apply. */
42343 char pthread_attr_setstacksize ();
42344 /* The GNU C library defines this for functions which it implements
42345 to always fail with ENOSYS. Some functions are actually named
42346 something starting with __ and the normal name is an alias. */
42347 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42354 return pthread_attr_setstacksize ();
42359 rm -f conftest.
$ac_objext conftest
$ac_exeext
42360 if { (ac_try
="$ac_link"
42361 case "(($ac_try" in
42362 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42363 *) ac_try_echo=$ac_try;;
42365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42366 (eval "$ac_link") 2>conftest.er1
42368 grep -v '^ *+' conftest.er1 >conftest.err
42370 cat conftest.err >&5
42371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42372 (exit $ac_status); } && {
42373 test -z "$ac_c_werror_flag" ||
42374 test ! -s conftest.err
42375 } && test -s conftest$ac_exeext &&
42376 $as_test_x conftest$ac_exeext; then
42377 ac_cv_func_pthread_attr_setstacksize=yes
42379 echo "$as_me: failed program was:" >&5
42380 sed 's/^/| /' conftest.$ac_ext >&5
42382 ac_cv_func_pthread_attr_setstacksize=no
42385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42386 conftest$ac_exeext conftest.$ac_ext
42388 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42389 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42390 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42391 cat >>confdefs.h <<\_ACEOF
42392 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42399 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42400 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42401 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42402 echo $ECHO_N "(cached) $ECHO_C" >&6
42405 cat >conftest.$ac_ext <<_ACEOF
42408 cat confdefs.h >>conftest.$ac_ext
42409 cat >>conftest.$ac_ext <<_ACEOF
42410 /* end confdefs.h. */
42411 #include <pthread.h>
42416 pthread_mutexattr_t attr;
42417 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42423 rm -f conftest.$ac_objext
42424 if { (ac_try="$ac_compile"
42425 case "(($ac_try" in
42426 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42427 *) ac_try_echo
=$ac_try;;
42429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42430 (eval "$ac_compile") 2>conftest.er1
42432 grep -v '^ *+' conftest.er1
>conftest.err
42434 cat conftest.err
>&5
42435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42436 (exit $ac_status); } && {
42437 test -z "$ac_c_werror_flag" ||
42438 test ! -s conftest.err
42439 } && test -s conftest.
$ac_objext; then
42440 wx_cv_type_pthread_mutexattr_t
=yes
42442 echo "$as_me: failed program was:" >&5
42443 sed 's/^/| /' conftest.
$ac_ext >&5
42445 wx_cv_type_pthread_mutexattr_t
=no
42449 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42452 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42453 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42455 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42456 cat >>confdefs.h
<<\_ACEOF
42457 #define HAVE_PTHREAD_MUTEXATTR_T 1
42461 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42462 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42463 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42464 echo $ECHO_N "(cached) $ECHO_C" >&6
42467 cat >conftest.
$ac_ext <<_ACEOF
42470 cat confdefs.h
>>conftest.
$ac_ext
42471 cat >>conftest.
$ac_ext <<_ACEOF
42472 /* end confdefs.h. */
42473 #include <pthread.h>
42478 pthread_mutexattr_t attr;
42479 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42485 rm -f conftest.
$ac_objext
42486 if { (ac_try
="$ac_compile"
42487 case "(($ac_try" in
42488 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42489 *) ac_try_echo=$ac_try;;
42491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42492 (eval "$ac_compile") 2>conftest.er1
42494 grep -v '^ *+' conftest.er1 >conftest.err
42496 cat conftest.err >&5
42497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42498 (exit $ac_status); } && {
42499 test -z "$ac_c_werror_flag" ||
42500 test ! -s conftest.err
42501 } && test -s conftest.$ac_objext; then
42502 wx_cv_func_pthread_mutexattr_settype_decl=yes
42504 echo "$as_me: failed program was:" >&5
42505 sed 's/^/| /' conftest.$ac_ext >&5
42507 wx_cv_func_pthread_mutexattr_settype_decl=no
42511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42514 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42515 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42516 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42517 cat >>confdefs.h <<\_ACEOF
42518 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42523 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42524 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42525 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42526 echo $ECHO_N "(cached) $ECHO_C" >&6
42529 cat >conftest.$ac_ext <<_ACEOF
42532 cat confdefs.h >>conftest.$ac_ext
42533 cat >>conftest.$ac_ext <<_ACEOF
42534 /* end confdefs.h. */
42535 #include <pthread.h>
42540 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42546 rm -f conftest.$ac_objext
42547 if { (ac_try="$ac_compile"
42548 case "(($ac_try" in
42549 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42550 *) ac_try_echo
=$ac_try;;
42552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42553 (eval "$ac_compile") 2>conftest.er1
42555 grep -v '^ *+' conftest.er1
>conftest.err
42557 cat conftest.err
>&5
42558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42559 (exit $ac_status); } && {
42560 test -z "$ac_c_werror_flag" ||
42561 test ! -s conftest.err
42562 } && test -s conftest.
$ac_objext; then
42564 wx_cv_type_pthread_rec_mutex_init
=yes
42567 echo "$as_me: failed program was:" >&5
42568 sed 's/^/| /' conftest.
$ac_ext >&5
42571 wx_cv_type_pthread_rec_mutex_init
=no
42576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42579 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42580 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42581 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42582 cat >>confdefs.h
<<\_ACEOF
42583 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42587 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42588 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42594 if test "$wxUSE_THREADS" = "yes" ; then
42597 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42598 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42599 if test "${wx_cv_cflags_mthread+set}" = set; then
42600 echo $ECHO_N "(cached) $ECHO_C" >&6
42603 CFLAGS_OLD
="$CFLAGS"
42604 CFLAGS
="-mthreads $CFLAGS"
42605 cat >conftest.
$ac_ext <<_ACEOF
42608 cat confdefs.h
>>conftest.
$ac_ext
42609 cat >>conftest.
$ac_ext <<_ACEOF
42610 /* end confdefs.h. */
42620 rm -f conftest.
$ac_objext
42621 if { (ac_try
="$ac_compile"
42622 case "(($ac_try" in
42623 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42624 *) ac_try_echo=$ac_try;;
42626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42627 (eval "$ac_compile") 2>conftest.er1
42629 grep -v '^ *+' conftest.er1 >conftest.err
42631 cat conftest.err >&5
42632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42633 (exit $ac_status); } && {
42634 test -z "$ac_c_werror_flag" ||
42635 test ! -s conftest.err
42636 } && test -s conftest.$ac_objext; then
42637 wx_cv_cflags_mthread=yes
42639 echo "$as_me: failed program was:" >&5
42640 sed 's/^/| /' conftest.$ac_ext >&5
42642 wx_cv_cflags_mthread=no
42646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42650 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42651 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42653 if test "$wx_cv_cflags_mthread" = "yes"; then
42654 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42655 LDFLAGS="$LDFLAGS -mthreads"
42657 CFLAGS="$CFLAGS_OLD"
42661 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42662 LDFLAGS="$LDFLAGS -Zmt"
42668 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42669 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42670 if test "${ac_cv_func_localtime_r+set}" = set; then
42671 echo $ECHO_N "(cached) $ECHO_C" >&6
42673 cat >conftest.$ac_ext <<_ACEOF
42676 cat confdefs.h >>conftest.$ac_ext
42677 cat >>conftest.$ac_ext <<_ACEOF
42678 /* end confdefs.h. */
42679 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42681 #define localtime_r innocuous_localtime_r
42683 /* System header to define __stub macros and hopefully few prototypes,
42684 which can conflict with char localtime_r (); below.
42685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42686 <limits.h> exists even on freestanding compilers. */
42689 # include <limits.h>
42691 # include <assert.h>
42696 /* Override any GCC internal prototype to avoid an error.
42697 Use char because int might match the return type of a GCC
42698 builtin and then its argument prototype would still apply. */
42702 char localtime_r ();
42703 /* The GNU C library defines this for functions which it implements
42704 to always fail with ENOSYS. Some functions are actually named
42705 something starting with __ and the normal name is an alias. */
42706 #if defined __stub_localtime_r || defined __stub___localtime_r
42713 return localtime_r ();
42718 rm -f conftest.$ac_objext conftest$ac_exeext
42719 if { (ac_try="$ac_link"
42720 case "(($ac_try" in
42721 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42722 *) ac_try_echo
=$ac_try;;
42724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42725 (eval "$ac_link") 2>conftest.er1
42727 grep -v '^ *+' conftest.er1
>conftest.err
42729 cat conftest.err
>&5
42730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42731 (exit $ac_status); } && {
42732 test -z "$ac_c_werror_flag" ||
42733 test ! -s conftest.err
42734 } && test -s conftest
$ac_exeext &&
42735 $as_test_x conftest
$ac_exeext; then
42736 ac_cv_func_localtime_r
=yes
42738 echo "$as_me: failed program was:" >&5
42739 sed 's/^/| /' conftest.
$ac_ext >&5
42741 ac_cv_func_localtime_r
=no
42744 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42745 conftest
$ac_exeext conftest.
$ac_ext
42747 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42748 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42749 if test $ac_cv_func_localtime_r = yes; then
42750 cat >>confdefs.h
<<\_ACEOF
42751 #define HAVE_LOCALTIME_R 1
42756 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42757 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42758 if test "${ac_cv_func_gmtime_r+set}" = set; then
42759 echo $ECHO_N "(cached) $ECHO_C" >&6
42761 cat >conftest.
$ac_ext <<_ACEOF
42764 cat confdefs.h
>>conftest.
$ac_ext
42765 cat >>conftest.
$ac_ext <<_ACEOF
42766 /* end confdefs.h. */
42767 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42769 #define gmtime_r innocuous_gmtime_r
42771 /* System header to define __stub macros and hopefully few prototypes,
42772 which can conflict with char gmtime_r (); below.
42773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42774 <limits.h> exists even on freestanding compilers. */
42777 # include <limits.h>
42779 # include <assert.h>
42784 /* Override any GCC internal prototype to avoid an error.
42785 Use char because int might match the return type of a GCC
42786 builtin and then its argument prototype would still apply. */
42791 /* The GNU C library defines this for functions which it implements
42792 to always fail with ENOSYS. Some functions are actually named
42793 something starting with __ and the normal name is an alias. */
42794 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42801 return gmtime_r ();
42806 rm -f conftest.
$ac_objext conftest
$ac_exeext
42807 if { (ac_try
="$ac_link"
42808 case "(($ac_try" in
42809 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42810 *) ac_try_echo=$ac_try;;
42812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42813 (eval "$ac_link") 2>conftest.er1
42815 grep -v '^ *+' conftest.er1 >conftest.err
42817 cat conftest.err >&5
42818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42819 (exit $ac_status); } && {
42820 test -z "$ac_c_werror_flag" ||
42821 test ! -s conftest.err
42822 } && test -s conftest$ac_exeext &&
42823 $as_test_x conftest$ac_exeext; then
42824 ac_cv_func_gmtime_r=yes
42826 echo "$as_me: failed program was:" >&5
42827 sed 's/^/| /' conftest.$ac_ext >&5
42829 ac_cv_func_gmtime_r=no
42832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42833 conftest$ac_exeext conftest.$ac_ext
42835 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42836 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42837 if test $ac_cv_func_gmtime_r = yes; then
42838 cat >>confdefs.h <<\_ACEOF
42839 #define HAVE_GMTIME_R 1
42844 { echo "$as_me:$LINENO: checking for readdir_r" >&5
42845 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
42846 if test "${ac_cv_func_readdir_r+set}" = set; then
42847 echo $ECHO_N "(cached) $ECHO_C" >&6
42849 cat >conftest.$ac_ext <<_ACEOF
42852 cat confdefs.h >>conftest.$ac_ext
42853 cat >>conftest.$ac_ext <<_ACEOF
42854 /* end confdefs.h. */
42855 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
42856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42857 #define readdir_r innocuous_readdir_r
42859 /* System header to define __stub macros and hopefully few prototypes,
42860 which can conflict with char readdir_r (); below.
42861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42862 <limits.h> exists even on freestanding compilers. */
42865 # include <limits.h>
42867 # include <assert.h>
42872 /* Override any GCC internal prototype to avoid an error.
42873 Use char because int might match the return type of a GCC
42874 builtin and then its argument prototype would still apply. */
42879 /* The GNU C library defines this for functions which it implements
42880 to always fail with ENOSYS. Some functions are actually named
42881 something starting with __ and the normal name is an alias. */
42882 #if defined __stub_readdir_r || defined __stub___readdir_r
42889 return readdir_r ();
42894 rm -f conftest.$ac_objext conftest$ac_exeext
42895 if { (ac_try="$ac_link"
42896 case "(($ac_try" in
42897 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42898 *) ac_try_echo
=$ac_try;;
42900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42901 (eval "$ac_link") 2>conftest.er1
42903 grep -v '^ *+' conftest.er1
>conftest.err
42905 cat conftest.err
>&5
42906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42907 (exit $ac_status); } && {
42908 test -z "$ac_c_werror_flag" ||
42909 test ! -s conftest.err
42910 } && test -s conftest
$ac_exeext &&
42911 $as_test_x conftest
$ac_exeext; then
42912 ac_cv_func_readdir_r
=yes
42914 echo "$as_me: failed program was:" >&5
42915 sed 's/^/| /' conftest.
$ac_ext >&5
42917 ac_cv_func_readdir_r
=no
42920 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42921 conftest
$ac_exeext conftest.
$ac_ext
42923 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
42924 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
42925 if test $ac_cv_func_readdir_r = yes; then
42926 cat >>confdefs.h
<<\_ACEOF
42927 #define HAVE_READDIR_R 1
42936 ac_cpp
='$CPP $CPPFLAGS'
42937 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42938 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42939 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42941 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42942 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42944 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42945 echo $ECHO_N "(cached) $ECHO_C" >&6
42949 ################################################################
42951 ac_cv_func_which_gethostbyname_r
=unknown
42954 # ONE ARGUMENT (sanity check)
42957 # This should fail, as there is no variant of gethostbyname_r() that takes
42958 # a single argument. If it actually compiles, then we can assume that
42959 # netdb.h is not declaring the function, and the compiler is thereby
42960 # assuming an implicit prototype. In which case, we're out of luck.
42962 cat >conftest.
$ac_ext <<_ACEOF
42965 cat confdefs.h
>>conftest.
$ac_ext
42966 cat >>conftest.
$ac_ext <<_ACEOF
42967 /* end confdefs.h. */
42973 char *name = "www.gnu.org";
42974 (void)gethostbyname_r(name) /* ; */
42980 rm -f conftest.
$ac_objext
42981 if { (ac_try
="$ac_compile"
42982 case "(($ac_try" in
42983 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42984 *) ac_try_echo=$ac_try;;
42986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42987 (eval "$ac_compile") 2>conftest.er1
42989 grep -v '^ *+' conftest.er1 >conftest.err
42991 cat conftest.err >&5
42992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42993 (exit $ac_status); } && {
42994 test -z "$ac_c_werror_flag" ||
42995 test ! -s conftest.err
42996 } && test -s conftest.$ac_objext; then
42997 ac_cv_func_which_gethostbyname_r=no
42999 echo "$as_me: failed program was:" >&5
43000 sed 's/^/| /' conftest.$ac_ext >&5
43005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43012 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43014 cat >conftest.$ac_ext <<_ACEOF
43017 cat confdefs.h >>conftest.$ac_ext
43018 cat >>conftest.$ac_ext <<_ACEOF
43019 /* end confdefs.h. */
43025 char *name = "www.gnu.org";
43026 struct hostent ret, *retp;
43030 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
43036 rm -f conftest.$ac_objext
43037 if { (ac_try="$ac_compile"
43038 case "(($ac_try" in
43039 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43040 *) ac_try_echo
=$ac_try;;
43042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43043 (eval "$ac_compile") 2>conftest.er1
43045 grep -v '^ *+' conftest.er1
>conftest.err
43047 cat conftest.err
>&5
43048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43049 (exit $ac_status); } && {
43050 test -z "$ac_c_werror_flag" ||
43051 test ! -s conftest.err
43052 } && test -s conftest.
$ac_objext; then
43053 ac_cv_func_which_gethostbyname_r
=six
43055 echo "$as_me: failed program was:" >&5
43056 sed 's/^/| /' conftest.
$ac_ext >&5
43061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43070 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43072 cat >conftest.
$ac_ext <<_ACEOF
43075 cat confdefs.h
>>conftest.
$ac_ext
43076 cat >>conftest.
$ac_ext <<_ACEOF
43077 /* end confdefs.h. */
43083 char *name = "www.gnu.org";
43084 struct hostent ret;
43088 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43094 rm -f conftest.
$ac_objext
43095 if { (ac_try
="$ac_compile"
43096 case "(($ac_try" in
43097 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43098 *) ac_try_echo=$ac_try;;
43100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43101 (eval "$ac_compile") 2>conftest.er1
43103 grep -v '^ *+' conftest.er1 >conftest.err
43105 cat conftest.err >&5
43106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43107 (exit $ac_status); } && {
43108 test -z "$ac_c_werror_flag" ||
43109 test ! -s conftest.err
43110 } && test -s conftest.$ac_objext; then
43111 ac_cv_func_which_gethostbyname_r=five
43113 echo "$as_me: failed program was:" >&5
43114 sed 's/^/| /' conftest.$ac_ext >&5
43119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43125 # (e.g. AIX, HP-UX, Tru64)
43128 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43130 cat >conftest.$ac_ext <<_ACEOF
43133 cat confdefs.h >>conftest.$ac_ext
43134 cat >>conftest.$ac_ext <<_ACEOF
43135 /* end confdefs.h. */
43141 char *name = "www.gnu.org";
43142 struct hostent ret;
43143 struct hostent_data data;
43144 (void)gethostbyname_r(name, &ret, &data) /* ; */
43150 rm -f conftest.$ac_objext
43151 if { (ac_try="$ac_compile"
43152 case "(($ac_try" in
43153 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43154 *) ac_try_echo
=$ac_try;;
43156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43157 (eval "$ac_compile") 2>conftest.er1
43159 grep -v '^ *+' conftest.er1
>conftest.err
43161 cat conftest.err
>&5
43162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43163 (exit $ac_status); } && {
43164 test -z "$ac_c_werror_flag" ||
43165 test ! -s conftest.err
43166 } && test -s conftest.
$ac_objext; then
43167 ac_cv_func_which_gethostbyname_r
=three
43169 echo "$as_me: failed program was:" >&5
43170 sed 's/^/| /' conftest.
$ac_ext >&5
43175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43179 ################################################################
43184 case "$ac_cv_func_which_gethostbyname_r" in
43186 { echo "$as_me:$LINENO: result: three" >&5
43187 echo "${ECHO_T}three" >&6; }
43188 cat >>confdefs.h
<<\_ACEOF
43189 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43195 { echo "$as_me:$LINENO: result: five" >&5
43196 echo "${ECHO_T}five" >&6; }
43197 cat >>confdefs.h
<<\_ACEOF
43198 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43204 { echo "$as_me:$LINENO: result: six" >&5
43205 echo "${ECHO_T}six" >&6; }
43206 cat >>confdefs.h
<<\_ACEOF
43207 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43213 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43214 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43218 { echo "$as_me:$LINENO: result: can't tell" >&5
43219 echo "${ECHO_T}can't tell" >&6; }
43223 { { echo "$as_me:$LINENO: error: internal error" >&5
43224 echo "$as_me: error: internal error" >&2;}
43225 { (exit 1); exit 1; }; }
43230 ac_cpp
='$CPP $CPPFLAGS'
43231 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43232 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43233 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43237 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43238 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43239 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43240 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43241 if test "${ac_cv_func_gethostbyname+set}" = set; then
43242 echo $ECHO_N "(cached) $ECHO_C" >&6
43244 cat >conftest.
$ac_ext <<_ACEOF
43247 cat confdefs.h
>>conftest.
$ac_ext
43248 cat >>conftest.
$ac_ext <<_ACEOF
43249 /* end confdefs.h. */
43250 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43252 #define gethostbyname innocuous_gethostbyname
43254 /* System header to define __stub macros and hopefully few prototypes,
43255 which can conflict with char gethostbyname (); below.
43256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43257 <limits.h> exists even on freestanding compilers. */
43260 # include <limits.h>
43262 # include <assert.h>
43265 #undef gethostbyname
43267 /* Override any GCC internal prototype to avoid an error.
43268 Use char because int might match the return type of a GCC
43269 builtin and then its argument prototype would still apply. */
43273 char gethostbyname ();
43274 /* The GNU C library defines this for functions which it implements
43275 to always fail with ENOSYS. Some functions are actually named
43276 something starting with __ and the normal name is an alias. */
43277 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43284 return gethostbyname ();
43289 rm -f conftest.
$ac_objext conftest
$ac_exeext
43290 if { (ac_try
="$ac_link"
43291 case "(($ac_try" in
43292 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43293 *) ac_try_echo=$ac_try;;
43295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43296 (eval "$ac_link") 2>conftest.er1
43298 grep -v '^ *+' conftest.er1 >conftest.err
43300 cat conftest.err >&5
43301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43302 (exit $ac_status); } && {
43303 test -z "$ac_c_werror_flag" ||
43304 test ! -s conftest.err
43305 } && test -s conftest$ac_exeext &&
43306 $as_test_x conftest$ac_exeext; then
43307 ac_cv_func_gethostbyname=yes
43309 echo "$as_me: failed program was:" >&5
43310 sed 's/^/| /' conftest.$ac_ext >&5
43312 ac_cv_func_gethostbyname=no
43315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43316 conftest$ac_exeext conftest.$ac_ext
43318 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43319 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43320 if test $ac_cv_func_gethostbyname = yes; then
43321 cat >>confdefs.h <<\_ACEOF
43322 #define HAVE_GETHOSTBYNAME 1
43329 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43330 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43331 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43332 echo $ECHO_N "(cached) $ECHO_C" >&6
43336 ac_cpp='$CXXCPP $CPPFLAGS'
43337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43342 cat >conftest.$ac_ext <<_ACEOF
43345 cat confdefs.h >>conftest.$ac_ext
43346 cat >>conftest.$ac_ext <<_ACEOF
43347 /* end confdefs.h. */
43355 struct servent *se, *res;
43358 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43364 rm -f conftest.$ac_objext
43365 if { (ac_try="$ac_compile"
43366 case "(($ac_try" in
43367 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43368 *) ac_try_echo
=$ac_try;;
43370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43371 (eval "$ac_compile") 2>conftest.er1
43373 grep -v '^ *+' conftest.er1
>conftest.err
43375 cat conftest.err
>&5
43376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43377 (exit $ac_status); } && {
43378 test -z "$ac_cxx_werror_flag" ||
43379 test ! -s conftest.err
43380 } && test -s conftest.
$ac_objext; then
43381 ac_cv_func_which_getservbyname_r
=six
43383 echo "$as_me: failed program was:" >&5
43384 sed 's/^/| /' conftest.
$ac_ext >&5
43387 cat >conftest.
$ac_ext <<_ACEOF
43390 cat confdefs.h
>>conftest.
$ac_ext
43391 cat >>conftest.
$ac_ext <<_ACEOF
43392 /* end confdefs.h. */
43400 struct servent *se;
43403 (void) getservbyname_r(name, proto, se, buffer, buflen)
43409 rm -f conftest.
$ac_objext
43410 if { (ac_try
="$ac_compile"
43411 case "(($ac_try" in
43412 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43413 *) ac_try_echo=$ac_try;;
43415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43416 (eval "$ac_compile") 2>conftest.er1
43418 grep -v '^ *+' conftest.er1 >conftest.err
43420 cat conftest.err >&5
43421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43422 (exit $ac_status); } && {
43423 test -z "$ac_cxx_werror_flag" ||
43424 test ! -s conftest.err
43425 } && test -s conftest.$ac_objext; then
43426 ac_cv_func_which_getservbyname_r=five
43428 echo "$as_me: failed program was:" >&5
43429 sed 's/^/| /' conftest.$ac_ext >&5
43432 cat >conftest.$ac_ext <<_ACEOF
43435 cat confdefs.h >>conftest.$ac_ext
43436 cat >>conftest.$ac_ext <<_ACEOF
43437 /* end confdefs.h. */
43445 struct servent *se;
43446 struct servent_data data;
43447 (void) getservbyname_r(name, proto, se, &data);
43453 rm -f conftest.$ac_objext
43454 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
43468 test ! -s conftest.err
43469 } && test -s conftest.
$ac_objext; then
43470 ac_cv_func_which_getservbyname_r
=four
43472 echo "$as_me: failed program was:" >&5
43473 sed 's/^/| /' conftest.
$ac_ext >&5
43475 ac_cv_func_which_getservbyname_r
=no
43479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43484 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43489 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43491 ac_cpp
='$CPP $CPPFLAGS'
43492 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43493 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43494 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43499 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43500 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43502 if test $ac_cv_func_which_getservbyname_r = six
; then
43503 cat >>confdefs.h
<<\_ACEOF
43504 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43507 elif test $ac_cv_func_which_getservbyname_r = five
; then
43508 cat >>confdefs.h
<<\_ACEOF
43509 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43512 elif test $ac_cv_func_which_getservbyname_r = four
; then
43513 cat >>confdefs.h
<<\_ACEOF
43514 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43520 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43521 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43523 for ac_func
in getservbyname
43525 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43526 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43528 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43529 echo $ECHO_N "(cached) $ECHO_C" >&6
43531 cat >conftest.
$ac_ext <<_ACEOF
43534 cat confdefs.h
>>conftest.
$ac_ext
43535 cat >>conftest.
$ac_ext <<_ACEOF
43536 /* end confdefs.h. */
43537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43539 #define $ac_func innocuous_$ac_func
43541 /* System header to define __stub macros and hopefully few prototypes,
43542 which can conflict with char $ac_func (); below.
43543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43544 <limits.h> exists even on freestanding compilers. */
43547 # include <limits.h>
43549 # include <assert.h>
43554 /* Override any GCC internal prototype to avoid an error.
43555 Use char because int might match the return type of a GCC
43556 builtin and then its argument prototype would still apply. */
43561 /* The GNU C library defines this for functions which it implements
43562 to always fail with ENOSYS. Some functions are actually named
43563 something starting with __ and the normal name is an alias. */
43564 #if defined __stub_$ac_func || defined __stub___$ac_func
43571 return $ac_func ();
43576 rm -f conftest.
$ac_objext conftest
$ac_exeext
43577 if { (ac_try
="$ac_link"
43578 case "(($ac_try" in
43579 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43580 *) ac_try_echo=$ac_try;;
43582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43583 (eval "$ac_link") 2>conftest.er1
43585 grep -v '^ *+' conftest.er1 >conftest.err
43587 cat conftest.err >&5
43588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43589 (exit $ac_status); } && {
43590 test -z "$ac_c_werror_flag" ||
43591 test ! -s conftest.err
43592 } && test -s conftest$ac_exeext &&
43593 $as_test_x conftest$ac_exeext; then
43594 eval "$as_ac_var=yes"
43596 echo "$as_me: failed program was:" >&5
43597 sed 's/^/| /' conftest.$ac_ext >&5
43599 eval "$as_ac_var=no"
43602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43603 conftest$ac_exeext conftest.$ac_ext
43605 ac_res=`eval echo '${'$as_ac_var'}'`
43606 { echo "$as_me:$LINENO: result: $ac_res" >&5
43607 echo "${ECHO_T}$ac_res" >&6; }
43608 if test `eval echo '${'$as_ac_var'}'` = yes; then
43609 cat >>confdefs.h <<_ACEOF
43610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43612 cat >>confdefs.h <<\_ACEOF
43613 #define HAVE_GETSERVBYNAME 1
43621 if test "$wxUSE_THREADS" = "yes"; then
43622 cat >>confdefs.h <<\_ACEOF
43623 #define wxUSE_THREADS 1
43627 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43629 if test "$wx_cv_func_strtok_r" = "yes"; then
43630 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43631 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43632 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43633 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43634 { echo "$as_me:$LINENO: result: yes" >&5
43635 echo "${ECHO_T}yes" >&6; }
43637 { echo "$as_me:$LINENO: result: no" >&5
43638 echo "${ECHO_T}no" >&6; }
43643 if test "$WXGTK20" = 1 ; then
43644 cat >>confdefs.h <<_ACEOF
43645 #define __WXGTK20__ $WXGTK20
43651 if test "$WXGTK12" = 1 ; then
43652 cat >>confdefs.h <<_ACEOF
43653 #define __WXGTK12__ $WXGTK12
43658 if test "$WXGTK127" = 1 ; then
43659 cat >>confdefs.h <<_ACEOF
43660 #define __WXGTK127__ $WXGTK127
43665 if test "$WXGPE" = 1 ; then
43666 cat >>confdefs.h <<_ACEOF
43667 #define __WXGPE__ $WXGPE
43673 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43678 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43679 wxUSE_DEBUG_INFO=yes
43680 if test "$GCC" = yes; then
43681 DEBUG_CFLAGS="-ggdb"
43685 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43686 cat >>confdefs.h <<\_ACEOF
43690 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43692 if test "$wxUSE_GTK" = 1 ; then
43693 if test "x$wxGTK_VERSION" = "x1" ; then
43694 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43699 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43700 cat >>confdefs.h <<\_ACEOF
43701 #define wxUSE_MEMORY_TRACING 1
43704 cat >>confdefs.h <<\_ACEOF
43705 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43708 cat >>confdefs.h <<\_ACEOF
43709 #define wxUSE_DEBUG_NEW_ALWAYS 1
43712 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43715 if test "$wxUSE_DMALLOC" = "yes" ; then
43716 DMALLOC_LIBS="-ldmallocthcxx"
43720 if test "$wxUSE_PROFILE" = "yes" ; then
43721 PROFILE_FLAGS=" -pg"
43724 if test "$GCC" = "yes" ; then
43725 if test "$wxUSE_NO_RTTI" = "yes" ; then
43726 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43728 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43729 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43731 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43732 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43737 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43740 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43746 if test "$wxUSE_OPTIMISE" = "no" ; then
43747 if test "$GCC" = yes ; then
43748 OPTIMISE_CFLAGS="-O0"
43751 if test "$GCC" = yes ; then
43753 *-pc-os2_emx | *-pc-os2-emx )
43754 OPTIMISE_CFLAGS="-O2"
43757 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43761 OPTIMISE_CFLAGS="-O"
43766 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43767 cat >>confdefs.h <<\_ACEOF
43768 #define WXWIN_COMPATIBILITY_2_6 1
43772 WXWIN_COMPATIBILITY_2_8="yes"
43775 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43776 cat >>confdefs.h <<\_ACEOF
43777 #define WXWIN_COMPATIBILITY_2_8 1
43783 if test "$wxUSE_GUI" = "yes"; then
43784 cat >>confdefs.h <<\_ACEOF
43785 #define wxUSE_GUI 1
43792 if test "$wxUSE_UNIX" = "yes"; then
43793 cat >>confdefs.h <<\_ACEOF
43794 #define wxUSE_UNIX 1
43800 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43804 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43805 if test "$USE_DARWIN" = 1; then
43807 elif test "$USE_DOS" = 1; then
43811 for ac_func in dlopen
43813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43814 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43816 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43817 echo $ECHO_N "(cached) $ECHO_C" >&6
43819 cat >conftest.$ac_ext <<_ACEOF
43822 cat confdefs.h >>conftest.$ac_ext
43823 cat >>conftest.$ac_ext <<_ACEOF
43824 /* end confdefs.h. */
43825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43827 #define $ac_func innocuous_$ac_func
43829 /* System header to define __stub macros and hopefully few prototypes,
43830 which can conflict with char $ac_func (); below.
43831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43832 <limits.h> exists even on freestanding compilers. */
43835 # include <limits.h>
43837 # include <assert.h>
43842 /* Override any GCC internal prototype to avoid an error.
43843 Use char because int might match the return type of a GCC
43844 builtin and then its argument prototype would still apply. */
43849 /* The GNU C library defines this for functions which it implements
43850 to always fail with ENOSYS. Some functions are actually named
43851 something starting with __ and the normal name is an alias. */
43852 #if defined __stub_$ac_func || defined __stub___$ac_func
43859 return $ac_func ();
43864 rm -f conftest.$ac_objext conftest$ac_exeext
43865 if { (ac_try="$ac_link"
43866 case "(($ac_try" in
43867 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43868 *) ac_try_echo
=$ac_try;;
43870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43871 (eval "$ac_link") 2>conftest.er1
43873 grep -v '^ *+' conftest.er1
>conftest.err
43875 cat conftest.err
>&5
43876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43877 (exit $ac_status); } && {
43878 test -z "$ac_c_werror_flag" ||
43879 test ! -s conftest.err
43880 } && test -s conftest
$ac_exeext &&
43881 $as_test_x conftest
$ac_exeext; then
43882 eval "$as_ac_var=yes"
43884 echo "$as_me: failed program was:" >&5
43885 sed 's/^/| /' conftest.
$ac_ext >&5
43887 eval "$as_ac_var=no"
43890 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43891 conftest
$ac_exeext conftest.
$ac_ext
43893 ac_res
=`eval echo '${'$as_ac_var'}'`
43894 { echo "$as_me:$LINENO: result: $ac_res" >&5
43895 echo "${ECHO_T}$ac_res" >&6; }
43896 if test `eval echo '${'$as_ac_var'}'` = yes; then
43897 cat >>confdefs.h
<<_ACEOF
43898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43901 cat >>confdefs.h
<<\_ACEOF
43902 #define HAVE_DLOPEN 1
43909 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43910 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43911 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43912 echo $ECHO_N "(cached) $ECHO_C" >&6
43914 ac_check_lib_save_LIBS
=$LIBS
43916 cat >conftest.
$ac_ext <<_ACEOF
43919 cat confdefs.h
>>conftest.
$ac_ext
43920 cat >>conftest.
$ac_ext <<_ACEOF
43921 /* end confdefs.h. */
43923 /* Override any GCC internal prototype to avoid an error.
43924 Use char because int might match the return type of a GCC
43925 builtin and then its argument prototype would still apply. */
43938 rm -f conftest.
$ac_objext conftest
$ac_exeext
43939 if { (ac_try
="$ac_link"
43940 case "(($ac_try" in
43941 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43942 *) ac_try_echo=$ac_try;;
43944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43945 (eval "$ac_link") 2>conftest.er1
43947 grep -v '^ *+' conftest.er1 >conftest.err
43949 cat conftest.err >&5
43950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43951 (exit $ac_status); } && {
43952 test -z "$ac_c_werror_flag" ||
43953 test ! -s conftest.err
43954 } && test -s conftest$ac_exeext &&
43955 $as_test_x conftest$ac_exeext; then
43956 ac_cv_lib_dl_dlopen=yes
43958 echo "$as_me: failed program was:" >&5
43959 sed 's/^/| /' conftest.$ac_ext >&5
43961 ac_cv_lib_dl_dlopen=no
43964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43965 conftest$ac_exeext conftest.$ac_ext
43966 LIBS=$ac_check_lib_save_LIBS
43968 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43969 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43970 if test $ac_cv_lib_dl_dlopen = yes; then
43972 cat >>confdefs.h <<\_ACEOF
43973 #define HAVE_DLOPEN 1
43977 DL_LINK=" -ldl$DL_LINK"
43982 for ac_func in shl_load
43984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43985 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43987 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43988 echo $ECHO_N "(cached) $ECHO_C" >&6
43990 cat >conftest.$ac_ext <<_ACEOF
43993 cat confdefs.h >>conftest.$ac_ext
43994 cat >>conftest.$ac_ext <<_ACEOF
43995 /* end confdefs.h. */
43996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43998 #define $ac_func innocuous_$ac_func
44000 /* System header to define __stub macros and hopefully few prototypes,
44001 which can conflict with char $ac_func (); below.
44002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44003 <limits.h> exists even on freestanding compilers. */
44006 # include <limits.h>
44008 # include <assert.h>
44013 /* Override any GCC internal prototype to avoid an error.
44014 Use char because int might match the return type of a GCC
44015 builtin and then its argument prototype would still apply. */
44020 /* The GNU C library defines this for functions which it implements
44021 to always fail with ENOSYS. Some functions are actually named
44022 something starting with __ and the normal name is an alias. */
44023 #if defined __stub_$ac_func || defined __stub___$ac_func
44030 return $ac_func ();
44035 rm -f conftest.$ac_objext conftest$ac_exeext
44036 if { (ac_try="$ac_link"
44037 case "(($ac_try" in
44038 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44039 *) ac_try_echo
=$ac_try;;
44041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44042 (eval "$ac_link") 2>conftest.er1
44044 grep -v '^ *+' conftest.er1
>conftest.err
44046 cat conftest.err
>&5
44047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44048 (exit $ac_status); } && {
44049 test -z "$ac_c_werror_flag" ||
44050 test ! -s conftest.err
44051 } && test -s conftest
$ac_exeext &&
44052 $as_test_x conftest
$ac_exeext; then
44053 eval "$as_ac_var=yes"
44055 echo "$as_me: failed program was:" >&5
44056 sed 's/^/| /' conftest.
$ac_ext >&5
44058 eval "$as_ac_var=no"
44061 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44062 conftest
$ac_exeext conftest.
$ac_ext
44064 ac_res
=`eval echo '${'$as_ac_var'}'`
44065 { echo "$as_me:$LINENO: result: $ac_res" >&5
44066 echo "${ECHO_T}$ac_res" >&6; }
44067 if test `eval echo '${'$as_ac_var'}'` = yes; then
44068 cat >>confdefs.h
<<_ACEOF
44069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44072 cat >>confdefs.h
<<\_ACEOF
44073 #define HAVE_SHL_LOAD 1
44080 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44081 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44082 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44083 echo $ECHO_N "(cached) $ECHO_C" >&6
44085 ac_check_lib_save_LIBS
=$LIBS
44086 LIBS
="-lshl_load $LIBS"
44087 cat >conftest.
$ac_ext <<_ACEOF
44090 cat confdefs.h
>>conftest.
$ac_ext
44091 cat >>conftest.
$ac_ext <<_ACEOF
44092 /* end confdefs.h. */
44094 /* Override any GCC internal prototype to avoid an error.
44095 Use char because int might match the return type of a GCC
44096 builtin and then its argument prototype would still apply. */
44109 rm -f conftest.
$ac_objext conftest
$ac_exeext
44110 if { (ac_try
="$ac_link"
44111 case "(($ac_try" in
44112 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44113 *) ac_try_echo=$ac_try;;
44115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44116 (eval "$ac_link") 2>conftest.er1
44118 grep -v '^ *+' conftest.er1 >conftest.err
44120 cat conftest.err >&5
44121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44122 (exit $ac_status); } && {
44123 test -z "$ac_c_werror_flag" ||
44124 test ! -s conftest.err
44125 } && test -s conftest$ac_exeext &&
44126 $as_test_x conftest$ac_exeext; then
44127 ac_cv_lib_shl_load_dld=yes
44129 echo "$as_me: failed program was:" >&5
44130 sed 's/^/| /' conftest.$ac_ext >&5
44132 ac_cv_lib_shl_load_dld=no
44135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44136 conftest$ac_exeext conftest.$ac_ext
44137 LIBS=$ac_check_lib_save_LIBS
44139 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44140 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44141 if test $ac_cv_lib_shl_load_dld = yes; then
44144 DL_LINK=" -ldld$DL_LINK"
44160 if test "$HAVE_DL_FUNCS" = 1; then
44162 for ac_func in dlerror
44164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44165 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44167 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44168 echo $ECHO_N "(cached) $ECHO_C" >&6
44170 cat >conftest.$ac_ext <<_ACEOF
44173 cat confdefs.h >>conftest.$ac_ext
44174 cat >>conftest.$ac_ext <<_ACEOF
44175 /* end confdefs.h. */
44176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44178 #define $ac_func innocuous_$ac_func
44180 /* System header to define __stub macros and hopefully few prototypes,
44181 which can conflict with char $ac_func (); below.
44182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44183 <limits.h> exists even on freestanding compilers. */
44186 # include <limits.h>
44188 # include <assert.h>
44193 /* Override any GCC internal prototype to avoid an error.
44194 Use char because int might match the return type of a GCC
44195 builtin and then its argument prototype would still apply. */
44200 /* The GNU C library defines this for functions which it implements
44201 to always fail with ENOSYS. Some functions are actually named
44202 something starting with __ and the normal name is an alias. */
44203 #if defined __stub_$ac_func || defined __stub___$ac_func
44210 return $ac_func ();
44215 rm -f conftest.$ac_objext conftest$ac_exeext
44216 if { (ac_try="$ac_link"
44217 case "(($ac_try" in
44218 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44219 *) ac_try_echo
=$ac_try;;
44221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44222 (eval "$ac_link") 2>conftest.er1
44224 grep -v '^ *+' conftest.er1
>conftest.err
44226 cat conftest.err
>&5
44227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44228 (exit $ac_status); } && {
44229 test -z "$ac_c_werror_flag" ||
44230 test ! -s conftest.err
44231 } && test -s conftest
$ac_exeext &&
44232 $as_test_x conftest
$ac_exeext; then
44233 eval "$as_ac_var=yes"
44235 echo "$as_me: failed program was:" >&5
44236 sed 's/^/| /' conftest.
$ac_ext >&5
44238 eval "$as_ac_var=no"
44241 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44242 conftest
$ac_exeext conftest.
$ac_ext
44244 ac_res
=`eval echo '${'$as_ac_var'}'`
44245 { echo "$as_me:$LINENO: result: $ac_res" >&5
44246 echo "${ECHO_T}$ac_res" >&6; }
44247 if test `eval echo '${'$as_ac_var'}'` = yes; then
44248 cat >>confdefs.h
<<_ACEOF
44249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44251 cat >>confdefs.h
<<\_ACEOF
44252 #define HAVE_DLERROR 1
44257 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44258 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44259 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44260 echo $ECHO_N "(cached) $ECHO_C" >&6
44262 ac_check_lib_save_LIBS
=$LIBS
44264 cat >conftest.
$ac_ext <<_ACEOF
44267 cat confdefs.h
>>conftest.
$ac_ext
44268 cat >>conftest.
$ac_ext <<_ACEOF
44269 /* end confdefs.h. */
44271 /* Override any GCC internal prototype to avoid an error.
44272 Use char because int might match the return type of a GCC
44273 builtin and then its argument prototype would still apply. */
44286 rm -f conftest.
$ac_objext conftest
$ac_exeext
44287 if { (ac_try
="$ac_link"
44288 case "(($ac_try" in
44289 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44290 *) ac_try_echo=$ac_try;;
44292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44293 (eval "$ac_link") 2>conftest.er1
44295 grep -v '^ *+' conftest.er1 >conftest.err
44297 cat conftest.err >&5
44298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44299 (exit $ac_status); } && {
44300 test -z "$ac_c_werror_flag" ||
44301 test ! -s conftest.err
44302 } && test -s conftest$ac_exeext &&
44303 $as_test_x conftest$ac_exeext; then
44304 ac_cv_lib_dl_dlerror=yes
44306 echo "$as_me: failed program was:" >&5
44307 sed 's/^/| /' conftest.$ac_ext >&5
44309 ac_cv_lib_dl_dlerror=no
44312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44313 conftest$ac_exeext conftest.$ac_ext
44314 LIBS=$ac_check_lib_save_LIBS
44316 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44317 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44318 if test $ac_cv_lib_dl_dlerror = yes; then
44319 cat >>confdefs.h <<\_ACEOF
44320 #define HAVE_DLERROR 1
44333 if test "$HAVE_DL_FUNCS" = 0; then
44334 if test "$HAVE_SHL_FUNCS" = 0; then
44335 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44336 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44337 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44338 wxUSE_DYNAMIC_LOADER=no
44339 wxUSE_DYNLIB_CLASS=no
44341 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44342 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44349 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44350 cat >>confdefs.h <<\_ACEOF
44351 #define wxUSE_DYNAMIC_LOADER 1
44355 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44356 cat >>confdefs.h <<\_ACEOF
44357 #define wxUSE_DYNLIB_CLASS 1
44364 if test "$wxUSE_PLUGINS" = "yes" ; then
44365 if test "$wxUSE_SHARED" = "no" ; then
44366 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44367 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44370 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44371 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44372 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44375 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44376 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44377 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44380 if test "$wxUSE_PLUGINS" = "yes" ; then
44381 cat >>confdefs.h <<\_ACEOF
44382 #define wxUSE_PLUGINS 1
44389 if test "$wxUSE_STL" = "yes"; then
44390 cat >>confdefs.h <<\_ACEOF
44391 #define wxUSE_STL 1
44396 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44397 cat >>confdefs.h <<\_ACEOF
44398 #define wxUSE_EXTENDED_RTTI 1
44403 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44404 cat >>confdefs.h <<\_ACEOF
44405 #define wxUSE_APPLE_IEEE 1
44410 if test "$wxUSE_TIMER" = "yes"; then
44411 cat >>confdefs.h <<\_ACEOF
44412 #define wxUSE_TIMER 1
44417 if test "$USE_UNIX" = "1" ; then
44418 if test "$wxUSE_MGL" != 1; then
44419 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44420 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44421 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44422 echo $ECHO_N "(cached) $ECHO_C" >&6
44425 cat >conftest.$ac_ext <<_ACEOF
44428 cat confdefs.h >>conftest.$ac_ext
44429 cat >>conftest.$ac_ext <<_ACEOF
44430 /* end confdefs.h. */
44432 #include <sys/ioctl.h>
44433 #include <sys/soundcard.h>
44439 ioctl(0, SNDCTL_DSP_SPEED, 0);
44445 rm -f conftest.$ac_objext conftest$ac_exeext
44446 if { (ac_try="$ac_link"
44447 case "(($ac_try" in
44448 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44449 *) ac_try_echo
=$ac_try;;
44451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44452 (eval "$ac_link") 2>conftest.er1
44454 grep -v '^ *+' conftest.er1
>conftest.err
44456 cat conftest.err
>&5
44457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44458 (exit $ac_status); } && {
44459 test -z "$ac_c_werror_flag" ||
44460 test ! -s conftest.err
44461 } && test -s conftest
$ac_exeext &&
44462 $as_test_x conftest
$ac_exeext; then
44463 ac_cv_header_sys_soundcard
=yes
44465 echo "$as_me: failed program was:" >&5
44466 sed 's/^/| /' conftest.
$ac_ext >&5
44470 LIBS
="$saveLibs -lossaudio"
44471 cat >conftest.
$ac_ext <<_ACEOF
44474 cat confdefs.h
>>conftest.
$ac_ext
44475 cat >>conftest.
$ac_ext <<_ACEOF
44476 /* end confdefs.h. */
44478 #include <sys/ioctl.h>
44479 #include <sys/soundcard.h>
44485 ioctl(0, SNDCTL_DSP_SPEED, 0);
44491 rm -f conftest.
$ac_objext conftest
$ac_exeext
44492 if { (ac_try
="$ac_link"
44493 case "(($ac_try" in
44494 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44495 *) ac_try_echo=$ac_try;;
44497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44498 (eval "$ac_link") 2>conftest.er1
44500 grep -v '^ *+' conftest.er1 >conftest.err
44502 cat conftest.err >&5
44503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44504 (exit $ac_status); } && {
44505 test -z "$ac_c_werror_flag" ||
44506 test ! -s conftest.err
44507 } && test -s conftest$ac_exeext &&
44508 $as_test_x conftest$ac_exeext; then
44509 ac_cv_header_sys_soundcard=yes
44511 echo "$as_me: failed program was:" >&5
44512 sed 's/^/| /' conftest.$ac_ext >&5
44516 ac_cv_header_sys_soundcard=no
44521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44522 conftest$ac_exeext conftest.$ac_ext
44527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44528 conftest$ac_exeext conftest.$ac_ext
44531 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44532 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44535 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44536 cat >>confdefs.h <<\_ACEOF
44537 #define HAVE_SYS_SOUNDCARD_H 1
44544 if test "$wxUSE_SOUND" = "yes"; then
44545 if test "$USE_UNIX" = "1" ; then
44546 if test "$wxUSE_LIBSDL" != "no"; then
44548 # Check whether --with-sdl-prefix was given.
44549 if test "${with_sdl_prefix+set}" = set; then
44550 withval=$with_sdl_prefix; sdl_prefix="$withval"
44556 # Check whether --with-sdl-exec-prefix was given.
44557 if test "${with_sdl_exec_prefix+set}" = set; then
44558 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44563 # Check whether --enable-sdltest was given.
44564 if test "${enable_sdltest+set}" = set; then
44565 enableval=$enable_sdltest;
44571 if test x$sdl_exec_prefix != x ; then
44572 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44573 if test x${SDL_CONFIG+set} != xset ; then
44574 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44577 if test x$sdl_prefix != x ; then
44578 sdl_args="$sdl_args --prefix=$sdl_prefix"
44579 if test x${SDL_CONFIG+set} != xset ; then
44580 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44584 if test "x$prefix" != xNONE; then
44585 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44587 # Extract the first word of "sdl-config", so it can be a program name with args.
44588 set dummy sdl-config; ac_word=$2
44589 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44591 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44592 echo $ECHO_N "(cached) $ECHO_C" >&6
44594 case $SDL_CONFIG in
44596 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44600 for as_dir in $PATH
44603 test -z "$as_dir" && as_dir=.
44604 for ac_exec_ext in '' $ac_executable_extensions; do
44605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44606 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44614 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44618 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44619 if test -n "$SDL_CONFIG"; then
44620 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44621 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44623 { echo "$as_me:$LINENO: result: no" >&5
44624 echo "${ECHO_T}no" >&6; }
44628 min_sdl_version=1.2.0
44629 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44630 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44632 if test "$SDL_CONFIG" = "no" ; then
44635 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44636 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44638 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44639 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44640 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44641 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44642 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44643 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44644 if test "x$enable_sdltest" = "xyes" ; then
44645 ac_save_CFLAGS="$CFLAGS"
44646 ac_save_CXXFLAGS="$CXXFLAGS"
44647 ac_save_LIBS="$LIBS"
44648 CFLAGS="$CFLAGS $SDL_CFLAGS"
44649 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44650 LIBS="$LIBS $SDL_LIBS"
44652 if test "$cross_compiling" = yes; then
44653 echo $ac_n "cross compiling; assumed OK... $ac_c"
44655 cat >conftest.$ac_ext <<_ACEOF
44658 cat confdefs.h >>conftest.$ac_ext
44659 cat >>conftest.$ac_ext <<_ACEOF
44660 /* end confdefs.h. */
44663 #include <stdlib.h>
44664 #include <string.h>
44668 my_strdup (char *str)
44674 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44675 strcpy (new_str, str);
44683 int main (int argc, char *argv[])
44685 int major, minor, micro;
44688 /* This hangs on some systems (?)
44689 system ("touch conf.sdltest");
44691 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44693 /* HP/UX 9 (%@#!) writes to sscanf strings */
44694 tmp_version = my_strdup("$min_sdl_version");
44695 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44696 printf("%s, bad version string\n", "$min_sdl_version");
44700 if (($sdl_major_version > major) ||
44701 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44702 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44708 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44709 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44710 printf("*** best to upgrade to the required version.\n");
44711 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44712 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44713 printf("*** config.cache before re-running configure\n");
44720 rm -f conftest$ac_exeext
44721 if { (ac_try="$ac_link"
44722 case "(($ac_try" in
44723 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44724 *) ac_try_echo
=$ac_try;;
44726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44727 (eval "$ac_link") 2>&5
44729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44730 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
44731 { (case "(($ac_try" in
44732 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44733 *) ac_try_echo=$ac_try;;
44735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44736 (eval "$ac_try") 2>&5
44738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44739 (exit $ac_status); }; }; then
44742 echo "$as_me: program exited with status $ac_status" >&5
44743 echo "$as_me: failed program was:" >&5
44744 sed 's/^/| /' conftest.$ac_ext >&5
44746 ( exit $ac_status )
44749 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44753 CFLAGS="$ac_save_CFLAGS"
44754 CXXFLAGS="$ac_save_CXXFLAGS"
44755 LIBS="$ac_save_LIBS"
44758 if test "x$no_sdl" = x ; then
44759 { echo "$as_me:$LINENO: result: yes" >&5
44760 echo "${ECHO_T}yes" >&6; }
44762 EXTRALIBS_SDL="$SDL_LIBS"
44763 CFLAGS="$SDL_CFLAGS $CFLAGS"
44764 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44765 cat >>confdefs.h <<\_ACEOF
44766 #define wxUSE_LIBSDL 1
44771 { echo "$as_me:$LINENO: result: no" >&5
44772 echo "${ECHO_T}no" >&6; }
44773 if test "$SDL_CONFIG" = "no" ; then
44774 echo "*** The sdl-config script installed by SDL could not be found"
44775 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44776 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44777 echo "*** full path to sdl-config."
44779 if test -f conf.sdltest ; then
44782 echo "*** Could not run SDL test program, checking why..."
44783 CFLAGS="$CFLAGS $SDL_CFLAGS"
44784 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44785 LIBS="$LIBS $SDL_LIBS"
44786 cat >conftest.$ac_ext <<_ACEOF
44789 cat confdefs.h >>conftest.$ac_ext
44790 cat >>conftest.$ac_ext <<_ACEOF
44791 /* end confdefs.h. */
44796 int main(int argc, char *argv[])
44799 #define main K_and_R_C_main
44809 rm -f conftest.$ac_objext conftest$ac_exeext
44810 if { (ac_try="$ac_link"
44811 case "(($ac_try" in
44812 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44813 *) ac_try_echo
=$ac_try;;
44815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44816 (eval "$ac_link") 2>conftest.er1
44818 grep -v '^ *+' conftest.er1
>conftest.err
44820 cat conftest.err
>&5
44821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44822 (exit $ac_status); } && {
44823 test -z "$ac_c_werror_flag" ||
44824 test ! -s conftest.err
44825 } && test -s conftest
$ac_exeext &&
44826 $as_test_x conftest
$ac_exeext; then
44827 echo "*** The test program compiled, but did not run. This usually means"
44828 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44829 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44830 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44831 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44832 echo "*** is required on your system"
44834 echo "*** If you have an old version installed, it is best to remove it, although"
44835 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44837 echo "$as_me: failed program was:" >&5
44838 sed 's/^/| /' conftest.
$ac_ext >&5
44840 echo "*** The test program failed to compile or link. See the file config.log for the"
44841 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44842 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44843 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44846 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44847 conftest
$ac_exeext conftest.
$ac_ext
44848 CFLAGS
="$ac_save_CFLAGS"
44849 CXXFLAGS
="$ac_save_CXXFLAGS"
44850 LIBS
="$ac_save_LIBS"
44861 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44866 if test "$wxUSE_MGL" = 1; then
44867 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44868 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44874 if test "$wxUSE_SOUND" = "yes"; then
44875 cat >>confdefs.h
<<\_ACEOF
44876 #define wxUSE_SOUND 1
44879 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
44882 if test "$WXGTK20" = 1; then
44885 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44886 if test -n "$ac_tool_prefix"; then
44887 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44888 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
44889 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44891 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44892 echo $ECHO_N "(cached) $ECHO_C" >&6
44894 case $PKG_CONFIG in
44896 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44900 for as_dir
in $PATH
44903 test -z "$as_dir" && as_dir
=.
44904 for ac_exec_ext
in '' $ac_executable_extensions; do
44905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44906 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44917 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44918 if test -n "$PKG_CONFIG"; then
44919 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44920 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44922 { echo "$as_me:$LINENO: result: no" >&5
44923 echo "${ECHO_T}no" >&6; }
44928 if test -z "$ac_cv_path_PKG_CONFIG"; then
44929 ac_pt_PKG_CONFIG
=$PKG_CONFIG
44930 # Extract the first word of "pkg-config", so it can be a program name with args.
44931 set dummy pkg
-config; ac_word
=$2
44932 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44934 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44935 echo $ECHO_N "(cached) $ECHO_C" >&6
44937 case $ac_pt_PKG_CONFIG in
44939 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44943 for as_dir
in $PATH
44946 test -z "$as_dir" && as_dir
=.
44947 for ac_exec_ext
in '' $ac_executable_extensions; do
44948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44949 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44960 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
44961 if test -n "$ac_pt_PKG_CONFIG"; then
44962 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44963 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44965 { echo "$as_me:$LINENO: result: no" >&5
44966 echo "${ECHO_T}no" >&6; }
44969 if test "x$ac_pt_PKG_CONFIG" = x
; then
44972 case $cross_compiling:$ac_tool_warned in
44974 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44975 whose name does not start with the host triplet. If you think this
44976 configuration is useful to you, please write to autoconf@gnu.org." >&5
44977 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44978 whose name does not start with the host triplet. If you think this
44979 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44980 ac_tool_warned
=yes ;;
44982 PKG_CONFIG
=$ac_pt_PKG_CONFIG
44985 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
44989 if test -n "$PKG_CONFIG"; then
44990 _pkg_min_version
=0.9.0
44991 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44992 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44993 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44994 { echo "$as_me:$LINENO: result: yes" >&5
44995 echo "${ECHO_T}yes" >&6; }
44997 { echo "$as_me:$LINENO: result: no" >&5
44998 echo "${ECHO_T}no" >&6; }
45004 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45005 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45009 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45010 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45012 if test -n "$PKG_CONFIG"; then
45013 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45014 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
45016 if test -n "$PKG_CONFIG" && \
45017 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45018 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45021 (exit $ac_status); }; then
45022 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45030 if test -n "$PKG_CONFIG"; then
45031 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45032 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
45034 if test -n "$PKG_CONFIG" && \
45035 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45036 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45039 (exit $ac_status); }; then
45040 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45051 if test $pkg_failed = yes; then
45053 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45054 _pkg_short_errors_supported
=yes
45056 _pkg_short_errors_supported
=no
45058 if test $_pkg_short_errors_supported = yes; then
45059 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45061 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45063 # Put the nasty error message in config.log where it belongs
45064 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45067 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45068 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45069 wxUSE_LIBGNOMEPRINT
="no"
45072 elif test $pkg_failed = untried
; then
45074 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45075 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45076 wxUSE_LIBGNOMEPRINT
="no"
45080 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45081 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45082 { echo "$as_me:$LINENO: result: yes" >&5
45083 echo "${ECHO_T}yes" >&6; }
45085 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45086 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45087 cat >>confdefs.h
<<\_ACEOF
45088 #define wxUSE_LIBGNOMEPRINT 1
45096 if test "$wxUSE_MIMETYPE" = "yes" ; then
45097 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45101 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45102 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45104 if test -n "$PKG_CONFIG"; then
45105 if test -n "$GNOMEVFS_CFLAGS"; then
45106 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
45108 if test -n "$PKG_CONFIG" && \
45109 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45110 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45113 (exit $ac_status); }; then
45114 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45122 if test -n "$PKG_CONFIG"; then
45123 if test -n "$GNOMEVFS_LIBS"; then
45124 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
45126 if test -n "$PKG_CONFIG" && \
45127 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45128 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45131 (exit $ac_status); }; then
45132 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45143 if test $pkg_failed = yes; then
45145 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45146 _pkg_short_errors_supported
=yes
45148 _pkg_short_errors_supported
=no
45150 if test $_pkg_short_errors_supported = yes; then
45151 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45153 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45155 # Put the nasty error message in config.log where it belongs
45156 echo "$GNOMEVFS_PKG_ERRORS" >&5
45159 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45160 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45161 wxUSE_LIBGNOMEVFS
="no"
45164 elif test $pkg_failed = untried
; then
45166 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45167 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45168 wxUSE_LIBGNOMEVFS
="no"
45172 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
45173 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
45174 { echo "$as_me:$LINENO: result: yes" >&5
45175 echo "${ECHO_T}yes" >&6; }
45177 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
45178 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
45179 cat >>confdefs.h
<<\_ACEOF
45180 #define wxUSE_LIBGNOMEVFS 1
45188 if test "$wxUSE_LIBHILDON" = "yes" ; then
45191 { echo "$as_me:$LINENO: checking for HILDON" >&5
45192 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45194 if test -n "$PKG_CONFIG"; then
45195 if test -n "$HILDON_CFLAGS"; then
45196 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
45198 if test -n "$PKG_CONFIG" && \
45199 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45200 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45203 (exit $ac_status); }; then
45204 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45212 if test -n "$PKG_CONFIG"; then
45213 if test -n "$HILDON_LIBS"; then
45214 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
45216 if test -n "$PKG_CONFIG" && \
45217 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45218 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45221 (exit $ac_status); }; then
45222 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45233 if test $pkg_failed = yes; then
45235 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45236 _pkg_short_errors_supported
=yes
45238 _pkg_short_errors_supported
=no
45240 if test $_pkg_short_errors_supported = yes; then
45241 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45243 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45245 # Put the nasty error message in config.log where it belongs
45246 echo "$HILDON_PKG_ERRORS" >&5
45249 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45250 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45251 wxUSE_LIBHILDON
="no"
45254 elif test $pkg_failed = untried
; then
45256 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45257 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45258 wxUSE_LIBHILDON
="no"
45262 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
45263 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
45264 { echo "$as_me:$LINENO: result: yes" >&5
45265 echo "${ECHO_T}yes" >&6; }
45267 EXTRALIBS_HILDON
="$HILDON_LIBS"
45268 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
45269 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
45270 cat >>confdefs.h
<<\_ACEOF
45271 #define wxUSE_LIBHILDON 1
45279 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45280 cat >>confdefs.h
<<\_ACEOF
45281 #define wxUSE_CMDLINE_PARSER 1
45286 if test "$wxUSE_STOPWATCH" = "yes"; then
45287 cat >>confdefs.h
<<\_ACEOF
45288 #define wxUSE_STOPWATCH 1
45293 if test "$wxUSE_DATETIME" = "yes"; then
45294 cat >>confdefs.h
<<\_ACEOF
45295 #define wxUSE_DATETIME 1
45300 if test "$wxUSE_FILE" = "yes"; then
45301 cat >>confdefs.h
<<\_ACEOF
45302 #define wxUSE_FILE 1
45307 if test "$wxUSE_FFILE" = "yes"; then
45308 cat >>confdefs.h
<<\_ACEOF
45309 #define wxUSE_FFILE 1
45314 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45315 if test "$wxUSE_STREAMS" != yes; then
45316 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45317 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45318 wxUSE_ARCHIVE_STREAMS
=no
45320 cat >>confdefs.h
<<\_ACEOF
45321 #define wxUSE_ARCHIVE_STREAMS 1
45327 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45328 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45329 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45330 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45331 elif test "$wxUSE_ZLIB" = "no"; then
45332 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45333 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45335 cat >>confdefs.h
<<\_ACEOF
45336 #define wxUSE_ZIPSTREAM 1
45342 if test "$wxUSE_TARSTREAM" = "yes"; then
45343 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45344 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45345 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45347 cat >>confdefs.h
<<\_ACEOF
45348 #define wxUSE_TARSTREAM 1
45354 if test "$wxUSE_FILESYSTEM" = "yes"; then
45355 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
45356 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45357 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45358 wxUSE_FILESYSTEM
=no
45360 cat >>confdefs.h
<<\_ACEOF
45361 #define wxUSE_FILESYSTEM 1
45367 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45368 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45369 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45370 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45372 cat >>confdefs.h
<<\_ACEOF
45373 #define wxUSE_FS_ARCHIVE 1
45379 if test "$wxUSE_FS_ZIP" = "yes"; then
45380 if test "$wxUSE_FS_ARCHIVE" != yes; then
45381 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45382 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45384 cat >>confdefs.h
<<\_ACEOF
45385 #define wxUSE_FS_ZIP 1
45391 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45392 if test "$USE_UNIX" != 1; then
45393 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45394 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45395 wxUSE_ON_FATAL_EXCEPTION
=no
45397 cat >>confdefs.h
<<\_ACEOF
45398 #define wxUSE_ON_FATAL_EXCEPTION 1
45404 if test "$wxUSE_STACKWALKER" = "yes"; then
45405 cat >>confdefs.h
<<\_ACEOF
45406 #define wxUSE_STACKWALKER 1
45411 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45412 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45413 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45414 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45415 wxUSE_DEBUGREPORT
=no
45417 cat >>confdefs.h
<<\_ACEOF
45418 #define wxUSE_DEBUGREPORT 1
45421 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45422 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
45427 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45428 cat >>confdefs.h
<<\_ACEOF
45429 #define wxUSE_SNGLINST_CHECKER 1
45434 if test "$wxUSE_BUSYINFO" = "yes"; then
45435 cat >>confdefs.h
<<\_ACEOF
45436 #define wxUSE_BUSYINFO 1
45441 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45442 cat >>confdefs.h
<<\_ACEOF
45443 #define wxUSE_STD_IOSTREAM 1
45448 if test "$wxUSE_STD_STRING" = "yes"; then
45449 cat >>confdefs.h
<<\_ACEOF
45450 #define wxUSE_STD_STRING 1
45455 if test "$wxUSE_STDPATHS" = "yes"; then
45456 cat >>confdefs.h
<<\_ACEOF
45457 #define wxUSE_STDPATHS 1
45462 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45463 cat >>confdefs.h
<<\_ACEOF
45464 #define wxUSE_TEXTBUFFER 1
45469 if test "$wxUSE_TEXTFILE" = "yes"; then
45470 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45471 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45472 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45474 cat >>confdefs.h
<<\_ACEOF
45475 #define wxUSE_TEXTFILE 1
45481 if test "$wxUSE_CONFIG" = "yes" ; then
45482 if test "$wxUSE_TEXTFILE" != "yes"; then
45483 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45484 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45486 cat >>confdefs.h
<<\_ACEOF
45487 #define wxUSE_CONFIG 1
45490 cat >>confdefs.h
<<\_ACEOF
45491 #define wxUSE_CONFIG_NATIVE 1
45494 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
45498 if test "$wxUSE_INTL" = "yes" ; then
45499 if test "$wxUSE_FILE" != "yes"; then
45500 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45501 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45503 cat >>confdefs.h
<<\_ACEOF
45504 #define wxUSE_INTL 1
45507 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
45508 GUIDIST
="$GUIDIST INTL_DIST"
45512 if test "$wxUSE_LOG" = "yes"; then
45513 cat >>confdefs.h
<<\_ACEOF
45514 #define wxUSE_LOG 1
45518 if test "$wxUSE_LOGGUI" = "yes"; then
45519 cat >>confdefs.h
<<\_ACEOF
45520 #define wxUSE_LOGGUI 1
45525 if test "$wxUSE_LOGWINDOW" = "yes"; then
45526 cat >>confdefs.h
<<\_ACEOF
45527 #define wxUSE_LOGWINDOW 1
45532 if test "$wxUSE_LOGDIALOG" = "yes"; then
45533 cat >>confdefs.h
<<\_ACEOF
45534 #define wxUSE_LOG_DIALOG 1
45539 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
45542 if test "$wxUSE_LONGLONG" = "yes"; then
45543 cat >>confdefs.h
<<\_ACEOF
45544 #define wxUSE_LONGLONG 1
45549 if test "$wxUSE_GEOMETRY" = "yes"; then
45550 cat >>confdefs.h
<<\_ACEOF
45551 #define wxUSE_GEOMETRY 1
45556 if test "$wxUSE_BASE64" = "yes"; then
45557 cat >>confdefs.h
<<\_ACEOF
45558 #define wxUSE_BASE64 1
45563 if test "$wxUSE_STREAMS" = "yes" ; then
45564 cat >>confdefs.h
<<\_ACEOF
45565 #define wxUSE_STREAMS 1
45570 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45571 cat >>confdefs.h
<<\_ACEOF
45572 #define wxUSE_PRINTF_POS_PARAMS 1
45577 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45578 cat >>confdefs.h
<<\_ACEOF
45579 #define wxUSE_OBJC_UNIQUIFYING 1
45585 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45586 cat >>confdefs.h
<<\_ACEOF
45587 #define wxUSE_CONSOLE_EVENTLOOP 1
45591 if test "$wxUSE_UNIX" = "yes"; then
45592 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45593 cat >>confdefs.h
<<\_ACEOF
45594 #define wxUSE_SELECT_DISPATCHER 1
45599 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45601 for ac_header
in sys
/epoll.h
45603 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45604 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45605 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45607 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45608 echo $ECHO_N "(cached) $ECHO_C" >&6
45610 ac_res
=`eval echo '${'$as_ac_Header'}'`
45611 { echo "$as_me:$LINENO: result: $ac_res" >&5
45612 echo "${ECHO_T}$ac_res" >&6; }
45614 # Is the header compilable?
45615 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
45616 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
45617 cat >conftest.
$ac_ext <<_ACEOF
45620 cat confdefs.h
>>conftest.
$ac_ext
45621 cat >>conftest.
$ac_ext <<_ACEOF
45622 /* end confdefs.h. */
45623 $ac_includes_default
45624 #include <$ac_header>
45626 rm -f conftest.
$ac_objext
45627 if { (ac_try
="$ac_compile"
45628 case "(($ac_try" in
45629 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45630 *) ac_try_echo=$ac_try;;
45632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45633 (eval "$ac_compile") 2>conftest.er1
45635 grep -v '^ *+' conftest.er1 >conftest.err
45637 cat conftest.err >&5
45638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45639 (exit $ac_status); } && {
45640 test -z "$ac_c_werror_flag" ||
45641 test ! -s conftest.err
45642 } && test -s conftest.$ac_objext; then
45643 ac_header_compiler=yes
45645 echo "$as_me: failed program was:" >&5
45646 sed 's/^/| /' conftest.$ac_ext >&5
45648 ac_header_compiler=no
45651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45652 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45653 echo "${ECHO_T}$ac_header_compiler" >&6; }
45655 # Is the header present?
45656 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
45657 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
45658 cat >conftest.$ac_ext <<_ACEOF
45661 cat confdefs.h >>conftest.$ac_ext
45662 cat >>conftest.$ac_ext <<_ACEOF
45663 /* end confdefs.h. */
45664 #include <$ac_header>
45666 if { (ac_try="$ac_cpp conftest.$ac_ext"
45667 case "(($ac_try" in
45668 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45669 *) ac_try_echo
=$ac_try;;
45671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45672 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
45674 grep -v '^ *+' conftest.er1
>conftest.err
45676 cat conftest.err
>&5
45677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45678 (exit $ac_status); } >/dev
/null
&& {
45679 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
45680 test ! -s conftest.err
45682 ac_header_preproc
=yes
45684 echo "$as_me: failed program was:" >&5
45685 sed 's/^/| /' conftest.
$ac_ext >&5
45687 ac_header_preproc
=no
45690 rm -f conftest.err conftest.
$ac_ext
45691 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45692 echo "${ECHO_T}$ac_header_preproc" >&6; }
45694 # So? What about this header?
45695 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45697 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45698 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45699 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45700 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45701 ac_header_preproc
=yes
45704 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45705 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45706 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45707 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45708 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45709 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45710 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45711 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45712 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45713 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45714 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45715 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45717 ## ----------------------------------------- ##
45718 ## Report this to wx-dev@lists.wxwidgets.org ##
45719 ## ----------------------------------------- ##
45721 ) | sed "s/^/$as_me: WARNING: /" >&2
45724 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45726 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45727 echo $ECHO_N "(cached) $ECHO_C" >&6
45729 eval "$as_ac_Header=\$ac_header_preproc"
45731 ac_res
=`eval echo '${'$as_ac_Header'}'`
45732 { echo "$as_me:$LINENO: result: $ac_res" >&5
45733 echo "${ECHO_T}$ac_res" >&6; }
45736 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45737 cat >>confdefs.h
<<_ACEOF
45738 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45745 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45746 cat >>confdefs.h
<<\_ACEOF
45747 #define wxUSE_EPOLL_DISPATCHER 1
45751 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45752 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45761 for ac_func
in gettimeofday ftime
45763 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45764 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45766 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45767 echo $ECHO_N "(cached) $ECHO_C" >&6
45769 cat >conftest.
$ac_ext <<_ACEOF
45772 cat confdefs.h
>>conftest.
$ac_ext
45773 cat >>conftest.
$ac_ext <<_ACEOF
45774 /* end confdefs.h. */
45775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45777 #define $ac_func innocuous_$ac_func
45779 /* System header to define __stub macros and hopefully few prototypes,
45780 which can conflict with char $ac_func (); below.
45781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45782 <limits.h> exists even on freestanding compilers. */
45785 # include <limits.h>
45787 # include <assert.h>
45792 /* Override any GCC internal prototype to avoid an error.
45793 Use char because int might match the return type of a GCC
45794 builtin and then its argument prototype would still apply. */
45799 /* The GNU C library defines this for functions which it implements
45800 to always fail with ENOSYS. Some functions are actually named
45801 something starting with __ and the normal name is an alias. */
45802 #if defined __stub_$ac_func || defined __stub___$ac_func
45809 return $ac_func ();
45814 rm -f conftest.
$ac_objext conftest
$ac_exeext
45815 if { (ac_try
="$ac_link"
45816 case "(($ac_try" in
45817 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45818 *) ac_try_echo=$ac_try;;
45820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45821 (eval "$ac_link") 2>conftest.er1
45823 grep -v '^ *+' conftest.er1 >conftest.err
45825 cat conftest.err >&5
45826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45827 (exit $ac_status); } && {
45828 test -z "$ac_c_werror_flag" ||
45829 test ! -s conftest.err
45830 } && test -s conftest$ac_exeext &&
45831 $as_test_x conftest$ac_exeext; then
45832 eval "$as_ac_var=yes"
45834 echo "$as_me: failed program was:" >&5
45835 sed 's/^/| /' conftest.$ac_ext >&5
45837 eval "$as_ac_var=no"
45840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45841 conftest$ac_exeext conftest.$ac_ext
45843 ac_res=`eval echo '${'$as_ac_var'}'`
45844 { echo "$as_me:$LINENO: result: $ac_res" >&5
45845 echo "${ECHO_T}$ac_res" >&6; }
45846 if test `eval echo '${'$as_ac_var'}'` = yes; then
45847 cat >>confdefs.h <<_ACEOF
45848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45855 if test "$ac_cv_func_gettimeofday" = "yes"; then
45856 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45857 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45858 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45859 echo $ECHO_N "(cached) $ECHO_C" >&6
45862 cat >conftest.$ac_ext <<_ACEOF
45865 cat confdefs.h >>conftest.$ac_ext
45866 cat >>conftest.$ac_ext <<_ACEOF
45867 /* end confdefs.h. */
45869 #include <sys/time.h>
45870 #include <unistd.h>
45877 gettimeofday(&tv, NULL);
45883 rm -f conftest.$ac_objext
45884 if { (ac_try="$ac_compile"
45885 case "(($ac_try" in
45886 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45887 *) ac_try_echo
=$ac_try;;
45889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45890 (eval "$ac_compile") 2>conftest.er1
45892 grep -v '^ *+' conftest.er1
>conftest.err
45894 cat conftest.err
>&5
45895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45896 (exit $ac_status); } && {
45897 test -z "$ac_c_werror_flag" ||
45898 test ! -s conftest.err
45899 } && test -s conftest.
$ac_objext; then
45900 wx_cv_func_gettimeofday_has_2_args
=yes
45902 echo "$as_me: failed program was:" >&5
45903 sed 's/^/| /' conftest.
$ac_ext >&5
45905 cat >conftest.
$ac_ext <<_ACEOF
45908 cat confdefs.h
>>conftest.
$ac_ext
45909 cat >>conftest.
$ac_ext <<_ACEOF
45910 /* end confdefs.h. */
45912 #include <sys/time.h>
45913 #include <unistd.h>
45926 rm -f conftest.
$ac_objext
45927 if { (ac_try
="$ac_compile"
45928 case "(($ac_try" in
45929 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45930 *) ac_try_echo=$ac_try;;
45932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45933 (eval "$ac_compile") 2>conftest.er1
45935 grep -v '^ *+' conftest.er1 >conftest.err
45937 cat conftest.err >&5
45938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45939 (exit $ac_status); } && {
45940 test -z "$ac_c_werror_flag" ||
45941 test ! -s conftest.err
45942 } && test -s conftest.$ac_objext; then
45943 wx_cv_func_gettimeofday_has_2_args=no
45945 echo "$as_me: failed program was:" >&5
45946 sed 's/^/| /' conftest.$ac_ext >&5
45949 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45950 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45951 wx_cv_func_gettimeofday_has_2_args=unknown
45956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45963 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45964 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45966 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45967 cat >>confdefs.h <<\_ACEOF
45968 #define WX_GETTIMEOFDAY_NO_TZ 1
45974 if test "$wxUSE_DATETIME" = "yes"; then
45975 { echo "$as_me:$LINENO: checking for strptime" >&5
45976 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45977 if test "${ac_cv_func_strptime+set}" = set; then
45978 echo $ECHO_N "(cached) $ECHO_C" >&6
45980 cat >conftest.$ac_ext <<_ACEOF
45983 cat confdefs.h >>conftest.$ac_ext
45984 cat >>conftest.$ac_ext <<_ACEOF
45985 /* end confdefs.h. */
45986 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45988 #define strptime innocuous_strptime
45990 /* System header to define __stub macros and hopefully few prototypes,
45991 which can conflict with char strptime (); below.
45992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45993 <limits.h> exists even on freestanding compilers. */
45996 # include <limits.h>
45998 # include <assert.h>
46003 /* Override any GCC internal prototype to avoid an error.
46004 Use char because int might match the return type of a GCC
46005 builtin and then its argument prototype would still apply. */
46010 /* The GNU C library defines this for functions which it implements
46011 to always fail with ENOSYS. Some functions are actually named
46012 something starting with __ and the normal name is an alias. */
46013 #if defined __stub_strptime || defined __stub___strptime
46020 return strptime ();
46025 rm -f conftest.$ac_objext conftest$ac_exeext
46026 if { (ac_try="$ac_link"
46027 case "(($ac_try" in
46028 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46029 *) ac_try_echo
=$ac_try;;
46031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46032 (eval "$ac_link") 2>conftest.er1
46034 grep -v '^ *+' conftest.er1
>conftest.err
46036 cat conftest.err
>&5
46037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46038 (exit $ac_status); } && {
46039 test -z "$ac_c_werror_flag" ||
46040 test ! -s conftest.err
46041 } && test -s conftest
$ac_exeext &&
46042 $as_test_x conftest
$ac_exeext; then
46043 ac_cv_func_strptime
=yes
46045 echo "$as_me: failed program was:" >&5
46046 sed 's/^/| /' conftest.
$ac_ext >&5
46048 ac_cv_func_strptime
=no
46051 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46052 conftest
$ac_exeext conftest.
$ac_ext
46054 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46055 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46057 if test "$ac_cv_func_strptime" = "yes"; then
46058 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46059 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46060 if test "${wx_cv_func_strptime_decl+set}" = set; then
46061 echo $ECHO_N "(cached) $ECHO_C" >&6
46065 ac_cpp
='$CXXCPP $CPPFLAGS'
46066 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46067 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46068 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46070 cat >conftest.
$ac_ext <<_ACEOF
46073 cat confdefs.h
>>conftest.
$ac_ext
46074 cat >>conftest.
$ac_ext <<_ACEOF
46075 /* end confdefs.h. */
46084 strptime("foo", "bar", &t);
46090 rm -f conftest.
$ac_objext
46091 if { (ac_try
="$ac_compile"
46092 case "(($ac_try" in
46093 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46094 *) ac_try_echo=$ac_try;;
46096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46097 (eval "$ac_compile") 2>conftest.er1
46099 grep -v '^ *+' conftest.er1 >conftest.err
46101 cat conftest.err >&5
46102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46103 (exit $ac_status); } && {
46104 test -z "$ac_cxx_werror_flag" ||
46105 test ! -s conftest.err
46106 } && test -s conftest.$ac_objext; then
46107 wx_cv_func_strptime_decl=yes
46109 echo "$as_me: failed program was:" >&5
46110 sed 's/^/| /' conftest.$ac_ext >&5
46112 wx_cv_func_strptime_decl=no
46116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46118 ac_cpp='$CPP $CPPFLAGS'
46119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46126 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46127 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46129 if test "$wx_cv_func_strptime_decl" = "yes"; then
46130 cat >>confdefs.h <<\_ACEOF
46131 #define HAVE_STRPTIME_DECL 1
46135 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46137 if test "$ac_cv_func_strptime" = "yes"; then
46138 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46139 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46140 if test "${wx_cv_func_strptime_ok+set}" = set; then
46141 echo $ECHO_N "(cached) $ECHO_C" >&6
46143 if test "$cross_compiling" = yes; then
46144 wx_cv_func_strptime_ok=no
46147 cat >conftest.$ac_ext <<_ACEOF
46149 #include <stdlib.h>
46151 #include "confdefs.h"
46158 return !!strptime("", "%x", &t);
46162 rm -f conftest$ac_exeext
46163 if { (ac_try="$ac_link"
46164 case "(($ac_try" in
46165 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46166 *) ac_try_echo
=$ac_try;;
46168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46169 (eval "$ac_link") 2>&5
46171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46172 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
46173 { (case "(($ac_try" in
46174 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46175 *) ac_try_echo=$ac_try;;
46177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46178 (eval "$ac_try") 2>&5
46180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46181 (exit $ac_status); }; }; then
46182 wx_cv_func_strptime_ok=yes
46184 echo "$as_me: program exited with status $ac_status" >&5
46185 echo "$as_me: failed program was:" >&5
46186 sed 's/^/| /' conftest.$ac_ext >&5
46188 ( exit $ac_status )
46189 wx_cv_func_strptime_ok=no
46191 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46197 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46198 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46200 if test "$wx_cv_func_strptime_ok" = "yes"; then
46201 cat >>confdefs.h <<\_ACEOF
46202 #define HAVE_STRPTIME 1
46208 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46209 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46210 if test "${wx_cv_var_timezone+set}" = set; then
46211 echo $ECHO_N "(cached) $ECHO_C" >&6
46215 ac_cpp='$CXXCPP $CPPFLAGS'
46216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46220 cat >conftest.$ac_ext <<_ACEOF
46223 cat confdefs.h >>conftest.$ac_ext
46224 cat >>conftest.$ac_ext <<_ACEOF
46225 /* end confdefs.h. */
46240 rm -f conftest.$ac_objext
46241 if { (ac_try="$ac_compile"
46242 case "(($ac_try" in
46243 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46244 *) ac_try_echo
=$ac_try;;
46246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46247 (eval "$ac_compile") 2>conftest.er1
46249 grep -v '^ *+' conftest.er1
>conftest.err
46251 cat conftest.err
>&5
46252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46253 (exit $ac_status); } && {
46254 test -z "$ac_cxx_werror_flag" ||
46255 test ! -s conftest.err
46256 } && test -s conftest.
$ac_objext; then
46258 wx_cv_var_timezone
=timezone
46261 echo "$as_me: failed program was:" >&5
46262 sed 's/^/| /' conftest.
$ac_ext >&5
46265 cat >conftest.
$ac_ext <<_ACEOF
46268 cat confdefs.h
>>conftest.
$ac_ext
46269 cat >>conftest.
$ac_ext <<_ACEOF
46270 /* end confdefs.h. */
46285 rm -f conftest.
$ac_objext
46286 if { (ac_try
="$ac_compile"
46287 case "(($ac_try" in
46288 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46289 *) ac_try_echo=$ac_try;;
46291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46292 (eval "$ac_compile") 2>conftest.er1
46294 grep -v '^ *+' conftest.er1 >conftest.err
46296 cat conftest.err >&5
46297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46298 (exit $ac_status); } && {
46299 test -z "$ac_cxx_werror_flag" ||
46300 test ! -s conftest.err
46301 } && test -s conftest.$ac_objext; then
46303 wx_cv_var_timezone=_timezone
46306 echo "$as_me: failed program was:" >&5
46307 sed 's/^/| /' conftest.$ac_ext >&5
46310 cat >conftest.$ac_ext <<_ACEOF
46313 cat confdefs.h >>conftest.$ac_ext
46314 cat >>conftest.$ac_ext <<_ACEOF
46315 /* end confdefs.h. */
46330 rm -f conftest.$ac_objext
46331 if { (ac_try="$ac_compile"
46332 case "(($ac_try" in
46333 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46334 *) ac_try_echo
=$ac_try;;
46336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46337 (eval "$ac_compile") 2>conftest.er1
46339 grep -v '^ *+' conftest.er1
>conftest.err
46341 cat conftest.err
>&5
46342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46343 (exit $ac_status); } && {
46344 test -z "$ac_cxx_werror_flag" ||
46345 test ! -s conftest.err
46346 } && test -s conftest.
$ac_objext; then
46348 wx_cv_var_timezone
=__timezone
46351 echo "$as_me: failed program was:" >&5
46352 sed 's/^/| /' conftest.
$ac_ext >&5
46355 if test "$USE_DOS" = 0 ; then
46356 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46357 echo "$as_me: WARNING: no timezone variable" >&2;}
46363 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46375 ac_cpp
='$CPP $CPPFLAGS'
46376 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46377 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46378 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46383 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46384 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46386 if test "x$wx_cv_var_timezone" != x
; then
46387 cat >>confdefs.h
<<_ACEOF
46388 #define WX_TIMEZONE $wx_cv_var_timezone
46394 for ac_func
in localtime
46396 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46397 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46399 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46400 echo $ECHO_N "(cached) $ECHO_C" >&6
46402 cat >conftest.
$ac_ext <<_ACEOF
46405 cat confdefs.h
>>conftest.
$ac_ext
46406 cat >>conftest.
$ac_ext <<_ACEOF
46407 /* end confdefs.h. */
46408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46410 #define $ac_func innocuous_$ac_func
46412 /* System header to define __stub macros and hopefully few prototypes,
46413 which can conflict with char $ac_func (); below.
46414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46415 <limits.h> exists even on freestanding compilers. */
46418 # include <limits.h>
46420 # include <assert.h>
46425 /* Override any GCC internal prototype to avoid an error.
46426 Use char because int might match the return type of a GCC
46427 builtin and then its argument prototype would still apply. */
46432 /* The GNU C library defines this for functions which it implements
46433 to always fail with ENOSYS. Some functions are actually named
46434 something starting with __ and the normal name is an alias. */
46435 #if defined __stub_$ac_func || defined __stub___$ac_func
46442 return $ac_func ();
46447 rm -f conftest.
$ac_objext conftest
$ac_exeext
46448 if { (ac_try
="$ac_link"
46449 case "(($ac_try" in
46450 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46451 *) ac_try_echo=$ac_try;;
46453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46454 (eval "$ac_link") 2>conftest.er1
46456 grep -v '^ *+' conftest.er1 >conftest.err
46458 cat conftest.err >&5
46459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46460 (exit $ac_status); } && {
46461 test -z "$ac_c_werror_flag" ||
46462 test ! -s conftest.err
46463 } && test -s conftest$ac_exeext &&
46464 $as_test_x conftest$ac_exeext; then
46465 eval "$as_ac_var=yes"
46467 echo "$as_me: failed program was:" >&5
46468 sed 's/^/| /' conftest.$ac_ext >&5
46470 eval "$as_ac_var=no"
46473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46474 conftest$ac_exeext conftest.$ac_ext
46476 ac_res=`eval echo '${'$as_ac_var'}'`
46477 { echo "$as_me:$LINENO: result: $ac_res" >&5
46478 echo "${ECHO_T}$ac_res" >&6; }
46479 if test `eval echo '${'$as_ac_var'}'` = yes; then
46480 cat >>confdefs.h <<_ACEOF
46481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46488 if test "$ac_cv_func_localtime" = "yes"; then
46489 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46490 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46491 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46492 echo $ECHO_N "(cached) $ECHO_C" >&6
46495 cat >conftest.$ac_ext <<_ACEOF
46498 cat confdefs.h >>conftest.$ac_ext
46499 cat >>conftest.$ac_ext <<_ACEOF
46500 /* end confdefs.h. */
46515 rm -f conftest.$ac_objext
46516 if { (ac_try="$ac_compile"
46517 case "(($ac_try" in
46518 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46519 *) ac_try_echo
=$ac_try;;
46521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46522 (eval "$ac_compile") 2>conftest.er1
46524 grep -v '^ *+' conftest.er1
>conftest.err
46526 cat conftest.err
>&5
46527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46528 (exit $ac_status); } && {
46529 test -z "$ac_c_werror_flag" ||
46530 test ! -s conftest.err
46531 } && test -s conftest.
$ac_objext; then
46533 wx_cv_struct_tm_has_gmtoff
=yes
46536 echo "$as_me: failed program was:" >&5
46537 sed 's/^/| /' conftest.
$ac_ext >&5
46539 wx_cv_struct_tm_has_gmtoff
=no
46543 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46546 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46547 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46550 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46551 cat >>confdefs.h
<<\_ACEOF
46552 #define WX_GMTOFF_IN_TM 1
46557 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
46561 if test "$wxUSE_SOCKETS" = "yes"; then
46562 if test "$wxUSE_MGL" = "1"; then
46563 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46564 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46569 if test "$wxUSE_SOCKETS" = "yes"; then
46570 if test "$TOOLKIT" != "MSW"; then
46571 { echo "$as_me:$LINENO: checking for socket" >&5
46572 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46573 if test "${ac_cv_func_socket+set}" = set; then
46574 echo $ECHO_N "(cached) $ECHO_C" >&6
46576 cat >conftest.
$ac_ext <<_ACEOF
46579 cat confdefs.h
>>conftest.
$ac_ext
46580 cat >>conftest.
$ac_ext <<_ACEOF
46581 /* end confdefs.h. */
46582 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46584 #define socket innocuous_socket
46586 /* System header to define __stub macros and hopefully few prototypes,
46587 which can conflict with char socket (); below.
46588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46589 <limits.h> exists even on freestanding compilers. */
46592 # include <limits.h>
46594 # include <assert.h>
46599 /* Override any GCC internal prototype to avoid an error.
46600 Use char because int might match the return type of a GCC
46601 builtin and then its argument prototype would still apply. */
46606 /* The GNU C library defines this for functions which it implements
46607 to always fail with ENOSYS. Some functions are actually named
46608 something starting with __ and the normal name is an alias. */
46609 #if defined __stub_socket || defined __stub___socket
46621 rm -f conftest.
$ac_objext conftest
$ac_exeext
46622 if { (ac_try
="$ac_link"
46623 case "(($ac_try" in
46624 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46625 *) ac_try_echo=$ac_try;;
46627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46628 (eval "$ac_link") 2>conftest.er1
46630 grep -v '^ *+' conftest.er1 >conftest.err
46632 cat conftest.err >&5
46633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46634 (exit $ac_status); } && {
46635 test -z "$ac_c_werror_flag" ||
46636 test ! -s conftest.err
46637 } && test -s conftest$ac_exeext &&
46638 $as_test_x conftest$ac_exeext; then
46639 ac_cv_func_socket=yes
46641 echo "$as_me: failed program was:" >&5
46642 sed 's/^/| /' conftest.$ac_ext >&5
46644 ac_cv_func_socket=no
46647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46648 conftest$ac_exeext conftest.$ac_ext
46650 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46651 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46652 if test $ac_cv_func_socket = yes; then
46656 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46657 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46658 if test "${ac_cv_lib_socket_socket+set}" = set; then
46659 echo $ECHO_N "(cached) $ECHO_C" >&6
46661 ac_check_lib_save_LIBS=$LIBS
46662 LIBS="-lsocket $LIBS"
46663 cat >conftest.$ac_ext <<_ACEOF
46666 cat confdefs.h >>conftest.$ac_ext
46667 cat >>conftest.$ac_ext <<_ACEOF
46668 /* end confdefs.h. */
46670 /* Override any GCC internal prototype to avoid an error.
46671 Use char because int might match the return type of a GCC
46672 builtin and then its argument prototype would still apply. */
46685 rm -f conftest.$ac_objext conftest$ac_exeext
46686 if { (ac_try="$ac_link"
46687 case "(($ac_try" in
46688 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46689 *) ac_try_echo
=$ac_try;;
46691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46692 (eval "$ac_link") 2>conftest.er1
46694 grep -v '^ *+' conftest.er1
>conftest.err
46696 cat conftest.err
>&5
46697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46698 (exit $ac_status); } && {
46699 test -z "$ac_c_werror_flag" ||
46700 test ! -s conftest.err
46701 } && test -s conftest
$ac_exeext &&
46702 $as_test_x conftest
$ac_exeext; then
46703 ac_cv_lib_socket_socket
=yes
46705 echo "$as_me: failed program was:" >&5
46706 sed 's/^/| /' conftest.
$ac_ext >&5
46708 ac_cv_lib_socket_socket
=no
46711 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46712 conftest
$ac_exeext conftest.
$ac_ext
46713 LIBS
=$ac_check_lib_save_LIBS
46715 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46716 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46717 if test $ac_cv_lib_socket_socket = yes; then
46718 if test "$INET_LINK" != " -lsocket"; then
46719 INET_LINK
="$INET_LINK -lsocket"
46723 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46724 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46737 if test "$wxUSE_SOCKETS" = "yes" ; then
46738 if test "$TOOLKIT" != "MSW"; then
46739 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46740 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46741 if test "${wx_cv_type_getsockname3+set}" = set; then
46742 echo $ECHO_N "(cached) $ECHO_C" >&6
46746 ac_cpp
='$CXXCPP $CPPFLAGS'
46747 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46748 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46749 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46751 cat >conftest.
$ac_ext <<_ACEOF
46754 cat confdefs.h
>>conftest.
$ac_ext
46755 cat >>conftest.
$ac_ext <<_ACEOF
46756 /* end confdefs.h. */
46758 #include <sys/types.h>
46759 #include <sys/socket.h>
46766 getsockname(0, 0, &len);
46772 rm -f conftest.
$ac_objext
46773 if { (ac_try
="$ac_compile"
46774 case "(($ac_try" in
46775 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46776 *) ac_try_echo=$ac_try;;
46778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46779 (eval "$ac_compile") 2>conftest.er1
46781 grep -v '^ *+' conftest.er1 >conftest.err
46783 cat conftest.err >&5
46784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46785 (exit $ac_status); } && {
46786 test -z "$ac_cxx_werror_flag" ||
46787 test ! -s conftest.err
46788 } && test -s conftest.$ac_objext; then
46789 wx_cv_type_getsockname3=socklen_t
46791 echo "$as_me: failed program was:" >&5
46792 sed 's/^/| /' conftest.$ac_ext >&5
46795 CFLAGS_OLD="$CFLAGS"
46796 if test "$GCC" = yes ; then
46797 CFLAGS="-Werror $CFLAGS"
46800 cat >conftest.$ac_ext <<_ACEOF
46803 cat confdefs.h >>conftest.$ac_ext
46804 cat >>conftest.$ac_ext <<_ACEOF
46805 /* end confdefs.h. */
46807 #include <sys/types.h>
46808 #include <sys/socket.h>
46815 getsockname(0, 0, &len);
46821 rm -f conftest.$ac_objext
46822 if { (ac_try="$ac_compile"
46823 case "(($ac_try" in
46824 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46825 *) ac_try_echo
=$ac_try;;
46827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46828 (eval "$ac_compile") 2>conftest.er1
46830 grep -v '^ *+' conftest.er1
>conftest.err
46832 cat conftest.err
>&5
46833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46834 (exit $ac_status); } && {
46835 test -z "$ac_cxx_werror_flag" ||
46836 test ! -s conftest.err
46837 } && test -s conftest.
$ac_objext; then
46838 wx_cv_type_getsockname3
=size_t
46840 echo "$as_me: failed program was:" >&5
46841 sed 's/^/| /' conftest.
$ac_ext >&5
46843 cat >conftest.
$ac_ext <<_ACEOF
46846 cat confdefs.h
>>conftest.
$ac_ext
46847 cat >>conftest.
$ac_ext <<_ACEOF
46848 /* end confdefs.h. */
46850 #include <sys/types.h>
46851 #include <sys/socket.h>
46858 getsockname(0, 0, &len);
46864 rm -f conftest.
$ac_objext
46865 if { (ac_try
="$ac_compile"
46866 case "(($ac_try" in
46867 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46868 *) ac_try_echo=$ac_try;;
46870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46871 (eval "$ac_compile") 2>conftest.er1
46873 grep -v '^ *+' conftest.er1 >conftest.err
46875 cat conftest.err >&5
46876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46877 (exit $ac_status); } && {
46878 test -z "$ac_cxx_werror_flag" ||
46879 test ! -s conftest.err
46880 } && test -s conftest.$ac_objext; then
46881 wx_cv_type_getsockname3=int
46883 echo "$as_me: failed program was:" >&5
46884 sed 's/^/| /' conftest.$ac_ext >&5
46886 wx_cv_type_getsockname3=unknown
46890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46896 CFLAGS="$CFLAGS_OLD"
46901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46903 ac_cpp='$CPP $CPPFLAGS'
46904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46910 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46911 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46913 if test "$wx_cv_type_getsockname3" = "unknown"; then
46915 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46916 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46918 cat >>confdefs.h <<_ACEOF
46919 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46923 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46924 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46925 if test "${wx_cv_type_getsockopt5+set}" = set; then
46926 echo $ECHO_N "(cached) $ECHO_C" >&6
46930 ac_cpp='$CXXCPP $CPPFLAGS'
46931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46935 cat >conftest.$ac_ext <<_ACEOF
46938 cat confdefs.h >>conftest.$ac_ext
46939 cat >>conftest.$ac_ext <<_ACEOF
46940 /* end confdefs.h. */
46942 #include <sys/types.h>
46943 #include <sys/socket.h>
46950 getsockopt(0, 0, 0, 0, &len);
46956 rm -f conftest.$ac_objext
46957 if { (ac_try="$ac_compile"
46958 case "(($ac_try" in
46959 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46960 *) ac_try_echo
=$ac_try;;
46962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46963 (eval "$ac_compile") 2>conftest.er1
46965 grep -v '^ *+' conftest.er1
>conftest.err
46967 cat conftest.err
>&5
46968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46969 (exit $ac_status); } && {
46970 test -z "$ac_cxx_werror_flag" ||
46971 test ! -s conftest.err
46972 } && test -s conftest.
$ac_objext; then
46973 wx_cv_type_getsockopt5
=socklen_t
46975 echo "$as_me: failed program was:" >&5
46976 sed 's/^/| /' conftest.
$ac_ext >&5
46979 cat >conftest.
$ac_ext <<_ACEOF
46982 cat confdefs.h
>>conftest.
$ac_ext
46983 cat >>conftest.
$ac_ext <<_ACEOF
46984 /* end confdefs.h. */
46986 #include <sys/types.h>
46987 #include <sys/socket.h>
46994 getsockopt(0, 0, 0, 0, &len);
47000 rm -f conftest.
$ac_objext
47001 if { (ac_try
="$ac_compile"
47002 case "(($ac_try" in
47003 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47004 *) ac_try_echo=$ac_try;;
47006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47007 (eval "$ac_compile") 2>conftest.er1
47009 grep -v '^ *+' conftest.er1 >conftest.err
47011 cat conftest.err >&5
47012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47013 (exit $ac_status); } && {
47014 test -z "$ac_cxx_werror_flag" ||
47015 test ! -s conftest.err
47016 } && test -s conftest.$ac_objext; then
47017 wx_cv_type_getsockopt5=size_t
47019 echo "$as_me: failed program was:" >&5
47020 sed 's/^/| /' conftest.$ac_ext >&5
47022 cat >conftest.$ac_ext <<_ACEOF
47025 cat confdefs.h >>conftest.$ac_ext
47026 cat >>conftest.$ac_ext <<_ACEOF
47027 /* end confdefs.h. */
47029 #include <sys/types.h>
47030 #include <sys/socket.h>
47037 getsockopt(0, 0, 0, 0, &len);
47043 rm -f conftest.$ac_objext
47044 if { (ac_try="$ac_compile"
47045 case "(($ac_try" in
47046 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47047 *) ac_try_echo
=$ac_try;;
47049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47050 (eval "$ac_compile") 2>conftest.er1
47052 grep -v '^ *+' conftest.er1
>conftest.err
47054 cat conftest.err
>&5
47055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47056 (exit $ac_status); } && {
47057 test -z "$ac_cxx_werror_flag" ||
47058 test ! -s conftest.err
47059 } && test -s conftest.
$ac_objext; then
47060 wx_cv_type_getsockopt5
=int
47062 echo "$as_me: failed program was:" >&5
47063 sed 's/^/| /' conftest.
$ac_ext >&5
47065 wx_cv_type_getsockopt5
=unknown
47069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47080 ac_cpp
='$CPP $CPPFLAGS'
47081 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47082 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47083 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47087 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47088 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47090 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47092 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47093 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47095 cat >>confdefs.h
<<_ACEOF
47096 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47103 if test "$wxUSE_SOCKETS" = "yes" ; then
47104 cat >>confdefs.h
<<\_ACEOF
47105 #define wxUSE_SOCKETS 1
47108 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
47111 if test "$wxUSE_PROTOCOL" = "yes"; then
47112 if test "$wxUSE_SOCKETS" != "yes"; then
47113 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47114 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47119 if test "$wxUSE_PROTOCOL" = "yes"; then
47120 cat >>confdefs.h
<<\_ACEOF
47121 #define wxUSE_PROTOCOL 1
47125 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47126 cat >>confdefs.h
<<\_ACEOF
47127 #define wxUSE_PROTOCOL_HTTP 1
47131 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47132 cat >>confdefs.h
<<\_ACEOF
47133 #define wxUSE_PROTOCOL_FTP 1
47137 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47138 cat >>confdefs.h
<<\_ACEOF
47139 #define wxUSE_PROTOCOL_FILE 1
47144 if test "$wxUSE_FS_INET" = "yes"; then
47145 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47146 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47151 if test "$wxUSE_URL" = "yes"; then
47152 if test "$wxUSE_PROTOCOL" != "yes"; then
47153 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47154 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47157 if test "$wxUSE_URL" = "yes"; then
47158 cat >>confdefs.h
<<\_ACEOF
47159 #define wxUSE_URL 1
47165 if test "$wxUSE_VARIANT" = "yes"; then
47166 cat >>confdefs.h
<<\_ACEOF
47167 #define wxUSE_VARIANT 1
47172 if test "$wxUSE_FS_INET" = "yes"; then
47173 cat >>confdefs.h
<<\_ACEOF
47174 #define wxUSE_FS_INET 1
47180 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47183 if test "$TOOLKIT" = "MSW"; then
47186 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47187 if test "$USE_DARWIN" = 1; then
47188 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47189 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47191 ac_cpp
='$CXXCPP $CPPFLAGS'
47192 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47193 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47194 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47196 cat >conftest.
$ac_ext <<_ACEOF
47199 cat confdefs.h
>>conftest.
$ac_ext
47200 cat >>conftest.
$ac_ext <<_ACEOF
47201 /* end confdefs.h. */
47202 #include <IOKit/hid/IOHIDLib.h>
47206 IOHIDQueueInterface *qi = NULL;
47207 IOHIDCallbackFunction cb = NULL;
47208 qi->setEventCallout(NULL, cb, NULL, NULL);
47213 rm -f conftest.
$ac_objext
47214 if { (ac_try
="$ac_compile"
47215 case "(($ac_try" in
47216 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47217 *) ac_try_echo=$ac_try;;
47219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47220 (eval "$ac_compile") 2>conftest.er1
47222 grep -v '^ *+' conftest.er1 >conftest.err
47224 cat conftest.err >&5
47225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47226 (exit $ac_status); } && {
47227 test -z "$ac_cxx_werror_flag" ||
47228 test ! -s conftest.err
47229 } && test -s conftest.$ac_objext; then
47233 echo "$as_me: failed program was:" >&5
47234 sed 's/^/| /' conftest.$ac_ext >&5
47239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47241 ac_cpp='$CPP $CPPFLAGS'
47242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47246 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47247 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47251 if test "$wxUSE_MGL" != "1"; then
47252 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
47253 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
47254 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
47255 echo $ECHO_N "(cached) $ECHO_C" >&6
47257 cat >conftest.$ac_ext <<_ACEOF
47260 cat confdefs.h >>conftest.$ac_ext
47261 cat >>conftest.$ac_ext <<_ACEOF
47262 /* end confdefs.h. */
47263 $ac_includes_default
47265 #include <linux/joystick.h>
47267 rm -f conftest.$ac_objext
47268 if { (ac_try="$ac_compile"
47269 case "(($ac_try" in
47270 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47271 *) ac_try_echo
=$ac_try;;
47273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47274 (eval "$ac_compile") 2>conftest.er1
47276 grep -v '^ *+' conftest.er1
>conftest.err
47278 cat conftest.err
>&5
47279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47280 (exit $ac_status); } && {
47281 test -z "$ac_c_werror_flag" ||
47282 test ! -s conftest.err
47283 } && test -s conftest.
$ac_objext; then
47284 ac_cv_header_linux_joystick_h
=yes
47286 echo "$as_me: failed program was:" >&5
47287 sed 's/^/| /' conftest.
$ac_ext >&5
47289 ac_cv_header_linux_joystick_h
=no
47292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47294 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
47295 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
47296 if test $ac_cv_header_linux_joystick_h = yes; then
47304 if test "$wxUSE_JOYSTICK" = "yes"; then
47305 cat >>confdefs.h
<<\_ACEOF
47306 #define wxUSE_JOYSTICK 1
47309 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
47311 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47312 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47318 if test "$wxUSE_FONTMAP" = "yes" ; then
47319 cat >>confdefs.h
<<\_ACEOF
47320 #define wxUSE_FONTMAP 1
47325 if test "$wxUSE_UNICODE" = "yes" ; then
47326 cat >>confdefs.h
<<\_ACEOF
47327 #define wxUSE_UNICODE 1
47331 if test "$USE_WIN32" != 1; then
47332 wxUSE_UNICODE_MSLU
=no
47335 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47336 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47337 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47338 if test "${ac_cv_lib_unicows_main+set}" = set; then
47339 echo $ECHO_N "(cached) $ECHO_C" >&6
47341 ac_check_lib_save_LIBS
=$LIBS
47342 LIBS
="-lunicows $LIBS"
47343 cat >conftest.
$ac_ext <<_ACEOF
47346 cat confdefs.h
>>conftest.
$ac_ext
47347 cat >>conftest.
$ac_ext <<_ACEOF
47348 /* end confdefs.h. */
47359 rm -f conftest.
$ac_objext conftest
$ac_exeext
47360 if { (ac_try
="$ac_link"
47361 case "(($ac_try" in
47362 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47363 *) ac_try_echo=$ac_try;;
47365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47366 (eval "$ac_link") 2>conftest.er1
47368 grep -v '^ *+' conftest.er1 >conftest.err
47370 cat conftest.err >&5
47371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47372 (exit $ac_status); } && {
47373 test -z "$ac_c_werror_flag" ||
47374 test ! -s conftest.err
47375 } && test -s conftest$ac_exeext &&
47376 $as_test_x conftest$ac_exeext; then
47377 ac_cv_lib_unicows_main=yes
47379 echo "$as_me: failed program was:" >&5
47380 sed 's/^/| /' conftest.$ac_ext >&5
47382 ac_cv_lib_unicows_main=no
47385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47386 conftest$ac_exeext conftest.$ac_ext
47387 LIBS=$ac_check_lib_save_LIBS
47389 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47390 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47391 if test $ac_cv_lib_unicows_main = yes; then
47393 cat >>confdefs.h <<\_ACEOF
47394 #define wxUSE_UNICODE_MSLU 1
47400 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47401 Applications will only run on Windows NT/2000/XP!" >&5
47402 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47403 Applications will only run on Windows NT/2000/XP!" >&2;}
47404 wxUSE_UNICODE_MSLU=no
47411 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47412 cat >>confdefs.h <<\_ACEOF
47413 #define wxUSE_UNICODE_UTF8 1
47417 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47418 cat >>confdefs.h <<\_ACEOF
47419 #define wxUSE_UTF8_LOCALE_ONLY 1
47425 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
47426 cat >>confdefs.h <<\_ACEOF
47427 #define wxUSE_EXPERIMENTAL_PRINTF 1
47433 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47434 cat >>confdefs.h <<\_ACEOF
47435 #define wxUSE_CONSTRAINTS 1
47438 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47441 if test "$wxUSE_MDI" = "yes"; then
47442 cat >>confdefs.h <<\_ACEOF
47443 #define wxUSE_MDI 1
47447 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47448 cat >>confdefs.h <<\_ACEOF
47449 #define wxUSE_MDI_ARCHITECTURE 1
47452 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47456 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47457 cat >>confdefs.h <<\_ACEOF
47458 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47461 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47462 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47467 if test "$wxUSE_HELP" = "yes"; then
47468 cat >>confdefs.h <<\_ACEOF
47469 #define wxUSE_HELP 1
47472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47474 if test "$wxUSE_MSW" = 1; then
47475 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47476 cat >>confdefs.h <<\_ACEOF
47477 #define wxUSE_MS_HTML_HELP 1
47483 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47484 if test "$wxUSE_HTML" = "yes"; then
47485 cat >>confdefs.h <<\_ACEOF
47486 #define wxUSE_WXHTML_HELP 1
47490 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47491 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47492 wxUSE_WXHTML_HELP=no
47497 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47498 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47499 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47500 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47502 cat >>confdefs.h <<\_ACEOF
47503 #define wxUSE_PRINTING_ARCHITECTURE 1
47507 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47510 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47511 cat >>confdefs.h <<\_ACEOF
47512 #define wxUSE_POSTSCRIPT 1
47517 cat >>confdefs.h <<\_ACEOF
47518 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47522 cat >>confdefs.h <<\_ACEOF
47523 #define wxUSE_NORMALIZED_PS_FONTS 1
47527 if test "$wxUSE_SVG" = "yes"; then
47528 cat >>confdefs.h <<\_ACEOF
47529 #define wxUSE_SVG 1
47535 if test "$wxUSE_METAFILE" = "yes"; then
47536 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47537 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47538 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47544 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47545 -o "$wxUSE_CLIPBOARD" = "yes" \
47546 -o "$wxUSE_OLE" = "yes" \
47547 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47548 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47549 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47550 if test "${ac_cv_header_ole2_h+set}" = set; then
47551 echo $ECHO_N "(cached) $ECHO_C" >&6
47553 cat >conftest.$ac_ext <<_ACEOF
47556 cat confdefs.h >>conftest.$ac_ext
47557 cat >>conftest.$ac_ext <<_ACEOF
47558 /* end confdefs.h. */
47563 rm -f conftest.$ac_objext
47564 if { (ac_try="$ac_compile"
47565 case "(($ac_try" in
47566 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47567 *) ac_try_echo
=$ac_try;;
47569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47570 (eval "$ac_compile") 2>conftest.er1
47572 grep -v '^ *+' conftest.er1
>conftest.err
47574 cat conftest.err
>&5
47575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47576 (exit $ac_status); } && {
47577 test -z "$ac_c_werror_flag" ||
47578 test ! -s conftest.err
47579 } && test -s conftest.
$ac_objext; then
47580 ac_cv_header_ole2_h
=yes
47582 echo "$as_me: failed program was:" >&5
47583 sed 's/^/| /' conftest.
$ac_ext >&5
47585 ac_cv_header_ole2_h
=no
47588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47590 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47591 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47595 if test "$ac_cv_header_ole2_h" = "yes" ; then
47596 if test "$GCC" = yes ; then
47597 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47598 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47599 cat >conftest.
$ac_ext <<_ACEOF
47602 cat confdefs.h
>>conftest.
$ac_ext
47603 cat >>conftest.
$ac_ext <<_ACEOF
47604 /* end confdefs.h. */
47605 #include <windows.h>
47615 rm -f conftest.
$ac_objext
47616 if { (ac_try
="$ac_compile"
47617 case "(($ac_try" in
47618 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47619 *) ac_try_echo=$ac_try;;
47621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47622 (eval "$ac_compile") 2>conftest.er1
47624 grep -v '^ *+' conftest.er1 >conftest.err
47626 cat conftest.err >&5
47627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47628 (exit $ac_status); } && {
47629 test -z "$ac_c_werror_flag" ||
47630 test ! -s conftest.err
47631 } && test -s conftest.$ac_objext; then
47632 { echo "$as_me:$LINENO: result: no" >&5
47633 echo "${ECHO_T}no" >&6; }
47635 echo "$as_me: failed program was:" >&5
47636 sed 's/^/| /' conftest.$ac_ext >&5
47638 { echo "$as_me:$LINENO: result: yes" >&5
47639 echo "${ECHO_T}yes" >&6; }
47640 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47644 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47645 if test "$wxUSE_OLE" = "yes" ; then
47646 cat >>confdefs.h <<\_ACEOF
47647 #define wxUSE_OLE 1
47650 cat >>confdefs.h <<\_ACEOF
47651 #define wxUSE_OLE_AUTOMATION 1
47654 cat >>confdefs.h <<\_ACEOF
47655 #define wxUSE_ACTIVEX 1
47658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47662 if test "$wxUSE_DATAOBJ" = "yes" ; then
47663 cat >>confdefs.h <<\_ACEOF
47664 #define wxUSE_DATAOBJ 1
47669 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47670 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47673 wxUSE_DRAG_AND_DROP=no
47678 if test "$wxUSE_METAFILE" = "yes"; then
47679 cat >>confdefs.h <<\_ACEOF
47680 #define wxUSE_METAFILE 1
47684 cat >>confdefs.h <<\_ACEOF
47685 #define wxUSE_ENH_METAFILE 1
47691 if test "$wxUSE_IPC" = "yes"; then
47692 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47693 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47694 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47698 if test "$wxUSE_IPC" = "yes"; then
47699 cat >>confdefs.h <<\_ACEOF
47700 #define wxUSE_IPC 1
47703 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47707 if test "$wxUSE_DATAOBJ" = "yes"; then
47708 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47709 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47710 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47713 cat >>confdefs.h <<\_ACEOF
47714 #define wxUSE_DATAOBJ 1
47719 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47720 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47722 wxUSE_DRAG_AND_DROP=no
47725 if test "$wxUSE_CLIPBOARD" = "yes"; then
47726 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47727 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47728 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47732 if test "$wxUSE_CLIPBOARD" = "yes"; then
47733 cat >>confdefs.h <<\_ACEOF
47734 #define wxUSE_CLIPBOARD 1
47740 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47741 if test "$wxUSE_GTK" = 1; then
47742 if test "$WXGTK12" != 1; then
47743 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47744 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47745 wxUSE_DRAG_AND_DROP=no
47749 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47750 "$wxUSE_DFB" = 1; then
47751 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47752 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47753 wxUSE_DRAG_AND_DROP=no
47756 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47757 cat >>confdefs.h <<\_ACEOF
47758 #define wxUSE_DRAG_AND_DROP 1
47765 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47766 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47769 if test "$wxUSE_SPLINES" = "yes" ; then
47770 cat >>confdefs.h <<\_ACEOF
47771 #define wxUSE_SPLINES 1
47776 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47777 cat >>confdefs.h <<\_ACEOF
47778 #define wxUSE_MOUSEWHEEL 1
47785 if test "$wxUSE_CONTROLS" = "yes"; then
47789 if test "$wxUSE_ACCEL" = "yes"; then
47790 cat >>confdefs.h <<\_ACEOF
47791 #define wxUSE_ACCEL 1
47797 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47798 cat >>confdefs.h <<\_ACEOF
47799 #define wxUSE_ANIMATIONCTRL 1
47803 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47806 if test "$wxUSE_BUTTON" = "yes"; then
47807 cat >>confdefs.h <<\_ACEOF
47808 #define wxUSE_BUTTON 1
47814 if test "$wxUSE_BMPBUTTON" = "yes"; then
47815 cat >>confdefs.h <<\_ACEOF
47816 #define wxUSE_BMPBUTTON 1
47822 if test "$wxUSE_CALCTRL" = "yes"; then
47823 cat >>confdefs.h <<\_ACEOF
47824 #define wxUSE_CALENDARCTRL 1
47828 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47831 if test "$wxUSE_CARET" = "yes"; then
47832 cat >>confdefs.h <<\_ACEOF
47833 #define wxUSE_CARET 1
47837 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47840 if test "$wxUSE_COLLPANE" = "yes"; then
47841 cat >>confdefs.h <<\_ACEOF
47842 #define wxUSE_COLLPANE 1
47846 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47849 if test "$wxUSE_COMBOBOX" = "yes"; then
47850 cat >>confdefs.h <<\_ACEOF
47851 #define wxUSE_COMBOBOX 1
47857 if test "$wxUSE_COMBOCTRL" = "yes"; then
47858 cat >>confdefs.h <<\_ACEOF
47859 #define wxUSE_COMBOCTRL 1
47865 if test "$wxUSE_CHOICE" = "yes"; then
47866 cat >>confdefs.h <<\_ACEOF
47867 #define wxUSE_CHOICE 1
47873 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47874 cat >>confdefs.h <<\_ACEOF
47875 #define wxUSE_CHOICEBOOK 1
47881 if test "$wxUSE_CHECKBOX" = "yes"; then
47882 cat >>confdefs.h <<\_ACEOF
47883 #define wxUSE_CHECKBOX 1
47889 if test "$wxUSE_CHECKLST" = "yes"; then
47890 cat >>confdefs.h <<\_ACEOF
47891 #define wxUSE_CHECKLISTBOX 1
47895 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
47898 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47899 cat >>confdefs.h <<\_ACEOF
47900 #define wxUSE_COLOURPICKERCTRL 1
47906 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47907 cat >>confdefs.h <<\_ACEOF
47908 #define wxUSE_DATEPICKCTRL 1
47914 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47915 cat >>confdefs.h <<\_ACEOF
47916 #define wxUSE_DIRPICKERCTRL 1
47922 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47923 cat >>confdefs.h <<\_ACEOF
47924 #define wxUSE_FILEPICKERCTRL 1
47930 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47931 cat >>confdefs.h <<\_ACEOF
47932 #define wxUSE_FONTPICKERCTRL 1
47938 if test "$wxUSE_DISPLAY" = "yes"; then
47939 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47940 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47941 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47944 cat >>confdefs.h <<\_ACEOF
47945 #define wxUSE_DISPLAY 1
47948 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
47952 if test "$wxUSE_DETECT_SM" = "yes"; then
47953 cat >>confdefs.h <<\_ACEOF
47954 #define wxUSE_DETECT_SM 1
47959 if test "$wxUSE_GAUGE" = "yes"; then
47960 cat >>confdefs.h <<\_ACEOF
47961 #define wxUSE_GAUGE 1
47967 if test "$wxUSE_GRID" = "yes"; then
47968 cat >>confdefs.h <<\_ACEOF
47969 #define wxUSE_GRID 1
47973 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47976 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47977 cat >>confdefs.h <<\_ACEOF
47978 #define wxUSE_HYPERLINKCTRL 1
47984 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47985 cat >>confdefs.h <<\_ACEOF
47986 #define wxUSE_BITMAPCOMBOBOX 1
47992 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47993 cat >>confdefs.h <<\_ACEOF
47994 #define wxUSE_DATAVIEWCTRL 1
47998 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
48001 if test "$wxUSE_IMAGLIST" = "yes"; then
48002 cat >>confdefs.h <<\_ACEOF
48003 #define wxUSE_IMAGLIST 1
48008 if test "$wxUSE_LISTBOOK" = "yes"; then
48009 cat >>confdefs.h <<\_ACEOF
48010 #define wxUSE_LISTBOOK 1
48016 if test "$wxUSE_LISTBOX" = "yes"; then
48017 cat >>confdefs.h <<\_ACEOF
48018 #define wxUSE_LISTBOX 1
48022 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
48025 if test "$wxUSE_LISTCTRL" = "yes"; then
48026 if test "$wxUSE_IMAGLIST" = "yes"; then
48027 cat >>confdefs.h <<\_ACEOF
48028 #define wxUSE_LISTCTRL 1
48032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48034 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48035 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48039 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48040 cat >>confdefs.h <<\_ACEOF
48041 #define wxUSE_EDITABLELISTBOX 1
48045 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48048 if test "$wxUSE_NOTEBOOK" = "yes"; then
48049 cat >>confdefs.h <<\_ACEOF
48050 #define wxUSE_NOTEBOOK 1
48054 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48057 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48058 cat >>confdefs.h <<\_ACEOF
48059 #define wxUSE_ODCOMBOBOX 1
48063 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48067 if test "$wxUSE_RADIOBOX" = "yes"; then
48068 cat >>confdefs.h <<\_ACEOF
48069 #define wxUSE_RADIOBOX 1
48075 if test "$wxUSE_RADIOBTN" = "yes"; then
48076 cat >>confdefs.h <<\_ACEOF
48077 #define wxUSE_RADIOBTN 1
48083 if test "$wxUSE_SASH" = "yes"; then
48084 cat >>confdefs.h <<\_ACEOF
48085 #define wxUSE_SASH 1
48088 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48091 if test "$wxUSE_SCROLLBAR" = "yes"; then
48092 cat >>confdefs.h <<\_ACEOF
48093 #define wxUSE_SCROLLBAR 1
48097 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48100 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48101 cat >>confdefs.h <<\_ACEOF
48102 #define wxUSE_SEARCHCTRL 1
48108 if test "$wxUSE_SLIDER" = "yes"; then
48109 cat >>confdefs.h <<\_ACEOF
48110 #define wxUSE_SLIDER 1
48116 if test "$wxUSE_SPINBTN" = "yes"; then
48117 cat >>confdefs.h <<\_ACEOF
48118 #define wxUSE_SPINBTN 1
48124 if test "$wxUSE_SPINCTRL" = "yes"; then
48125 cat >>confdefs.h <<\_ACEOF
48126 #define wxUSE_SPINCTRL 1
48132 if test "$wxUSE_SPLITTER" = "yes"; then
48133 cat >>confdefs.h <<\_ACEOF
48134 #define wxUSE_SPLITTER 1
48137 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48140 if test "$wxUSE_STATBMP" = "yes"; then
48141 cat >>confdefs.h <<\_ACEOF
48142 #define wxUSE_STATBMP 1
48148 if test "$wxUSE_STATBOX" = "yes"; then
48149 cat >>confdefs.h <<\_ACEOF
48150 #define wxUSE_STATBOX 1
48156 if test "$wxUSE_STATTEXT" = "yes"; then
48157 cat >>confdefs.h <<\_ACEOF
48158 #define wxUSE_STATTEXT 1
48164 if test "$wxUSE_STATLINE" = "yes"; then
48165 cat >>confdefs.h <<\_ACEOF
48166 #define wxUSE_STATLINE 1
48172 if test "$wxUSE_STATUSBAR" = "yes"; then
48173 cat >>confdefs.h <<\_ACEOF
48174 #define wxUSE_NATIVE_STATUSBAR 1
48177 cat >>confdefs.h <<\_ACEOF
48178 #define wxUSE_STATUSBAR 1
48183 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48186 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48187 cat >>confdefs.h <<\_ACEOF
48188 #define wxUSE_TAB_DIALOG 1
48193 if test "$wxUSE_TEXTCTRL" = "yes"; then
48194 cat >>confdefs.h <<\_ACEOF
48195 #define wxUSE_TEXTCTRL 1
48199 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48202 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48203 if test "$wxUSE_COCOA" = 1 ; then
48204 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48205 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48209 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48210 cat >>confdefs.h <<\_ACEOF
48211 #define wxUSE_TOGGLEBTN 1
48218 if test "$wxUSE_TOOLBAR" = "yes"; then
48219 cat >>confdefs.h <<\_ACEOF
48220 #define wxUSE_TOOLBAR 1
48225 if test "$wxUSE_UNIVERSAL" = "yes"; then
48226 wxUSE_TOOLBAR_NATIVE="no"
48228 wxUSE_TOOLBAR_NATIVE="yes"
48229 cat >>confdefs.h <<\_ACEOF
48230 #define wxUSE_TOOLBAR_NATIVE 1
48235 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48238 if test "$wxUSE_TOOLTIPS" = "yes"; then
48239 if test "$wxUSE_MOTIF" = 1; then
48240 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48241 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48243 if test "$wxUSE_UNIVERSAL" = "yes"; then
48244 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48245 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48247 cat >>confdefs.h <<\_ACEOF
48248 #define wxUSE_TOOLTIPS 1
48255 if test "$wxUSE_TREEBOOK" = "yes"; then
48256 cat >>confdefs.h <<\_ACEOF
48257 #define wxUSE_TREEBOOK 1
48263 if test "$wxUSE_TOOLBOOK" = "yes"; then
48264 cat >>confdefs.h <<\_ACEOF
48265 #define wxUSE_TOOLBOOK 1
48271 if test "$wxUSE_TREECTRL" = "yes"; then
48272 if test "$wxUSE_IMAGLIST" = "yes"; then
48273 cat >>confdefs.h <<\_ACEOF
48274 #define wxUSE_TREECTRL 1
48278 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48280 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48281 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48285 if test "$wxUSE_POPUPWIN" = "yes"; then
48286 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48287 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48288 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48290 if test "$wxUSE_PM" = 1; then
48291 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48292 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48294 cat >>confdefs.h <<\_ACEOF
48295 #define wxUSE_POPUPWIN 1
48298 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48305 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48306 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48307 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48308 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48310 cat >>confdefs.h <<\_ACEOF
48311 #define wxUSE_DIALUP_MANAGER 1
48314 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48318 if test "$wxUSE_TIPWINDOW" = "yes"; then
48319 if test "$wxUSE_PM" = 1; then
48320 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48321 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48323 cat >>confdefs.h <<\_ACEOF
48324 #define wxUSE_TIPWINDOW 1
48330 if test "$USES_CONTROLS" = 1; then
48331 cat >>confdefs.h <<\_ACEOF
48332 #define wxUSE_CONTROLS 1
48338 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48339 cat >>confdefs.h <<\_ACEOF
48340 #define wxUSE_ACCESSIBILITY 1
48343 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48346 if test "$wxUSE_DC_CACHEING" = "yes"; then
48347 cat >>confdefs.h <<\_ACEOF
48348 #define wxUSE_DC_CACHEING 1
48353 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48354 cat >>confdefs.h <<\_ACEOF
48355 #define wxUSE_DRAGIMAGE 1
48358 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48361 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48362 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48363 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48364 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48366 cat >>confdefs.h <<\_ACEOF
48367 #define wxUSE_EXCEPTIONS 1
48370 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48375 if test "$wxUSE_HTML" = "yes"; then
48376 cat >>confdefs.h <<\_ACEOF
48377 #define wxUSE_HTML 1
48381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48382 if test "$wxUSE_MAC" = 1; then
48383 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48386 if test "$wxUSE_WEBKIT" = "yes"; then
48387 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48388 old_CPPFLAGS="$CPPFLAGS"
48389 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48390 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48391 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48392 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48393 echo $ECHO_N "(cached) $ECHO_C" >&6
48395 cat >conftest.$ac_ext <<_ACEOF
48398 cat confdefs.h >>conftest.$ac_ext
48399 cat >>conftest.$ac_ext <<_ACEOF
48400 /* end confdefs.h. */
48402 #include <Carbon/Carbon.h>
48403 #include <WebKit/WebKit.h>
48406 #include <WebKit/HIWebView.h>
48408 rm -f conftest.$ac_objext
48409 if { (ac_try="$ac_compile"
48410 case "(($ac_try" in
48411 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48412 *) ac_try_echo
=$ac_try;;
48414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48415 (eval "$ac_compile") 2>conftest.er1
48417 grep -v '^ *+' conftest.er1
>conftest.err
48419 cat conftest.err
>&5
48420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48421 (exit $ac_status); } && {
48422 test -z "$ac_c_werror_flag" ||
48423 test ! -s conftest.err
48424 } && test -s conftest.
$ac_objext; then
48425 ac_cv_header_WebKit_HIWebView_h
=yes
48427 echo "$as_me: failed program was:" >&5
48428 sed 's/^/| /' conftest.
$ac_ext >&5
48430 ac_cv_header_WebKit_HIWebView_h
=no
48433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48435 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48436 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48437 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48439 cat >>confdefs.h
<<\_ACEOF
48440 #define wxUSE_WEBKIT 1
48443 WEBKIT_LINK
="-framework WebKit"
48447 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48448 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48454 CPPFLAGS
="$old_CPPFLAGS"
48455 elif test "$wxUSE_COCOA" = 1; then
48456 cat >>confdefs.h
<<\_ACEOF
48457 #define wxUSE_WEBKIT 1
48466 if test "$wxUSE_XRC" = "yes"; then
48467 if test "$wxUSE_XML" != "yes"; then
48468 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48469 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48472 cat >>confdefs.h
<<\_ACEOF
48473 #define wxUSE_XRC 1
48477 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
48482 if test "$wxUSE_AUI" = "yes"; then
48483 cat >>confdefs.h
<<\_ACEOF
48484 #define wxUSE_AUI 1
48488 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
48492 if test "$wxUSE_STC" = "yes"; then
48493 cat >>confdefs.h
<<\_ACEOF
48494 #define wxUSE_STC 1
48498 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
48501 if test "$wxUSE_MENUS" = "yes"; then
48502 cat >>confdefs.h
<<\_ACEOF
48503 #define wxUSE_MENUS 1
48506 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
48509 if test "$wxUSE_METAFILE" = "yes"; then
48510 cat >>confdefs.h
<<\_ACEOF
48511 #define wxUSE_METAFILE 1
48516 if test "$wxUSE_MIMETYPE" = "yes"; then
48517 cat >>confdefs.h
<<\_ACEOF
48518 #define wxUSE_MIMETYPE 1
48523 if test "$wxUSE_MINIFRAME" = "yes"; then
48524 cat >>confdefs.h
<<\_ACEOF
48525 #define wxUSE_MINIFRAME 1
48528 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
48531 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48532 cat >>confdefs.h
<<\_ACEOF
48533 #define wxUSE_SYSTEM_OPTIONS 1
48538 if test "$wxUSE_TASKBARICON" = "yes"; then
48539 cat >>confdefs.h
<<\_ACEOF
48540 #define wxUSE_TASKBARICON 1
48543 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
48547 if test "$wxUSE_VALIDATORS" = "yes"; then
48548 cat >>confdefs.h
<<\_ACEOF
48549 #define wxUSE_VALIDATORS 1
48552 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
48555 if test "$wxUSE_PALETTE" = "yes" ; then
48556 if test "$wxUSE_DFB" = 1; then
48557 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48558 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48561 cat >>confdefs.h
<<\_ACEOF
48562 #define wxUSE_PALETTE 1
48568 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48569 LIBS
=" -lunicows $LIBS"
48573 if test "$wxUSE_RICHTEXT" = "yes"; then
48574 cat >>confdefs.h
<<\_ACEOF
48575 #define wxUSE_RICHTEXT 1
48579 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
48583 if test "$wxUSE_IMAGE" = "yes" ; then
48584 cat >>confdefs.h
<<\_ACEOF
48585 #define wxUSE_IMAGE 1
48589 if test "$wxUSE_GIF" = "yes" ; then
48590 cat >>confdefs.h
<<\_ACEOF
48591 #define wxUSE_GIF 1
48596 if test "$wxUSE_PCX" = "yes" ; then
48597 cat >>confdefs.h
<<\_ACEOF
48598 #define wxUSE_PCX 1
48603 if test "$wxUSE_TGA" = "yes" ; then
48604 cat >>confdefs.h
<<\_ACEOF
48605 #define wxUSE_TGA 1
48610 if test "$wxUSE_IFF" = "yes" ; then
48611 cat >>confdefs.h
<<\_ACEOF
48612 #define wxUSE_IFF 1
48617 if test "$wxUSE_PNM" = "yes" ; then
48618 cat >>confdefs.h
<<\_ACEOF
48619 #define wxUSE_PNM 1
48624 if test "$wxUSE_XPM" = "yes" ; then
48625 cat >>confdefs.h
<<\_ACEOF
48626 #define wxUSE_XPM 1
48631 if test "$wxUSE_ICO_CUR" = "yes" ; then
48632 cat >>confdefs.h
<<\_ACEOF
48633 #define wxUSE_ICO_CUR 1
48640 if test "$wxUSE_ABOUTDLG" = "yes"; then
48641 cat >>confdefs.h
<<\_ACEOF
48642 #define wxUSE_ABOUTDLG 1
48647 if test "$wxUSE_CHOICEDLG" = "yes"; then
48648 cat >>confdefs.h
<<\_ACEOF
48649 #define wxUSE_CHOICEDLG 1
48654 if test "$wxUSE_COLOURDLG" = "yes"; then
48655 cat >>confdefs.h
<<\_ACEOF
48656 #define wxUSE_COLOURDLG 1
48661 if test "$wxUSE_FILEDLG" = "yes"; then
48662 cat >>confdefs.h
<<\_ACEOF
48663 #define wxUSE_FILEDLG 1
48668 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48669 cat >>confdefs.h
<<\_ACEOF
48670 #define wxUSE_FINDREPLDLG 1
48675 if test "$wxUSE_FONTDLG" = "yes"; then
48676 cat >>confdefs.h
<<\_ACEOF
48677 #define wxUSE_FONTDLG 1
48682 if test "$wxUSE_DIRDLG" = "yes"; then
48683 if test "$wxUSE_TREECTRL" != "yes"; then
48684 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48685 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48687 cat >>confdefs.h
<<\_ACEOF
48688 #define wxUSE_DIRDLG 1
48694 if test "$wxUSE_MSGDLG" = "yes"; then
48695 cat >>confdefs.h
<<\_ACEOF
48696 #define wxUSE_MSGDLG 1
48701 if test "$wxUSE_NUMBERDLG" = "yes"; then
48702 cat >>confdefs.h
<<\_ACEOF
48703 #define wxUSE_NUMBERDLG 1
48708 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48709 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48710 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48711 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48713 cat >>confdefs.h
<<\_ACEOF
48714 #define wxUSE_PROGRESSDLG 1
48720 if test "$wxUSE_SPLASH" = "yes"; then
48721 cat >>confdefs.h
<<\_ACEOF
48722 #define wxUSE_SPLASH 1
48725 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
48728 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48729 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48730 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48731 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48733 cat >>confdefs.h
<<\_ACEOF
48734 #define wxUSE_STARTUP_TIPS 1
48740 if test "$wxUSE_TEXTDLG" = "yes"; then
48741 cat >>confdefs.h
<<\_ACEOF
48742 #define wxUSE_TEXTDLG 1
48747 if test "$wxUSE_WIZARDDLG" = "yes"; then
48748 cat >>confdefs.h
<<\_ACEOF
48749 #define wxUSE_WIZARDDLG 1
48752 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
48756 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48757 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48758 cat >>confdefs.h
<<\_ACEOF
48759 #define wxUSE_GRAPHICS_CONTEXT 1
48762 elif test "$wxUSE_GTK" != 1; then
48763 cat >>confdefs.h
<<\_ACEOF
48764 #define wxUSE_GRAPHICS_CONTEXT 1
48770 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48771 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48773 if test -n "$PKG_CONFIG"; then
48774 if test -n "$CAIRO_CFLAGS"; then
48775 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
48777 if test -n "$PKG_CONFIG" && \
48778 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48779 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48782 (exit $ac_status); }; then
48783 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48791 if test -n "$PKG_CONFIG"; then
48792 if test -n "$CAIRO_LIBS"; then
48793 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
48795 if test -n "$PKG_CONFIG" && \
48796 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48797 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48800 (exit $ac_status); }; then
48801 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48812 if test $pkg_failed = yes; then
48814 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48815 _pkg_short_errors_supported
=yes
48817 _pkg_short_errors_supported
=no
48819 if test $_pkg_short_errors_supported = yes; then
48820 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48822 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48824 # Put the nasty error message in config.log where it belongs
48825 echo "$CAIRO_PKG_ERRORS" >&5
48827 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48828 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48830 elif test $pkg_failed = untried
; then
48831 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48832 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48835 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
48836 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
48837 { echo "$as_me:$LINENO: result: yes" >&5
48838 echo "${ECHO_T}yes" >&6; }
48839 cat >>confdefs.h
<<\_ACEOF
48840 #define wxUSE_GRAPHICS_CONTEXT 1
48850 if test "$wxUSE_MEDIACTRL" = "yes"; then
48853 if test "$wxUSE_GTK" = 1; then
48854 wxUSE_GSTREAMER
="no"
48856 GST_VERSION_MAJOR
=0
48857 GST_VERSION_MINOR
=10
48858 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48860 if test "$wxUSE_GSTREAMER8" = "no"; then
48863 { echo "$as_me:$LINENO: checking for GST" >&5
48864 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48866 if test -n "$PKG_CONFIG"; then
48867 if test -n "$GST_CFLAGS"; then
48868 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48870 if test -n "$PKG_CONFIG" && \
48871 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48872 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48875 (exit $ac_status); }; then
48876 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48884 if test -n "$PKG_CONFIG"; then
48885 if test -n "$GST_LIBS"; then
48886 pkg_cv_GST_LIBS
="$GST_LIBS"
48888 if test -n "$PKG_CONFIG" && \
48889 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48890 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48893 (exit $ac_status); }; then
48894 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48905 if test $pkg_failed = yes; then
48907 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48908 _pkg_short_errors_supported
=yes
48910 _pkg_short_errors_supported
=no
48912 if test $_pkg_short_errors_supported = yes; then
48913 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48915 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48917 # Put the nasty error message in config.log where it belongs
48918 echo "$GST_PKG_ERRORS" >&5
48921 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48922 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48923 GST_VERSION_MINOR
=8
48926 elif test $pkg_failed = untried
; then
48928 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48929 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48930 GST_VERSION_MINOR
=8
48934 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
48935 GST_LIBS
=$pkg_cv_GST_LIBS
48936 { echo "$as_me:$LINENO: result: yes" >&5
48937 echo "${ECHO_T}yes" >&6; }
48939 wxUSE_GSTREAMER
="yes"
48940 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48944 GST_VERSION_MINOR
=8
48947 if test $GST_VERSION_MINOR = "8"; then
48948 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48951 { echo "$as_me:$LINENO: checking for GST" >&5
48952 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48954 if test -n "$PKG_CONFIG"; then
48955 if test -n "$GST_CFLAGS"; then
48956 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48958 if test -n "$PKG_CONFIG" && \
48959 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48960 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48963 (exit $ac_status); }; then
48964 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48972 if test -n "$PKG_CONFIG"; then
48973 if test -n "$GST_LIBS"; then
48974 pkg_cv_GST_LIBS
="$GST_LIBS"
48976 if test -n "$PKG_CONFIG" && \
48977 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48978 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48981 (exit $ac_status); }; then
48982 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48993 if test $pkg_failed = yes; then
48995 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48996 _pkg_short_errors_supported
=yes
48998 _pkg_short_errors_supported
=no
49000 if test $_pkg_short_errors_supported = yes; then
49001 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49003 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49005 # Put the nasty error message in config.log where it belongs
49006 echo "$GST_PKG_ERRORS" >&5
49009 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49010 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49012 elif test $pkg_failed = untried
; then
49014 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49015 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49018 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
49019 GST_LIBS
=$pkg_cv_GST_LIBS
49020 { echo "$as_me:$LINENO: result: yes" >&5
49021 echo "${ECHO_T}yes" >&6; }
49022 wxUSE_GSTREAMER
="yes"
49027 if test "$wxUSE_GSTREAMER" = "yes"; then
49028 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
49029 LIBS
="$GST_LIBS $LIBS"
49031 cat >>confdefs.h
<<\_ACEOF
49032 #define wxUSE_GSTREAMER 1
49040 if test $USE_MEDIA = 1; then
49041 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
49042 cat >>confdefs.h
<<\_ACEOF
49043 #define wxUSE_MEDIACTRL 1
49050 if test "$cross_compiling" = "yes"; then
49053 OSINFO
=`uname -s -r -m`
49054 OSINFO
="\"$OSINFO\""
49057 cat >>confdefs.h
<<_ACEOF
49058 #define WXWIN_OS_DESCRIPTION $OSINFO
49063 if test "x$prefix" != "xNONE"; then
49066 wxPREFIX
=$ac_default_prefix
49069 cat >>confdefs.h
<<_ACEOF
49070 #define wxINSTALL_PREFIX "$wxPREFIX"
49076 STD_BASE_LIBS
="base"
49078 BUILT_WX_LIBS
="base"
49079 ALL_WX_LIBS
="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49081 if test "$wxUSE_SOCKETS" = "yes" ; then
49082 STD_BASE_LIBS
="net $STD_BASE_LIBS"
49083 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
49085 if test "$wxUSE_ODBC" != "no" ; then
49086 BUILT_WX_LIBS
="odbc $BUILT_WX_LIBS"
49088 if test "$wxUSE_XML" = "yes" ; then
49089 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
49090 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
49093 if test "$wxUSE_GUI" = "yes"; then
49094 STD_GUI_LIBS
="adv core"
49095 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
49097 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49098 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
49099 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
49101 if test "$wxUSE_ODBC" != "no" ; then
49102 BUILT_WX_LIBS
="dbgrid $BUILT_WX_LIBS"
49104 if test "$wxUSE_HTML" = "yes" ; then
49105 STD_GUI_LIBS
="html $STD_GUI_LIBS"
49106 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
49108 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49109 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
49111 if test "$wxUSE_OPENGL" = "yes" ; then
49112 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
49114 if test "$wxUSE_AUI" = "yes" ; then
49115 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
49117 if test "$wxUSE_STC" = "yes" ; then
49118 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
49120 if test "$wxUSE_XRC" = "yes" ; then
49121 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
49122 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
49133 if test "$wxUSE_MAC" = 1 ; then
49134 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49135 if test "$USE_DARWIN" = 1; then
49136 LDFLAGS
="$LDFLAGS -framework QuickTime"
49138 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
49141 if test "$USE_DARWIN" = 1; then
49142 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49144 LDFLAGS
="$LDFLAGS -lCarbonLib"
49147 if test "$wxUSE_COCOA" = 1 ; then
49148 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
49149 if test "$wxUSE_MEDIACTRL" = "yes"; then
49150 LDFLAGS
="$LDFLAGS -framework QuickTime"
49153 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49154 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49157 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49159 if test "$wxUSE_GUI" = "yes"; then
49162 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49163 dynamic erase event exec font image minimal mobile \
49164 mobile/wxedit mobile/styles propsize render \
49165 rotate shaped svg taborder vscroll widgets"
49167 if test "$wxUSE_MONOLITHIC" != "yes"; then
49168 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
49170 if test "$TOOLKIT" = "MSW"; then
49171 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
49172 if test "$wxUSE_UNIVERSAL" != "yes"; then
49173 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49176 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49177 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
49180 SAMPLES_SUBDIRS
="console"
49184 if test "x$INTELCC" = "xyes" ; then
49185 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
49186 elif test "$GCC" = yes ; then
49187 CWARNINGS
="-Wall -Wundef"
49190 if test "x$INTELCXX" = "xyes" ; then
49191 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
49192 elif test "$GXX" = yes ; then
49193 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
49197 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
49198 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49201 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
49202 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49203 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49206 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49207 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49208 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49210 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49213 if test "x$MWCC" = "xyes"; then
49215 CC
="$CC -cwd source -I-"
49216 CXX
="$CXX -cwd source -I-"
49221 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49222 EXTRALIBS_XML
="$EXPAT_LINK"
49223 EXTRALIBS_HTML
="$MSPACK_LINK"
49224 EXTRALIBS_ODBC
="$ODBC_LINK"
49225 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49226 if test "$wxUSE_GUI" = "yes"; then
49227 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49229 if test "$wxUSE_OPENGL" = "yes"; then
49230 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
49233 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
49235 WXCONFIG_LIBS
="$LIBS"
49237 if test "$wxUSE_REGEX" = "builtin" ; then
49238 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49240 if test "$wxUSE_EXPAT" = "builtin" ; then
49241 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
49243 if test "$wxUSE_ODBC" = "builtin" ; then
49244 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
49246 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49247 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
49249 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49250 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
49252 if test "$wxUSE_LIBPNG" = "builtin" ; then
49253 wxconfig_3rdparty
="png $wxconfig_3rdparty"
49255 if test "$wxUSE_ZLIB" = "builtin" ; then
49256 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
49259 for i
in $wxconfig_3rdparty ; do
49260 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49264 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49267 case "$wxUNIV_THEMES" in
49269 cat >>confdefs.h
<<\_ACEOF
49270 #define wxUSE_ALL_THEMES 1
49276 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49277 cat >>confdefs.h
<<_ACEOF
49278 #define wxUSE_THEME_$t 1
49295 if test $wxUSE_MONOLITHIC = "yes" ; then
49301 if test $wxUSE_PLUGINS = "yes" ; then
49307 if test $wxUSE_ODBC != "no" ; then
49313 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49319 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49350 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49361 TOOLKIT_DESC
="GTK+"
49362 if test "$WXGTK20" = 1; then
49363 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
49364 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49365 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
49367 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49368 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
49370 if test "$wxUSE_LIBHILDON" = "yes"; then
49371 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
49374 if test "$TOOLKIT_EXTRA" != ""; then
49375 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49381 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
49385 TOOLKIT_DESC
="base only"
49389 if test "$wxUSE_WINE" = "yes"; then
49390 BAKEFILE_FORCE_PLATFORM
=win32
49393 if test "$wxUSE_MAC" = 1 ; then
49394 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
49395 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
49396 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
49398 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
49400 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
49401 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
49402 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
49403 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
49406 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
49407 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
49410 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49412 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49413 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49414 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49415 echo $ECHO_N "(cached) $ECHO_C" >&6
49418 echo '#include <stdio.h>
49419 const wchar_t test_var[] = L"awidetest";' > conftest.h
49421 echo '#include "conftest.h"
49424 printf("%ls", test_var);
49428 wx_cv_gcc_pch_bug
="pch not supported"
49430 if $CXX conftest.h
>/dev
/null
2>&1
49434 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
49436 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
49437 grep awidetest
>/dev
/null
49439 wx_cv_gcc_pch_bug
=no
49441 wx_cv_gcc_pch_bug
=yes
49446 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
49449 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49450 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49452 if test "$wx_cv_gcc_pch_bug" = yes; then
49460 if test "x$BAKEFILE_HOST" = "x"; then
49461 if test "x${host}" = "x" ; then
49462 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49463 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49464 { (exit 1); exit 1; }; }
49467 BAKEFILE_HOST
="${host}"
49470 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49472 if test -n "$ac_tool_prefix"; then
49473 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49474 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
49475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49477 if test "${ac_cv_prog_RANLIB+set}" = set; then
49478 echo $ECHO_N "(cached) $ECHO_C" >&6
49480 if test -n "$RANLIB"; then
49481 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
49483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49484 for as_dir
in $PATH
49487 test -z "$as_dir" && as_dir
=.
49488 for ac_exec_ext
in '' $ac_executable_extensions; do
49489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49490 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
49491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49500 RANLIB
=$ac_cv_prog_RANLIB
49501 if test -n "$RANLIB"; then
49502 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49503 echo "${ECHO_T}$RANLIB" >&6; }
49505 { echo "$as_me:$LINENO: result: no" >&5
49506 echo "${ECHO_T}no" >&6; }
49511 if test -z "$ac_cv_prog_RANLIB"; then
49512 ac_ct_RANLIB
=$RANLIB
49513 # Extract the first word of "ranlib", so it can be a program name with args.
49514 set dummy ranlib
; ac_word
=$2
49515 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49517 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49518 echo $ECHO_N "(cached) $ECHO_C" >&6
49520 if test -n "$ac_ct_RANLIB"; then
49521 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
49523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49524 for as_dir
in $PATH
49527 test -z "$as_dir" && as_dir
=.
49528 for ac_exec_ext
in '' $ac_executable_extensions; do
49529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49530 ac_cv_prog_ac_ct_RANLIB
="ranlib"
49531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49540 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
49541 if test -n "$ac_ct_RANLIB"; then
49542 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49543 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49545 { echo "$as_me:$LINENO: result: no" >&5
49546 echo "${ECHO_T}no" >&6; }
49549 if test "x$ac_ct_RANLIB" = x
; then
49552 case $cross_compiling:$ac_tool_warned in
49554 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49555 whose name does not start with the host triplet. If you think this
49556 configuration is useful to you, please write to autoconf@gnu.org." >&5
49557 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49558 whose name does not start with the host triplet. If you think this
49559 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49560 ac_tool_warned
=yes ;;
49562 RANLIB
=$ac_ct_RANLIB
49565 RANLIB
="$ac_cv_prog_RANLIB"
49568 # Find a good install program. We prefer a C program (faster),
49569 # so one script is as good as another. But avoid the broken or
49570 # incompatible versions:
49571 # SysV /etc/install, /usr/sbin/install
49572 # SunOS /usr/etc/install
49573 # IRIX /sbin/install
49575 # AmigaOS /C/install, which installs bootblocks on floppy discs
49576 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49577 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49578 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49579 # OS/2's system install, which has a completely different semantic
49580 # ./install, which can be erroneously created by make from ./install.sh.
49581 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49582 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49583 if test -z "$INSTALL"; then
49584 if test "${ac_cv_path_install+set}" = set; then
49585 echo $ECHO_N "(cached) $ECHO_C" >&6
49587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49588 for as_dir
in $PATH
49591 test -z "$as_dir" && as_dir
=.
49592 # Account for people who put trailing slashes in PATH elements.
49594 .
/ | .
// | /cC
/* | \
49595 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
49596 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
49599 # OSF1 and SCO ODT 3.0 have their own names for install.
49600 # Don't use installbsd from OSF since it installs stuff as root
49602 for ac_prog
in ginstall scoinst
install; do
49603 for ac_exec_ext
in '' $ac_executable_extensions; do
49604 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49605 if test $ac_prog = install &&
49606 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49607 # AIX install. It has an incompatible calling convention.
49609 elif test $ac_prog = install &&
49610 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49611 # program-specific install script used by HP pwplus--don't use.
49614 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
49627 if test "${ac_cv_path_install+set}" = set; then
49628 INSTALL
=$ac_cv_path_install
49630 # As a last resort, use the slow shell script. Don't cache a
49631 # value for INSTALL within a source directory, because that will
49632 # break other packages using the cache if that directory is
49633 # removed, or if the value is a relative name.
49634 INSTALL
=$ac_install_sh
49637 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49638 echo "${ECHO_T}$INSTALL" >&6; }
49640 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49641 # It thinks the first close brace ends the variable substitution.
49642 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
49644 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
49646 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
49648 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49649 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49651 if test "$LN_S" = "ln -s"; then
49652 { echo "$as_me:$LINENO: result: yes" >&5
49653 echo "${ECHO_T}yes" >&6; }
49655 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49656 echo "${ECHO_T}no, using $LN_S" >&6; }
49660 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49661 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49662 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49663 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
49664 echo $ECHO_N "(cached) $ECHO_C" >&6
49666 cat >conftest.
make <<\_ACEOF
49669 @
echo '@@@%%%=$(MAKE)=@@@%%%'
49671 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49672 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49673 *@@@
%%%=?
*=@@@
%%%*)
49674 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
49676 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
49678 rm -f conftest.
make
49680 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
49681 { echo "$as_me:$LINENO: result: yes" >&5
49682 echo "${ECHO_T}yes" >&6; }
49685 { echo "$as_me:$LINENO: result: no" >&5
49686 echo "${ECHO_T}no" >&6; }
49687 SET_MAKE
="MAKE=${MAKE-make}"
49692 if test "x$SUNCXX" = "xyes"; then
49694 AROPTIONS
="-xar -o"
49696 elif test "x$SGICC" = "xyes"; then
49701 if test -n "$ac_tool_prefix"; then
49702 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49703 set dummy
${ac_tool_prefix}ar; ac_word
=$2
49704 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49706 if test "${ac_cv_prog_AR+set}" = set; then
49707 echo $ECHO_N "(cached) $ECHO_C" >&6
49709 if test -n "$AR"; then
49710 ac_cv_prog_AR
="$AR" # Let the user override the test.
49712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49713 for as_dir
in $PATH
49716 test -z "$as_dir" && as_dir
=.
49717 for ac_exec_ext
in '' $ac_executable_extensions; do
49718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49719 ac_cv_prog_AR
="${ac_tool_prefix}ar"
49720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49730 if test -n "$AR"; then
49731 { echo "$as_me:$LINENO: result: $AR" >&5
49732 echo "${ECHO_T}$AR" >&6; }
49734 { echo "$as_me:$LINENO: result: no" >&5
49735 echo "${ECHO_T}no" >&6; }
49740 if test -z "$ac_cv_prog_AR"; then
49742 # Extract the first word of "ar", so it can be a program name with args.
49743 set dummy
ar; ac_word
=$2
49744 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49746 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49747 echo $ECHO_N "(cached) $ECHO_C" >&6
49749 if test -n "$ac_ct_AR"; then
49750 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
49752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49753 for as_dir
in $PATH
49756 test -z "$as_dir" && as_dir
=.
49757 for ac_exec_ext
in '' $ac_executable_extensions; do
49758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49759 ac_cv_prog_ac_ct_AR
="ar"
49760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49769 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
49770 if test -n "$ac_ct_AR"; then
49771 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49772 echo "${ECHO_T}$ac_ct_AR" >&6; }
49774 { echo "$as_me:$LINENO: result: no" >&5
49775 echo "${ECHO_T}no" >&6; }
49778 if test "x$ac_ct_AR" = x
; then
49781 case $cross_compiling:$ac_tool_warned in
49783 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49784 whose name does not start with the host triplet. If you think this
49785 configuration is useful to you, please write to autoconf@gnu.org." >&5
49786 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49787 whose name does not start with the host triplet. If you think this
49788 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49789 ac_tool_warned
=yes ;;
49794 AR
="$ac_cv_prog_AR"
49801 if test -n "$ac_tool_prefix"; then
49802 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49803 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
49804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49806 if test "${ac_cv_prog_STRIP+set}" = set; then
49807 echo $ECHO_N "(cached) $ECHO_C" >&6
49809 if test -n "$STRIP"; then
49810 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
49812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49813 for as_dir
in $PATH
49816 test -z "$as_dir" && as_dir
=.
49817 for ac_exec_ext
in '' $ac_executable_extensions; do
49818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49819 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
49820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49829 STRIP
=$ac_cv_prog_STRIP
49830 if test -n "$STRIP"; then
49831 { echo "$as_me:$LINENO: result: $STRIP" >&5
49832 echo "${ECHO_T}$STRIP" >&6; }
49834 { echo "$as_me:$LINENO: result: no" >&5
49835 echo "${ECHO_T}no" >&6; }
49840 if test -z "$ac_cv_prog_STRIP"; then
49842 # Extract the first word of "strip", so it can be a program name with args.
49843 set dummy strip
; ac_word
=$2
49844 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49846 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49847 echo $ECHO_N "(cached) $ECHO_C" >&6
49849 if test -n "$ac_ct_STRIP"; then
49850 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
49852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49853 for as_dir
in $PATH
49856 test -z "$as_dir" && as_dir
=.
49857 for ac_exec_ext
in '' $ac_executable_extensions; do
49858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49859 ac_cv_prog_ac_ct_STRIP
="strip"
49860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49869 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
49870 if test -n "$ac_ct_STRIP"; then
49871 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49872 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49874 { echo "$as_me:$LINENO: result: no" >&5
49875 echo "${ECHO_T}no" >&6; }
49878 if test "x$ac_ct_STRIP" = x
; then
49881 case $cross_compiling:$ac_tool_warned in
49883 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49884 whose name does not start with the host triplet. If you think this
49885 configuration is useful to you, please write to autoconf@gnu.org." >&5
49886 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49887 whose name does not start with the host triplet. If you think this
49888 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49889 ac_tool_warned
=yes ;;
49894 STRIP
="$ac_cv_prog_STRIP"
49897 if test -n "$ac_tool_prefix"; then
49898 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49899 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
49900 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49902 if test "${ac_cv_prog_NM+set}" = set; then
49903 echo $ECHO_N "(cached) $ECHO_C" >&6
49905 if test -n "$NM"; then
49906 ac_cv_prog_NM
="$NM" # Let the user override the test.
49908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49909 for as_dir
in $PATH
49912 test -z "$as_dir" && as_dir
=.
49913 for ac_exec_ext
in '' $ac_executable_extensions; do
49914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49915 ac_cv_prog_NM
="${ac_tool_prefix}nm"
49916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49926 if test -n "$NM"; then
49927 { echo "$as_me:$LINENO: result: $NM" >&5
49928 echo "${ECHO_T}$NM" >&6; }
49930 { echo "$as_me:$LINENO: result: no" >&5
49931 echo "${ECHO_T}no" >&6; }
49936 if test -z "$ac_cv_prog_NM"; then
49938 # Extract the first word of "nm", so it can be a program name with args.
49939 set dummy nm
; ac_word
=$2
49940 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49942 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49943 echo $ECHO_N "(cached) $ECHO_C" >&6
49945 if test -n "$ac_ct_NM"; then
49946 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
49948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49949 for as_dir
in $PATH
49952 test -z "$as_dir" && as_dir
=.
49953 for ac_exec_ext
in '' $ac_executable_extensions; do
49954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49955 ac_cv_prog_ac_ct_NM
="nm"
49956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49965 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
49966 if test -n "$ac_ct_NM"; then
49967 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49968 echo "${ECHO_T}$ac_ct_NM" >&6; }
49970 { echo "$as_me:$LINENO: result: no" >&5
49971 echo "${ECHO_T}no" >&6; }
49974 if test "x$ac_ct_NM" = x
; then
49977 case $cross_compiling:$ac_tool_warned in
49979 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49980 whose name does not start with the host triplet. If you think this
49981 configuration is useful to you, please write to autoconf@gnu.org." >&5
49982 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49983 whose name does not start with the host triplet. If you think this
49984 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49985 ac_tool_warned
=yes ;;
49990 NM
="$ac_cv_prog_NM"
49994 case ${BAKEFILE_HOST} in
49996 INSTALL_DIR
="mkdir -p"
49999 INSTALL_DIR
='$(INSTALL) -d'
50005 case ${BAKEFILE_HOST} in
50006 *-*-cygwin* | *-*-mingw32* )
50007 LDFLAGS_GUI
="-mwindows"
50013 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50014 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50015 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50016 echo $ECHO_N "(cached) $ECHO_C" >&6
50019 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
50020 egrep -s GNU
> /dev
/null
); then
50021 bakefile_cv_prog_makeisgnu
="yes"
50023 bakefile_cv_prog_makeisgnu
="no"
50027 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50028 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50030 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50047 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50048 case "${BAKEFILE_HOST}" in
50055 *-pc-os2_emx | *-pc-os2-emx )
50065 powerpc
-apple-macos* )
50074 case "$BAKEFILE_FORCE_PLATFORM" in
50109 # Check whether --enable-omf was given.
50110 if test "${enable_omf+set}" = set; then
50111 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
50115 case "${BAKEFILE_HOST}" in
50117 if test "x$GCC" = "xyes"; then
50118 CFLAGS
="$CFLAGS -fno-common"
50119 CXXFLAGS
="$CXXFLAGS -fno-common"
50121 if test "x$XLCC" = "xyes"; then
50122 CFLAGS
="$CFLAGS -qnocommon"
50123 CXXFLAGS
="$CXXFLAGS -qnocommon"
50127 *-pc-os2_emx | *-pc-os2-emx )
50128 if test "x$bk_os2_use_omf" = "xyes" ; then
50131 LDFLAGS
="-Zomf $LDFLAGS"
50132 CFLAGS
="-Zomf $CFLAGS"
50133 CXXFLAGS
="-Zomf $CXXFLAGS"
50141 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
50147 SO_SUFFIX_MODULE
="so"
50152 DLLPREFIX_MODULE
=""
50156 case "${BAKEFILE_HOST}" in
50159 SO_SUFFIX_MODULE
="sl"
50163 SO_SUFFIX_MODULE
="a"
50167 SO_SUFFIX_MODULE
="dll"
50168 DLLIMP_SUFFIX
="dll.a"
50175 SO_SUFFIX_MODULE
="dll"
50176 DLLIMP_SUFFIX
="dll.a"
50186 *-pc-os2_emx | *-pc-os2-emx )
50188 SO_SUFFIX_MODULE
="dll"
50189 DLLIMP_SUFFIX
=$OS2_LIBEXT
50193 LIBEXT
=".$OS2_LIBEXT"
50198 SO_SUFFIX_MODULE
="bundle"
50202 if test "x$DLLIMP_SUFFIX" = "x" ; then
50203 DLLIMP_SUFFIX
="$SO_SUFFIX"
50218 if test "x$GCC" = "xyes"; then
50222 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
50223 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
50226 case "${BAKEFILE_HOST}" in
50228 if test "x$GCC" != "xyes"; then
50229 LDFLAGS
="$LDFLAGS -L/usr/lib"
50231 SHARED_LD_CC
="${CC} -b -o"
50232 SHARED_LD_CXX
="${CXX} -b -o"
50238 if test "$INTELCC" = "yes"; then
50240 elif test "x$SUNCXX" = "xyes"; then
50241 SHARED_LD_CC
="${CC} -G -o"
50242 SHARED_LD_CXX
="${CXX} -G -o"
50248 if test "x$SUNCXX" = xyes
; then
50249 SHARED_LD_CC
="${CC} -G -o"
50250 SHARED_LD_CXX
="${CXX} -G -o"
50258 cat <<EOF >shared-ld-sh
50260 #-----------------------------------------------------------------------------
50261 #-- Name: distrib/mac/shared-ld-sh
50262 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50263 #-- Author: Gilles Depeyrot
50264 #-- Copyright: (c) 2002 Gilles Depeyrot
50265 #-- Licence: any use permitted
50266 #-----------------------------------------------------------------------------
50271 linking_flag="-dynamiclib"
50272 ldargs="-r -keep_private_externs -nostdlib"
50274 while test ${D}# -gt 0; do
50281 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50282 # collect these options and values
50283 args="${D}{args} ${D}1 ${D}2"
50288 # collect these load args
50289 ldargs="${D}{ldargs} ${D}1"
50292 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50293 # collect these options
50294 args="${D}{args} ${D}1"
50297 -dynamiclib|-bundle)
50298 linking_flag="${D}1"
50302 echo "shared-ld: unhandled option '${D}1'"
50306 *.o | *.a | *.dylib)
50307 # collect object files
50308 objects="${D}{objects} ${D}1"
50312 echo "shared-ld: unhandled argument '${D}1'"
50323 # Link one module containing all the others
50325 if test ${D}{verbose} = 1; then
50326 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50328 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50332 # Link the shared library from the single module created, but only if the
50333 # previous command didn't fail:
50335 if test ${D}{status} = 0; then
50336 if test ${D}{verbose} = 1; then
50337 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50339 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50344 # Remove intermediate module
50346 rm -f master.${D}${D}.o
50351 chmod +x shared
-ld-sh
50353 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50354 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
50357 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50358 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50359 if test "${bakefile_cv_gcc31+set}" = set; then
50360 echo $ECHO_N "(cached) $ECHO_C" >&6
50363 cat >conftest.
$ac_ext <<_ACEOF
50366 cat confdefs.h
>>conftest.
$ac_ext
50367 cat >>conftest.
$ac_ext <<_ACEOF
50368 /* end confdefs.h. */
50374 #if (__GNUC__ < 3) || \
50375 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50383 rm -f conftest.
$ac_objext
50384 if { (ac_try
="$ac_compile"
50385 case "(($ac_try" in
50386 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50387 *) ac_try_echo=$ac_try;;
50389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50390 (eval "$ac_compile") 2>conftest.er1
50392 grep -v '^ *+' conftest.er1 >conftest.err
50394 cat conftest.err >&5
50395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50396 (exit $ac_status); } && {
50397 test -z "$ac_c_werror_flag" ||
50398 test ! -s conftest.err
50399 } && test -s conftest.$ac_objext; then
50401 bakefile_cv_gcc31=yes
50404 echo "$as_me: failed program was:" >&5
50405 sed 's/^/| /' conftest.$ac_ext >&5
50408 bakefile_cv_gcc31=no
50413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50416 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50417 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50418 if test "$bakefile_cv_gcc31" = "no"; then
50419 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50420 SHARED_LD_CXX="$SHARED_LD_CC"
50422 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50423 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50426 if test "x$GCC" == "xyes"; then
50427 PIC_FLAG="-dynamic -fPIC"
50429 if test "x$XLCC" = "xyes"; then
50430 PIC_FLAG="-dynamic -DPIC"
50435 if test "x$GCC" = "xyes"; then
50438 case "${BAKEFILE_HOST}" in
50440 LD_EXPFULL="-Wl,-bexpfull"
50444 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50445 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50447 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50448 set dummy makeC++SharedLib; ac_word=$2
50449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50451 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50452 echo $ECHO_N "(cached) $ECHO_C" >&6
50454 if test -n "$AIX_CXX_LD"; then
50455 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50458 for as_dir in $PATH
50461 test -z "$as_dir" && as_dir=.
50462 for ac_exec_ext in '' $ac_executable_extensions; do
50463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50464 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50472 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50475 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50476 if test -n "$AIX_CXX_LD"; then
50477 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50478 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50480 { echo "$as_me:$LINENO: result: no" >&5
50481 echo "${ECHO_T}no" >&6; }
50485 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50486 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50491 SHARED_LD_CC="${LD} -nostart -o"
50492 SHARED_LD_CXX="${LD} -nostart -o"
50496 if test "x$GCC" != "xyes"; then
50501 *-*-cygwin* | *-*-mingw32* )
50503 SHARED_LD_CC="\$(CC) -shared -o"
50504 SHARED_LD_CXX="\$(CXX) -shared -o"
50508 *-pc-os2_emx | *-pc-os2-emx )
50509 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50510 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50514 cat <<EOF >dllar.sh
50517 # dllar - a tool to build both a .dll and an .a file
50518 # from a set of object (.o) files for EMX/OS2.
50520 # Written by Andrew Zabolotny, bit@freya.etu.ru
50521 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50523 # This script will accept a set of files on the command line.
50524 # All the public symbols from the .o files will be exported into
50525 # a .DEF file, then linker will be run (through gcc) against them to
50526 # build a shared library consisting of all given .o files. All libraries
50527 # (.a) will be first decompressed into component .o files then act as
50528 # described above. You can optionally give a description (-d "description")
50529 # which will be put into .DLL. To see the list of accepted options (as well
50530 # as command-line format) simply run this program without options. The .DLL
50531 # is built to be imported by name (there is no guarantee that new versions
50532 # of the library you build will have same ordinals for same symbols).
50534 # dllar is free software; you can redistribute it and/or modify
50535 # it under the terms of the GNU General Public License as published by
50536 # the Free Software Foundation; either version 2, or (at your option)
50537 # any later version.
50539 # dllar is distributed in the hope that it will be useful,
50540 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50541 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50542 # GNU General Public License for more details.
50544 # You should have received a copy of the GNU General Public License
50545 # along with dllar; see the file COPYING. If not, write to the Free
50546 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50549 # To successfuly run this program you will need:
50550 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50551 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50553 # (used to build the .dll)
50555 # (used to create .def file from .o files)
50557 # (used to create .a file from .def file)
50558 # - GNU text utilites (cat, sort, uniq)
50559 # used to process emxexp output
50560 # - GNU file utilities (mv, rm)
50562 # - lxlite (optional, see flag below)
50563 # (used for general .dll cleanup)
50570 # basnam, variant of basename, which does _not_ remove the path, _iff_
50571 # second argument (suffix to remove) is given
50575 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50578 echo ${D}1 | sed 's/'${D}2'${D}//'
50581 echo "error in basnam ${D}*"
50587 # Cleanup temporary files and output
50590 for i in ${D}inputFiles ; do
50593 rm -rf \`basnam
${D}i
!\
`
50600 # Kill result in case of failure as there is just to many stupid make/nmake
50601 # things out there which doesn't do this.
50602 if [ ${D}# -eq 0 ]; then
50603 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50607 # Print usage and exit script with rc=1.
50609 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50610 echo ' [-name-mangler-script script.sh]'
50611 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50612 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50613 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50614 echo ' [*.o] [*.a]'
50615 echo '*> "output_file" should have no extension.'
50616 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50617 echo ' The import library name is derived from this and is set to "name".a,'
50618 echo ' unless overridden by -import'
50619 echo '*> "importlib_name" should have no extension.'
50620 echo ' If it has the .o, or .a extension, it is automatically removed.'
50621 echo ' This name is used as the import library name and may be longer and'
50622 echo ' more descriptive than the DLL name which has to follow the old '
50623 echo ' 8.3 convention of FAT.'
50624 echo '*> "script.sh may be given to override the output_file name by a'
50625 echo ' different name. It is mainly useful if the regular make process'
50626 echo ' of some package does not take into account OS/2 restriction of'
50627 echo ' DLL name lengths. It takes the importlib name as input and is'
50628 echo ' supposed to procude a shorter name as output. The script should'
50629 echo ' expect to get importlib_name without extension and should produce'
50630 echo ' a (max.) 8 letter name without extension.'
50631 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50632 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50633 echo ' These flags will be put at the start of GCC command line.'
50634 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50635 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50636 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50637 echo ' If the last character of a symbol is "*", all symbols beginning'
50638 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50639 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50640 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50641 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50642 echo ' C runtime DLLs.'
50643 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50644 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50645 echo ' unchanged to GCC at the end of command line.'
50646 echo '*> If you create a DLL from a library and you do not specify -o,'
50647 echo ' the basename for DLL and import library will be set to library name,'
50648 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50649 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50650 echo ' library will be renamed into gcc_s.a.'
50653 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50654 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50659 # Execute a command.
50660 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50661 # @Uses Whatever CleanUp() uses.
50667 if [ ${D}rcCmd -ne 0 ]; then
50668 echo "command failed, exit code="${D}rcCmd
50683 CFLAGS="-s -Zcrtdll"
50685 EXPORT_BY_ORDINALS=0
50690 case ${D}curDirS in
50694 curDirS=${D}{curDirS}"/"
50697 # Parse commandline
50700 while [ ${D}1 ]; do
50703 EXPORT_BY_ORDINALS=1;
50713 -name-mangler-script)
50734 exclude_symbols=${D}{exclude_symbols}${D}1" "
50738 library_flags=${D}{library_flags}${D}1" "
50757 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50760 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
50761 if [ ${D}omfLinking -eq 1 ]; then
50762 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50764 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50769 if [ ${D}libsToLink -ne 0 ]; then
50770 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50772 for file in ${D}1 ; do
50773 if [ -f ${D}file ]; then
50774 inputFiles="${D}{inputFiles} ${D}file"
50778 if [ ${D}found -eq 0 ]; then
50779 echo "ERROR: No file(s) found: "${D}1
50786 done # iterate cmdline words
50789 if [ -z "${D}inputFiles" ]; then
50790 echo "dllar: no input files"
50794 # Now extract all .o files from .a files
50796 for file in ${D}inputFiles ; do
50807 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50812 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
50814 if [ ${D}? -ne 0 ]; then
50815 echo "Failed to create subdirectory ./${D}dirname"
50819 # Append '!' to indicate archive
50820 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50821 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50824 for subfile in ${D}dirname/*.o* ; do
50825 if [ -f ${D}subfile ]; then
50827 if [ -s ${D}subfile ]; then
50828 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50829 newInputFiles="${D}newInputFiles ${D}subfile"
50833 if [ ${D}found -eq 0 ]; then
50834 echo "WARNING: there are no files in archive \\'${D}file\\'"
50838 newInputFiles="${D}{newInputFiles} ${D}file"
50842 inputFiles="${D}newInputFiles"
50844 # Output filename(s).
50846 if [ -z ${D}outFile ]; then
50848 set outFile ${D}inputFiles; outFile=${D}2
50851 # If it is an archive, remove the '!' and the '_%' suffixes
50852 case ${D}outFile in
50854 outFile=\`basnam
${D}outFile _
%!\
`
50859 case ${D}outFile in
50861 outFile=\`basnam
${D}outFile .dll\
`
50864 outFile=\`basnam
${D}outFile .DLL\
`
50867 outFile=\`basnam
${D}outFile .o\
`
50870 outFile=\`basnam
${D}outFile .obj\
`
50873 outFile=\`basnam
${D}outFile .a\
`
50876 outFile=\`basnam
${D}outFile .lib\
`
50881 case ${D}outimpFile in
50883 outimpFile=\`basnam
${D}outimpFile .a\
`
50886 outimpFile=\`basnam
${D}outimpFile .lib\
`
50891 if [ -z ${D}outimpFile ]; then
50892 outimpFile=${D}outFile
50894 defFile="${D}{outFile}.def"
50895 arcFile="${D}{outimpFile}.a"
50896 arcFile2="${D}{outimpFile}.lib"
50898 #create ${D}dllFile as something matching 8.3 restrictions,
50899 if [ -z ${D}renameScript ] ; then
50900 dllFile="${D}outFile"
50902 dllFile=\`${D}renameScript
${D}outimpFile\
`
50905 if [ ${D}do_backup -ne 0 ] ; then
50906 if [ -f ${D}arcFile ] ; then
50907 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50909 if [ -f ${D}arcFile2 ] ; then
50910 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50914 # Extract public symbols from all the object files.
50915 tmpdefFile=${D}{defFile}_%
50916 rm -f ${D}tmpdefFile
50917 for file in ${D}inputFiles ; do
50922 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50927 # Create the def file.
50929 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
50930 dllFile="${D}{dllFile}.dll"
50931 if [ ! -z ${D}description ]; then
50932 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50934 echo "EXPORTS" >> ${D}defFile
50936 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50937 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50939 # Checks if the export is ok or not.
50940 for word in ${D}exclude_symbols; do
50941 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50942 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50946 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50947 sed "=" < ${D}tmpdefFile | \\
50951 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50953 ' > ${D}{tmpdefFile}%
50954 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50956 rm -f ${D}{tmpdefFile}%
50958 cat ${D}tmpdefFile >> ${D}defFile
50959 rm -f ${D}tmpdefFile
50961 # Do linking, create implib, and apply lxlite.
50963 for file in ${D}inputFiles ; do
50968 gccCmdl="${D}gccCmdl ${D}file"
50972 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50973 touch "${D}{outFile}.dll"
50975 doCommand "emximp -o ${D}arcFile ${D}defFile"
50976 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50978 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50981 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50983 doCommand "emxomf -s -l ${D}arcFile"
50993 powerpc-apple-macos* | \
50994 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51004 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51005 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51006 { (exit 1); exit 1; }; }
51009 if test "x$PIC_FLAG" != "x" ; then
51010 PIC_FLAG="$PIC_FLAG -DPIC"
51013 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51014 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51016 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51017 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51036 case "${BAKEFILE_HOST}" in
51037 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51038 if test "x$SUNCXX" = "xyes"; then
51041 SONAME_FLAG="-Wl,-soname,"
51076 # Check whether --enable-dependency-tracking was given.
51077 if test "${enable_dependency_tracking+set}" = set; then
51078 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51082 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51083 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51086 if test "x$bk_use_trackdeps" = "xno" ; then
51088 { echo "$as_me:$LINENO: result: disabled" >&5
51089 echo "${ECHO_T}disabled" >&6; }
51093 if test "x$GCC" = "xyes"; then
51095 case "${BAKEFILE_HOST}" in
51097 DEPSFLAG="-no-cpp-precomp -MMD"
51103 { echo "$as_me:$LINENO: result: gcc" >&5
51104 echo "${ECHO_T}gcc" >&6; }
51105 elif test "x$MWCC" = "xyes"; then
51108 { echo "$as_me:$LINENO: result: mwcc" >&5
51109 echo "${ECHO_T}mwcc" >&6; }
51110 elif test "x$SUNCC" = "xyes"; then
51113 { echo "$as_me:$LINENO: result: Sun cc" >&5
51114 echo "${ECHO_T}Sun cc" >&6; }
51115 elif test "x$SGICC" = "xyes"; then
51118 { echo "$as_me:$LINENO: result: SGI cc" >&5
51119 echo "${ECHO_T}SGI cc" >&6; }
51120 elif test "x$HPCC" = "xyes"; then
51123 { echo "$as_me:$LINENO: result: HP cc" >&5
51124 echo "${ECHO_T}HP cc" >&6; }
51125 elif test "x$COMPAQCC" = "xyes"; then
51128 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51129 echo "${ECHO_T}Compaq cc" >&6; }
51132 { echo "$as_me:$LINENO: result: none" >&5
51133 echo "${ECHO_T}none" >&6; }
51136 if test $DEPS_TRACKING = 1 ; then
51142 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51143 # script. It is used to track C/C++ files dependencies in portable way.
51145 # Permission is given to use this file in any way.
51147 DEPSMODE=${DEPSMODE}
51149 DEPSFLAG="${DEPSFLAG}"
51151 mkdir -p ${D}DEPSDIR
51153 if test ${D}DEPSMODE = gcc ; then
51154 ${D}* ${D}{DEPSFLAG}
51156 if test ${D}{status} != 0 ; then
51159 # move created file to the location we want it in:
51160 while test ${D}# -gt 0; do
51174 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
51175 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
51176 if test -f ${D}depfile ; then
51177 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51180 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51181 depfile=\`basename ${D}objfile
| sed -e 's/\\..*${D}/.d/g'\
`
51182 if test ! -f ${D}depfile ; then
51183 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51184 depfile="${D}objfile.d"
51186 if test -f ${D}depfile ; then
51187 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51192 elif test ${D}DEPSMODE = mwcc ; then
51193 ${D}* || exit ${D}?
51194 # Run mwcc again with -MM and redirect into the dep file we want
51195 # NOTE: We can't use shift here because we need ${D}* to be valid
51197 for arg in ${D}* ; do
51198 if test "${D}prevarg" = "-o"; then
51211 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51213 elif test ${D}DEPSMODE = unixcc; then
51214 ${D}* || exit ${D}?
51215 # Run compiler again with deps flag and redirect into the dep file.
51216 # It doesn't work if the '-o FILE' option is used, but without it the
51217 # dependency file will contain the wrong name for the object. So it is
51218 # removed from the command line, and the dep file is fixed with sed.
51220 while test ${D}# -gt 0; do
51227 eval arg${D}#=\\${D}1
51228 cmd="${D}cmd \\${D}arg${D}#"
51233 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51242 BK_DEPS="`pwd`/bk-deps"
51250 case ${BAKEFILE_HOST} in
51251 *-*-cygwin* | *-*-mingw32* )
51252 if test -n "$ac_tool_prefix"; then
51253 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51254 set dummy ${ac_tool_prefix}windres; ac_word=$2
51255 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51257 if test "${ac_cv_prog_WINDRES+set}" = set; then
51258 echo $ECHO_N "(cached) $ECHO_C" >&6
51260 if test -n "$WINDRES"; then
51261 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51264 for as_dir in $PATH
51267 test -z "$as_dir" && as_dir=.
51268 for ac_exec_ext in '' $ac_executable_extensions; do
51269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51270 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51280 WINDRES=$ac_cv_prog_WINDRES
51281 if test -n "$WINDRES"; then
51282 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51283 echo "${ECHO_T}$WINDRES" >&6; }
51285 { echo "$as_me:$LINENO: result: no" >&5
51286 echo "${ECHO_T}no" >&6; }
51291 if test -z "$ac_cv_prog_WINDRES"; then
51292 ac_ct_WINDRES=$WINDRES
51293 # Extract the first word of "windres", so it can be a program name with args.
51294 set dummy windres; ac_word=$2
51295 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51297 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51298 echo $ECHO_N "(cached) $ECHO_C" >&6
51300 if test -n "$ac_ct_WINDRES"; then
51301 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51304 for as_dir in $PATH
51307 test -z "$as_dir" && as_dir=.
51308 for ac_exec_ext in '' $ac_executable_extensions; do
51309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51310 ac_cv_prog_ac_ct_WINDRES="windres"
51311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51320 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51321 if test -n "$ac_ct_WINDRES"; then
51322 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51323 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51325 { echo "$as_me:$LINENO: result: no" >&5
51326 echo "${ECHO_T}no" >&6; }
51329 if test "x$ac_ct_WINDRES" = x; then
51332 case $cross_compiling:$ac_tool_warned in
51334 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51335 whose name does not start with the host triplet. If you think this
51336 configuration is useful to you, please write to autoconf@gnu.org." >&5
51337 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51338 whose name does not start with the host triplet. If you think this
51339 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51340 ac_tool_warned=yes ;;
51342 WINDRES=$ac_ct_WINDRES
51345 WINDRES="$ac_cv_prog_WINDRES"
51350 *-*-darwin* | powerpc-apple-macos* )
51351 # Extract the first word of "Rez", so it can be a program name with args.
51352 set dummy Rez; ac_word=$2
51353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51355 if test "${ac_cv_prog_REZ+set}" = set; then
51356 echo $ECHO_N "(cached) $ECHO_C" >&6
51358 if test -n "$REZ"; then
51359 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51362 for as_dir in $PATH
51365 test -z "$as_dir" && as_dir=.
51366 for ac_exec_ext in '' $ac_executable_extensions; do
51367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51368 ac_cv_prog_REZ="Rez"
51369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51376 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51379 REZ=$ac_cv_prog_REZ
51380 if test -n "$REZ"; then
51381 { echo "$as_me:$LINENO: result: $REZ" >&5
51382 echo "${ECHO_T}$REZ" >&6; }
51384 { echo "$as_me:$LINENO: result: no" >&5
51385 echo "${ECHO_T}no" >&6; }
51389 # Extract the first word of "SetFile", so it can be a program name with args.
51390 set dummy SetFile; ac_word=$2
51391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51393 if test "${ac_cv_prog_SETFILE+set}" = set; then
51394 echo $ECHO_N "(cached) $ECHO_C" >&6
51396 if test -n "$SETFILE"; then
51397 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51400 for as_dir in $PATH
51403 test -z "$as_dir" && as_dir=.
51404 for ac_exec_ext in '' $ac_executable_extensions; do
51405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51406 ac_cv_prog_SETFILE="SetFile"
51407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51414 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51417 SETFILE=$ac_cv_prog_SETFILE
51418 if test -n "$SETFILE"; then
51419 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51420 echo "${ECHO_T}$SETFILE" >&6; }
51422 { echo "$as_me:$LINENO: result: no" >&5
51423 echo "${ECHO_T}no" >&6; }
51435 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51438 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51442 # Check whether --enable-precomp-headers was given.
51443 if test "${enable_precomp_headers+set}" = set; then
51444 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51453 case ${BAKEFILE_HOST} in
51459 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51460 if test "x$GCC" = "xyes"; then
51461 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51462 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51463 cat >conftest.$ac_ext <<_ACEOF
51466 cat confdefs.h >>conftest.$ac_ext
51467 cat >>conftest.$ac_ext <<_ACEOF
51468 /* end confdefs.h. */
51474 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51475 There is no PCH support
51478 There is no PCH support
51480 #if (__GNUC__ == 3) && \
51481 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51482 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51483 ( defined(__INTEL_COMPILER) )
51484 There is no PCH support
51491 rm -f conftest.$ac_objext
51492 if { (ac_try="$ac_compile"
51493 case "(($ac_try" in
51494 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51495 *) ac_try_echo
=$ac_try;;
51497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51498 (eval "$ac_compile") 2>conftest.er1
51500 grep -v '^ *+' conftest.er1
>conftest.err
51502 cat conftest.err
>&5
51503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51504 (exit $ac_status); } && {
51505 test -z "$ac_c_werror_flag" ||
51506 test ! -s conftest.err
51507 } && test -s conftest.
$ac_objext; then
51509 { echo "$as_me:$LINENO: result: yes" >&5
51510 echo "${ECHO_T}yes" >&6; }
51514 echo "$as_me: failed program was:" >&5
51515 sed 's/^/| /' conftest.
$ac_ext >&5
51518 cat >conftest.
$ac_ext <<_ACEOF
51521 cat confdefs.h
>>conftest.
$ac_ext
51522 cat >>conftest.
$ac_ext <<_ACEOF
51523 /* end confdefs.h. */
51529 #if !defined(__INTEL_COMPILER) || \
51530 (__INTEL_COMPILER < 800)
51531 There is no PCH support
51538 rm -f conftest.
$ac_objext
51539 if { (ac_try
="$ac_compile"
51540 case "(($ac_try" in
51541 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51542 *) ac_try_echo=$ac_try;;
51544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51545 (eval "$ac_compile") 2>conftest.er1
51547 grep -v '^ *+' conftest.er1 >conftest.err
51549 cat conftest.err >&5
51550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51551 (exit $ac_status); } && {
51552 test -z "$ac_c_werror_flag" ||
51553 test ! -s conftest.err
51554 } && test -s conftest.$ac_objext; then
51556 { echo "$as_me:$LINENO: result: yes" >&5
51557 echo "${ECHO_T}yes" >&6; }
51561 echo "$as_me: failed program was:" >&5
51562 sed 's/^/| /' conftest.$ac_ext >&5
51565 { echo "$as_me:$LINENO: result: no" >&5
51566 echo "${ECHO_T}no" >&6; }
51570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51575 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51579 cat <<EOF >bk-make-pch
51582 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51583 # script. It is used to generated precompiled headers.
51585 # Permission is given to use this file in any way.
51595 while test ${D}{#} -gt 0; do
51599 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
51600 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51601 headerfile="${D}{incdir}/${D}{header}"
51604 -use-pch|-use_pch )
51609 if test ${D}add_to_cmdline = 1 ; then
51610 compiler="${D}{compiler} ${D}{1}"
51615 if test "x${D}{headerfile}" = "x" ; then
51616 echo "error: can't find header ${D}{header} in include paths" >&2
51618 if test -f ${D}{outfile} ; then
51619 rm -f ${D}{outfile}
51621 mkdir -p \`dirname ${D}{outfile
}\
`
51623 depsfile=".deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
51625 if test "x${GCC_PCH}" = "x1" ; then
51626 # can do this because gcc is >= 3.4:
51627 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51628 elif test "x${ICC_PCH}" = "x1" ; then
51629 filename=pch_gen-${D}${D}
51630 file=${D}{filename}.c
51631 dfile=${D}{filename}.d
51632 cat > ${D}file <<EOT
51633 #include "${D}header"
51635 # using -MF icc complains about differing command lines in creation/use
51636 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51637 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51638 rm -f ${D}file ${D}dfile ${D}{filename}.o
51644 chmod +x bk-make-pch
51645 BK_MAKE_PCH="`pwd`/bk-make-pch"
51654 COND_BUILD_DEBUG="#"
51655 if test "x$BUILD" = "xdebug" ; then
51656 COND_BUILD_DEBUG=""
51659 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51660 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51661 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51664 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51665 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51666 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51669 COND_BUILD_DEBUG_UNICODE_0="#"
51670 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51671 COND_BUILD_DEBUG_UNICODE_0=""
51674 COND_BUILD_DEBUG_UNICODE_1="#"
51675 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51676 COND_BUILD_DEBUG_UNICODE_1=""
51679 COND_BUILD_RELEASE="#"
51680 if test "x$BUILD" = "xrelease" ; then
51681 COND_BUILD_RELEASE=""
51684 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51685 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51686 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51689 COND_BUILD_RELEASE_UNICODE_0="#"
51690 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51691 COND_BUILD_RELEASE_UNICODE_0=""
51694 COND_BUILD_RELEASE_UNICODE_1="#"
51695 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51696 COND_BUILD_RELEASE_UNICODE_1=""
51699 COND_DEBUG_FLAG_1="#"
51700 if test "x$DEBUG_FLAG" = "x1" ; then
51701 COND_DEBUG_FLAG_1=""
51704 COND_DEBUG_INFO_0="#"
51705 if test "x$DEBUG_INFO" = "x0" ; then
51706 COND_DEBUG_INFO_0=""
51709 COND_DEBUG_INFO_1="#"
51710 if test "x$DEBUG_INFO" = "x1" ; then
51711 COND_DEBUG_INFO_1=""
51714 COND_DEPS_TRACKING_0="#"
51715 if test "x$DEPS_TRACKING" = "x0" ; then
51716 COND_DEPS_TRACKING_0=""
51719 COND_DEPS_TRACKING_1="#"
51720 if test "x$DEPS_TRACKING" = "x1" ; then
51721 COND_DEPS_TRACKING_1=""
51725 if test "x$GCC_PCH" = "x1" ; then
51730 if test "x$ICC_PCH" = "x1" ; then
51734 COND_MONOLITHIC_0="#"
51735 if test "x$MONOLITHIC" = "x0" ; then
51736 COND_MONOLITHIC_0=""
51739 COND_MONOLITHIC_0_SHARED_0="#"
51740 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51741 COND_MONOLITHIC_0_SHARED_0=""
51744 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51745 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51746 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51749 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51750 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51751 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51754 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51755 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51756 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51759 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51760 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51761 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51764 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51765 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51766 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51769 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51770 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51771 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51774 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51775 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51776 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51779 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51780 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51781 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51784 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51785 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51786 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51789 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51790 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51791 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51794 COND_MONOLITHIC_0_SHARED_1="#"
51795 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51796 COND_MONOLITHIC_0_SHARED_1=""
51799 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51800 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51801 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51804 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51805 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51806 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51809 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51810 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51811 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51814 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51815 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51816 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51819 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
51820 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51821 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
51824 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51825 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51826 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51829 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
51830 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
51831 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
51834 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51835 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51836 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51839 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51840 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51841 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51844 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51845 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51846 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51849 COND_MONOLITHIC_0_USE_AUI_1="#"
51850 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51851 COND_MONOLITHIC_0_USE_AUI_1=""
51854 COND_MONOLITHIC_0_USE_GUI_1="#"
51855 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51856 COND_MONOLITHIC_0_USE_GUI_1=""
51859 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51860 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51861 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51864 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
51865 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51866 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
51869 COND_MONOLITHIC_0_USE_HTML_1="#"
51870 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51871 COND_MONOLITHIC_0_USE_HTML_1=""
51874 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51875 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51876 COND_MONOLITHIC_0_USE_MEDIA_1=""
51879 COND_MONOLITHIC_0_USE_ODBC_1="#"
51880 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
51881 COND_MONOLITHIC_0_USE_ODBC_1=""
51884 COND_MONOLITHIC_0_USE_QA_1="#"
51885 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51886 COND_MONOLITHIC_0_USE_QA_1=""
51889 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51890 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51891 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51894 COND_MONOLITHIC_0_USE_STC_1="#"
51895 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51896 COND_MONOLITHIC_0_USE_STC_1=""
51899 COND_MONOLITHIC_0_USE_XRC_1="#"
51900 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51901 COND_MONOLITHIC_0_USE_XRC_1=""
51904 COND_MONOLITHIC_1="#"
51905 if test "x$MONOLITHIC" = "x1" ; then
51906 COND_MONOLITHIC_1=""
51909 COND_MONOLITHIC_1_SHARED_0="#"
51910 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51911 COND_MONOLITHIC_1_SHARED_0=""
51914 COND_MONOLITHIC_1_SHARED_1="#"
51915 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51916 COND_MONOLITHIC_1_SHARED_1=""
51919 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51920 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51921 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51924 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51925 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51926 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51929 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51930 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51931 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51934 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51935 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51936 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51939 COND_PLATFORM_MACOSX_1="#"
51940 if test "x$PLATFORM_MACOSX" = "x1" ; then
51941 COND_PLATFORM_MACOSX_1=""
51944 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51945 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51946 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51949 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51950 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51951 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51954 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51955 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51956 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51959 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51960 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51961 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51964 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51965 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51966 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51969 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51970 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51971 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51974 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51975 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51976 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51979 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51980 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51981 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51984 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51985 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51986 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51989 COND_PLATFORM_MACOS_1="#"
51990 if test "x$PLATFORM_MACOS" = "x1" ; then
51991 COND_PLATFORM_MACOS_1=""
51994 COND_PLATFORM_MAC_1="#"
51995 if test "x$PLATFORM_MAC" = "x1" ; then
51996 COND_PLATFORM_MAC_1=""
51999 COND_PLATFORM_MSDOS_0="#"
52000 if test "x$PLATFORM_MSDOS" = "x0" ; then
52001 COND_PLATFORM_MSDOS_0=""
52004 COND_PLATFORM_MSDOS_1="#"
52005 if test "x$PLATFORM_MSDOS" = "x1" ; then
52006 COND_PLATFORM_MSDOS_1=""
52009 COND_PLATFORM_OS2_1="#"
52010 if test "x$PLATFORM_OS2" = "x1" ; then
52011 COND_PLATFORM_OS2_1=""
52014 COND_PLATFORM_UNIX_0="#"
52015 if test "x$PLATFORM_UNIX" = "x0" ; then
52016 COND_PLATFORM_UNIX_0=""
52019 COND_PLATFORM_UNIX_1="#"
52020 if test "x$PLATFORM_UNIX" = "x1" ; then
52021 COND_PLATFORM_UNIX_1=""
52024 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52025 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52026 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52029 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52030 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52031 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52034 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52035 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52036 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52039 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52040 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52041 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52044 COND_PLATFORM_WIN32_0="#"
52045 if test "x$PLATFORM_WIN32" = "x0" ; then
52046 COND_PLATFORM_WIN32_0=""
52049 COND_PLATFORM_WIN32_1="#"
52050 if test "x$PLATFORM_WIN32" = "x1" ; then
52051 COND_PLATFORM_WIN32_1=""
52055 if test "x$SHARED" = "x0" ; then
52059 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52060 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52061 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52064 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52065 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52066 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52069 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52070 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52071 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52074 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52075 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52076 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52079 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52080 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52081 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52084 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52085 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52086 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52089 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52090 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52091 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52094 COND_SHARED_0_USE_STC_1="#"
52095 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52096 COND_SHARED_0_USE_STC_1=""
52099 COND_SHARED_0_USE_XRC_1="#"
52100 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52101 COND_SHARED_0_USE_XRC_1=""
52104 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52105 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52106 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52109 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52110 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52111 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52114 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52115 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52116 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52119 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52120 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52121 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52125 if test "x$SHARED" = "x1" ; then
52129 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52130 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52131 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52134 COND_SHARED_1_USE_XRC_1="#"
52135 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52136 COND_SHARED_1_USE_XRC_1=""
52140 if test "x$TOOLKIT" = "x" ; then
52144 COND_TOOLKIT_COCOA="#"
52145 if test "x$TOOLKIT" = "xCOCOA" ; then
52146 COND_TOOLKIT_COCOA=""
52149 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52150 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52151 COND_TOOLKIT_COCOA_USE_GUI_1=""
52154 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52155 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52156 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52159 COND_TOOLKIT_DFB="#"
52160 if test "x$TOOLKIT" = "xDFB" ; then
52161 COND_TOOLKIT_DFB=""
52164 COND_TOOLKIT_DFB_USE_GUI_1="#"
52165 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52166 COND_TOOLKIT_DFB_USE_GUI_1=""
52169 COND_TOOLKIT_GTK="#"
52170 if test "x$TOOLKIT" = "xGTK" ; then
52171 COND_TOOLKIT_GTK=""
52174 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52175 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52176 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52179 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52180 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52181 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52184 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52185 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52186 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52189 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52190 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52191 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52194 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52195 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52196 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52199 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52200 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52201 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52204 COND_TOOLKIT_GTK_USE_GUI_1="#"
52205 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52206 COND_TOOLKIT_GTK_USE_GUI_1=""
52209 COND_TOOLKIT_MAC="#"
52210 if test "x$TOOLKIT" = "xMAC" ; then
52211 COND_TOOLKIT_MAC=""
52214 COND_TOOLKIT_MAC_USE_GUI_1="#"
52215 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52216 COND_TOOLKIT_MAC_USE_GUI_1=""
52219 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52220 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52221 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52224 COND_TOOLKIT_MGL="#"
52225 if test "x$TOOLKIT" = "xMGL" ; then
52226 COND_TOOLKIT_MGL=""
52229 COND_TOOLKIT_MGL_USE_GUI_1="#"
52230 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52231 COND_TOOLKIT_MGL_USE_GUI_1=""
52234 COND_TOOLKIT_MOTIF="#"
52235 if test "x$TOOLKIT" = "xMOTIF" ; then
52236 COND_TOOLKIT_MOTIF=""
52239 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52240 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52241 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52244 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52245 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52246 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52249 COND_TOOLKIT_MSW="#"
52250 if test "x$TOOLKIT" = "xMSW" ; then
52251 COND_TOOLKIT_MSW=""
52254 COND_TOOLKIT_MSW_USE_GUI_1="#"
52255 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52256 COND_TOOLKIT_MSW_USE_GUI_1=""
52259 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52260 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52261 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52264 COND_TOOLKIT_MSW_WXUNIV_0="#"
52265 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52266 COND_TOOLKIT_MSW_WXUNIV_0=""
52269 COND_TOOLKIT_PM="#"
52270 if test "x$TOOLKIT" = "xPM" ; then
52274 COND_TOOLKIT_PM_USE_GUI_1="#"
52275 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52276 COND_TOOLKIT_PM_USE_GUI_1=""
52279 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52280 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52281 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52284 COND_TOOLKIT_WINCE="#"
52285 if test "x$TOOLKIT" = "xWINCE" ; then
52286 COND_TOOLKIT_WINCE=""
52289 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52290 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52291 COND_TOOLKIT_WINCE_USE_GUI_1=""
52294 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52295 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52296 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52299 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52300 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52301 COND_TOOLKIT_WINCE_WXUNIV_0=""
52304 COND_TOOLKIT_X11="#"
52305 if test "x$TOOLKIT" = "xX11" ; then
52306 COND_TOOLKIT_X11=""
52309 COND_TOOLKIT_X11_USE_GUI_1="#"
52310 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52311 COND_TOOLKIT_X11_USE_GUI_1=""
52315 if test "x$UNICODE" = "x1" ; then
52319 COND_USE_EXCEPTIONS_0="#"
52320 if test "x$USE_EXCEPTIONS" = "x0" ; then
52321 COND_USE_EXCEPTIONS_0=""
52324 COND_USE_EXCEPTIONS_1="#"
52325 if test "x$USE_EXCEPTIONS" = "x1" ; then
52326 COND_USE_EXCEPTIONS_1=""
52330 if test "x$USE_GUI" = "x0" ; then
52335 if test "x$USE_GUI" = "x1" ; then
52339 COND_USE_GUI_1_USE_OPENGL_1="#"
52340 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52341 COND_USE_GUI_1_USE_OPENGL_1=""
52344 COND_USE_GUI_1_WXUNIV_0="#"
52345 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52346 COND_USE_GUI_1_WXUNIV_0=""
52349 COND_USE_GUI_1_WXUNIV_1="#"
52350 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52351 COND_USE_GUI_1_WXUNIV_1=""
52354 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52355 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52356 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52359 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52360 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52361 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52364 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52365 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52366 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52369 COND_USE_ODBC_1="#"
52370 if test "x$USE_ODBC" = "x1" ; then
52374 COND_USE_OPENGL_1="#"
52375 if test "x$USE_OPENGL" = "x1" ; then
52376 COND_USE_OPENGL_1=""
52380 if test "x$USE_PCH" = "x1" ; then
52384 COND_USE_PLUGINS_0="#"
52385 if test "x$USE_PLUGINS" = "x0" ; then
52386 COND_USE_PLUGINS_0=""
52389 COND_USE_RTTI_0="#"
52390 if test "x$USE_RTTI" = "x0" ; then
52394 COND_USE_RTTI_1="#"
52395 if test "x$USE_RTTI" = "x1" ; then
52399 COND_USE_SOSYMLINKS_1="#"
52400 if test "x$USE_SOSYMLINKS" = "x1" ; then
52401 COND_USE_SOSYMLINKS_1=""
52404 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52405 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52406 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52409 COND_USE_SOVERLINUX_1="#"
52410 if test "x$USE_SOVERLINUX" = "x1" ; then
52411 COND_USE_SOVERLINUX_1=""
52414 COND_USE_SOVERSION_0="#"
52415 if test "x$USE_SOVERSION" = "x0" ; then
52416 COND_USE_SOVERSION_0=""
52419 COND_USE_SOVERSOLARIS_1="#"
52420 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52421 COND_USE_SOVERSOLARIS_1=""
52425 if test "x$USE_STC" = "x1" ; then
52429 COND_USE_THREADS_0="#"
52430 if test "x$USE_THREADS" = "x0" ; then
52431 COND_USE_THREADS_0=""
52434 COND_USE_THREADS_1="#"
52435 if test "x$USE_THREADS" = "x1" ; then
52436 COND_USE_THREADS_1=""
52440 if test "x$USE_XRC" = "x1" ; then
52444 COND_WINDOWS_IMPLIB_1="#"
52445 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52446 COND_WINDOWS_IMPLIB_1=""
52449 COND_WITH_PLUGIN_SDL_1="#"
52450 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52451 COND_WITH_PLUGIN_SDL_1=""
52455 if test "x$WXUNIV" = "x0" ; then
52460 if test "x$WXUNIV" = "x1" ; then
52464 COND_WXUSE_EXPAT_BUILTIN="#"
52465 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52466 COND_WXUSE_EXPAT_BUILTIN=""
52469 COND_WXUSE_LIBJPEG_BUILTIN="#"
52470 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52471 COND_WXUSE_LIBJPEG_BUILTIN=""
52474 COND_WXUSE_LIBPNG_BUILTIN="#"
52475 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52476 COND_WXUSE_LIBPNG_BUILTIN=""
52479 COND_WXUSE_LIBTIFF_BUILTIN="#"
52480 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52481 COND_WXUSE_LIBTIFF_BUILTIN=""
52484 COND_WXUSE_ODBC_BUILTIN="#"
52485 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52486 COND_WXUSE_ODBC_BUILTIN=""
52489 COND_WXUSE_REGEX_BUILTIN="#"
52490 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52491 COND_WXUSE_REGEX_BUILTIN=""
52494 COND_WXUSE_ZLIB_BUILTIN="#"
52495 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52496 COND_WXUSE_ZLIB_BUILTIN=""
52501 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52502 { { 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
52503 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;}
52504 { (exit 1); exit 1; }; }
52507 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52508 { { 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
52509 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;}
52510 { (exit 1); exit 1; }; }
52514 if test $GCC_PCH = 1
52516 if test "$wx_cv_gcc_pch_bug" = yes; then
52517 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52518 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52519 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52520 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52521 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52522 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52525 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52529 if test "$wxUSE_MAC" = 1 ; then
52530 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52531 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52537 if test "$wxUSE_SHARED" = "yes"; then
52539 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52540 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52543 *-pc-os2_emx | *-pc-os2-emx )
52544 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52545 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52546 cp -p ${srcdir}/src/os2/dllnames.sh .
52547 cp -p ${srcdir}/src/os2/dllar.sh .
52552 EXE_LINKER="$CXX -o"
52555 if test "$wxUSE_OMF" = "yes"; then
52557 *-pc-os2_emx | *-pc-os2-emx )
52558 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52559 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52560 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52565 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52570 if "$GCC" = yes; then
52571 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52572 LIBS=`echo $LIBS | sed 's/-mt//'`
52573 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52578 if test "x$SUNCXX" = xyes; then
52579 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52580 LIBS=`echo $LIBS | sed 's/-pthread//'`
52581 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52586 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52587 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52589 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52651 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52652 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52653 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52654 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52655 echo $ECHO_N "(cached) $ECHO_C" >&6
52657 cat >conftest.make <<\_ACEOF
52660 @echo '@@@%%%=$(MAKE)=@@@%%%'
52662 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52663 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
52664 *@@@%%%=?*=@@@%%%*)
52665 eval ac_cv_prog_make_${ac_make}_set=yes;;
52667 eval ac_cv_prog_make_${ac_make}_set=no;;
52669 rm -f conftest.make
52671 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52672 { echo "$as_me:$LINENO: result: yes" >&5
52673 echo "${ECHO_T}yes" >&6; }
52676 { echo "$as_me:$LINENO: result: no" >&5
52677 echo "${ECHO_T}no" >&6; }
52678 SET_MAKE="MAKE=${MAKE-make}"
52683 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52686 if test "$USE_WIN32" = 1; then
52687 ac_config_commands="$ac_config_commands
52693 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52696 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52699 if test "$wx_cv_version_script" = "yes"; then
52700 ac_config_files="$ac_config_files version-script"
52703 ac_config_files="$ac_config_files Makefile"
52706 ac_config_commands="$ac_config_commands wx-config"
52710 if test "$wxWITH_SUBDIRS" != "no"; then
52711 if test "$wxUSE_GUI" = "yes"; then
52712 SUBDIRS="samples demos utils"
52713 else SUBDIRS="samples utils"
52718 # Check whether --with-cppunit-prefix was given.
52719 if test "${with_cppunit_prefix+set}" = set; then
52720 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52722 cppunit_config_prefix=""
52726 # Check whether --with-cppunit-exec-prefix was given.
52727 if test "${with_cppunit_exec_prefix+set}" = set; then
52728 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52730 cppunit_config_exec_prefix=""
52734 if test x$cppunit_config_exec_prefix != x ; then
52735 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52736 if test x${CPPUNIT_CONFIG+set} != xset ; then
52737 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52740 if test x$cppunit_config_prefix != x ; then
52741 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52742 if test x${CPPUNIT_CONFIG+set} != xset ; then
52743 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52747 # Extract the first word of "cppunit-config", so it can be a program name with args.
52748 set dummy cppunit-config; ac_word=$2
52749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52751 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52752 echo $ECHO_N "(cached) $ECHO_C" >&6
52754 case $CPPUNIT_CONFIG in
52756 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52760 for as_dir in $PATH
52763 test -z "$as_dir" && as_dir=.
52764 for ac_exec_ext in '' $ac_executable_extensions; do
52765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52766 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52774 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52778 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52779 if test -n "$CPPUNIT_CONFIG"; then
52780 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52781 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52783 { echo "$as_me:$LINENO: result: no" >&5
52784 echo "${ECHO_T}no" >&6; }
52788 cppunit_version_min=1.8.0
52790 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52791 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52793 if test "$CPPUNIT_CONFIG" = "no" ; then
52794 { echo "$as_me:$LINENO: result: no" >&5
52795 echo "${ECHO_T}no" >&6; }
52798 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52799 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52800 cppunit_version=`$CPPUNIT_CONFIG --version`
52802 cppunit_major_version=`echo $cppunit_version | \
52803 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52804 cppunit_minor_version=`echo $cppunit_version | \
52805 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52806 cppunit_micro_version=`echo $cppunit_version | \
52807 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52809 cppunit_major_min=`echo $cppunit_version_min | \
52810 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52811 cppunit_minor_min=`echo $cppunit_version_min | \
52812 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52813 cppunit_micro_min=`echo $cppunit_version_min | \
52814 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52816 cppunit_version_proper=`expr \
52817 $cppunit_major_version \
> $cppunit_major_min \
| \
52818 $cppunit_major_version \
= $cppunit_major_min \
& \
52819 $cppunit_minor_version \
> $cppunit_minor_min \
| \
52820 $cppunit_major_version \
= $cppunit_major_min \
& \
52821 $cppunit_minor_version \
= $cppunit_minor_min \
& \
52822 $cppunit_micro_version \
>= $cppunit_micro_min `
52824 if test "$cppunit_version_proper" = "1" ; then
52825 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52826 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52828 { echo "$as_me:$LINENO: result: no" >&5
52829 echo "${ECHO_T}no" >&6; }
52834 if test "x$no_cppunit" = x ; then
52835 SUBDIRS="$SUBDIRS tests"
52846 for subdir in `echo $SUBDIRS`; do
52847 if test -d ${srcdir}/${subdir} ; then
52848 if test "$wxUSE_GUI" = "yes"; then
52849 if test ${subdir} = "samples"; then
52850 makefiles="samples/Makefile.in $makefiles"
52851 for sample in `echo $SAMPLES_SUBDIRS`; do
52852 if test -d $srcdir/samples/$sample; then
52853 makefiles="samples/$sample/Makefile.in $makefiles"
52857 disabled_var=DISABLED_`echo $subdir | tr [a
-z] [A
-Z]`;
52858 eval "disabled=\$$disabled_var"
52859 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
52860 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
52862 else if test ${subdir} = "samples"; then
52863 makefiles="samples/Makefile.in samples/console/Makefile.in"
52864 elif test ${subdir} = "utils"; then
52866 for util in HelpGen tex2rtf ; do
52867 if test -d $srcdir/utils/$util ; then
52868 makefiles="utils/$util/Makefile.in \
52869 utils/$util/src/Makefile.in \
52873 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
52877 for mkin in $makefiles ; do
52878 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52879 ac_config_files="$ac_config_files $mk"
52885 cat >confcache <<\_ACEOF
52886 # This file is a shell script that caches the results of configure
52887 # tests run on this system so they can be shared between configure
52888 # scripts and configure runs, see configure's option --config-cache.
52889 # It is not useful on other systems. If it contains results you don't
52890 # want to keep, you may remove or edit it.
52892 # config.status only pays attention to the cache file if you give it
52893 # the --recheck option to rerun configure.
52895 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
52896 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52897 # following values.
52901 # The following way of writing the cache mishandles newlines in values,
52902 # but we know of no workaround that is simple, portable, and efficient.
52903 # So, we kill variables containing newlines.
52904 # Ultrix sh set writes to stderr and can't be redirected directly,
52905 # and sets the high bit in the cache file unless we assign to the vars.
52907 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52908 eval ac_val
=\$
$ac_var
52912 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52913 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52916 _
| IFS
| as_nl
) ;; #(
52917 *) $as_unset $ac_var ;;
52923 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52924 *${as_nl}ac_space
=\
*)
52925 # `set' does not quote correctly, so add quotes (double-quote
52926 # substitution turns \\\\ into \\, and sed turns \\ into \).
52929 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52932 # `set' quotes correctly as required by POSIX, so do not add quotes.
52933 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52942 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52944 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52946 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
52947 if test -w "$cache_file"; then
52948 test "x$cache_file" != "x/dev/null" &&
52949 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52950 echo "$as_me: updating cache $cache_file" >&6;}
52951 cat confcache
>$cache_file
52953 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52954 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52959 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
52960 # Let make expand exec_prefix.
52961 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
52963 DEFS
=-DHAVE_CONFIG_H
52967 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
52968 # 1. Remove the extension, and $U if already installed.
52969 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
52970 ac_i
=`echo "$ac_i" | sed "$ac_script"`
52971 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52972 # will be set to the directory where LIBOBJS objects are built.
52973 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52974 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52976 LIBOBJS
=$ac_libobjs
52978 LTLIBOBJS
=$ac_ltlibobjs
52982 : ${CONFIG_STATUS=./config.status}
52983 ac_clean_files_save
=$ac_clean_files
52984 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
52985 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52986 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52987 cat >$CONFIG_STATUS <<_ACEOF
52989 # Generated by $as_me.
52990 # Run this file to recreate the current configuration.
52991 # Compiler output produced by configure, useful for debugging
52992 # configure, is in config.log if it exists.
52995 ac_cs_recheck=false
52997 SHELL=\${CONFIG_SHELL-$SHELL}
53000 cat >>$CONFIG_STATUS <<\_ACEOF
53001 ## --------------------- ##
53002 ## M4sh Initialization. ##
53003 ## --------------------- ##
53005 # Be more Bourne compatible
53006 DUALCASE
=1; export DUALCASE
# for MKS sh
53007 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
53010 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53011 # is contrary to our usage. Disable this feature.
53012 alias -g '${1+"$@"}'='"$@"'
53013 setopt NO_GLOB_SUBST
53015 case `(set -o) 2>/dev/null` in
53016 *posix
*) set -o posix
;;
53025 # Avoid depending upon Character Ranges.
53026 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
53027 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53028 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
53029 as_cr_digits
='0123456789'
53030 as_cr_alnum
=$as_cr_Letters$as_cr_digits
53032 # The user is always right.
53033 if test "${PATH_SEPARATOR+set}" != set; then
53034 echo "#! /bin/sh" >conf$$.sh
53035 echo "exit 0" >>conf$$.sh
53037 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53045 # Support unset when possible.
53046 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
53054 # We need space, tab and new line, in precisely that order. Quoting is
53055 # there to prevent editors from complaining about space-tab.
53056 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53057 # splitting by setting IFS to empty value.)
53062 # Find who we are. Look in the path if we contain no directory separator.
53064 *[\\/]* ) as_myself
=$0 ;;
53065 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53066 for as_dir
in $PATH
53069 test -z "$as_dir" && as_dir
=.
53070 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
53076 # We did not find ourselves, most probably we were run as `sh COMMAND'
53077 # in which case we are not to be found in the path.
53078 if test "x$as_myself" = x
; then
53081 if test ! -f "$as_myself"; then
53082 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53083 { (exit 1); exit 1; }
53086 # Work around bugs in pre-3.0 UWIN ksh.
53087 for as_var
in ENV MAIL MAILPATH
53088 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53096 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53097 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53098 LC_TELEPHONE LC_TIME
53100 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53101 eval $as_var=C
; export $as_var
53103 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53107 # Required to use basename.
53108 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53109 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53115 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53116 as_basename
=basename
53122 # Name of the executable.
53123 as_me
=`$as_basename -- "$0" ||
53124 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53125 X"$0" : 'X\(//\)$' \| \
53126 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53128 sed '/^.*\/\([^/][^/]*\)\/*$/{
53147 as_lineno_1
=$LINENO
53148 as_lineno_2
=$LINENO
53149 test "x$as_lineno_1" != "x$as_lineno_2" &&
53150 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53152 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53153 # uniformly replaced by the line number. The first 'sed' inserts a
53154 # line-number line after each line using $LINENO; the second 'sed'
53155 # does the real work. The second script uses 'N' to pair each
53156 # line-number line with the line containing $LINENO, and appends
53157 # trailing '-' during substitution so that $LINENO is not a special
53158 # case at line end.
53159 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53160 # scripts with optimization help from Paolo Bonzini. Blame Lee
53161 # E. McMahon (1931-1989) for sed's syntax. :-)
53173 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53176 ' >$as_me.lineno
&&
53177 chmod +x
"$as_me.lineno" ||
53178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53179 { (exit 1); exit 1; }; }
53181 # Don't try to exec as it changes $[0], causing all sort of problems
53182 # (the dirname of $[0] is not the place where we might find the
53183 # original and so on. Autoconf is especially sensitive to this).
53184 .
"./$as_me.lineno"
53185 # Exit status is that of the last command.
53190 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
53196 ECHO_C
= ECHO_N
= ECHO_T
=
53197 case `echo -n x` in
53199 case `echo 'x\c'` in
53200 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
53207 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53208 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53214 rm -f conf$$ conf$$.exe conf$$.
file
53215 if test -d conf$$.dir
; then
53216 rm -f conf$$.dir
/conf$$.
file
53222 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
53224 # ... but there are two gotchas:
53225 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53226 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53227 # In both cases, we have to default to `cp -p'.
53228 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
53230 elif ln conf$$.
file conf$$
2>/dev
/null
; then
53235 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
53236 rmdir conf$$.dir
2>/dev
/null
53238 if mkdir -p .
2>/dev
/null
; then
53241 test -d .
/-p && rmdir .
/-p
53245 if test -x / >/dev
/null
2>&1; then
53246 as_test_x
='test -x'
53248 if ls -dL / >/dev
/null
2>&1; then
53255 if test -d "$1"; then
53261 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53262 ???[sx]*):;;*)false;;esac;fi
53266 as_executable_p
=$as_test_x
53268 # Sed expression to map a string onto a valid CPP name.
53269 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53271 # Sed expression to map a string onto a valid variable name.
53272 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53277 # Save the log message, to keep $[0] and so on meaningful, and to
53278 # report actual input values of CONFIG_FILES etc. instead of their
53279 # values after options handling.
53281 This file was extended by wxWidgets $as_me 2.9.0, which was
53282 generated by GNU Autoconf 2.61. Invocation command line was
53284 CONFIG_FILES = $CONFIG_FILES
53285 CONFIG_HEADERS = $CONFIG_HEADERS
53286 CONFIG_LINKS = $CONFIG_LINKS
53287 CONFIG_COMMANDS = $CONFIG_COMMANDS
53290 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53295 cat >>$CONFIG_STATUS <<_ACEOF
53296 # Files that config.status was made for.
53297 config_files="$ac_config_files"
53298 config_headers="$ac_config_headers"
53299 config_commands="$ac_config_commands"
53303 cat >>$CONFIG_STATUS <<\_ACEOF
53305 \`$as_me' instantiates files from templates according to the
53306 current configuration.
53308 Usage: $0 [OPTIONS] [FILE]...
53310 -h, --help print this help, then exit
53311 -V, --version print version number and configuration settings, then exit
53312 -q, --quiet do not print progress messages
53313 -d, --debug don't remove temporary files
53314 --recheck update $as_me by reconfiguring in the same conditions
53315 --file=FILE[:TEMPLATE]
53316 instantiate the configuration file FILE
53317 --header=FILE[:TEMPLATE]
53318 instantiate the configuration header FILE
53320 Configuration files:
53323 Configuration headers:
53326 Configuration commands:
53329 Report bugs to <bug-autoconf@gnu.org>."
53332 cat >>$CONFIG_STATUS <<_ACEOF
53334 wxWidgets config.status 2.9.0
53335 configured by $0, generated by GNU Autoconf 2.61,
53336 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53338 Copyright (C) 2006 Free Software Foundation, Inc.
53339 This config.status script is free software; the Free Software Foundation
53340 gives unlimited permission to copy, distribute and modify it."
53347 cat >>$CONFIG_STATUS <<\_ACEOF
53348 # If no file are specified by the user, then we need to provide default
53349 # value. By we need to know if files were specified by the user.
53355 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
53356 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
53367 # Handling of the options.
53368 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53370 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53371 echo "$ac_cs_version"; exit ;;
53372 --debug | --debu | --deb | --de | --d | -d )
53374 --file | --fil | --fi | --f )
53376 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
53377 ac_need_defaults
=false
;;
53378 --header | --heade | --head | --hea )
53380 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
53381 ac_need_defaults
=false
;;
53383 # Conflict between --help and --header
53384 { echo "$as_me: error: ambiguous option: $1
53385 Try \`$0 --help' for more information." >&2
53386 { (exit 1); exit 1; }; };;
53387 --help | --hel | -h )
53388 echo "$ac_cs_usage"; exit ;;
53389 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53390 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53393 # This is an error.
53394 -*) { echo "$as_me: error: unrecognized option: $1
53395 Try \`$0 --help' for more information." >&2
53396 { (exit 1); exit 1; }; } ;;
53398 *) ac_config_targets
="$ac_config_targets $1"
53399 ac_need_defaults
=false
;;
53405 ac_configure_extra_args
=
53407 if $ac_cs_silent; then
53409 ac_configure_extra_args
="$ac_configure_extra_args --silent"
53413 cat >>$CONFIG_STATUS <<_ACEOF
53414 if \$ac_cs_recheck; then
53415 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53416 CONFIG_SHELL=$SHELL
53417 export CONFIG_SHELL
53418 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53422 cat >>$CONFIG_STATUS <<\_ACEOF
53426 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53427 ## Running $as_me. ##
53433 cat >>$CONFIG_STATUS <<_ACEOF
53439 infile="$srcdir/include/wx/msw/genrcdefs.h"
53440 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53443 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53444 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53445 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53451 cat >>$CONFIG_STATUS <<\_ACEOF
53453 # Handling of arguments.
53454 for ac_config_target
in $ac_config_targets
53456 case $ac_config_target in
53457 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53458 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
53459 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53460 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53461 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
53462 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
53463 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
53464 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
53466 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53467 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53468 { (exit 1); exit 1; }; };;
53473 # If the user did not use the arguments to specify the items to instantiate,
53474 # then the envvar interface is used. Set only those that are not.
53475 # We use the long form for the default assignment because of an extremely
53476 # bizarre bug on SunOS 4.1.3.
53477 if $ac_need_defaults; then
53478 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
53479 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
53480 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
53483 # Have a temporary directory for convenience. Make it in the build tree
53484 # simply because there is no reason against having it here, and in addition,
53485 # creating and moving files from /tmp can sometimes cause problems.
53486 # Hook for its removal unless debugging.
53487 # Note that there is a small window in which the directory will not be cleaned:
53488 # after its creation but before its name has been assigned to `$tmp'.
53492 trap 'exit_status=$?
53493 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53495 trap '{ (exit 1); exit 1; }' 1 2 13 15
53497 # Create a (secure) tmp directory for tmp files.
53500 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53501 test -n "$tmp" && test -d "$tmp"
53504 tmp
=.
/conf$$
-$RANDOM
53505 (umask 077 && mkdir "$tmp")
53508 echo "$me: cannot create a temporary directory in ." >&2
53509 { (exit 1); exit 1; }
53513 # Set up the sed scripts for CONFIG_FILES section.
53516 # No need to generate the scripts if there are no CONFIG_FILES.
53517 # This happens for instance when ./config.status config.h
53518 if test -n "$CONFIG_FILES"; then
53525 for ac_last_try
in false false false false false
:; do
53526 cat >conf$
$subs.
sed <<_ACEOF
53527 SHELL!$SHELL$ac_delim
53528 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53529 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53530 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53531 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53532 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53533 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53534 exec_prefix!$exec_prefix$ac_delim
53535 prefix!$prefix$ac_delim
53536 program_transform_name!$program_transform_name$ac_delim
53537 bindir!$bindir$ac_delim
53538 sbindir!$sbindir$ac_delim
53539 libexecdir!$libexecdir$ac_delim
53540 datarootdir!$datarootdir$ac_delim
53541 datadir!$datadir$ac_delim
53542 sysconfdir!$sysconfdir$ac_delim
53543 sharedstatedir!$sharedstatedir$ac_delim
53544 localstatedir!$localstatedir$ac_delim
53545 includedir!$includedir$ac_delim
53546 oldincludedir!$oldincludedir$ac_delim
53547 docdir!$docdir$ac_delim
53548 infodir!$infodir$ac_delim
53549 htmldir!$htmldir$ac_delim
53550 dvidir!$dvidir$ac_delim
53551 pdfdir!$pdfdir$ac_delim
53552 psdir!$psdir$ac_delim
53553 libdir!$libdir$ac_delim
53554 localedir!$localedir$ac_delim
53555 mandir!$mandir$ac_delim
53556 DEFS!$DEFS$ac_delim
53557 ECHO_C!$ECHO_C$ac_delim
53558 ECHO_N!$ECHO_N$ac_delim
53559 ECHO_T!$ECHO_T$ac_delim
53560 LIBS!$LIBS$ac_delim
53561 build_alias!$build_alias$ac_delim
53562 host_alias!$host_alias$ac_delim
53563 target_alias!$target_alias$ac_delim
53564 build!$build$ac_delim
53565 build_cpu!$build_cpu$ac_delim
53566 build_vendor!$build_vendor$ac_delim
53567 build_os!$build_os$ac_delim
53568 host!$host$ac_delim
53569 host_cpu!$host_cpu$ac_delim
53570 host_vendor!$host_vendor$ac_delim
53571 host_os!$host_os$ac_delim
53572 target!$target$ac_delim
53573 target_cpu!$target_cpu$ac_delim
53574 target_vendor!$target_vendor$ac_delim
53575 target_os!$target_os$ac_delim
53576 wx_top_builddir!$wx_top_builddir$ac_delim
53578 CFLAGS!$CFLAGS$ac_delim
53579 LDFLAGS!$LDFLAGS$ac_delim
53580 CPPFLAGS!$CPPFLAGS$ac_delim
53581 ac_ct_CC!$ac_ct_CC$ac_delim
53582 EXEEXT!$EXEEXT$ac_delim
53583 OBJEXT!$OBJEXT$ac_delim
53585 GREP!$GREP$ac_delim
53586 EGREP!$EGREP$ac_delim
53588 CXXFLAGS!$CXXFLAGS$ac_delim
53589 ac_ct_CXX!$ac_ct_CXX$ac_delim
53590 RANLIB!$RANLIB$ac_delim
53592 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53593 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53594 INSTALL_DATA!$INSTALL_DATA$ac_delim
53595 STRIP!$STRIP$ac_delim
53596 WINDRES!$WINDRES$ac_delim
53597 DLLTOOL!$DLLTOOL$ac_delim
53598 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53599 LN_S!$LN_S$ac_delim
53600 subdirs!$subdirs$ac_delim
53601 PKG_CONFIG!$PKG_CONFIG$ac_delim
53602 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53603 GTK_LIBS!$GTK_LIBS$ac_delim
53604 GTK_CONFIG!$GTK_CONFIG$ac_delim
53605 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53606 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53607 XMKMF!$XMKMF$ac_delim
53608 X_CFLAGS!$X_CFLAGS$ac_delim
53609 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53610 X_LIBS!$X_LIBS$ac_delim
53611 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53612 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53613 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53614 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53615 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53616 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53617 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53618 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53619 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53621 DEREZ!$DEREZ$ac_delim
53622 SETFILE!$SETFILE$ac_delim
53623 LIBICONV!$LIBICONV$ac_delim
53626 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53628 elif $ac_last_try; then
53629 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53630 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53631 { (exit 1); exit 1; }; }
53633 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53637 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53638 if test -n "$ac_eof"; then
53639 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53640 ac_eof
=`expr $ac_eof + 1`
53643 cat >>$CONFIG_STATUS <<_ACEOF
53644 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53645 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53648 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53649 s/^/s,@/; s/!/@,|#_!!_#|/
53652 s/'"$ac_delim"'$/,g/; t
53654 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53655 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53656 rm -f conf$
$subs.
sed
53657 cat >>$CONFIG_STATUS <<_ACEOF
53663 for ac_last_try
in false false false false false
:; do
53664 cat >conf$
$subs.
sed <<_ACEOF
53665 SDL_CONFIG!$SDL_CONFIG$ac_delim
53666 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53667 SDL_LIBS!$SDL_LIBS$ac_delim
53668 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53669 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53670 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53671 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53672 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53673 HILDON_LIBS!$HILDON_LIBS$ac_delim
53674 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53675 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53676 GST_CFLAGS!$GST_CFLAGS$ac_delim
53677 GST_LIBS!$GST_LIBS$ac_delim
53678 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53679 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53680 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53681 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53682 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53683 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53684 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53685 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53686 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53687 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53688 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53689 VENDOR!$VENDOR$ac_delim
53690 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53691 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53692 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53693 WXUNIV!$WXUNIV$ac_delim
53694 MONOLITHIC!$MONOLITHIC$ac_delim
53695 USE_PLUGINS!$USE_PLUGINS$ac_delim
53696 CXXWARNINGS!$CXXWARNINGS$ac_delim
53697 EXTRALIBS!$EXTRALIBS$ac_delim
53698 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53699 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53700 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
53701 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53702 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53703 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53704 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53705 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53706 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53707 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53708 UNICODE!$UNICODE$ac_delim
53709 BUILD!$BUILD$ac_delim
53710 DEBUG_INFO!$DEBUG_INFO$ac_delim
53711 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53712 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53713 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53714 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53715 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53716 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53717 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53718 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53719 SET_MAKE!$SET_MAKE$ac_delim
53720 MAKE_SET!$MAKE_SET$ac_delim
53721 AROPTIONS!$AROPTIONS$ac_delim
53723 INSTALL_DIR!$INSTALL_DIR$ac_delim
53724 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53725 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53726 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53727 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53728 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53729 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53730 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53731 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53732 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53733 SO_SUFFIX!$SO_SUFFIX$ac_delim
53734 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53735 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53736 LIBPREFIX!$LIBPREFIX$ac_delim
53737 LIBEXT!$LIBEXT$ac_delim
53738 DLLPREFIX!$DLLPREFIX$ac_delim
53739 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53740 dlldir!$dlldir$ac_delim
53741 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53742 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53743 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53744 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53745 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53746 PIC_FLAG!$PIC_FLAG$ac_delim
53747 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53748 USE_SOVERSION!$USE_SOVERSION$ac_delim
53749 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53750 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53751 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53752 USE_MACVERSION!$USE_MACVERSION$ac_delim
53753 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53754 SONAME_FLAG!$SONAME_FLAG$ac_delim
53755 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53756 BK_DEPS!$BK_DEPS$ac_delim
53757 GCC_PCH!$GCC_PCH$ac_delim
53758 ICC_PCH!$ICC_PCH$ac_delim
53759 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53760 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53761 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53764 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53766 elif $ac_last_try; then
53767 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53768 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53769 { (exit 1); exit 1; }; }
53771 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53775 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53776 if test -n "$ac_eof"; then
53777 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53778 ac_eof
=`expr $ac_eof + 1`
53781 cat >>$CONFIG_STATUS <<_ACEOF
53782 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53783 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53786 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53787 s/^/s,@/; s/!/@,|#_!!_#|/
53790 s/'"$ac_delim"'$/,g/; t
53792 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53793 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53794 rm -f conf$
$subs.
sed
53795 cat >>$CONFIG_STATUS <<_ACEOF
53801 for ac_last_try
in false false false false false
:; do
53802 cat >conf$
$subs.
sed <<_ACEOF
53803 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53804 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53805 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53806 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53807 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53808 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53809 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53810 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53811 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53812 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53813 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53814 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53815 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53816 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53817 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53818 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53819 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53820 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53821 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53822 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53823 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
53824 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53825 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
53826 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53827 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53828 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53829 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53830 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53831 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53833 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53834 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
53835 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53836 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
53837 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53838 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53839 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53840 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53841 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53842 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53843 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
53844 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53845 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53846 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
53847 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53848 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53849 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53850 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53851 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53852 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53853 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53854 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53855 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53856 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53857 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53858 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53859 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53860 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53861 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53862 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53863 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53864 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53865 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53866 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53867 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53868 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53869 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53870 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53871 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53872 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53873 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53874 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53875 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53876 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53877 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53878 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53879 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53880 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53881 COND_SHARED_0!$COND_SHARED_0$ac_delim
53882 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53883 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53884 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53885 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53886 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53887 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53888 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53889 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53890 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
53891 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53892 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
53893 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53894 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53895 COND_SHARED_1!$COND_SHARED_1$ac_delim
53896 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53897 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
53898 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53899 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53902 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53904 elif $ac_last_try; then
53905 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53906 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53907 { (exit 1); exit 1; }; }
53909 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53913 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53914 if test -n "$ac_eof"; then
53915 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53916 ac_eof
=`expr $ac_eof + 1`
53919 cat >>$CONFIG_STATUS <<_ACEOF
53920 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53921 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53924 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53925 s/^/s,@/; s/!/@,|#_!!_#|/
53928 s/'"$ac_delim"'$/,g/; t
53930 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53931 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53932 rm -f conf$
$subs.
sed
53933 cat >>$CONFIG_STATUS <<_ACEOF
53939 for ac_last_try
in false false false false false
:; do
53940 cat >conf$
$subs.
sed <<_ACEOF
53941 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53942 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53943 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53944 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53945 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53946 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53947 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53948 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53949 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53950 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53951 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53952 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53953 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53954 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
53955 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
53956 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53957 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53958 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53959 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53960 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53961 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53962 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53963 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53964 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53965 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53966 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53967 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53968 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53969 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53970 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53971 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53972 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53973 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53974 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53975 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53976 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53977 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53978 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53979 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53980 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53981 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53982 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53983 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53984 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53985 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
53986 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53987 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53988 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53989 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53990 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53991 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
53992 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53993 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53994 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53995 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53996 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53997 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53998 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53999 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54000 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54001 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54002 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54003 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54004 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54005 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54006 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54007 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54008 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54009 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54010 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54011 SHARED!$SHARED$ac_delim
54012 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54013 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54014 USE_GUI!$USE_GUI$ac_delim
54015 AFMINSTALL!$AFMINSTALL$ac_delim
54016 WIN32INSTALL!$WIN32INSTALL$ac_delim
54017 TOOLKIT!$TOOLKIT$ac_delim
54018 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54019 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54020 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54021 cross_compiling!$cross_compiling$ac_delim
54022 WIDGET_SET!$WIDGET_SET$ac_delim
54023 WX_RELEASE!$WX_RELEASE$ac_delim
54024 WX_VERSION!$WX_VERSION$ac_delim
54025 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54026 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54027 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54028 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54029 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54030 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54031 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54032 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54033 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54034 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54035 EXE_LINKER!$EXE_LINKER$ac_delim
54036 GUIDIST!$GUIDIST$ac_delim
54037 DISTDIR!$DISTDIR$ac_delim
54040 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54042 elif $ac_last_try; then
54043 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54044 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54045 { (exit 1); exit 1; }; }
54047 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54051 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54052 if test -n "$ac_eof"; then
54053 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54054 ac_eof
=`expr $ac_eof + 1`
54057 cat >>$CONFIG_STATUS <<_ACEOF
54058 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54059 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54062 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54063 s/^/s,@/; s/!/@,|#_!!_#|/
54066 s/'"$ac_delim"'$/,g/; t
54068 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54069 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54070 rm -f conf$
$subs.
sed
54071 cat >>$CONFIG_STATUS <<_ACEOF
54077 for ac_last_try
in false false false false false
:; do
54078 cat >conf$
$subs.
sed <<_ACEOF
54079 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54080 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54081 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54082 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54083 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54084 RESCOMP!$RESCOMP$ac_delim
54085 RESFLAGS!$RESFLAGS$ac_delim
54086 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54087 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54088 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54089 LIBWXMACRES!$LIBWXMACRES$ac_delim
54090 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54091 MACSETFILE!$MACSETFILE$ac_delim
54093 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54094 LIBOBJS!$LIBOBJS$ac_delim
54095 LTLIBOBJS!$LTLIBOBJS$ac_delim
54098 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
54100 elif $ac_last_try; then
54101 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54102 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54103 { (exit 1); exit 1; }; }
54105 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54109 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54110 if test -n "$ac_eof"; then
54111 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54112 ac_eof
=`expr $ac_eof + 1`
54115 cat >>$CONFIG_STATUS <<_ACEOF
54116 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54117 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54120 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54121 s/^/s,@/; s/!/@,|#_!!_#|/
54124 s/'"$ac_delim"'$/,g/; t
54126 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54127 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54128 rm -f conf$
$subs.
sed
54129 cat >>$CONFIG_STATUS <<_ACEOF
54136 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54137 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54138 # trailing colons and then remove the whole line if VPATH becomes empty
54139 # (actually we leave an empty line to preserve line numbers).
54140 if test "x$srcdir" = x.
; then
54141 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
54142 s/:*\$(srcdir):*/:/
54143 s/:*\${srcdir}:*/:/
54145 s/^\([^=]*=[ ]*\):*/\1/
54151 cat >>$CONFIG_STATUS <<\_ACEOF
54152 fi # test -n "$CONFIG_FILES"
54155 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
54158 :[FHLC
]) ac_mode
=$ac_tag; continue;;
54160 case $ac_mode$ac_tag in
54162 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54163 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54164 { (exit 1); exit 1; }; };;
54165 :[FH
]-) ac_tag
=-:-;;
54166 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
54183 -) ac_f
="$tmp/stdin";;
54184 *) # Look for the file first in the build tree, then in the source tree
54185 # (if the path is not absolute). The absolute path cannot be DOS-style,
54186 # because $ac_f cannot contain `:'.
54190 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
54192 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54193 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54194 { (exit 1); exit 1; }; };;
54196 ac_file_inputs
="$ac_file_inputs $ac_f"
54199 # Let's still pretend it is `configure' which instantiates (i.e., don't
54200 # use $as_me), people would be surprised to read:
54201 # /* config.h. Generated by config.status. */
54202 configure_input
="Generated from "`IFS=:
54203 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54204 if test x
"$ac_file" != x
-; then
54205 configure_input
="$ac_file. $configure_input"
54206 { echo "$as_me:$LINENO: creating $ac_file" >&5
54207 echo "$as_me: creating $ac_file" >&6;}
54211 *:-:* | *:-) cat >"$tmp/stdin";;
54216 ac_dir
=`$as_dirname -- "$ac_file" ||
54217 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54218 X"$ac_file" : 'X\(//\)[^/]' \| \
54219 X"$ac_file" : 'X\(//\)$' \| \
54220 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54226 /^X\(\/\/\)[^/].*/{
54241 -*) as_dir
=.
/$as_dir;;
54243 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54247 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54248 *) as_qdir
=$as_dir;;
54250 as_dirs
="'$as_qdir' $as_dirs"
54251 as_dir
=`$as_dirname -- "$as_dir" ||
54252 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54253 X"$as_dir" : 'X\(//\)[^/]' \| \
54254 X"$as_dir" : 'X\(//\)$' \| \
54255 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54261 /^X\(\/\/\)[^/].*/{
54274 test -d "$as_dir" && break
54276 test -z "$as_dirs" || eval "mkdir $as_dirs"
54277 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54278 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54279 { (exit 1); exit 1; }; }; }
54283 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54285 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54286 # A ".." for each directory in $ac_dir_suffix.
54287 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54288 case $ac_top_builddir_sub in
54289 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54290 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54293 ac_abs_top_builddir
=$ac_pwd
54294 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54295 # for backward compatibility:
54296 ac_top_builddir
=$ac_top_build_prefix
54299 .
) # We are building in place.
54301 ac_top_srcdir
=$ac_top_builddir_sub
54302 ac_abs_top_srcdir
=$ac_pwd ;;
54303 [\\/]* | ?
:[\\/]* ) # Absolute name.
54304 ac_srcdir
=$srcdir$ac_dir_suffix;
54305 ac_top_srcdir
=$srcdir
54306 ac_abs_top_srcdir
=$srcdir ;;
54307 *) # Relative name.
54308 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54309 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54310 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54312 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54322 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
54323 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
54327 cat >>$CONFIG_STATUS <<\_ACEOF
54328 # If the template does not know about datarootdir, expand it.
54329 # FIXME: This hack should be removed a few years after 2.60.
54330 ac_datarootdir_hack
=; ac_datarootdir_seen
=
54332 case `sed -n '/datarootdir/ {
54341 ' $ac_file_inputs` in
54342 *datarootdir
*) ac_datarootdir_seen
=yes;;
54343 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
54344 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54345 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54347 cat >>$CONFIG_STATUS <<_ACEOF
54348 ac_datarootdir_hack='
54349 s&@datadir@&$datadir&g
54350 s&@docdir@&$docdir&g
54351 s&@infodir@&$infodir&g
54352 s&@localedir@&$localedir&g
54353 s&@mandir@&$mandir&g
54354 s&\\\${datarootdir}&$datarootdir&g' ;;
54358 # Neutralize VPATH when `$srcdir' = `.'.
54359 # Shell code in configure.ac might set extrasub.
54360 # FIXME: do we really want to maintain this feature?
54361 cat >>$CONFIG_STATUS <<_ACEOF
54365 cat >>$CONFIG_STATUS <<\_ACEOF
54367 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
54368 s
&@configure_input@
&$configure_input&;t t
54369 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
54370 s
&@srcdir@
&$ac_srcdir&;t t
54371 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
54372 s
&@top_srcdir@
&$ac_top_srcdir&;t t
54373 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
54374 s
&@builddir@
&$ac_builddir&;t t
54375 s
&@abs_builddir@
&$ac_abs_builddir&;t t
54376 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
54377 s
&@INSTALL@
&$ac_INSTALL&;t t
54378 $ac_datarootdir_hack
54379 " $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
54381 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54382 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
54383 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
54384 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
54385 which seems to be undefined. Please make sure it is defined." >&5
54386 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
54387 which seems to be undefined. Please make sure it is defined." >&2;}
54391 -) cat "$tmp/out"; rm -f "$tmp/out";;
54392 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54401 # Transform confdefs.h into a sed script `conftest.defines', that
54402 # substitutes the proper values into config.h.in to produce config.h.
54403 rm -f conftest.defines conftest.
tail
54404 # First, append a space to every undef/define line, to ease matching.
54405 echo 's/$/ /' >conftest.defines
54406 # Then, protect against being on the right side of a sed subst, or in
54407 # an unquoted here document, in config.status. If some macros were
54408 # called several times there might be several #defines for the same
54409 # symbol, which is useless. But do not sort them, since the last
54410 # AC_DEFINE must be honored.
54411 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
54412 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54413 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54414 # PARAMS is the parameter list in the macro definition--in most cases, it's
54415 # just an empty string.
54416 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54417 ac_dB
='\\)[ (].*,\\1define\\2'
54425 s/^[ ]*#[ ]*define[ ][ ]*//
54430 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54431 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54432 ' >>conftest.defines
54434 # Remove the space that was appended to ease matching.
54435 # Then replace #undef with comments. This is necessary, for
54436 # example, in the case of _POSIX_SOURCE, which is predefined and required
54437 # on some systems where configure will not decide to define it.
54438 # (The regexp can be short, since the line contains either #define or #undef.)
54440 s,^[ #]*u.*,/* & */,' >>conftest.defines
54442 # Break up conftest.defines:
54443 ac_max_sed_lines
=50
54445 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54446 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54447 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54449 ac_in
='$ac_file_inputs'
54450 ac_out
='"$tmp/out1"'
54451 ac_nxt
='"$tmp/out2"'
54455 # Write a here document:
54456 cat >>$CONFIG_STATUS <<_ACEOF
54457 # First, check the format of the line:
54458 cat >"\$tmp/defines.sed" <<\\CEOF
54459 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54460 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54464 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
54466 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54467 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
54468 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
54469 grep . conftest.
tail >/dev
/null
|| break
54470 rm -f conftest.defines
54471 mv conftest.
tail conftest.defines
54473 rm -f conftest.defines conftest.
tail
54475 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54476 cat >>$CONFIG_STATUS <<\_ACEOF
54477 if test x
"$ac_file" != x
-; then
54478 echo "/* $configure_input */" >"$tmp/config.h"
54479 cat "$ac_result" >>"$tmp/config.h"
54480 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
54481 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54482 echo "$as_me: $ac_file is unchanged" >&6;}
54485 mv "$tmp/config.h" $ac_file
54488 echo "/* $configure_input */"
54494 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54495 echo "$as_me: executing $ac_file commands" >&6;}
54500 case $ac_file$ac_mode in
54502 mkdir -p $outdir &&
54503 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54505 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
54506 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
54507 "wx-config":C
) rm -f wx
-config
54508 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
54515 { (exit 0); exit 0; }
54517 chmod +x
$CONFIG_STATUS
54518 ac_clean_files
=$ac_clean_files_save
54521 # configure is writing to config.log, and then calls config.status.
54522 # config.status does its own redirection, appending to config.log.
54523 # Unfortunately, on DOS this fails, as config.log is still kept open
54524 # by configure, so config.status won't be able to write to it; its
54525 # output is simply discarded. So we exec the FD to /dev/null,
54526 # effectively closing config.log, so it can be properly (re)opened and
54527 # appended to by config.status. When coming back to configure, we
54528 # need to make the FD available again.
54529 if test "$no_create" != yes; then
54531 ac_config_status_args
=
54532 test "$silent" = yes &&
54533 ac_config_status_args
="$ac_config_status_args --quiet"
54535 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
54537 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54538 # would make configure fail if this is the last instruction.
54539 $ac_cs_success || { (exit 1); exit 1; }
54543 # CONFIG_SUBDIRS section.
54545 if test "$no_recursion" != yes; then
54547 # Remove --cache-file and --srcdir arguments so they do not pile up.
54548 ac_sub_configure_args
=
54550 eval "set x $ac_configure_args"
54554 if test -n "$ac_prev"; then
54559 -cache-file | --cache-file | --cache-fil | --cache-fi \
54560 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54561 ac_prev
=cache_file
;;
54562 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54563 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54566 --config-cache | -C)
54568 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54570 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54572 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54574 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54578 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54580 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
54584 # Always prepend --prefix to ensure using the same prefix
54585 # in subdir configurations.
54586 ac_arg
="--prefix=$prefix"
54588 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54590 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
54593 if test "$silent" = yes; then
54594 ac_sub_configure_args
="--silent $ac_sub_configure_args"
54598 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
54600 # Do not complain, so a configure script can configure whichever
54601 # parts of a large source tree are present.
54602 test -d "$srcdir/$ac_dir" || continue
54604 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54605 echo "$as_me:$LINENO: $ac_msg" >&5
54609 -*) as_dir
=.
/$as_dir;;
54611 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54615 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54616 *) as_qdir
=$as_dir;;
54618 as_dirs
="'$as_qdir' $as_dirs"
54619 as_dir
=`$as_dirname -- "$as_dir" ||
54620 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54621 X"$as_dir" : 'X\(//\)[^/]' \| \
54622 X"$as_dir" : 'X\(//\)$' \| \
54623 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54625 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54629 /^X\(\/\/\)[^/].*/{
54642 test -d "$as_dir" && break
54644 test -z "$as_dirs" || eval "mkdir $as_dirs"
54645 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54646 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54647 { (exit 1); exit 1; }; }; }
54651 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54653 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54654 # A ".." for each directory in $ac_dir_suffix.
54655 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54656 case $ac_top_builddir_sub in
54657 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54658 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54661 ac_abs_top_builddir
=$ac_pwd
54662 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54663 # for backward compatibility:
54664 ac_top_builddir
=$ac_top_build_prefix
54667 .
) # We are building in place.
54669 ac_top_srcdir
=$ac_top_builddir_sub
54670 ac_abs_top_srcdir
=$ac_pwd ;;
54671 [\\/]* | ?
:[\\/]* ) # Absolute name.
54672 ac_srcdir
=$srcdir$ac_dir_suffix;
54673 ac_top_srcdir
=$srcdir
54674 ac_abs_top_srcdir
=$srcdir ;;
54675 *) # Relative name.
54676 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54677 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54678 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54680 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54685 # Check for guested configure; otherwise get Cygnus style configure.
54686 if test -f "$ac_srcdir/configure.gnu"; then
54687 ac_sub_configure
=$ac_srcdir/configure.gnu
54688 elif test -f "$ac_srcdir/configure"; then
54689 ac_sub_configure
=$ac_srcdir/configure
54690 elif test -f "$ac_srcdir/configure.in"; then
54691 # This should be Cygnus configure.
54692 ac_sub_configure
=$ac_aux_dir/configure
54694 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54695 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54699 # The recursion is here.
54700 if test -n "$ac_sub_configure"; then
54701 # Make the cache file name correct relative to the subdirectory.
54702 case $cache_file in
54703 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
54704 *) # Relative name.
54705 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
54708 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54709 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54710 # The eval makes quoting arguments work.
54711 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54712 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54713 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54714 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54715 { (exit 1); exit 1; }; }
54724 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54726 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54727 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54729 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54730 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54731 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
54732 if test "$wxUSE_UNICODE" = "yes"; then
54733 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54734 echo " (using UTF-8)"
54736 echo " (using wchar_t)"
54742 echo " What level of wxWidgets compatibility should be enabled?"
54743 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54744 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54746 echo " Which libraries should wxWidgets use?"
54747 echo " jpeg ${wxUSE_LIBJPEG-none}"
54748 echo " png ${wxUSE_LIBPNG-none}"
54749 echo " regex ${wxUSE_REGEX}"
54750 echo " tiff ${wxUSE_LIBTIFF-none}"
54751 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54752 echo " xpm ${wxUSE_LIBXPM-none}"
54754 echo " zlib ${wxUSE_ZLIB}"
54755 echo " odbc ${wxUSE_ODBC}"
54756 echo " expat ${wxUSE_EXPAT}"
54757 echo " libmspack ${wxUSE_LIBMSPACK}"
54758 echo " sdl ${wxUSE_LIBSDL}"